fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users
Dunsap boosted

mini tip:

Enable `log.follow` globally to have `git log` always follow renames when checking the log for a single file. Otherwise, you need to remember the `--follow` option.

Dunsap boosted

A lot of tech people, particularly more junior folks, are looking for jobs right now. A short but important note for them: newcomers should generally ignore career advice from people who've been in the field longer than 10 or 15 years.

The way the industry treats us is so dramatically different from the way it treats newcomers that most advice is just flat out wrong.

jacobian.org/2025/mar/13/bewar

jacobian.orgBeware tech career advice from old heads - Jacob Kaplan-MossIf you’re new to tech – say, less than 5 years in the field – you should take career advice from people who’ve been in the industry more than 10-15 years with enormous skepticism.
Dunsap boosted

If you like the Go `defer` statement, you'll love the new Quattro release.

The point of the defer statement is to do resource cleanup when the function finishes. In Python we handle resource cleanup using context managers, but in more complex coroutines, all the `async with`s can really increase the indentation level. Especially if you interleave multiple `async with`s with `async for`s.

So I wrote some helpers: quattro.threeofwands.com/en/st .

Quattro 25.2.0 is out, enjoy!

quattro.threeofwands.comDeferring code - quattro 25.2.0 documentation
Dunsap boosted

💡 #TIL: Enable Automatic Inline Annotations in PR using Ruff in GitHub Actions

Want to see linting issues directly in your PR instead of digging through logs? 🕵️‍♂️ With Ruff and GitHub Actions, you can enable automatic inline annotations, making it easier to spot and fix issues.

Check out the full guide here: 🔗 til.sanyamkhurana.com/#/topics

til.sanyamkhurana.comSanyam Khurana's TILsA collection of Today I Learned (TIL) posts by Sanyam Khurana. Quick notes, coding tips, and discoveries.
Dunsap boosted

mini tip:

`.git/info/exclude` is a private `.gitignore` file that only affects your local repository. Use it to ignore local files you’ll never want to commit. I often use it for a “scratch” directory that I put temporary files in.

Dunsap boosted

For the anti-Amazon crowd who still loves ebooks and audiobooks:

📕 Bookshop.org lets you buy ebooks while supporting a local bookstore of your choice.

🎧 Libro.fm has the same philosophy, but for audiobooks.

Both Apple and Google take a 30% cut of in-app purchases made through their platforms. With Bookshop.org and Libro.fm, you buy directly from their websites and this cut goes to local bookstores.

#Books
#Reading
#eBooks

Dunsap boosted

Exciting news for the Django community! Django has earned the CHAOSS Diversity, Equity, and Inclusion Bronze Badge 🫶
This milestone reflects our commitment to building a welcoming and collaborative space for everyone.

Dunsap boosted

It feels like a long time, but also only yesterday - to celebrate our 25th birthday, we've joined the open social web. This is our first message posted on the Fediverse via ActivityPub!

I just finished replacing Poetry with Astral's `uv` on the Zakuchess Django project.
Smooth experience so far (thanks @hynek for the Dockerfile skeleton!), everything feels instant I'm impressed 🙂

When deployed to @flydotio , the Dockerfile step that installs the ≈30 Python dependencies took only 3.5 seconds, without any cache! 😮 🚀

Dunsap boosted

Posting 1.12.0 is out now! Posting is an API client which runs entirely in the terminal 🖥️

You can now quickly delete and copy requests, and methods are now colourful 🎨 You can also move the sidebar to the right if you wish, because it was like 1 line of code with Textual so why not 🤷

This release also squashes some bugs and tries to make the UX a bit more friendly and intuitive.

There's now a (work in progress) guide too: posting.sh/guide/

github.com/darrenburns/posting

Dunsap boosted

The pip v24.2 release has been out for over 24 hours and nothing has broken yet, so...

Trust store by default is now available in pip v24.2! 🥳 This is a project that @davisagli and I started over 2.5 years ago now and we've finally achieved the goal we announced in a lightning talk during PyCon US 2022:

youtu.be/1IiL31tUEVk?feature=s

This means your corporate proxies will finally /just work/ when you're installing Python packages.

Dunsap boosted

Google no longer intends to drop support for third-party cookies in Chrome. "This is an extremely disappointing decision that really just highlights Google's commitment to their own profits over users' privacy," EFF’s Lena Cohen told @theregister. theregister.com/2024/07/23/goo

The Register · Google's plan to drop third-party cookies in Chrome crumblesBy Thomas Claburn