Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cfallin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
241.
▲
by
cfallin
11y ago
At least people who think like that are supporting public transit! It's far better than the (sadly) more common thought-pattern of "I don't use it, so I won't vote to fund it".
242.
▲
by
cfallin
11y ago
> E.g. POSIX C headers are protectable. But Lisp FFI declarations that compile down to the same ABI do not infringe This distinction does have a certain clarity to it, but isn't there a certain sense in which there's "only
243.
▲
by
cfallin
11y ago
An Ethernet segment per road, interesting -- gives a whole new meaning to the phrase "collision domain"!
244.
▲
by
cfallin
11y ago
Protobufs has unions now too (they're called "oneofs"), as of version 2.6.0 released last year: https://github.com/google/protobuf/releases/tag/v2.6.0
245.
▲
by
cfallin
11y ago
The idea that Mutex<T> owns T and provides access to T only when locked is a really nice design, but... Does it solve the case here? The two locks ordered by the address check are otherwise unordered, i.e., one is not inherently owned
246.
▲
by
cfallin
11y ago
> Does anyone know any other documentaries about this topic? It's a fascinating event to study. "The Day After Trinity" (1981) is a really, really good documentary on the Manhattan Project. I like that it goes in depth abo
247.
▲
by
cfallin
11y ago
You can see git's DAG as a dedup'd Merkle tree: in other words, if two child pointers in two places in the tree point to nodes (blobs) with the same hash, make them share a single node instead. This works because the hash "is
248.
▲
by
cfallin
12y ago
> Immutability is nothing like explicit version control. So far as I know no language has anything close to explicit version control for state. Well, it depends on which version control system we're imagining. In my mind, the immuta
249.
▲
by
cfallin
12y ago
Intel is not exactly lacking in competition these days, either. The ARM/mobile threat is pushing really hard against Atom.
250.
▲
by
cfallin
12y ago
As a slight enhancement on pure text files: Org-mode [1] for Emacs! I really only use the outlining, and sometimes the TODO-item support, but having nice navigation/subtree folding on top of a file that's still plain text is reall
251.
▲
by
cfallin
12y ago
The Strand in NYC, Powell's in Portland, and a number of more local ones at a smaller scale. New/used bookstores definitely aren't dead, they just survive in areas with more bookish populations (the entire city of Portland wo
252.
▲
by
cfallin
12y ago
You're obviously poking fun, but for anyone who hasn't looked into it, roasting beans is surprisingly easy. I use an air popcorn popper ($20 at your favorite supermarket) and buy green (unroasted) beans for ~$6/pound, or ~1&#
253.
▲
by
cfallin
12y ago
The UX302LA is great, especially after swapping the spinning disk for an SSD and maxing out the RAM. I had lots of issues with the graphics when I first bought it (April 2014), though, and had to run with a kernel patch to the 'quirks&
254.
▲
by
cfallin
12y ago
> Left to my own devices, I'd probably spend 100 hours one week programming, then not touch a computer for two or three weeks, reading or building something or doing stuff outdoors instead. Such a level of autonomy would be fanta
255.
▲
by
cfallin
12y ago
If anyone's ever looking for an even quicker hack, ssh has built-in the ability to act as a SOCKS5 proxy, tunneling your traffic over ssh to whatever remote machine you might have access to: $ ssh -D 1080 myserver.myhost.net Then confi
256.
▲
by
cfallin
12y ago
Yes, that's true. For full disclosure, I left a PhD after 4 years to work in industry (I was frustrated by some aspects of academia), having spent three years on an NSF fellowship, so I may be biased here :-) I absolutely didn't g
257.
▲
by
cfallin
12y ago
In addition, it's not like leaving a PhD funded by an NSF GRFP leaves zero net positive impact. Funding research leads to papers (hopefully with valuable insights) and to knowledge and training passed down to other researchers. I don&#
258.
▲
by
cfallin
12y ago
IIRC, Haskell has a well-defined mapping of whitespace to explicit braces and semicolons -- I suppose one could perform that transform first to desugar, then parse the resulting token stream normally...
259.
▲
by
cfallin
12y ago
> Then, of course, run compressed air (or vacuuum?) lines through their house. This is fascinating to me and I respect the dedication to principles that it demonstrates, independent of any logical arguments one could apply. I'm curi
260.
▲
by
cfallin
12y ago
Wikipedia [1] says $123.8 trillion, or ~$391k per capita (for the 2013 population of 316M). That's 7.23 years of GDP. That's actually much higher than I would have thought! [1] http://en.wikipedia.org/wiki/Fi
261.
▲
by
cfallin
12y ago
> It is much more like a loose federation of nearby townships than it is a city I'm finding this same pattern in the Bay Area too (moved to Mountain View last spring). Does this match your experience? I've never explored LA. In
262.
▲
by
cfallin
12y ago
> In academia, if you're any good, you're a threat to other good people This may be the case for career academics (professors), but in my experience, as a PhD student, at least in a day-to-day setting my fellow students were re
263.
▲
by
cfallin
12y ago
> Keep in mind the very term Silicon Valley comes from chip companies (Fairchild, Intel, etc.) who came to SV because it was cheap, open farm land. It's funny you mention Intel here -- since the 70s/80s they've continued t
264.
▲
by
cfallin
12y ago
Thread-level speculation is exploiting ILP. In some contexts it's compiler-assisted but in this context I would imagine it is fully microarchitectural (i.e., in hardware/translation firmware, running a single instruction stream
265.
▲
by
cfallin
12y ago
The loader mmap()s the file and it's demand-paged in.
266.
▲
by
cfallin
12y ago
The idea of breaking a single thread into parallel parts automatically at runtime has been thrown around in academia for a while -- anyone interested should search for "dynamic multithreading" and "thread-level speculation&qu
267.
▲
by
cfallin
12y ago
In addition to what ams6110 said about scavenging, the article talks about how the three crankshafts are phase-offset such that the exhaust valve closes before the intake valve does (this is possible because one piston in a given cylinder p
268.
▲
by
cfallin
12y ago
> This is probably a consequence of pipelining in the ALU itself. Yep, the P4 "fast ALU" was double-pumped and did 16-bit chunks of a 32-bit add/sub in adjacent half-cycles [1]. This meant that dependent chains of, e.g., a
269.
▲
by
cfallin
12y ago
Twin engine planes absolutely can cross oceans -- if you need three hours' flying distance in the worst case (ETOPS-180), then you can cross up to six hours of water between any two backup airports. North Atlantic routes have only a fe
270.
▲
by
cfallin
12y ago
Ah! So there's the key point: do your users run your software or do you, on your servers? If the former, yes, it's an externalized cost and may not enter your economic calculations. If the latter, you care a lot :-)
More ›