Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
PhineasRex
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
PhineasRex
8y ago
This is a bad test. The alternative to algorithmically target ads is not totally blind ads, the alternative is direct ad-buying which targets based on context. Buying ads on the NYT Health section is a form of targeting. It's also a mu
62.
▲
by
PhineasRex
8y ago
You can implement cache ttls with an Apollo link. See https://github.com/kamilkisiela/apollo-link-maxage for an example.
63.
▲
by
PhineasRex
9y ago
When I was in school we used cards but you could still tell who was on assistance because they got a different/worse lunch than everybody else.
64.
▲
by
PhineasRex
9y ago
You're assuming both sides have equal opportunity to cheat. Democrats' base is composed largely of minorities who are easier to disenfranchise. Republicans' base is largely middle class white people. Sure, if Democrats could
65.
▲
by
PhineasRex
9y ago
In the USA you have to register in advance for the electoral roll (which is tied to your SSN or DMV number) and show up with photo ID in these states. If voter fraud were occuring people would, as you say, notice that their vote had been
66.
▲
by
PhineasRex
9y ago
> you can't write a simple for loop or do i/o for [1..10] print Trivially refuted.
67.
▲
by
PhineasRex
9y ago
The efficiency gap is just a measure of the actual effect of gerrymandering in an election, it doesn't say anything about how to draw a district for future elections. Compactness tells us nothing about the effects of gerrymandering. Le
68.
▲
by
PhineasRex
9y ago
This is conceptually the same as a Gap Buffer, it just uses a different memory layout.
69.
▲
by
PhineasRex
9y ago
I've heard more than one person argue against automatically generated encoders/decoders since it's easy to accidentally introduce breaking changes to your API by renaming a record field / class method. If that's you
70.
▲
by
PhineasRex
9y ago
This comes up every time somebody complains about Monopoly but even with auctions the game is still far too long and ends well after the winner is apparent.
71.
▲
by
PhineasRex
9y ago
Don't feel too sad about it, he launched Ando which is the same thing but faster and with better food quality.
72.
▲
by
PhineasRex
9y ago
I work at a company with multi-gigabyte tables and ALTER TABLE is still easy to pull off, we just use tools the community has built for larger tables. It's one of the most unfounded fears I've heard in the industry.
73.
▲
by
PhineasRex
10y ago
I live in NYC and likewise have never had to scan my ID. Scanning my ID would seem really odd to me if a landlord ever asked for it.
74.
▲
by
PhineasRex
10y ago
Where I work our core rendering algorithm which runs several times on every page load used naïve string concatenation. When I initially wrote it I knew string concatenation was inefficient but never got back to it and for 99.9% percent of
75.
▲
by
PhineasRex
10y ago
> Silent explicit type conversions are essentially unsafe. This is a contradiction, something cannot be both silent and explicit.
76.
▲
by
PhineasRex
10y ago
Mutual tail call optimization requires VM level support in general but can be accomplished within a compiliation unit (module) via inlining.
77.
▲
by
PhineasRex
10y ago
It looks like tail call optimization only works in simple situations. let rec foo i = if i < 0 then "foo" else bar (i - 1) and bar i = if i < 0 then "bar" else foo (i - 1) function foo(i) { if
78.
▲
by
PhineasRex
11y ago
"gypsy" is an ethnic slur that refers to the Romani people.
79.
▲
by
PhineasRex
11y ago
While you can count very high using this method, it's quite difficult to make some of the numbers. I've found the optimal tradeoff to be base-6; using one hand to keep track of the first position and the other the second position.
80.
▲
by
PhineasRex
11y ago
It helps that Haskell was based on Miranda and the committee deferred to Miranda whenever they could not agree on something. This is opposed to the typical committee solution of adding both ideas or a sub-par compromise.
81.
▲
by
PhineasRex
11y ago
Scala is like C++ where some features are dangerous. We've had significant problems with parts of the standard library and had to resort to banning them and writing our own alternatives.
82.
▲
by
PhineasRex
11y ago
Having the type-system statically verify that your API is correct and that your usage of it is correct, but oof, that syntax is quite hard to read. I wonder if you could use Template Haskell to generate that from an easier-to-read routes fi
83.
▲
by
PhineasRex
11y ago
"While often derided as a toy" Javascript is not a toy; toys are fun.
84.
▲
by
PhineasRex
12y ago
This exists. It is called Datalog.
85.
▲
by
PhineasRex
12y ago
Be warned: Neptune's Pride has the fatal flaw (or killer feature, depending on who you ask) of occurring in real time. Later in the game, as it speeds up, players who log in more often gain a tactical advantage.
86.
▲
by
PhineasRex
12y ago
The best source for the default commands is the dvtm man page.
87.
▲
by
PhineasRex
12y ago
Thanks, I had not seen abduco. I'll have to try it out.
88.
▲
by
PhineasRex
12y ago
For those who find tmux a bit arcane and screen a bit too primitive, I've found dvtm+dtach to be an excellent terminal multiplexer and session manager.
89.
▲
by
PhineasRex
13y ago
I did this as well and was rather disappointed with the reality. I wonder if there are enough open source bikes for a worthwhile comparison.
90.
▲
by
PhineasRex
13y ago
I run Linux on a Macbook Pro (late 2013). It works remarkably well considering this hardware came out a few months ago. The only thing that doesn't work are the Thunderbolt ports (they work for everything except monitors, which crashes
More ›