Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ataylor284_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
ataylor284_
10y ago
Java has Futures, which are close, and allow similar patterns of code. But they're not woven into the language as pervasively as Promises are into JavaScript. You need to deal with asynchronous-ness explicitly. There's also, in
62.
▲
by
ataylor284_
10y ago
I am skeptical as well, and I agree with you in principle. However I'd be interested if a 3rd party managed to reproduce his benchmarks. He credits using various prefetch hints for the performance gains, which sounds somewhat plausib
63.
▲
by
ataylor284_
10y ago
> The real NtQueryDirectoryFile API takes 11 parameters Curiosity got the best of me here: I had to look this up in the docs to see how a linux syscall that takes 3 parameters could possibly take 11 parameters. Spoiler alert: they are u
64.
▲
by
ataylor284_
10y ago
The point is that there was no effort to use meaningful abstractions and a coherent interface at the API level. The art of building a good product is finding the right level of abstraction for your audience, and I don't think 3rd part
65.
▲
by
ataylor284_
10y ago
This seems to be Microsoft's pattern. Make the APIs super low level and difficult to use, and build tooling on top to make it palatable. If you're doing simple stuff with Visual Studio, no problem, but as soon as you need to go
66.
▲
by
ataylor284_
10y ago
Ah, WebObjects. In a lot of ways, it was the Ruby on Rails of it's day. It was one of the first integrated, opinionated platforms with all the tools to build web sites backed by a database. Architecturally, it was years ahead of the
67.
▲
by
ataylor284_
10y ago
Last time I was in the area, I stayed at the Domain Hotel in Sunnyvale. About a 15 minute drive to Google and nice enough. And for touristy things: the Computer History Museum just down the road from the Google campus is definitely worth
68.
▲
by
ataylor284_
11y ago
Ah, yes. There was also the imake/IMakefile variant too, mostly for X11 related stuff.
69.
▲
by
ataylor284_
11y ago
This reminds me of my Gakken GMC-4. It's a 4-bit computer like this, but a physical piece of hardware. It has 7 LEDs, one 7-segment LED, a 20-key keypad and a tone generator. You have to key in the programs manually on the keypad, b
70.
▲
by
ataylor284_
11y ago
Nice. For those wondering what Reed-Solomon codes are all about: they are extra data that allows certain types of corruption to be detected and fixed. I believe RS codes are used on optical media such as CDs and DVDs which allows perfect p
71.
▲
by
ataylor284_
11y ago
I remember one program that had a string print subroutine that took zero args. It just used the return address from the stack to grab the nul-terminated string immediately following the JSR/CALL instruction. It then patched the retur