Better HN
topnewbestaskshowjobs
Log inSign up

qaisjp

23 karma · joined Sep 24, 2018 (8y ago) · 30 submissions

[ my public key: https://keybase.io/qaisjp; my proof: https://keybase.io/qaisjp/sigs/cGIicF1siOScETknfDjesW9uFcEtmDT5tqCpT5UsdbY ]
Submissions

comment 11mo ago · link · parent

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.)

comment 12mo ago · link · parent

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.

comment 1y ago · link · parent

out of curiosity, why are you trying to validate emails?

comment 2y ago · link · parent

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!

comment 2y ago · link · parent

> Anyone wanna know what the optimal magic number is?

Sure.

comment 2y ago · link · parent

The post mentions BYOIP. I assume Cloudflare wanted OP on BYOIP to mitigate risk, and Cloudflare wanted them to pay for the privilege.

comment 2y ago · link · parent

And Spectrum has interruptions all the time.

comment 2y ago · link · parent

I miss gov.uk sites so much

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

This link is incredible, thank you!

comment 2y ago · link · parent

Knowing that a guy wrote this ruined the post for me.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

Interesting opinion. Why?

comment 3y ago · link · parent

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

comment 3y ago · link · parent

Uno reverse card right there.

comment 3y ago · link · parent

Yeah, that seems like a very normal interaction.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

Benevolent dictators

comment 3y ago · link · parent

When I retire I want to go work for the GDS

comment 3y ago · link · parent

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).

comment 4y ago · link · parent

Didn't most things do that back in the day? LinkedIn (owned by Microsoft!) supporting drug spam sounds ludicrous.

comment 6y ago · link · parent

Agreed. We got two this year. Never received a spam PR before.

comment 6y ago · link · parent

> 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?

comment 6y ago · link · parent

It is a simple page in large black text saying "You spelled it wrong.".

comment 6y ago · link · parent

Indeed. We always knew that Keybase would have to find a source of income someway, get bought, or shut down.

comment 8y ago · link · parent

Slack has always been fine for me... but my laptop has also become slow.... so maybe it's nicking all the power ;)

comment 8y ago · link · parent

This app looks neat. Why doesn't Google Meet and Coda.io work in Safari for you?

comment 8y ago · link · parent

This is actually crazy. So I'm guessing this suggests playlists based on "similar people" in the most literal sense?

comment 8y ago · link · parent

Nice, I heard about this a while ago but it's nice to see an actual press release about it.