Top all-time · #20441
Python programming, web, data science
Personal blog · pawelmhm.github.ioprogrammingdata
Python programming, web, data science is a personal blog at pawelmhm.github.io about programming and data. Since 2015, 3 different Hacker News readers have linked it 9 times. The last post was in 2021, but the archive is still widely read.
Too few sampled comments (2) to say how often HN recommends it.?
Why HN links it
Posts on building a Python crawler that fetches a million pages on one machine, and on comparing threading with asyncio for retrieving many objects. Commenters discuss which approach suits the task.
Summarised by Claude from a sample of 2 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Blog about programming (Python) and occasionally about data analysis
Most-linked posts?
- /asyncio/python/aiohttp/2016/04/22/asyncio-aiohttp.html2 people · 2 mentions · first linked 2017-02-28
What Hacker News says?
unfortunately pyqt docs are far from perfect everytime i have to do something with pyqt i just go to qt docs and just "translate" the concepts and api calls to python. if you are able to understand c++ syntax and translate that in your head to python youll be ok. Aside from docs i used some links from this https://wiki.python.org/moin/PyQt but you have to be careful to avoid outdated resources (current version is 5…
Comment linking /python/pyqt/qt/webkit/2015/09/08/browser.html
on “A Book about Qt5”Submitted Making 1M requests with Python-aiohttp as a story · 123 points
HN discussionWouldn't it be more appropriate to use something like aiohttp? https://pawelmhm.github.io/asyncio/python/aiohttp/2016/04/22... With no docker, or anything like that. I know the benchmarks cannot really be compared, since one involves a queue, and mongo, while the other does not. But, it seems like a prime use case for async.
Comment linking /asyncio/python/aiohttp/2016/04/22/asyncio-aiohttp.html
on “Build a crawler to crawl million pages with only one machine in just 2 hours”Submitted The benefits of static typing without static typing in Python as a story · 58 points
HN discussionOP here. There are some good guides [0] about using Python's asyncio module (and libraries built on top of it) but I hadn't seen a comparison of it to threading which is what I prefer for client-side coding. The key difference is that using the async module requires modifying every function in the call stack, while threading can be cleanly wrapped around existing code. So although threading has more of a memory foot…
Comment linking /asyncio/python/aiohttp/2016/04/22/asyncio-aiohttp.html
on “How to Retrieve 100k Objects with Python: Why We Prefer Threading to Asyncio”Submitted What bookmakers data tells us about Euro 2016? as a story · 3 points
HN discussionSubmitted Building HTTP 2 server in Python as a story · 2 points
HN discussionSubmitted Create event-driven sales alert system with Python Faust and Aiohttp [tutorial] as a story · 1 points
HN discussionSubmitted How to abuse HTTP as a story · 1 points
HN discussion