Show newer

Oh boy. Standard library time zone implementation is now passing a lot of tests. Still a bunch of TODO comments and tests to write but I think the API might be close to final.

Looks like it's time to start in on the documentation.😬

Interesting little project: parver, for parsing and manipulating PEP 440 version numbers.

pypi.org/project/parver/
github.com/RazerM/parver

Could be useful if you have scripts to bump your project's version.

The 2020 Python Packaging Summit at is official! It will be held on April 16th, 2020 at the conference venue.

To read the announcement, register to attend, and suggest topics see t.co/f4lQbUQ3qW twitter.com/ThePyPA/status/123

We have ourselves a winner in the 2nd Programming Language World Championships! #plwc2020

Congratulations to Python, which was able to defend its title in a narrow 55 - 45 victory over C.

Third place goes to Rust with a convincing 68 - 32 against Lua.

Thank you to everyone who participated in the polls! See you next year for the third edition!

If the founding fathers had microcontrollers, I firmly believe they would use them to make chiptune music send tweet.

In #python, "and" / "or" don't return True / False, but the first value that confirms for sure the result of the test:

>>> [] or 0
0
>>> [] and 0
[]
>>> "hello" and 1
1
>>> "hello" or 1
'hello'
>>> "hello" or {}
'hello'
>>> "hello" and {}
{}

This works because...

RT @cocoaphony@twitter.com

Periodic Reminder: When debugging, you must first accept that something you believe is true is not true. If everything you believed about this system were true, it would work. It doesn't, so you're wrong about something.

This is a surprisingly common stumbling block for devs.

🐦🔗: twitter.com/cocoaphony/status/

People who use Beautiful Soup for #Python screenscraping and various data projects:

groups.google.com/forum/?fromg

groups.google.com/forum/?fromg

On the upcoming sunset of Python 2 support, and of Beautiful Soup's 3.x series (switch to bs4)

Just 2.5 months until PyCon. That one... really snuck up on me.

Glad I don't have to prepare a brand new talk and organize a summit... (Oh, wait 😅)

#todayILearned that, when searching in Firefox's tab bar, you can prefix your search with `%` to search exclusively in the titles of open tabs.

Maybe everyone else already knew this, but I didn't—and I have the feeling that it will *dramatically* increase the number of open tabs I have at any given time.

#plaintext email etiquette question:

When I'm replying to a thread with multiple participants, is there a standard way to indicate who I am quoting?

For example, in the exchange below, is there a good/standard way to attribute the first quote to Alice and the second to Bob?

> Foo is better

> Bar is better

I agree with Alice that foo is the way to go.

CC: @sir, resident plaintext email expert/evangelist

Great software documentation has these key things (not necessarily split like this):

User's Manual: How to use the software and all its features in enough detail to stand alone for normal use, including basic troubleshooting.
Service Manual: The broad design of the software and how to install, configure, upgrade, and otherwise maintain it, including advanced troubleshooting.
Programmer's Manual: Design details, APIs, and internals needed to modify the software or write code that works with it.

The robustness principle: "Be meticulous about your appearance and never tell anyone when they have food in their teeth."

Now that we're all rested from the holidays, time for you all to sign up for some fun activities: fosdem.org/2020/news/2019-12-3 Jokes aside, it would be literally impossible to make FOSDEM happen without all the wonderful people who volunteer, so thank you :) !

I did some basic profiling and I think the multi-threading behavior is actually not buying me much, because a lot of the time is spent doing the zip encoding.

Not sure if there is a simple way to parallelize that or if it's even worth doing.

Show thread

I soft-launched this a few weeks back, but here is my most polished (i.e. not very) @rustlang project to date: metadata-backup, a tool for backing up your file system metadata.

Contributions welcome!

gitlab.com/pganssle/metadata-b

Blog post: Testing an Arch Linux package in Gitlab CI

This is basically the blog post I was hoping to find when I was struggling with permissions issues in my new CI pipeline. It's a bit outside my comfort zone, so I'm especially keen on feedback (e-mail is best, but twitter or mastodon works in a pinch).

blog.ganssle.io/articles/2019/

is considering dropping support for Python 3.5, but is looking for feedback from users. See the issue here: github.com/PyO3/pyo3/issues/68

@rustlang

Show older
Qoto Mastodon

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