76
36
69
How To Make Good Small Games (farawaytimes.blogspot.com)
110

Let me know your feedback, especially if you haven't learned awk yet!

45
34
78
25
74

Hello!

I am pleased to announce a new version of my CLI text processing with GNU Coreutils ebook. This ebook will help you learn 20+ specialized text processing commands provided by the coreutils package.

Cover image

This book heavily leans on examples to present features one by one. Exercises at the end of chapters will help you practice what you've learned and solutions are also provided for reference. External links are provided for further reading.

Links:

I would highly appreciate it if you'd let me know how you felt about this book. It could be anything from a simple thank you, pointing out a typo, mistakes in code snippets, which aspects of the book worked for you (or didn't!) and so on. Reader feedback is essential and especially so for self-published authors.

Happy learning :)

85
ZFS for Dummies (ikrima.dev)
147
Vim prank: alias vim='vim -y' (learnbyexample.github.io)

Did you know that Vim has an Easy mode? It's the hardest mode for those already familiar with Vim 🙃

19
[-] learnbyexample@programming.dev 4 points 10 months ago

Hopefully less than this year. I'm reading too many (100+) and that's reflecting in my reduced time on actual work (self-employed).

If you are looking for books, check out:

Intermediate:

  • Beyond the Basic Stuff with Python — Best Practices, Tools, and Techniques, OOP, Practice Projects
  • Pydon'ts — Write elegant Python code, make the best use of the core Python features
  • Python Distilled — this pragmatic guide provides a concise narrative related to fundamental programming topics such as data abstraction, control flow, program structure, functions, objects, and modules

Advanced:

  • Fluent Python — takes you through Python’s core language features and libraries, and shows you how to make your code shorter, faster, and more readable at the same time
  • Serious Python — deployment, scalability, testing, and more
  • Practices of the Python Pro — learn to design professional-level, clean, easily maintainable software at scale, includes examples for software development best practices
  • Intuitive Python — productive development for projects that last

Thanks a lot for the feedback on Coreutils book! It's so nice to hear that it helped in your thesis.

Regarding the ebook versions, I use pandoc to convert GitHub style Markdown to PDF/EPUB (wrote a blog post about my process here: https://learnbyexample.github.io/customizing-pandoc/). I had to search through stackexchange threads to customize the few things I could. I don't know how to fix the kind of page breaks you mentioned. But, I'll try to find a solution. Thanks again for the feedback :)

Into Thin Air by Jon Krakauer

Krakauer examines what it is about Everest that has compelled so many people -- including himself -- to throw caution to the wind, ignore the concerns of loved ones, and willingly subject themselves to such risk, hardship, and expense. Written with emotional clarity and supported by his unimpeachable reporting, Krakauer's eyewitness account of what happened on the roof of the world is a singular achievement.

I've read his Memory, Sorrow, and Thorn trilogy. Epic dark fantasy, great characters and worldbuilding. The plot is good too, but the pacing goes off rail sometimes.

You can do it in Bash as well. Put this in .inputrc:

"\e[A":history-substring-search-backward
"\e[B":history-substring-search-forward

# or, if you want to search only from the start of the command
"\e[A": history-search-backward
"\e[B": history-search-forward

Inspired by explainshell, I wrote a script (https://github.com/learnbyexample/command_help) to be used from the terminal itself. It is a bit buggy, but works well most of the time. For example:

$ ch grep -Ao
       grep - print lines that match patterns

       -A NUM, --after-context=NUM
              Print NUM lines of trailing context after matching lines.  Places a
              line containing a group separator (--) between contiguous groups of
              matches.  With the -o or --only-matching option, this has no effect
              and a warning is given.

       -o, --only-matching
              Print  only  the matched (non-empty) parts of a matching line, with
              each such part on a separate output line.

There was a discussion thread few days back for books that combine sci-fi and magic: https://programming.dev/post/276456

I finally started Murderbot series over the weekend. Already done with the first four novellas.

The post isn't about terminal frameworks though, it is about how to get started using the command line.

I'm just sharing the article here.

You might be able to reach the author via https://github.com/gaultier/blog/issues or https://www.linkedin.com/in/philippegaultier/

view more: ‹ prev next ›

learnbyexample

joined 1 year ago