HackerTrans
TopNewTrendsCommentsPastAskShowJobs

asabil

576 karmajoined il y a 15 ans

Submissions

Show HN: Local-first firmware analyzer using WebAssembly

xray.boldwark.com
8 points·by asabil·il y a 4 mois·0 comments

How I fell in love with Erlang

boragonul.com
394 points·by asabil·il y a 9 mois·249 comments

Erlang/OTP 28 Highlights

erlang.org
25 points·by asabil·l’année dernière·2 comments

Erlang/OTP 27 Highlights

erlang.org
220 points·by asabil·il y a 2 ans·49 comments

The Optimizations in Erlang/OTP 27

erlang.org
8 points·by asabil·il y a 2 ans·1 comments

comments

asabil
·il y a 3 jours·discuss
Incorrect translation, Allahu Akbar means “the god is the greatest”

Allah is not a name that came with Islam but existed before, it just means deity. the Al prefix is the definite singular form. It just says one thing: god is a singleton and nothing is above it.
asabil
·il y a 4 mois·discuss
Sorry to disagree, but no, they are not dozens of different languages. The challenge with Arabic is that it has a rather large vocabulary, and different regions use slightly different vocabularies.

That being said, Darija, or rather North African Arabic is a messy mix of Arabic and Tamazight. Which can be difficult for Middle East Arabic speakers to understand.

For reference, I speak Darija and understand both classical and modern Arabic. It would take me a few days to adapt my speech to other regional variations of arabic.
asabil
·il y a 4 mois·discuss
Yes Arabic from 1000 years ago is very much understandable today[1].

[1] https://fluentarabic.net/arabic-unchanged-1000-years/
asabil
·l’année dernière·discuss
Not Linux syscalls, they are a stable interface as far as the Linux kernel is concerned.
asabil
·l’année dernière·discuss
`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
·il y a 2 ans·discuss
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
·il y a 2 ans·discuss
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
·il y a 2 ans·discuss
REINDEX INDEX CONCURRENTLY[1]

[1]: https://www.postgresql.org/docs/current/sql-reindex.html
asabil
·il y a 2 ans·discuss
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
·il y a 2 ans·discuss
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
·il y a 2 ans·discuss
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.
asabil
·il y a 2 ans·discuss
GC determinism is one of the things you get. Another one is non cooperative asynchronous termination.
asabil
·il y a 2 ans·discuss
Vala is very much used among other things by Frida.

I have been involved with Vala in it’s early day and some hardcore GObject/C users never quite liked the C code that Vala generated although it was perfectly valid and exposed a very clean C header to interface with it.

I think that Vala is a really great tool for building applications that make use of Glib/GObject. For example Gtk applications, but also GStreamer and DBus applications.
asabil
·il y a 2 ans·discuss
> I don’t have an example of fully non-cooperative cancellation available off the top of my head.

That would be Erlang.
asabil
·il y a 2 ans·discuss
The UUID spec update has not been finalized yet.

It would be quite unfortunate to end up with a UUID v7 in PostgreSQL that’s not quite the standardized one because the patch got merged too quickly.

EDIT: here is the IETF working group page https://datatracker.ietf.org/wg/uuidrev/about/

Their milestone seems to submit the final proposal by March.
asabil
·il y a 3 ans·discuss
You might want to check out the Swedish Doro phones: https://www.doro.com/en-us
asabil
·il y a 3 ans·discuss
It's quite unfortunate that this article mixes up what's necessary for podman quadlets with coreOS concepts.

With quadlets, the only thing required is to drop a `.container` file in the right place and you end up with a container properly supervised by `systemd`. And this of course also supports per-user rootless containers as described in [1].

[1]: https://www.redhat.com/sysadmin/quadlet-podman