HNHacker News
TopNewBestAskShowJobs

lawik

3,352 karma · joined December 6, 2016

https://underjord.io, lars@underjord.io https://twitter.com/lawik @lawik@fosstodon.org

Podcasting on beamrad.io and regprog.com

submissionscomments
lawik··on Ruby Together
The market is quite good for people who want to try a move or two.

I'm not into Ruby but I see people hesitate similarly about my preferred lang and mostly think they should just take that leap.

lawik··on Use of Google Analytics declared illegal by French data protection authority
So far they haven't solved something that resolves the problem of having US ownership as far as I can tell.

The issue isn't where the servers are. The issue is what parties can compell them to hand over information. As far as I've read on it at least. And if there is US ownership you have US courts that can demand information they aren't legally allowed to hand over according to EU law.

lawik··on Back-end languages are coming to the front-end
There is also a bundle of clever implementation which means the templates are aware of what parts are static and what parts are dynamic. So they can send optimized changes, essentially small diffs, for the dynamic parts as they change. Often this means only sending the values for your text input field, not any of the markup for the field.
lawik··on Back-end languages are coming to the front-end
LiveView? It lets you not write JavaScript. Or depending on your needs, very little Javascript.

Less need for an API-layer and related contracts.

You can still use Tailwind CSS. Works quite nicely.

lawik··on Nerves Quickstart, a video for the Elixir IoT framework
Nice of you to collect those :)

Much appreciated.

lawik··on Adopting Erlang
We all forget. Hope you do try Nerves and hope it treats you well. The nerves_livebook project is a wild fun way of trying it out.
lawik··on Adopting Erlang
This sounds like a great fit for the Nerves project. It focuses on Elixir, which runs the same as Erlang.

It builds firmware for Pis and other IoT on top of a thin Buildroot Linux layer, starts the Erlang VM and then that's practically your OS for building your device. Plenty of escape hatches for special needs.

I've done a bunch of streams recently with clustering Pi devices using Nerves, especially fun on local network with mDNS. They are on my blog: https://underjord.io/blog.html

Feel free to reach out if you have questions about Nerves. I'm an enthusiast of it, contributing mostly by using it for fun in public. Also write the newsletter so I'm fairly up to date :)

A lot of devs find Elixir more approachable/familiar than Erlang so it might help in your case there as well.

lawik··on Writing a “bare metal” operating system for Raspberry Pi 4
So there is bare metal Erlang on the Grisp boards and that's usually a virtual machine. Haven't dug into that at all but seems cool: https://www.grisp.org/

The Nerves project is perhaps a more pragmatic approach that is in production use that I really like which uses a fairly light Linux to get the VM up and running: https://www.nerves-project.org/

With Nerves you mostly write Elixir or Erlang to build your device functionality.

lawik··on E-Ink Magic Calendar that runs off a battery powered Raspberry Pi
Google Calendar provides a calendar URL which might be more convenient.

Used it in this thing: https://github.com/lawik/calendar_gadget

lawik··on Embedded social media posts might now be illegal
Only if you render the embed before the user accepts which is under the control of the developer/site, even though many don't bother to do that correctly I bet.
lawik··on Lumen – Self-hosted Lisp for Lua and JavaScript
Don't worry, it is also something related to Laravel. These things happen :)
lawik··on What I learned from Erlang about resiliency in systems design (2019)
I feel like the post brushes past the best parts to line the learnings up with container concepts and k8s.

The Erlang application/service should not be crashing. A crash happens in a process in a tree of supervisors and each supervisor can have strategies to recover if its child supervisor/process fails.

Supervision in Erlang/BEAM is not just microservice infrastructure with restarts. It handles many types of failures knside the application and only if all mitigations repeatedly fail would we crash all the way up to the trunk of the tree and crash the application. If that happens the Erlang heart should be starting it back up or otherwise invoking some last-ditch mitigation. Or if you run Erlang in a container, that's when you'd have your infrastructural stuff restart it.

Supervision in Erlang is much more granular and not about restarting the entire service.

I think this gives a good view of Erlang resiliency: https://youtu.be/JvBT4XBdoUE

lawik··on My trust in software, an all time low
Absolutely fine by me :)
lawik··on My trust in software, an all time low
I've mostly transitioned off of Apple stuff. So I didn't dwell on them. My thoughts on them have also been on here a good while back.

https://underjord.io/the-mac-is-losing-me.html

In the end I use them all. The point is mostly that they are all disappointing. I haven't recently suffered additional annoyances from Apple, so this post speaks to recent frustrations.

edit: In addition, I don't feel like I need to address every actor in my rants. I would never get past LinkedIn.

lawik··on My trust in software, an all time low
I can see that interpretation, did not have it in mind while writing it and I tend to post what I write here with the title I gave it as HN asks.

I apologize if it felt misleading. That was unintentional. I don't believe I can edit it.

lawik··on My trust in software, an all time low
Aww, thank you.
lawik··on My trust in software, an all time low
Unfortunate that you found it disappointing and it wasn't my intent for the title to imply data. It was intended to describe my experience. I can see how you were primed to think otherwise.

This is very much a rant. Hope you find your numbers elsewhere :)

lawik··on My trust in software, an all time low
Probably. I wrote it and I can't decide which would be more appropriate.
lawik··on My trust in software, an all time low
I did say I use Windows for gaming, I don't think I said I couldn't switch but you have the right idea. I haven't tried Linux gaming in some time (ages). At a base level I don't mind having Windows for certain things, such as gaming and using Win or Mac for some media workloads.

If they could just stop with the egregious overstepping I'd be pretty okay with using Win for gaming, accounting and a few other things. I'll likely have Win around for the foreseeable future, not just me in the household :)

I appreciate the update on Linux gaming though, haven't really looked in a long time.

lawik··on Monitoring Elixir Apps on Fly.io with Prometheus and PromEx
Using something like CockroachDB you should be able to avoid the single-writer situation. It has it's own complexities I'm sure but seems very compelling.
lawik··on An Elixir adoption success story
Not for me. To be fair I didn't have types in PHP, Python or JS either. I wrote about my onboarding thoughts on Elixir here: https://underjord.io/onboarding-to-elixir.html
lawik··on An Elixir adoption success story
Yeah, freelancing mostly. Lots of developers wanting to work with it, so finding engaged devs has been easy for me when I've wanted reinforcement.

Haven't had a gap in clients for a year and a half of straight Elixir work. Have more opportunities than I can feasibly execute on.

Finding the right companies and connections is a bit of luck and a bit of networking of course. But most of the companies I've worked with are not well known in the community. There's plenty of usage in the wild.

lawik··on Onboarding to Elixir
I'm aware the types are there. I can be more explicit if that was actually unclear. Static explicit typing often feels cunbersome to me.

I gather you got my meaning but chose to make your point. But just in case.

lawik··on Onboarding to Elixir
Finding companies that take on juniors is a constant challenge across the board (across langs and platforms).

We don't have that solved in Elixir, I've helped a few find their way into employment and am working with a few on client work right now.

But companies just need to get into the habit of working with less experienced devs. Not specifically an Elixir problem from what I've seen but we certainly have it.

It might be slightly worse due to many early adopters of Elixir being fairly experienced so the pool of devs has tended to be intermediate/senior. This is changing and I expect companies will, eventually, adapt.

The demand for devs all around is going up what I hear. So competition should return with a vengeance.

lawik··on Onboarding to Elixir
Dialyzer certainly isn't a perfect solution for static checking. But it does provide some of that to a very dynamic language. So I find it a useful tool.

Personally I'm not that keen on type-heavy programming. Do you have good examples of this mix from Typescript, I'd be curious to see what that can be like.

lawik··on Onboarding to Elixir
Yeah. Rails certainly has a lot of influence over the developer experience aspects of Elixir and Phoenix. Love most of what that brought.

Jose has really thread a needle with Elixir I feel.

Rails has a strong reputation for productivity, it doesn't have the strongest reputation for long-term maintainability (though it can certainly be maintained). Or that's what I hear from the ex-Ruby devs in Elixir. I came via Python and I'd say the same of Django.

lawik··on Onboarding to Elixir
I'll extend that to anyone that does want to work with Elixir but finds it hard to find work. Reach out, I can't guarantee a single thing beyond that if I get your message I'll read and respond. But I've put people into Elixir work before and am happy to do it again.
lawik··on Onboarding to Elixir
Yeah, for some use-cases the Django Admin and everything-spawns-from-the-model approach can go from nothing to CRUD in a ridiculous time.

Phoenix is ludicrously quick to get from zero to realtime UI and interesting backend work such as polling, consuming updates, sharing state, collaboration.

Having done a bunch of Python I wouldn't discount Django but I would pick Phoenix almost every time at this point. The initial burst of Django doesn't seem like a long-term upside and Elixir/BEAM/Phoenix has a lot of long-term upside in my eyes.

lawik··on Onboarding to Elixir
If you need to work in Belgium I can imagine the problem. Though I've dealt with at least 4-5 Elixir companies just in Sweden.

If remote is an option there's really no shortage of people looking for experienced devs from what I've seen. Feel free to reach out if you want some options.

lawik··on Ask HN: Have you found a good desk chair?
I had an Ullman Niteflite at a previous job. Everyone did. Best chair I've used.

So after realizing both IKEA Markus and a gaming chair were just murder on my back I ended up getting one as I was improving my office.

Works great. High thin back that suit me as a tall person, good support but shoulders can move back. Armrests removed I can get close to the desk.

Very happy with it.

← PreviousPage 6 of 14Next →