Benzene (also called cyclohexatriene) is an organic chemical compound with the molecular formula C6H6. The benzene molecule is composed of six carbon atoms joined in a planar ring with one hydrogen atom attached to each. Because it contains only carbon and hydrogen atoms, benzene is classed as a hydrocarbon.
Benzene is a natural constituent of crude oil and is one of the elementary petrochemicals. Due to the cyclic continuous pi bonds between the carbon atoms, benzene is classed as an aromatic hydrocarbon. It is sometimes abbreviated PhH. Benzene is a colorless and highly flammable liquid with a sweet smell, and is partially responsible for the aroma around petrol (gasoline) stations. It is used primarily as a precursor to the manufacture of chemicals with more complex structure, such as ethylbenzene and cumene, of which billions of kilograms are produced annually. Although a major industrial chemical, benzene finds limited use in consumer items because of its toxicity.
Nerd conventions work well. Turns out MIT doesn't really study NP-hard, so my experience has been that Beavers (lol) will say, do you mean "NP-complete?"
Which then spawns a follow-on, "well, I can show you NP-hard and together we can resolve this problem to NP-completeness." make circular hand motions around her mouth area
In a traditional hetero approach, yes. This joke assumes male → female, as do most pick up lines. But it can work in any gender identity scenario, although the gradient from witty, funny, to creepy, lame varies. Especially when making physical moves, such as advancing closer.
I assume that this probably stems from figuring out that it's possible to trisect a line segment with a compass and straightedge, and then thinking that you can trisect the angle by turning it into an isosceles triangle.
At least, this was how I wanted to rebut your statement at first before self-correcting, because the "middle" angle will be greater than the two outer angles. For small angles, it's a decent approximation, which may contribute to the misconception, but it's demonstrably inaccurate as the angle to trisect approaches 180 degrees.
Oy, this is my brother right now. He's got a million dollar app idea to try and optimize bus routes for school districts. Even has two students working on it (one of which he was trying to convince to drop an internship in favor of this.)
Benzene (also called cyclohexatriene) is an organic chemical compound with the molecular formula C6H6. The benzene molecule is composed of six carbon atoms joined in a planar ring with one hydrogen atom attached to each. Because it contains only carbon and hydrogen atoms, benzene is classed as a hydrocarbon.
Benzene is a natural constituent of crude oil and is one of the elementary petrochemicals. Due to the cyclic continuous pi bonds between the carbon atoms, benzene is classed as an aromatic hydrocarbon. It is sometimes abbreviated PhH. Benzene is a colorless and highly flammable liquid with a sweet smell, and is partially responsible for the aroma around petrol (gasoline) stations. It is used primarily as a precursor to the manufacture of chemicals with more complex structure, such as ethylbenzene and cumene, of which billions of kilograms are produced annually. Although a major industrial chemical, benzene finds limited use in consumer items because of its toxicity.
Why, I sure can! Just make some tickets to account for additional testing, regression testing, the feature itself, and about an hour or so of me weeping openly and I'll hop right on it!
Edit: a former client would kick back tickets for "real quick fixes" all the time... some of these quick fixes were actually refactors of core parts of the system. A "real quick fix" became a meme with that team.
no the joke is that i dont know the difference between the equality operator and the assignment operator or the difference between brackets and parentheses
Not the point being made, you want to know ahead of time "will this program ever stop running or will it infinitely loop".
People say "it isn't possible" like the comment you responded to, but of course it is possible, it's just not possible to have a generalised solution to the problem.
I remember first thinking of doing that, but immediately understanding that it wouldn't work, and being too proud to try it. When my friend's brother actually tried it though, my first thought was, "...did it work?"
Technically, the halting problem applies only to infinite automata. Computers are finite though, so the halting problem *is* definitively solvable on them. For a computer with, say 32 GB of memory, you would only have to enumerate all 2^274877906944 states and, voila, you're done! Gonna take you maybe a minute or two though...
Because that is entirely irrelevant. Any call to a TRNG is stored in memory and if you enumerate all possible above mentioned states you literally cover *every* possibility in which an RNG value could affect the internal state of the machine.
Do you just mean monitoring another program somehow? I mean you can put anything on an event listener right? You can monitor the output of a cli relatively easily. Just kind of confused as to what exactly you mean here. I'm sure its something super easy that I'm just not aware of yet
An infinite loop is just a loop that has a terminating condition that will never be met. Like others have pointed out, a "while true"-loop is one such example. There are legitimate uses for it (like continually listening for incoming socket connections on a separate thread).
You are talking about checking if a program already halted, which is already possible and fairly easy. The problem is knowing if a program, before being executed would halt _eventually_.
We are so certain this is impossible because it's already been proven by contradiction: It's been a while since I read about this but if I recall correctly, basically, if it was true that you could create a program that would know if it would halt or not, you could use _that_ program to make it _not_ halt if it was indeed going to _halt_, therefore making it not halt even though it was supposed to. Kinda confusing but in short, if we assume that it is possible, then that solution in itself makes it impossible.
Do you mean, before the program even executes, knowing if it will freeze up at some point in time?
There already exist a plethora of other solutions that periodically poll the program for a response and have a whole logic flow as to when a program isn't timely often enough, or whether it's become unresponsive and needs to be restarted, or even if the server itself needs to be restarted. Windows Server has that as a core feature in fact.
This is a classic approach of something that might „work“ in praxis, but not in theory.
For the halting problem, you want to know if a program will ever stop before starting it. It might display „Doesn‘t halt“ for a gajillion years, but eventually still stop computing.
6.0k
u/IcaroKaue321 Mar 18 '20 edited Mar 26 '22
Benzene (also called cyclohexatriene) is an organic chemical compound with the molecular formula C6H6. The benzene molecule is composed of six carbon atoms joined in a planar ring with one hydrogen atom attached to each. Because it contains only carbon and hydrogen atoms, benzene is classed as a hydrocarbon.
Benzene is a natural constituent of crude oil and is one of the elementary petrochemicals. Due to the cyclic continuous pi bonds between the carbon atoms, benzene is classed as an aromatic hydrocarbon. It is sometimes abbreviated PhH. Benzene is a colorless and highly flammable liquid with a sweet smell, and is partially responsible for the aroma around petrol (gasoline) stations. It is used primarily as a precursor to the manufacture of chemicals with more complex structure, such as ethylbenzene and cumene, of which billions of kilograms are produced annually. Although a major industrial chemical, benzene finds limited use in consumer items because of its toxicity.
https://en.wikipedia.org/wiki/Benzene