Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chrisdone
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
chrisdone
10y ago
In Haskell and PureScript, `fmap` is a method in the `Functor` class, which is defined by class Functor f where fmap :: (a -> b) -> f a -> f b for which instances should satisfy `fmap id = id` (and you get `fmap (g .
62.
▲
by
chrisdone
10y ago
I think PureScript should catch on. The runtime performance story is much more predictable than Haskell, it integrates trivially with the most valuable target platform: JS, it has small output, fixes the warts of Haskell and yet is still pu
63.
▲
by
chrisdone
10y ago
I don't really use foldr even in Haskell. It's almost always a performance problem.
64.
▲
by
chrisdone
10y ago
I think it's a much easier pill to swallow than laziness.
65.
▲
by
chrisdone
10y ago
You don't have to study its effect system in detail, there's not much to it. Instead of IO a you have Eff e a, where e is a record of effects, using PureScript's records support. The neat thing is that statements in the Eff m
66.
▲
by
chrisdone
10y ago
Stack requires package sets (aka "snapshots"), which some kind of CI system (Stackage: http://stackage.org/ ) has to do a daily build job to see if they all build and pass tests together. That requires some money t
67.
▲
by
chrisdone
10y ago
I think making sense of the scale of weather would be aided by an accurate world map like the peters projection or something of that nature that doesn't do Eurocentric seafaring things like put Greenland as being the same size as Afric
68.
▲
by
chrisdone
10y ago
I do think that educating other people is important, because we don't live forever.
69.
▲
by
chrisdone
10y ago
I'd agree. I've been trying to think of why I like orgmode and todoist and toggl aren't the same, it's that I can manipulate it freely as text without being blocked by the structure or hitting a use-case unanticipated by
70.
▲
by
chrisdone
10y ago
One thing that will be a factor for a long time is that a piece of paper doesn't require integration to share it with other people, or a battery to be charged etc. It's just a real object representing your ideas.
71.
▲
Fast Haskell: Competing with C at Parsing XML
(chrisdone.com)
4 points
by
chrisdone
10y ago
|
1 comments
72.
▲
by
chrisdone
10y ago
He just means that great philosophers tend to talk about relationships in the abstract and not historical artifacts that become dated. Murder is wrong is not going out of date any time soon, and yet "murder by electric chair is wrong&q
73.
▲
by
chrisdone
10y ago
> So what do you do if you do need to let someone else provide format strings? You can use the somewhat undocumented internals to change the behavior. Well, that's just sloppy and shame on you for exposing programming internals to a
74.
▲
by
chrisdone
10y ago
I've only truly learned about people in other places by traveling. Anything else is mostly caricature.
75.
▲
by
chrisdone
10y ago
> Google believes it should not. It's always funny to see someone write that a company "believes" anything. It's a party line. With a company as big as Google of 10,000 it's downright strange.
76.
▲
by
chrisdone
10y ago
I believe PureScript solves most of these problems.
77.
▲
by
chrisdone
10y ago
I think what you mean by "functional" and what the author means by "functional" are distinct. Are you aware of the distinction?
78.
▲
by
chrisdone
10y ago
Buying tickets with RyanAir is stressful due to these kind of practices. They're less aggressive than in the past, when I wouldn't even continue because I just had zero trust in the company, but they're still sly. A sneaky on
79.
▲
by
chrisdone
10y ago
There are many points to respond to here. 1. Evan (the Elm author) has pledged to support type-classes, it's on the issue tracker, and because he believes that they are useful. 2. "The academics" is a mischaracterization. I u
80.
▲
by
chrisdone
10y ago
The article itself basically says "I break these rules regularly, I'm not perfect either". But I think some people like to point out people's flaws to show off. Orwell's article is sincere.
81.
▲
by
chrisdone
10y ago
Indeed, "melting pot" makes me think of think-tanks or a busy "scene" area, it doesn't make me think of an actual melting pot, the words themselves doesn't conjure up the mental image that they refer to, so the
82.
▲
by
chrisdone
10y ago
The below example is stunning. I feel sick to recognize the second paragraph (especially in academic writing), and I feel strong relief that the first paragraph can exist. > Here is a well-known verse from Ecclesiastes: > I returned a
83.
▲
by
chrisdone
10y ago
If there's no stack.yaml it uses the global ~/.stack/global/stack.yaml. So you should be able to open any random file and it'll work out. E.g. if I open ~/X.hs and import Lucid, I can just run stack build lucid
84.
▲
by
chrisdone
10y ago
This was a trade-off I went with. One thing that I learned from years of hacking on haskell-mode is that adding an option for every little decision adds up to a brittle user-experience. If you want this, enable that. If you want to enable t
85.
▲
by
chrisdone
10y ago
All the sandworms would die.
86.
▲
by
chrisdone
10y ago
Funny thing about Stallman's site is that I can't click "Fiction". Due to the italics change it moves around and disappears from under my cursor. You associate simple sites with usability, but in this case it's just
87.
▲
by
chrisdone
11y ago
Page size is part of user experience, however. If you've ever visited another part of the world where Internet is awful or tried to use 3/4G on a mobile with bad signal, you immediately start to hate web sites that take forever to
88.
▲
by
chrisdone
11y ago
But the point of Zeno's paradox is to show that our model of reality is purely definitional, rather than objective in any absolute sense.
89.
▲
by
chrisdone
11y ago
The bias is understandable, though. People things are good at are the result of practice from birth, whether conscious or not. Basic neuroscience tells us that. The few people I know who I would consider geniuses in the true sense of the wo
90.
▲
by
chrisdone
11y ago
Honestly going blind is a fear for me for everything (never seeing my family or my SO smile again, or the rain, etc.) except programming. It would be hard but things like Emacspeak really make me feel like someone's taking care of the
More ›