Sahand Saba

sahandsaba.com · Personal blog · on HN since 2014

Sahand Saba writes Python-focused programming tutorials on SAT solvers, async code, combinatorics, algorithms and common coding anti-patterns.

What HN saysHN commenters link it as a clear explanation of coroutines and async I/O, and as a source for lists of lesser-known Python language features.
18HN people shared it
3linked it in comments
15stories submitted
831story points
2 years agolast shared
2014people per year2026

Most-shared posts

  1. 1
  2. 2
    Python Language Features and Tricks
    3 people · 409 points · first shared 2014 · 85 comments on HN
  3. 3
    Understanding async programming in Python3.4
    2 people · 1 points · first shared 2015 · discussion on HN
  4. 4
    Anti-Patterns Every Programmer Should Be Aware Of
    1 people · 242 points · first shared 2015 · 117 comments on HN
  5. 5
    So How Do You Actually Calculate The Fibonacci Numbers?
    1 people · 4 points · first shared 2014 · discussion on HN
  6. 6
    Combinatorics Algorithms for Coding Interviews
    1 people · 3 points · first shared 2020 · discussion on HN
  7. 7
  8. 8

What HN people wrote when they linked it

kyllo · 2015-04-21
Well here's a great blog post on how to use the @asyncio.coroutine decorator to do asynchronous/non-blocking I/O in this style, as opposed to JS-style callbacks. I think the control flow is a lot clearer with coroutines as opposed to callbacks. I've never used Twisted though so I'm not sure how asyncio compares to that library. http://sahandsaba.com/understanding-asyncio-node-js-python-3-4.html
tomkinstinch · 2014-11-27
eru · 2023-09-18
Why do you backtrack when you hit a book? Btw, people often cite the earliest articles, but not necessarily the simplest. Often there are papers like '[topic] simplified' etc, and they can be quite useful. In our case, an alternative approach is to just do a web search for 'how to write a simple sat solver' and that yields eg https://www.gibiansky.com/blog/verification/writing-a-sat-solver/index… and https://sahandsaba.com/understanding-sat-by-implementing-a-simple-sat-…

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close