Show newer

Oh wow, I didn't know that if you want to prevent os.walk from walking a specific subdirectory, you can modify the list of directory names it returns in place: stackoverflow.com/a/19859907

Not the most intuitive way to accomplish this, but definitely useful.

This Back to the Future Delorean is clearly depicting the scene in BTTF 1 where Doc and Marty are testing the time machine, but it's already been modified as a flying car! There isn't even a Mr. Fusion.

HAVE YOU NO REGARD FOR CANON, PLAYMOBIL?

Now that I have a nice microphone on a fancy boom arm, it is clearly time to start a podcast.

I'm thinking maybe a review podcast where I watch every episode of Tayo the Little Bus.

@foxhkron ISO 8601 is not a single date format, it's actually hundreds of related datetime formats, plus some other stuff.

It's shockingly complicated and doesn't even capture some important stuff, but YYYY-MM-DD is a pretty good date format.

Anyone know how much data processing is done in the world? What, if anything, is the common software stack? How do entomologists use computers?

Just came across this article on realpython.org about working with datetimes.

Unusually for articles of this genre, I actually agree with most/all of the recommendations I read (doesn't hurt that they linked to 4 of my blog posts... 😛):

realpython.com/python-datetime

Test & Code 111: Subtests in Python with unittest and pytest with @pganssle

t.co/5Dkus9CqRc

What are subtests?
Why you might want them?
What should you watch out for if you decide to use them? twitter.com/brianokken/status/

Little known fact: before their company pivoted, the supercomputer in Westworld Season 3 was designed to generate new episodes of Gilmore Girls.

‍@brianokken on episode 102 of @testandcode: "Oh totally, I would not read something that had 'Enterprise' in the title."

Sick burn on @mhashemi 🔥

Most of you just know me as a fan of chiptune music, but did you know I also do programming?

I've just had my first PEP accepted to the Python language! PEP 615, to add IANA time zone support to the standard library:

mail.python.org/archives/list/

PEP 615: python.org/dev/peps/pep-0615/

Harumph. I'm supposed to be sad right now because so many of my friends are leaving , not sad because I haven't seen them in so long. This is the wrong kind of sad!

#Makeheaders is a #C header file generator.

Makeheaders scans C or C++ source files for public definitions and creates header files containing prototypes for found definitions. Makeheaders enables integration of both the interface and implementation into a single file which is automatically expanded into the two files. Makeheaders is very fast, works with make, and can work as #Ctags.

Website 🔗️: hwaci.com/sw/mkhdr/

#free #opensource #foss #fossmendations #programming #Cpp

"I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone."

-- Bjarne Stroustrup

People who cross-post between twitter and mastodon in the browser - what do you use?

I usually cross-post with Twidere from my phone, but if I'm posting from my computer, would be good to be able to cross-post easily.

This post brought to you by excessively deeply-scrubbed and yet still green fingers.

Show thread

Employees at the company that makes some egg dying kits:

#1: Where should we source the dye?
#2: Maybe we can get surplus dye from those dye packs they use in banks to permanently stain theives?
#1: Won't that stain our customers' hands and clothes?
#2: And the eggs!

@bitecode Neither are reversible. The human is a normal human with memories of being a frog and no other memories. They have the equivalent human characteristics relative to the human population that they had relative to the frog population, so if they are a particularly smart frog, they will be a particularly smart human.

They do not know human languages or culture, but they can learn these things.

Show older
Qoto Mastodon

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