Mastodon Feed: Posts

Mastodon Feed

NfNitLoop ("Cody Casterline 🏳️‍🌈") wrote:

So I'm looking at options for doing some basic HTML parsing in #rust

I found html5ever made by the Servo project, but can't figure out how to use it. I check their docs. Aha, you need an implementation of TreeSink which is not provided by the crate. Their example docs use markup5ever_rcdom.

I go to read that crate's docs, and it's a stern warning not to use it – it's only designed for testing.

I settle on some other library for parsing.

… later, I learn that under the hood, it's rcdom. 🤦‍♂️

Mastodon Feed

Boosted by adam@social.lol ("Adam"):
drmaddkap@meow.social ("Dr. Maddkap, Werepsychologist") wrote:

I mean, I’m sure some of them do. Why do you ask?

A price sticker for a book that due to the alignment of the text says do androids dream of dick

Mastodon Feed

Boosted by kornel ("Kornel"):
brakeoutgaming@gamerstavern.online ("BrakeOut Gaming") wrote:

God bless GOG:

"Censorship is quietly deciding which games you can buy.

"We are fighting back.

"Some games vanish. Not because they broke the law but because someone decided they shouldn’t exist.

"For 48 hours, these games are free, because if a game is legal, you should be free to buy it."

https://freedomtobuy.games/

Mastodon Feed

Boosted by jsonstein@masto.deoan.org ("Jeff Sonstein"):
NorcalGma2@sfba.social ("Norcal Gma 2") wrote:

If you ever drive to northern California on hwy 101 be sure to side quest down the Avenue of the Giants. It is a beautiful diversion.
Today, the Avenue was on our way to the river. Summer was deserving of some fun. The temperature was 73°F and the sky was blue. Hard to resist.
My husband's family has their own redwood grove on the avenue. I pointed the sign out to Summer, but her attention was already looking forward to jumping in the Eel River.
A worthwhile afternoon adventure.
A couple of scenes fom our drive.
#Humboldt #Redwoods

The view while driving on the Avenue of the Giants in Northern California. The sun is filtering through the redwoods on to the narrow two lane road.
The view while driving on the Avenue of the Giants in Northern California. The sun is filtering through the redwoods on to the narrow two lane road.
The view while driving on the Avenue of the Giants in Northern California. The sun is filtering through the redwoods on to the narrow two lane road.

Mastodon Feed

Boosted by kornel ("Kornel"):
xinicit@beige.party ("Xavier Horatio Xinicit") wrote:

My wife swears I’m going to be a trophy husband even if she has to study taxidermy

Mastodon Feed

Boosted by cstanhope@social.coop ("Your friendly 'net denizen"):
s0@cathode.church ("s0 Traingirl Era") wrote:

Here’s a #teardown of one of these cheap, unbranded “65W”/33W GaN chargers from AliExpress!

The one I tested was purchased from this listing, for only AU$5 each! (At the time.)
https://www.aliexpress.com/item/1005006320421253.html

First up, the advertising is a bit misleading, as they only support 33W on either outlet, one at a time (or shared, at 5V only). But it does support QualComm QC 2 and 3 on the USB A port, providing up to 20V 2A there.
On the USB-C, it also supports USB PD 3.0 and PPS from 3.3-16V, 2-3A.

I tested one non-destructively for insulation resistance at 500V and as well as sustained USB output, and it passed just fine. But taking things a step further, here’s what’s inside.

One decent quality 2-layer FR4 PCB with solder mask and full silkscreen! It’s marked “BK-384B 33W / Rev 1.0 / 2024.01.18”

(Cont. 1/2)
#Electronics

White plastic USB charger with the chassis cut open showing a PCB under foam piece
The charger in original condition. It’s labelled “GaN” “Super fast charging” “65W” Below it reads “input 110-240V 50/60Hz 0.5A Output DC5V 6.6A, 9V 3A, 12V 2.75A, 20V 1.67A”
The underside of the PCB, showing clearly marked isolation barriers with silkscreen, antistatic warning symbol, and the model BK-384B
Top of the PCB uncovered, showing the mains connectors on the left, PCB, and USB connectors on the right.

Mastodon Feed

Boosted by jsonstein@masto.deoan.org ("Jeff Sonstein"):
copter_chief@mstdn.party ("CopterDoctor") wrote:

When will the European Union condemn Hungary for bypassing sanctions and fixing Russian military equipment? They are a part of NATO and they’re helping Russia kill Ukrainians. Is anybody gonna stand up to Orban?

Mastodon Feed

Boosted by jsonstein@masto.deoan.org ("Jeff Sonstein"):
rvps2001 ("Russia-Ukraine Daily News") wrote:

🇭🇺🇷🇺 #Hungary has emerged as a critical conduit for #Russia’s defense industry to circumvent EU sanctions, according to a new investigation by InformNapalm and Militant Intelligence, based on documents obtained through the OpsHackRussia’sDay cyber operation.

https://united24media.com/latest-news/leaked-docs-reveal-how-hungary-became-russias-maintenance-hub-inside-nato-10385

Mastodon Feed

Boosted by jsonstein@masto.deoan.org ("Jeff Sonstein"):
heidilifeldman ("Heidi Li Feldman") wrote:

I was researching a legal matter all day and am just now getting caught up with news. Among the items that seem important but lost among all the Trump regime craziness is this, reporting on a 9 day hunger strike by a detainee at the Florida Everglades ICE detention camp. https://www.independent.co.uk/news/world/americas/us-politics/alligator-alcatraz-florida-hunger-strike-b2800557.html

Mastodon Feed

Boosted by mattblaze@federate.social ("Matt Blaze"):
mattblaze@federate.social ("Matt Blaze") wrote:

We are pleased to announce the final* schedule of talks for the 2025 Symposium on Election Security at the DEF CON Voting Village, August 8-10, in quiet, sleepy Las Vegas.

Hope to see you there!

https://www.mattblaze.org/papers/VV2025-schedule.pdf

* -subject to change

#VotingVillage #DEFCON33 #Elections

Mastodon Feed

Boosted by ChrisWere@toot.wales ("Chris Were ⁂🐧🌱☕"):
chris@video.thepolarbear.co.uk ("Chris Were but on PeerTube") wrote:

IceWM - on Debian Linux - desktop tour

https://video.thepolarbear.co.uk/w/aaKasgKnszPkU6V5RfLt4V

Mastodon Feed

adam@social.lol ("Adam") wrote:

Fuck you, Ryan Kulp. On behalf of all of the minority groups.

A screenshot of a conversation on Twitter in which Ryan Kulp says "we get this every few days at TRMNL. i'm not going to add a bunch of nasty fields to checkout for a minority group, so i tell them we will generate an invoice for them manually post-sale"

Mastodon Feed

adam@social.lol ("Adam") wrote:

Just learned some really sad things about Ryan Kulp, the guy who makes the TRMNL. Would not have bought one if I had known beforehand.

A screenshot of a Twitter conversation in which Ryan Kulp says "(saying 'my partner' is theft from everyone who took a risk and sealed the seal. It cheapens the word)" and "whenever someone says 'my partner' I assume they are gay"
A screenshot of a conversation on Twitter in which Ryan Kulp shows a photo of a Tesla Model 3 and says "here's mine. We love our model 3. The fact that the world hates him makes it even sweeter"
A photo of Ryan Kulp wearing a T-shirt featuring Donald Trump with an American Flag bandana.

Mastodon Feed

fromjason ("fromjason.xyz ❤️ 💻") wrote:

I measure my stress by how bad the junk food I consume becomes.

This morning, I am at Twinkie-levels of anxiety.

Mastodon Feed

Boosted by cstanhope@social.coop ("Your friendly 'net denizen"):
allrite@allrite.at wrote:

Turns out those tech bros were right. With the aid of AI, humanity achieved singularity. Well, the so called elite did. Yes, they were right, but they were also so wrong.

In typical elite fashion, the Singularity decided that ordinary humans were redundant and eliminated them.

Also in typical elite fashion it didn't understand what supported it and only thought short term.

The systems failed with nobody to replace them. Nobody was left to mourn the Singularity's end.

#MicroFiction #tootfic

Mastodon Feed

Boosted by slightlyoff@toot.cafe ("Alex Russell"):
logicalelegance@mastodon.online ("Elecia White") wrote:

The Datasaurus Dozen is one of the most amusing datasets I've ever seen. Mean and standard deviation: same. X Y correlation: same!

Images: different!

How to lie with statistics. And dinosaurs.

https://www.research.autodesk.com/publications/same-stats-different-graphs/

Screen shot of the datasaurus data set as XY plots

Mastodon Feed

Boosted by cstanhope@social.coop ("Your friendly 'net denizen"):
Kjaerulv ("kjaerulv") wrote:

“Today, people find it easier to imagine that we can build intelligence on silicon than we can do democracy at scale, or that we can escape arms races. It’s complete bullshit. Of course we can do democracy at scale. We’re a naturally social, altruistic, democratic species and we all have an anti-dominance intuition. This is what we’re built for.”
https://www.theguardian.com/environment/2025/aug/02/self-termination-history-and-future-of-societal-collapse

Mastodon Feed

jscalzi@threads.net ("John Scalzi") wrote:

This (starred!) review from Kirkus has mild spoilers for the book, but I'll give you the summation: "Classic Scalzi space opera at its wisecracking, politically pointed, and, somehow, fiercely optimistic finest." I'll take it!

https://www.kirkusreviews.com/book-reviews/john-scalzi/the-shattering-peace/

Mastodon Feed

pzmyers@freethought.online ("pzmyers 🕷") wrote:

I asked my local spider about the validity of divining fate by consulting spiders. She told me yes, but you can't trust the humans who report their answers.

https://freethoughtblogs.com/pharyngula/2025/08/02/i-can-do-arachnomancy-too/

The spider who lives near my internet router

Mastodon Feed

Boosted by slightlyoff@toot.cafe ("Alex Russell"):
timnitGebru@dair-community.social ("Timnit Gebru (she/her).") wrote:

When it’s the likes of Rolling Stone and Vanity Fair doing serious journalism on Silicon Valley because other so-called serious news outlets are doing more press-releases-as-journalism to maintain their access….Via @lopalasi

https://www.vanityfair.com/news/story/christianity-was-borderline-illegal-in-silicon-valley-now-its-the-new-religion

Mastodon Feed

ChrisWere@toot.wales ("Chris Were ⁂🐧🌱☕") wrote:

Hey Fedi I'm in the market for a new #Linux terminal. What are you using/recommend and why?

I'm current on the vanilla xfce4 terminal and have been thinking about giving xterm a shot.

Mastodon Feed

Boosted by jsonstein@masto.deoan.org ("Jeff Sonstein"):
w3c@w3c.social ("World Wide Web Consortium") wrote:

📆 7-9 October 2025, London, UK 🇬🇧
W3C is pleased to call for participation in: IAB/W3C Workshop on Age-Based Restrictions on Content Access

The Internet Architecture Board (IAB) and World Wide Web Consortium
(W3C) are convening a workshop to examine the technical and
architectural implications of different approaches to implementing
age-based restrictions on access to online content.

Paper submissions due by: 2025-08-08
More at:
https://www.w3.org/events/workshops/2025/iab-w3c-workshop-on-age-based-restrictions-on-content-access/

Mastodon Feed

Boosted by slightlyoff@toot.cafe ("Alex Russell"):
carnage4life@mas.to ("Dare Obasanjo") wrote:

PBS and NPR have been defunded by law passed by Congress, not just an executive order. The government agency that funds them will wind down in a few weeks.

It’s crazy all of this was mapped out in Project 2025 and is being executed like clockwork. A well oiled machine of economic and intellectual sabotage.

https://www.cbsnews.com/news/corporation-for-public-broadcasting-npr-pbs-federal-cuts-operations-end/?ftag=CNM-00-10aab7e&linkId=848102914#

Mastodon Feed

Boosted by jwz:
IceWolf@masto.brightfur.net ("Frost, glow wolf 🐺:therian:") wrote:

@NanoRaptor Ha... hahaha... I'm Tabs Georg.

Mastodon Feed

Boosted by jwz:
NanoRaptor@bitbang.social ("Nanoraptor") wrote:

Studies have found the most logical and fastest keyboard layout is not between key orders like qwerty and dvorak, but one that prioritises the size of keys depending on the frequency of those letters in the language being typed, regardless of the ordering.

This Apple keyboard has an English layout. More frequently used letters in english are larger and slightly taller, less used letters are smaller and lower, which conveniently prevents tyops.,

A photo of an Apple keyboard with the alphabet keys changed depending on the frequency of letters in English in this case. the E, A, D, T, I, O, L and N keys are quite large, while Q, X, Z, K, and V are quite small.

Mastodon Feed

Boosted by jwz:
jonny@neuromatch.social ("jonny (good kind)") wrote:

the LLM is not a learning aid, it is an absolute barrier to learning. it is not similar in kind to copy/pasting from stackoverflow or cliffs notes. it fully supplants the entire process of learning, and the person using the LLM never improves their understanding because the LLM cognitive workflow never engages with even the shape of the problem.

Mastodon Feed

Boosted by jwz:
simontatham@hachyderm.io ("Simon Tatham") wrote:

A weird thing about #Slack on #Linux #X11: whenever it gains keyboard focus, it immediately reads the X11 clipboard, even if you didn't try to paste anything. I see no evidence that it _does_ anything with what it reads, but I know it reads it.

I found this out by accident, because I wrote a stunt X11 client which owns the clipboard for just long enough to paste _once_, and then terminates. The idea was to queue up three different pastes on the command line, and paste them in quick succession into fields of a form. Works very well, _unless_ I accidentally mouse over Slack on the way to the form I want to paste into – then my focus-follows-mouse activates it, and it consumes one of my clipboard strings!

I have no idea why, or whether it's on purpose. I'm prepared to give it the benefit of the doubt, by assuming until further evidence that it's some unforeseen emergent consequence of the huge wobbly tower of libraries and wrappers and browsers that the desktop Slack app is built on top of. But it's not great. Some password managers will put passwords in the clipboard!

Mastodon Feed

Boosted by mattblaze@federate.social ("Matt Blaze"):
mattblaze@federate.social ("Matt Blaze") wrote:

@cy I don't think so. There's nothing stopping you from lying down under the hoop armrests/supports. It's a pretty standard NYC parks bench design dating back at least 75 years.

But thanks for shitting on my post with your petty moralizing. Much appreciated.

Mastodon Feed

Boosted by NfNitLoop ("Cody Casterline 🏳️‍🌈"):
jsonstein@masto.deoan.org ("Jeff Sonstein") wrote:

I love this

https://examplecat.com/

Mastodon Feed

Boosted by NfNitLoop ("Cody Casterline 🏳️‍🌈"):
grrlscientist ("GrrlScientist ⧖ Ⓥ 🇺🇦") wrote:

"#Capitalism is the extraordinary belief that the nastiest of men for the nastiest of motives will somehow work together for the benefit of all."

-- John Maynard Keynes, English economist and philosopher

#PredatoryCapitalism #economy #philosophy #politics #GreedyBastards #FascistAmeriKKKa #tyranny