Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ezrast
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
181.
▲
by
ezrast
9y ago
If we were completely asocial, independent creatures, then perhaps. But humans - and therefore their genes - have always lived and died in groups, and even a primitive tribe may stand to benefit from having a small amount of individuals unb
182.
▲
by
ezrast
9y ago
I can easily see a world where history repeats itself here. VMs get thinner, hypervisors get fatter to make up the difference, all the other layers of abstraction get squished out of the system, and what we're left with is just another
183.
▲
by
ezrast
9y ago
I don't think this is true at all. Human social behavior is incredibly sensitive to perceived norms and paths of least resistance; this can be observed all the time in online games where minor changes to UI or reward structures have dr
184.
▲
by
ezrast
10y ago
Bachelor's in math myself, although my math interests and my programming interests have admittedly (and regrettably) not intersected very much in my career. I do tend to think about problems more "imperatively" in my head and
185.
▲
by
ezrast
10y ago
1: When I hit the opening bracket, I don't know whether I'm looking at an array literal or a comprehension. I have to read ahead a few tokens to disambiguate. 2: When I hit `transform(bar)`, I don't know what `bar` is either.
186.
▲
by
ezrast
10y ago
I can't think of a language that belongs less in that dichotomy than Python. Programmers used to gush over it like crazy; they only stopped because it became ubiquitous enough that there was no point. Javascript, PHP, and C get an or
187.
▲
by
ezrast
10y ago
As a fellow member of the hates-Python-but-not-enough-to-quit-my-job-over-it club, comprehensions are just the worst. Uses variables before defining them, can't be readably broken over multiple lines, overloads multiple pieces of synta
188.
▲
by
ezrast
10y ago
In case your question wasn't rhetorical, I believe MessagePack is the leading schema-less binary serialization format (which does not contradict your point as it is still less ubiquitous than JSON).
189.
▲
by
ezrast
10y ago
As a Ruby fan who is baffled by Python's continued popularity, I like this comment - I'm always interested to hear why people have such different experiences than me trying to move from the former to the latter. That said, unless
190.
▲
by
ezrast
10y ago
It's only one iteration if you throw a .lazy in there: products.lazy.select { |product| product.type == 'x' }.map(&:price).reduce(:+)