TIL (about the Dark Arts of HTML)
-
@RaceProUK don't you have a Manc accent? That's nearly as indecipherable as Scouse anyway
-
@Jaloopa said in TIL (about the Dark Arts of HTML):
@RaceProUK don't you have a Manc accent?
East Midlands, actually
-
@RaceProUK The best part is, while I spent some time living in the UK, it was the same area you live in :D But I still consume a decent amount of media featuring brits, and I have a reasonable talent for mimicry.
-
TIL: The auditorium at the biggest university in Latin America has been occupied by various squatters for nearly 2 decades.
-
TIL in 1982 Atari planned a game contest with $150,000 worth of prizes, in the form of golden artifacts. That's $350,000 present day dollars!
https://www.youtube.com/watch?v=LWltQ9UN5vEAnd that was all on a console with 128 bytes of RAM.
-
@RaceProUK said in TIL (about the Dark Arts of HTML):
TIL @Yamikuronue can do a brilliant posh English accent, to the extent she sounds about 56438759163478568347.8× more British than me, a native Brit
RP posh, or really posh?
-
@CarrieVS said in TIL (about the Dark Arts of HTML):
@RaceProUK said in TIL (about the Dark Arts of HTML):
TIL @Yamikuronue can do a brilliant posh English accent, to the extent she sounds about 56438759163478568347.8× more British than me, a native Brit
RP posh, or really posh?
Assuming the stream is uploaded to YouTube as the others have been, you'll be able to hear from yourself
-
@RaceProUK If it was linked upthread please forgive my blindness, but 'on YouTube' is not very specific.
-
@CarrieVS It's not been uploaded yet. There's a thread around here somewhere with previous archives, but I can't remember where exactly. I may dig it up later if I remember.
-
@CarrieVS You can see it on twitch: https://www.twitch.tv/videos/153022177
-
TIL that going to the Media Creation Tool download page on the Microsoft site while running an unsupported OS will just allow me to download a Windows ISO directly without the need to first download that program so I can download the ISO from it.
-
@RaceProUK said in TIL (about the Dark Arts of HTML):
TIL smelling salts have the alternative name 'spirit of hartshorn', which makes it sound like a fantasy roleplay potion
That's looks ripe for misreading as 'spirit of shart-horn'.
-
TIL getting the current working directory on POSIX/Linux takes 14 lines of code
size_t size = 100; char *buffer; while (1) { buffer = (char *) malloc (size); if (buffer == 0) abort(); //virtual memory exhausted if (getcwd (buffer, size) == buffer) break; free (buffer); if (errno != ERANGE) return 0; size *= 2; }
-
@anonymous234 said in TIL (about the Dark Arts of HTML):
TIL getting the current working directory on POSIX/Linux takes 14 lines of code
size_t size = 100; char *buffer; while (1) { buffer = (char *) malloc (size); if (buffer == 0) abort(); //virtual memory exhausted if (getcwd (buffer, size) == buffer) break; free (buffer); if (errno != ERANGE) return 0; size *= 2; }
size_t size = 50; char * buffer = NULL; do { size *= 2; if( !(buffer = realloc( buffer, size )) ) { abort(); // virtual memory exhausted } } while( ! getcwd( buffer, size ) && errno == ERANGE );
Or just use get_current_dir_name()
Filed under: Cue a religious war on whether this is ugly code.
-
@anonymous234 Everyone who read Ready Player One knew that.
-
@anonymous234 real life lazy C programers would do:
char buffer[2048]; getcwd(buffer, 2048);
And let it blow up if the path is too long.
-
@PleegWat Hey, I took that code directly from the GNU libc documentation.
Or just use get_current_dir_name()
ENOTPOSIX
...hold up. GNU libc already has an extension to do that: you can call getcwd(NULL, 0) to do the same thing that get_current_dir_name does. Why two things that do the same thing?!
-
@anonymous234 said in TIL (about the Dark Arts of HTML):
Why two things that do the same thing?!
So you can control which memory allocator to use and what happens when you have a failure.
-
@boomzilla said in TIL (about the Dark Arts of HTML):
@Yamikuronue said in TIL (about the Dark Arts of HTML):
TIL seals are successfully raping penguins for some reason. And then letting them go instead of eating them. WTF?
Yeah, seriously...I'm usually kind of hungry afterwards.
Filed Under: INB4
Do you frequently rape penguins on an empty stomach?
-
@raceprouk said in TIL (about the Dark Arts of HTML):
TIL the longest known piece of English literature isn't War and Peace, but a Super Smash Bros. Brawl fanfiction.
It has 220 chapters, and currently sits at 4,061,129 words.
Full read-through on Monday?
-
https://www.ovh.ie/public-cloud/storage/cloud-archive/
https://www.online.net/en/c14#pricingTIL there's already two storage services for about half the cost of Backblaze's B2. Which is already half the cost of and 's "low cost" storage services.
And yet, it's still more than twice as expensive as a local hard drive.
-
@anonymous234 said in TIL (about the Dark Arts of HTML):
And yet, it's still more than twice as expensive as a local hard drive.
A single HDD is indeed very cheap. But know exactly what you are getting! Any sort of backup on top of that quickly ramps up the cost, and the better the reliability, the more the cost rises (because it inevitably requires more hardware, more network usage, and more effort spent checking to see if there's a problem with the hardware).
-
-
@karla Actually, that's a load of bollocks:
Basically, 'news' means 'new things'.
-
@raceprouk said in TIL (about the Dark Arts of HTML):
@karla Actually, that's a load of bollocks:
Basically, 'news' means 'new things'.
Maybe I should have posted in the funny thread.
-
@karla said in TIL (about the Dark Arts of HTML):
Maybe I should have posted in the funny thread
When in doubt, procrastinate.
-
@karla said in TIL (about the Dark Arts of HTML):
Maybe I should have posted in the funny thread.
It definitely doesn't fit the alloca thread
-
@karla said in TIL (about the Dark Arts of HTML):
TIL
Holy fuck. My whole life is a lie.
No, silly, it stands for the cardinal directions.
-
@zecc said in TIL (about the Dark Arts of HTML):
@karla said in TIL (about the Dark Arts of HTML):
TIL
Holy fuck. My whole life is a lie.
No, silly, it stands for the cardinal directions.
-
TIL that Excel 2010's compatibility checker thing, which checks workbooks for compatibility and converts them to the old '97 XLS format when necessary to allow you to save in that format, will not check a worksheet or convert it to the old format when necessary to allow you to copy/move it into a workbook that's using the old format. You can copy/move sheets from old workbooks to new ones, but not the reverse. Because fuck you, apparently.
Workaround appears to be saving either workbook in the same format as the other workbook, and then you can copy/move worksheets in either direction.
If I had to implement it, even if it can't convert just a single sheet, I'd do something like this:
When the destination is old format and the source is new format...
- first of all, force the "Create a copy" checkbox to be checked (and disable it) when they select an old workbook as the target
- convert whole workbook to older format, suppressing any warnings or errors, and save to a temporary file
- copy the sheet from the converted workbook to the target workbook
- delete the temporary file and let them resume working on the original source one
- pop up a message saying,
Warning -- The compatibility checker was not run.
Because the destination workbook was in an older format than the source workbook, some features may have been lost when copying the worksheet. Please inspect the destination workbook to verify that the copied worksheet is correct.
To see a complete list of possible conversion issues, you can save the source worksheet in the older format to run the compatibility checker. Alternately, you can save the older workbook in the new format, and then you will be able to copy or move worksheets to it without any compatibility problems.
Or show two prompts, one "are you sure" before copying, and a second after copying if they elect to proceed.
-
TIL that Microsoft Edge is fucked and needs to go DIAF.
Edge insists on opening the PDF, but, because it's fucking useless and cannot, it just displays an error message instead. No, there's no fucking way to tell it to open the file in Adobe Reader. You're just SOL. If you're lucky, you can go back to the page that you opened the PDF from, right-click the link, and open it in Adobe Reader or any browser that isn't absolute shit (oh, and you have to do this every. damn. time. you want to open a PDF that doesn't work in Edge), but if you're not lucky, the link is Javascript and it's all packed full of enterprisey bullshit and you basically have to give Edge the finger and switch to a different browser.
-
@anotherusername said in TIL (about the Dark Arts of HTML):
Edge insists on opening the PDF, but, because it's fucking useless and cannot, it just displays an error message instead. No, there's no fucking way to tell it to open the file in Adobe Reader. You're just SOL. If you're lucky, you can go back to the page that you opened the PDF from, right-click the link, and open it in Adobe Reader or any browser that isn't absolute shit (oh, and you have to do this every. damn. time. you want to open a PDF that doesn't work in Edge), but if you're not lucky, the link is Javascript and it's all packed full of enterprisey bullshit andyou basically have to give Edge the finger and switch to a different browser.FTFY ;)
-
@raceprouk yeah that's obviously the conclusion, but I had to arrive there in my own particular way...
-
@anotherusername said in TIL (about the Dark Arts of HTML):
you basically have to give Edge the finger and switch to a different browser.
... and crashed face-first ?
-
@timebandit said in TIL (about the Dark Arts of HTML):
That's the most pretentious quote I've seen. There is literally not a single thing that Edge does better than Chrome, aside from its Javascript engine allegedly being slightly faster.
Edit: OK, the latest version has that thing where you can "set aside" tabs. So I guess technically it beats Chrome in terms of tab-setting-aside abilities?
-
@anonymous234 jumping over the bar doesn't imply doing better, it implies doing as good. You're supposed to jump over the bar.
-
@anotherusername Right...
Still, I googled the source of that quote, and funnily enough, it was talking about a javascript benchmark.
-
@anonymous234 said in TIL (about the Dark Arts of HTML):
That's the most pretentious quote I've seen.
Took it directly from here
-
@anonymous234 And they score basically the same. Graph didn't start at 0 to make the difference seem meaningful
-
TIL Pope Francis is a Harlem Globetrotter.
-
@anonymous234 said in TIL (about the Dark Arts of HTML):
There is literally not a single thing that Edge does better than Chrome
The OneNote integration is cool.
-
TIL in Sweden, they have slutstations where everyone has to get off.
("slut" means end)
-
@anonymous234 Yeah, every morning when I go to work I have to get off at the slutstation. Just part of the routine at this point.
(Although considering the state of that bus station, there are good chances of finding sluts there...)
-
@anotherusername said in TIL (about the Dark Arts of HTML):
@anonymous234 jumping over the bar doesn't imply doing better, it implies doing as good. You're supposed to jump over the bar.
Limbo, man! Limbo…
-
TIL you can embed 3D stuff here
-
-
TIL you can pop balloons with an orange.
-
@anonymous234 Does it work with a lemon? Does it work with vinegar?
-
@dkf said in TIL (about the Dark Arts of HTML):
@anonymous234 Does it work with a lemon? Does it work with vinegar?
Does it work on something other than a balloon?
Filed under: Look out! He's got an orange!
-
@dkf said in TIL (about the Dark Arts of HTML):
@anonymous234 Does it work with a lemon? Does it work with vinegar?
It's the oil. A lemon would probably work. Vinegar would not. Plain, ordinary latex rubber is penetrated quite easily by many ordinary non-polar molecules, like hydrocarbons... it won't work on balloons made of vulcanized rubber; it's tougher. (Water balloons are used for the demonstrations because they're made from non-vulcanized rubber -- they're supposed to break easily.)
For another example of latex's poor resistance to non-polar chemicals, it's also why you should never use oil-based lubricants with condoms. And for another, this chart shows resistance of latex gloves to various chemicals (note that in addition to showing that latex performs poorly when exposed to several common oils and other hydrocarbons, it also indicates that latex holds up quite well when exposed to acids; vinegar shouldn't hurt it a bit):
http://www.tsmfg.com/sites/default/files/ltx_chemical_resistance_techdata.pdf