Show newer

Dear Google: when I am searching for a Python term, I would like you to prioritize the results pointing to the actual python.org documentation, not the dozen content farms that have popped up that republish copies of the Python documentation so they can cover them with ads.

Son: "Papa, what do you want for your birthday?"
Me: "How about a hug?"
Son: "No, something I can give you."
Me: "Buddy you are by present, how about just hanging out with me?"
Son: "No, something you _wrap_."

And as usual, if you have the ear of someone involved in setting time zone policy in Lebanon (or anywhere), maybe send them this article: codeofmatt.com/on-the-timing-o

Show thread

Latest version of tzdata (2023b) is out (on PyPI and upstream!): pypi.org/project/tzdata/

This includes a change to Lebanon's Daylight Saving Time going into effect... this weekend, so don't delay in your updates if you work with any datetimes in Lebanon!

@shironeko If it does the thing where it looks for a similar file, I don't know why it's not finding `Lib/_datetime.py` in `main`, because those files are very close to identical.

@shironeko The problem is that I think when you try to `git cherry-pick` A onto B, I don't think `git` will go, "Oh let me find the common parent of A and B, following the history of each file to find the target files in B in case they've been renamed in either A or B", I think it looks for a file with the same name in the same location or *maybe* it does that, then if it doesn't find one, it looks for a file in B that is sufficiently similar to A that you could call it the same file.

@shironeko Another option would be to basically put the entire Python implementation in the `except` block of a `try: ... except ImportError` construct, but that's ugly and horrible and also I'm not sure it would play any nicer with `git cherry-pick` anyway.

@shironeko That's how it already works. Right now `import datetime` defines the whole Python implementation, then tries to import the C implementation to overwrite it.

After this change, `import datetime` will work more like `import zoneinfo`, where it tries to import the C implementation, then on failure it imports the Python implementation.

If you are a expert and understand how `cherry-pick` works at a fundamental level, I'd appreciate if you could take a look at this StackOverflow question: stackoverflow.com/q/75825183/4

Trying to figure out the best way to merge a specific PR that will make importing `datetime` significantly faster.

There actually does seem to be quite a bit of overlap between what he's talking about and what @simon has done with datasette and dogsheep.

Show thread

Found it: this was Pascal van Kooten on Podcast.\__init__: pythonpodcast.com/nostalgia-pe

He was talking about his project Nostalgia: nostalgia-dev.github.io

Paul Ganssle  
I vaguely recall that I listened to an episode of @talkpython or Podcast.__init__ or something where the guest had some sort of elaborate system fo...

Aww yeah, I am very ready for some lab grown meat: npr.org/sections/health-shots/

I'm guessing just 2-4 more years of bureaucratic hurdles until it's available but expensive, then 15 more years until I can eat a cultivated eagle steak with elephant marbling.

@simon @jonafato @talkpython I don't think so. I remember the person on the podcast had a story where they were trying to remember something they had done or learned, and they were able to figure out what it was because they remembered that they had learned it while riding a specific train or something, so they were able to cross-reference their location data to see when they were at that train and then check their notes taken around that time (details here might be all wrong, but I don't think there's anything like that in Simon's podcast).

I also sort of think that I listened to this pre-pandemic.

@liaizon @talkpython Obsidian looks sort of promising, but it's a bit too free-form, and I'd like something a bit more multi-media (e.g. sometimes I have something to record but don't want to stop and type it out because I'm walking from place to place, I'd prefer to just do a voice note and hopefully transcribe it later).

@aj @talkpython Hmm.. That could have been, but I think the focus was much more about this person quantifying their own life. I am not sure what the Python angle was.

The reason I'm looking for this is that I'd really like to set up a system where I can easily capture small snippets of information about my day, like a journal with a bit more structure.

There are a bunch of numerical things that I track in sort of haphazard and idiosyncratic ways — I measure my weight and body fat % and track it in Google Calendar, I have a "Track and Plot" app on Android for my Uric Acid levels, and I use paper and pen to track my weight lifting.

I'd love to be able to have a free-form journal that can include voice/audio or text, plus numerical, boolean or structured data entries at specific points. Ideally something that uses an open format and can easily be synced between an app on my phone and something on my computer.

Show thread

I vaguely recall that I listened to an episode of @talkpython or Podcast.\__init__ or something where the guest had some sort of elaborate system for documenting everything about their life. Might be some sort of quantified self thing. Anyone else remember this and can track down the link?

@art My understanding is that this is frequently a condition of state funding for local libraries. Basically every library in California will offer library cards to every California resident. New York is the same way as far as I know.

Just a quick reminder!

In California, the Los Angeles Public Library allows you to get a library card even outside of LA, as long as you live in California.

With your, #LAPL account you have access to a lot of program including free #LinkedinLearning and #Coursera.

lapl.org/education-research

Other Public libraries probably offer the same.

Show older
Qoto Mastodon

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