Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Alir3z4
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
Alir3z4
8mo ago
It's even worse that that.
2.
▲
by
Alir3z4
10mo ago
What happened to it? I'm still using it with not a single issue (except when is messes up the iptables rules) I still confidently, upgrade the docker across all the nodes, workers and managers and it just works. Not a single time that
3.
▲
by
Alir3z4
10mo ago
I never ever knew such product existed. No wonder they made iPhone pocket now. They should make tshirts for their laptops as well.
4.
▲
by
Alir3z4
10mo ago
I thought it's a joke and someone made a satire website or something. The ridiculous part is, people will buy this.
5.
▲
by
Alir3z4
11mo ago
Async and Django don't mix well and I honestly see the whole Django Async as wasted resources, all those "a" prefixed functions etc. To be honest, I never liked the way async is done in python at all. However, I love Django a
6.
▲
by
Alir3z4
11mo ago
Just an update for whoever ends up on this comment. 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 filesys
7.
▲
by
Alir3z4
11mo ago
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. While I like the idea of pip or uv to be
8.
▲
by
Alir3z4
11mo ago
Yes, that's a shame. I noticed the comment from andy99 got several downvotes (became grey) and mine here also immediately got some.
9.
▲
by
Alir3z4
11mo ago
Ooooh that's a neat one. I really like the hard links. On my machine, there are like 100s of not thousands of venvs. I simply have all of them under ~/.python_venvs/<project_name>/ Does that mean, no matter how man
10.
▲
by
Alir3z4
11mo ago
I seriously still don't know why I should use "uv". I just create my .venv and pip install. 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. I know th
11.
▲
by
Alir3z4
1y ago
Me neither. Introducing new keyword has become a recent thing in Python. Seems Python has a deep scare since Python2 to Python3 time and is scared to do anything that causes such drama again. For me, the worst of all is "async". I
12.
▲
by
Alir3z4
1y ago
I wish all imports were lazy by default. 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. First of all, the circular import p
13.
▲
by
Alir3z4
2y ago
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". TBH, I've seen tutorials or even some companies simply do `pip free
14.
▲
by
Alir3z4
2y ago
Not really. `pyproject.toml` let's you set the min python version. If not met, it won't install. Regardless, majority of the times, deployment is done via Docker.
15.
▲
by
Alir3z4
2y ago
Almost 2 decades of working with python. I create a venv. Pip install and keep my direct deps in requirements.txt That's it. Never understood all these python dependency management problems dramas. Recently, I started using pyproject.t
16.
▲
by
Alir3z4
4y ago
> 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. This. Very much this. I have given up on one finding such. The closest and nicest one that comes to
17.
▲
by
Alir3z4
4y ago
Yes. Migrations are checked into the source control. They're still the source of truth of the database changes. Regarding read only models pointing to a tabel. It'd possible to use proxy models or even non managed models where wit
18.
▲
by
Alir3z4
4y ago
> Masih Alinejad, a world-renowned journalist and women's rights activist, and first in line advocate to sanction Iran even in time of covid.
19.
▲
by
Alir3z4
4y ago
This is an English language and of course majority westerners. You say something against the mainstream media or US hegemony, you'll b labeled as Basiji or "iranian regime supporter" or "on Putin payroll". Not a pla
20.
▲
by
Alir3z4
4y ago
> I do believe it will collapse in the next few years Has been said for the last 44 years.
21.
▲
by
Alir3z4
4y ago
I love PostgreSQL, it's the database I go for even for really tiny projects and data needs even when SQLite could be used, but one thing that makes me annoyed is the upgrading.
22.
▲
by
Alir3z4
4y ago
Even if GvR promotes it fully, it won't be adopted unless c extensions work out of the box. Python without its crazy amount of extensions in c-api won't survive.
23.
▲
by
Alir3z4
4y ago
WinRAR?
24.
▲
by
Alir3z4
4y ago
Unicode errors were one the most painful and annoying issues I had. Regardless of working with xml files, parsing text or just dealing with anything text related. When upgrading to Python 3, they just vanished. Anti ORM people probably don&
25.
▲
by
Alir3z4
4y ago
I like how you're confident the evidence exists by seeing 0 evidence. Sure. Apparently I should also believe Iran has WMD and NATO should attack it. It's coming from a unnamed sources.
26.
▲
by
Alir3z4
4y ago
I find it hard to believe that in an era of smartphones and all these gadgets, there's no picture, video or any other type of evidence except "unnamed sources".
27.
▲
by
Alir3z4
4y ago
LoL, I don't think Iranians officials want to apply asylum in there anywhere near Albania, the quota is already taken by Mojahedin-e-Khalq (MEK) (hint: terrorists org/cult)
28.
▲
by
Alir3z4
4y ago
The same freedom lovers and democratic fighters that filled the gap in Libya, Syria, Iraq and bunch of other countries.
29.
▲
by
Alir3z4
4y ago
> Western diplomatic sources told Iran International > In early-November, an unnamed source at Tehran's Imam Khomeini Airport told Kayhan-London > Citing an unnamed Iranian source, > There are also unconfirmed reports that
30.
▲
by
Alir3z4
4y ago
After Iran-Iraq and being sanctioned to hell while even being invaded, Iran went into the process of independent military complex and so far has mastered to become almost fully self-sustaining (except military fighter jets, which they'
More ›