11,365 karma · joined October 4, 2017
https://github.com/learnbyexample
https://learnbyexample.github.io/books/
Next, I'm working on a TUI app (using Textual) for board games like Tic Tac Toe and Connect Four. These will also have a modified rule that requires forming a square instead of a line.
I remember reading a blog post pointing out that the for-loop order stays the same between comprehensions and normal nested code. You write the outer loop first.
Seems like the link changed, and thus not caught by the dupe detector.
Discussion: https://news.ycombinator.com/item?id=17696023 (420 points | Aug 6, 2018 | 259 comments)
Last week I published a new version for my awk ebook (https://learnbyexample.github.io/cli-text-processing-awk-ann...) and today I'll start working on sed ebook.
[0] which used footnotes to great effect
https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-... --> https://news.ycombinator.com/item?id=42999672 (66 points | 25 days ago | 22 comments)
https://blog.reverberate.org/2025/02/10/tail-call-updates.ht... --> https://news.ycombinator.com/item?id=43076088 (124 points | 18 days ago | 92 comments)
https://news.ycombinator.com/item?id=29138570 (158 points | Nov 7, 2021 | 121 comments)
* https://news.ycombinator.com/item?id=41945308 (252 points | 65 days ago | 83 comments)
* https://news.ycombinator.com/item?id=41222528 (68 points | 4 months ago | 47 comments)
* https://news.ycombinator.com/item?id=37478111 (218 points | Sept 12, 2023 | 93 comments)
* https://news.ycombinator.com/item?id=35178719 (191 points | March 16, 2023 | 107 comments)
https://news.ycombinator.com/item?id=25442510 (302 points | Dec 16, 2020 | 96 comments)
Ultralytics AI model hijacked to infect thousands with cryptominer (https://www.bleepingcomputer.com/news/security/ultralytics-a...) - discussed 2 days ago: https://news.ycombinator.com/item?id=42351722
Discrepancy between what's in GitHub and what's been published to PyPI (https://github.com/ultralytics/ultralytics/issues/18027) - https://news.ycombinator.com/item?id=42337548
See also:
* https://backreference.org/2010/02/10/idiomatic-awk/
* https://earthly.dev/blog/awk-examples/
* https://learnbyexample.github.io/learn_gnuawk/ (my ebook)
For more detailed resources, see https://www.grymoire.com/Unix/Sed.html and my ebook https://learnbyexample.github.io/learn_gnused/