Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_randyr
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
_randyr
1y ago
Yes, but that's exactly why I mention this. By explicitly creating a class (that behaves the same as a lambda) the author might get better names in crash reports.
2.
▲
by
_randyr
1y ago
I'm not a C++ programmer, but I was under the impression that closures in c++ were just classes that overload the function call operator `operator()`. So each closure could also be implemented as a named class. Something like: cl
3.
▲
by
_randyr
1y ago
> - when having non trivial ecosystem one cannot selectively deprecate and get errors, this has to be a human process (remember to replace…) Apart from some statically typed languages (and even then), most languages have this. Very rarel
4.
▲
by
_randyr
2y ago
I've also been thinking entirely too much about a good recipe structure. For now I've ended up on ingredients being more or less recipes themselves, and recipes being recursive (as in, recipes use other recipes to create new recip
5.
▲
by
_randyr
2y ago
While the UI is not my favorite, I can see a history of my songs played. On android, click on home, click your avatar (top left). A menu should slide out with "Listening history" in it.
6.
▲
by
_randyr
3y ago
Gleam?
7.
▲
by
_randyr
3y ago
You can skip the last Enum.map/into and just use Map.new: "file.json" |> File.read!() |> Jason.decode!() |> Stream.flat_map(& &1["children"]) |> Map.new(fn child -> {chil
8.
▲
by
_randyr
4y ago
> the 'with' construct allows a list of conditional patterns and then a general 'do' block, whereas the Erlang 'maybe' allows mixed types of expressions that can either be conditional patterns or any normal
9.
▲
by
_randyr
7y ago
There seems to be a slight encoding issue with external URLs. In the dependencies section under "Private Hex Mirrors", there is a link to mini_repo which results in a 404. It seems like the underscore in mini_repo is encoded to %5
10.
▲
by
_randyr
7y ago
If I'm not mistaken qutebrowser also has this feature.
11.
▲
by
_randyr
7y ago
Here's a good short description with further resources for reading: https://github.com/springernature/frontend-playbook/blob/mas...
12.
▲
by
_randyr
8y ago
There's a talk by Greg Young regarding this topic called "The art of destroying software" [1]. It's a fairly interesting talk about designing your software with deletion in mind. [1] https://vimeo.com/108
13.
▲
What was the nicest codebase you've inherited without the original author(s)?
140 points
by
_randyr
8y ago
|
68 comments
14.
▲
by
_randyr
8y ago
As you're already using Emacs for org-mode, you could take a look at org-feed [1] for text-based RSS. It places all RSS feeds into a normal org file with headings per source and article. As it's Emacs + org, it's naturally sc