Rasmus​.krats​.se

Skriverier då och då, på webben sedan 1994.

This page in English

Nu finns jag på mastodon

Publicerad 2022-12-04 15:52. Taggat , .

Nu har jag börjat skriva och läsa på mastodon som @rasmus_kaj@mastodon.se. Mastodon är ett federerat protokoll för mikro­bloggande. En kort förklaring på det är att det är lite som twitter, men i stället för att det finns en site som alla användare loggar in på så kan man välja en bland många alternativ, eller sätta upp en egen.

Läs hela Nu finns jag på mastodon.

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.

Inlägg från år 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.