@diazona@techhub.social avatar

diazona

@diazona@techhub.social

Software engineer, former particle physicist, occasional blogger. I support the principle of cake.

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

adamchainz, to python
@adamchainz@fosstodon.org avatar

🏎️ Last night, I fixed a segmentation fault bug in my testing library time-machine.

🤷 There were several outstanding issues about segmentation faults with unclear causes, and I didn’t have time to dive into them.

🐛 Then I received a new bug report from Marcin Sulikowski with a minimal reproduction. This research pointed directly at the problem and revealed the other reports as duplicates.

👏 Clear and reproducible bug reports are very valuable contributions!

diazona,
@diazona@techhub.social avatar

@simon @adamchainz This is pretty much the standard method for testing anything that involves a process dying, isn't it? Like, it's used in Googletest and other testing frameworks. Handy to know about for sure, but it's not like it's groundbreaking or anything. (of course it generally doesn't come up in Python testing because Python errors don't kill the whole process unless there's a bug in the interpreter or some native cod involved)

solarbird, to cooking

okay gastrodonians gimmie a hand with this

So I have this skillet.

A small skillet, silver in colour, not non-stick and not black/cast iron. The handle appears to be cast, the skillet itself is smooth.Obviously, it’s a skillet. And it looks like a cheap skillet – real cheap. But I don’t think it is.

The handle is cast iron or steel of some kind, despite being silver. The handle is also magnetic and heavy. The actual pan part, however, is aluminium, with no hint of magnetism, and also quite heavy – heavier than I feel it should be, like it has a slab of copper sandwiched inside layers of aluminium. There are three big thick bolts holding this thing together.

This is an object I feel like had to have been made with a purpose. I don’t know what that purpose was. And despite being a decent baker, I am no chef, and am merely an adequate cook in the sense of “I can follow directions correctly and produce the intended meal.”

So what the hell is this for?

Am I wrong about it having a special purpose? Is it in fact really cheap? Because it looks cheap. But it doesn’t feel cheap, and I think that’s important here.

Is it some sort of esoteric camping kit? Is that it? Feels way too heavy for that but it is nicely small.

What’m I missing here, Gastrodonians? Is this some sort of special implement? Or is it just a weird kind of cheap pan I’ve never seen before.

Do you know? ’cause I sure don’t.

[link]

diazona,
@diazona@techhub.social avatar

@solarbird My curiosity is piqued, I don't think it would have occurred to me that this might be anything more than an ordinary pan (maybe just a particularly sturdy one). I hope you find out!

jonny, to monsterdon
@jonny@neuromatch.social avatar

No way in hell am i watching with ads. importing the tubi version to @monsterdon rn, should be ready in time

diazona,
@diazona@techhub.social avatar

@jonny @monsterdon I am curious about how you actually go about doing this (though I don't even have a Tubi account so it's not for any practical reason)

diazona,
@diazona@techhub.social avatar

@jonny @monsterdon Oh makes sense, didn't realize it would work on Tubi though

diazona,
@diazona@techhub.social avatar

@jonny Thank you 🙏 🙏 🙏 I have to preserve this one for posterity and I'm hoping your version doesn't have the sound randomly cut out in the middle

diazona,
@diazona@techhub.social avatar

@jonny You mean yt-dlp? I'm quite familiar, I use it on an almost daily basis. I even made it into a personal batch download service for myself 🙂

PeerTube is also sounding increasingly impressive the more I hear about it

diazona,
@diazona@techhub.social avatar

@jonny @RufusJCooter oh that explains why they invited all the people to that very part of town for the presentation

🤦🤦🤦🤦🤦

ethantyping, to python
@ethantyping@hachyderm.io avatar

Extremely excited to share my team at NVIDIA is hiring for a full time role working on ✨ open source Python packaging projects ✨ like Warehouse, pip, and more!

If you are or know someone excited about open source Python development, especially focusing on open source packaging projects, please take a look! And if you have any questions for me, please reach out.

Please boost for spread!

https://nvidia.wd5.myworkdayjobs.com/en-US/NVIDIAExternalCareerSite/job/Senior-System-Software-Engineer---Open-Source-Python-Ecosystem_JR1981378

diazona,
@diazona@techhub.social avatar

@ethantyping Oh wow that sounds like exactly the kind of thing I'd love to do! But I don't think I have the credentials for it.

villares, to random Portuguese
@villares@ciberlandia.pt avatar

If you are not a professional software developer, setting up the SSH keys/agent/everything to use git/gh CLI is just beyond horrible... I just want to write, version control, fetch/push and run some code, damn it.

diazona,
@diazona@techhub.social avatar

@villares For plain old Git, at least, I never found it particularly hard to handle. I guess figuring out how to generate a new SSH key if you don't already have one can be a little tricky? But it is just one command to run (at least on Linux, or I think no more than a couple button clicks or such with typical SSH clients on Windows), and beyond that, all you have to do is take the content of a file, paste it into a web form, and you're all set.

Not that this does much for you, I suppose, except to suggest that if you're having this much trouble with it, there may be an easier way because I don't think it's supposed to be that hard 🤷

diazona,
@diazona@techhub.social avatar

@villares Huh, weird. This definitely sounds unusual.

Anyway, the main point I wanted to make (which I kind of forgot to get to before) is that it's an overreach to say that the process is "beyond horrible" based on your single atypical experience. It still works fine and smoothly for a lot of other people.

I suppose you could share the errors and maybe get some help here, if you wanted to.

diazona, to random
@diazona@techhub.social avatar

Hey , for anyone still looking, YouTube has a high-quality upload of Beyond the Time Barrier in black and white: https://www.youtube.com/watch?v=V6EdVv01Rqo

Somebody linked to this earlier in the week but I can't find the toot to thank them

diazona, to random
@diazona@techhub.social avatar

So is it just a coincidence that we're watching Beyond the Time Barrier on the same day we passed a (Daylight Savings) Time barrier 🤯

diazona, to random
@diazona@techhub.social avatar

Ugh, it's one of those cases when I find myself contemplating which of Amazon or Walmart is less distasteful to do business with

Or eBay, but the thing I'm looking at sells for $60 on Amazon or Walmart and the various eBay sellers offering it are charging $130 minimum for comparable quality. I mean, I'm all for supporting smaller and (hopefully) less selfish sellers, but only within reason, and paying double the price is not kind of beyond reason in this case.

I wonder what others would do?

kmherkes, to scifi
@kmherkes@wandering.shop avatar

My humble offering to anyone seeking a weekend read:

Weaving In The Ends, a novella duology that starts w/a summer fling & ends w/a Winter Solstice brawl.

It's the closest I have to a feel-good story, it's a cozyish quick read that can be read as a standalone, or as an easy springboard into the world of 2 connected novels.

Available in print & ebook now, audio coming soon!

https://books2read.com/WeavingInTheEnds

@bookstodon

diazona,
@diazona@techhub.social avatar

@kmherkes @bookstodon Sounds like this might scratch an itch I've been having lately 😀 I'm putting it on my list

talesofaprinny, to KDE
@talesofaprinny@mastodon.social avatar

How... do I log into lemmy, say KDE Social lemmy using my Mastodon account? @kde I'm not sure how this works 👴🏼👴🏼👴🏼

diazona,
@diazona@techhub.social avatar

@talesofaprinny @kde I'm not sure how helpful this will be for you, but it's kind of like email. You have an account on one email server (like, say, Gmail), and you can use that account to exchange messages in a standard format with people on other email servers (Outlook, Yahoo Mail, Proton Mail, Fastmail, etc.), but your account on Gmail doesn't let you log in anywhere else. If you want to use any of those other servers directly, you need to create an account on the server you want to use.

Similarly, you can use your account on one Fediverse server (mastodon.social) to exchange messages in a standard format with people on other Fediverse servers (techhub.social, lemmy.kde.social, etc.), but your account on mastodon.social doesn't let you log in anywhere else. If you want to use any of this other servers directly, you need to create an account on the server you want to use.

jonny, to random
@jonny@neuromatch.social avatar

frick i got subs not dubs for

diazona,
@diazona@techhub.social avatar

@jonny @monsterdon I may have to join you in this since I didn't get it set up on Plex in time

atomicpoet, to random
@atomicpoet@atomicpoet.org avatar

In light of recent events, I’m actually thinking about defederating the “opt-in” purists for the following reasons:

  1. They did not actually opt into receiving my posts, therefore they shouldn’t have access to them
  2. They so far refuse to join or operate a whitelisted version of the Fediverse that is specifically opt-in
  3. Despite this inconsistency, they are dogpiling and harassing people who do not share their vision of an opt-in version of the Fediverse
  4. Each time someone who’s a total beginner experiments with the ActivityPub spec, the opt-in purists respond with ugliness, and this is toxic to the future of the Fediverse itself
  5. I do not want to subject myself to death threats, or worse, simply for expressing an opinion that is different from the opt-in purists

This is not something I’m going to pursue immediately, but certainly considering this quite heavily. Either way, if the opt-in purists won’t create their own opt-in version of the Fediverse, then I’m likely going to opt out of federation with them.

diazona,
@diazona@techhub.social avatar

@atomicpoet Oh this is interesting. I suppose defederating is the proverbial "nuclear option" and on one hand it would be unfortunate if it comes to that, but on the other hand your points are very good ones - I especially liked the one about how the opt-in crowd has the effect of shutting down innovation surrounding ActivityPub and that's a bad thing for the Fediverse. The idea of a Fediverse where adding a new server or service requires opt-in from everyone already there (or their representatives) is not one I find appealing.

I mean, there's certainly nothing wrong with a group of people who want such a thing creating their own separate opt-in-only network that doesn't federate with the rest of us. That's just not the Fediverse I want to be part of.

diazona,
@diazona@techhub.social avatar

@atomicpoet BTW I dunno how it is for you but I see a bunch of missing line breaks in your post

diazona,
@diazona@techhub.social avatar

@atomicpoet Ah yeah, I was using the Android client to view it earlier, but now that I look on the website it seems fine. Maybe the Android client can't handle numbered lists.

Incidentally, how did you get a numbered list in the post? Some kind of custom server software I imagine? (This is just out of curiosity)

MylesRyden, to KDE
@MylesRyden@vivaldi.net avatar

So far, I have to say that my experience sucks.

The theme I was using doesn't work. The icons all suck. EventCalendar, which was synced to my Google calendar is dead. Vivaldi looks like crap. The panel at the bottom of my screen is floating up probably 100 pixels, leaving useless space below it, I can't find a way to sink it to the actual bottom of the screen. I had increased all my font sizes because my eyes are bad, they have all shrunk and changing the font sizes and the interface percentage doesn't fix it.

So far, not a happy experience @kde

diazona,
@diazona@techhub.social avatar

@Fleppensteijn @Max_P The change in the first component of the version number from 5 to 6 is what could have tipped you off. I mean, admittedly there's no universal standard for software versioning that everyone follows, but the closest thing there is to a commonly adopted standard (https://semver.org/) says that when the first component of the version number changes, it's a big deal and things might break. (Or, a relatively big deal, but just how big that is in practice depends on the package.) If you didn't know to look out for that, now you do. 😀

Unless by "average user" you mean someone who relies on automatic updates and doesn't look at what's getting installed. Which is fine, but if you're allowing automatic updates, you have to understand you're giving up the ability to catch stuff like this before it happens. (This situation could certainly be improved, but generally that's the state of things right now.)

jensens, to python
@jensens@nerdculture.de avatar

WTF ? importlib.metadata.entry_points returns a dict in Python 3.11 and before and a dict-incompatible importlib.metadata.EntryPoints obj in 3.12+?
/rant

diazona,
@diazona@techhub.social avatar

@jensens I don't think ever fully guarantees compatibility between minor versions. (Which I'm not entirely a fan of, but it is what it is)

In this case, though, according to the documentation, it returns a dict up to Python 3.9 and an EntryPoints object in 3.10+. And up to Python 3.9, the module is clearly marked as provisional in its documentation, with even less than the usual promise of compatibility.

diazona, to random
@diazona@techhub.social avatar

What a classic today. I had gotten too used to extremely dumb movies so this was refreshing. Thanks as always @Taweret for hosting!

Next week should be excellent 🙂

benjaoming, (edited ) to python
@benjaoming@social.data.coop avatar

Dates and times and timezones are annoying, but maybe also worsened by a .days property of the timedelta behaving this way :)

>>> x = datetime.now()  
>>> y = datetime.now() - timedelta(days=2)  
>>> (x-y).days  
1  
>>> (x-y).total_seconds()  
172687.711143  
>>> (x-y).total_seconds() // 60 // 60 // 24  
1.0  
>>> (x-y).total_seconds() / 60 / 60 / 24  
1.9987003604513889  

Edit: The internet helped 🙏️ (the example is borked )

diazona,
@diazona@techhub.social avatar

@kas @benjaoming My thoughts as well. Maybe the weird thing is just that timedelta has a days property at all... I dunno if there's a different name that might make more sense given what the property does.

pamelafox, to random
@pamelafox@fosstodon.org avatar

We realized we need to get a new car, as our 2001 car is on its last legs. I realize I've never actually bought a car, always just got hand-me-downs, so I don't know how to reason about such a large purchase. We're thinking PHEV (plugin hybrid), and we're a family that mostly takes very short trips. Any rec's?

diazona,
@diazona@techhub.social avatar

@mariatta @pamelafox Out of curiosity, what is single-pedal driving? I don't think I ever heard that term before

filippo, to random
@filippo@abyssdomain.expert avatar

If you've been waiting for Bluesky to ship federation to check it out, it's now live.

https://bsky.social/about/blog/02-22-2024-open-social-web

It's actually a better federation implementation than Mastodon in at least a couple ways:

  1. you can see the whole network even if you are on a single-user instance, so no missing replies!

  2. you can actually seamlessly move your account keeping your name and posts!!

Also, custom algorithms are great, and what I had hoped Mastodon would be.

I'm at https://bsky.app/profile/filippo.abyssdomain.expert 🦋

diazona,
@diazona@techhub.social avatar

@filippo Hmm interesting, I'll be keeping an eye on this. If I had thought Bluesky would ever do this I probably would have been more open to joining it a while ago.

I gotta say, whoever wrote that blog post seems confused about how certain things work on Mastodon. (Like this idea that your server determines your community)

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