@hvdklauw@mastodon.social avatar

hvdklauw

@hvdklauw@mastodon.social

Dad of 2 girls, Python programmer, gamer, working at https://zupr.io. profile pic made by my daughter.

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

jacob, to random
@jacob@jacobian.org avatar

Just got back from a week backpacking and canyoneering in Utah, and I ... I think the sandstone wore off my fingerprints!? At least, TouchID hasn't worked since I got back. Wild.

hvdklauw,
@hvdklauw@mastodon.social avatar

@hynek @jacob only as long as you don't land on your face!

NunavutBirder, to worldwithoutus
@NunavutBirder@mas.to avatar

If you saw my post with the stamp of the rock form known as “The Pants”, here is a photo of a Polar Bear dwarfed by it, seen through its legs. I had the wrong lens on and couldn’t get a photo of the entire formation and bear.

hvdklauw,
@hvdklauw@mastodon.social avatar

@NunavutBirder I see an arm and a hand (facepalm) above the bear...

hynek, to random
@hynek@mastodon.social avatar

I’m not someone who complains when things change but wtf SONOS. Their new app forces me to re-authorize with Apple Music and then just hangs there. The SONOS Reddit is just people complain about their favorite feature being broken but I literally can’t play music anymore. 🫠

Yes I tried multiple devices, rebooting, and reinstalling the app.

hvdklauw,
@hvdklauw@mastodon.social avatar

@hynek yeah, wish I could downgrade to the old app

bmispelon, to django
@bmispelon@mastodon.social avatar

New article on my blog: a ORM technique I found for combining JSONObject and Subquery to build model instances: https://blog.bmispelon.rocks/articles/2024/2024-05-09-django-getting-a-full-model-instance-from-a-subquery.html

hvdklauw,
@hvdklauw@mastodon.social avatar

@bmispelon oh, this is awesome, for years one of the things I do is write a forum and try to optimize the hell out of getting the related information. Django has gotten better and better but this trick might be the final bit needed to do things in a single query without weird triggers/signals to update related tables when needed.

hvdklauw,
@hvdklauw@mastodon.social avatar

@bmispelon created a pr to fix relationships, ignore the baby writing a book in the tests ;-)

bmispelon, to django
@bmispelon@mastodon.social avatar
hvdklauw,
@hvdklauw@mastodon.social avatar

@bmispelon nice, use factoryboy a lot and usually I create a ArticleNoAuthor factory, then extend it and add the author there, but this is much nicer!

Edent, (edited ) to random
@Edent@mastodon.social avatar

You receive a call on your phone.
The caller says they're from your bank and they're calling about a suspected fraud.

"Oh yeah," you think. Obvious scam, right?

The caller says "I'll send you an in-app notification to prove I'm calling from your bank."

Your phone buzzes. You tap the notification This is what you see.

Still think it is a scam?
1/3

hvdklauw,
@hvdklauw@mastodon.social avatar

@Edent yeah, I would never do that over the phone, I'll tell them I'll hop on my bike to the local bank first thing.

bmispelon, to random
@bmispelon@mastodon.social avatar

The computer is use daily is a ~7 year old laptop with a somewhat small SSD. I'm not very good at pruning docker images, so I've been routinely low on storage space.

Well today I completely ran out. The reason? I was running the build script for a PaaS command-line tool and it consumed over 4Gb of storage space.
4Gb. For a CLI tool.

What a tech world we made 💩🔥💻

hvdklauw,
@hvdklauw@mastodon.social avatar

@bmispelon wow, our backend docker image is 1.5gb and I'm really trying to reduce that.

nixCraft, to random
@nixCraft@mastodon.social avatar

TIL, Netflix has hello world in production
https://www.netflix.com/helloworld 🤔

hvdklauw,
@hvdklauw@mastodon.social avatar

@nixCraft probably just the bare bones health check page

carlton, to random
@carlton@fosstodon.org avatar

I'm trying something new.

I'm going to do a monthly longer form piece on application development,
operations, and the process (and business) of making software.

https://noumenal.es/posts/the-stack-report/3Ak/

hvdklauw,
@hvdklauw@mastodon.social avatar

@carlton great, looking forward to reading it.

gamingonlinux, to random
@gamingonlinux@mastodon.social avatar

"You can check out the full change log on our Discord!"

Please, stop doing this. Don't put important info behind a closed login wall. It's ridiculous. You're just making it more difficult for everyone.

hvdklauw,
@hvdklauw@mastodon.social avatar

@gamingonlinux especially when they post that in a field that was basically meant for the full changelog.

hynek, to random
@hynek@mastodon.social avatar

Very happy to accept a Hugo Award for my science-fiction short story “The Day Python Packaging Made Everyone Happy”!

hvdklauw,
@hvdklauw@mastodon.social avatar

@hynek I hope it can match the Simpsons for correctness on future events

nocontexttrek, to StarTrek
@nocontexttrek@mastodon.social avatar
hvdklauw,
@hvdklauw@mastodon.social avatar

@nocontexttrek spaceballs!

hynek, to random
@hynek@mastodon.social avatar

me: my next video is gonna be finally under 10 minutes!

also me:

hvdklauw,
@hvdklauw@mastodon.social avatar

@hynek interventions? ;-)

jacob, to random
@jacob@jacobian.org avatar

It’s been SO HARD keeping this one quiet! Super excited that we can finally announce that the new Django Fellow is @sarahboyce !

https://www.djangoproject.com/weblog/2024/mar/22/welcome-our-new-fellow-sarah-boyce/

hvdklauw,
@hvdklauw@mastodon.social avatar

@sarahboyce congratulations!

sarahboyce, to random
@sarahboyce@mastodon.social avatar

I missed the deadline to add the Django Updates to Django News! 🗞️

hvdklauw,
@hvdklauw@mastodon.social avatar

@sarahboyce @apollo13 can you pass parameters to the connection pool? (Docs don't specify)

hvdklauw,
@hvdklauw@mastodon.social avatar

@sarahboyce @apollo13 ah, the example only shows the true, and I missed the part above it

vicgrinberg, (edited ) to random
@vicgrinberg@mastodon.social avatar

What everyone needs in their life: a friend who reads more than one does and has a very similar taste in books so they can tell you which books are worth reading for you and which are not.

hvdklauw,
@hvdklauw@mastodon.social avatar

@vicgrinberg what books do you like? And do you read more or less than ~80 books a year?

randahl, to random
@randahl@mastodon.social avatar

Russians staying in Sri Lanka have showed their gratitude by creating a number of “whites only" night clubs, denying access to local Sri Lankans. So Sri Lankan authorities now decided to help the racists by telling all 288,000 Russians in Sri Lanka to take the next flight back to good old Moscow, where the average skin color is more to their liking.

Perfect! 😘👌

https://www.independent.co.uk/asia/south-asia/sri-lanka-russia-tourist-visa-ukraine-war-b2502986.html#

hvdklauw,
@hvdklauw@mastodon.social avatar

@randahl how can you even start a business on a tourist visa?

hynek, to random
@hynek@mastodon.social avatar

As someone who’s doing some minor consulting on the side, it occurred to me that 90% of my advice contains links to my own blog and I’m increasingly sabotaging my future income. Going 410 considered good business. 🤪

hvdklauw,
@hvdklauw@mastodon.social avatar

@hynek 402 Payment required would be better for business ;-)

hynek, to random
@hynek@mastodon.social avatar

there is no escape from Python packaging ;)

hvdklauw,
@hvdklauw@mastodon.social avatar

@hynek the PR count is also pretty good, so maybe there is hope.

sarahboyce, to django
@sarahboyce@mastodon.social avatar

Planning to work on something comparing FastAPI and Django Ninja ⚡️🥷
Any questions you have you'd want to be covered?

hvdklauw,
@hvdklauw@mastodon.social avatar

@sarahboyce I'm wondering how permissions on relations work, most API's are great if you can crud everything or nothing, but nuances where you can create object B with a relation to object A where the choice for which A's you are to link to are often not mentioned at all. Also how the UI would know which options to show without implementing the same logic as on the server.

sabderemane, to django
@sabderemane@mastodon.social avatar

Django friends, there is a new page with all local events happening in all over the world here: https://www.djangoproject.com/community/local/ 💚

hvdklauw,
@hvdklauw@mastodon.social avatar

@sabderemane oops, bad gateway, did I catch it mid deployment?

hynek, to random
@hynek@mastodon.social avatar

Once again, I’m watching a discussion of ppl stipulating PyPA/Python core/Santa Claus to “just pick one packaging workflow tool and go with it” and once again I have to remind everyone that the main problem isn’t a grand conspiracy of someone not wanting to pick & make you suffer, but that due to Python complex history & broad audience, we’ve got many 90% solutions maintained by few people that solve the 90% important to them and that have no bandwidth/interest in fixing the last 10%. [1/2]

hvdklauw,
@hvdklauw@mastodon.social avatar
lzg, to random
@lzg@mastodon.social avatar

deleted_by_author

  • Loading...
  • hvdklauw,
    @hvdklauw@mastodon.social avatar

    @lzg I was once hired back at a company where I knew a lot of the why, but not of the how. The reason was that I sat in at a lot of the discussions/code reviews as an experienced python programmer but was actually working for another part of the company that got split off and sold.

    So I was a bit like the frozen caveman looking at how they misinterpreted a lot of things

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