I tweet about Regex, Python, Linux CLI one-liners, Vim and interesting tech nuggets.
โ Author of several programming ebooks and devourer of fantasy books ๐ง
๐ง Want to get good at Linux CLI tools and Shell Scripting? Check out my "๐๐ถ๐ป๐๐ ๐๐ผ๐บ๐บ๐ฎ๐ป๐ฑ ๐๐ถ๐ป๐ฒ ๐๐ผ๐บ๐ฝ๐๐๐ถ๐ป๐ด" ebook.
๐ป 500+ examples and 200+ exercises.
๐ฅ Free to read online!
https://t.co/MC559U0dFa
Python 3.15.0 was just released!
To celebrate, I'm doing 15 days of Python 3.15.
Each week day, I'll write about a new Python 3.15 feature.
We'll cover lazy imports, the new built-ins, the DX improvements, some new stdlib niceties, and MUCH more.
I'll collect my posts here ๐
While we wait for Python 3.15.0 next week, let me tell you that in October I'm running 5 Python live workshops.
3h of live coding, hands-on practice, and lots of learning.
More details below ๐ and share this with a friend who might want to sign-up!
(Link in my profile.)
I am putting a lot of time into updating my Linux kernel posts - reading the source, experimenting, drawing diagrams, and trying to explain the internals in a way that is accessible to everyone.
If you enjoy this kind of deep technical writing and would like to help me make more of it, you can support me on Patreon: https://t.co/Z5X6286wGb
The launch discount for Dinkus ends at the end of the month. Post Monday, it is full price.
Dinkus is a visual Markdown editor for macOS. Author and edit Markdown files with an intuitive GUI. Switch to raw markdown when you need it.
No account or subscription. Always local.
๐งต
https://t.co/sBkr32eSIN
New: Dinkus Markdown Studio for Mac.
Visually author Markdown with a native app. Images, tables, code blocks, and more, are displayed in the editor (no preview pane necessary). Raw markdown is a keypress away.
Try typewriter mode and paragraph or sentence focus for a distraction-free writing experience.
No account or subscription. Your data stays local.
https://t.co/sBkr32eSIN
I cannot leave this app alone.
I struggle with UI design. I feel like I've refined it enough one day, but then it looks like a pile of garbage to me the next day. I hope this is its final incarnation...
Do you like to read about performance investigations? Me too!
I'm fanatical about performance. Computers and software must be fast! Performance investigations are one of my favorite parts of how systems work because they rarely turn out to be what you expect at first.
Just imagine. You are working on another feature. You squeezed the last details out of your project manager, thought it through from every possible angle, and wrote the initial code without O(n!) algorithms. You deploy your changes to staging, run your first tests, open Grafana expecting to see the graphs you anticipated, and...
Does it sound familiar? You know how it ends, right? I have been in situations like this many times.
Although these situations can be stressful, this is still one of my favorite parts of the profession. I have always had my nose buried in performance posts and have always been happy to see another one in my RSS feed - whether from Brendan Gregg, the ClickHouse Engineering Blog, the Percona Database Performance Blog, or many others.
At some point, I thought, "hey, I also have a big collection of such stories. They might be interesting to other people too".
So I have decided to start writing performance hunting stories from my own experience: what I saw, what I tried, what didn't work, and what the problem actually turned out to be.
Interested? More performance hunting stories are coming here and at https://t.co/TRTRugEThc.
I don't know why, but based on the past few years, I had expected my sales to drop to near zero this year.
However, the past few months has seen decent income. Thanks to all the readers who continue to invest in books in this age of agents.
Holy moly Ishmael is live!
It's taken a week to be reviewed on the app store. So a new version will follow soon.
I'm going to be giving away some free copies. But there is a two week trial, so no rush.
https://t.co/e6t6PBpgtZ
CLI text processing with GNU Coreutils by Sundeep Agarwal is on sale on Leanpub! Its suggested price is $12.00; get it for $5.00 with this coupon: https://t.co/ca4oF32xB7 @learn_byexample#computer_programming
I've been playing with a feature for my prose editor, I call "ghost cut".
Y'all know how to cut and paste. You hit ctrl+x, the text disappears and goes into the clipboard. Then you move the caret and ctrl+v to paste it into a new location.
You've done that a bazillion times, I bet.
An annoyance I have with this is that as soon as you cut, the text reflowsโand you have to reorient yourself in the "page".
The solution I'm playing with is to ghost the text that was just cut. It only disappears from view once you paste it.
I'm kinda liking it so far. But there is more testing to be done.
Does anyone know of any precedence for this? I've not seen this in any editor or word processor.
I dreamt of writing a book for as long as I can remember, wrote many outlines, but none materialised.
Then I started writing this article on virtual memory, which kept getting longer and longer and turned into an unplanned book.
Based on all the positive feedback, I recently published it on Amazon as well. Somehow, it is showing up as the #1 bestseller in its category on Amazon India :D.
Maybe it says something about how niche these categories are, but it still feels surreal.
Writers, if I may have your attention...
I am a solo software developer. I'm building a distraction free writing app for novelists. All the features of other distraction free apps, but it doesn't use Markdownโso you can have beautiful typography and formatting.
It manages chapters, with auto numbering. Front matter, back matter. And you can export to a variety of formats, including EPub and Word (in Shunn manuscript format).
Mac initially, Windows and Linux to follow.
Follow me if you want to be the first to try this out. ๐
#WritingCommunity
๐ง Want to get good at Linux CLI tools and Shell Scripting? Check out my "๐๐ถ๐ป๐๐ ๐๐ผ๐บ๐บ๐ฎ๐ป๐ฑ ๐๐ถ๐ป๐ฒ ๐๐ผ๐บ๐ฝ๐๐๐ถ๐ป๐ด" ebook.
๐ป 500+ examples and 200+ exercises.
๐ฅ Free to read online!
https://t.co/MC559U0dFa
A quick update on the Ebook:
- I've updated the PDF with better styling - great to read on devices.
- And, there is also an EPUB version available now.
These days whenever I need a database I reach out for sqlite that comes preinstalled with most Linux.
But most Unix systems have always shipped with a (non-relational) database library called dbm. It was written by Ken Thompson in 1979 and has shipped with all Unix and Unix like systems ever since.
It is a simple C based library to read/write key-value pairs. Under the hood it uses a hash-based index and a binary file format.
When BSD was being opensourced, they rewrote it and also added b-tree indexing. This later became Berkely DB.