HNHacker News
TopNewBestAskShowJobs

sphix

11 karma · joined January 3, 2017

submissionscomments
sphix··on Extreme Commuting
Any reason to suspect it'll affect it more than Uber pool and Lyft line already have?
sphix··on Enough with the microservices
Typically you solve that through a rewrite, followed by migration and depreciation. Since the microservice is small, you can ideally accomplish the rewrite in under a week.
sphix··on QEMU: virtfs permits guest to access entire host filesystem
The Google version is supposedly coupled heavily to their infrastructure and therefore would give little benefit to opensource without also open sourcing a large portion of their infrastructure.
sphix··on RegExr: Learn, Build, and Test RegEx
Sometimes I wonder if these online tools mine data on text blobs and regex we pass in. I can only imagine how potential IP could be leaked if the data was correlated to a company that the user is using the tool from. Has anyone done analysis to see whether to tools send data back to the servers? In theory the entire app should be client side only.
sphix··on Google reveals its servers all contain custom security silicon
The article specifies two independent verifications.
sphix··on Select(2) is fundamentally broken
The problem with IOCP is that it is more memory intensive as all memory for outstanding operations must be pre-allocated. With the readiness model, you can use pools of memory instead for dramatically less overall memory usage. There is a hack to use 1B reads with IOCP to get around this, but it doesn't feel very clean.
sphix··on Select(2) is fundamentally broken
kqueue allows for batch updates on fds that are being polled for readiness. In addition, it has less hacky support for non-socket files such as timers, events, signals, and disk IO. Setup for all of these on epoll requires extra unique syscalls. I'm not sure I've even ever seen someone use epoll for disk IO (via AIO). Overalls, kqueue just seems like a more cohesive, unified async solution.