qaisjp
qaisjp on Hacker News
Types don't make testing in general unnecessary, but it removes a class of error handling that runtime type checking handles for you. You can really trust the types when using Sorbet.
(I also work in a 40m+ loc non-rails ruby codebase that is almost entirely typed with Sorbet.)
The "closed duplicate" thing is blown away out of proportion than it actually is. I'm convinced people are just pooping on Stack Overflow, not because it's bad, but because they just like complaining about things.
out of curiosity, why are you trying to validate emails?
I really enjoyed this read, thanks.
In the footnotes you said:
> One complication is that the counters have an "anti-tearing" feature for additional security
Two questions:
1. Why is it a "complication"? Is it just that it makes the counters more complicated, or is there something frustrating about the counters?
2. I would love to learn more about how the anti-tearing feature works!
> Anyone wanna know what the optimal magic number is?
Sure.
The post mentions BYOIP. I assume Cloudflare wanted OP on BYOIP to mitigate risk, and Cloudflare wanted them to pay for the privilege.
And Spectrum has interruptions all the time.
I miss gov.uk sites so much
I don't think spammers care if trimming the plus-alias doesn't work for some email providers.
Gmail is also pretty popular, so it's not much work to just hardcode it there.
This link is incredible, thank you!
Knowing that a guy wrote this ruined the post for me.
25 and struggling with this.
I was feeling motivated last night at 1am, and it took every inch of my body to NOT whip out VS Code.
Still couldn't sleep until 4am. Woke up today at 1pm.
--
I used to think that growing up would mean that I could go to sleep whenever I wanted, and do what I want.
Turns out that growing up means you learn that you shouldn't do those things.
But why? My mornings are usually clear of meetings, and I could just work PST hours from the east coast, and it would be fine.
Turned out that working every evening is not good for your social life, and having a social life is something I try to prioritise more than hacking all day all night.
Interesting opinion. Why?
That's what my university did.
First semester was Haskell and Logic (truth tables, state machines), and some other stuff
Second semester was Java, and some other stuff
Uno reverse card right there.
Yeah, that seems like a very normal interaction.
This is so wise. I'm gonna ask my teammates next week about what it is in their job that they give a shit about.
I haven't played much with it recently but I was under the impression that ChatGPT was not great at mathematical computations.
that's to say, 1+1=2 is a well known fact, so it'd get that right, but ask it to md5sum a string that is not in any existing rainbow table, and it'd get it wrong.
I've not used GPT 4 so it might have gotten better.
When I retire I want to go work for the GDS
The only reason I maintain an Instagram is to have images to show on dating apps, and the only reason I use Twitter is to stay up to date with the tech community (and scream into the void).
Didn't most things do that back in the day? LinkedIn (owned by Microsoft!) supporting drug spam sounds ludicrous.
Agreed. We got two this year. Never received a spam PR before.
> The thing is that he originally served it from its domain so people use both interchangeably.
And it still is, right? Or is there also a Compiler Explorer domain?
It is a simple page in large black text saying "You spelled it wrong.".
Indeed. We always knew that Keybase would have to find a source of income someway, get bought, or shut down.
Slack has always been fine for me... but my laptop has also become slow.... so maybe it's nicking all the power ;)
This app looks neat. Why doesn't Google Meet and Coda.io work in Safari for you?
This is actually crazy. So I'm guessing this suggests playlists based on "similar people" in the most literal sense?
Nice, I heard about this a while ago but it's nice to see an actual press release about it.