Sundeep 🌞

13.4K posts

Sundeep 🌞 banner
Sundeep 🌞

Sundeep 🌞

@learn_byexample

I tweet about Regex, Python, Linux CLI one-liners, Vim and interesting tech nuggets. ✍ Author of several programming ebooks and devourer of fantasy books 🧙

Katılım Nisan 2015
139 Takip Edilen3.4K Takipçiler
Sundeep 🌞 retweetledi
Alex Kuleshov
Alex Kuleshov@0xAX·
Took me almost a month, but it’s finally done. I completely rewrote the first chapter of linux-insides about the Linux kernel initialization process. Now it should be aligned with modern kernels (up to master). github.com/0xAX/linux-ins…
English
11
222
1.3K
52.4K
Sundeep 🌞 retweetledi
Will McGugan
Will McGugan@willmcgugan·
Announcing Textual Diff View! Add beautiful diffs to your terminal application. ⭐ Unified and split view ⭐ Line and character highlights ⭐ Many themes ⭐ Horizontal scrolling github.com/batrachianai/t…
Will McGugan tweet mediaWill McGugan tweet media
English
7
28
375
29.1K
Sundeep 🌞 retweetledi
Abhinav Upadhyay
Abhinav Upadhyay@abhi9u·
I've been looking into autograd internals of Pytorch. While I was aware of how backward mode autodiff works, I didn't know there was also forward mode autodiff. I had to read up on that. There is a very comprehensive article from an MIT course on that, I highly recommend it.
Abhinav Upadhyay tweet media
English
8
41
601
28.7K
Sundeep 🌞 retweetledi
Rodrigo 🐍🚀
Rodrigo 🐍🚀@mathsppblog·
Decorators blueprint: a step by step explanation of the full decorator anatomy. Steal this for when you're writing your own decorators.
Rodrigo 🐍🚀 tweet media
English
0
2
13
782
Sundeep 🌞
Sundeep 🌞@learn_byexample·
🐍 Struggling with Python regular expressions? 🔥 I wrote an interactive TUI app with 100+ exercises, covering both `re` and `regex` modules! github.com/learnbyexample…
Sundeep 🌞 tweet media
English
1
5
14
1.2K
Sundeep 🌞 retweetledi
Phil Ewels
Phil Ewels@tallphil·
I just released v1.4 + v1.5 of "mkdocs-quiz" this week with some fun new features: ✍️ Fill-in-the-blank quizzes (not just multiple choice) 💾 QTI export for Canvas/Blackboard/Moodle ✨ Interactive terminal CLI quiz runner github.com/ewels/mkdocs-q…
GIF
English
1
3
7
1K
Sundeep 🌞 retweetledi
Mike Driscoll
Mike Driscoll@driscollis·
My latest #Python book is now available in digital format
Mike Driscoll tweet media
English
1
2
9
783
Sundeep 🌞 retweetledi
Rodrigo 🐍🚀
Rodrigo 🐍🚀@mathsppblog·
This year I'm starting a habit of working on a book every day. I have to write at least a paragraph for it to count. (I set a small daily goal to make it RIDICULOUS for me to skip it.) I'm 15 days in. The progress accumulates fast!
English
2
1
5
1.1K
Sundeep 🌞 retweetledi
Will McGugan
Will McGugan@willmcgugan·
Python has a "suppress" decorator in contextlib, which catches and ignores exceptions of a given type. I didn't use this for the longest time. It felt like an import to do something so trivial. I didn't care too much about saving two lines. Lately though, I prefer it. Not for saving lines, but because it is self documenting. The "suppress" is clearer when scanning code. This can get lost in your mind's eye when scanning code: try: file.write(...) except OSError: pass This feels more explicit, and easier to read at-a-glance with suppress(OSError): file.write(...) This tweet brought to you from the "last humans still writing code" generation.
English
27
23
535
45.3K
Sundeep 🌞 retweetledi
Rodrigo 🐍🚀
Rodrigo 🐍🚀@mathsppblog·
You can use the module `json` to read and write data in the JSON format, which is very suitable to represent the most common Python built-in types: - lists - dictionaries - strings - integers - floats - Booleans.
Rodrigo 🐍🚀 tweet media
English
2
1
5
952
Sundeep 🌞
Sundeep 🌞@learn_byexample·
@KeCaran Thanks a lot for the kind words! You should have access to all the issues from your Gumroad account.
English
0
0
0
9
Sundeep 🌞 retweetledi
Sundeep 🌞
Sundeep 🌞@learn_byexample·
🐧Want to test your Linux CLI text processing skills? 🔥Check out my interactive TUI app with 70+ exercises! github.com/learnbyexample…
Sundeep 🌞 tweet media
English
1
4
14
1.7K
Sundeep 🌞 retweetledi
Arpit Bhayani
Arpit Bhayani@arpit_bhayani·
Wrote an essay on why time is such a hard problem in distributed systems. This week, I went down the rabbit hole of clock drift, NTP, PTP, logical clocks, vector clocks, and how systems like Spanner and CockroachDB deal with ordering and causality at scale. If you want to know how and why clocks break databases, why milliseconds matter, or how distributed systems deal with time, this essay will give you a solid mental model. Give it a read.
Arpit Bhayani tweet media
English
13
50
698
37K
Sundeep 🌞 retweetledi
Will McGugan
Will McGugan@willmcgugan·
Alrighty. The Toad is out of the bag. 👜🐸 Install toad to work with a variety of #AI coding agents with one beautiful terminal interface. Check out the blog post for more information... willmcgugan.github.io/toad-released/ I've been told I'm very authentic on camera. You just can't fake that kind of awkwardness.
English
60
86
702
198.9K
Sundeep 🌞 retweetledi
Will McGugan
Will McGugan@willmcgugan·
Is curl supposed to be pronounced "See URL"? Because that makes sense, but I hadn't thought about it until now.
English
141
38
1.9K
211.5K