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

art_codesmith, to javascript
@art_codesmith@toot.cafe avatar

After a bit of playing with , 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 , or if I should go with the framework flow and make a app. Probably the latter TBH.

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

I am looking for something that would support file syncing ala , but at the same time allows selecting some directories/files somewhere in your system that you don't want to sync but you want to backup.

All this using some remote server (call it cloud), so that even if I lose my physical media I can recover the data on new devices.

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.

sergi, to android
@sergi@floss.social avatar

I think some hardware on my is broken.

This morning, it froze and then screen went blank. I've been able to reboot it a few times by leaving it unplugged for a few minutes, then plugging it in and pressing the power key for 30 secs. But after entering PIN, it freezes and dies again.

I managed to do a hard reset, but while downloading the apps it froze again. I'm discarding a software issue as it seems to freeze when it's doing "work". Any ideas?

mkennedy, (edited ) to random
@mkennedy@fosstodon.org avatar

I got my new YouTube / streaming studio set up (may involve a bit of green screen but still fun). What do you all think? Cool? Or do you prefer the plain gray background?

sergi,
@sergi@floss.social avatar

@mkennedy It looks great! But it looks so great, that it's a bit distracting? Maybe just dim the lights in the background a bit (with curtains?) so that the spot is on your face.

admin, to random
@admin@floss.social avatar

We've proceeded 300 reports this weekend.

For comparison, our lifetime average before this weekend is less than 1 report per day.

sergi,
@sergi@floss.social avatar

@admin time for extra donations.

scottjenson, to random
@scottjenson@social.coop avatar

Traveling right now staying in Airbnbs so I have access to kitchens. I'd like to avoid restaurants and fast food, only because I want to eat healthy.

What are your super simple grocery store meals that didn't have much waste? I'll go first: buy fresh soup to reheat and some whole wheat rolls.

I'd steam some veggies if I could make them taste more interesting (not a problem at home with a full pantry) the problem is that anything normal I'd buy I'd use a tiny bit and then throw most of it away.

sergi,
@sergi@floss.social avatar

@scottjenson you can't go cheaper and with less waste than rice with beans.

mattwilcox, to random
@mattwilcox@mstdn.social avatar

My mental model when I hear certain words:

  • Web3 === grift === mentally shadow banned.
  • Blockchain === grift === mentally shadow banned.
  • NFT === grift === mentally shadow banned.
  • AI === grift === mentally shadow banned.
  • 10x [anything] === grift === mentally shadow banned.

So far, it's not steered me wrong. And should "AI" ever actually have useful, privacy respecting, local-only, energy-efficient implementations ... it won't be going under the flag of "AI". Because "AI" now === grift.

sergi,
@sergi@floss.social avatar

@mattwilcox Qualcomm is working on "On-device AI", theoretically doing all the processing in your phone without information leaking out.

But the "AI" term stays in there 😬

sergi,
@sergi@floss.social avatar

@mattwilcox before I go on, disclaimer: I currently work for Qualcomm.

That said, I'm not trying to pitch anything, just raising awareness of a hopefully more privacy-friendly usage of these technologies.

Qualcomm is marketing that you can use Stable Diffusion on device, plus having the AI be a personal assistant: https://www.qualcomm.com/products/mobile/snapdragon/smartphones/mobile-ai

Curious to see how it goes!

sergi, to random
@sergi@floss.social avatar

Why It Was Almost Impossible to Make the Blue LED: https://youtu.be/AF8d72mA41M?si=Zchl2IP8nzHJ8SCg

rstevens, to random
@rstevens@mastodon.social avatar

i think i might get super into html tables this year

sergi,
@sergi@floss.social avatar

@rstevens I've build web "apps" that use tables with infinite scrolling and that allow toggling rows between view/edit modes thanks to and it is great.

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