HNHacker News
TopNewBestAskShowJobs

archseer

664 karma · joined September 28, 2013

my public key: https://keybase.io/speed; my proof: https://keybase.io/speed/sigs/TcbsclNHt4mvME-VM0Q_qIKPifMnC0AfDsZC4sECs1c
submissionscomments
archseer··on Rust Is Surprisingly Good as a Server Language
While the initial compile time might be slow because of dependencies, subsequent runs are incremental and maybe take a second for me.
archseer··on Workman Keyboard Layout (2010)
I'm using a similar layout (Norman) that was derived from the Workman analysis. https://normanlayout.info/about.html

It was a bit easier to learn because most of the keys are on the same finger as on qwerty, but with the rows swapped. For me the biggest problem with using an alternate layout is that the hjkl vim movement keys are scattered.

archseer··on Enigma: Erlang VM Implementation in Rust
Agreed! I think both projects can coexist, but there could be some components that we could share. I was in talks with Hans last year about potentially supporting EIR opcodes in Enigma.

I do think that Lumen is potentially more interesting in the real world usecases though, and I wish you best of luck. Having an alternative Erlang compiler is a lot more complex but allows us to explore new techniques easier that could potentially be ported back to OTP if nothing else.

archseer··on Linux touchpad like a MacBook: April 2020 update
Newer models certainly do. We're working on a surface driver that exposes raw heatmap data https://github.com/qzed/touch-detection-prototype/blob/maste...
archseer··on Enigma: Erlang VM Implementation in Rust
^ agree with this, slice_patterns fulfilled my needs on the byte level at least. Bit level you could extract some parts of https://github.com/archseer/enigma/blob/master/enigma/src/bi... and wrap them in a macro but it's a bit clunky. I tend to just do it by hand (match a { a if a ^ 0b1100_0000 => ... } etc)
archseer··on Enigma: Erlang VM Implementation in Rust
Also check out kvakvs' BEAM Wisdoms site: http://beam-wisdoms.clau.se/en/latest/

It was a big help initially to grok the bytecode format.

archseer··on Enigma: Erlang VM Implementation in Rust
Best of luck!
archseer··on Enigma: Erlang VM Implementation in Rust
See https://news.ycombinator.com/item?id=23037389
archseer··on Enigma: Erlang VM Implementation in Rust
I wanted to tackle distribution eventually, but it was also by far the most complex part of the implementation.
archseer··on Enigma: Erlang VM Implementation in Rust
Projects can sometimes be just for fun. I started with two goals: 1) Learn how Erlang internals work 2) Learn Rust (this was the first time I was writing Rust)

After I achieved both of those I decided I'll keep going if there's any interest in the project. There wasn't, so I moved on.

archseer··on Enigma: Erlang VM Implementation in Rust
Yeah I definitely didn't see it being production ready any time soon, but I thought it was an interesting project for people that wanted to learn BEAM internals. That's how I got started with it at least, I had problems trying to contribute BEAM just because of the sheer size of the codebase and lacking the domain specific knowledge.

I do think that having alternative implementations is good for experimentation though, similar to how Ruby was improved upon ideas from JRuby and Rubinius, even if most users never used those two directly.

archseer··on Enigma: Erlang VM Implementation in Rust
Yep! They appeared shortly after I started and were backed by Dockyard. I think they didn't have much success finding external contributors either though :/
archseer··on Enigma: Erlang VM Implementation in Rust
If I remember correctly I found a few edge cases, but they weren't ever hit by OTP, just by partially implemented VMs like mine :)

It was kind of interesting exploring the OTP internals, especially some of the parts that haven't changed in a long time. One example is the PAM: I think it stood for "patrick's abstract machine" and it would compile erlang terms into bytecode for pattern matches (intended for fast ETS lookups). It's all there in one file and it took a fair bit of digging to figure out how it works since it's been static for a long while and nothing on the internet really documented it.

archseer··on Enigma: Erlang VM Implementation in Rust
Thanks for sharing, author here! (AMA?)

I had a lot of fun working on this project, having implemented enough of the VM to run both Elixir and IEx before I stopped.

Ultimately development stalled since I couldn't get any community interest (I was hoping to give an ElixirConf talk but wasn't accepted either). Was hoping to raise some interest and find some contributors in similar vein to https://github.com/RustPython/RustPython

Nowadays I write a lot less Elixir and a lot more Rust.

archseer··on Bored? How about trying a Linux speed run?
Also note that the libinput maintainer was also the last synaptics maintainer. https://github.com/freedesktop/xorg-xf86-input-synaptics/com...
archseer··on Bored? How about trying a Linux speed run?
My point here was that it's really easy to complain about the touchpad driver but it takes a lot more effort to actually go and write the code. There was some effort last year: https://gitlab.freedesktop.org/wbharding/libinput/-/commits/...

I also don't see bus factor the same way you do. People can be smart enough to understand the code, but unless someone actually goes and actively takes up code maintenance the project will slowly fade and disappear (for example the synaptics driver that libinput replaced https://github.com/freedesktop/xorg-xf86-input-synaptics/com...).

archseer··on Bored? How about trying a Linux speed run?
Because it became a burden to maintain. https://who-t.blogspot.com/2016/04/why-libinput-doesnt-have-...

> In the old synaptics driver, we added options whenever something new came up and we tried to make those options generic. This was a big mistake. The driver now has over 70 configuration options resulting in a test matrix with a googolplex of combinations. In other words, it's completely untestable. To make a device work users often have to find the right combination of options from somewhere, write out a root-owned config file and then hope this works. Why do we still think this is acceptable? Even worse: some options are very specific to hardware but still spread in user forum examples like an STD during spring break.

archseer··on Bored? How about trying a Linux speed run?
People always complain about this, yet nobody contributes: http://who-t.blogspot.com/2019/10/libinputs-bus-factor-is-1....
archseer··on Bored? How about trying a Linux speed run?
Synaptics is deprecated with no maintenance.

> The xf86-input-evdev driver is in maintenance mode at this point. The last commit was in May 2018 and, since the 2.10.0 release four years ago, there have been a total of 19 commits. It is still shipped in RHEL 8 in order to support "crazy devices" that don't work otherwise. Similarly, xf86-input-synaptics had a 1.9.0 release in 2016 and has had nine commits since. It is effectively dead and all touchpads should be working with libinput at this point. Since libinput took over from xf86-input-synaptics three years ago, no one has stepped up to say they want to continue maintaining it, Hutterer said.

archseer··on 50% – 75% of cases of Covid-19 are asymptomatic
It's business as usual because the government refuses to increase testing. They're pretending there's no cases because they don't want to cancel the Olympics later this year. For a more realistic figure look at South Korea where mask usage is about as common as here.
archseer··on Coronavirus: South Korea’s aggressive testing gives clues to true fatality rate
The response to MERS was a total shitshow (no laws against breaking quarantine, quarantined patients playing golf, flying to China, etc.) and we were lucky the virus didn't spread too easily. But they seem to have learned from that and are handling things really well this time: https://edition.cnn.com/2020/03/02/asia/coronavirus-drive-th...
archseer··on Systemd Is Approaching 1.3M Lines
It's bad journalism. /r/linux for example has a blanket ban on Phoronix articles and classifies them as blog spam.

Most of the "announcement" type articles are mailing list quotes without context that don't link to the original source, but link to even more Phoronix articles.

archseer··on Systemd Is Approaching 1.3M Lines
Can't reproduce the findings. I think this is counting all lines ever added across all commits. The current source tree is at 500k lines of C:

$ tokei C: 492003, C Header: 58547

Total line count at 889658, "code" count at 716316, but 202314 of that is plain text which could signify documentation. It's still a lot, but not even nearly close the headline.

archseer··on Show HN: git-bug – Distributed bug tracker embedded in git
There's also https://github.com/dspinellis/git-issue, but I don't have any experience with it yet. Maybe it can give you some inspiration
archseer··on Show HN: I made a tool that made me faster at Git
Personally I prefer to alias git to g, then setup my aliases in gitconfig.

https://github.com/GitAlias/gitalias

g f && g rom

git fetch && git rebase origin/master

You could go nuts and make it even shorter with https://github.com/thoughtbot/gitsh

gitsh > f & rom

archseer··on Show HN: Vue-Model – Models with HTTP Actions for Vue.js
I like this, but I feel that a repository pattern would be better suited (Repo.update(model) vs model.update(), model being ).
archseer··on A Story Of Starting A Business In Japan
My lawyer... is very japanese-esque inflexible. No other lawyer (or friends that recently acquired the same visa) mentioned this new requirement; but the lawyer refuses to check with the immigration office.
archseer··on A Story Of Starting A Business In Japan
I'm here on a study visa, arrived last year, so I do have a temporary residency status.
archseer··on A Story Of Starting A Business In Japan
I'm currently going through the same process for a business investor visa. However, my lawyer claims that immigation office changed the requirements this december to also require at least one (can be part-time) employee (other than yourself). Apparently this is something not stated anywhere, but a whim of the immigration office... Can anyone confirm?
archseer··on Ori – Robotic transformation of interior spaces
Design seems similar to https://www.youtube.com/watch?v=XYV0qATsyts
← PreviousPage 3 of 4Next →