Name: Anonymous 2017-08-20 0:48
I can't believe people actually use this shit.
The amount of RAM it uses is seriously insane.
The amount of RAM it uses is seriously insane.
autismAre dozens and dozens of Stack Overflow questions ``autism'' or is C badly designed? Take your pick. 0123 should mean 123 like everyone expects a positional numeral system to mean, and it does in all programming languages that are not based on B and C.
Please try to nitpick about an actual issue.There are thousands of issues about C, which would be at least as long as the C standard. It comes after a lot of things on the list, but it's still a C problem. It still causes numbers to be interpreted incorrectly.
The only thing worse than C's unfortunate use of leading zeros to make a number octal is Javascript's handling of leading zeros to sometimes make a number octal (the number is octal if the rest of the digits are OK - less than 8 - decimal otherwise). In Javascript,(017 == 15)
but(018 == 18)
.
In Javascript, (017 == 15) but (018 == 18).I don't understand the issue if you enter invalid numbers on purpose.
018 == 18
SyntaxError: 08 is not a legal ECMA-262 octal constant.
some people would maybe claim a lot more, like 1/100, but even only halving would already be a serious winHackers and appers don't care about the users. If they cared, they would already be doing the Right Thing.
Load time of the new program will multiply by a few factors.Multiply, yes. But not in minutes.
2. You play a video game and are on a mid-session load-screen, like a map-change and the next map is not cached, and the RAM is almost full, and the game engine maybe also has to do some garbage collection -> Load time can increase from maybe 30 seconds (with correct data cached) to multiple minutes (with incorrect data cached and RAM full).Video games load a lot of stuff into RAM, so I guess that makes sense.
An aircraft company discovered that it was cheaper to fly its planeshttps://lwn.net/Articles/104185/
with less fuel on board. The planes would be lighter and use less fuel
and money was saved. On rare occasions however the amount of fuel was
insufficient, and the plane would crash. This problem was solved by
the engineers of the company by the development of a special OOF
(out-of-fuel) mechanism. In emergency cases a passenger was selected
and thrown out of the plane. (When necessary, the procedure was
repeated.) A large body of theory was developed and many publications
were devoted to the problem of properly selecting the victim to be
ejected. Should the victim be chosen at random? Or should one choose
the heaviest person? Or the oldest? Should passengers pay in order not
to be ejected, so that the victim would be the poorest on board? And
if for example the heaviest person was chosen, should there be a
special exception in case that was the pilot? Should first class
passengers be exempted? Now that the OOF mechanism existed, it would
be activated every now and then, and eject passengers even when there
was no fuel shortage. The engineers are still studying precisely how
this malfunction is caused.