Readit News logoReadit News
asabil commented on Apple announces Foundation Models and Containerization frameworks, etc   apple.com/newsroom/2025/0... · Posted by u/thm
vips7L · 7 months ago
Aren't the syscalls a constant moving target? Didn't even Microsoft fail at keeping up with them in WSL?
asabil · 7 months ago
Not Linux syscalls, they are a stable interface as far as the Linux kernel is concerned.
asabil commented on Vrs: Personal Software Runtime inspired by Emacs, Plan 9, Erlang, Hypermedia   github.com/leoshimo/vrs... · Posted by u/surprisetalk
upghost · 7 months ago
could you dive into the gen_srv a bit more? From what I understand about erlang the value prop is already enormous, what extra does gen_srv add? It seems like people who Erlang understand this intuitively so I haven't really been able to find it explicitly explained anywhere
asabil · 7 months ago
`gen_server` is an abstraction over the a client sending a `request` that a server services to produce a `response` to be sent to the client.

The `gen_server` implementation takes care of things like timeouts, servers terminating before a response is produced as well as maintaining the server state.

You can read more here at [1], [2] and [3].

[1]: https://learnyousomeerlang.com/clients-and-servers#callback-...

[2]: https://www.erlang.org/doc/system/gen_server_concepts

[3]: https://www.erlang.org/doc/apps/stdlib/gen_server.html

asabil commented on The short history of global living conditions and why it matters that we know it   ourworldindata.org/a-hist... · Posted by u/_Microft
jsbg · a year ago
> other things whose value is not representable in our modern value system

What things? Are they more important than child mortality?

asabil · a year ago
Why do things have to be comparable? Why did you cherry pick infant mortality? Yes reducing infants mortality is one of the things where we improved.
asabil commented on The short history of global living conditions and why it matters that we know it   ourworldindata.org/a-hist... · Posted by u/_Microft
asabil · a year ago
The most dangerous thing about Capitalism is imho its universal equivalence, its ability to make us covert everything into a monetary value.

In other words, it’s just like a programming language where everything can be implicitly converted to a given top type.

In the progress we certainly made over the last century or so, we certainly also lost other things whose value is not representable in our modern value system.

asabil commented on Don't rely on IF NOT EXISTS for concurrent index creation in PostgreSQL   shayon.dev/post/2024/225/... · Posted by u/shayonj
whartung · a year ago
Do what is the recovery/restart process for a partially created index?

And how do you clean up after an aborted index build?

asabil · a year ago
asabil commented on How to chop off bytes of an UTF-8 string to fit into a small slot and look nice   domm.plix.at/perl/2024_06... · Posted by u/domm
gmueckl · 2 years ago
Randomly truncating words can have the same effect in any language. It's outright trivial to find examples in English or German. I don't understand why one has to invoke Arab script for a good example.
asabil · 2 years ago
Yes, but you don’t end up with different glyphs. Arabic script has letter shaping, that means a letter can have up to 4 shapes based on its position within the word. If you chop off the last letter, the previous one which used to have a “middle” position shape suddenly changes into “terminal” position shape.
asabil commented on Ruby's Timeout is dangerous and Thread.raise is terrifying (2015)   jvns.ca/blog/2015/11/27/w... · Posted by u/thunderbong
asabil · 2 years ago
The underlying problem is lack of isolation, and this is an area where the Erlang process model shines: processes are fully isolated and you can send a signal externally to terminate any process you want.
asabil commented on Erlang/OTP 27 Highlights   erlang.org/blog/highlight... · Posted by u/asabil
neonsunset · 2 years ago
Pretty much all efficient GC implementations are inherently non-deterministic, even if predictable.

How can this improve predictability of GC impact?

asabil · 2 years ago
No global GC. Each erlang process does its own GC, and the GC only happens when the process runs out of space (ie. the heap and stack meet).

You can for example configure a process to have enough initial memory so as not to ever run into GC, this is especially useful if you have a process that does a specific task before terminating. Once terminated the entire process memory is reclaimed.

u/asabil

KarmaCake day568June 28, 2011View Original