Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
thedufer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
451.
▲
by
thedufer
11y ago
Based on the first Google result [1], average age of first marriage goes up by ~2.5 years for men and ~3.5 years for women with a bachelor's degree over just a high school diploma. 1 http://www.bls.gov/opub/mlr
452.
▲
by
thedufer
11y ago
What does that mean? Where does the extra money go? Under normal definitions, income = spend + save. That's not an equation to be optimized; it's a tautology.
453.
▲
by
thedufer
11y ago
I implemented https://threegoodthings.xyz/ in Haskell (code: https://github.com/thedufer/threegoodhaskells ). It took longer (although be less than I expected) than my first implementation, and the typ
454.
▲
by
thedufer
11y ago
> yes, cases where you need very consistent runtime performance A lazy language is probably not the answer to this particular problem.
455.
▲
by
thedufer
11y ago
"six-figure salary" implies a log scale, I would think. So 185k is about a quarter of the way from 100k to 1M. Still potentially "low", I suppose.
456.
▲
by
thedufer
11y ago
Even if Python did tail-recursion optimization, this implementation isn't tail-recursive so it would fail in the same way. This version is: def sum(li, s=0): if len(li) == 0: return s else: return sum
457.
▲
by
thedufer
11y ago
The complexity sounds fairly similar, but my point is that there's a world of difference between server-side complexity (implement once) and client side (implement 3 dozen or so times).
458.
▲
by
thedufer
11y ago
Like I said, Trello re-numbers when things get to close together, so you never see something like that. Obviously there are trade-offs, but very occasional re-numbering vs. a ton more complexity seems like an easy decision. "you'
459.
▲
by
thedufer
11y ago
So, the problem with your approach is that Trello has an open API. This means that they don't control the clients, and also that the API needs to be reasonably easy to understand. "Sort by this attribute" for displaying and
460.
▲
by
thedufer
11y ago
Trello gives each card a `pos` attribute, which is simply a double (64-bit float). When the first card in a list is created, it is given a `pos` of 16384. When a card is added to the end of a list it is given <pos of last card> + 16
461.
▲
by
thedufer
11y ago
Node, Redis, Mongo are all still in use (although Redis pub/sub no longer is). There are a lot more components, though, and some of the front-end libraries listed are no longer true.
462.
▲
by
thedufer
11y ago
Where does that data come from? It's significantly out of date. I guess because the tech stack blog post is so old?
463.
▲
by
thedufer
11y ago
My solution for point 2 is to refresh the page (assuming you're in the web version) before closing the notifications pane. It doesn't actually clear them until you close it, so this hackily works around the issue.
464.
▲
by
thedufer
11y ago
FWIW, the SAT is a terrible example of a gameable test. Test prep is consistently shown to affect scores by a mere 20-40 points.
465.
▲
by
thedufer
11y ago
Can you explain what you mean here? I'm fairly certain it isn't true.
466.
▲
by
thedufer
11y ago
Is that necessary? They report a checksum for every file when you request an inventory.
467.
▲
by
thedufer
11y ago
Did you read that link? It says you must report entering/leaving the country with more than $10k. Sounds like that's what's being described.
468.
▲
by
thedufer
11y ago
Given that the article in question is about growth in vc in nyc in the last year, it seems perhaps relevant to use recent data: http://www.citylab.com/tech/2015/07/the-worlds-leading-start... It looks like ny
469.
▲
by
thedufer
11y ago
> using the user agent string instead of feature detection has always been terrible engineering Is there a better solution for server-side feature detection?
470.
▲
by
thedufer
11y ago
> React's perverted DSL and crazy toolchain JSX is very much optional, despite what the docs imply. I've had good luck with converting a DSL that I was using to spit out HTML to React components that made the transition fairly
471.
▲
by
thedufer
11y ago
In this context, it stands for MetaLanguage, which is a language family (and was at one point a language itself, I believe). The family includes Ocaml (see the ml there?) and Haskell, among many others.
472.
▲
by
thedufer
11y ago
It is a duplicate, but not of a sibling comment. There's another top-level comment with the same text (an...aunt comment, perhaps).
473.
▲
by
thedufer
11y ago
This doesn't really affect your point, but gas station attendants aren't completely gone - in New Jersey, it's illegal for a motorist to pump their own gas. The purpose, of course, is to keep those minimum-wage jobs around.
474.
▲
by
thedufer
11y ago
Close, but not quite. As others have pointed out, that's not new information either. The information given is the knowledge that everyone knows that everyone knows...that at least one person has blue eyes, to infinite depth. The key is
475.
▲
by
thedufer
11y ago
Sorry, I was unclear. As a sibling pointed out, the question at hand is private employee stock option grants, which act as a lottery ticket because they are usually worth nothing but sometimes worth a very large amount if the company goes
476.
▲
by
thedufer
11y ago
> If a couple buys "trip insurance", it's more about managing risk and uncertainty so they can sleep at night if their cruise ship is cancelled rather than smoothing over price volatility. To rephrase, they're definit
477.
▲
by
thedufer
11y ago
The point of insurance is to decrease volatility. Stock options do the opposite of this. I don't understand how this comparison makes any sense.
478.
▲
by
thedufer
11y ago
For young people in industries that pay CoL increases in cities (most of the hn crowd, I expect), high cost of living is a plus. Typically your entire salary scales with cost of living, so you can save more in expensive cities and then move
479.
▲
by
thedufer
11y ago
> Would you say that the market for software developers after the first dotcom implosion was merely saturated Yes, I sure would. > all the out of work devs had chosen careers poorly, joining a saturated market? I would, although obvio
480.
▲
by
thedufer
11y ago
The auto industry in Michigan didn't stumble. It crashed, hard. You can't compare that to a company selling for half a billion dollars and expect to be taken seriously.
More ›