Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dancek
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
dancek
7y ago
Isn't USB-C designed to wear out the cable (or dongle) and not the port? So if you used a Yubikey to log in and out ten times a day, you might need to replace it every three years. Of course you'll make the same amount of connecti
62.
▲
by
dancek
7y ago
Thanks for the tip and for telling me about function trains. Also great work on Dyalog, which I had a personal license to back when I experimented a couple of years ago. I can't recall what my problem with GNU APL was but I quickly fou
63.
▲
by
dancek
7y ago
I'd love to have a language that combines the notation of APL with the ergonomics of J (ie. hooks and forks enabling functional-ish programming, a de facto open source implementation and a working Android "IDE").
64.
▲
by
dancek
7y ago
Really? I use IntelliJ on an external 4k display every day at work with a 2016 MBP. I seem to recall having some issues in early 2017 (when I started at $company), but nowadays it works fine. EDIT: I'm quite sure I have scaled resoluti
65.
▲
by
dancek
7y ago
Or you can set up a relay in weechat and connect with glowing-bear (html5) or android-weechat. Works great. The glowing-bear community have good tutorials iirc.
66.
▲
by
dancek
7y ago
Learn an aphorism by heart and think of situations it applies to. Pick something important that you believe in. Then, over time, you'll remember the aphorism in various situations and slowly adopt it as a life value. Examples: - Gettin
67.
▲
by
dancek
7y ago
An interesting point. I think it would be better to merge ASTs rather than text files that represent code. The annoying issues with merges are all about the text representation. When there's actually different logic changes in two diff
68.
▲
by
dancek
7y ago
That's an interesting idea. Many instruments have greatly varying timbres, though. Combining the timbres back to instruments would require another level of processing.
69.
▲
by
dancek
7y ago
Blog post about shhgit: https://darkport.co.uk/blog/ahh-shhgit!/
70.
▲
by
dancek
7y ago
But clearing snow takes time and equipment and main routes have the priority. For example my commute of about 20km has about 10km that gets cleared early in the morning if humanly possible; maybe 9km that usually gets cleared during the eve
71.
▲
by
dancek
7y ago
And when there's a lot of snow, a bicycle is "wrong gear". (N.b. I ride in the snow for hundreds of kilometers every winter. I know you can take a fatbike to powder snow but that's just too strenuous for most people.)
72.
▲
by
dancek
7y ago
Nit: flowing water does go below 0°C without freezing, as does water with impurities (sea water).
73.
▲
by
dancek
7y ago
Not out of the box, probably because java.util.function.Function seems like an afterthought in a strictly object-oriented language while Clojure has first class functions. In practice you don't interop with Java very much, let alone fu
74.
▲
by
dancek
7y ago
Raitit (rye-tit) is a Finnish word too: the plural of "a lone village road splitting the village in half". Would make a nice library name. Wonder if Metosin takes requests...
75.
▲
by
dancek
7y ago
We don't have instrumentation in production, ie. we spec much more at dev time. But for things you'd validate anyway spec is a good match and probably about as performant as hand-written validation. The only strange use of spec I
76.
▲
by
dancek
7y ago
What parts of compatibility are missing? The interop works just fine, as with all other Java. ; example: Stream.of(1,1,2,3,5).map(x -> 2*x).collect(Collectors.toList()) user=> (.. (java.util.stream.Stream/of (to-array [1 1
77.
▲
by
dancek
7y ago
That is true for guest languages designed to overcome specific issues in a given language (think CoffeeScript vs. JavaScript in 2012 and then in 2019). But I don't think it really applies to Java vs. Clojure, which both pretty much for
78.
▲
by
dancek
7y ago
Spec is great for validation. For example, we have a HTTP API built using https://github.com/metosin/reitit where we have specs for each endpoint. We have a coercion middleware that checks each request (and optionally
79.
▲
by
dancek
7y ago
A matter of taste, probably. I love every other game by Zachtronics except Opus Magnum. With TIS-100 the clear favorite. Somehow the highly geometrical puzzles don't give me a feeling of achievement. They're not very interesting b
80.
▲
by
dancek
7y ago
They're very different. SHENZHEN I/O is mostly about microcontroller programming. KOHCTPYKTOP has you building semiconductors by drawing lines. Of course the latter influenced the former, but the gameplay is just completely differ
81.
▲
by
dancek
7y ago
Just a thought: making cars comfortable and safe for the drivers also makes them weigh A LOT. Which makes for huge emissions. If we were to consider ecology, taking a 70kg individual somewhere shouldn't be by a 2000kg vehicle. As a ped
82.
▲
by
dancek
7y ago
What do you mean by penalising? If a road has a 40km/h speed limit, and then road features designed for 40km/h are added, what's the penalty? The point is to require the driver to focus, which a good driver does anyway.
83.
▲
by
dancek
7y ago
Sounds to me like you have a biased sample. In my surroundings many of the experienced people prefer simplicity and avoid premature optimization.
84.
▲
by
dancek
7y ago
Agreed. Modeling your own keyboard chassis is possible, and there's plenty of open source models to start from. If you have access to a 3d printer you get down to normal mechanical keyboard price range. My own attempt is at https:
85.
▲
by
dancek
7y ago
"I have so much to do that I shall spend the first three hours in prayer." -Martin Luther
86.
▲
by
dancek
7y ago
I can see where you're coming from. My native language (Finnish) also uses letters with diareses, mostly ä and ö but also å. But I did make sure my kids' names are easy to spell and pronounce in English. A name like Ääliö would be
87.
▲
by
dancek
7y ago
It's Åkesson, actually. Quite cool to have your initial mostly unused as a one-letter abbreviation/name. Except for ångström (Å), of course.
88.
▲
by
dancek
7y ago
Extreme ownership probably refers to the book Extreme Ownership: How U.S. Navy SEALs Lead and Win .
89.
▲
by
dancek
7y ago
All processes running on your computer can read the clipboard at any time. Many have plugin systems that expose clipboard contents to plugins. Normally when you use a password manager you have to trust the password manager, the browser and
90.
▲
by
dancek
7y ago
I don't have that many and the ones I use tend to enforce password type (say, a 4-number PIN as part of MFA). But yes, I do remember a bunch of important unique passwords, and I do have to reset them occasionally by physically visiting
More ›