« first day (4515 days earlier)      last day (320 days later) » 

12:06 AM
So if I never explicitly throw anything, would it be better to compile under /EHsc (extern "C" implies noexcept) or /EHa (disable exceptions entirely)?
This does affect the behavior of some STL methods
 
1:00 AM
Sandbox posts last active a week ago: Construct this number, Sudoku as a SAT problem
 
1:17 AM
I have rolled this back to it's original draft after 2 years. Any feedback on this Sandbox proposal?
 
lgtm
 
 
2 hours later…
3:49 AM
chat.stackexchange.com/transcript/message/63764904#63764904 any thoughts on this? I was gonna post one for arn
 
What would that look like? I’ve never seen one before
 
@Bbrk24 most recent one was elm in january: codegolf.meta.stackexchange.com/questions/25442/…
 
I see
 
 
8 hours later…
12:01 PM
@Razetime that sounds cool! i think i’d nominate TypeScript Type System
i don’t think it should start yet though, especially with the strike making a lot less people able to participate
(including myself)
 
 
2 hours later…
1:34 PM
I love how there's a header named Referer
But there's Referrer-Policy
How did no one catch that
 
Wait is that why I always spell it wrong
 
Yep, the official HTTP header is spelled wrong
 
1:51 PM
I always assumed it was just british spelling or something
 
how should i encode source code in URL parameters for an online interpreter?
i'm not sure what kind of encoding makes sense
 
I just percent-encode it in the fragment
So Hello World is https://bbrk24.github.io/Trilangle/#%22Hoo%22!%22o(oeooolo%22%22%22o%22%22%2CWr%22!3looodo%3Aoo%22%22%22o'(%40
Lots of %22 in that particular one
 
2:12 PM
@mousetail you assumed which was British spelling?
I wonder whether there's ever been a short story about a person who gets transported to a nonorientable surface and promptly gets disorientated
 
Both of them
I didn't even know the spelling was different, I just know I typed it wrong every time. Both look wrong to me but then I assume it must be british spelling
Any time a word looks wrong I just assume it's british
 
^
 
2:32 PM
@Bbrk24 but wouldn't it be too long for longer scripts?
 
2:53 PM
Depends on the language tbh
The longest Trilangle script I’ve written is only a few hundred characters
But for a praclang yeah. Given that Godbolt manages to spit out only a few characters even for long programs, I imagine it just adds it to the database and returns the ID
I didn’t want to manage a database so I just dropped the program in the fragment instead
 
The rust playground automatically creates a gist for your program then the fragment is just the gist URL, you could go that route when the program gets too long
 
3:23 PM
Are there compression algorithms that work well for single programs?
I assume they're too short for gzip or something
 
Brotli? Seems to compress nearly anything though for very short programs it's probably not going to work well
 
I guess you could leave programs that are less than ~100 characters alone
 
You'd need one extra bit to store whether the original program was less than 100 characters
 
use SSS
 
SSS?
 
3:38 PM
is nothing a thing?
 
if the code is empty i could just not pass a fragment at all
@mousetail yes, i can compress my source code by checking if it is congruent to a triangle with equal side lengths
 
3:50 PM
@mousetail small string shortener; jelly and vyxal 3's compressor
 
 
1 hour later…
5:07 PM
playing semantle today, my 3rd guess has a similarity of 970/1000
Semantle #497
✅ 11 Guesses
Guess #2
🥈 0/1000🔝
💡0 hints
semantle.com
it would have been 10 if i didnt accidentally add an extra o
i know one guy found it in 2 by accident
(11 is really impressive btw if you dont know the game)
 
5:27 PM
@PlaceReporter99 vsauce.wav
what is the speed of dark?
 
6:07 PM
@noodleman I've used Base64 and it worked quite well. I think that's also what ATO uses.
 
6:18 PM
@Seggan I watched that before. It’s the speed of light.
 
Nope shadows can move faster than the speed of light
 
6:57 PM
@DLosc Make sure to use base64uri
Or whatever the URL-safe one is
 
@mousetail shadows are the absence of light. The light moves away at the speed of light. Therefore, the shadow moves at the speed of light.
@Seggan what is that?
 
7:21 PM
@Seggan oh it's been a while since I last did those
 
@RydwolfPrograms looks like NP/SP are down
 
Semantle #497
✅ 4 Guesses
Guess #
🥈 995/1000🔝
💡0 hints
semantle.com
very lucky definitely
my usual starting words got me very close
 
7:44 PM
man UI bugs are the best
specifically UI bugs concerning syntax-highlighted textareas, i can't get enough of them
 
@PlaceReporter99 That's false, consider a light source moving around a shadow source at 0.9 times the speed of light at a radius of r. Then consider a sphere of radius 2 r surrounding the shadow source. The shadow will move at a a speed of 1.8 c, thus faster than the speed of light
The light will get progessively slower than the shadow as the radius increasing which will lead to a spiral shaped shadow
 
If I'm understanding that right, you're talking about different things when you say speed of shadows and speed of light?
 
You can prove that in practice too, when viewing a far away star we can see it periodically become slightly dimmer when a planet passes in front of it. This dimming is effectively the shadow of the planet hitting the earth. However, the star becomes dimmer nearly at the same time at every point on earth despite light being able to travel to the other side of the earth in several milliseconds
 
The shadow, you're talking about moving on the surface, but the light, you're talking about moving from the source to the surface?
 
A shadow is usually defined as on a surface yes
Or even just the area where light would not hit a theoretical surface even when that surface doesn't actually exist
 
7:54 PM
Yeah but if you're comparing the speed of light to the speed of shadows, then I'd assume you were talking about how long it takes a shadow to go from the light/shadow source to the surface, not how long it takes to move around on the surface
 
Shadows are commonly cited as a example of something that can to faster than light
 
The speed of the circle of light produced by a laser pointer moving around on the surface would also be faster than the speed of light, right?
Just seems a bit misleading
 
I wouldn't call that the light moving though while most people would call a shadow moving when a light source moves
 
@Seggan Tweet by Terry Pratchett: On the speed of Dark: As yet unmeasured, but believed to be faster than light owing to its ability to move so quickly out of light's way. No matter how fast light travels, it finds the darkness has always got there first, and is waiting for it.
 
 
1 hour later…
9:02 PM
@RydwolfPrograms IDK but I think I transliterated some character to make it work in URLs
Yeah: return btoa(value).replaceAll("=", "_");
 
That's just urlsafe base64 right?
 
 
2 hours later…
11:04 PM
@DLosc Ew
Usually you trim off the =s entirely and replace + with - and / with _
Otherwise you get a bunch of % encoding in your URI which is wasteful
@cairdcoinheringaahing Uh oh, that's not a good sign
API was giving a 400
Looks like things are okay now
Lemme reconfigure systemd to be a little more patient when restarting it
 
11:46 PM
Sad day for the mathematics world as one of the most well-known mathematicians died today :(
2
 
Who's that? Only thing I get when I google "mathematician died" is the literal Unabomber
 
Yep, that's the one :P
 
Oh right...I suppose he is well-known :p
 
Ted Kaczynski still gets cited in math papers nowadays, which is kinda crazy
 

« first day (4515 days earlier)      last day (320 days later) »