Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mgold
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
mgold
10y ago
Apparently a human-readable homoiconic language is still an unsolved problem... In 0.17, commands and subscriptions mean that, not matter how deep you nest components, you can still send and receive messages to/from the outside world (
2.
▲
by
mgold
10y ago
I thought it was a bug in the specification? (Older joke.)
3.
▲
by
mgold
11y ago
I thought that you might be one of my college profs, but then realized that he would never apologize for a long post.
4.
▲
by
mgold
11y ago
Yup, and I have a sneaking suspicion "Elm" is "Evan's ML", except EML sounded bad.
5.
▲
by
mgold
11y ago
Most of these comments boil down to, "the food's awful and the portions are too small!". Someone wants better JS interop because Elm will be a small part of their stack; someone wants server-side and isomorphic apps because E
6.
▲
by
mgold
11y ago
He actually has a pretty epic response to this. The essay he links to is the only non-asshole critique of feminism I know of. https://twitter.com/oldskirt/status/649200497291853824
7.
▲
by
mgold
11y ago
Morse code, alpha bravo charlie, ASCII... there's actually a long history of doing this. Maybe not one meant for easy of memorization and drawing though. Even Mark Whatney had to be taught Morse code on Mars. (Yes the phonetic alphabet
8.
▲
by
mgold
11y ago
I'll opine: git's sense of semantics seems to rival JavaScript's ("sure I'll add an int and a string"). I checkout branches but also checkout files to undo unstaged changes, but staged changes are a reset. How
9.
▲
by
mgold
11y ago
Probably not in the next few years. However, this sort of thing is in the back of people's minds. There was a question of dropping the Int type a while back, and the objections (besides semantics, e.g. indices are always ints) included
10.
▲
by
mgold
11y ago
If you mean parsing by machine, the solution is to have a separate machine-readable output (JSON perhaps). If you mean comprehension, that's a valid point that is being discussed elsewhere on the page.
11.
▲
by
mgold
11y ago
I have tried to talk Evan (Elm's creator) out of the first person, but as you can see he likes it. But I think you bring up an important point: for some people, being able to use the social parts of our brain is like offloading to the
12.
▲
by
mgold
11y ago
It wasn't immediately clear to me, but this library tracks both the state (e.g. "state1") and a payload, some arbitrary value. This already seems like two separate concerns? As for transitions, it seems that each state has a
13.
▲
by
mgold
11y ago
To quote Alan Cooper, you don't want to be first to market, you want to be best to market. Build something great and let your opponent make the painful first inroads.
14.
▲
by
mgold
11y ago
What happens when you introduce a bug that isn't discovered for 6 months? What happens if you think of a better way to do something? What happens if you're working on something and the power goes out, leaving you with partially-co
15.
▲
by
mgold
11y ago
Some of the arguments may seem plausible in theory, but as soon as I contemplate doing my 9-to-5 dev work without source control (specifically git)-- yeah, no, not happening.
16.
▲
by
mgold
11y ago
It saves snapshots of you git history. So we have version control... for our version control? Slick.
17.
▲
by
mgold
11y ago
It sure would be nice to have `--dry-run --verbose` to see exactly what it's going to do.
18.
▲
by
mgold
11y ago
If someone thinks selectAll is inconsistent, they probably don't understand the central enter/update/exit pattern [1]. D3 is a powerful _drawing_ library and I've used it for totally custom visualizations where no canned
19.
▲
by
mgold
11y ago
D3 has nested selections that let you handle cases like this. The data for a single element can be an array, and if that element is a div (HTML) or g (SVG) you can do another join and bind those data to its children. More info: http:/