Show newer

@simon You really should specify the build system there. Not specifying it isn't saying, "pip, handle this for me" it's actually conveying, "I created this file in the period of time after tools other than pip started using it but before pip did."

Wow. Meta commits to dedicate three engineer-years to implement the removal of the GIL from #Python and fix upcoming compatibility and performance issues with it.

All this dependent on whether the Steering Council accepts PEP 703.

discuss.python.org/t/a-fast-fr

@bitecode @treyhunner @pycon No, I started where everyone else did and I still don't recommend pendulum. They have a somewhat incoherent model, are much slower.

Need to work with timezones in #Python?

Don't use pytz! Use zoneinfo.

It's included in the Python standard library from Python 3.9 onward and pip install-able if you're on Python 3.8.

If your code needs to run on Windows, note that you'll need to pip install tzdata to use Python's zoneinfo module properly.

If you're really curious to understand this topic deeply, watch @pganssle's talk from @pycon: m.youtube.com/watch?v=rYzgroaK

The scope of a feature request often isn't obvious to the asker. For example, someone just asked on the Python forum to make it possible to subclass `pathlib.Path.` Meanwhile, Barney Gale has spent the last *three years* or so working on all the nuances of that, and it's finally making it into Python 3.12 although there's more to do. He worked so much they made him a core dev. #Python #TodayInOpenSource

Once again, I am so frustrated by Python static typing github.com/pallets/click/issue If any typing expert out there wants to help, that would be wonderful. #Python

I'm on the job market. Any early stage startups hiring lead engineer positions, DM me please! 🙂

WTF is wrong with the Apple ecosystem? I've tried 3 different podcast apps now (Podcasts, @overcastfm and PocketCasts) and it seems like none of them are capable of easily like... opening a link to an RSS feed and turning that into a podcast if the feed is only available on the LAN. It's infuriating that every time I deal with some Apple thing it's something like this.

This weekend I’ve spent more time in the tox rabbit hole than I expected, but check out how I’ve cut the runtime of full tox runs of the attrs test suite by 75%:

Two Ways to Turbo-Charge tox
hynek.me/articles/turbo-charge

@RichardNairn Note that approximately no one in my extended family looked at it in any serious way after I did that 😅

@RichardNairn I started out with gramps but ended up creating a Webtrees installation to make it easier to show the data to my family and let them modify it.

webtrees.net/

@kevin Looking forward to my layovers in Wakanda and Agrabah.

Twitter is falling apart. Reddit is falling apart. Facebook fell apart ages ago. Meta is a trashfire. Instagram is baloney. Google can't even search for anything you want anymore.

You know what website still miraculously works?

Wikipedia.

You should donate to keep it that way.

@bitecode Hmm. Looks like this isn't the right device for me. Maybe the horribly-named Circular (circular.xyz) ring will be better.

I've been tempted to get an Oura ring, but I'm a bit worried that the device would become useless if the company went under and also, more importantly, it seems like they have a proprietary charger that costs $60!

Why don't people build their stuff to work with standard wireless charging pads 😭

@lynne I vaguely recall someone making the case on twitter or something that you can very plausibly describe wood like it's a science fiction magical material; probably not doing it justice here but:

1. Self-assembling nanomaterial made out of sunlight, air and some dirt.
2. Durable building material, an excellent insulator and extremely easy to work with.
3. Can burn directly for fuel, and the ashes can be used for a bunch of random stuff (making potash, you can write with it, etc). Can also heat it to turn it into charcoal.
4. Can pulp it to make paper.

@davidism Yeah, can attest to that as someone who has family members in the Apple ecosystem. Lots of stuff is a pain in the ass, slow or borderline impossible on Apple devices.

@Greg I've been thinking of replacing my 2014 Kindle Paperwhite for ages now (I've kept it in airplane mode for over a decade so I make use of almost none of the software features, but I avoid many of the anti-features as well).

Do you mind sharing your reasoning for picking the Libra 2? I'd love a head start on my device research ☺

wow TIL that as of #tox 4, you can absolutely SLAY the environment build times if your project builds universal wheels (= virtually all pure-#Python ones)

Just add

```
[testenv]
package = wheel
wheel_build_env = .pkg
```

and it won’t build your package for every Python version anew: tox.wiki/en/latest/upgrading.h

For my service-identity which has a very quick test suite but a lot of factor combinations, it’s 3m vs 30s. structlog that has fewer but slower envs is still 2:35 vs 1:47.

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.