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

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)

lytta, to random
@lytta@hachyderm.io avatar

...this was my first , how often do these old monster movies actually end with someone fucking off into the sea??

diazona,
@diazona@techhub.social avatar

@moira @lytta Although it's more often the kaiju than the humans, isn't it?

KarchWrites, to sciencefiction

Okay, this might be a mean question to ask you, but what is the BEST science fiction movie you've ever seen (and why)? Mixed genre movies qualify as long as your choice clearly has a SF aspect to it.

(Boost if it pleases you to get more eyes and I hope) more suggestions/opinions/discussions)

#sciencefiction #movies #greatmovies

diazona,
@diazona@techhub.social avatar

@moira @KarchWrites This is my thought as well. One of my favorites is Independence Day but I'm not sure it really qualifies as the best.

I would probably go with Galaxy Quest. I think it has a stronger claim to being a really good movie, while also being one of my favorites.

I have a feeling the real answer might be one or more of the original Star Wars trilogy, but only if you put them in the context of when they came out. That was before my time, so I'm really not in a position to appreciate how groundbreaking they were, and when I watch them from a modern perspective they don't quite hit the top tier. (I'm not denying that they hold up very well though.)

diazona,
@diazona@techhub.social avatar

@moira @KarchWrites I'll keep that in mind. TBH I'm not even sure which version of Star Wars I've seen - I got a copy of a file that had been passed on among friends, who knows how many times, and I was told it was "original" in some sense but this was before I even had any idea that there were different versions of the movie, so I don't know (and didn't care, at the time) what that meant.

pivic, to books

‘God forbid that a dog should die’: when Goodreads reviews go bad https://www.theguardian.com/books/2024/feb/17/god-forbid-that-a-dog-should-die-when-goodreads-reviews-go-bad

Goodreads is horrible for readers and books. The technical platform is very badly maintained with bugs in the extreme. Amazon mine user data for nefarious purposes, for example, in building concentration camps (ICE).

I recommend anyone who's interested in keeping track of their books in a social way (if one wants; one can also use the platform so that nobody else can see your activity) to use Bookwyrm (https://bookwyrm.social), which is completely open-source and actively maintained by very kind people—you can host your own instance, which is BTW built on ActivePub—to whom I donate money to keep the site rolling; no ads, no tracking.

There's also The StoryGraph (https://www.thestorygraph.com) that was created by people who were fed up with Amazon and their . The system is closed-source and actively maintained.

@bookstodon

diazona,
@diazona@techhub.social avatar

@robbiedavis @pivic @bookstodon @hardcover Cool, I'll have to check that out!

kenthompson, to books
@kenthompson@mastodon.world avatar

, anyone? Perfect example from publishing. A publisher is using AI to write crappy nonfiction, then assigning author names that almost match leading experts in that field (to trick search engines). No doubt other AIs will now search those texts as authoritative. This is done solely to make money and only makes the world a worse place.
@bookstodon @pluralistic

https://www.washingtonpost.com/newsletters/book-club/

diazona,
@diazona@techhub.social avatar

@hexbatch @OhOkKay @kenthompson @bookstodon @pluralistic I definitely agree that that is a good practice, either that or some other way of preserving drafts, notes, or evidence of incremental progress. (There isn't really anything special about Git in that regard; a commit history can easily be faked.)

But I also think it's not reasonable to expect, in general, that writers must have done this. There are, and (probably) always will be, many cases where an author doesn't have records of their incremental progress, and that can't mean they have no defense against an accusation of AI-powered plagiarism.

diazona,
@diazona@techhub.social avatar

@hexbatch @OhOkKay @kenthompson @bookstodon @pluralistic Pretty much, yeah, as long as the email server operator is trustworthy. But even then, there's no particular need for Git; you can just email yourself a draft. (Unless you want to keep the contents of the draft private even from the email server operator)

diazona,
@diazona@techhub.social avatar

@OhOkKay @hexbatch @kenthompson @bookstodon @pluralistic There is nothing in this scenario we're discussing that would give AI tools the opportunity to scrape your drafts. (Unless you choose to use a website that uses all content they receive to train AI models.)

diazona, to random
@diazona@techhub.social avatar

@googlyeyesonmagiccards Did you ever do any of the Beholder cards from AFR? I thought you did but I can't seem to find them.

moira, to superbowl
@moira@mastodon.murkworks.net avatar

as seen from mastodon.murkworks.net:

Monsterdon: 1.3K posts, 104 participants 1.3K posts today

Superbowl: 375 posts, 226 participants, 198 posts today

diazona,
@diazona@techhub.social avatar

@moira Oh cool, I was just wondering how activity on compares to .

Although I wonder about those numbers - I just looked at my Mastodon app and it said 1578 people had recently posted in the hashtag, while didn't even register, so I guess the reporting must be incomplete? 🤷

diazona,
@diazona@techhub.social avatar

@moira Ahh gotcha, that makes sense

I was a little confused because I've definitely seen that 1.3k ish for before

moira, to random
@moira@mastodon.murkworks.net avatar

sooooo... ummm... well... that was an... ending I guess...

seriously what the hell i like tokyo what even is happening here

there must be so much context i'm missing here

diazona,
@diazona@techhub.social avatar

@moira I wonder if it makes more sense after you eat the mushrooms

diazona, to random
@diazona@techhub.social avatar

Wait this mushroom dude has pants on WTF

moira, to random
@moira@mastodon.murkworks.net avatar

I wonder if the sail titles were like that in Japanese release. It's nice but doesn't quite fit and I'm wondering if it was better with the kanji

diazona,
@diazona@techhub.social avatar

@moira I'm watching the Japanese version, it was all kanji

ferngirl, to superbowl
@ferngirl@det.social avatar

If the #SuperBowl ain't your jam, might I suggest a good book? Right now, I'm reading The Dictionary of Lost Words (by Pip Williams), and I'm really enjoying it.
@bookstodon what are you reading? Anything good?
#booklove #librophile

diazona,
@diazona@techhub.social avatar

@ferngirl @bookstodon Currently finishing up "The King's Seal" (https://app.thestorygraph.com/books/1315c50a-e30d-4cb7-8b2d-86c309e1cb4a), which is the end of a series... which I actually don't think is all that great - it's fine, but not a standout - though I suppose the fact that I did stick with it through a 3-book series has to count for something 🤷

hynek, to random
@hynek@mastodon.social avatar

Shots fired by the flake8 maintainer.

We can have a nuanced discussion about the failures of flake8 etc, but you’ll still have to acknowledge that a VC-backed, non-Python project profited from decades of community work, & has sucked all air out of the space.

It’s not like I’m not using Ruff—but I do it begrudgingly & find the cheerleading around it baffling. It has practically destroyed a part of the ecosystem & it looks like nobody has seen the VC playbook play out.

https://youtu.be/XzW4-KEB664

diazona,
@diazona@techhub.social avatar

@webology @carlton @hynek ooh interesting, you're the first person I've seen posting about bad experiences contributing to pre-commit. I mean, I've seen what you're talking about, and it's definitely enough to put me off wanting to contribute to that project, but it kind of seemed like everyone else in the community was okay with it.

Not that this phenomenon is unique to pre-commit, but that's the project you happened to mention.

adamchainz, to django
@adamchainz@fosstodon.org avatar

✍️ New post on joining the community on

💁‍♂️ Share with your non-Fediversing friends!

https://adamj.eu/tech/2024/02/10/django-join-community-mastodon/

diazona,
@diazona@techhub.social avatar

@adamchainz @paulox No Bookwyrm uses ActivityPub.

amyfou, to random
@amyfou@lingo.lol avatar

deleted_by_author

  • Loading...
  • diazona,
    @diazona@techhub.social avatar

    @amyfou To be fair the pregnant giant crab is projecting a male voice

    🥴

    amyfou, to random
    @amyfou@lingo.lol avatar

    deleted_by_author

  • Loading...
  • diazona,
    @diazona@techhub.social avatar

    @amyfou I thought land crabs were spiders

    Unixbigot, to random
    @Unixbigot@aus.social avatar

    I don’t know /why/ cleaning robots have microphones, but it can’t be good. What I /do/ know is that a microphone implies an input and an input implies a buffer. And buffers can be overflowed.

    As I dance through the streets playing my pipe, augmented with inaudible-to-humans harmonic overtones added by my homemade amplifier, the robots hear, listen, overflow, obey, follow. The trail of robots stretches out of sight, now.

    I don’t yet know for sure what I’m going to do with my army of two thousand score Roombas, but it can’t be good.

    diazona,
    @diazona@techhub.social avatar

    @shannonpersists @Unixbigot And on top of that, the wake word detection system doesn't know your specific voice (at least not until quite recently), so it has to listen for the wake word in many different accents, with or without background noise, whispered close up or shouted from across the room, and so on. People have managed to make these systems quite good, but they do need to cast a fairly broad net, so to speak. Which means there's always going to be some chance that they misinterpret other noises as the wake word.

    jake4480, to firefox
    @jake4480@c.im avatar

    Is there any benefit to Vivaldi over Firefox? Pros/cons?

    diazona,
    @diazona@techhub.social avatar

    @jake4480 Vivaldi is one of the many derivatives of Chromium, so if you care at all about Google not having a monopoly over rendering engines, that's a big point in favor of Firefox. 🤷

    Other than that, I guess it comes down to personal preference? I mean, I prefer the UI and experience of Firefox, but you can really make your own decision based on that.

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