<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: Alir3z4</title><link>https://news.ycombinator.com/user?id=Alir3z4</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Mon, 19 Oct 2026 07:37:56 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=Alir3z4" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by Alir3z4 in "Over 36,500 killed in Iran's deadliest massacre, documents reveal"]]></title><description><![CDATA[
<p>It's even worse that that.</p>
]]></description><pubDate>Tue, 27 Jan 2026 17:35:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=46783307</link><dc:creator>Alir3z4</dc:creator><comments>https://news.ycombinator.com/item?id=46783307</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46783307</guid></item><item><title><![CDATA[New comment by Alir3z4 in "Helm 4.0"]]></title><description><![CDATA[
<p>What happened to it?<p>I'm still using it with not a single issue (except when is messes up the iptables rules)<p>I still confidently, upgrade the docker across all the nodes, workers and managers and it just works. Not a single time that it caused an issue.</p>
]]></description><pubDate>Wed, 12 Nov 2025 18:21:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=45903762</link><dc:creator>Alir3z4</dc:creator><comments>https://news.ycombinator.com/item?id=45903762</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45903762</guid></item><item><title><![CDATA[New comment by Alir3z4 in "iPod Socks"]]></title><description><![CDATA[
<p>I never ever knew such product existed.<p>No wonder they made iPhone pocket now.<p>They should make tshirts for their laptops as well.</p>
]]></description><pubDate>Tue, 11 Nov 2025 17:38:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=45890336</link><dc:creator>Alir3z4</dc:creator><comments>https://news.ycombinator.com/item?id=45890336</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45890336</guid></item><item><title><![CDATA[New comment by Alir3z4 in "iPhone Pocket"]]></title><description><![CDATA[
<p>I thought it's a joke and someone made a satire website or something.<p>The ridiculous part is, people will buy this.</p>
]]></description><pubDate>Tue, 11 Nov 2025 17:34:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=45890297</link><dc:creator>Alir3z4</dc:creator><comments>https://news.ycombinator.com/item?id=45890297</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45890297</guid></item><item><title><![CDATA[New comment by Alir3z4 in "Why we migrated from Python to Node.js"]]></title><description><![CDATA[
<p>Async and Django don't mix well and I honestly see the whole Django Async as wasted resources, all those "a" prefixed functions etc.<p>To be honest, I never liked the way async is done in python at all.<p>However, I love Django and Python in general. When I need "async" in a http cycle flow, I use celery and run it in background.<p>If client side needs to be updated about the state of the background task, the best is to send the data to a websocket channel known to the client side. Either it's Chat response with LLM or importing a huge CSV file.<p>Simple rule for me is, "don't waste HTTP time, process quick and return quick".</p>
]]></description><pubDate>Mon, 03 Nov 2025 17:19:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=45801558</link><dc:creator>Alir3z4</dc:creator><comments>https://news.ycombinator.com/item?id=45801558</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45801558</guid></item><item><title><![CDATA[New comment by Alir3z4 in "Uv overtakes pip in CI"]]></title><description><![CDATA[
<p>Just an update for whoever ends up on this comment.<p>This feature works as long as your venv that uv creates and the uv cache (in user home directory, or anywhere else that is configured to keep the cache folder) are both on the same filesystem.<p>The drive where the venv was created was NTFS and the user home directory where uv cache exists was ext4 file system.<p>Therefore the caching didn't work and a warning was shown by uv hinting to the problem.</p>
]]></description><pubDate>Tue, 14 Oct 2025 14:05:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=45580176</link><dc:creator>Alir3z4</dc:creator><comments>https://news.ycombinator.com/item?id=45580176</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45580176</guid></item><item><title><![CDATA[New comment by Alir3z4 in "Uv overtakes pip in CI"]]></title><description><![CDATA[
<p>I use golang, rust and c++ here and there, but majority of my time is spent working in Python projects. I'm not alien to the concept of speed and performance, especially the tooling around them.<p>While I like the idea of pip or uv to be insanely fast, I still don't see it revolutionize my development experience.<p>Installing and uninstalling package is not something I do every 1 to 10 minutes. It doesn't save me any much time. Also, activating a venv is once a session in terminal and sometime a week goes by without ever activating a venv, because the IDE does that automatically on whatever I do.<p>That's why, personally for me it really doesn't change much.<p>Where I like things being fast in my development time is pre-commit and linting, where ruff shines. Which that I also don't use, even though I work on a small-medium 600k LoC project, I only pass the changed files to isort, flake8 and black and it's all done in less than 5 seconds.<p>To me, the only advantage of uv is being fast, which is something I haven't been bothered with so far, where 99% of things happen in less than 1 or max couple of seconds.</p>
]]></description><pubDate>Tue, 14 Oct 2025 01:00:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=45575069</link><dc:creator>Alir3z4</dc:creator><comments>https://news.ycombinator.com/item?id=45575069</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45575069</guid></item><item><title><![CDATA[New comment by Alir3z4 in "Uv overtakes pip in CI"]]></title><description><![CDATA[
<p>Yes, that's a shame.<p>I noticed the comment from andy99 got several downvotes (became grey) and mine here also immediately got some.</p>
]]></description><pubDate>Tue, 14 Oct 2025 00:43:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=45574962</link><dc:creator>Alir3z4</dc:creator><comments>https://news.ycombinator.com/item?id=45574962</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45574962</guid></item><item><title><![CDATA[New comment by Alir3z4 in "Uv overtakes pip in CI"]]></title><description><![CDATA[
<p>Ooooh that's a neat one. I really like the hard links.<p>On my machine, there are like 100s of not thousands of venvs.<p>I simply have all of them under ~/.python_venvs/<project_name>/<p>Does that mean, no matter how many projects I install pytorch and tensoflow and huggingface and all the heavy machinery, they'll be counted only once as long as they're unique?<p>If that's the case, then I can leave my habit of pip and move to uv.<p>This is something that always bugged my mind about virtual environments in almost all the package managers.</p>
]]></description><pubDate>Tue, 14 Oct 2025 00:10:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=45574765</link><dc:creator>Alir3z4</dc:creator><comments>https://news.ycombinator.com/item?id=45574765</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45574765</guid></item><item><title><![CDATA[New comment by Alir3z4 in "Uv overtakes pip in CI"]]></title><description><![CDATA[
<p>I seriously still don't know why I should use "uv". I just create my .venv and pip install.<p>Rarely I'd need a different version of python, in case I do, either I let the IDE to take care of it or just do pyenv.<p>I know there's the argument of being fast with uv, but most of the time, the actual downloading is the slowest part.<p>I'm not sure how big a project should be, before I feel pip is slow for me.<p>Currently, I have a project with around 50 direct dependencies and everything is installed in less than a min with a fresh venv and without pip cache.<p>Also, if I ever, ever needed lock files stuff, I use pipx. Never needed the hash of the packages the way it's done in package-lock.json.<p>Maybe, I'm just not the target audience of uv.</p>
]]></description><pubDate>Tue, 14 Oct 2025 00:03:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=45574709</link><dc:creator>Alir3z4</dc:creator><comments>https://news.ycombinator.com/item?id=45574709</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45574709</guid></item><item><title><![CDATA[New comment by Alir3z4 in "PEP 810 – Explicit lazy imports"]]></title><description><![CDATA[
<p>Me neither.<p>Introducing new keyword has become a recent thing in Python.<p>Seems Python has a deep scare since Python2 to Python3 time and is scared to do anything that causes such drama again.<p>For me, the worst of all is "async". If 2to3 didn't cause much division, the async definitely divided Python libraries in 2. Sync and Async.<p>Maybe if they want backward compatible solution, this can be done by some compile or runtime flag like they did with free threading no-gil.</p>
]]></description><pubDate>Fri, 03 Oct 2025 19:50:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=45467056</link><dc:creator>Alir3z4</dc:creator><comments>https://news.ycombinator.com/item?id=45467056</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45467056</guid></item><item><title><![CDATA[New comment by Alir3z4 in "PEP 810 – Explicit lazy imports"]]></title><description><![CDATA[
<p>I wish all imports were lazy by default.<p>I know/heard there are "some" (which I haven't seen by the way) libraries that depend on import side effects, but the advantage is much bigger.<p>First of all, the circular import problem will go away, especially on type hints. Although there was a PEP or recent addition to make the annotation not not cause such issue.<p>Second and most important of all, is the launch time of Python applications. A CLI that uses many different parts of the app has to wait for all the imports to be done.<p>The second point becomes a lot painful when you have a large application, like a Django project where the auto reload becomes several seconds. Not only auto reload crawls, the testing cycle is slow as well. Every time you want to run test command, it has to wait several seconds. Painful.<p>So far the solution has been to do the lazy import by importing inside the methods where it's required. That is something, I never got to like to be honest.<p>Maybe it will be fixed in Python 4, where the JIT uses the type hints as well /s</p>
]]></description><pubDate>Fri, 03 Oct 2025 19:40:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=45466955</link><dc:creator>Alir3z4</dc:creator><comments>https://news.ycombinator.com/item?id=45466955</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45466955</guid></item><item><title><![CDATA[New comment by Alir3z4 in "Problems with Python dependency management"]]></title><description><![CDATA[
<p>Yeah, I assume pinning the version is something everyone does? Or probably many just don't and will have those "python deps management is a mess drama".<p>TBH, I've seen tutorials or even some companies simply do `pip freeze > requirements.txt` :shrug: which is a mess.</p>
]]></description><pubDate>Sun, 15 Dec 2024 12:47:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=42423151</link><dc:creator>Alir3z4</dc:creator><comments>https://news.ycombinator.com/item?id=42423151</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42423151</guid></item><item><title><![CDATA[New comment by Alir3z4 in "Problems with Python dependency management"]]></title><description><![CDATA[
<p>Not really.<p>`pyproject.toml` let's you set the min python version. If not met, it won't install.<p>Regardless, majority of the times, deployment is done via Docker.</p>
]]></description><pubDate>Sun, 15 Dec 2024 12:44:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=42423138</link><dc:creator>Alir3z4</dc:creator><comments>https://news.ycombinator.com/item?id=42423138</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42423138</guid></item><item><title><![CDATA[New comment by Alir3z4 in "Problems with Python dependency management"]]></title><description><![CDATA[
<p>Almost 2 decades of working with python.<p>I create a venv. Pip install and keep my direct deps in requirements.txt<p>That's it. Never understood all these python dependency management problems dramas.<p>Recently, I started using pyproject.toml as well which makes the whole thing more compact.<p>I make lots of python packages too.  Either I go setup.py or sometimes I like to use flit for no specific reason.<p>I haven't ever felt the need for something like uv. I'm good with pip.</p>
]]></description><pubDate>Sun, 15 Dec 2024 01:05:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=42420696</link><dc:creator>Alir3z4</dc:creator><comments>https://news.ycombinator.com/item?id=42420696</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42420696</guid></item><item><title><![CDATA[New comment by Alir3z4 in "Elixir for Humans Who Know Python"]]></title><description><![CDATA[
<p>> For a long time I didn't realize why people were so down on ORMs until I tried using a non-django ORM, it really does set the bar.<p>This. Very much this.<p>I have given up on one finding such. The closest and nicest one that comes to mind is SQLAlchemy. The rest of languages or frameworks have indeed nothing compared to Django ORM and SQLAlchemy. It's not even fair to compare them.</p>
]]></description><pubDate>Sat, 25 Feb 2023 15:44:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=34937483</link><dc:creator>Alir3z4</dc:creator><comments>https://news.ycombinator.com/item?id=34937483</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34937483</guid></item><item><title><![CDATA[New comment by Alir3z4 in "Elixir for Humans Who Know Python"]]></title><description><![CDATA[
<p>Yes. Migrations are checked into the source control. They're still the source of truth of the database changes.<p>Regarding read only models pointing to a tabel. It'd possible to use proxy models or even non managed models where with some mix of Managers it can provide what you're looking for.<p>For getting a subset of fields from a database tabel, Django provides ".only()" on the QuerySet which you can use to list all the fields explicitly and only them will be retrieved. It can even span to foreign field relations as well.<p>Diango ORM is indeed powerful and vrry flexible once you learn it. A novice developer can use it quickly and won't get in the way. An advanced developer can do very complex sfuff with it without touching any raw sql. Still, it's possible to write custom sql commands directly.</p>
]]></description><pubDate>Sat, 25 Feb 2023 15:39:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=34937441</link><dc:creator>Alir3z4</dc:creator><comments>https://news.ycombinator.com/item?id=34937441</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34937441</guid></item><item><title><![CDATA[New comment by Alir3z4 in "Hackers interrupt Iran president’s TV speech on anniversary of revolution"]]></title><description><![CDATA[
<p>> Masih Alinejad, a world-renowned journalist and women's rights activist,<p>and first in line advocate to sanction Iran even in time of covid.</p>
]]></description><pubDate>Sun, 12 Feb 2023 18:13:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=34765176</link><dc:creator>Alir3z4</dc:creator><comments>https://news.ycombinator.com/item?id=34765176</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34765176</guid></item><item><title><![CDATA[New comment by Alir3z4 in "Hackers interrupt Iran president’s TV speech on anniversary of revolution"]]></title><description><![CDATA[
<p>This is an English language and of course majority westerners.<p>You say something against the mainstream media or US hegemony, you'll b labeled as Basiji or "iranian regime supporter" or "on Putin payroll".<p>Not a place for thinking even epsilon out of tunneled vision made by westerners propaganda machine.<p>After all, majority are the ones that gonna rewrite their project in different language or stack because "the landing page said so"</p>
]]></description><pubDate>Sun, 12 Feb 2023 16:13:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=34763932</link><dc:creator>Alir3z4</dc:creator><comments>https://news.ycombinator.com/item?id=34763932</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34763932</guid></item><item><title><![CDATA[New comment by Alir3z4 in "Hackers interrupt Iran president’s TV speech on anniversary of revolution"]]></title><description><![CDATA[
<p>> I do believe it will collapse in the next few years<p>Has been said for the last 44 years.</p>
]]></description><pubDate>Sun, 12 Feb 2023 16:09:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=34763897</link><dc:creator>Alir3z4</dc:creator><comments>https://news.ycombinator.com/item?id=34763897</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34763897</guid></item></channel></rss>