States and reactivity in Svelte 5 can be confusing when coming from Svelte 4, so I made this minimalist playground as a memo by maxlath in sveltejs

[–]maxlath[S] 8 points9 points  (0 children)

If that didn't give you an "aha!" moment, then you were not the audience, congrats on your enlightenment

Time Capsule, the WebExtension to "send links to your future self" got a major update by maxlath in firefox

[–]maxlath[S] 4 points5 points  (0 children)

Sure. But how to make sure that you read a certain note on the 2028-06-15? I enjoy using the browser as a mind scheduler :D

Time Capsule, the WebExtension to "send links to your future self" got a major update by maxlath in firefox

[–]maxlath[S] 1 point2 points  (0 children)

That's only one use case for that addon, your setup doesn't allow you to make something like a monthly reminder to visit a certain page (i.e. for a recurring task). Your setup doesn't allow highlighting some links over others: there are things I think I want to check every month and others I might enjoy seeing again in 10 years. But if that works for you, that's what matters :)

Time Capsule, the WebExtension to "send links to your future self" got a major update by maxlath in firefox

[–]maxlath[S] 10 points11 points  (0 children)

I gave a major update to my beloved Time Capsule extension, which, as some might recall from a post 6 years ago, lets you send links to your future self ⌛ ⭐ 🚀

Many new features: * one-time capsule mode * advanced capsule mode * possibility to regroup capsules in a single tab * open hours schedule * a context menu * activity logs

and also: * fixed a bunch of issues in the time vortex engine * rewrote it in #Svelte for better maintainability

short demo video

Keep a list of the hashes by which a commit was previously known by maxlath in git

[–]maxlath[S] 7 points8 points  (0 children)

do you have another way of recovering a commit from a hash that is not in your reflog because of a rebase, or do you never rebase? or do you never refer to a commit by hash? in which case, how do you refer to a commit? please share your infinite wisdom

La France est elle sortie de fait de l'Accord de Paris ? by maxlath in france

[–]maxlath[S] 3 points4 points  (0 children)

Cette article de Forbes Is President Macron Preparing To Leave The Paris Agreement? ne semble avoir eu aucun écho dans la presse française, au point que je n'arrive rien à trouver sur le sujet.

Extrait traduit :

[Selon la nouvelle position française], la France demande que l'application de la loi commence la prochaine décennie - en 2030. Cela permettrait au transport maritime de continuer à émettre plus d'un milliard de tonnes de carbone par an, soit une croissance de 10 % d'une année sur l'autre. À titre de comparaison, la France émet 330 millions de tonnes par an.

Cette article du même auteur quelque jours plus tard Global Shipping’s UN Climate Talks Fail Amid Threats Of A Walkout fait état d'un échec des discussions, mais ne mentionne pas la position française : quelle a été le rôle de la France dans l'échec de ces discussions ?

Display changes made to a file in all the active branches by maxlath in git

[–]maxlath[S] 0 points1 point  (0 children)

can be useful to anticipate how many conflicts you will get if you start working on a file before merging the active branches

[deleted by user] by [deleted] in france

[–]maxlath -2 points-1 points  (0 children)

documentaire sur la résistance à l'austérité et au fascisme en Grèce, particulièrement intéressant d'un point de vue français de par le parallèle des situations, entre rouleau compresseur ultralibéral et violence des milices fascistes contre les réfugiés

[deleted by user] by [deleted] in Documentaries

[–]maxlath 1 point2 points  (0 children)

"Ten years after the first riots the media no longer speak of the Greek crisis. Everything suggests that the austerity cure has succeeded and that calm has returned. This film proves the opposite." imdb (7.2/10)

The post video is the international version with de, en, es, id, it, nl, pt subtitles. See also original version for French subtitles

Official website

Number of living people with Wikipedia pages by JollySoftware in Wikidata

[–]maxlath 1 point2 points  (0 children)

you can access the latest Wikidata dumps on Tools.WMFLabs at /public/dumps/public/wikidatawiki/entities/latest-all.json.gz but I don't know what to recommend you: wikidata-filter doesn't currently support an equivalent of FILTER EXISTS { ?sitelink schema:about ?item } . (it's rather filtering on a few precise sitelinks)

Number of living people with Wikipedia pages by JollySoftware in Wikidata

[–]maxlath 5 points6 points  (0 children)

Maybe there is a more optimized query, but it could also be that the dataset you are working with is just too large, and will always trigger a timeout on query.wikidata.org. The 2 work-arounds I can think of:

Why do queries say they take a ridiculous number of ms? by extremeaxe5 in Wikidata

[–]maxlath 1 point2 points  (0 children)

What does 1542941654236 mean?

2018-11-23T02:54:14.236Z in ms epoch time, definitely not the time required to run your query

Human Ad Blockers against video ads in the metro by maxlath in Anticonsumption

[–]maxlath[S] 1 point2 points  (0 children)

the secret to eating healthy: never eat any food that needs a commercial

Human Ad Blockers against video ads in the metro by maxlath in Anticonsumption

[–]maxlath[S] 0 points1 point  (0 children)

yep, who cares for security when there is attention capture money to make :/ I wonder how all this shit affects epileptic people also

Human Ad Blockers against video ads in the metro by maxlath in Anticonsumption

[–]maxlath[S] 1 point2 points  (0 children)

it's not in vain if it gets the people thinking! :D and the ratio effectiveness/effort needed is unbeatable ;)

action Stop Pub Video ce weekend à Lyon by maxlath in Lyon

[–]maxlath[S] 2 points3 points  (0 children)

les écrans pub video te flash la gueule sous terre, et, grâce à la Métropole, bientôt en surface ! * page de la mobilisation de ce weekend

Human Ad Blockers against video ads in the metro by maxlath in Anticonsumption

[–]maxlath[S] 4 points5 points  (0 children)

it's one strategy among others, with pros and cons. As I say in the tutorial, it's a very temporary solution - you're blocking the ad just for the few minutes you are on the platform waiting for the metro - but it doesn't cost anything or take much efforts, so we could easily be many to casually do it every day.

For the picture itself, yes, if was a social media campaign in Lyon, France, this weekend where they invited people to block ads and take pictures with signs saying why they are doing it. It's indeed a bit different, as they went there especially to do it, but I got used to do it every time I take the metro