Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
danharaj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
301.
▲
by
danharaj
7y ago
Marie Kondo's main criterion for keeping stuff is whether it makes you happy to have it. "Does this spark joy?" It has nothing to do with the utility of the items in question.
302.
▲
by
danharaj
7y ago
Nothing and Just are constructors. Constructors need not be the same type. The whole point of a sum type is that you can construct it in multiple ways, after all. In this case Nothing is immediately a value of type MaybeInteger. Just on the
303.
▲
by
danharaj
7y ago
Ah I see, so what you're talking about is the syntax for defining a sum type. This confused me too. In Haskell, a definition of a sum type looks something like: data MaybeInteger = Nothing | Just Integer This defines the type MaybeInte
304.
▲
by
danharaj
7y ago
I don't think it's your level of abstraction, I think it's that you are treating as unrelated two sides of the same coin. This sum type / variant / disjoint union / coproduct construction operates both at the
305.
▲
by
danharaj
7y ago
GP is obviously just salty that they don't know about bofa.
306.
▲
by
danharaj
7y ago
Haskell2010's definition is like 20 pages long and that includes the definition of the standard library. This core accounts for 90-99% of the code in project that isn't going out of its way to use fancy features for the lulz.
307.
▲
by
danharaj
7y ago
Sir this is an Arby's.
308.
▲
by
danharaj
7y ago
Postgres is not best in class in many things it does well but it suits the needs most people will actually encounter in the wild while being built on a rock solid foundation. It truly is a fantastic hammer for every nail involving data inte
309.
▲
by
danharaj
7y ago
A trespasser is someone who trespasses. You wouldn't call a trespasser an "illegal walker" if they were taking a stroll through your plot of land.
310.
▲
by
danharaj
7y ago
That's what I get for not reading the whole comment :^)
311.
▲
by
danharaj
7y ago
langsec is directly cited in the article :)
312.
▲
by
danharaj
7y ago
You can always use abstract data types to indicate in the type system that you know something that can't directly be expressed. The point is not that "parsing" and "validating" are distinct concepts, but that they&#
313.
▲
by
danharaj
7y ago
> I can assure you there are those of that not only don't have the white guilt mentally damaged mental disease you claim everyone on the site shares with you, but I completely enjoy the fact that my ancestors were intelligent enough
314.
▲
by
danharaj
7y ago
Do you want to explain?
315.
▲
by
danharaj
7y ago
You seem to be using intersectional as a general pejorative.
316.
▲
by
danharaj
7y ago
> But would the Congolese have had electron microscopes but for Belgian colonialism? Belgian colonialism was particularly vicious and damaging. It is certain that its consequences extend to the present day.
317.
▲
by
danharaj
7y ago
Every empire has created the conditions of its collapse.
318.
▲
by
danharaj
7y ago
Those are purely imaginary exponentials. General complex exponentials also have a real part.
319.
▲
by
danharaj
7y ago
> The Laplace Transform, on the other hand, decomposes a signal into both its exponential factors (decaying or rising) AND its sinusoidal components. I want to clarify something a tiny bit misleading about this. In general complex expone
320.
▲
by
danharaj
7y ago
Thank you for providing a citation.
321.
▲
by
danharaj
7y ago
Agricultural output recovered in both Russia and China after massive famine. In fact, there has not since been a famine in China since the last whereas in the century previous famine was commonplace. Is this the part where you say that thos
322.
▲
by
danharaj
7y ago
No famines were ever caused by western capitalist powers in any of their colonies or vassal states.
323.
▲
by
danharaj
7y ago
I use it professionally.
324.
▲
by
danharaj
7y ago
The blades?
325.
▲
by
danharaj
7y ago
Quick question, what does "ip compatibility" mean between nodes?
326.
▲
by
danharaj
7y ago
Foucault was astute in observing that schools mirror the architecture and processes of prisons.
327.
▲
by
danharaj
7y ago
Unicellular life has stress responses too.
328.
▲
by
danharaj
7y ago
The article has little to do with his book.
329.
▲
by
danharaj
7y ago
On the other hand, we have many primal and ancient behaviors that can be contextualized on evolutionary timescales so that it can be reasonably said that, yea, a lot of our behaviors have common heritage with even plants.
330.
▲
by
danharaj
7y ago
Are you being obtuse on purpose?
More ›