Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nesarkvechnep
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
nesarkvechnep
4mo ago
There's no such thing as REST spec. The closes mechanism to actual REST is to create a resource using POST and then query it using GET. You have the added benefit of the resource being cacheable.
32.
▲
by
nesarkvechnep
4mo ago
It's probably what they know so not anything new should be learned.
33.
▲
by
nesarkvechnep
4mo ago
Ah, sorry, it wasn't /dev/udp but socat - echo "hello" | socat - UNIX-SENDTO:/path/to/socket.
34.
▲
by
nesarkvechnep
4mo ago
I find /dev/udp much more useful. I can create aliases for fire and forget commands to my daemons without actually writing *ctl program.
35.
▲
by
nesarkvechnep
4mo ago
I did the same but with Nix.
36.
▲
by
nesarkvechnep
4mo ago
Thank you for the clarification. I guess authors these days assume they don't need to state the Unix flavour they're talking about.
37.
▲
by
nesarkvechnep
4mo ago
More related to OMamas.
38.
▲
by
nesarkvechnep
4mo ago
As a student I used to work as a network administrator in the summer breaks. The place had a very nice library of technical books. I had the pleasure to read "Database Design for Mere Mortals" there, in the hours when work was slo
39.
▲
by
nesarkvechnep
4mo ago
The disagreement is on Ecto schemas used to represent databases tables from the persistence layer to the UI. Of course, use changesets to normalise user input but using the same schemas everywhere is a sign of immaturity as a developer. You
40.
▲
by
nesarkvechnep
4mo ago
Yeah, one of the worst practices. I've been working with Elixir professionally for 6 years now and I still see this sh*t everywhere. Bad APIs, bad UIs because someone coupled themselves to the database structure and can't escape.
41.
▲
by
nesarkvechnep
5mo ago
Not at all. It’s used to build standard web applications too.
42.
▲
by
nesarkvechnep
5mo ago
Why not Erlang? It's is great in everything which requires talking to and/or listening on a socket. It's amazing for writing and running daemons.
43.
▲
by
nesarkvechnep
5mo ago
I did the same integration with an Erlang daemon. All relevant key presses are sent to it and based on the current focused application the daemon does different things. I built an Erlang library i3_IPC to listen for events and send commands
44.
▲
by
nesarkvechnep
5mo ago
Thank you for the lecture but I didn’t mean that. I meant `Either String String` is possible in Haskell and not in C# because… C# is strongly-typed.
45.
▲
by
nesarkvechnep
5mo ago
There's Capsicum on FreeBSD.
46.
▲
by
nesarkvechnep
5mo ago
I guess C# is more strongly-typed than Haskell then... /s
47.
▲
by
nesarkvechnep
5mo ago
Then Bun's rewrite is also political. They couldn't upstream their vibe coded "improvements" so in spite they decided to vibe a rewrite in Rust. The arguments for the rewrite were not backed by any data.
48.
▲
by
nesarkvechnep
5mo ago
The average quality of the Zig projects got up.
49.
▲
by
nesarkvechnep
5mo ago
Maybe it's the phone number of the vibe coding police?
50.
▲
by
nesarkvechnep
5mo ago
Authors can't exaggerate? Maybe some actual numbers can convince people.
51.
▲
by
nesarkvechnep
5mo ago
Bozhidar Batsov inspired me to try Emacs after watching him present on a VarnaConf. Now it’s my religion. Maybe I should give OCaml another chance?
52.
▲
by
nesarkvechnep
5mo ago
What do you do now? I’m just curious.
53.
▲
by
nesarkvechnep
5mo ago
You forgot the /s at the end.
54.
▲
by
nesarkvechnep
5mo ago
Not a silver bullet. There are also C nodes but they’re used even less.
55.
▲
by
nesarkvechnep
5mo ago
I asked because I do it sometimes too.
56.
▲
by
nesarkvechnep
5mo ago
What’s up with the last paragraph? Nobody is complaining because the BEAM is good enough for the typical use case?
57.
▲
by
nesarkvechnep
5mo ago
Came to say this. Early in my career I really thought implementing Maybe in any language is necessary but not I know better. Use the idioms and don’t try to make every language something it’s not.
58.
▲
by
nesarkvechnep
6mo ago
Nice! I'm sad to see SegmentedList go. Also, I'm wondering if it's possible to use `recvmsg` and `sendmsg` backed by the new `Io` interface.
59.
▲
by
nesarkvechnep
6mo ago
You got that right.
60.
▲
by
nesarkvechnep
6mo ago
It finally made it click for me.
More ›