Ulf Wiger

1.2K posts

Ulf Wiger

Ulf Wiger

@uwiger

CTO, QPQ AG, Erlang old-timer, opera singer (tenor). This is my programming account, for Swedish politics, see @ulf_wiger

Örebro, Sweden Katılım Şubat 2008
234 Takip Edilen2.2K Takipçiler
Ulf Wiger
Ulf Wiger@uwiger·
From the OTP 28.3.2 relnotes: «A process could fail to wake from hibernation when a non‑message signal followed by a message signal arrived concurrently as the receiving process hibernated. If the process had a large heap, triggering a dirty GC, the wakeup could be lost.» 😬
English
0
0
2
269
Ulf Wiger
Ulf Wiger@uwiger·
Most of my repos are available under the zomp realm 'uwiger'. The release processes for rebar3 and zomp are somewhat aligned. One of these days, I'll blog about that. zxq9.com/projects/zomp/
English
0
0
0
135
Ulf Wiger
Ulf Wiger@uwiger·
gproc-1.1.0 has been published on hex.pm The main change, apart from supporting the 'zomp' packaging system, is adding support for multiple pattern clauses in `gproc:select()`. github.com/uwiger/gproc/c…
English
1
0
6
250
Ulf Wiger
Ulf Wiger@uwiger·
@zxq9_iwao I guess it was something like: "If you try to save a large corporation from itself, it will fight you every step of the way. I you try to save the world from itself, ditto, but on a larger scale."
English
0
0
0
6
Ulf Wiger
Ulf Wiger@uwiger·
I started a WIP PR for edown aiming at generating edown-style docs even after replacing the edoc comments with -moduledoc chunks. The idea is to support gradual transition. Feedback and contribs are welcome. github.com/uwiger/edown/p…
English
0
0
0
189
Ulf Wiger
Ulf Wiger@uwiger·
For extra points, the API also supports select_reverse() and rev_fold() (naming is hard…), including, of course, high-level support for the excellent RocksDb iterator functions.
English
0
0
0
135
Ulf Wiger
Ulf Wiger@uwiger·
I've added index select() functionality to mnesia_rocksdb (note the location). The mrdb_index:select() and fold() features allow for efficient iteration over ordered indexes, and the index plugins allow for complex and/or sparse indexes. git.qpq.swiss/QPQ-AG/mnesia_…
Ulf Wiger tweet mediaUlf Wiger tweet media
English
2
0
3
208
Ulf Wiger
Ulf Wiger@uwiger·
@uamdlgqmgoxpybh Hmm …, when I was learning Erlang, there were actually NO books, so maybe I'm not the guy to ask. 😜 The books I've read are all good, but do cater to different audiences. Learn You Some Erlang has the advantage that you can read it for free. learnyousomeerlang.com
English
1
0
1
17
Ahmed
Ahmed@uamdlgqmgoxpybh·
@uwiger I'm currently studying Erlang, however I searched for a lot of Erlang books and I don't know what I do with them because it's a lot of them. What's book do you prefer for beginners in Erlang?
English
1
0
0
18
Ulf Wiger
Ulf Wiger@uwiger·
The setup_file API - open/2, close/1, read_file/1, consult/1 and script/[1,2] work exactly like the originals in file.erl, but also operate on files in zip archives Enabling this is setup_file_io_server.erl, which lets you 'open' any binary and access it via a file descriptor
English
0
0
1
126
Ulf Wiger
Ulf Wiger@uwiger·
New minor update of setup. Added setup_file:consult_binary/1 and setup_file:eval_binary/[1,2]. These work like file:consult/1 and file:script/[1,2], but on a binary object instead of a file. hex.pm/packages/setup…
English
1
0
2
172
Ulf Wiger
Ulf Wiger@uwiger·
I had a great time at the CCA Token Summit! Still working on getting back home, though. I left Zug 11 am yesterday, but the planned direct flight to Sweden turned into something very different. At least I got to visit Hamburg and Frankfurt too, and lodge at the Best Western. 🙂
CCA TRUSTLESS TECHNOLOGIES ASSOCIATION e.V.@CryptoCountryA1

And that’s a wrap on #CCATokenSummit 2024! 🚀 A big thank you to everyone who joined us for this fantastic event. Your participation and enthusiasm made it truly remarkable. Don’t miss out on our Early Bird tickets: dltmedia.li/products/cca-t… #ThankYou #SaveTheDate

English
0
0
2
412
Ulf Wiger
Ulf Wiger@uwiger·
@Andrea71098836 Well, Perl might qualify as a modern version of COBOL, and presumably some companies actually decided to build commercial products in Clojure.
English
0
0
0
25
Ulf Wiger
Ulf Wiger@uwiger·
I confess that I never thought I'd see this. Especially not in the early 2000s, as I was pondering whether there was even a slight chance of finding an Erlang job outside of Ericsson. #4-top-paying-technologies" target="_blank" rel="nofollow noopener">survey.stackoverflow.co/2024/technolog…
Ulf Wiger tweet media
English
4
7
31
4.2K
Ulf Wiger
Ulf Wiger@uwiger·
@vdramaliev Sorry, replied in the wrong thread. x.com/uwiger/status/…
Ulf Wiger@uwiger

@burkov The microbenchmarks discussion keeps popping up, and the tl;dr response is that microbenchmarks struggle to capture the characteristics of the BEAM that are unique and unlock amazing possibilities. Note that they actually exclude the few problems that are reasonably Erlang-like

English
0
0
0
67
Ulf Wiger
Ulf Wiger@uwiger·
@burkov On the topic of energy-efficiency, Erlang properly implements massive concurrency in a way that allows the VM to idle more or less completely while waiting for things to happen. There are some practical tradeoffs in the standard VM where speed is favored over energy-efficiency.
English
1
0
2
60
Ulf Wiger
Ulf Wiger@uwiger·
@nosyeaj But I haven't really been much in touch with industry jobs since 2017, so I'm not really up to speed.
English
0
0
1
86
Ulf Wiger
Ulf Wiger@uwiger·
@nosyeaj Well, they are tools with which highly competent people can get an enormous amount done, but our experience at Ericsson was also that even mediocre coders could write 'production-safe' code (not the case with e.g. C++), and non-programmers could mostly grok Erlang concepts.
English
1
1
3
1.8K