This page contains random thoughts and impressions by me.

  1. 2021-08-02

    • Christian Kruse

      „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.

  2. 2021-07-26

  3. 2021-06-06

    • Christian Kruse

      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.

      Sierpinski triangle with 10000 iterations

  4. 2021-05-31

    • Christian Kruse

      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.

  5. 2021-05-26

    • Christian Kruse

      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?

  6. 2021-05-25

  7. 2021-05-24

    • Christian Kruse

      Sacha Chua (@sachac on twitter) does so much good work with her Emacs news blog posts. If you are slightly interested in the Emacs ecosystem, I totally can recommend to read it.

  8. 2021-05-22

    • Christian Kruse

      Seriously. Why is it so hard to find trousers in my size? I like cargo pants, but getting some in W34/L36 seems nearly impossible

  9. 2021-05-15

    • Christian Kruse

      I’m looking for a new hobby side project to learn Rust. Anybody any interesting ideas?

  10. 2021-05-09

    • Christian Kruse

      In MRNA vaccines and Clarke’s Law: JESUS FUCKING HOLY GODDAMNED SHITBALLS Cory Doctorow writes about the new mRNA vaccines:

      If you convert a single closet in a conventional factory to mRNA production, it will make more doses than the rest of the factory combined. Only part of the factory needs to be a high-spec cleanroom facility, and the rest can be cheaper and more easily maintained.

      This new technology is indeed fucking amazing!

    • Christian Kruse

      An interesting article about the dispassionate developer. The author claims that we should not be passionate about our work.

      As you start to ponder the implied ethos, the stranger it gets. Would you like engineers to be passionate as they design new bridges? Would you like a surgeon to be passionate as she operates on you? Would you like judges to be passionate as they pass sentence on your friend?

      I’d like such people to care about their vocation, but I’d prefer that they keep a cool head and make as rational decisions as possible.

  11. 2021-04-05

  12. 2021-04-03

    • Christian Kruse

      Arm-breaker tech unlocks new markets by delaying defaults on unpayable debts. The zombie economy shambles on.

      From „the zombie economy and digital arm-breakers,“ an article by Cory Doctorow about the current state of economy and debt.

  13. 2021-02-27

  14. 2021-02-20

    • Christian Kruse

      It’s slowly getting lighter again in the morning when I go with the dog. Spring is coming! 💖

  15. 2021-02-19

  16. 2021-02-15

    • Christian Kruse

      I… must resist… the temptation! as any is not a proper solution! as any is not a proper solution! as any is not a proper solution!

    • Christian Kruse

      Refactoring code thrown together in a hurry is not fun at all…

  17. 2021-02-13

  18. 2021-01-04

  19. 2021-01-03

  20. 2021-01-02

  21. 2021-01-01

  22. 2020-12-25

  23. 2020-08-26

    • Christian Kruse

      While I first avoided „The Great Pretender“ because it did sound boring, it actually is pretty funny 🤣

  24. 2020-08-21

  25. 2020-08-19

  26. 2020-08-17

  27. 2020-08-16

  28. 2020-08-08

    • Christian Kruse

      Wanna feel old? The babymetal artists are now over 20 years old…

  29. 2020-08-05

  30. 2020-08-04

  31. 2020-08-03

    • Christian Kruse

      I ran >5k km in 398 runs since I started tracking my runs back in 2015, with 1250 km in 2020. This quantified self movement thingy is really pretty interesting.

    • Christian Kruse

      It’s quite interesting to see how political the bands of my youth have been. A lot of the songs have a very political message and I only ever noticed it years later. For example today I was listening to Rage Against The Machine today, in a nostalgic mood and stumbled over this line:

      This time the bullet cold rocked ya
      A yellow ribbon instead of a swastika
      Nothin’ proper about ya propaganda
      Fools follow rules when the set commands ya

      This one is from „Bullet In The Head.“ Another line from „Just A Girl“ by No Doubt is this:

      ‘Cause I’m just a girl, oh, little old me
      Well, don’t let me out of your sight
      Oh, I’m just a girl, all pretty and petite
      So don’t let me have any rights

      And I can still remember the lyrics of a lot of these songs.

      What I actually want to say? That I am on a nostalgic trip.

  32. 2020-07-31

    • Christian Kruse

      When you find a bug in a very old piece of code, do you fix it (and possibly have to explain it to multiple people) or do you ignore it? 😜

  33. 2020-07-28

  34. 2020-07-24

  35. 2020-07-23

    • Christian Kruse

      TIL: Elixir’s File.stream!/2 has an option :trim_bom which removes the (optional) BOM from a file stream.

  36. 2020-07-20