Rasmus​.krats​.se

Reminiscing this and that, on the web since 1994.

Denna sida på svenska

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.

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

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

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.

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.

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.