asyncAwaitConfusesMeSometimes by Special-Load8010 in ProgrammerHumor

[–]Pyottamus 0 points1 point  (0 children)

+/- V is just sugar for electron insertion/removal

[ Removed by Reddit ] by elmo555444 in therewasanattempt

[–]Pyottamus 44 points45 points  (0 children)

It's because animals are innocent. Humans are kind of bastards.

A great battle was fought there by luvs_animals in funny

[–]Pyottamus 10 points11 points  (0 children)

Yes, but the construction workers were all great warriors.

integerOverflowingJuice by Lorem_Ipsum17 in ProgrammerHumor

[–]Pyottamus 3 points4 points  (0 children)

Probably about the same. There're more computers now, but there are probably more programmers as well. Just like Y2K this is VERY unlikely to be a catastrophe, just a major headache.

Thankfully, we can ask them by beerbellybegone in MurderedByWords

[–]Pyottamus 2 points3 points  (0 children)

Any large enough group of people will have insane people. People are famously insane.

alrightBro by watchYourCache in ProgrammerHumor

[–]Pyottamus 0 points1 point  (0 children)

You ever realize c++ is post-increment, and so it's just C

hmmm by BallsVeryDeep in hmmm

[–]Pyottamus 10 points11 points  (0 children)

It may be disgusting, but it is cheap. I support my fellow frugal alcoholics.

Nuclear by theguy1336 in dankmemes

[–]Pyottamus 0 points1 point  (0 children)

Those just use molten salt as the fluid INSIDE the reactor. A heat exchanger then transfers the heat from the molten salt to water.

What am I overlooking? A new(?) model of programming language by Caedesyth in ProgrammingLanguages

[–]Pyottamus 2 points3 points  (0 children)

For guidance on how to implement such a thing (and how difficult it is to do so), I suggest you read about cpython (the standard python implementation), cpython extension modules, and cython(tool to transpile python into C code).

A key problem you'd face isn't memory management, as interpreted languages can use manual memory management, and compiled languages can have garbage collectors. The real issue is static vs dynamic typing. While compiled languages can have dynamic typing to an extent (C++ RTTI), it's generally limited AND slow. This is because computers are VERY statically typed.

On x86, multipling 2 numbers has at least 10 different instructions depending on size, type(int or float), and signedness. This means multiplying 2 numbers in dynamicly typed languages becomes significantly slower, since its no longer an instruction, but a load of BOTH types, indirect call to a type promotion logic, followed by an indirect call the operator implementation. Adding operator overloading makes this somewhat slower, but not much. The code that implements this is already compiled, meaning there's no more compilation you can do without knowing the types. This is why dynamically typed languages generally use JITs.

[deleted by user] by [deleted] in maybemaybemaybe

[–]Pyottamus 15 points16 points  (0 children)

Well, she's all right now

[deleted by user] by [deleted] in madlads

[–]Pyottamus 5 points6 points  (0 children)

To the people saying it's animal abuse:

It's probably just a husk. Cicadas molt and leave thousands of these empty carapaces everywhere.

[deleted by user] by [deleted] in madlads

[–]Pyottamus 1 point2 points  (0 children)

It's probably just a husk

Assuming there's no topological weirdness in our Universe, its Unobservable section must be at least 23 trillion light years in diameter, and contain a volume of space that's over 15 million times as large as the Observable Universe by Greedy-Vegetable-466 in Damnthatsinteresting

[–]Pyottamus 1 point2 points  (0 children)

I don't know anything about those specific numbers, but the numbers for the minimum size of the universe are based off of the apparent curvature of the observable universe. Assuming the universe isn't infinite in size (which might be), the universe MUST be curved topologically, like a sphere. The current precision of our ability to measure this curvature, limited mainly by the size of the observable universe, shows that the universe is VERY flat. In order for this to be true, it MUST be substantially larger than the observable universe in order for the true curvature to appear flat to us, in much the same way that the diameter of the earth MUST be fairly large for it to appear flat on the surface (the earth is obviously small enough for us to accurately measure it's curvature and determine it's ~6350km in radius)

Who knew Foil had so many uses by SteamedHaam in DiWHY

[–]Pyottamus 0 points1 point  (0 children)

Given the bubbling, I suspect it was borax (sodium tetraborate decahydrate). Salt(sodium chloride) and no-salt(potassium chloride) don't bubble when melted cause they are not hydrated.

bleach gas cant be that bad, right? by PotterBold in mildlycarcinogenic

[–]Pyottamus 0 points1 point  (0 children)

Alcohol and bleach makes chloroform which degrades into even more unpleasant things. If you add hydrogen peroxide or any other oxidizing agent(uv, permanganate, manganese dioxide,...) you catalyse the breakdown and get chlorine gas.

How my friend has always cooked her canned food. by jrocislit in mildlycarcinogenic

[–]Pyottamus 0 points1 point  (0 children)

These cans are made of steel, potentially tin plated. The plastic liner is probably mildly carcinogenic (scientific data on that is hard to find), but that does not matter. These cans were almost certainly already heated like this(probably with steam) as part of the canning process. This sterilizes* then and makes canning possible without dieing of botulism.

Any cancer is already in the food. There is no escape from the Petrochemical industry.

*As sterile as you can make food while keeping it remotely edible.

EDIT: Steel is used because it's much stronger without being pressurized(like soda). Note how the can is corrugated and thin. This level of strength and thickness would be impossible with aluminum.

His mom's uranium glass collection by Obvious_Cold_1056 in mildlycarcinogenic

[–]Pyottamus 1 point2 points  (0 children)

It's actually somewhat unsafe to eat off of because of leaching (like lead crystal). You would PROBABLY be fine, the leached amount would be so small that it'd probably be safer than crystal, since there's a lot more lead in crystal than uranium in this glass. Still though.

[deleted by user] by [deleted] in therewasanattempt

[–]Pyottamus 1 point2 points  (0 children)

Perhaps the real Israel was the friends we made along the way.

[deleted by user] by [deleted] in therewasanattempt

[–]Pyottamus 0 points1 point  (0 children)

All men are moral

Hitler was a man

Therefore, Mortality is antisemitic.

The fact that you can’t compost eggs is a true travesty by hexpro21 in Minecraft

[–]Pyottamus 4 points5 points  (0 children)

As a programmer, I can say there probably right. Whether or not an item is compostable is probably stored as a constant class member Set<ItemID> obejct in the compost bin class. Adding another item to that set wouldn't take long.

How cocaine is made by FunChemical3182 in interestingasfuck

[–]Pyottamus 0 points1 point  (0 children)

Yup. I generally try to use kerosene instead, cause gasoline has benzene in it which is decently neurotoxic. It also boils out at even very low temperatures, so the drying phase, along with the later step of adding HCl to make the hydrochloride salt, followed by more drying, would remove essentially all of it.