« first day (3625 days earlier)      last day (1220 days later) » 

12:00 AM
Happy New Year
(and that's an SE new year too, of course)
 
12:35 AM
Oh god, I just saw a comment posted last year that had the date as Apr 24 '20, and the '20 just seems so ...off
Guess I thought 2020 was going to replace all other years :P
 
1:05 AM
It took me 12 hours, but I can safely say I just had my first bad time of 2021.
 
1:26 AM
@Lyxal NOO IM ON MOBILE
It took me twelve tries to win that fight in undertale
Tiem to suffer again
 
 
4 hours later…
5:29 AM
i forget undertale's controls lmao
also i've never beat sans. tbf don't play the game at all lol
 
 
1 hour later…
6:46 AM
@Lyxal that has a comment that halves the length that for some reason hasn't been added to the answer
 
sorry for anyone who saw my self-deletions on main, that was just me confusing myself twice in a row
uh, i mean, happy new year
 
16
Q: I don't like curry

userI don't like curry. Help me reverse the effects of this evil question - Make me some curry - by uncurrying functions. Task Given a blackbox curried function, output its uncurried equivalent. The curried function will take a single argument and output either another curried function or a value of...

im tryna do this in charcoal
why is charcoal so bad
 
7:12 AM
here's my progress. no idea why it doesn't work lmao
 
7:59 AM
@Neil Oh, that's the issue, I thought it otherwise..
 
8:29 AM
@HyperNeutrino sans is fun
undyne on the other hand...
 
 
2 hours later…
10:26 AM
@Razetime this man speaks undeniable truths
 
10:57 AM
@RedwolfPrograms dude just use cloudflare
 
11:33 AM
@ASCII-only I dunno... You tell me
 
@ASCII-only Cloudflare defeats the entire point of HTTPS.
 
oh?
 
“Hey, sign up to our free service where we'll MITM all your traffic for you!”
Cloudflare's trustworthy, but nobody's that trustworthy.
 
what about it
 
There's not even a contract in place if it all goes wrong, so you don't (afaik, ianal) have much legal protection.
 
11:41 AM
"VPS defeats the entire point of all servers"
 
I understand Cloudflare for static sites, but anything with a login form…
 
"VPN defeats the entire point of the entire internet"
nobody is 100% trustworthy, that's just how the world works
well yes anything with a login, you probably want to go through a bit more effort, use letsencrypt directly rather than via cloudflare
still multiple things you're relying on, as mentioned above. vps host, isp, heck, maybe even nameservers, and of course any third party you allow on your website
 
@ASCII-only All of which have systems in place to reduce the impact of malicious actors, except the VPS host.
But you're probably paying for that, so the legal system's doing that job.
 
i guess not, ianal either
 
Contracts usually require something of value to be given by all parties – can't remember the legal jargon for it.
If you provide a voluntary service, often you don't have binding obligations with regard to it.
Now, Cloudflare is trustworthy, so that's probably moot, but that doesn't mean their computers are.
How much of the web has a single point of failure?
 
11:47 AM
well i mean
@wizzwizz4 all?
depends on definition of web i guess?
 
@ASCII-only Which?
 
@wizzwizz4 what if you pay for cloudflare. as all their enterprise customers ofc
@wizzwizz4 ?
 
@ASCII-only What's the single point of failure?
 
nameservers if those count
 
@ASCII-only Then I'm much more comfortable that you have legal protection, but you still have all the other issues that come with that.
 
11:50 AM
same issue with anything that you outsource, yes?
 
@ASCII-only DNS is supposed to be federated – but yes, the root nameservers could be considered a single point of failure.
Of course, OpenNIC exists…
@ASCII-only Yes and no. Most things you outsource don't get a cryptographic certificate letting them impersonate you for months after you stop using their stuff.
In theory, if Cloudflare went evil (or, more realistically, got breached), they could do a lot of damage.
Because there's only one Cloudflare.
 
@wizzwizz4 similarly, most things you outsource don't control literally all your servers
who knows if they are obligated to have measures in place to prevent themselves from being able to access any data on the servers
 
@ASCII-only Unless you run your own servers, that's unavoidable.
And you can encrypt the secret stuff and only decrypt it on your personal box if you like.
With Cloudflare, everything goes through Cloudflare (unless you do JavaScript-based client-side encryption on top of TLS, which will make the users of your website unhappy… and which Cloudflare could theoretically disable anyway, if they went evil).
Plus, with a VPS, nobody's going to get control of all VPSs by breaching a single VPS provider.
But you only need to breach one Cloudflare.
 
@wizzwizz4 why would anyone need to control all of them
you only need to breach one to take control over a significant fraction of the internet
and of course, not everyone uses cloudflare in the first place
 
40% of the web, iirc..
Never mind; only 15.4%.
 
12:27 PM
Well, I‘ve just had to start a 5-day quarantine, so I guess I‘m going to be doing a lot of code-golf :P
 
 
1 hour later…
1:37 PM
Happy new year i guess even though im late by like 5 hours
 
or 23
 
2:11 PM
or 9
 
2:42 PM
Would someone mind VTCing this as a duplicate of this? Unfortunately, I cast a VTC as unclear before I realised it was a dupe
 
I don't think they're duplicates: the older question allows inputs like [1,1,2,2,5].
 
@thedefault. The fact that you can port almost any answer from the newer to the older suggests they're duplicates
The newer one allows you to do it in non-O(n) space, but given that most answers on the old one are completely unaffected by that means that the older one is basically a "superset" of the newer one, but is a much poorer question
 
I briefly thought the older question was supposed to be answered with the xor of all elements, but then I realized "What if each ball is repeated exactly twice?" is just a question inside the question, but then I realized that the question is not about numbers, but then I realized it didn't mention strings until you edited it.
 
2:58 PM
@thedefault. Yeah, I edited it to use strings since that's what all the answers were using, but I guess any "container" elements would work. The second question was the reason I VTCed as unclear/too broad in the first place, but even after my edits, I realised that it was too unclear to be fixed by me, rather than the OP
 
ngn
3:17 PM
@thedefault. may i ask: how do you count the distinct strings for this challenge? .. | sort | uniq | wc -l?
 
I used ... | LC_ALL=C sort -u | wc -l.
 
ngn
@thedefault. ah, that looks better. thanks. it was too slow when i tried my naive pipeline
 
 
1 hour later…
4:34 PM
@Lyxal Done :P
 
5:18 PM
0
Q: Language of the month for January 2021: Scala

userIn accordance with our meta agreement, since one candidate received more votes than the others, we have a new featured language! Throughout January 2021, our Language of the Month will be: Scala What's a Language of the Month? See the meta post for nominations. In short, during January, those w...

 
5:57 PM
Hello all
 
Very glad there are some answers to my challenge but we need rust/Julia/nim/java answers
Also I think the correcpython answer can easily be beaten
 
@fomin It's hard!
 
@wizzwizz4 tell me more. Which part is the hardest?
 
@fomin Bootstrapping main.
glibc is so slow!
 
I meant the current python answer
 
6:03 PM
Oh, that. I think I could probably beat that.
 
@wizzwizz4 can you tell me more? What are you doing that is slow with glibc?
@wizzwizz4 that would be cool too
 
ngn
@fomin even an empty main() is slow with glibc
 
How slow?
 
ngn
entire milliseconds :)
 
:) if it's less than 10 ms then I am not sure we need to panic
 
6:06 PM
How are you meant to beat the C answer otherwise?
 
ngn
why do you have to beat the c answer? ;)
 
Bragging rights. Duh.
 
ngn
btw, i wanted to try an algorithmic solution using automata, but got distracted last night
 
@wizzwizz4 write your answer in another language or make your code more awesome in another way :)
@ngn I am still looking forward to it!
@wizzwizz4 are you interested in any of nim/rust/Julia?
 
@fomin Rust.
 
6:09 PM
That would be a cool language to answer in
The newest c++ solution is readable and has great ideas
 
ngn
@fomin nfa->dfa is so complicated, it's taking me 10s of lines and i'm out of single-letter variable names
 
Should be able to get it below 1ms apparently
@ngn I make no comment about your coding style :)
I had no idea about python -S !
 
ngn
@fomin my coding style makes no comments either :D
 
:-D
I can only assume you work for a secret service
 
ngn
@fomin shhh! don't tell anybody
 
6:24 PM
1
Q: Pascal's Triangle + Fibonacci Sequence

userWhat do you get when you cross Pascal's Triangle and the Fibonacci sequence? Well, that's what you have to find out! Task Create a triangle that looks like this: 1 1 1 2 2 2 3 5 5 3 5 10 14 10 5 8 20 32 32 20 8 Basically, instead of each cell bein...

 
 
2 hours later…
8:05 PM
Okay I'm just going to buy some lighter fluid and burn my server, I think it's haunted
http://redwolfprograms.com, http://www.redwolfprograms.com, and https://www.redwolfprograms.com all go to the right website, but https://redwolfprograms.com sends me to my other website
 
@RedwolfPrograms If you're already going to commit arson, why bother going through the hassle of buying lighter fluid?
 
It looks like where I live it wouldn't be arson if I did it safely
Fixed it, somehow.
I have no idea why it works now, but I'll figure it out when something breaks later on
 
ohh shit... I've been hearing this random plucking noise in my headphones all day and driving myself insane trying to fix my Windows notification sounds... it was SE chat
 
or Lyxal's fridge
4
 
Ugh SE chat hates me, I swear to Cthulhu
> I have no idea why it works now, but I'll figure it out when something breaks later on
- Every programmer, seconds before finding a major bug
 
8:37 PM
Is it considered bad form to prepare an answer to a challenge that's still in the Sandbox?
 
I think so
 
@pxeger Depends IMO. If you're not the OP of the challenge, then yes. Otherwise, it's a good idea
If you've already done so, then just wait for a few answers to be posted first when the challenge is mained
 
Ok, well could @Dingus hurry up and post this I've got a really good answer!!
 
@pxeger Let me just open up Mathematica... oh look NearestHalleysComet is a builtin, how convenient :P
4
 
8:56 PM
Right, I'm thinking about posting this tomorrow. So far, all other suggested scoring criteria have had major flaws, but I'm open to hearing any and all improvements and criticism up until an unknown point tomorrow
 
9:37 PM
@RedwolfPrograms yeah that definitely ain't the computer. Perhaps I should offer some milk as consolation.
 
10:26 PM
@pxeger I've done that before... but then again, I've got enough rep to see the deleted sandbox post so that I can fish my answer out of the comment I made on it...
 
10:52 PM
0
A: Sandbox for Proposed Challenges

ihavenoideaNovelty of a state If a state is factored (that is, can be represented as list of atoms - for example: a standard Sudoku can be represented as a 9x9 matrix where each atom/cell is a number), the novelty of a state informally represents the level of novelty of its atoms when compared to a list of ...

 

« first day (3625 days earlier)      last day (1220 days later) »