Toots for anthony@indieweb.social account

Written by Anthony on 2025-01-14 at 10:50

I got interested in it after looking at “slow heat” https://www.youtube.com/watch?v=2Iz9HCcrXNI (french video).

Basically, don't heat the air as much and focus on sources of heat close to humans.

=> More informations about this toot | View the thread

Written by Anthony on 2025-01-14 at 10:36

I got myself a heated desk pad a few weeks ago. This is a game changer. No more frozen fingers and I don't have to turn the heating up.

This is the particular model I got but there are plenty of alternatives. 60cm wide seems big enough so I'd recommend avoiding 80cm ones.

https://www.digital-nowmad.com/products/sous-main-chauffant-xiaomi?variant=47570991382860

=> More informations about this toot | View the thread

Written by Anthony on 2025-01-09 at 15:15

Some current discussions about the size of countries reminded me of this gem from The West Wing. https://www.youtube.com/watch?v=vVX-PrBRtTY

Maps are so political.

=> More informations about this toot | View the thread

Written by Anthony on 2024-12-14 at 12:56

One of my favourite feeling as a software engineer is to fix bugs by removing lines of code.

Just done that twice this week.

=> View attached media

=> More informations about this toot | View the thread

Written by Anthony on 2024-12-06 at 21:40

Today I Learned with @tut_tuuut during a pairing session that:

  1. In a Unique Index, NULL values are considered distinct values by default in #PostgreSQL.

  1. PostgreSQL 15+ supports a NULLS NOT DISTINCT option to change that behaviour.

  1. #Django 5+ supports nulls_distinct=False on UniqueConstraint to create the unique index with that option.

Neat!

https://framapiaf.org/@tut_tuuut/113607537015184362

=> More informations about this toot | View the thread

Written by Anthony on 2024-12-02 at 12:43

Lots of appreciation for #Django's inspectdb and admin. I just started on an existing non-Django project with 10+ years of data. So I put together an empty Django project, used inspectdb to give me some models based on the data structure. I'm now adding ModelAdmin classes, tweaking the models with __str__ and such.

With very little efforts, I have a very convenient way to visualise and navigate the data (including maps for geometries).

=> More informations about this toot | View the thread

Written by Anthony on 2024-11-20 at 09:32

Seen in a #JS codebase today:

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/109693059224444168
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
350.715573 milliseconds
Gemini-to-HTML Time
1.086576 milliseconds

This content has been proxied by September (ba2dc).