Better HN
topnewbestaskshowjobs
Log inSign up

ericfrederich

879 karma · joined Jun 12, 2014 (12y ago) · 415 submissions

Submissions

comment 1w ago · link · parent

An estimated 2.6 million pre-orders for Xbox alone. 2.6 million people downloading 200+ GB is not nothing.

If they roll it out evenly the week prior, then today (1/7th) is just 75 PB. To get that done in a single day would require a sustained 6.9 Tbps.

I'm sure this is all handled by a CDN at some level... but again it's not nothing.

comment 1w ago · link · parent

Is this related to GTA6 being pushed to consoles a week prior to launch? Would they ever admit it if that were the case?

I want to believe this is the cause. It'd be especially funny because businesses were already anticipating the productivity loss when GTA6 comes out, but now we have actual productivity loss because of this outage (and it's affecting people who were never going to play the game anyway, lol)

comment 3w ago · link · parent

... And the tax code written in Python

comment 1mo ago · link · parent

My first thought was this must have something to do with the development momentum around the PS5 but that apparently runs FreeBSD not OpenBSD.

comment 1mo ago · link · parent

So NVidia Shield Pro has been sold out everywhere for months and now used ones are selling for $500.

The price was $200, now there was news of a price increase to $300. This does seem to be the case, but does a price increase of something that's sold out even mean anything? Not sure if NVidia even confirmed they're still producing it.

The NVidia Shield Pro was the go-to device which supported all the codecs. Notably the ones that Apple TV didn't support was uncompressed Dolby Atmos if I remember correctly.

Any idea if this new Apple TV 4K supports uncompressed audio for 4k Blu-Ray rips (i.e. remux's) for Plex or JellyFin?

comment 2mo ago · link · parent

I thought that Coolify had centralized auth.

comment 3mo ago · link · parent

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.

comment 4mo ago · link · parent

Relavent XKCD comic: https://xkcd.com/325/

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

comment 7mo ago · link · parent

Glad they got a touchscreen but would really like to see a convertible/2-in-1

comment 1y ago · link · parent

> 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?

comment 1y ago · link · parent

https://github.com/nickjj/docker-django-example/blob/bbe3486...

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

The PR which enabled 3.13 did have changes to Rust code.

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

comment 1y ago · link · parent

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?

comment 1y ago · link · parent

Yes, it's a mess (New: now with Rust!)

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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?

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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

comment 2y ago · link · parent

> 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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

Wait until you realize that "giving up the decently sized ecosystem of Powershell libraries" is a net positive ;-)

comment 2y ago · link · parent

Would be nice if the "obscure in URL" feature wouldn't show the text in the textbox when you send it to someone.

comment 2y ago · link · parent

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

12345
14