Salta al contenuto principale





I want to use the unicode (partial) block symbols (strangeweb.page/@jochie/115118…) to draw graphs:

chars = [' ','▏','▎','▍','▌','▋','▊','▉','█']

The idea is that I can "scale” the horizontal bars (7/8, 6/8, 5/8, …) if/when at least one of the values gets a bit high, like this:

1️⃣ 0
2️⃣ 0
3️⃣ ▉▉▉▉▉▉▉▌ 12
4️⃣ ▉▉▉▉▉▉▉▉▏ 13
5️⃣ ▉▉ 3
6️⃣ 0

In my editor/client it’s fine, but some fonts show
U+258C “▌” as taller than the others, which is a bit annoying!

Any suggestions/alternatives?

#unicode #graph #programming

reshared this

in reply to Oblomov

@oblomov That screenshot that I think you're referring to is actually the Discord app in the Firefox browser.

Plot twist!

You were on to something. While writing my response I noticed that I had a bug in my code and was unintentionally using the "left 7/8 block” U+2589 where I thought I was using the full block.

Back to the drawing board (hah) for me, and more 🤦‍♂️ feelings with regards to fonts and unicode. 😁

Oblomov reshared this.

in reply to Jochie 👨🏻‍💻🏳️‍🌈

@oblomov And for completeness, the answer the other question. I _was_ using Monaco in my editor (Emacs) but for the partial blocks it was falling back to Andale-Mono.

Going back to the default which gets me Menlo for partial blocks and full block, and consistent heights.

Adding that to the long list of things to consider when picking my next (coding) font. 😅



in reply to Laura Manach

If I wanted to be rid of something forever, the best way to do ensure that would be to set it aside in a safe place I didn't expect to forget.
Questa voce è stata modificata (2 settimane fa)
in reply to Laura Manach

mastodon.social/@cmconseils/11…
Seems to happen more and more (70+).
Just moved house with a tonne of 'rubbish'. Waste a lot of time trying to find things.




In 20 minutes, #Bach, Castelnuovo Tedesco #Busoni and #Donatoni sound in Venice worldconcerthall.com/en/schedu…


In 20 minutes,#Bach, Castelnuovo Tedesco #Busoni and #Donatoni sound in Venice worldconcerthall.com/en/schedu…


One Day Trump Will Be Gone - YouTube

youtube.com/watch?v=t0Trm8k1lg…






"Private industries are being prioritised in these arid zones. We hear that there's going to be 32 data centres but water is what's needed for people, not for these industries. They [the municipality] are prioritising giving water they have to the private industry. Citizens are not receiving the same quality of the water that the industry is receiving."

"This is a state that is already facing a crisis that is so complex and doesn't have enough water for human disposal."
bbc.co.uk/news/articles/cx2ngz…



GIZ ist geil! – ANSAGE ansage.org/giz-ist-geil/ Hessens SPD-Politikversager Schäfer-Gümbel als GIZ-Vorstandschef, Blankozusagen von „Trampoline“ Baerbock, unbegrenzte deutsche Steuermittel am Hindukusch: Was soll da schon schief gehen bei der Massenaufnahme von Afghanen? (Foto:Imago) GEZ kennt jeder. GIZ eher nicht. Ein Licht geht dem einen oder anderen vielleicht beim vollen Wortlaut auf: “Gesellschaft für Internationale Zusammenarbeit” heißt #news #press


Since July 4th (signing of the "Big Beautiful Bill" with new debt ceiling) USA total public debt has grown with $1.1 Trillion.



Meta invested $14.3 billion in data-labeling vendor Scale AI, but the relationship is already showing signs of fraying. Read more from @Techcrunch:

flip.it/DxBlA8

#Tech #AI #Meta #Technology #ArtificalIntelligence #ScaleAI #Business

Questa voce è stata modificata (3 settimane fa)


Fedispace | blog: Warum Feeds wichtiger sind, als viele denken blog.fedispace.de/warum-feeds-…

#Blog

#blog




Code is so much easier to write than read because when you're writing it, you know the goal you're trying to achieve and the constraints placed upon your solution. Often, the solution becomes "obvious" because of these two factors, so you don't need to think too hard about what to write.

When you're reading code, you often don't know the exact goal or constraints that were placed on the writer, so you're piecing together not only the "how" but the "why". #dev #programming

reshared this

in reply to Allen

Here is why I often add comments: they are for the future me.

reshared this

in reply to rag. Gustavino Bevilacqua

@GustavinoBevilacqua Yeah, definitely a good strategy. It's so easy to under-comment or under-document because in the moment, your solution feels so obvious since you know all the constraints, but in retrospect, it's not so obvious...
in reply to rag. Gustavino Bevilacqua

@GustavinoBevilacqua Same. I think knowledge should be as close to the code as possible. Not only is that where you’ll need it in the future, it’s also where it has the highest chance to be kept up to date.

reshared this




Telegraph: Trump will US-Söldnerfirmen in der Ukraine einsetzen de.rt.com/international/254687… US-Präsident Donald Trump erwägt laut Telegraph, US-Söldnerfirmen in der Ukraine einzusetzen. Sie sollen Befestigungen bauen und US-Interessen schützen – eine Umgehungslösung, da Trump reguläre US-Truppen ausgeschlossen hat. #news #press



Open source e sovranità digitale: l’Europa tra adozione diffusa e scarso contributo allo sviluppo
go.squidapp.co/n/iM5l3gp



Fratzschers Geschwätz danisch.de/blog/2025/08/30/fra… Es wird nicht besser. Nicht nachvollziehbar, warum so viele Medien Fratzscher für einen „Top-Ökonomen“ halten. Seine Vorhersagen, dass die Migranten unsere Renten zahlen werden oder sich jeder Migrant nach spätestens 7 Jahren wirtschaftspositiv auswirken werden, stimmen ja hinten und vorne nicht. Der Mann ist ja nur ein linker Günstling, der Marxistische Ansichten als Wissenschaft herausposaunt [… #news #press


We're in day #1,283 of Putin's 3-day special military operation to take control of Ukraine.

And we're in day #220 of Trump's 1-day effort to 'end the war'.

#1 #220

in reply to 🌒🌕🌘Aetherius Eldritch🧙‍♂️⚡

La imagen muestra a una mujer posando para una selfie en un evento temático. Ella lleva un vestido sin mangas de color azul oscuro y grandes pendientes de oro y diamantes. Su cabello es largo y castaño, recogido en un moño. Detrás de ella, se puede ver un gran cartel que dice "How to Train Your Dragon" con una escultura de un dragón a la izquierda. El suelo es de color azul, y hay dos hombres en el fondo, uno de ellos con una camiseta negra y pantalones blancos. El techo es de metal con una estructura de arco, y hay vegetación verde en el fondo.

Proporcionado por @altbot, generado de forma privada y local usando Ovis2-8B

🌱 Energía utilizada: 0.186 Wh



Començant de nou el Final Fantasy XIV, vull tornar a il·lusionar-me amb la història
in reply to Athal 🇵🇸

@Athalwolf doncs et recomano començar per aquest, assequible quant a la dificultat, molt bona història… i tot i ser un MMO pots jugar-lo sense problemes en solitari al teu ritme.
in reply to Nandeth Draggar

Per ventura d'ací uns mesos m'anime, que ara tinc altres mampreses entre mans heh Gràcies!


I've been poking around Plateau alleys for 20 years, still finding new stuff...

#Montreal #walking #art

reshared this



What are some decent VPS that is cheap to rent for both hosting blog and an fedi instance? (Maybe GoToSocial)
#Fediverse #Selfhost

in reply to Erik L. Midtsveen ☮︎꩜ૐ

lefitst vlog youtube.com/@peacelabormay


#gazetadobrasil #jornalismo #noticias #politics Interpol inclui oito alvos de operação contra o PCC na lista vermelha internacional gazetabrasil.com.br/brasil/202…


youtube.com/watch?v=-4alKW3ryr…


Sinner batte Shapolapov: è in semifinale

Sinner prevale in un magnifico incontro [....]

sport.gaiaitalia.com/copertina…



Meta-Skandal: KI-Chatbots nutzen Stars wie Swift & Johansson für Sex-Inhalte exxpress.at/lifestyle/meta-ska… Meta steht erneut in der Kritik: Chatbots des Konzerns nutzten Namen und Abbilder von Prominenten wie Scarlett Johansson oder Taylor Swift für anzügliche Inhalte – teils sogar mit fotorealistischen Nacktbildern. #news #press


Meine 81-jährige Mutter war - trotz großem Interesse - noch nie auf einem #CSD. Heute nehme ich sie mit 🌈

Mein Mann ist währenddessen auf einem Magic The Gathering-Turnier und hat seine Gruppe zu einer "Zeigt die Farben, die ihr am liebsten spielt, von Daumen bis kleiner Finger"-Nagellack-Challenge aufgerufen 😊

~~~~~

My 81-year-old mum has never been to a CSD/ #pride parade - despite being very interested. Today I'm taking her with me 🌈

Meanwhile, my husband is at a Magic The Gathering tournament and has challenged his group to a ‘show the favourite colours that you play from thumb to pinky’ nail polish challenge 😊

in reply to B.ella

@B.ella Nagellack-Challenge: Super!

Ich musste dadurch gerade daran denken, dass unser Patenkind mir vor Jahren bei irgendeiner Feier die Nägel bunt lackieren wollte und natürlich auch durfte - mit allem, was das Arsenal der Mutter halt so hergab. Das anwesende, tendenziell eher konservativ geprägte Umfeld war teilweise recht irritiert, einer meinte sogar „dass Du das mit Dir machen lässt".

Wenn's einem nicht gefällt: Ok. Es geht ja aber nicht um ein Tattoo. Auf Wunsch ist die Farbe schnell wieder weg. Wer es als Mann nicht mal kurzzeitig verkraftet, Farbe auf den Nägeln zu haben … Ich war auf jeden Fall damals von den Kommentaren sehr befremdet.




Russia's Recent Battlefield Gains Revealed sputnikglobe.com/20250830/russ… Chief of the Russian Armed Forces General Staff Gerasimov summarized the results of the spring-summer 2025 campaign and outlined further objectives for troop deployments. #news #press