🆕 blog! “Stupidly Simple SVG Sparklines”
A sparkline is a little line-graph with no axes or other unnecessary details. They're useful for getting quick understanding of what the data is showing.
They're also really easy to create programmatically.
This uses the SVG "polyline" which takes a list of x,y co-ordinate pairs. But can you spot the small problem?
<svg…
👀 Read more: https://shkspr.mobi/blog/2026/05/stupidly-simple-svg-sparklines/
⸻
#svg #tutorial
@Edent instead of transforming every point could you apply a matrix transform to the root element to flip it upside down? Think it would still need to know the height of the view port but it would not need to be known outside the image so much
I took Friday off to have a long weekend, because a) I'm quite exhausted at the moment and b) I have some stuff to do at home.
This decision will totally punch me in the face on Monday, because of tight project deadlines at work I'm already nervous about. So, yay, really looking forward to the weekend. 😬
@frederic From personal experience, this kind of investment in your energy is 100% the right decision and will pay off. Don't be too hard on yourself for making this decision.
…The whole fucking thing is an accelerant of accelerationist thinking, which is degrading the viability of life.
And that is not so much an assault on the senses as it is an assault on sense-making.
So I make no apology for my choice of the word ‘assault’
…The assault also embraces the acceleration of micro electronics being added to everyday commodities which have previously not had them. And that accelerant is an assault on habitability.
Electronic waste is among the most pernicious discharges from a culture addicted to non-metabolisable waste.
But that’s just the glasses themselves.
It’s also an acceleration of video storage into a ‘Cloud’ context being endlessly reappraised by LLMs. And they are an assault on what it has meant to be human
…The assault also embraces the acceleration of micro electronics being added to everyday commodities which have previously not had them. And that accelerant is an assault on habitability.
Electronic waste is among the most pernicious discharges from a culture addicted to non-metabolisable waste.
But that’s just the glasses themselves.
It’s also an acceleration of video storage into a ‘Cloud’ context being endlessly reappraised by LLMs. And they are an assault on what it has meant to be human
…The whole fucking thing is an accelerant of accelerationist thinking, which is degrading the viability of life.
And that is not so much an assault on the senses as it is an assault on sense-making.
So I make no apology for my choice of the word ‘assault’
@Tarnport @iita I felt every word of this, too.
I feel like we aren't publicly acknowledging, at least not in a big enough way, the incredible social costs / social isolation of being risk aware, risk averse, and intentional in one's choices (tech choices, pandemic choices, it's all a shared universe).
@wronglang We've got some new coolers coming in for the farm, so that's kind of my baseline. It's an east-facing roof in Michigan, so I'm limited to morning sun, but my kWh looks good for summer months when the coolers are running.
I can comfortably fit 6 kWp on my roof with room to expand. Extra production will go back to our utility through a tariff for now.
@brianb it's so nice to have a consistent space... did you check how many hours of sun that means? That lets you translate kW to kWh then those numbers let you size your battery back, battery charge controller and your inverter. Once you size those you get a price range and have to see a) what's locally available; b) if you want to go through the effort of getting something not locally in use; c) where those can live physically (so what environmental conditions they operate in)
Google et la presse n'arrêtent pas de parler du nouveau Google maps immersif en 3D (pour le mode GPS).
Mais on n'arrive ni à l'utiliser, ni à trouver de test indépendant sur le sujet.
C'est genre, pas sorti du tout, mais la presse boit les CP de Google ? Quelqu'un a des infos ?
Yes, same here to a certain degree.
Whatever is odd & wrong in this time is certainly made worse by tech. My irl friendships have gone downhill from me first ditching FB and then the dead bird site. Final insult by me seems to have been dropping WhatsApp use in my trusted personal communications. A formerly very close friend downright rejected my plea to join me on Signal, because it was "too much extra work". A *skilled developer*. Now they get no personal news from me, where in earlier times there could be dozens of messages a day.
In my case recent neurodivergence discoveries have played a not insignificant part in whom I trust. It's sometimes hard to figure out which came first, people's attitudes towards ND or the tech allegiance issues.
Made progress with cssDOOM last evening.
Created a special multi-player deathmatch version for CSS Day that runs in kiosk mode. It uses a video wall controller to split up the screen into sections. On the computer it is just one full screen window, but it drives two separate screens.
@researchfairy FFS!
@platypus It's almost like the problems I was highlighting before are structural and require resources and sustained effort to fix and are not just an unfortunate one-off that they can ignore
No, they don't.
Once again, the Onion sustains me.
@fff@chaos.social Hört auf die Wissenschaft! Spritpreise nur noch im Fliesskommaformat. Yeah!
Remnants.
Digital painting made in #krita .
If this image evokes thoughts or emotions in you, please share! Always curious to know how my ideas come across for other people.
@petrabrandstrom really beautiful composition!
Remnants.
Digital painting made in #krita .
If this image evokes thoughts or emotions in you, please share! Always curious to know how my ideas come across for other people.
It is nice to see that London transformed from absolute dog💩 level of bicycle infrastructure, that was IMO below Berlin of the 90s just 15 years or so ago, to come out at least a level above the Berlin of today. 🫠
I was really looking forward to a collaboration of Evan and @notjustbikes and finally we got it. 😊
Important quote btw: "Red lights for bicycles on T-junctions - stupid - should not exist, ever."