« first day (2596 days earlier)      last day (2253 days later) » 

6:00 PM
random idea: you are not allowed to upvote a post until you have scrolled all the way to the bottom of it
 
@HyperNeutrino I will receive a bounty :D
 
@cairdcoinheringaahing 200 lines would be fine, the gigantic image was where I drew the line.
 
@Mr.Xcoder ooh :D
ok the thing I had in mind is the SE maintenance
 
in 20 years in the future when everybody uses self-driving cars and planes no longer have pilots: Are planes or cars safer?
 
@HyperNeutrino ಠ_ಠ Of course they choose a Saturday, not a day when people are at work/school when the sites are down
 
6:04 PM
@NathanMerrill Probably planes.
 
@NathanMerrill Planes are safer, as more car crashes happen due to driver error than plane crashes due to pilot error
 
@cairdcoinheringaahing and that might be the purpose too
 
I'd say planes because there are so many more cars and cars have so many more things to crash into.
apparently driving to the airport is the most dangerous part of a trip by flight
 
SE may be used by employees to get help, and having it down is very uncomfortable
 
anyway gtg o/
 
6:05 PM
@HyperNeutrino my logic as well
 
planes have to worry way more about environment
 
Cya o/
 
and weather
 
I'd say planes are safer because very few people own and fly their own planes, so there will always be an overseeing company that can make the appropriate safety precautions. People with cars would get lazy and forget to check
 
you have significantly more equipment that can fail
 
6:06 PM
I'd say planes are more dangerous since there is way less of a chance of surviving in case of a plane crash
 
@NathanMerrill I don't think any of that makes up to the sheer number of cars around the world though
 
@DJMcMayhem oooh...good point. People will likely still be maintaining their cars
@J.Sallé I'm not asking which type of crash will be more common, but which is more likely to kill you if you want to travel 2000 miles
because car crashes will always be more common and kill more people
 
Ah, I see
 
Why not measure it in per trip chance of death?
 
hmmm...
nah, distance is a good measure
 
6:07 PM
idk though, I still think "driving" 2k miles would be more dangerous than flying the same distance.
 
@NathanMerrill No, my point was that people would forget to
 
@DJMcMayhem right, I was agreeing. There's a human factor there
which means it's a problem
 
Also, without pilots, hijacks would be a lot less common
 
Since a plane ride going wrong is a huge disaster with more deaths, companies pay a lot to avoid it as much as possible. Since me driving my car has a small chance of death that I never think about, I'll drive my car all over the place without bothering to do the right maintenance on it
 
@cairdcoinheringaahing dem evil h4x0rs though D:
 
6:09 PM
As one example, 9/11 would never have happened with pilotless planes
 
Multiply that by the millions of old cars on the road, the self driving components of cars will break down all the time
 
@DJMcMayhem In this specific setting you wouldn't be driving it though.
 
the number of cars doesn't work :P
 
Sure, but I'll still be riding in it
 
Yup
 
6:10 PM
@cairdcoinheringaahing TBF, they are already extremely rare
But events with a horrible outcome are more memorable
 
Cars:
1. Have more things to avoid (people, other cars)
2. Are less maintained than planes
Planes:
1. Are more affected by weather
2. Contain more people, so a single crash causes more deaths
anything I'm missing?
I think I agree: planes will be safer
unless plane travel becomes way more common and we have more things to consider
 
@NathanMerrill I think a psychological component is at play here too. Since a single plane crash is a horrible thing, and most people are very afraid of being in a plane crash (and the chance of dying is practically 100%), there will always be more precautions to alleviate that fear (even if it's statistically very safe). Since car crashes are mostly survivable, very common, and most importantly not catastrophic or sensationalized, people aren't really as afraid of them as they should be
 
oh, I did forget the fact that most car crashes don't actually kill people
 
@NathanMerrill 3. Many plane passengers don't comprehend the risk of loose objects and not wearing a seat belt.
 
@Dennis This.
 
6:16 PM
I'm more afraid of driving than flying because I've seen the idiots on the road that could hit me
 
Amen. Just 1 hour ago, I watched someone cut in front of all of traffic on a red just so that they could turn
 
@Dennis what's the issue of loose objects?
 
They honestly should have gotten hit. People are idiots
 
That backpack you put on the empty seat next to you looks harmless enough until it's flying at hundreds of kilometers/h.
 
oh, like when the plane actually does crash
 
6:17 PM
@J.Sallé Empty seat? You must be flying in luxury. I always get stuck next to screaming baby :/
 
Not even necessarily in a crash. If they have to make a sudden turn, or you hit turbulence
 
No, plain turbulence is enough.
 
Exactly
 
@Dennis I've never seen stuff fly around in turbulence. Apparently I haven't been in crazy turbulence then :P
 
@cairdcoinheringaahing Well I mostly fly a negligible 40-minute flight from Rio to São Paulo, and usually at times most people are either sleeping or going to sleep.
 
6:19 PM
The fact that you're statistically unlikely to have witnessed it, is precisely what makes it so dangerous. Loose passengers/objects are the number one cause of in-flight injuries.
 
Injuries.
 
has it caused deaths?
 
Probably a few
 
@DJMcMayhem Annoying close to 50+, but not there yet :P (Yes I voted in the actual poll)
 
6:21 PM
Do you actually know the exact number?
 
@DJMcMayhem No, just an estimate
 
I just made a wild guess (20-25ish)
I've flown on a water-biplane before. That was a blast
 
I could try to guess the exact number (not that I'd know if it were correct or not :P)
 
Every tiny amount of turbulence feels huge
 
I'm trying to find data on this
 
6:23 PM
@DJMcMayhem Like one of the WW2 planes? That must've been awesome :P
 
but that's more related to damage to the plane itself, not to the passengers
 
> 1981-1996, 252 TURB reports affecting major air carriers.
− 2 fatalities (not wearing seatbelts)
− 63 serious injuries
− 863 minor injuries
From this
> Among non-fatal accidents, in-flight turbulence is the
leading cause of injuries
 
@cairdcoinheringaahing Minus the gun, yes :P
 
@cairdcoinheringaahing I mean how can people be so stupid as to not realize that they should listen to that person on the PA who's flown half their lives telling them to fasten their freaking seatbelts.
 
ok, so it seems like death by turbulence is far less likely that death by plane crash
 
6:27 PM
@DJMcMayhem they took all the fun away then? D:
 
aha!
47
A: Does fastening airplane seatbelts reduce the risk of death and injury?

NotMeUnlike seatbelts found in cars, a seatbelt on an airplane isn't there to save you if the plane slams front first into the ground or is hit by a missile. It's there to keep you safe in the event the plane makes a sudden move or has a minor accident. This commonly happens when flying through tu...

 
0
Q: Golf the chinese 9*9 multiple table

l4m2Output the following table: 一一得一 一二得二 二二得四 一三得三 二三得六 三三得九 一四得四 二四得八 三四十二 四四十六 一五得五 二五一十 三五十五 四五二十 五五二十五 一六得六 二六十二 三六十八 四六二十四 五六三十 六六三十六 一七得七 二七十四 三七二十一 四七二十八 五七三十五 六七四十二 七七四十九 一八得八 二八十六 三八二十四 四八三十二 五八四十 六八四十八 七八五十六 八八六十四 一九得九 二九十八 三九二十七 四九三十六 五九四十五 六九五十四 七九六十三 八九七十二 九九八十一 If your environment d...

 
7:09 PM
@NathanMerrill wow that guy in the comments got #rekt
 
We have a blazing fast particle simulation, yet clicking makes the game lag, and clicking causes odd bugs all on it's own
 
7:32 PM
how fast were you clicking
i tried it out and it seemed to run fine
 
If I throttle my CPU down to 2Ghz I can see the issue.
 
i'd personally be more concerned with github.com/ThePowderToy/The-Powder-Toy/issues/294
your password is being md5'd locally and then sent over http?
that's all sorts of wrong
2
 
The powder toy detected I have a big enough screen for double size, so it automatically started like that, and the settings bar ended up under the taskbar preventing me from changing it.
 
7:53 PM
0
A: Sandbox for Proposed Challenges

pfg𝘜𝘯𝘪𝘤𝘰𝘥𝘦 𝗠𝗮𝗿𝗸𝗱𝗼𝘄𝗻 𝖥̲𝗈̲𝗋̲𝗆̲𝖺̲𝗍̲𝗍̲𝖾̲𝗋̲ Your task is to create a markdown parser that outputs Unicode. It should support 𝗯𝗼𝗹𝗱, 𝘪𝘵𝘢𝘭𝘪𝘤, and 𝗎̲𝗇̲𝖽̲𝖾̲𝗋̲𝗅̲𝗂̲𝗇̲𝖾̲. Every alphabetical character should be converted into Math Sans. This includes the characters be...

 
8:04 PM
@NSP things like that make me glad I included Unicode strings in Dirty.
 
8:15 PM
i get that a docx file is just a compressed archive of xml files but why the heck does it share a magic number with zip files?
 
9:14 PM
because then you don't have to rewrite the zip library?
 
pip install -U gpg keeps failing for me and I'm not sure how to fix it.
  swig -python -threads -py3 -Ibuild -outdir build/lib.linux-x86_64-3.6/gpg -o build/gpgme_wrap.c build/gpgme.i
  build/gpgme.h:16: Error: CPP #error ""unexpected value for __WORDSIZE macro"". Use the -cpperraswarn option to continue swig processing.
  error: command 'swig' failed with exit status 1
I tried googling the error and stuff and I'm still not sure how to fix it.
 
In tkinter, is there any way to make frame fit to contents in only one dimension? I want to have an item with fixed width, but with height set to content...
fill doesn't help
Frame(..., width="350px", fill="y").pack_propagate(False)
doesn't work
 
@Poke Because they're still zip files. If I remember right, JAR and ODF files share the magic number, too, for the same reason.
 
@Poke What's a magic number?
 
@Pavel try installing swig?
 
9:21 PM
@Poke Well the swig command runs, but fails
 
@AdmBorkBork @Pavel yeah but the purpose of that number is to identify the filetype...
@Pavel try updating swig?
i saw a couple google results saying you may need to manually grab swig3
 
But they are zip files, they're just a specific sub-type.
@Pavel File header information to identify file types.
 
swig -version reports I have latest.
 
@AdmBorkBork to me it's weird that subtype isn't enough to justify a different magic number
@Pavel i think swig3 might be different?
 
Yeah, I can see that.
 
9:24 PM
@Poke Pip is still running the command swig and not swig3.
 
@Pavel this is one of the ones i was looking at github.com/automl/auto-sklearn/issues/314
 
@Poke SWIG Version 3.0.12
 
@Poke Have you tried opening a docx file in something like 7-Zip? It's kinda neat.
 
@AdmBorkBork yes indeed
 
I wonder if self-extracting-archives are also classified as zips
 
9:29 PM
Pretty sure they are
 
This is a list of file signatures, data used to identify or verify the content of a file. Such signatures are also known as magic numbers. Many file formats are not intended to be read as text. If such a file is accidentally viewed as a text file, its contents will be unintelligible. However, sometimes the file signature can be recognizable when interpreted as text. The column ISO 8859-1 shows how the file signature appears when interpreted as text in the common ISO 8859-1 encoding. == See also == List of file formats Magic number (programming) == References == == External links == Gary Kessler...
 
Does Windows have an equivalent to Linux's file?
 
i like how .rar files have "Rar!...."
@Pavel don't think so
maybe in cygwin :P
or if you have win10 you can just use bash
 
For a really long time I thought WSL was just an impractical gimmick, I'm surprised by how many people actually use it for everyday tasks.
 
> For a really long time...
> released august 2016
:]
 
9:38 PM
that's pretty long
 
it wasn't as widely available until October 2017
at which point it was put into the windows store or something
 
I installed it the day it was available
 
1.5 years isn't /that/ long
 
It's like a 10th of the time I've been alive
 
it's a te—
ninja'd
 
9:44 PM
>.>
 
But... why?
 
haha what the heck
 
boredom
being a douche
 
BMO
10:25 PM
Hi!
 
Hello!
 
BMO
Just finished writing a compiler for Brain-Flak :D
(note: I haven't tested it on neither Windows nor Mac)
 
10:36 PM
@BMO Damn
That's a first
 
BMO
I couldn't find one, that's why I wrote it ;)
 
I'd be happy to test it on windows for you later this evening
You should do some benchmarking on it. I bet WheatWizard would be very interested to see how it compares with the current fastest interpreter (also in haskell)
@BMO Does it support {...} accumulation?
 
What's that?
 
BMO
I really wanted to write some asm and thought it'd be fun to write an actual compiler and it's a language that's not too hard to do so.
 
@Pavel ({...}) will push the sum of every loop
 
BMO
10:40 PM
@DJMcMayhem: I did some benchmarks with this on my machine and it outperforms quite well :)
I'm not very patient but for large inputs it seems to be more and more, it was at around ~50x for small ones and getting above 150x for larger inputs
 
Actually, it says: The {...} will evaluate to the sum of all runs.
 
BMO
Yes
 
Actually, it says {} not {...}, so that's a typo
I should fix that
 
I was looking at These functions will also return the value inside of them
 
Ah, yeah that's not entirely true.
I should edit that
It's there to point out that (...) evaluates to it's input, but that's straight up false for the other 3
 
10:42 PM
Yeah
 
@BMO It's actually this one that's the fastest we have so far
 
BMO
Oops, wrong link
(I did the benchmark with the BrainHack one)
 
The ruby interpreter is extremely bloated
I'm a much bigger fan of my python interpreter
 
BMO
Didn't see that one
 
@BMO Here. It was supposed to end up becoming pain-flak V2, but that never really went anywhere (even though it's technically fully implemented)
I like it a lot more than the ruby interpreter because rather than storing a crap-ton of information and parsing character by character, it pre-parses everything into a list of atoms and gives each atom the ability to execute itself
 
BMO
10:47 PM
Holy... that's really short ^^
 
Not as short as this one ;)
That one was a blast to write
 
@BMO Oh hey, one more question. Are there int limits? What IO flags are supported?
 
@BMO isn't brainhack basically a compiler
 
BMO
@DJMcMayhem: Yeah, all integers are 32bit 2s-complement so they're restricted to [-2147483648,2147483647]
 
10:53 PM
@BMO :|||||||||
 
BMO
..and the binary will suport the -a flag for output, but only supports input as integers.
@ASCII-only ?
 
@ASCII-only I don't think so:
> To run a Brain-Flak program call the resulting binaries with the name of the file where the source is located and the arguments for the program.
 
BMO
No, BrainHack is an interpreter, there's one binary for all programs which does interpretation.
 
"The resulting binaries" referring to the compiled interpreter
 
@DJMcMayhem yeah, but I meant more in the sense that compared to brain-flak it's insanely fast
 
10:55 PM
Sure, but so is literally every other serious (i.e. non-golfed) interpreter/compiler out there
 
BMO
@DJMcMayhem: Btw. those two questions are answered on the GH page ;)
 
So far, we have 2 haskell interpreters/compilers, 1 C interpreter, 1 python interpreter, and the official ruby interpreter. I haven't benchmarked my python interpreter, but I'd be willing to bet it's at least 5-10 times faster than the ruby one
@BMO BTW, if you want to post a link to your compiler in the third stack, I'll pin it
 
@DJMcMayhem There's also Conor's compiler written in Ruby :P
 
Oh, I never heard about that one
 
BMO
11:01 PM
I will
 
I'd argue that any implementation not using unbounded ints is wrong
 
yes it is
 
The spec doesn't mention it, but the reference implementation has unbounded ints
and it affects how I would prove Turing-completeness
 
While we're talking about fast interpreters, is this adequate performance for summing up to 1 million? tio.run/##S8ksKqn8/9/QAAz0HnVMVPz//…
 
@Οurous From my testing, it's slightly slower than the equivalent in CJam
and CJam is interpreted in Java
 
11:09 PM
Which means it's fine
 
Make of that what you want
 
@Οurous That's several times faster than jelly (2.5 seconds) but significantly slower than python (.07 seconds)
But I bet python special cases sum(range)
 
@DJMcMayhem On TIO, print(sum(range(100000))) gives me about 0.03-0.06. print(sum(i for i in range(100000))) gives me a pretty consistent 0.06.
 
Actually, I should switch Charcoal to generators >_>
 
11:17 PM
@ASCII-only And yet without timeit, that's 20x faster
 
@DJMcMayhem but timeit says it takes 0.06s?
 
o_O No? I thought it says it takes 6.6 seconds
 
@DJMcMayhem yeah for 100 repeats
why would it take longer with timeit >_>
 
Ah, that makes way more sense
 
Pretty badly, but well, it's an ASCII art language
there's the overhead of the canvas and brotli and things >_>
 
11:21 PM
Although it only takes 1.5 seconds in brain-hack
 
wait what
i can't get it to work in brain-hack <_<
 
@ASCII-only Input is via command-line args
 
I'm getting anywhere between 1.5 and 3 seconds on BrainHack
 
BMO
Well, I know that it's not entirely correct to use bounded integers, but I won't implement arbitrarily sized integers in assembly...
And if I did someone would come telling me it's not Turing complete because their computer only has N gigs of memory ^^
 
11:28 PM
It doesn't even finish it under 60 seconds in V: Try it online!
 
@BMO gmp is a thing...
 
Rust takes about .58 to run, but .52 of that is compilation
Whoops didn't mean to ping you
Here's how I timed it (uses i64s with wrapping add)
 
@ASCII-only elaborate? We don't want to restrict esolangs?
 
@Downgoat nonono like as in like do this (or do without this) for point bonus
 
neither of those are something that should be encouraged :P
 
11:34 PM
it's optional of course
 
@ASCII-only bonuses aren't great
 
more to avoid 10000000000000000 similar challenges
@Downgoat hmm, true. then just have submission restriction options i guess
 
@ASCII-only so like make program that does A, B, and C, and get more points the more things it does?
 
@Downgoat not really? more for like having two variants of a question (or extension of a question) without actually having two separate posts
 
11:53 PM
0
Q: Oops, I blew it up (with numbers)

DatInspired by There, I fixed it (with rope),There, I fixed it (with Tape), There, I broke it (with scissors) Given a string with characters from a-z, blow it up where it is missing letters. Example 1 Input : abdefgjkl Output : a121ef1221kl Why? 1) ab2defg22jkl Add the "gound zero" of the ex...

 
@ASCII-only you mean categories
 
@Downgoat that is probably a better way to put it yes
 

« first day (2596 days earlier)      last day (2253 days later) »