social.coop is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Fediverse instance for people interested in cooperative and collective projects. If you are interested in joining our community, please apply at https://join.social.coop/registration-form.html.

Administered by:

Server stats:

489
active users

#til

52 posts49 participants9 posts today

#TIL that @adamchainz is also a practitioner of #TrunkBasedDevelopment !
(deep in the introduction to his most excellent "Boost your git DX" book.
adamchainz.gumroad.com/l/bygdx

GumroadBoost Your Git DX🚀 Updated January 25th 2025—see update blog post.This book covers the best command line Git tools, techniques, tips, tricks, and tactical tidbits I’ve encountered from over a decade of using Git. The selection reflects my preferences for well-maintained tools that provide high value with little need for customization.Note that this book is not an introduction to Git and assumes that you’re already using Git on a daily basis. It offers ways to improve your developer experience with Git that ultimately help you code faster.Free sampleDownload the free sample to read the introduction and first three chapters.ContentsThe book contains 20 chapters. Below is a brief summary of the contents. See the latest update post for a full table of contents and links to sample content. IntroductionOpening notes, a description of the included examples, acknowledgements, and changelog. Global configurationGit's configuration files, basic options to configure, backing up configuration files in a repository. AliasesShorten Git commands with both shell and Git aliases. Shell configurationImprove your shell experience with oh-my-zsh and Starship. Shell toolsThree tools that integrate with Git: Less, delta, and ripgrep. Repository configurationImprovements for per-repository configuration: default branch naming and Git ignore files. Hooks and the pre-commit frameworkExtend Git with the pre-commit framework and related hooks. Command commonalitiesOptions and data types common to all or many Git commands. init and cloneTips for starting repositories, both new and cloned. branch and switchManage branches and switch around to commits. status and diffMake checking status easier and improve the diffs that Git generates. add and restoreLearn how to add changes with precision and undo/un-add them with “git restore”. commit and resetCommit faster and carefully undo commits with “git reset”. stash and applyTwo commands for handling changes outside of the regular workflow. push and pullMake pushing and pulling branches a little bit smoother. merge and rebaseImprove how merging and rebasing works. log and reflogFind details from the commit log with precision and undo destructive actions with the reflog. blame and bisectTrack who changed what when with blame and use bisect to track down problem commits. worktreeWork on multiple branches at once with worktrees. OutroductionHonourable mentions that didn’t quite make it, and further reading. FAQWho are you?Hi, I'm Adam Johnson. I'm an author and solo consultant working with Django and Python.I’ve used Git since 2012 and have 1.3k repositories on my GitHub profile. I even managed to become a Git contributor whilst writing this book.What's included?A PDF watermarked with your email address, an ePub, an AZW3 file (Kindle), and a resources zip file containing all the code examples.Will you do a printed version?Unfortunately, I can’t afford to do print versions right now.Do you offer any discounts?Gumroad’s purchasing power parity feature will automatically offer you a discount based on your location.Outside of that, I offer occasional seasonal discounts. Follow my blog, Mastodon, or Bluesky to be notified of these.Can I get an invoice?Gumroad will send you a receipt with a "generate" button to turn it into an invoice so you can make your employer pay!Can I purchase with an alternative method (e.g. direct bank transfer)?Due to accounting limitations, I can only sell my product on Gumroad. If it doesn't work for you, please try emailing Gumroad support (support@gumroad.com) and CC'ing me.Praise“Adam has put together such a comprehensive collection of topics, each with appropriate levels of detail (enough to make you self-sufficient, not too much to confuse you). I love that the chapters can be read in any order. It would be the perfect companion for a git Lunch & Learn series. It's perfect for a book club. I feel like it's the perfect summary for the material that is floating around in my head.”—Blaise Pabón on Mastodon“This book transformed my day-to-day operations. As a self-taught engineer, I have found myself starved for mentorship, and Boost Your Git DX has been my most influential mentor in 2023.”—Lance Goyke on his blog“🤯🤯🤯That's my reaction after every section in “Boost Your Git DX” by @AdamChainz, a goldmine of excellent tips about git.”—Rodrigo on Twitter“whether you're new to git or an experienced veteran -- @AdamChainz’s new book "Boost Your Git DX" has something for everyone! (even I learned a cool new thing: git config --show-origin)”—Anthony Sottile on Twitter“I heartily recommend #BoostYourGitDX by @adamchainz. The configuration chapter alone was worth the price. And I now finally understand git bisect!”—Daniel Andrlik on Mastodon“Both [Boost Your DX books] are amazing, they remind me of my school days when you would sit in the computer lab next to the wizards, and come away with new magical skills.”—John Beimler on Mastodon“I've been using git for years and can do all the basic stuff there. But the "Boost Your Git DX" shares many useful tips, configuration settings, and options I didn't know about. It finally pushed me to revisit my git workflows and apply some improvements.”—Sebastian Witowski on LinkedIn“@AdamChainz book is an excellent, practical complement to ProGit. It focuses on how to do the things you will need to do, and related tools for improving your git qol.”—Dan O’Leary on Twitter“@AdamChainz book, Is a game-changer for anyone looking to level up their Git skills and streamline their development process. You're empowering me with your knowledge! 🚀📚”—Ngazetungue Muheue on Twitter“"Boost Your Git DX" by @adamchainz is THE comprehensive guide to Git you should be reading. Every page is imbued with useful advice and productivity tips. Personally, I understood and started using worktrees more. Check it out!”—Julius Seporaitis on Twitter“Adam's written two books before (Boost Your Django DX; Speed Up Your Django Tests) — both paid for themselves within the first hour of my purchase. This one's a no-brainer, too.”—Justin Duke on Twitter“I picked up the early access Boost Your Git DX by @adamchainz and even within the first couple chapters I’ve found some really useful tips!”—Daniel Andrlik on Mastodon“Discovered the magic of ‘git stash’, after reading about it in @adamchainz book “Boost your Git DX” today. Tucked away my code changes safely, only to unleash them again when ready. A small yet mighty command!”—J-O Eriksson on Mastodon“I'm learning a lot of neat Git tricks from Boost Your Git DX by @AdamChainzIf you use Git, check out Adam's book! 🔥🔥🔥”—Mike Driscoll on Twitter“I had the opportunity to preview a few chapters of Adam's book and was seriously impressed. I can almost guarantee you'll learn some tricks and ways to optimize your workflow. He went down the rabbit hole so you don't have to.”—Peter Baumgartner on Twitter“I'm really excited by @adamchainz' new book, Boost Your Git DX". I've been using git for over 14 years now and I can say that at least a third of the table of contents is new for me.”—Daniel Roy Greenfeld on Twitter

#TIL (and wish I hadn't) that in #x86-land there are at least 11 different documented #NOP instructions, all different lengths, so you can use them as padding to align loops, that NOP in 64 bit mode behaves differently to NOP in 32 bit mode, and that there's an instruction for a floating point NOP. #Linux has a subroutine #optimize_nops. Can we please go back to abacuses and cuneiform.

D-VHS History: A Confusing DRM-Laden Video Format That Looked Great
tedium.co/2025/04/02/d-vhs-d-t
Filled with #TIL for casual video format and storage nerds like myself who passed through the vhs to dvd transition without paying much attention.

Stories on the evolution of progress, where newer leaves behind better, are perennially interesting. I think it happens far more often than we care to acknowledge.

Thanks @ernie

Tedium: The Dull Side of the Internet.D-VHS History: A Confusing DRM-Laden Video Format That Looked GreatIt’s pretty much the answer to a trivia question at this point, but there was once a version of VHS that looked better than DVDs. Really.

#TIL about Pinchflat, a self-hosted app to download YouTube playlists and channels and turn them into audio (or video) RSS feeds for your podcatcher.

👉 github.com/kieraneglin/pinchfl

I used podsync for this until now, but Pinchflat comes with a nice interface (vs just a config file) and some more nice features! 👍

Your next YouTube media manager. Contribute to kieraneglin/pinchflat development by creating an account on GitHub.
GitHubGitHub - kieraneglin/pinchflat: Your next YouTube media managerYour next YouTube media manager. Contribute to kieraneglin/pinchflat development by creating an account on GitHub.

#TIL: #RaspberryPi5 doesn't support #WakeOnLAN 😩 🤦‍♂️

forums.raspberrypi.com/viewtop

So how am I supposed to reduce power consumption when not using our #LibreELEC setup on #RPi? 🤔

I do have Shelly Plug S available but I guess that I'd need a remote shutdown command before turning off power. Furthermore: how do I enable auto-boot when power resumes?

Any ideas?

forums.raspberrypi.comRPi5B wake-on LAN by magic packet? - Raspberry Pi Forums

Another : the ol' Target Disk Mode is kinda still around, via USB-C and Thunderbolt. Power off the source Mac, connect 'em, hold down source Mac's power button til you get startup options, then a menu item exists for "Share Disk…”.

Pretty nice way to copy stuff off an older system w/o worrying about having it online for dueling syncing app problems, or what have you.

: has a Shift-Cmd-. shortcut in the Finder to toggle showing/hiding hidden files. Why I did not learn this until 20-fucking-25 is beyond me!

I mean, I know why, 99.999% of the time I care about hidden files, it's in the terminal. But still.

#til #dinosaurs had a much more efficient respiratory system than mammals (then and now) have. Mammals breathe in and out alternately through the same hole. In between, oxygen had to be transferred to the blood and CO2 from the blood and then the blood carries the gases all around. The dinosaurs had air sacs throughout their body, even in their bones. Dinosaurs were full of air. O2 could reach all parts of their body faster than by blood. They were very energetic, and ran hot. (1/2)