Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
collinmanderson
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
collinmanderson
1y ago
The article shows some advantages compared to plain virtual environments: In principle, you can ‘activate’ this new virtual environment like any typical virtual environment that you may have seen in other tools, but the most ‘uv-onic’ way t
92.
▲
by
collinmanderson
1y ago
> Has the ecosystem fully moved on to uv, now? It's moving pretty quick. > Do they have good influence on what python's main ecosystem is moving to? Yes, they're an early adaptor/implementer of the recent pyproject
93.
▲
by
collinmanderson
1y ago
> All these comments look like advertisement. "uv is better than python!!", "8/10 programmers recommend uv", "I was a terrible programmer before but uv changed my life!!", "uv is fast!!!" Have
94.
▲
by
collinmanderson
1y ago
> There’s pip, virtualenv, pipx, uv, probably half a dozen others I’m missing... > Reminds me of that competing standards xkcd. Yes, for years I've sat on the sidelines avoiding the fragmented Poetry, ppyenv, pipenv, pipx, pip-to
95.
▲
by
collinmanderson
1y ago
It's fast enough that sometimes dependencies can be checked and resolved and installed at program runtime rather than it needing to be a separate step. You can go from no virtual environment, and just "uv run myfile.py" and i
96.
▲
by
collinmanderson
1y ago
> What does uv do in order to resolve dependencies much faster? - Representing version numbers as single integer for fast comparison. - Being implemented in rust rather than Python (compared to Poetry) - Parallel downloads - Caching indi
97.
▲
by
collinmanderson
1y ago
uv can be used to speed up building containers.
98.
▲
by
collinmanderson
1y ago
> 1. It tries to do too many things. Please just do one thing and do it well. It's simultaneously trying to replace pip, pyenv, virtualenv, and ruff in one command. In my experience it generally does all of those well. Are you runni
99.
▲
by
collinmanderson
1y ago
uv is unbelievably fast.
100.
▲
by
collinmanderson
1y ago
Would it make sense to merge the points/upvotes too?
101.
▲
by
collinmanderson
1y ago
Yes, that's pretty typical. I think there's a general assumption if you're using older python you'll probably stick to Django LTS 5.2 from this April which still supports Python 3.10. They only drop python versions right
102.
▲
by
collinmanderson
1y ago
Yes. For these reasons I now have a policy that if you want me maintaining your website / web app, then I manage the hosting. I use something I'm familiar with that I know works.
103.
▲
by
collinmanderson
1y ago
I forgot to mention what the parent comment said, yes, need to put something like this in /etc/fstab: /swapfile swap swap sw 0 0 or via ansible: mount: src: "/swapfile" name: "swap"
104.
▲
by
collinmanderson
1y ago
Yes. I think might also need to chmod 600 /swapfile. I do this on all my VPS, especially helps for small VPS with only 1GB ram: fallocate -l 1G /swapfile chmod 600 /swapfile mkswap /swapfile swapon /sw
105.
▲
by
collinmanderson
1y ago
> COE I guessed this was an internal Amazon thing so I searched “Amazon COE” Correction of Error https://wa.aws.amazon.com/wellarchitected/2020-07-02T19-33-2... > SDM Software Developer Manager (from searching Am
106.
▲
by
collinmanderson
1y ago
It seems like the _quality_ of the jobs (or median job) may have gone down, but the _quantity_ of jobs relative to population has remained roughly steady, right?
107.
▲
by
collinmanderson
1y ago
> isn't "we made a machine to do something that people used to do" basically the entire history of of technology? I know, right? Machines have been gradually replacing humans for centuries. Will we actually get to the poin
108.
▲
by
collinmanderson
1y ago
> Perhaps we need a common community effort to create a “distro” of curated and safe dependencies one can install safely, by analyzing the most popular packages and checking what’s common and small enough to be worth being included/
109.
▲
by
collinmanderson
1y ago
Why was this comment downvoted? Please explain why you disagree.
110.
▲
by
collinmanderson
1y ago
> sort of a "delayed" mode to updating my own dependencies. The idea is that when I want to update my dependencies, instead of updating to the absolute latest version available of everything, it updates to versions that were re
111.
▲
by
collinmanderson
1y ago
It would ask a root nameserver for an ip address for the .com nameserver, and then ask the .com nameserver for the ip address of the example.com nameserver, then ask the example.com nameserver for further records (and may continue to recurs
112.
▲
by
collinmanderson
1y ago
They probably see Cursor as a threat and are trying hard to keep up and avoid losing market share.
113.
▲
by
collinmanderson
1y ago
> Will wait for vibe check from simonw https://openai.com/gpt-5/?video=1108156668 2:40 "I do like how the pelican's feet are on the pedals." "That's a rare detail that most of the other mode
114.
▲
by
collinmanderson
1y ago
Does Oxide require 3-phase power? Do datacenters typically provide 3-phase power?
115.
▲
by
collinmanderson
1y ago
> It already has no deps Yes when I heard it was python I immediately checked the dependencies expecting a ginormous list and found basically nothing. Incredibly impressive, just a few "stolen" libs here: https://git
116.
▲
Hosting your Django sites with Coolify
(loopwerk.io)
2 points
by
collinmanderson
1y ago
|
0 comments
117.
▲
by
collinmanderson
1y ago
src layout _should_ work. The pyproject.toml needs to live next to src, not inside of it. You might need to `uv run python` in order to pick up the right PYTHONPATH? https://docs.astral.sh/uv/concepts/projects/
118.
▲
by
collinmanderson
1y ago
You don't know what you're missing if you haven't spent 5 minutes trying out uv. If you're intentionally not trying it simply because you don't want to get addicted like everyone else clearly is, I could see that as
119.
▲
by
collinmanderson
1y ago
There's an open issue for "Upgrade dependencies in pyproject.toml (uv upgrade)": https://github.com/astral-sh/uv/issues/6794
120.
▲
by
collinmanderson
1y ago
It looks like there's already a pyproject.toml no-binary option? [tool.uv] no-binary = true Or for a specific package: [tool.uv] no-binary-package = ["ruff"] https://docs.astral.sh/uv&#
More ›