Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
qhat
Jul 6, 2015


It's there a more effective enzyme than RuBisCo for splicing molecules that doesn't result in shitloads of toxic byproducts that plants need to produce additional enzymes to deal with?

Adbot
ADBOT LOVES YOU

flakeloaf
Feb 26, 2003

Still better than android clock

i think it's more that rubisco is perfectly balanced on the razor's edge between "can make glucose faster" and "won't usually bind to oxygen"

i'd think it'd be easier to put a plant into an anoxic environment and crank up the temperature than it is to try to take the enzyme apart, but apparently borrowing variants from red algae and putting them into food plants is a thing we're doing because science is cool

JawnV6
Jul 4, 2004

So hot ...

George posted:

gently caress the guy who solved Fermat's last btw

two japanese mathematicians killed themselves when nobody took their work seriously, then another mathematician shows that if they were right it proves fermat

so all of a sudden this stodgy douchebag comes riding into the scene to feed his ego

shimura's still alive? are you confusing the fact that taniyama's fiancee also committed suicide?

crepeface
Nov 5, 2004

r*p*f*c*

LP0 ON FIRE posted:

i don't know if i like the video.. he mentions sorting. checking sorting can be done in polynomial time, but actually sorting - isn't that np?

Cheat sheet here, generally n log n.
https://en.m.wikipedia.org/wiki/Sorting_algorithm

akadajet
Sep 14, 2003

thank god for simple english (drooling retard) wikipedia
https://simple.wikipedia.org/wiki/P_versus_NP

RISCy Business
Jun 17, 2015

bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork bork
Fun Shoe

akadajet posted:

thank god for simple english (drooling retard) wikipedia
https://simple.wikipedia.org/wiki/P_versus_NP

can you dumb this down for me

qhat
Jul 6, 2015


What is hard to understand about it

The MUMPSorceress
Jan 6, 2012


^SHTPSTS

Gary’s Answer
yospos programmer threads getting sassy lately

LP0 ON FIRE
Jan 25, 2006

beep boop

theoretically there's nothing that proves that there could be something faster depending on which you're using for the appropriate case, or was it proven in any use case?

LP0 ON FIRE fucked around with this message at 20:11 on Jun 7, 2017

ConanTheLibrarian
Aug 13, 2004


dis buch is late
Fallen Rib

Sagebrush posted:

Speaking of this: what's the current best guess as to whether photosynthesis is (a) extremely optimized and pushing the limits of efficiency after billions of years of evolution, or (b) a stupid nature hack full of problems and dumb pathways and scientists will soon be able to make their own better version that lets us have bright green cars that run forever on sunlight and water

the most common form (C3) is a lovely hack which is why an improved form (C4) has independently evolved dozens of times

most plants are too STUPID to use it though


also plant photosynthesis isn't remotely close to photovoltaics but it does make chemical energy which is cool and a solar panel that could make oil would be bonza m8s

Captain Foo
May 11, 2004

we vibin'
we slidin'
we breathin'
we dyin'

ConanTheLibrarian posted:

the most common form (C3) is a lovely hack which is why an improved form (C4) has independently evolved dozens of times

most plants are too STUPID to use it though


also plant photosynthesis isn't remotely close to photovoltaics but it does make chemical energy which is cool and a solar panel that could make oil would be bonza m8s

plants don't think, idiot hell fucker

ConanTheLibrarian
Aug 13, 2004


dis buch is late
Fallen Rib

Captain Foo posted:

plants don't think, idiot hell fucker

thats why their stupid numbskull

OldAlias
Nov 2, 2013

LP0 ON FIRE posted:

theoretically there's nothing that proves that there could be something faster depending on which you're using for the appropriate case, or was it proven in any use case?

???
https://en.m.wikipedia.org/wiki/Big_Omega_function
???

O is an upper bound, asymptotic less than or equals.
Omega is a lower bound, asymptotic greater than or equals.

There are many ways to go about proving something. Induction is often a good strategy.

OldAlias fucked around with this message at 05:43 on Jun 8, 2017

OldAlias
Nov 2, 2013

ex n log n is the best, worst and expected case of mergesort. so it's often preferred for its consistency and in general sorting can be said to be n log n right. but quicksort or radix sort or a number of others can be faster depending on how your data is structured, or what it is you're ordering. quicksort has a best case of n but can have a worst case of n^2 if the data is mostly ordered or if the pivot is consistently the largest or smallest element. I hope I'm not stating some obvious poo poo, I don't know what your background is

LP0 ON FIRE
Jan 25, 2006

beep boop
thanks that is good info

it just sounds like to me sorting (or for now) is sort of np because in any case, you need to keep checking to see if you have the correct answer

Symbolic Butt
Mar 22, 2009

(_!_)
Buglord
if you want to work through some math: https://en.wikipedia.org/wiki/Comparison_sort#Number_of_comparisons_required_to_sort_a_list

The MUMPSorceress
Jan 6, 2012


^SHTPSTS

Gary’s Answer

LP0 ON FIRE posted:

thanks that is good info

it just sounds like to me sorting (or for now) is sort of np because in any case, you need to keep checking to see if you have the correct answer

this isn't quite correct. The thing about most sorting algorithms is that they don't require you to compare the whole list to itself at every step. they exploit the nature of arrays or lists to split up the work involved to reduce the number of comparisons involved. a good sorting algorithm, like merge sort, can be proven mathematically to place things in the correct order with no need to check the entire list at the end to verify that it's entirely sorted. it is instead simply a property of the algorithm that things end up sorted.

qhat
Jul 6, 2015


LP0 ON FIRE posted:

thanks that is good info

it just sounds like to me sorting (or for now) is sort of np because in any case, you need to keep checking to see if you have the correct answer

sorting is P.

OldAlias
Nov 2, 2013

LP0 ON FIRE posted:

thanks that is good info

it just sounds like to me sorting (or for now) is sort of np because in any case, you need to keep checking to see if you have the correct answer

no. that is accounted for in the algorithm. take a linear walk through sorted data for example, comparing each element to see if the element is greater than the one before. that's at most n operations where n is the size of the input. if you want to know if an algorithm is formally correct beforehand you should read into induction and proofs and symbolic butt's post

e; beaten by cis autodrag

OldAlias fucked around with this message at 22:14 on Jun 7, 2017

Fuzzy Mammal
Aug 15, 2001

Lipstick Apathy
proving primality testing is in p was a cool achievement that got no coverage. everyone blew their load on that stupid E8 categorization. like gj nerds.

JawnV6
Jul 4, 2004

So hot ...

LP0 ON FIRE posted:

thanks that is good info

it just sounds like to me sorting (or for now) is sort of np because in any case, you need to keep checking to see if you have the correct answer

beadsort

LP0 ON FIRE
Jan 25, 2006

beep boop
drat it

okay then i guess i'll try to make an algorithm for finding new monohedral convex pentagonal tilings
https://en.wikipedia.org/wiki/Pentagonal_tiling

JewKiller 3000
Nov 28, 2006

by Lowtax
"i guess i'll try to make a new algorithm for [any mathematical problem that has a wikipedia page]" is phd level stuff

qhat
Jul 6, 2015


hey if a patent clerk can almost singlehanded come up with the equations of general relativity, then i can definitely come up with some wimpy algorithm

Sagebrush
Feb 26, 2012

unfortunately all the easy algorithms have already been taken. only the impossible ones remain. it's because of the glut of CS students and useless bachelor's degrees imo

The MUMPSorceress
Jan 6, 2012


^SHTPSTS

Gary’s Answer
seriously in any bachelor's level algos or data structure course almost everything you study will be from prior to the 70s. all that's left to study are the things that were too hard to do in the last 70 years.

JawnV6
Jul 4, 2004

So hot ...
when was timsort

crepeface
Nov 5, 2004

r*p*f*c*
nah, there's still tonnes of stuff to work on, it's just usually incremental instead of earthshattering stuff since PhDs students aren't wealthy bored dudes who can afford to spend 10 years on one thing anymore. mine and all my friend's were more about refinement of some tiny area instead of trying to cure cancer. postdocs might do more advanced poo poo, but everyone be chasin dat grant money.

Cybernetic Vermin
Apr 18, 2005

LP0 ON FIRE posted:

thanks that is good info

it just sounds like to me sorting (or for now) is sort of np because in any case, you need to keep checking to see if you have the correct answer

ah, i think i see what your confusion is: what we certainly know is that p np. for sorting any sorting algorithm will indeed also in effect check whether the list is sorted (since it has little choice but to make repeated comparisons). it is the case in general as well, but it gets into slight technicalities at that point as these are "decision problems" (i.e. only yes/no answers, no actual output)

that is, in this informal sense, np is the set of problems where one can in polynomial time *recognize* that a given solution indeed is a solution, where p are the problems where one can in polynomial time *create* a solution (which *implies* being able to recognize it). so, if these are the same, p=np, then it is sufficient that solutions can be recognized, there exists some general way to (efficiently) rework the recognition of solutions into an algorithm for the construction of solutions (and, as this is in polynomial time this general way is more clever than just enumerating all possible solutions)

it makes a fair difference to how one can phrase things that the problems are all yes/no problems, but in practical terms the above is largely correct

the one reason i can see to think that p could equal np is in the assumptions of that "(efficiently)" above, since complexity theory started out assuming anything that can be done in polynomial time to be somewhat tractable, which has sort of worked out, with most polynomial time algorithms having polynomials like n^2 and n^3. however, it may be that p=np with the "general way" above adding some polynomial like n^1000, making it in practice no better than the dumb enumeration of solutions. in that case the discovery would mostly just kill off the idea that we can view polynomial time as a useful complexity class in itself, and future complexity work would have to be rebuilt with a more carefully restricted class standing in for the tractable

flakeloaf
Feb 26, 2003

Still better than android clock

cis autodrag posted:

seriously in any bachelor's level algos or data structure course almost everything you study will be from prior to the 70s. all that's left to study are the things that were too hard to do in the last 70 years.

i'm doing one right now and the book is incomprehensible

LP0 ON FIRE
Jan 25, 2006

beep boop

Cybernetic Vermin posted:

ah, i think i see what your confusion is: what we certainly know is that p np. for sorting any sorting algorithm will indeed also in effect check whether the list is sorted (since it has little choice but to make repeated comparisons). it is the case in general as well, but it gets into slight technicalities at that point as these are "decision problems" (i.e. only yes/no answers, no actual output)

that is, in this informal sense, np is the set of problems where one can in polynomial time *recognize* that a given solution indeed is a solution, where p are the problems where one can in polynomial time *create* a solution (which *implies* being able to recognize it). so, if these are the same, p=np, then it is sufficient that solutions can be recognized, there exists some general way to (efficiently) rework the recognition of solutions into an algorithm for the construction of solutions (and, as this is in polynomial time this general way is more clever than just enumerating all possible solutions)


i think it has clicked for me and this helps thank you. for finding the best move in chess, depending on how the board is setup, you have to iterate through all the moves and somehow prove that one is the best, which are effected by future moves, etc. that is np. linear sorting is simple y/n to check if it's sorted, even if it needs to make repated comparisons

The MUMPSorceress
Jan 6, 2012


^SHTPSTS

Gary’s Answer

flakeloaf posted:

i'm doing one right now and the book is incomprehensible

my experience with algos class was that id feel like i was drowning in incomprehensible math for two weeks at a time and then suddenly something would click, then we'd move onto the next topic and it started all over again.

carry on then
Jul 10, 2010

by VideoGames

(and can't post for 10 years!)

cis autodrag posted:

my experience with algos class was that id feel like i was drowning in incomprehensible math for two weeks at a time and then suddenly something would click, then we'd move onto the next topic and it started all over again.

algos class seems like one that really benefits from being taught by someone who is skilled at teaching, not just algorithms. mine was more of an infodump (with CLRS as the text lmao) and i feel like i'll have to do a bunch of self study the next time im out interviewing because i never really got it :(

flakeloaf
Feb 26, 2003

Still better than android clock

carry on then posted:

algos class seems like one that really benefits from being taught by someone who is skilled at teaching, not just algorithms. mine was more of an infodump (with CLRS as the text lmao) and i feel like i'll have to do a bunch of self study the next time im out interviewing because i never really got it :(

so what you're saying is that distance learning data structures and algorithms is going to make me doubt the "ignore it for 5 months and then do the entire curriculum in 3 weeks" strategy

The MUMPSorceress
Jan 6, 2012


^SHTPSTS

Gary’s Answer

carry on then posted:

algos class seems like one that really benefits from being taught by someone who is skilled at teaching, not just algorithms. mine was more of an infodump (with CLRS as the text lmao) and i feel like i'll have to do a bunch of self study the next time im out interviewing because i never really got it :(

agreed. my professor was this guy and while he is clearly brilliant he was a struggle to understand at times: http://www.cs.wisc.edu/people/dieter

his domain of research was specifically trying to prove p=np

power botton
Nov 2, 2011

so what is the takeaway from this meeting? Are we all good with P=NP? Should I schedule a follow up?

flakeloaf
Feb 26, 2003

Still better than android clock

i think all we can do is prove it when everyone says they're okay with it, that's the same thing right

Soricidus
Oct 21, 2010
freedom-hating statist shill
the only way P=NP can be true is if N=1, and while I have no idea what N is, i have to point out that there are infinitely more numbers that are not 1 than numbers that are, so it seems pretty unlikely to be the case

Elysiume
Aug 13, 2009

Alone, she fights.
I talked to someone in college who had an amazing proof of P=NP, and part of it boiled down to "why would the professor bother asking about it unless it was true"

Adbot
ADBOT LOVES YOU

RobobTheGreat
Jul 14, 2003

Mind your manners when talking to the king!

Soricidus posted:

the only way P=NP can be true is if N=1, and while I have no idea what N is, i have to point out that there are infinitely more numbers that are not 1 than numbers that are, so it seems pretty unlikely to be the case

*or* if P=0 :v:

  • Locked thread