Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
linkdd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
52 ms
·
601.
▲
by
linkdd
5y ago
OP: > C++, Java, Rust are far from minimal. Go feels minimal but it too has a lot of features compared to C and it has a garbage collector too. You: > Seems like Go might be able to fit your bill. > I would consider Ru
602.
▲
by
linkdd
5y ago
And yet git bash still needs ansicon to have ANSI escape sequences handled correctly.
603.
▲
by
linkdd
5y ago
> The computer is no longer the bottleneck. High load average, full swap, memory leaks, those things still happen today. > exa, by default, runs the stat system call on every file it encounters. 99% of ls's use case are: show me
604.
▲
by
linkdd
5y ago
If I want to distribute an application that relies on other charts, I should not have to include them in mine. It's like saying "you can build your own apt repository and embed your dependencies in your .deb package". This is
605.
▲
Ask HN: Package Management for Kubernetes
3 points
by
linkdd
5y ago
|
2 comments
606.
▲
by
linkdd
5y ago
AFAIR, Haskell do have metaprogramming but not with macros, I remember reading this[0] a few months ago. Maybe I misread the article? For Rust, I've seen more usage of `macro_rules!` than the other one (so much I did not even know it e
607.
▲
by
linkdd
5y ago
I was talking about Elixir's macros. Not Erlang parse_transform.
608.
▲
by
linkdd
5y ago
> Leaving the Erlang ecosystem (e.g. shelling out) always felt painful - https://hexdocs.pm/rambo/Rambo.html - https://hexdocs.pm/elixir/1.12/Port.html - https://github.com&#
609.
▲
by
linkdd
5y ago
I fell in love with Erlang. I always prefer languages where the syntax is very simple because you don't need to know that much when reading the code. In fact, Erlang was so simple I was able to read it before I even knew what it was. I
610.
▲
by
linkdd
5y ago
with {:step_1, {:ok, value}} <- {:step_1, fn_call(...)} I also use this pattern a lot :) To be fair, I'm not using this library everywhere . Only when case/with become hard to read. Or when I have a pipeline like:
611.
▲
by
linkdd
5y ago
I should take a look more closely at the doctest feature indeed :)
612.
▲
by
linkdd
5y ago
Thank you, I try my best to come up with good documentation so I don't need to go read the source code :) Also that's what I love about Erlang/Elixir, you don't need to know the language to be able to read code written i
613.
▲
by
linkdd
5y ago
When I say "inspired by Rust Result type", I mean the function names. I could implement map/fmap/bind/lift/unlift/return/... But I choosed and_then/or_else/unwrap/...
614.
▲
by
linkdd
5y ago
Thanks :) I was copy/pasting bits of this code in multiple projects, this quickly became annoying.
615.
▲
by
linkdd
5y ago
Or thanks to elixir's pipeline operator: err |> thunk() |> unlift() |> lift() |> thunk() Which is already more readable. And I choosed the Rust terminology for a reason, I think and_then/or_else
616.
▲
by
linkdd
5y ago
Could be planned for the 0.4.0 :) Honestly it was made just to scratch an itch I had for a while.
617.
▲
by
linkdd
5y ago
The with statement will leave the pipeline as soon as the first error, while a chain of and_then/or_else allow you to continue the execution of the pipeline. Which is what I wanted, example: some_operation() |> and_then(&
618.
▲
Show HN: Result monad for Elixir inspired by Rust Result type
(hexdocs.pm)
39 points
by
linkdd
5y ago
|
19 comments
619.
▲
by
linkdd
5y ago
I already use calendly.com or savvycal.com for this purpose. I only need to think about my time zone. On another note, how would you store your datetime in a database? If I understand correctly, we would need to save the location as well, s
620.
▲
by
linkdd
5y ago
I don't understand how this simplify scheduling. If I need a meeting at N:30 for example, it may be in the afternoon for me, but it could be at night for another coworker, and in the morning for another one. Therefore, I still need to
621.
▲
by
linkdd
5y ago
4 horsemen, 12 apostles, 10 commandments, 7 deadly sins, 7 holy virtues, 3 aspects of the trinity (the father, the son and the holy spirits), 36 Lamed-Vav Tsadikim, ... Numerology has been heavily used by the Torah and the Bible. According
622.
▲
by
linkdd
5y ago
Asimov stated himself that the story would need to be changed if a movie/serie adaptation was to be made. This is still the story of the foundation to reduce 30,000 years of chaos to only 1,000. After all, psychohistory was never about
623.
▲
by
linkdd
5y ago
This was my first guess, but according to wikipedia[0], the author of valgrind is Julian Seward[1]. [0] - https://en.wikipedia.org/wiki/Valgrind [1] - https://en.wikipedia.org/wiki/Julian_Seward
624.
▲
by
linkdd
5y ago
I get that the top has always been C/C++, Java and Python in some order, but I'm so surprised to see Assembly that high up (even before Rust).
625.
▲
by
linkdd
5y ago
I totally agree with you, most arguments are obsolete at best, and ignorant at worst. > no threads Worker threads are a thing since Node v10. Also, I like the single thread concurrency, it makes state management easier (since there is no
626.
▲
by
linkdd
5y ago
Games should not be released in early access because of a missed deadline. It's part of the release cycle: alpha -> beta -> early access -> full release. And you stay in early access as long as it's needed. I've seen
627.
▲
by
linkdd
5y ago
I'd rather have a ton of Early Access games, where players can take part to the development of the game (by giving valuable feedback to the developers and funding the development), than AAA games that are released incomplete and full o
628.
▲
by
linkdd
5y ago
Looks like MHRD[0] with a GUI. [0] - https://store.steampowered.com/app/576030/MHRD/
629.
▲
by
linkdd
5y ago
Fun fact: PHP stands for "People Hate Perl"
630.
▲
by
linkdd
5y ago
Godot use "Servers"[0] to implement the game loop, which is async by design. [0] - https://godotengine.org/article/why-does-godot-use-servers-a...
More ›