@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.

sergi, (edited ) to random
@sergi@floss.social avatar

I would like to hear from people using screen readers. Do you prefer the hashtags to be intermingled in the body of the message, or separately at the end?

Example of the former:

"I did a and after doing I was happy"

Example of the latter: this post 😉

Please boost.

sergi, to Podcast
@sergi@floss.social avatar

Looking for a player for . Any recommendations?

I see that has a good bunch, but would like some opinions before trying every single one, lol.

The only requirements are that supports local storage and remembers the last playing position.

sergi, to random
@sergi@floss.social avatar

New release of Jinja Fragments is out with support for Litestar thanks to @pythonbynight !

https://pypi.org/project/jinja2-fragments/

sergi, (edited ) to Blog
@sergi@floss.social avatar

If when landing on a 's home page you are greeted with a list of the most recent articles, what do you prefer to see?

Assume that each element of the list links to the standalone article.

Don't consider the feed when answering, that will be handled separately (full article).

sergi, to webdev
@sergi@floss.social avatar

This must be the best explanation I've read so far about using "article" and "section" for : https://www.smashingmagazine.com/2022/07/article-section-elements-accessibility/

sergi, to ai
@sergi@floss.social avatar

Interesting discussion about and with Luiza Jarovsky, @emilymbender and @alex

https://youtu.be/CGs76fSYNSw?feature=shared

sergi, to gamedev
@sergi@floss.social avatar

These were 12 minutes well spent. Video: How we fit an game into 40 Kilobytes.

https://youtu.be/ZWQ0591PAxM?feature=shared

sergi, to webdev
@sergi@floss.social avatar

"Web components have their own grain and it favors enhancement over replacement"

"if you’re looking for longevity, opt for a technical approach of augmentation and enhancement over replacement. The web’s grain is arranged in that direction."

https://blog.jim-nielsen.com/2023/html-web-components/

sergi, to gamedev
@sergi@floss.social avatar

Does anybody know how good is this about for somebody with 0 experience?

https://www.humblebundle.com/software/solo-indie-game-dev-essentials-bundle-software

What attracts me more are the ones about , design, and 2D.

sergi, to mastodon
@sergi@floss.social avatar
sergi, to random
@sergi@floss.social avatar

What cool top-level domain do you think is appropriate to use for a personal website and as email domain?

It is not a blog, just a website listing some of my projects and career. In other words, to replace https://cub3.net with something easier to spell.

Today I just discovered ".digital" is a thing, but of course "sergi.digital" is already snatched, probably by some domain speculator.

sergi, to random
@sergi@floss.social avatar

@admin How happy it makes me that our small instance is reaching its goal :mastodon: 😍

sergi, to python
@sergi@floss.social avatar

A Deep Dive Into Python's functools.wraps Decorator
https://jacobpadilla.com/articles/Functools-Deep-Dive

sergi, to python
@sergi@floss.social avatar

New post: Speed up Python dictionary lookups

You can "intern" strings to improve performance of dictionary lookups, but using them is not as straightforward as one can think.

https://sergiswriting.com/python-sys-intern/

sergi, to retrogaming
@sergi@floss.social avatar
sergi, to RSS
@sergi@floss.social avatar

@matthiasott I was reading your latest newsletter and would like to mention as a reader: https://miniflux.app/

I've been very happy with the hosted version so far!

sergi, to python
@sergi@floss.social avatar

How to create a Linux Desktop entry for PyCharm: https://sergiswriting.com/pycharm-shortcut/

sergi, to android
@sergi@floss.social avatar

Any recommendations of software for Android tablets to mock up web UIs? I have an Android device with a stylus, so I would like to use that instead of the mouse of my PC.

sergi, to random
@sergi@floss.social avatar
sergi, to random
@sergi@floss.social avatar

Changing Directory with a Python Context Manager: https://dev.to/teckert/changing-directory-with-a-python-context-manager-2bj8

sergi, to blogging
@sergi@floss.social avatar

I want to hear what you folks use to sync blogs/webpages over SFTP.

So, the setup is that you have a bunch of files (HTML, CSS, etc) on your local computer, and you want to update your hosting with the latest version, having only SFTP access.

I am mounting it locally with sshfs and then using "rsync -vuz --delete --recursive <source> <destination>", but I feel like there is a better way (or better rsync options).

sergi, to pixelart
@sergi@floss.social avatar

Hey fediverse, where can I find good pixel art wallpapers? I'm ok with dropping a few bucks for them.

sergi, to python
@sergi@floss.social avatar

How Many Lines of C it Takes to Execute a + b in Python?

https://codeconfessions.substack.com/p/cpython-dynamic-dispatch-internals

#C

sergi, to random
@sergi@floss.social avatar

hi @elementary. Is the Slack Community restricted to Gmail, Apple and Elementary emails? I can't figure out a way to join.

sergi,
@sergi@floss.social avatar

@elementary that worked, thanks!

glyph, to random
@glyph@mastodon.social avatar

Whenever I post a bunch of stuff on here I get superstitious. Has the site actually managed to process my toots yet? Sometimes I get bursts of notifications that cluster together in odd ways. Sometimes things are so close to real time this feels like a chat app, sometimes it feels like a fidonet email system with even initial reactions delayed for hours. I cannot help but wonder if this is the architecture of Mastodon or some property of my audience or just Internet weather.

sergi,
@sergi@floss.social avatar

@glyph have you noticed if the posting time/day has an effect on that?

I remember hearing that influencers have to figure out what's the best schedule for their audience to get maximum engagement/views.

I'm not saying that you are an influencer, but that there is people that say these are factors to account for :)

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