Rasmus​.krats​.se

Denna sida på svenska

Posts from 2022

Reminiscing this and that, on the web since 1994.

New blog software

Posted 2022-01-16 22:07. Tagged , , , , .

I have written a new blog software again! The previous one was named r5, as in Rasmus (5 letters omitted). The new one is written in Rust (.rs source files), so it was natural to call it r4s, also as in Rasmus (but with only 4 letters omitted 😎).

Now let’s see if having a new shiny project for my blog engine makes me write more posts.

Read whole New blog software.

Tangent­bord

Publicerad 2022-01-22 15:49. Taggat , .

Efter att ha haft en Dell-laptop med ett riktigt dåligt tangent­bord i några år och konstaterat att det faktiskt påverkar både min arbetsmiljö och mitt hobby­hackande negativt har jag blivit nyfiken på hur det skulle vara att i stället ha ett riktigt bra tangent­bord.

Men vad är ett riktigt bra tangent­bord? Det verkar vara väldigt individuellt, olika personer hyllar sina “blå” eller “röda” tangenter och sin mini­malistiska eller fullbreda layout. Så jag fick försöka fundera ut vad jag vill ha.

Läs hela Tangent­bord med 1 kommentarer.

Bästa Fantomen­äventyr 2021

Publicerad 2022-02-01 20:15. Taggat , , .

Än en gång har det blivit dags att välja det gångna årets bästa Fantomen­äventyr. Den här gången har jag lite bättre framförhållning än vanligt, så du hinner både läsa mina tips och läsa om ett par av de äventyr jag tipsar om eller några andra favoriter, innan det är för sent att gå till fantomen.org och rösta. Senast den 9 mars bör du lägga din röst.

Så vilket äventyr var bäst? Som vanligt har jag några alternativ jag står och väger mellan.

Läs hela Bästa Fantomen­äventyr 2021 med 10 kommentarer.

Gästföreläsning om Rust

Publicerad 2022-03-01 22:56. Taggat , .

I går fick jag hålla en gäst­föreläsning om program­språket Rust på kursen programmerings­paradigm på KTH. Jag är inte en van föreläsare (och helt klart inte på-minuten-deltagare), så det är ganska mycket tvekan och stakningar i början, men jag lämnar i alla fall inte rummet förrän efter föreläsningen, och så småningom kommer jag igång lite.

Läs hela Gästföreläsning om Rust.

Tracker-free youtube embedding

Posted 2022-04-03 18:04. Tagged , , , , , .

Sometimes I want to embed a video on my site. Most of the videos I want to embed are on youtube. Klicking “share” on a video and choosing embed, I get a bunch of html code I can copy into a post. Something like this, for example:

<iframe width="560" height="315" src="https://www.youtube.com/embed/3St1CoH1rKU"
  title="YouTube video player" frameborder="0"
  allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
  allowfullscreen>
</iframe>

Read whole Tracker-free youtube embedding.

Light or dark?

Posted 2022-05-16 22:11. Tagged , , , , .

I’ve had a light and a dark theme on this site since I switch from python to rust. But until now I have only used css @media selection to enable the dark theme, so it hasn’t been very discoverable. If you have a browser that supports the prefers-color-scheme query and you have found that setting and enabled dark mode, you have seen this site in the dark theme (and may not know that it had a light theme), otherwise you have seen the site in the light theme (and not known about the dark).

Read whole Light or dark?.

Åcon non-book recommendations

Posted 2022-05-27 14:40. Last updated 2022-05-27 19:47. Tagged , .

Notes from the Åcon 11 non-book recommendation circle, Mariehamn 2022.

Read whole Åcon non-book recommendations.

Rsass 0.26.0 released

Posted 2022-09-18 20:04. Tagged , , , , .

More than three months after the last release, is is now the time to announce rsass 0.26.0. There is a bunch of breaking changes and a bunch of improvements. The changelog has the whole (too long) list.

But this time, some of the changes may go a bit deeper. As usual, the breaking changes is breaking mainly to users who in some way modify the global context from rust code, maybe by providing their own builtin functions or maybe just by inserting a global variable.

Also this time, there is an improved way of calling ructe from a cargo build.rs program, see the Cargo section below.

Read whole Rsass 0.26.0 released.

Now I’m on mastodon

Posted 2022-12-04 15:52. Tagged , , .

I have now started to write and read on mastodon, as @rasmus_kaj@mastodon.se. Mastodon is a federated protocol for micro-bloging. A short explanation of that is that it is a bit like twitter, but instead of everyone connecting to the same site, you can choose among many sites, or even run your own.

Read whole Now I’m on mastodon.

Merry Christmas!

Posted 2022-12-24 08:38. Tagged , , .

To all friends, acquaintances and readers.

Merry Christmas and a Happy New 2023, from Rasmus, Katarina and Martin.

Be the first to comment.

Posts from year 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023.