Recent submissions

Comment · 1 year ago
Comment · 5 years ago
Correct.
Comment · 5 years ago
Thanks for the answer.
Comment · 5 years ago
I think I understand what const generics are. But I fail to see a use case for it, other than using them in array literals and abstractions over arrays.

Can you share you your use case?

Comment · 5 years ago
> hijacks the browser's back button

That really should be illegal. It's so annoying when pages do this.

Comment · 6 years ago
> Unfortunately this has a serious downside: asyncio locks are associated with the loop where they were created. Since the lock variable is global, maybe_initialize() can only be called from the same loop that loaded the module. asyncio.run() creates a new loop so it’s incompatible.

I work on several async projects, but I never had to use multiple event loops. What are use cases for using multiple event loops?

Comment · 6 years ago
Comment · 7 years ago
Comment · 7 years ago
> DO NOT. Ever. Buy. A smart lock. You’re better off with the “dumb” ones with keys.

Well, physical locks are not necessary harder to pick lock than electronic locks. Buy your self a pick lock set, practice a bit and be amazed how many locks you can pick.

Comment · 8 years ago
Very interesting write up! But how likely is it to have control over the DNS-server someone uses? You either need to setup a malicious one and let the victim use your server. Or you've to hack the DNS-server the victim already is using.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton