Show newer

In Python 3.11+ datetime.datetime.fromisoformat( accepts any number of decimal places in the seconds component, extra digits are truncated (not rounded)

>>> datetime.datetime.fromisoformat('2011-11-04T00:05:23.1234567Z')
datetime.datetime(2011, 11, 4, 0, 5, 23, 123456, tzinfo=datetime.timezone.utc)

gist.github.com/moreati/85de3f #TIL #Python

Quick #Python packaging tip: if you ever find yourself wanting to type `import src.anything` or `from src import anything`, turn back. `src` should never be part of an import.

Now I just need to figure out why my server computer freezes up whenever I turn off the monitor it's connected to and I'll be a happy man. 😅

Show thread

For the past few years, my computers have failed to wake up the large 4k monitor connected to my dock, which has been a source of great annoyance to me.

Just a few days ago I came across something that suggested maybe the issue was that the monitor needs HDMI 2.0+, so I bought a newer HDMI cable and now it works perfectly, so if you are having a similar problem, might be a good idea to try a newer cable.

Anyone know if there is a gym in that is reasonably close to the convention center that will sell me a short term membership while I'm at PyCon?

A cable machine, dumbbells and an elliptical is enough to do my whole workout.

I recently optimised .startswith() and .endswith() to be more than 4x faster than before. Before, a bulky slice-and-comparison operation (s[:n] == other) would be faster; now the idiomatic variant is faster. Keep on writing idiomatic code!

- PR: github.com/python/cpython/pull

Extremely excited to share my team at NVIDIA is hiring for a full time role working on ✨ open source Python packaging projects ✨ like Warehouse, pip, and more!

If you are or know someone excited about open source Python development, especially focusing on open source packaging projects, please take a look! And if you have any questions for me, please reach out.

Please boost for spread!

nvidia.wd5.myworkdayjobs.com/e

#python #opensource #getfedihired #fedijobs

Senior System Software Engineer - Open Source Python Ecosystem

Are you a Python developer with a taste for open-source Python development? We are seeking a System Software Engineer to help us expand our open-source Python packaging ecosystem engagement. As NVIDIA grows its enterprise support matrix, supporting the open-source Python packaging community becomes increasingly critical to delivering reliable software releases at scale. We are investing in solving these challenges in partnership with the open-source community through long-term engagement and automation. If you are passionate about engaging with open-source communities and enjoy developing robust long-term solutions to highly visible problems, you may be a phenomenal fit for our team! What you’ll be doing: Contributing to the development of the open-source Python packaging ecosystem such as PyPI's Warehouse. Working with internal teams to understand their Python use cases. Meeting with open-source community members to adopt their design philosophies in our code. Authoring, contributing to, and implementing PEPs (Python Enhancement Proposals). Monitoring, maintaining, and improving existing Python wheel release automation pipelines. Provide important metric data-points for your area of expertise. Our team oversees installer creation and release for many business areas of NVIDIA. We are essential to delivering software updates for CUDA and beyond. Your role will add to NVIDIA's open-source community engagement while extending our Python wheel support to new software products. Your work to tackle open-source Python packaging challenges will make delivering Python easier for developers worldwide. What we need to see: BS/MS degree in Computer Science or related areas or equivalent experience. 5+ years experience working on software deployment in a Python ecosystem. Recognition in the open-source Python software community. Strong expertise in Python development. In-depth understanding of the PyPI warehouse codebase and pip package manager. Be self-motivated, have strong interpersonal skills, and be able to work independently with multiple teams with minimal direction. Ways to stand out from the crowd: Contributions to open-source Python packaging projects. Demonstrated ability to abstract technical complexity into automation. Experience with CI/CD infrastructures (Jenkins or Gitlab preferred). NVIDIA is widely considered to be one of the technology world’s most desirable employers. We have some of the most forward-thinking and hardworking people on the planet working for us. If you're creative and autonomous, we want to hear from you! The base salary range is 148,000 USD - 276,000 USD. Your base salary will be determined based on your location, experience, and the pay of employees in similar positions. You will also be eligible for equity and benefits. NVIDIA accepts applications on an ongoing basis. NVIDIA is committed to fostering a diverse work environment and proud to be an equal opportunity employer. As we highly value diversity in our current and future employees, we do not discriminate (including in our hiring and promotion practices) on the basis of race, religion, color, national origin, gender, gender expression, sexual orientation, age, marital status, veteran status, disability status or any other characteristic protected by law. NVIDIA is a Learning Machine NVIDIA pioneered accelerated computing to tackle challenges no one else can solve. Our work in AI and the metaverse is transforming the world's largest industries and profoundly impacting society. Learn more about NVIDIA.

nvidia.wd5.myworkdayjobs.com

When you say #PiDay, I hear #PyDay. Let's celebrate this day with a special episode with a special guest: sitting Steering Council member and #Python core developer, Emily Morehouse-Valcarcel!

We're talking about the Steering Council, progress bars, least and most favorite parts of Python, and of course, assignment expressions.

I'd use a walrus emoji, but the best we've got is a tuskless seal! 🦭 There's no anonymous crow either...

podcasters.spotify.com/pod/sho

Episode 9: Py Day with Emily Morehouse-Valcarcel by core.py

Let's talk about the Steering Council, running a small consultancy business, the Walrus, and pet peeves with our special guest today! ## Outline (00:00:00)  INTRO (00:00:56)  PART 1: Emily Morehouse (00:02:15)  Running a small consultancy business (00:04:39)  What features of JS do you miss in Python? (00:05:50)  Łukasz outnumbered in a world of Steering Council members (00:06:12)  Upgrading to new Python versions (00:07:00)  It depends on who deployed the project (00:09:44)  Second term as a Steering Council member (00:11:33)  Barry, play some bass for us (00:13:04)  Let's hear a recent war story (00:15:17)  Is this progress bar even working? (00:17:40)  The Villain Origin Story (00:21:37)  Emily, The Bringer of Doom (00:22:37)  Consensus within the Steering Council (00:25:52)  Syntax changes in Python are rare, right? Right? (00:28:22)  On implementing PEP 572 (00:32:52)  How would PyCon 2020 in Pittsburgh feel? (00:34:18)  How can you be mad about the Walrus? (00:36:10)  Favorite parts of the standard library (00:38:10)  Is hacking on Python a good experience to newcomers? (00:40:26)  Emily's pet peeve about Python, take 1 (00:42:17)  Emily's favorite change in Python in recent years (00:44:34)  Emily's pet peeve about Python, take 2 (00:46:34)  Łukasz's pet peeve (00:48:25)  Surprise extra question (00:49:42)  At core.py we are professionals (00:51:00)  PART 2: PR of the Week (00:54:00)  CALL TO ACTION: Upgrade Python.org to Django 4! (00:56:22)  PART 3: What's Going On in CPython? (00:56:38)  Faster Python updates (01:00:10)  Free threading: GIL can be disabled but we're not done yet! (01:04:17)  New defaults for SSL context flags (01:05:39)  python -m asyncio and sys.__interactivehook__ (01:06:24)  Surprise question: what is sys.__interactivehook__ even doing? (01:08:11)  OUTRO

Anchor FM Inc.

I logged on to twitter for the first time in ages because I wanted to contact someone whose preferred contact method was twitter DMs, and twitter suggested that I "interact with [my] timeline more" to help them learn that I'm human.

With the current state of twitter, I'm not sure that "likes to interact with this website" is a particularly common trait among humans...

On the plus side, I suppose this means I'll have a backup motherboard if the new one ever goes out. Maybe I should get a backup CPU as well to reduce downtime.

Show thread

Hmm.. My personal "local-only" server went down a few days ago, I think because the MB died (first it was starting and showing red for the "CPU" and "DRAM" LEDs, then it stopped booting entirely).

It's still under warranty, but when I do an RMA from ASRock I get an internal server error 500. I suspect that even when I finally get them to accept the RMA, it will be some time (weeks?) before I get a new motherboard. I could have a new motherboard from MicroCenter for $120 this evening, so I guess I'll just do that.

I'm looking for additional suitable reviewers for the Journal of Open Source Software (@joss) submission:

State-Averaged Orbital-Optimized VQE: A quantum algorithm for the democratic description of ground and excited electronic states

Anybody able to review this submission for JOSS, or suggest a reviewer? The review is mostly done but needs an additional reviewer to step up to get it over the finish line.

github.com/openjournals/joss-r

I bet the joke was on them when they got to the afterlife and the Shabti figurines kept drawing portraits of them with extra fingers...

Show thread

So apparently AIs have been taking human jobs for almost 5000 years now:

> Another probable reason for the decline, and eventual end, of retainer sacrifices is the creation of shabti-figures. Shabti-figures were mummy-shaped figurines, meant to replace retainer sacrifices; "... the responsibility for carrying out tasks on behalf of the deceased was transferred to a special kind of funerary statuette, known as a shabti-figure".[2] These shabti-figures were believed to carry out a wide variety of tasks, including everything from cultivating fields, to irrigating canals, to serving the deceased.

en.wikipedia.org/wiki/Ancient_

@freemo Is there any kind of "status" page for qoto.org that is independent of the mastodon instance? Or somewhere that lists known issues?

I'm experiencing significantly degraded performance and I feel like it would be good to have a place to go to find out if this is scheduled maintenance, a DDoS attack, or something else.

Heh, I just noticed that it looks like `virtualenv` seems to use the "COVID-time" version of : virtualenv.pypa.io/en/latest/c

Version 20 starting in 2020, still version 20 now... 😛

I think at this point `setuptools_scm` (and other tools like it) have probably caused more headaches for me than they've solved.

Show thread
Show older
Qoto Mastodon

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