Better HN
topnewbestaskshowjobs
Log inSign up

Chiron1991

111 karma · joined Mar 10, 2020 (6y ago) · 49 submissions

Submissions

comment 1mo ago · link · parent

Do you have experience with gaming on NixOS, particularly the Steam/Proton ecosystem? Recent non-reproducible distros like CachyOS and Bazzite have made gaming on Linux extremely accessible. Wondering how this fares in NixOS.

comment 1mo ago · link · parent

Seconding miniflux, happy user here for ~2 years.

If the web interface is too minimalist/archaic for you, there's plenty of alternative frontends available you can deploy along. Personally, I'm using reminiflux (inspired by Google Reader).

comment 1mo ago · link · parent

This guy actually gave it a try: https://www.youtube.com/watch?v=GEf-KFO8HkI

comment 10mo ago · link · parent

It's not just about traffic. IoT devices (or any other low-powered devices for that matter) also like protobuf because of its comparatively high efficiency.

comment 11mo ago · link · parent

You said "that Django still lacks". Django no longer lacks CSP and background tasks.

Regarding my edit, you need to differentiate between different types of jobs. Sending an email is okay to do in process. Other (mostly async) Python web frameworks have implemented this, so the Django team probably felt compelled to offer the same. Processing a user-uploaded file is much more expensive and shouldn't be done in the web process. If enough users upload files you're starving your workers for CPU.

comment 11mo ago · link · parent

CSP is literally in this release, and background workers are intentionally not part of Django because you usually want to offload tasks to other nodes so your CPU can keep serving HTTP requests.

Edit: Background tasks for light work are also included in this release.

comment 11mo ago · link · parent

This "memory shortage" is not about AI companies needing main memory (which you plug into mainboards), but manufacturers are shifting their production capacities to other types of memory that will go onto GPUs. That brings supply for other memory products down, increasing their market price.

comment 1y ago · link · parent

It's actually in the name: R = Redundant, i.e. availability.

comment 1y ago · link · parent

I don't know about this exact metrics, but the Backblaze hard drive report is always a very good read when thinking about failure rates. Maybe check it out and see if you'll get your answers there.

comment 1y ago · link · parent

But "outdated code" isn't inherently bad, is it? v1 code is still supported by the stdlib and it still does its job, at least until Go 2.x drops.

comment 1y ago · link · parent

That's why you can give guidance to crawlers using sitemaps.

comment 1y ago · link · parent

> The EU solution meaningfully changes the offending company's behavior.

Citation needed. I'd imagine they just add a tiny markup to their prices to pay the eventual fine instead of investing huge amounts of money into fixing their broken processes. Comparing the list of EU-issued fines against the respective companies' profits shows that they can simply afford to make those mistakes instead of preventing them.

comment 2y ago · link · parent

I can't speak for the other frameworks, but with Django this would have not been a problem at all. In Django, most "batteries included" features really just are 1st party plugins, i.e. you can choose to not use the builtin authentication stack and bring your own. All of this is officially supported and well documented, e.g. https://docs.djangoproject.com/en/5.1/topics/auth/customizin...

comment 2y ago · link · parent

What exactly is a pain there? There's a docker compose file in the documentation that will tell you everything: https://docs.getoutline.com/s/hosting/doc/docker-7pfeLP5a8t

comment 2y ago · link · parent

> It is simply cost and money in the face of much cheaper, less risky and heavily abundant renewable energy.

Adding to that, Germany still has no suitable location for a final depot for storing nuclear waste, and the unquantifiable cost to maintain such a depot for tens of thousand of years is often swept under the rug by nuclear supporters.

comment 2y ago · link · parent

Well, 1978 was a long time ago and environmental concerns weren't a big thing back then. RWE had all rights to do what they did, even the Green party acknowledged that when the Hambach Forest situation escalated.

About the Tesla factory thing, those protests are mostly done by a handful of environmental activists and - most importantly - NIMBYs from the surrounding area.

comment 2y ago · link · parent

Notepad on Windows 11 is decent. Replaced my need for Sublime Text.

comment 2y ago · link · parent

I agree with anything you said, and:

4. Having the scraped data in Python-land makes it sometimes way easier to dump it into an analysis landscape, which is probably Python, too.

comment 2y ago · link · parent

https://github.com/pramsey/pgsql-http

comment 3y ago · link · parent

The core reason is (imo) that it's simply not possible to provide a Django admin equivalent in other frameworks because they lack the functionality to do so.

The basic dependencies for the Django admin are:

- authentication

- user permissions

- forms

- the ORM, to generate forms from model definitions and forward the admin's CRUD operations to the database

No other framework comes with all of these dependencies builtin. Yes, there are individual plugins to retrofit them, but then you would start building your extremely complex admin plugin on top of a lot of unaligned dependencies. Just one of them needs to go into a direction that doesn't align with your needs and your project is done. That's not a good base to start from. Django doesn't have this problem because the entire framework is built under one roof.

comment 3y ago · link · parent

That's because psycopg adheres to the DBAPI standard (think of JDBC of the Python world). asyncpg deliberately ignores this standard for huge performance boosts.

comment 3y ago · link · parent

Their software may be bad, but they make huge amounts of money with it. That's all that matters from an economical standpoint.

comment 3y ago · link · parent

Not only that, but the Golang example is full of errors. Parameter definitions don't have colons between name and type. The map for seen elements is declared as a, but later referenced to as m. The append instruction references uniques, which is undefined. The return statement also references uniques.

comment 3y ago · link · parent

Not too familiar with go toolchains, but I bet there's a linter that will warn you about shadowing builtins.

comment 3y ago · link · parent

As long as you're installing/updating Python via your distro's package manager you won't break anything. Most horror stories of borked system Pythons are caused by people uninstalling/updating packages from the system Python via pip or fiddling with their PATH. altinstall is only useful if you have to compile Python from source to get it onto your system.

comment 3y ago · link · parent

Excluding 3rd party tools like Homebrew, one dosn't. The native 'package manager' is the Apple App Store. You can also manually download and install .dmg files of applications (much like .deb or .rpm).

comment 4y ago · link · parent

That's the premium you pay for not having to deal with hosting and configuration. There are plenty of people - even in the tech community - who lack the knowledge to handle this themselves.

comment 4y ago · link · parent

That's an issue of dependency management though, not the runtime. Contrary to other distros, Fedora actually has a multitude of Python versions in their core repositories. If you need 3.9 but 3.11 comes preinstalled, simply `dnf install python3.9`
12