Advertisement · 728 × 90

Posts by λ (λ 2 (1 1)) (λ 2 (1 1))

telemetry_registry do not need to be a runtime dependency either. In fact in Elixir it has macro requirement only because module attributes aren't preserved by default. In Erlang you can expose that metadata without any dependency.

2 weeks ago 0 0 0 1
Preview
announcing our €3,8M seed round and more on what's next

today, we're announcing our €3,8M ($4.5M) seed financing round, led by byFounders with participation from Bain Capital Crypto, Antler, Thomas Dohmke (former CEO of GitHub), Avery Pennarun (CEO of Tailscale) among other incredible angels.

read more on what's next: blog.tangled.org/seed

1 month ago 822 149 54 67

I may have solution in future (hopefully near).

1 month ago 1 0 0 0

Wouldn't it be easier to use existing VFS protocols like 9p instead of creating new one?

1 month ago 0 0 1 0

Do you have a link to that? I would be really interested in checking that out.

1 month ago 3 0 1 0

What is that?

1 month ago 3 0 1 0

Hello #ElixirLang

Does anyone look for highly skilled Elixir developer based in Europe for remote work or consulting services?

I am open to opportunities.

1 month ago 14 7 0 0
Advertisement

I call them "human sized"

2 months ago 2 0 0 0

Move already so you will not forget ;) you can do so and it should be free

2 months ago 1 0 1 0

Have you checked OVH?

2 months ago 1 0 1 0

Ugh, hardly tripped over deadlock in #Erlang that required me to use private API for now. Break my heart, but it is what it is.

2 months ago 4 0 0 0

A lot of people are using this protocol indirectly - WSL2 is using that to expose Windows FS to Linux in VM. But outside of the VMs it is IMHO not used enough, as it is IMHO great alternative to FUSE.

2 months ago 2 0 0 0
Preview
hauleth.dev/e9p Pure Erlang implementation of 9p2000 protocol

Source available on @tangled.org (obviously) - tangled.org/hauleth.dev/...

2 months ago 0 0 0 0

Currently sysfs is read only, but there are applications, processes, and system information exposed. The API for implementing own FS will be very much in flux, but this is MVP to show that it works. It is mountable by 9pfs FUSE system and v9pfs on Linux.

cc @arathunku.com as you seemed interested

2 months ago 1 0 2 0
Advertisement
Preview
e9p Implementation of 9p2000 protocol in Erlang

After quite some time I present you `e9p` - 9p implementation in pure Erlang. Built in implementations provide Unix Filesystem proxy and sysfs - pseudo filesystem that exposes ERTS information in similar way to `procfs` and `sysfs`.

hex.pm/packages/e9p

#elixirlang #erlang #9p

2 months ago 11 0 1 0

For me it looks more like a screenshot from Death Stranding

3 months ago 0 0 0 0
Preview
GitHub - mwri/erlang-efuse: Erlang FUSE (Filesystem in Userspace) interface. Erlang FUSE (Filesystem in Userspace) interface. Contribute to mwri/erlang-efuse development by creating an account on GitHub.

Yes, but thing bigger. Not only FS for Erlang processes, but a library for implementing FS in Erlang for whatever you want.

It is possible to do it right now via eFUSE (github.com/mwri/erlang-...), but that requires NIF and OS that support FUSE.

4 months ago 2 0 0 0

I am not 100% sure. You would need to check, as I haven't dug deep enough to remember that.

4 months ago 1 0 1 0

Just a hint into what the goal is (it is not fully working yet, but that is what I am trying to achieve):

$ cat /erlproc/registered/logger_sup/state
{state,{local,logger_sup},
one_for_one,
{[default,logger_proxy,logger_handler_watcher],


All without any NIF

4 months ago 1 0 1 0
Post image

In theory that would be equivalent to `__block__(1, 2)`, but that will be rejected by the compiler/interpreter. Elixir is funky sometimes.

4 months ago 0 0 0 0
Kernel.SpecialForms — Elixir v1.19.3

That is not 100% correct. `()` and `(1; 2)` (`;` can be replaced by newline there) is equivalent to "meta node" in AST called `__block__` (which is documented in `Kernel.SpecialForms` - hexdocs.pm/elixir/Kerne...).

4 months ago 2 0 1 0
Advertisement

It should work everywhere, as if OS will compute it independently, then it should just replace that value with proper one on their own.

4 months ago 1 0 1 0

It is awesome to see my code inspire others to do other awesome things.

BTW currently I am working on completely bonkers concept that can open completely new interesting scope for others, and I think it will be really nice for stuff like @nerves-project.org.

4 months ago 5 1 1 0

That one was tricky. And IIRC it was needed only on one of the supported OSes (do not remember which one) as another one was happily calculating that for you. It was "fun" testing it on other OSes (maybe one day someone will test it on BSD as well).

4 months ago 0 0 1 0

I have tested it on Linux and macOS (there are differences in how these handle user space ICMP sockets). It also supports IPv6 which I believe yours do not.

4 months ago 1 0 1 0
Preview
GitHub - hauleth/gen_icmp: ICMP protocol implementation for Erlang without NIFs ICMP protocol implementation for Erlang without NIFs - hauleth/gen_icmp

FYI I already have created wrapper over `socket` for ICMP - github.com/hauleth/gen_...

It is not on Hex as I do not want to push it without automated tests, but maybe I should do it anyway?

4 months ago 1 0 2 0

`:bar` as what you have inside parens is a code block. It is the same as

if true do
:foo
:bar
end

Just written in a funky way.

4 months ago 2 0 1 0
Preview
duckex DuckDB client library

It is called Duckex (hex.pm/packages/duc...) and it uses Port instead of NIF (as other DuckDB client libraries do).
The advantages are obvious - bug in DuckDB (or loaded extension) will not cause BEAM VM to fail and it also helps with RAM handling (as OOM killer will handle subprocess instead of VM)

4 months ago 4 0 0 0
Advertisement

Heh, I couldn't attend CodeBEAM this year (unfortunately, maybe next year), but I have similar experiences.
So because NIFs are hard, and in general can be problematic when used with 3rd party, unsafe, code, myself and friend( who is not on Bsky) have created new @duckdb.org client for #elixirlang.

4 months ago 6 0 1 0

Why not use `image` library or if someone is really daring - using `wxImage` from OTP.

4 months ago 0 0 1 0