I hate to link to reddit, but this is a disheartening thread: https://old.reddit.com/r/orgmode/comments/12cgnr4/quick_recap_of_the_state_of_org_mode_apps_for/?rdt=62792
There's an emacs port on f-droid, but when I tried to use it it's not exactly a native app experience. Opening a file involves typing the full path to the file!
I am really disappointed by the current state of org mode (or just note taking in general) on Android.
I really want a simple, dedicated app where I can:
1. make a simple list or takes some notes
2. have that be saved in some plain text format that can be edited in vim or emacs on my computer
3. have that file be accessible in a way that Syncthing can pick it up
4. Pick up changes made on the file system
Orgzly seems to want to do its own thing and fails at 3 and 4. orgro is read-only. Every other note-taking or list app I've seen just stores stuff in its own little database in its own format.
By the way, if you are starting up your own fediverse server, it may be tempting to blindly copy someone else's block list, but some corners of the fediverse have been a bit over eager with full instance bans, in my opinion, which tends to break the whole federation model (imagine if you couldn't email anyone with a certain university's email domain because your email provider disagrees with the university policies).
If an instance is putting a lot of irritating stuff in your server's global timeline, it might be better to just mute them from the global timeline.
Here's a typing puzzle: https://mypy-play.net/?mypy=latest&python=3.11&flags=strict&gist=6baf24cc7bc82ac6e8f9995d361f682e
I want to have a method decorator that constrains the type of `self` with respect to a generic, but (obviously) does not _reduce_ the type of `self` to require that it accept any instance of the bound the decorator requires. Do I just need higher-kinded TypeVars for this (https://github.com/python/typing/issues/548) or am I missing something obvious?
I have the most thoughtful kids!
They know how much I like cottage cheese, so sometimes when I give them milk, rather than drink it all, they'll save some and hide it somewhere. That way, when I am cleaning up the messes they've made around the house, I can find it and oh, look, it's turned into a papa snack!
Warms my heart every time. 😍
It still feels like magic to me that #NumPy allows slices that aren't "rectangular". They can be arbitrary index lists, which in the simplest form allows you to "draw" polygons by first selecting the pixels and then making a single assignment. That's what ski.draw.polygon does.
But it goes further, you can have really arbitrary lists of multi-dimensional indexes so they don't have to be continuous or anything. My simple high-school math mind can barely accept it 🤯
NumPy 2.0 is coming. You should be excited and terrified in equal measure.
- Stan Siebert at #SciPy2023
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.
https://discuss.python.org/t/a-fast-free-threading-python/27903/99?u=ambv
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: https://m.youtube.com/watch?v=rYzgroaK8_Q&feature=youtu.be
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 https://github.com/pallets/click/issues/2558 If any typing expert out there wants to help, that would be wonderful. #Python
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
https://hynek.me/articles/turbo-charge-tox/
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 😭
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: https://tox.wiki/en/latest/upgrading.html#universal-wheels
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.
Programmer working at Google. Python core developer and general FOSS contributor. I also post some parenting content.