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

scottjenson, to random
@scottjenson@social.coop avatar

The world needs some cross between Processing, HTML, and Google Docs.

Processing: A programming environment with lots of helpful libraries
HTML: a simple display model that can be viewed everywhere
Docs: an underlying sharing mechanism

There are just too many core problems that need to be solved over and over by each app. It's more than just getting the right library as there are services involved.

Surely someone has taken a crack at this?

sergi,
@sergi@floss.social avatar

@scottjenson for a "sharing mechanism", do you mean something like CRDTs?

https://crdt.tech/

sergi, to mastodon
@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 random
@sergi@floss.social avatar

Please, don't ever let you company adopt Netskope. I'm constantly running into websites wrongly categorized and getting warnings about if I want to proceed.

Plus, they hijack the TLS certificates which makes software development a hell. You need to manually config each of your CLI tools to trust a special set of "Netskope certificates" to have the chain work.

freakazoid, to random
@freakazoid@retro.social avatar

I wonder how many projects end up shooting themselves in the foot when using an ORM because they fail to resist the temptation to let the ORM objects leak into their API?

I worked on one project that had to make DB schema changes every time they changed their API because of this. It made it very difficult to maintain compatibility across updates without complicating their schema, too.

sergi,
@sergi@floss.social avatar

@freakazoid this is so silly. If the APIs happen to mimic your model, sure, just wire up something so that the model gets directly serialized to avoid some boilerplate. But if the API diverges and there is no reason to change the model, please don't!

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

I broke my blog and CSS is not loading. Still, the website is fully usable and nice to read and navigate. I feel proud.

birdibirdson, to pixelart
@birdibirdson@mastodon.gamedev.place avatar

rock 🌱

sergi,
@sergi@floss.social avatar

@birdibirdson pretty rock!

simon, to random
@simon@simonwillison.net avatar

Asking the most important questions (using ChatGPT voice on the iPhone)

sergi,
@sergi@floss.social avatar

@simon @michaelrhanson you would put the "excelente" at the end if you wanted to emphasize it.

art_codesmith, to javascript
@art_codesmith@toot.cafe avatar

After a bit of playing with #FastAPI, I feel like it's really, well, API-oriented. You can have templating of course, but it's just a liiiittle clumsier than returning JSON (e. g., you need to manually inject the request into it).

So I'm not entirely sure if I should stick to my original plan of mostly rendering HTML and using #htmx, or if I should go with the framework flow and make a #Vue app. Probably the latter TBH.

#webdevelopment #python

sergi,
@sergi@floss.social avatar

@art_codesmith what are your requirements for the backend framework? Any reason to discard Flask or Django?

sergi,
@sergi@floss.social avatar

@art_codesmith got it. Got it. Yeah, I haven't had the opportunity to dabble with a native async framework before, something I also want to try. You might want to check out some of the ones listed on https://github.com/sponsfreixes/jinja2-fragments like Quart or Sanic to get a feel of how they use templating.

bkuhlmann, to random
@bkuhlmann@mastodon.social avatar

This is a good talk on #htmx by Martijn Dashorst if you need more examples/exposure. Plucked one of my favorite slides from the talk below (make sure to follow the slide link as well -- so great -- to Roy Fielding's original talk).

https://www.slideshare.net/dashorst/htmx-web-10-with-the-benefits-of-web-20-without-the-grift-of-web-30

sergi,
@sergi@floss.social avatar

@bkuhlmann Is there a recording of this talk?

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

"It is also expressed in what I think is best summarized as "Industry Fomo". Developers know full well that using next.js to create a relatively simple website is overkill, inappropriate at best, but they see themselves required to use industry-grade technology because job requirements are not listing skills anymore, instead they are listing tools and frameworks."

https://helloyes.dev/blog/2023/craft-vs-industry/

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

Client libraries are better when they have no API: https://csvbase.com/blog/7

cferdinandi, to random
@cferdinandi@mastodon.social avatar

@Amy_Hupe It's wild how often I come back to your burnout talk, and how I didn't even know it was a talk I needed until you gave it. THANK YOU!

sergi,
@sergi@floss.social avatar

@cferdinandi @Amy_Hupe I tried to find the talk on Amy's website but couldn't find it. Do you have a shareable link?

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 random
@sergi@floss.social avatar

I have a NAS that I use to backup my devices. Now I want to periodically backup that NAS to some cloud storage.

There would be many uploads and very rarely (hopefully never) downloads. So uploads and storage should be cheap, but it's OK if downloads are expensive.

What software and host/cloud providers do you folks recommend? I want to encrypt the data before uploading.

sergi,
@sergi@floss.social avatar

@engarneering mine is a , I'll check out these plugins!

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

Well, the client got confused with syncing a directory with caps with another with no caps, and I lost all the PDFs I had been saving for filing my taxes.

I've heard others complain how the software has not been updated in years, and it's obvious checking their website that they don't care for non-business users anymore.

Time to look for a better alternative. Any recommendations?

sergi,
@sergi@floss.social avatar

@engarneering thanks for the resource! It recovered some stuff, but I'm not 100% sure it was everything. I didn't know the files were gone for a while, so I wouldn't be surprised if some data got rewritten.

Fortunately it's all forms and documents I can download from websites (401K documents, W2, etc), so I'll just go thought everything again to make sure I'm not missing anything.

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