Regarding the problem with "Postbox" styling getting sent to Hubzilla and Diaspora wrongly, was this going to get fixed?
Diaspora:
Hubzilla
I'd like to add some new Postbox styles in a future Bookface update, but I also don't want to be causing problems for federated platforms.
As I wrote before it seems the HTML to Markdown converter by default "preserves HTML tags without Markdown equivalents like <span>
and <div>
." At least according to the README in /friendica/vendor/league/html-to-markdown/ - which also says "To strip HTML tags that don’t have a Markdown equivalent while preserving the content inside them, set strip_tags..."
But what is the point of sending HTML tags with no Markdown equivalents to platforms that only want Markdown? Why would you want to do that?
So in /friendica/src/Content/Text/HTML.php inside the "toMarkdown" function I changed:
$converter = new HtmlConverter([‘hard_break’ => true]);
to
$converter = newHtmlConverter([‘hard_break’ => true, ‘strip_tags’ => true]);
Which successfully strips out the Postbox <span>
while preserving whatever was inside it. According to the feedback on my other post, the Postbox code is successfully being stripped out for Mastodon (and other ActivityPub platforms), Bluesky, Tumblr, even email. So it's just Diaspora and Hubzilla that are an issue.
Do I need to submit my fix as a PR on GitHub?
#Singapore #365 #365Project #Fediphoto365 #Photo365 #365in2025 #365in25 #Cat #Catsodon #CatsOfPixelfed #CatsOfMastodon
reshared this
skribe 🇺🇦, Lisa J. Warner / Lisa Luv and skribe reshared this.
#Singapore #365 #365Project #Fediphoto365 #Photo365 #365in2025 #365in25 #Gaming #Mineclonia #Luanti
reshared this
Gaming Feed, skribe 🇺🇦 and skribe reshared this.
Bospad | Forest path
Tussen Maarn en Doorn (Utrecht) 2024
(Van mijn blog | From my blog)
Tags: #bomen #bos #forest #foto #fotografie #nature #natuur #netherlands #photo #photography #trees #utrecht #wandelen
Flying Fortress story
In the summer of 1978 two former members of a B-17 crew met to discuss their escape from death in a raid on Kassel in 1943.
Sitting on a porch in New York, co-pilot Bohn Fawkes turned to his navigator Elmer "Benny" Bendiner & said: “Remember we were hit with 20mm shells?”
Benny said of course he did but wasn’t unusual. It happened whenever they got jumped by a German fighter.
Yes, but remember the shell that hit the gas tank? Bohn said.
Benny said he did. All the crew had talked about it like it was a miracle. I mean to them it was - because somehow the plane had not exploded. Just unbelievable luck, they assumed, and carried on with their duties.
That’s not quite the full story, Bohn told him now, 35 years later.
He said the morning after the raid he’d checked with the ground crew and was told there had been not one but 11 unexploded shells in the gas tank.
11 unexploded shells in the fuel when just one should have enough to blow the B-17 apart.
The shells had been sent to the armorers to be defused but had then been rushed away by an intelligence officer.
But Bohn had tracked down the intelligence officer and he had told Bohn the full story before swearing him to secrecy.
Bohn wanted to tell his old friend now.
He said that as the armourers had opened each shell they had found no explosive charge.
Each shell was empty, harmless.
Except one.
Inside that one was a carefully rolled piece of paper with a note written in Czech by the forced labourer made to make the shells for the Luftwaffe.
The note said: “This is all we can do for you now.”
The crews' lives had been saved by someone they would never know.
And the worker would never know that he/she had saved ten lives.
I came across this story while researching the lives of B-17 crews for an upcoming project.
It appears in Elmer Bendiner’s marvellous memoir, ‘The Fall of the Fortresses’ (Souvenir Press, 1980).
@kingbeard IIRC yarnhub did a video on this. If I can find it, I'll add a link.
#Singapore #365 #365Project #Fediphoto365 #Photo365 #365in2025 #365in25 #Cat #CatsOfPixelfed #CatsOfMastodon
reshared this
skribe 🇺🇦, skribe and GreenSkyOverMe (Monika) reshared this.
Review of "Body in the Library" (3 stars): Review: Body in Library
Despite reading a fair bit of Christie, this is my first Miss Marple. I can't say I'm impressed. The plot feels overly contrived, especially the lengths Christie goes to in order to manufacture the titular aspect (i.e. the body in the library). The fact that she needs to add a foreword explaining it says that there are problems with the concept.
For me, the biggest problem is that Miss Marple is barely in it. I'm not sure if this is typical or not for Miss Marple mysteries, but I found it annoying, especially in comparison to the Hercule Poirot stories. Poirot is central to the plot, leading the reader through the various discoveries and twists, and then POW, at the end, the grand reveal. In this, Miss Marple sits on the sidelines sipping tea with a smug look on her face because she solved the mystery half-way through the book, and she's waiting for you to catch up. As I said, annoying.
#Singapore #365 #365Project #Fediphoto365 #Photo365 #365in2025 #365in25 #Cat #CatsOfPixelfed #CatsOfMastodon
Newsletter: Trump continues to dismantle crypto enforcement while expanding his personal crypto empire.Most recently, Trump has called the DOJ off cryptocurrency enforcement and dismantled the agency's crypto enforcement team.
#crypto #cryptocurrency #USpol #USpolitics
skribe reshared this.
98/365 - Mournful
#Singapore #365 #365Project #Fediphoto365 #Photo365 #365in2025 #365in25 #Cat #CatsOfPixelfed #CatsOfMastodon
Edit: Not dead. Just sad, because she's not having her tummy rubbed.
reshared this
skribe, skribe 🇺🇦 and Lisa J. Warner / Lisa Luv reshared this.
reshared this
skribe 🇺🇦, skribe and Court Cantrell will not comply reshared this.
#Singapore #365 #365Project #Fediphoto365 #Photo365 #365in2025 #365in25 #Cat #Caturday #CatsOfPixelfed #CatsOfMastodon
reshared this
skribe, reindeerphoto, Dgar, sotolf, Stuart Longland (VK4MSL), Natsura, Mike Wursta 🇨🇦 🏳️🌈 🇺🇦, Trending Bot, Dilman Dila, Trendy Toots, Koos de Vries, Eclectic Lexicon, teemuki, Michael / マイケル, Hunspirillen already, naught101 and aberl🏳️🌈✅ reshared this.
#Singapore #365 #365Project #Fediphoto365 #Photo365 #365in2025 #365in25 #Cat #CatsOfPixelfed #CatsOfMastodon
reshared this
skribe 🇺🇦, skribe and Melissa BearTrix reshared this.
When the physicists need burner phones, that’s when you know America’s changed | John Naughton | The Guardian theguardian.com/us-news/2025/m…When the physicists need burner phones, that’s when you know America’s changed
US academics, fearing persecution by their own government, are becoming ideological refugees. Europe, and Britain, must offer them sanctuaryJohn Naughton (The Guardian)
#Singapore #365 #365Project #Fediphoto365 #Photo365 #365in2025 #365in25 #Cat #Caturday #CatsOfPixelfed #CatsOfMastodon
like this
Joseph, Ramin Honary, Neil E. Hodges, Glowing Cat of the Nuclear Wastelands, 0x4d6165, Schrödiɲger's Femboy, crossgolf_rebel - kostenlose Kwalitätsposts, Tobias Ernst, Yuri, DeepBlue V7.X, Stellar 🇫🇷 ( era), agatha, Miya Ironami - Team MORNING, lizzy, flash discontinuation survivor, Hypolite Petovan, Princess Serena Star✨️, Transbian_Arsonists (Seraphine), Stephan* and Dartly like this.
reshared this
Pavel, Daniel ☀, JonChevreau, Toni Aittoniemi, C.W. Williams 🇺🇦 🌊🇨🇦🦑, GhostOnTheHalfShell, OtownKim, senanthic, Roy #EatTheRich Pardee 🇺🇸, Cainmark Does Not Comply 🚲, Rick Gaehl, Purplejavatroll, Niall in Raglan, Ko Simon C. Hulse toku ingoa, stux⚡, Michael Stanclift, BedastGPT, Volodymyr, Joe Mansfield, Michael Santaly, Gerard Cunningham ✒️, M.S. Bellows, Jr., May Likes Toronto, Trending Bot, Gib 🐒🌈🇺🇦, *|FNAME|* 🇨🇦🇺🇦🇬🇱, Michael Boelen, Adam, Toni, Kernou, Babs E. Blue #IStandW/Zelensky, Martin Vermeer FCD, Axel ⌨🐧🐪🚴😷 | R.I.P Natenom, Jordi (Flopsome Opossum), Sam Oldman 🐀, 🤯Matera the Mad🤯, CatSalad🐈🥗 (D.Burch), Neil E. Hodges, Dustin Lang, Claire, The Ultimate Worrier, maya_b 🇨🇦, Martin Schröder, James 🦉 #FBPE 🇪🇺, Tommi 🤯, Micah Lee, Voline, Don Burnside, Ferdi Magellan, Alison Wilder, Ryan, Lazarou Monkey Terror 🚀💙🌈, Zonkerh, ⁂GatoOscuro⁂ ¯\_ (ツ) _/, gentlegardener, Cthulku, Lord Caramac the Clueless, KSC, Scottish Lass, Dusk To Don, diana 🏳️⚧️🦋🌱, TheWholeTruthXX 🎨 ❤️ 🍁 🛡️, nullagent, Jessie (they/she) 🍓 🏳️⚧️ 🍉, Mad Villain, Hubert Figuière, Kat Marchán 🐈, Stefan, patkukoj, Heretical_i, Chumchum Tumtum, Cederbs, Max Xaine, Lisa Melton, RigsbySiv, Kancept and 183 other people reshared this.
@ElBeeToots
😂 🤣
Hegseth syndrom = Schroedinger syndrom for MAGA clowns, not matter if the box is opened or close, Hegseth is in the same stupid state
Signal - Private Messenger
Signal is a messaging app with privacy at its core. It is free and easy to use, with strong end-to-end encryption that keeps your communication completely private. • Send texts, voice messages, photos, videos, GIFs, and files for free.App Store
Of course such a button didn't exist.
The funny 🤔 thing is that Waltz, Hegseth etc. are wildly incompetent and have no need of any such button to constitute a national security risk.
reshared this
Katrien M Michiels reshared this.
Best advertising now.
But even Signal can't protect vs man in the middle invitations.
Is this the corect naming of the exploit?
Or invitation hack, invitation exploit?
Or is it a user error?
But I guess there will be some add blockers soon.😃
Testing Postboxes
This is me testing the new Postboxes
I don't believe it's enabled yet, but lets test it anyway.
Details on how to use them:
friendica.world/display/84b6ef…
Postbox Add-Ons for Friendica
Bookface 1.6 introduces a new feature called "Postboxes" that allows you to create a post with a colorful background like a similar feature on Facebook. It's built into the Bookface scheme, but I also created TWO add-ons for Friendica if a server administrator wants to roll it out for all of their users regardless of what theme they prefer.Postbox: simply adds a minified stylesheet to the head with the Postbox styling. It doesn’t add any interface for creating a Postbox, but users can still create them manually with BBcode.
Zen Postbox: adds the minified stylesheet to the head, but also adds a tool to the post composer to insert a Postbox or wrap selected text in one.
To manually create a Postbox just wrap your text in the Postbox class BBcode like this:
[class=postbox-redblue]Text that will be wrapped[/class]
Make sure to PREVIEW it before you post it! While Friendica's Postboxes do allow more content than just plain text, certain formatting blocks can't be placed inside them.
If everything looks good, go ahead an POST it. Anyone using Bookface or any server using either the "Postbox" or "Zen Postbox" add-ons will see it like this:
If the "Zen Postbox" add-on is enabled it adds a button for wrapping/inserting a Postbox to the post editor:Full Documentation of the "Zen Postbox" add-on is available as a GitLab Wiki.
Keep in mind that other servers that don't implement Postbox styling, other platforms (like Mastodon), and third-party apps will not show these colored backgrounds. This feature only works in the Friendica webapp/website.
This is what that post would look like in the stock "Frio" theme without the add-ons:
#bookface #friendica @Friendica Admins @Friendica Developers
like this
irelephant and Neil E. Hodges like this.
reshared this
irelephant, Shannon Prickett, patter, Charlie Stross, skribe, Tom, Trending Bot, Trendy Toots, DeterioratedStucco, Stefan Elf, David Chisnall (*Now with 50% more sarcasm!*), Oli, Shell, Peter Sefton 🇪🇺🇺🇦, Fluffgar 🏴 HAS MOVED, GhostOnTheHalfShell, Neil E. Hodges, ageofcool, Billy Smith and mrkvnz reshared this.
Doesn't seem unlikely, and while liking the money, I am dreading having to clean up the mess.
I honestly haven't been impressed at all with AI code, it can only do what's already been done, and even then it just apes it.
2028- Senior devs able to fix AI mess and debt have made enough money. They buy a farm and run away from this mess.
Slightly extreme numbers both way.
Good programmers are going to be more hard to find, because people coming up on vibe coding are going to struggle.
DeterioratedStucco reshared this.
I'm senior dev on my project. I've 30+ years in the industry and looking after a bunch of fresh graduate developers.
I spend my days cleaning up AI slop from their code #facepalm
I recently had one developer "fix" a non fatal error filling up the log files... .... by commenting out the line that wrote to the logs.
I yearn for my retirement in 10 years.
DeterioratedStucco reshared this.
Me, last week...
ruby.social/@gnoll110/11418796…
His limiting resource is going to be maintenance programmers.
reshared this
DeterioratedStucco and Billy Smith reshared this.
reshared this
Billy Smith reshared this.
That prediction is not even close. Right now when I ask an AI to write a powershell script that does X, it will come up with something using commandlets that don’t actually exist. You can’t debug code that is made from the magical land of Peter Pan, where everything you imagine becomes reality.
I always end up writing the script myself from scratch.
Even if AI-written code is great and golden, there is no way we can use it for secure or critical applications unless a human understands every single line and all the interactions.
The hours to audit all that are comparable to the hours it would take to write it manually in the first place.
2027 -100% of code is scratched with pointy sticks by surviving great apes on wet and radioactive sand.
If you are the type of coder that copies code from stackoverflow, AI just might be able to do your job. That's basically what it does and then a bit more.
I tried the public chat ones to do a couple things. I needed to copy/paste some C++ code into Python and convert it. Had to talk to the same hardware. The AI did wonderfully.
It couldn't make a C++03 TMP thing to create the fizzbuzz string--but it would have convinced some. It guessed about what my code does when asked.
I was thinking about a rate of 300+ euro per hour 😈😂
#Singapore #365 #365Project #Fediphoto365 #Photo365 #365in2025 #365in25 #Cat #CatsOfPixelfed #CatsOfMastodon
Singapore’s Airforce Museum
Yesterday, we cycled to the Airforce Museum. Actually, we also cycled there on Monday, but this time it was open. We knew it would be closed on Monday, but because the pool we normally swim at has changed its operating times so it’s also shut on Monday (and every Monday) we chose to journey to the museum in preparation for yesterday’s adventure. Yes, it’s complicated.
What a difference five days make. Monday was stinking hot, and the ride really took it out of us. There are a lot of hills. Friday, the weather was cool (and wet) and came after two days of (what they calle here) a monsoon surge. In other words it rained continuously for those two days. So, the ride was considerably more pleasant.
The museum was fun. As you might expect, there are lots of planes, helicopters, and anti-aircraft weaponry on display. There’s also lots of displays detailing the history of Singapore’s Airforce. There are even a few games the public can play, including a flight simulator. And the best thing is that it’s free (well, all except the flight sim).
I took a few photos. Some are even of the aircraft. But most are of the engines they have on display. I plan to use them as reference photos for some 3D modelling on a project I’m working on.
In any case, we had fun and it was a great day out (despite my eldest falling off his bicycle on the way back. He’s fine).
skribe
in reply to Bert Ernste • •Bert Ernste
in reply to skribe • — (NL | BR) •I think that the main tree in this Kaapse bos (Cape forest) is the European or common beech. Alas I am not very knowledgeable on the subjects of plants and trees.
(The name Kaapse bos was given to the area in 1750 by its new owner, mr Hendrik Swellengrebel, who had been governor of the (Dutch) Cape Colony. He found these woods similar to the ones behind Table Mountain near Cape Town, it seems.)
skribe likes this.
skribe
in reply to Bert Ernste • •