aarongolliver

Joined 13 years ago

Karma
406
Submissions
200
Member since
Jan 24
software @ tableau, june 2016 -> present
View on Hacker News

Recent submissions

Comment · 5 years ago
I have found this comment on liburing[0] which clarifies some things for me. So is it because something like getaddrinfo is not just a simple operation, but a hodgepodge of stuff like "first try nscd, then read resolv.conf, then make a bunch of requests using one of many different protocols"?

I think I have a lot more to learn about DNS...

[0] https://github.com/axboe/liburing/issues/26#issuecomment-738...

> [re: implementing getaddrinfo] It's not planned because it's not a single operation but a complex beast reading files, exchanging messages, etc. IMHO, as it's not a single operation it fundamentally doesn't fit liburing, but implementing under some framework on-top would be more viable.

Comment · 5 years ago
There is a difference between blocking and non-blocking, which is what I am asking about. Language runtimes apparently cannot provide non-blocking DNS (as evidenced by this article, and the other one I linked which was on HN a week or so ago).

DNS seems like it perfectly fits the model of "give me a buffer (to hold the resolved IP), and I will wake you up when it's filled". Maybe io_uring (/ IOCP?) already can support this, and these articles are just mistaken about the current (or soon-to-be) state-of-the-art? Or is there some fundamental reason about DNS that make writing a non-blocking resolver very very difficult?

It's just very odd to me that userspace apps are creating their own blocking thread pools just to run DNS stuff, when they can do seemingly everything else with just a single thread if they wanted to.

(edited a few times, sorry if I caught someone who was mid-reply)

Comment · 5 years ago
Comment · 5 years ago
I don't think Pajama Sam requires reading, I definitely played it before I could read at least, and probably around the same age as when I was playing putt putt.
Comment · 5 years ago
soda stream is a lot cheaper than buying bottled sparkling water, and you can make a very good analog to your favorite mineral water / soda / energy drink for even cheaper if you buy the right additives online. They did do a good job of making their luxury version waste most of the CO2 tank because it's impossible to make a good airtight seal.

you can homebrew your own though, and use a much larger/cheaper CO2 source than what they sell at grocery stores, which I'll probably be doing soon.

Comment · 5 years ago
much worse than regular win 10 insider builds, not much worse than the other previews for unreleased windows versions. Except for a few bugs in the settings menu which I've figured out ways to work around (couldn't switch easily between stereo and 5.1) I pretty much don't notices the differences between 10 and 11
Comment · 5 years ago
You're right! And now I qualify for the win 11 beta. Looks like I got confused between two different security setting pages in the UEFI menu, and had just enabled "the ability for it to use a TPM plugged in to the header" instead of enabling PPT like I thought I was doing.
Comment · 5 years ago
You probably only have the header on your motherboard, without a tpm module actually plugged in. Mine was like this, and the specs for your motherboard suggest this is also the case for you. You can buy them on online pretty cheap (I got one for $20)
Comment · 5 years ago
Comment · 5 years ago
Comment · 5 years ago
This is (was?) a big problem with google photos. If you upload a video and immediately share it with someone they'll just see a black screen. A few minutes later they might be able to watch a super-low res encoded version, and only much later does a HD version become available. I started waiting 10 minutes between generating a "share" link before sending it to my family because of all the confusion it was causing.
Comment · 5 years ago
Finally a status page that updates the moment an issue starts
Comment · 5 years ago
(USA, pre-pandemic) I've seen "mandatory" hand sanitizer use exactly once, at a camp which had some nasty norovirus outbreaks (which was misery, especially I'm sure for people who had to fight over shared bathrooms).

Now I see it at the entrance of most businesses / by checkout registers.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton