HNHacker News
TopNewBestAskShowJobs

ericfrederich

881 karma · joined June 12, 2014

submissionscomments
ericfrederich··on Cloud in a Bottle: making self-hosting accessible to everyone
I thought that Coolify had centralized auth.
ericfrederich··on Splitting a Git Commit
Yeah, I've been using git for nearly 20 years. I still rely on `git gui`. It's my crutch. I know you can do all of that in a terminal, but staging different hunks (or individual lines) is super easy.
ericfrederich··on 98% isn't much
Relavent XKCD comic: https://xkcd.com/325/

Hover text: You can do this one in every 30 times and still have 97% positive feedback.

ericfrederich··on Framework Laptop 13 Pro
Glad they got a touchscreen but would really like to see a convertible/2-in-1
ericfrederich··on Switching Pip to Uv in a Dockerized Flask / Django App
> How is C meaningfully more accessible than rust

In an ecosystem where the primary implementation of the language is in C and nearly all native extensions are written in C do you really not know the answer to that?

ericfrederich··on Switching Pip to Uv in a Dockerized Flask / Django App
https://github.com/nickjj/docker-django-example/blob/bbe3486...
ericfrederich··on Switching Pip to Uv in a Dockerized Flask / Django App
I don't see any meaningful speedup. The 10x claims are not reproducible. He's also comparing it to the much older style of requirements.txt projects and not a poetry project with a lockfile.

I detailed this in another comment but pip (via requirements.txt): 8.1s, poetry: 3.7s, uv: 2.1s.

Not even 10x against pip and certainly not against poetry.

ericfrederich··on Switching Pip to Uv in a Dockerized Flask / Django App
The 10x performance wasn't mentioned in the article at all except the title.

I watched the video and he does mention it going from 30s to 3s when switching from a requirements.txt approach to a uv based approach. No comparison was done against poetry.

I am unable to reproduce these results.

I just copied his dependencies from the pyproject.toml file into a new poetry project. I ran `poetry install` from within Docker (to avoid using my local cache) `docker run --rm -it -v `pwd`:/work python:3.13 /bin/bash` and it took 3.7s

I did the same with an empty repo and a requirements.txt file and it took 8.1s.

I also did through `uv` and it took 2.1s.

Better performance?, sure. A lot better performence?, I can't say that with the numbers I got. 10x performance?... absolutely not.

Also, this isn't a major part of anybody's workflow. Docker builds happen typically on release. Maybe when running tests during CI/CD after the majority of work has been done locally.

ericfrederich··on Switching Pip to Uv in a Dockerized Flask / Django App
The PR which enabled 3.13 did have changes to Rust code.

https://github.com/python-pendulum/pendulum/pull/871

ericfrederich··on Switching Pip to Uv in a Dockerized Flask / Django App
Correct. There better be a damn good reason to add another language to the ecosystem other than it's that particular developer's new favorite language.

Is there anything being done in uv that couldn't be done in Python?

ericfrederich··on Switching Pip to Uv in a Dockerized Flask / Django App
Yes, it's a mess (New: now with Rust!)
ericfrederich··on Switching Pip to Uv in a Dockerized Flask / Django App
I am totally against Python tooling being written in a language other than Python. I get that C extensions exist and for the most part Python is synonymous with CPython.

I think 2 languages are enough, we don't need a 3rd one that nobody asked for.

I have nothing against Rust. If you want a new tool, go for it. If you want a re-write of an existing tool, go for it. I'm against it creeping into an existing eco-system for no reason.

A popular Python package called Pendulum went over 7 months without support for 3.13. I have to imagine this is because nobody in the Python community knew enough Rust to fix it. Had the native portion of Pendulum been written in C I would have fixed it myself.

https://github.com/python-pendulum/pendulum/issues/844

In my ideal world if someone wanted fast datetimes written in Rust (or any other language other than C) they'd write a proper library suitable for any language to consume over FFI.

So far this Rust stuff has left a bad taste in my mouth and I don't blame the Linux community for being resistant.

ericfrederich··on Oniux: Kernel-level Tor isolation for any Linux app
I was talking more about you using HexChat with your preferred username "FooBar", but then when on Tor you want to be "SpamEggs". If you launch HexChat through oniux and it reads your config file, you might hit the login button before changing your name from FooBar to SpamEggs.
ericfrederich··on Oniux: Kernel-level Tor isolation for any Linux app
They use hexchat as an example but do these processes run with the users configuration? Wouldn't this leak IRC usernames if you forget to change it. ... Or leak cookies if you launch a browser?
ericfrederich··on Git Bug: Distributed, Offline-First Bug Tracker Embedded in Git, with Bridges
I personally hate how all these platforms like GitHub, GitLab, BitBucket, etc slapped a centralized relational database to manage issues, comments, merge requests, etc next to a distributed de-centralized system like Git.

I especially hate how they've integrated CI/CD into the Git platforms.

I loathe the fact that Microsoft has tied their AI to their Git platform.

I want my CI/CD to be agnostic. I want my AI to be agnostic. I want my issues, MRs, comments, etc to be decentralized and come along for the ride when I clone a repo.

ericfrederich··on Nvidia announces next-gen RTX 5090 and RTX 5080 GPUs
4k gaming is dumb. I watched a LTT video that came out today where Linus said he primarily uses gaming monitors and doesn't mess with 4k.
ericfrederich··on Python 3.13.0 Is Released
Today someone's pipeline broke because they were using python:3 from Dockerhub and got an unexpected upgrade ;-)

Specifically, pendulum hasn't released a wheel yet for 3.13 so it tried to build from source but it uses Rust and the Python docker image obviously doesn't have Rust installed.

ericfrederich··on Anyone can access deleted and private repository data on GitHub
Wow, that's crazy. I tried a 6 digit hash and got a 404, then I tried another 6 digit hash and got "This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository."

Insane

ericfrederich··on Anyone can access deleted and private repository data on GitHub
> 1) Fork the repo. 2) Hard-code an API key into an example file. 3) <Do Work> 4) Delete the fork.

... yeah if <Do Work> is push your keys to GitHub.

ericfrederich··on Using S3 as a Container Registry
R2 in only "free" until it isn't. Cloudflare hasn't got a lot of good press recently. Not something I'd wanna build my business around.
ericfrederich··on Rye: A Hassle-Free Python Experience
so it take 3 seconds to run instead of 0.3? Don't get me wrong, that's a huge improvement but in my opinion not worth switching languages over

Features should be developed and tested locally before any code is pushed to a CI system. Dependency resolution should happen once while the container is being built. Containers themselves shouldn't be installing anything on the fly it should be baked in exactly once per build.

ericfrederich··on Rye: A Hassle-Free Python Experience
Why Rust? Aren't you alienating Python devs from working on it?

I see that UV is bragging about being 10-100x faster than pip. In my experience the time spent in dependency resolution is dwarfed by the time making web requests and downloading packages.

Also, this isn't something that runs every time you run a Python script. It's ran once during installation of a Python package.

ericfrederich··on Why not parse `ls` and what to do instead
Wait until you realize that "giving up the decently sized ecosystem of Powershell libraries" is a net positive ;-)
ericfrederich··on Tetris Font (2020)
Would be nice if the "obscure in URL" feature wouldn't show the text in the textbox when you send it to someone.
ericfrederich··on It was online for 3 seconds before getting a 404 request for /.git/config
Dude, let's fix spam callers first that are calling my USA number from a USA number.

This shouldn't be hard. If we can't fix that then good luck tracking down bad actors on the interwebs

ericfrederich··on Streaming services are spoiling [live sports on TV]
I came on here looking for an article about all of the network issues last night streaming the game. Couldn't find one so I'll rant here in the comments ;-).

In my neighborhood we have 3 ISPs but one is only just recently available (Google Fiber) so there's not many on it as we already have Spectrum and AT&T fiber available. Lots of people complaining across different streaming services (YouTube TV, Hulu, Paramount+, etc) and also across different internet providers (Spectrum and AT&T... just 1 data point for Google Fiber). Lots of buffering, scaling down to extremely low bitrates where you couldn't even make out how many timeouts were left and could barely make out the score.

Sending each customer their own bespoke video stream works fine for movies and shows, but apparently works terribly for popular live events.

Some sort of multicast solution would fix this... but then theres DRM.

ericfrederich··on Zeiss's "Holocam" turns glass windows into cameras
https://youtu.be/NORPeCcIXRQ?si=7uonp0AGn5dNdGti
ericfrederich··on Bespoke Synth 1.0 – open-source software modular synthesizer
Never seen this warning from Windows before. Happened when I tried to download this .msi

Windows protected your PC Microsoft Defender SmartScreen prevented an unrecognized app from starting. Running this app might put your PC at risk.

App: Bespoke-Windows.msi Publisher: Unknown publisher

ericfrederich··on Show HN: Print a WiFi Login Card
I hear what you're saying, but I also believe this to be a solvable problem
ericfrederich··on Show HN: Print a WiFi Login Card
How about after load, that tab automatically goes completely offline. Users can manually do this in Chrome on a tab by tab basis by using developer console and setting Throttling to "Offline"
Page 1 of 14Next →