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

keithzg, to python
@keithzg@fediverse.keithzg.ca avatar

Was just thinking to myself that while language-specific package managers are a crime against God, at least ‘s pip is half-decent compared to others, but then I ran into a reason to use it and immediately:

RuntimeError: PyPI no longer supports ‘pip search’ (or XML-RPC search). Please use https://pypi.org/search (via a browser) instead.

and then eventually I got to the point where instead I was getting compile errors on the package in question somehow, and now I’m downgrading pip to “as much of an affront to nature as all the other language-specific package managers”. (Probably not even for the first time, I just forget in the meanwhile.)

diazona,
@diazona@techhub.social avatar

@keithzg Your blame is misplaced - that's not pip's fault, it's because of PyPI, which is a separate entity. And they were kind of forced into it because somebody was DDoS'ing them using the search endpoint a while ago.

diazona,
@diazona@techhub.social avatar

@meejah @keithzg Right, but I'd assume it's different subgroups within the PyPA that work on the two projects. I mean, surely it wasn't the pip developers, acting in that capacity, who made the decision to turn off search in PyPI.

diazona,
@diazona@techhub.social avatar

@meejah @keithzg Not if you're using a third-party package index.

And the broader point is that, I think, if you're going to say that pip is a bad package manager, it should be because of things that are pip's fault. Which this is not.

diazona, to wheeloftime
@diazona@techhub.social avatar

Now that I've finished and gone back to reading "regular" books, I have a whole new appreciation for Robert Jordan's ability to create interesting characters and weave (🧐) them into a compelling story. I'll never complain about women who fold their arms under their breasts 47 times per chapter again.

...well okay I will because it's silly, but point is, the man could write, in a way that a lot of run-of-the-mill published authors cannot.

@bookstodon

diazona,
@diazona@techhub.social avatar

@ametonym @bookstodon I think I don't agree with that. I mean, sure there were a few typos that should have been fixed by better copy editing, and the story was certainly more complex than it needed to be in a few places, but neither of those detracted very much from my experience.

Or, I guess I should say, I don't think more aggressive editing would have made the books substantially better for me. I'd believe it could have done so for many other readers.

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

A possibly helpful note:

If you want to do alt-text but hate people telling you when you forget for some reason, there is a bot that will let you know you forgot basically immediately so you can edit to add it before any actual person notices:

@alt_text

(also https://mastodon.social/ - same bot different format.)

It's less annoying (to me anyway) than actual people bugging me about it, and I'm pretty good about alt-text.

diazona,
@diazona@techhub.social avatar

@moira I remember it being pretty annoying (certainly much more so than real people) because it would bug me not only for embedded images without alt text, but also every time I wrote or boosted a post that linked to a website whose featured image didn't come with alt text.

I haven't seen it post in ages though. I guess I assumed it must have broken or gone offline. Good to know otherwise! (Although the question remains why it doesn't work for me anymore)

18+ Frances_Larina, (edited ) to random
@Frances_Larina@sfba.social avatar

This Vox piece is like a little peek inside the neurotypical mind.

"Sitting in silence is, for some, an experience more dreadful than physical pain. One oft-cited study from 2014 found that many people would rather give themselves electric shocks than spend just a few minutes alone with their thoughts."

Meanwhile, autistics are very nearly the polar opposite.

If only both neurocultures (neurology based cultures) cared enough to learn about the other, and make accommodations so that our society could be a mix of both (as autistics & other neurodiverse people have been doing all along, because we have no choice).

https://www.vox.com/even-better/24042177/alone-thoughts-rumination-thinking-for-pleasure

diazona,
@diazona@techhub.social avatar

@Frances_Larina Very interesting!

"One reason people find spending spending quality time with their inner monologue so wildly unpleasant is that, left to your own devices, every embarrassing memory, every argument, every sad recollection can come flooding back, effectively derailing what was supposed to be a moment of peace."

For me, the bizarre thing about this is the implication that for most people, embarrassing memories, arguments, and sad recollections don't come flooding back unless they engage with their inner monologue.

diazona, to random
@diazona@techhub.social avatar

The ants are very interested in these trees

I wonder what they're up to

diazona,
@diazona@techhub.social avatar

@moira oooh oooh wait there's an idea: a movie where the characters watch this movie and the ants climb out of the screen like in The Ring

SirTapTap, to firefox
@SirTapTap@mastodon.social avatar

I love the idea and I mostly like the browser, but oh my god 's autocomplete is hyper inconsistent and just sucks. Constantly fails to offer to use credit cards, passwords. Since EVERYTHING logs you out after about 5 minutes these days it's a real pain in the ass

diazona,
@diazona@techhub.social avatar

@SirTapTap Interesting... I don't think I ever used the built-in autocompletion myself

diazona,
@diazona@techhub.social avatar

@SirTapTap No of course not 😂 I use a password manager extension.

diazona,
@diazona@techhub.social avatar

@SirTapTap It is one less third party, sure, but I consider the benefits worth it. I'm generally not too opposed to adding something provided by a third party when it's useful and when the provider seems not to be nefarious.

CindySue, to books
@CindySue@bookstodon.com avatar

I finished a book that wasn't for work! First one in like 3 months. I decided last night to try a romance which is a genre I haven't read much of in the last couple of years. I started the book last night and finished today.

My headphones are dead so I can't finish what I was doing for work. I complained to the husband and he said to read a book. So that is exactly what I intend to do.

@bookstodon
#books #read #bookstodon #reading #romance

diazona,
@diazona@techhub.social avatar

@CindySue @bookstodon nice! Having the option of that outlet to disconnect from work is pretty great

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

I'm producing JSON messages for consumption by other programs running this one as a subprocess. How should timestamps be communicated?

Aside: do non-browser JS runtimes also suffer from dumb limits (2**53)?

diazona,
@diazona@techhub.social avatar

@meejah @mkb It may be more portable than seconds since the epoch too...? I mean, I don't really know Windows programming at all but I don't think it uses the UNIX epoch, at least not natively.

And in fact seconds since the epoch isn't even a truly unique identifier of a time, because of leap seconds.

Jennifer, to scifi
@Jennifer@bookstodon.com avatar

I saw this book at the bookstore last month. The title made me laugh so I had to get it. Started it this week and so far love it.

diazona,
@diazona@techhub.social avatar

@Jennifer @Nonya_Bidniss @bookstodon hahaha nice to see someone at B&N leaning into it. I am intrigued, I'll have to check this out.

bitprophet, to python
@bitprophet@social.coop avatar

Interesting how much I miss 's monkeypatching & module-level mutability when writing .

Eg: HTTP request/response mocking/guardrails with Python's 'Responses' library. Your code under test /never/ hits the network; assertions about the requests you expected to see, are trivial; unexpected requests always go boom.

But it requires "spooky action at a distance”: replacing the guts of the http client, /without its consent or knowledge/, while under test. Not something wants to do!

diazona,
@diazona@techhub.social avatar

@bitprophet This does highlight the value of a standard HTTP access library that fully and officially supports replacing its internals with a mock backend for testing. (Though there's sort of an argument to be made that requests allows that because it supports custom transport adapters. Not quite the same thing though.)

Incidentally I have been making a lot of use of mitmproxy lately (https://mitmproxy.org/), which is great for ensuring that my program doesn't hit the network without relying on any in-process mocking.

trixter, to random
@trixter@retro.pizza avatar

gooooooo!

diazona,
@diazona@techhub.social avatar

@trixter I love it, can I borrow that?

jonny, to random
@jonny@neuromatch.social avatar

What's up - I'm currently transcoding a mirror of Gorgo for tonight at https://tube.me.jon-e.net/w/7Cd5BWtY77RXFYHcDV83Ur
for those of u who hate ads but can't download the file for whatever reason.

It'll post at @monsterdon when it's ready :)

diazona,
@diazona@techhub.social avatar

@jonny The only woman I actually noticed is Gorgo's mama

None of the men were particularly distinctive either TBH, except the kid

msh, to random
@msh@coales.co avatar

Half an hour until and I hear it's BABY YODA this time!!! :ameowbongo: ...

(note passe to me...)

g....GORGO?

Well shit.

Anyways it's gonna be a blast cuz it always is!

(unless it isn't for you then this is your warning to mute the aforementioned hashtag :blobcheeky: )

diazona,
@diazona@techhub.social avatar

@msh huh I hadn't noticed, it seemed to sync up well enough to me but who knows

kevinbowen, to python
@kevinbowen@fosstodon.org avatar

Ending up going down a silly, little rat-hole today setting up a project to play with

Seems like py5 won't play nice with It does, however, work fine with poetry. 🤔

I had been taking pdm for a test drive this month; but, at least for some graphics tinkering I will use poetry for dependency management. Unless I can figure out what the bug is between py5 & pdm. Yay!

diazona,
@diazona@techhub.social avatar

@py5coding @kevinbowen Yeah, that's part of it, but there must be some other part of the code that adds a sys_platform marker, and I'd say the real problem is that the sys_platform marker comes after the platform_release marker which we see being added in framework_requires(). I can't find the part of the code that adds the sys_platform marker though.

That is, aside from the problem which exists in the packaging library.

diazona,
@diazona@techhub.social avatar

@py5coding @kevinbowen FWIW I think at this point it would be reasonable to submit a bug report to pyobjc. We know how to reproduce the problem and have a clear explanation for why it occurs, which is kind of the dream scenario for a bug report as a package maintainer (at least I would say so). The only thing we could do better would be to offer a patch to fix it, but the maintainer can probably do that much more easily than we can.

diazona,
@diazona@techhub.social avatar

@kevinbowen @py5coding Actually I would suggest submitting bug reports for both. Or, for packaging, at least commenting on the existing issue, but I think creating a new issue is the safer approach, and they can mark it as a duplicate if they like.

If you wouldn't mind, could you mention me on the issues/comments you make? (I'm also @diazona on Github) Or at least share links here. I'll be interested in following their progress.

FWIW I wouldn't mind submitting any of these bug reports myself, but since you started the whole discussion, you get first dibs on the opportunity 🙂

diazona,
@diazona@techhub.social avatar

@kevinbowen @py5coding OK sounds good! I'll do that later today.

diazona,
@diazona@techhub.social avatar

@kevinbowen @py5coding I created https://github.com/pypa/packaging/issues/774 as the packaging bug report.

As for pyobjc, it seems like they want particularly focused reports, so I'm going to try a little bit more to see whether the fault lies with pyobjc itself or with something else that depends on it.

diazona,
@diazona@techhub.social avatar

@kevinbowen @py5coding The 'py5coding' I mentioned on the Github issue is not the Mastodon account, it's the py5coding Github organization. I figured that since it was the organization account participating in this discussion here on Mastodon, and the Mastodon account is linked to the Github account, it made sense to credit the organization on Github as well, in the absence of a request to do otherwise.

But @hx2A I'd be happy to edit the issue to mention you personally if you want. (Or of course you can subscribe to it if you just want the notifications.)

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