Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
daveliepmann
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
daveliepmann
11mo ago
Isn't this the exact same number of keystrokes? 'Shift-3 p' versus 'Shift-9 p' on my keyboard.
2.
▲
by
daveliepmann
1y ago
It has to do with the fact that air pollution has massively decreased, but cars still kill a lot of people. That's a considered and substantive point, I reckon. I wrote it because in my experience a "balance" between modes
3.
▲
by
daveliepmann
1y ago
Because rail infra scales really well, bus infra scales well, and bike infra scales well -- while car infra scales disastrously.
4.
▲
by
daveliepmann
1y ago
This looks like the other completely normal, idiomatic Clojure programs I've seen which manipulate a StringBuilder. And as Clojurians go I'm far to the succinctness/concision-preferring end of the spectrum. I'm curious t
5.
▲
by
daveliepmann
1y ago
No: a Turkish keyboard has separate i/İ and ı/I keys, and Türkish-writing users with an American/international keyboard use a keyboard layout with modifier keys so that the i/I key can be altered to ı/İ. (I do the l
6.
▲
by
daveliepmann
1y ago
He didn't mean he'd quit out of boredom, he meant he'd quit out of frustration with proglangs that bite you in the ass when writing e.g. concurrent programs
7.
▲
by
daveliepmann
1y ago
He wasn't writing corporate CRUD apps, he was working on systems like radio broadcasting, voting machines, and Datomic, which involve significant concurrency challenges.
8.
▲
by
daveliepmann
1y ago
>I suspect this is the real reason Clojure was created, I bet Rich was just really bored. I notice too that a noticeable number of people pick up Clojure because it's new and shiny. As a longtime Clojurian I find that attitude can b
9.
▲
by
daveliepmann
2y ago
In what context is this terminology standardized?
10.
▲
by
daveliepmann
2y ago
>Exceptional circumstances, or exceptions for short, mean "things aren't working as expected due to programmer error". Interesting. In Javaland this describes assertions, and the term exception is for operating errors, i.e
11.
▲
by
daveliepmann
2y ago
Datomic doesn't scale? Quick, tell the largest bank in South America, they must already be collapsing under the weight of all those transactions!
12.
▲
by
daveliepmann
2y ago
Interop to APL from Clojure is completely wild and masochistic indeed. Hadn't seen this, thanks
13.
▲
by
daveliepmann
2y ago
>should functions return (value, error), or (error, value)? a benefit of using maps with error keys :D semantic rather than positional destructuring. also avoids that needlessly obfuscatory Left and Right terminology for Either monads
14.
▲
by
daveliepmann
2y ago
The "error maps" approach from the article doesn't have Go's compiler enforcement, but shares many attributes including the "being explicit about how to handle an error" aspect you mention.
15.
▲
by
daveliepmann
2y ago
Throwing ex-info is conspicuously missing from your list of examples. >If everything is idiomatic, is anything idiomatic? Welcome to lisp! We like it here.
16.
▲
by
daveliepmann
2y ago
I considered "Idiomatic error handling in Clojure" and decided to err on the side of concision. Tbh the latter interpretation was not one that occurred to me. Curious what you would put in such an article.
17.
▲
by
daveliepmann
2y ago
People's use of spec varies widely. My take is that error maps are for internal work. Contracts are for what passes over some sort of system boundary, so it seems feasible to just...not spec the monadic aspect? Personally I haven'
18.
▲
by
daveliepmann
2y ago
I appreciate the kind words and am glad it helped :)
19.
▲
by
daveliepmann
2y ago
Much appreciated. You might appreciate this follow-up on assertions: https://gist.github.com/daveliepmann/8289f0ee5b00a5f05b50379...
20.
▲
by
daveliepmann
2y ago
:tried is new to me, thanks for the tip! In the context where I've used this the most the entire map was the payload/parameter so it didn't make sense there, but I see where that could be useful. I like having a :type key - f
21.
▲
by
daveliepmann
2y ago
https://github.com/Tensegritics/ClojureDart/
22.
▲
by
daveliepmann
3y ago
It has several. None of them dominate; most people assemble their own from individual libs.
23.
▲
by
daveliepmann
3y ago
>It rudely makes cars stop Why don't you consider it rude to make the people walking stop?
24.
▲
by
daveliepmann
3y ago
Beg buttons are the worst. Traffic engineers who design them into any but the most remote intersections should be ashamed of themselves. One more piece of obscene car culture and dependence.
25.
▲
by
daveliepmann
3y ago
There are areas where you must wear clothes (zB the central saltwater pool), areas where you are forbidden from wearing clothes (saunas), and areas where it's up to you (hot tubs, cold tubs, usw.).
26.
▲
by
daveliepmann
3y ago
>They are not building more autobahn!!! Doch, Alter. The German federal government and at least 3 top parties are completely captured by the auto industry, so we're tearing down neighborhoods to extend urban freeways in Berlin: htt
27.
▲
by
daveliepmann
3y ago
"All of the Clojure collections...are efficient and inherently thread-safe." https://clojure.org/reference/data_structures#Collections "Seqs differ from iterators in that they are persistent and immutabl
28.
▲
by
daveliepmann
3y ago
Researchers like Giulio Mattioli have shown pretty well what should be clear from watching politics: getting people out of their cars requires sticks as well as carrots. >Improvement to public transport is the only win-win policy measure
29.
▲
by
daveliepmann
3y ago
How are they for a grandparents pushing a stroller? Would you say they encourage a vibrant street culture of cafes and shops? The ones I've seen, especially in Berlin and İzmir, are loud and a hassle to cross. That's because walkw
30.
▲
by
daveliepmann
3y ago
Elevated pedestrian walkways are miserable for people walking. You seem pretty deeply carbrained.
More ›