TIL (about the Dark Arts of HTML)
-
@dkf said in TIL (about the Dark Arts of HTML):
@anonymous234 said in TIL (about the Dark Arts of HTML):
TIL open() and write() are not part of the C standard. The C functions are fopen() and fwrite().
Yep. open() and write() are part of POSIX, which is the standard for all the Unix variants. Probably POSIX.1; they're pretty basic.
The number of ifdefs arouns our open()s suggest it isn't very well standardized
-
@sockpuppet7 said in TIL (about the Dark Arts of HTML):
The number of ifdefs arouns our open()s suggest it isn't very well standardized
Is that because of re-encoding the filename, or using non-standard open-flags, or what? (Genuinely curious.)
-
@dkf iirc It's mostly open flags. very old code written 20 years ago, that is still compiled on both ancient, new and weird platforms (some of them doesn't have an "open", so we have macros for these ones)
-
@sockpuppet7 OK, there's probably non-standard flags even now about so that's not so surprising, and non-POSIX platforms are free to redo the API as they choose.
The other thing that can vary out of spec are the errno codes.
-
@dkf I think paths are bytestrings, or does posix mandate ascii?
-
@PleegWat They're bytestrings where 0x00 (NUL) is the terminator byte and 0x2f (
/
) is the directory separator; all other bytes are uninterpreted IIRC.
-
-
https://en.wikipedia.org/wiki/Holden's_Lightning_flight
On 22 July 1966 Walter "Taffy" Holden, an engineer in command of No. 33 Maintenance Unit RAF with limited experience flying small single-engine trainer aircraft, inadvertently engaged the afterburner of a Mach 2.0-capable English Electric Lightning during ground testing. Unable to disengage the afterburner, Holden ran down the runway narrowly missing a crossing fuel bowser and a de Havilland Comet taking off, before taking off himself. Flying without a helmet or canopy, the ejection seat disabled, and the landing gear locked down, Holden aborted a couple of attempted landings. He landed on his third approach, striking the runway with the aircraft's tail as he adopted in his flare the attitude of a taildragger aircraft.
Holden was not wearing a helmet, and had no radio. The canopy of the aircraft was removed due to electrical wires running out of the cockpit.
-
-
@mott555 said in TIL (about the Dark Arts of HTML):
Holden ran down the runway narrowly missing a crossing fuel bowser
-
@mott555 that there is one of life's rare flawless fuckups.
-
@Carnage said in TIL (about the Dark Arts of HTML):
@mott555 that there is one of life's rare flawless fuckups.
In the process using up an entire country's worth of luck. Hence why GB has struggled ever since
-
TIL you can save time in some missions in GoldenEye 007 by dismantling your controller. Doesn't work in emulator, though.
-
@Gąska said in TIL (about the Dark Arts of HTML):
TIL you can save time in some missions in GoldenEye 007 by dismantling your controller.
Oh? Mark me intrigued.
-
@Tsaukpaetra watch full video for entire backstory - it's pretty cool. But if you're annoyed by shitty youtuber's shitty storytelling, skip to 7:22 to get to the meat.
Speedrunners BANNED this for being too game-breaking – 13:09
— Goose's Gamer Folklore
-
@HardwareGeek said in TIL (about the Dark Arts of HTML):
@anonymous234 said in TIL (about the Dark Arts of HTML):
TIL sprinklers don't work in reverse
The experiment ended with the explosion of the glass carboy that he was using as part of his setup.
Explosions do tend to put an end to experiments, at least temporarily.
Unless you're making combustion engines.
-
@Gąska said in TIL (about the Dark Arts of HTML):
TIL Marx was Jewish.
This is surprising? I guess the irony is the Antisemitism of the Soviet Union.
-
@jinpa said in TIL (about the Dark Arts of HTML):
@Gąska said in TIL (about the Dark Arts of HTML):
TIL Marx was Jewish.
This is surprising?
Kinda. My inner antiracist really doesn't want to admit that Jews are behind everything, but this hypothesis seems to get stronger everyday.
-
@Gąska said in TIL (about the Dark Arts of HTML):
@jinpa said in TIL (about the Dark Arts of HTML):
@Gąska said in TIL (about the Dark Arts of HTML):
TIL Marx was Jewish.
This is surprising?
Kinda. My inner antiracist really doesn't want to admit that Jews are behind everything, but this hypothesis seems to get stronger everyday.
I think there's a middle ground between denial ("all ethnic groups are equal at everything") and conspiracy theories. Jews tend to be over-represented (not in a bad way) in fields requiring thinking, such as political-economic philosophers.
-
@Gąska Nah, they're just naturally better at managing power. Like Asians and math.
-
@pie_flavor said in TIL (about the Dark Arts of HTML):
@Gąska Nah, they're just naturally better at managing power. Like Asians and math.
One of my sociology professors (who I've complained about elsewhere) made the point that Asians aren't really better at math, it's just that what brings them to the West (the U.S. in particular) is a brain drain.
"Amongst Jews, in 2016, Modern Orthodox Jews had a median household income of $158,000, while Open Orthodoxy Jews had a median household income of $185,000 (compared to the American median household income of $59,000 in 2016)"
(Google's summary for "average income of Jews vs. general population")
-
@jinpa said in TIL (about the Dark Arts of HTML):
@HardwareGeek said in TIL (about the Dark Arts of HTML):
@anonymous234 said in TIL (about the Dark Arts of HTML):
TIL sprinklers don't work in reverse
The experiment ended with the explosion of the glass carboy that he was using as part of his setup.
Explosions do tend to put an end to experiments, at least temporarily.
Unless you're making combustion engines.
In general, you really don't want explosions in combustion engines either.
-
@Carnage said in TIL (about the Dark Arts of HTML):
@jinpa said in TIL (about the Dark Arts of HTML):
@HardwareGeek said in TIL (about the Dark Arts of HTML):
@anonymous234 said in TIL (about the Dark Arts of HTML):
TIL sprinklers don't work in reverse
The experiment ended with the explosion of the glass carboy that he was using as part of his setup.
Explosions do tend to put an end to experiments, at least temporarily.
Unless you're making combustion engines.
In general, you really don't want explosions in combustion engines either.
Explosions of combustion engines, no. But AIUI, the burning fuel inside each of the engine's cylinders produces a tiny explosion that shoves the piston out (or in a rotary engine, spins the rotor around).
-
@djls45 said in TIL (about the Dark Arts of HTML):
Explosions of combustion engines, no.
If you're picking pieces of the cylinder head out of the ceiling, you will not be running that engine today.
-
@djls45 said in TIL (about the Dark Arts of HTML):
@Carnage said in TIL (about the Dark Arts of HTML):
@jinpa said in TIL (about the Dark Arts of HTML):
@HardwareGeek said in TIL (about the Dark Arts of HTML):
@anonymous234 said in TIL (about the Dark Arts of HTML):
TIL sprinklers don't work in reverse
The experiment ended with the explosion of the glass carboy that he was using as part of his setup.
Explosions do tend to put an end to experiments, at least temporarily.
Unless you're making combustion engines.
In general, you really don't want explosions in combustion engines either.
Explosions of combustion engines, no. But AIUI, the burning fuel inside each of the engine's cylinders produces a tiny explosion that shoves the piston out (or in a rotary engine, spins the rotor around).
You don't want explosions in a normal combustion engine, even in the combustion chambers. That is just a common misconception.
-
@Carnage In Portuguese ICEs are popularly referred to as "explosion engines".
Wikipedia's article specifically mentions this misconception:
Internal combustion engines are also popularly called explosion engines. This denomination, although frequent, is not technically correct.
-
@Zecc TIL the differences between burning, combustion, deflagration, and detonation.
The first two are types of burning, and the last two are types of explosion.- Burning occurs in a virtually unlimited oxygen environment, i.e. open-air.
- Combustion occurs in an environment where the fuel-air mixture ratio is controlled, and the ignition flame propagates outward through the mixture. The pressure can then gradually (relatively speaking) increase as the fuel oxidizes.
- Deflagration is an ignition of the whole fuel-oxidizer mixture at once, and the speed of the resulting pressure wave is below the speed of sound.
- Detonation is an ignition of the whole fuel-oxidizer mixture at once, and the speed of the resulting pressure wave is above the speed of sound.
-
@djls45 said in TIL (about the Dark Arts of HTML):
@Zecc TIL the differences between burning, combustion, deflagration, and detonation.
The first two are types of burning, and the last two are types of explosion.- Burning occurs in a virtually unlimited oxygen environment, i.e. open-air.
- Combustion occurs in an environment where the fuel-air mixture ratio is controlled, and the ignition flame propagates outward through the mixture. The pressure can then gradually (relatively speaking) increase as the fuel oxidizes.
- Deflagration is an ignition of the whole fuel-oxidizer mixture at once, and the speed of the resulting pressure wave is below the speed of sound.
- Detonation is an ignition of the whole fuel-oxidizer mixture at once, and the speed of the resulting pressure wave is above the speed of sound.
There is a pretty amusing side note here, there are engines that use explosives as starters. So there are engines where the occasional explosion is perfectly ok. 😁
-
-
-
TLDW: Pressing down on the exposed circuit board of a taken-apart controller in port 2 causes strange things to happen, including passing missions without the game timer recording that time has passed.
-
@Applied-Mediocrity said in TIL (about the Dark Arts of HTML):
@TimeBandit said in TIL (about the Dark Arts of HTML):
in a Wankel engine, wanks the piston around
-
@hungrier said in TIL (about the Dark Arts of HTML):
wanks the piston around
There is no piston in a Wankel engine.
Wankel is not a wanker
-
@TimeBandit It's a rotary piston, perfect for wanking
-
@TimeBandit said in TIL (about the Dark Arts of HTML):
Wankel is not a wanker
Not according to the Japanese
-
@hungrier said in TIL (about the Dark Arts of HTML):
@TimeBandit It's a rotary piston, perfect for wanking
You spin me right round...
-
In a turboshaft, it shafts the turbo.
In a nuclear reactor, it reactors the nuclear around.
Filed Under: I gave myself the Turing test and I failed.
-
@Gąska Like a record, baby?
-
@Benjamin-Hall said in TIL (about the Dark Arts of HTML):
@Gąska Like a record, baby?
Right 'round, 'round, 'round
-
@mott555 said in TIL (about the Dark Arts of HTML):
Filed Under: I gave myself the Turing test and I failed.
I succeeded after exhausting all multiple-choice options.
-
@Tsaukpaetra said in TIL (about the Dark Arts of HTML):
I succeeded after exhausting all multiple-choice options.
I was thinking of doing the same, but then
happened
-
@TimeBandit said in TIL (about the Dark Arts of HTML):
@Tsaukpaetra said in TIL (about the Dark Arts of HTML):
I succeeded after exhausting all multiple-choice options.
I was thinking of doing the same, but then
happened
Ah, clearly a human!
-
TIL "1/2 inch" pipes have a diameter of about 0.82 inches.
-
@anonymous234
Yes, usually it's the other way round - you say good 7 and a half and it's actually maybe five (at room temperature).
-
@Gąska said in TIL (about the Dark Arts of HTML):
@jinpa said in TIL (about the Dark Arts of HTML):
@Gąska said in TIL (about the Dark Arts of HTML):
TIL Marx was Jewish.
This is surprising?
Kinda. My inner antiracist really doesn't want to admit that Jews are behind everything, but this hypothesis seems to get stronger everyday.
You would've fit pretty well in 30s Germany.
-
@topspin unfortunately, I have brown hair.
-
@anonymous234 said in TIL (about the Dark Arts of HTML):
TIL "1/2 inch" pipes have a diameter of about 0.82 inches.
Internal or external, though. Might be the more meaningful diameter of a pipe is its internal diameter.
-
@Gąska So did Hitler.
-
@topspin said in TIL (about the Dark Arts of HTML):
@Gąska So did Hitler.
And a lot of Germans as well.
-
Biologists have the weirdest words.