I really like the SwiftUI tutorial videos by Martin Lexow, e.g. this one. He doesn't waste much time and just shows what SwiftUI is capable of and how to work with it.
2022-03-03
„Nun sag doch etwas“ https://hmbl.blog/28-2-2028-nun-sag-doch-etwas/
The last few days I had a lot of fun with Relm4. It is an Elm inspired GTK abstraction.
The main problem I had when using gtk-rs directly was managing state. Either you use a Rc<RefCell<_>> and pass it around or you use a background thread managing the state and channels to communicate with it.
Both ways are tedious.
Relm4 abstracts that away and helps managing state in a much better way:
After about 20 years of using Emacs (not always exclusively) I now dabble into Neovim. 🤯
2022-02-03
It's a bit sad how today everybody does a Twitter thread instead of writing a blog post. IMHO most Twitter threads should be blog posts. Same for Mastodon.
It's a bit sad how today everybody does a Twitter thread instead of writing a blog post. IMHO most Twitter threads should be blog posts. Same for Mastodon.
2022-01-07
A pretty interesting article about Free Software, Open Source and the jndi issue https://apenwarr.ca/log/20211229
Just released Webmentions 2.0.0 and Microformats 1.0.0. Be aware: support for Elixir below version 1.10 and OTP below version 23 has been dropped. Besides that it is just a maintenance release with updated dependencies.
„The Web3 Fraud“: „So in the end web3 is a con job, a technological edifice that is beyond useless as anyone who attempts to deploy a real application will quickly discover. It is, however, an amazingly effective form of Nerd Sniping.“ https://www.usenix.org/publications/loginonline/web3-fraud
„The Web3 Fraud“: another take why web3 is utterly bullshit. Tidbit:
So in the end web3 is a con job, a technological edifice that is beyond useless as anyone who attempts to deploy a real application will quickly discover. It is, however, an amazingly effective form of Nerd Sniping.
„The Third Web“ – a very interesting analysis of the web3 hype and why it is bullshit. Everybody should read this. https://tante.cc/2021/12/17/the-third-web/
„Good and bad Elixir“ - a blog post about what makes Elixir code good or bad. I don't agree with everything, but with most of it and I enjoyed the read.
2021-07-26
„The Open-Source Software bubble that is and the blogging bubble that was“ https://www.baldurbjarnason.com/2021/the-oss-bubble-and-the-blogging-bubble/
It's fascinating to see how far we've come. I started programming during a school project, we visualized fractals like the Sierpinski triangle or the Julia set, and it took our computers hours, sometimes even days, to generate those images.
To learn GTK and Rust I implemented a Sierpinski triangle today myself, and I can't even see the program painting so fast is it.
This is still mind blowing to me.
2021-05-31
I've been trying to grasp how to structure a Rust GTK application for some time
I've been trying to grasp how to structure a Rust GTK application for some time now. The basic grasp was to use Rc<RefCell<_>> to pass around application state. That seemed error-prone and cumbersome to me, and I was looking how other applications do it.
Today I stumbled upon an approach using message passing, which looks pretty promising to me. Have a look at this blogpost and this github repository. It seems to make handling state much more easy and less error-prone.
I think I will try to implement this approach in a beginner project.
2021-05-26
Is there a goto way to create a wireguard VPN which fails over to a different endpoint when the original IP isn't reachable/loses packets?