@sergi@floss.social
@sergi@floss.social avatar

sergi

@sergi@floss.social

🐍 Python aficionado
🕸 Web dev tinkerer
🎲🕹 Gaming enthusiast
🗣 English, Catalan, Spanish, Italian

This profile is from a federated server and may be incomplete. Browse more on the original instance.

glyph, to random
@glyph@mastodon.social avatar

It’s friday, so it’s time for a Glyph update! This one, predicably, is mostly about PyCon. https://www.patreon.com/posts/patreon-update-104876830

glyph,
@glyph@mastodon.social avatar

I write a lot of stuff about software and other things as well, https://blog.glyph.im . Most recently, a representative sample of this is my article about the AI hype cycle: https://blog.glyph.im/2024/05/grand-unified-ai-hype.html

glyph,
@glyph@mastodon.social avatar

Do you use Python's built-in datetime module, but its lack of type safety is annoying? Don't like the fact that datetime.datetime subclasses datetime.date while violating LSP? Bothered by the fact that aware and naive datetimes are the "same" type, with no way to keep them separate? Check out DateType, which solves these problems with custom annotations without even being a separate library; it's all datetime objects at runtime: https://github.com/glyph/DateType

Mer__edith, to random
@Mer__edith@mastodon.world avatar

Ignoring expert consensus, feeling no shame following exposés showing tech lobbyists shaping these EU surveillance proposals, EU politicians are at it again

So, we'll reiterate: Signal would rather leave the EU market than subject our users to mass gov surveillance. FULL STOP

https://netzpolitik.org/2024/internes-protokoll-belgien-will-nutzer-verpflichten-chatkontrolle-zuzustimmen/

polotek, to random
@polotek@social.polotek.net avatar

We got solar on the house last year. It wasn't necessarily about saving money for me. It became important to me to take a concrete step towards combatting climate change.

But something else started to dawn on me too. The fact that I'm now generating my own power, from an essentially unlimited source, is a truly radical act. I've been thinking a lot about creating a society centered around abundance instead of scarcity. It's not just theoretical.
https://assemblag.es/@theluddite/112496059286904697

jasonkoebler, to random
@jasonkoebler@mastodon.social avatar

Scoop: I obtained the contract Samsung requires independent shops to sign to buy phone repair parts from them.

It requires:

  • "Daily" dumps of customer data
  • The "immediate destruction" of any phones a shop comes across that has third-party parts

https://www.404media.co/samsung-requires-independent-repair-shops-to-share-customer-data-snitch-on-people-who-use-aftermarket-parts-leaked-contract-shows/

golgaloth, to CrystalsHashtags
@golgaloth@writing.exchange avatar

Someone reminded me it's time to post some alternatives to Adobe software:

alcinnz, to random
@alcinnz@floss.social avatar

Workshop in Barcelona: How to Build a Low-tech Website - Low Tech Magazine:
https://solar.lowtechmagazine.com/2024/05/workshop-in-barcelona-how-to-build-a-low-tech-website/

freakazoid, to random
@freakazoid@retro.social avatar

This problem is why Arch Linux is both harder and easier to use: harder because you have to configure everything yourself. Easier because there's very little magic that's invisible until it's not.

https://mastodon.social/@jk/112485636960778400

futurebird, to random
@futurebird@sauropods.win avatar

E-bikes are very cool and I'm glad they are getting popular.

However.

There is a big difference between a crash at 12mph and one at 20mph.

Your ebike can give you injuries normally only found in motorcycle accidents. And there isn't enough advice on what constitutes sufficient maintenance for ebikes.

If you don't get balding tires fixed on a regular bike you could fall off and bruise or break a leg.

At ebike speeds that same fall will shatter your leg in dozens of pieces.

BE CAREFUL

futurebird,
@futurebird@sauropods.win avatar

Keep your tires and breaks in top condition.
The breaks on ebikes wear out very fast since they have to grip tires moving much faster and I don't think they have the ideal material selected for that task as of yet. Do not balk when you find out you need to get new pads every single year if you ride daily.

The same is true of the tires. They wear out fast, and can get smooth and dangerous.

Since you can ride an ebike at 20mph without being an athlete, it's just more dangerous.

mhoye, to random
@mhoye@mastodon.social avatar

I linked to this earlier, but this is genuinely great: a new ways counting enormous quantities of data that will give you something statistically likely to be very close to the correct answer for potentially a vanishing fraction of the computation cost of the deterministically correct answer: https://www.quantamagazine.org/computer-scientists-invent-an-efficient-new-way-to-count-20240516/

HEX, to random
@HEX@typo.social avatar

I’m considering offering discounts on fonts for websites that are not annoying. 10% off for each of the following:

  • No cookie/privacy consent is needed.
  • No pop-ups or other dickbars.
  • The homepage uses less than 1 megabyte of data to load.
  • Basic functionality doesn’t require JavaScript.
  • The layout works in a small 320px-wide viewport.
weirdwriter, to webdev

If anybody wants to stop Firefox from opening PDF's in the browser, I honestly don't get why browsers try to even render PDFs anyway, change this value to true. pdfjs.disabled. Change pdfjs.disabled to true.

catnip, to workersrights
@catnip@mastodon.online avatar

Does anybody have any tips on what employers can do to help neurodivergent employees at work?

Boosts welcome.

djsundog, to random
@djsundog@toot-lab.reclaim.technology avatar

the inverse of "make sure you have working backups of what's important" is "give yourself permission to delete digital detritus that no longer has any value to your life"

you do not need every email you've received for the last decade.

you do not need three copies of every photo you've ever taken with your phone.

you do not need the downloads folder for each of your previous twelve laptops.

you can delete some stuff.

hynek, to random
@hynek@mastodon.social avatar

@anze3db Fedidevs spotted at Saturday morning opening!

dlesieur, to webdev
@dlesieur@fosstodon.org avatar

Can't recommend enough the Hypermedia Systems ebook to web developers. Not only a great resource for learning and "getting" , and acquiring key best practices for using it, but it also makes the case for the classic system architecture, which has been somewhat disregarded over the last decade or two. Should be a worthwhile read, regardless of the framework or app architecture you intend to use.
https://hypermedia.systems/

TechDesk, to ai
@TechDesk@flipboard.social avatar

If you use Slack for work, your messages and DMs to friends and colleagues are now being used to train the company’s machine learning features — and everyone is opted in by default.

A quiet update to the company’s policy suggests messages, data and files sent by users are helping Slack to improve its in-app features like channel recommendations, search results and emoji suggestions, reports @PCMag. Individual users can’t opt out either, something critics have called a “privacy mess.”

https://flip.it/Tb1gRM

Lorenanicole, to python
@Lorenanicole@mastodon.social avatar

Did you know @ThePSF gives out grants for amazing events and workshops and other such things?

This past year some $697k USD!

Support @ThePSF by donating and/or becoming a member!

“Pero Lorena how do I become a member?” Great Q! Go learn more here 👉🏼 https://www.python.org/psf/membership/. FYI becoming a member is FREE! Free I tell you!

tek, to random
@tek@freeradical.zone avatar

I am not exaggerating this:

I created a new hostname in DNS, then added it to my existing webserver config.

It was online for 3 seconds -- 3! -- before getting a 404 request for /.git/config.

If you're relying on obscurity to protect your services, get that right out your fool head today. You have about 3 seconds to get your act together.

evacide, to random
@evacide@hachyderm.io avatar

Threat models matter.

When a platform/service/app tells you they are “private” or “secure” always ask “from whom?”

Criminals, domestic abusers, law enforcement, data brokers, and intelligence agencies are all different attackers with very different capabilities.

blackpythondevs, to random
@blackpythondevs@mastodon.social avatar

We’ll explain more in the opening keynote at PyCon US but officially Black Python Devs is now a US nonprofit for those who have been wanting to show their support you can also do that financially at https://blackpythondevs.com

Lorenanicole, to python
@Lorenanicole@mastodon.social avatar

Very very jazzed to hear about @kjaymiller and his work founding Black Devs. As we know “I came for the language but stayed for the community” so let’s keep pushing the envelope of making our community look like US! 🐍🐍🐍🐍🐍

image/jpeg

pythonbynight, to python
@pythonbynight@fosstodon.org avatar

Okay, so you've seen the guides on what to do at PyCon.

But have you seen the guide for those of us that are not able to attend?

https://pythonbynight.com/blog/vicarious-pycon

treyhunner, to random
@treyhunner@mastodon.social avatar

Out of curiosity, I searched for the hashtag on Mastodon and Twitter and scrolled back 16 hours and started counting posts. 🤔

I counted:

87 posts on Twitter on the PyCon hashtag 🐦

134 posts on Mastodon on the PyCon hashtag 🐘

The PyCon conversations have finally moved (mostly) to Mastodon! 🙌

Not a HUGE difference, but enough that I felt like there was more activity and decided to confirm my suspicion. 💗

buru5, to Nintendo
@buru5@mstdn.games avatar

I have it on good authority that "Switch 2" (named the "Swipe") is a card-based console with a card reader built into the unit. The cards, once swiped, unlock access to: full games, wallpapers, avatars, DLC, and even apps like Hulu, YouTube, and Netflix. The Swipe will be released by the end of Q2 2025, alongside over 200 cards purchased separately in booster packs.

One of the neat things about this is that, if you still have old e-Reader cards, you can swipe them for fun extras.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • kavyap
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • ngwrru68w68
  • Durango
  • thenastyranch
  • Youngstown
  • rosin
  • slotface
  • tacticalgear
  • mdbf
  • ethstaker
  • JUstTest
  • khanakhh
  • osvaldo12
  • GTA5RPClips
  • cubers
  • cisconetworking
  • everett
  • tester
  • modclub
  • megavids
  • Leos
  • normalnudes
  • anitta
  • lostlight
  • All magazines