Better HN
topnewbestaskshowjobs
Log inSign up

asicsp

11,365 karma · joined Oct 4, 2017 (9y ago) · 1,774 submissions

Author of several programming books and counting. Addicted to reading fantasy books.

https://github.com/learnbyexample

https://learnbyexample.github.io/books/

Submissions

comment 1y ago · link · parent

There's a wiki page with links to plenty of resources: https://www.emacswiki.org/emacs/SiteMap

comment 1y ago · link · parent

I use xfce because it is stable, simple and lightweight. Perhaps I don't know what I'm missing but I'm very happy with it.

comment 1y ago · link · parent

See also this quiz: https://fstrings.wtf/

comment 1y ago · link · parent

This month I release an updated version of my "Practice Python Projects" book: https://learnbyexample.github.io/practice_python_projects/

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.

comment 1y ago · link · parent

>the syntax for nested list comprehensions has a rather... incomprehensible order

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.

6.

PEP 798 – Unpacking in Comprehensions(peps.python.org ↗)

7 points · by asicsp · 1y ago · 2 comments

comment 1y ago · link · parent

Dupe: https://news.ycombinator.com/item?id=44284291 (117 points | 8 days ago | 28 comments)

Seems like the link changed, and thus not caught by the dupe detector.

8.

Writing a basic Linux device driver when you know nothing about drivers or USB(crescentro.se ↗)

5 points · by asicsp · 1y ago · discuss

9.

Programming Beyond Practices (2016) [pdf](notes.skillstopractice.com ↗)

1 points · by asicsp · 1y ago · discuss

10.

Quarkdown: A modern Markdown-based typesetting system(github.com ↗)

668 points · by asicsp · 1y ago · 273 comments

comment 1y ago · link · parent

I wrote interactive TUI apps with exercises for Linux CLI tools, coreutils, grep, sed and awk: https://github.com/learnbyexample/TUI-apps

comment 1y ago · link · parent

See also this open source version inspired by that site: https://github.com/daquino94/linux-path

comment 1y ago · link · parent

Previous discussion with patterns in comments: https://news.ycombinator.com/item?id=24974534

14.

Minimal IRC server from scratch in Python(log.schemescape.com ↗)

2 points · by asicsp · 1y ago · discuss

15.

Regex Isn't Hard (2023)(timkellogg.me ↗)

75 points · by asicsp · 1y ago · 97 comments

comment 1y ago · link · parent

See also: "Where Vim Came From" https://twobithistory.org/2018/08/05/where-vim-came-from.htm...

Discussion: https://news.ycombinator.com/item?id=17696023 (420 points | Aug 6, 2018 | 259 comments)

17.

Parser Combinators Beat Regexes(entropicthoughts.com ↗)

3 points · by asicsp · 1y ago · discuss

18.

Quarkdown: A modern Markdown-based typesetting system(github.com ↗)

3 points · by asicsp · 1y ago · discuss

comment 1y ago · link · parent

This might help: https://pythonspeed.com/datascience/

20.

Building a search engine from scratch(jdrouet.github.io ↗)

2 points · by asicsp · 1y ago · discuss

comment 1y ago · link · parent

I'm continuing to update my already published ebooks. Apart from catching up to new software versions, it also helps to address typos and other issues found by my readers.

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.

22.

Awk Idioms Explained(learnbyexample.github.io ↗)

1 points · by asicsp · 1y ago · discuss

23.

Architecture Patterns with Python(cosmicpython.com ↗)

488 points · by asicsp · 1y ago · 140 comments

comment 1y ago · link · parent

A very different book, but I loved reading "Jonathan Strange & Mr Norrell" [0] as well by the same author.

[0] which used footnotes to great effect

comment 1y ago · link · parent

See also:

* https://ericchiang.github.io/post/containers-from-scratch/

* https://indradhanush.github.io/blog/life-of-a-container/

26.

Matching Ruby Regexps 200 Times Faster(eregon.me ↗)

5 points · by asicsp · 1y ago · discuss

27.

Improving Posting's startup time by over 60%(darren.codes ↗)

2 points · by asicsp · 1y ago · discuss

28.

Understanding Unix Filesystem Timestamps (2022)(unixdigest.com ↗)

2 points · by asicsp · 1y ago · discuss

comment 1y ago · link · parent

Related discussions:

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)

30.

Standards for ANSI Escape Codes(jvns.ca ↗)

2 points · by asicsp · 1y ago · discuss

12345
60