News for hackers. Stuff that matters.

Chiron1991

Re:NixOS is making me less afraid on Tuesday October 20, 2026 @11:01AM (#50167474)
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.
Re:NixOS is making me less afraid on Tuesday October 20, 2026 @10:57AM (#50167399)
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).

Re:Replacing Protobuf with Rust to go 5 times faster on Friday January 23, 2026 @06:56AM (#46731441)
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.
Re:Django 6 Released on Thursday December 04, 2025 @07:19PM (#46155218)
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.

Re:Django 6 Released on Thursday December 04, 2025 @06:36PM (#46154829)
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.

Re:The RAM shortage comes for us all on Thursday December 04, 2025 @04:57PM (#46153668)
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.
Re:Are Hard Drives Getting Better? on Thursday October 16, 2025 @10:39AM (#45605931)
It's actually in the name: R = Redundant, i.e. availability.
Re:Are Hard Drives Getting Better? on Thursday October 16, 2025 @10:37AM (#45605897)
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.
Re:Go 1.25 Release Notes on Wednesday August 13, 2025 @03:46AM (#44885673)
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.
Re:Htmx and URL State Management on Wednesday July 30, 2025 @06:18AM (#44732553)
That's why you can give guidance to crawlers using sitemaps.
Re:Have I Been Pwned 2.0 is Now Live on Tuesday May 20, 2025 @11:22AM (#44042641)
> 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 EU-issued fines against the respective companies' profits shows that they can simply afford to make those mistakes instead of preventing them.

Re:Rewrite It in Rails on Saturday November 02, 2024 @02:08PM (#42028049)
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...
Re:BookStack: Simple and Free Wiki Software on Saturday September 28, 2024 @06:24AM (#41679288)
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
> 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.

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.

Re:If You Don't Change the UI, Nobody Notices (2009) on Saturday March 23, 2024 @02:56PM (#39802269)
Notepad on Windows 11 is decent. Replaced my need for Sublime Text.
Re:Web Scraping in Python – The Complete Guide on Tuesday February 20, 2024 @11:55AM (#39443611)
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.

Re:PostgreSQL is enough on Tuesday February 06, 2024 @01:00PM (#39277879)
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.

Re:Differences from Psycopg2 on Wednesday October 11, 2023 @04:35AM (#37842206)
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.
Re:Germany's auto industry: suppliers' confidence waning on Saturday July 29, 2023 @10:31AM (#36920682)
Their software may be bad, but they make huge amounts of money with it. That's all that matters from an economical standpoint.
Re:Gitlab AI is going head to head with GitHub Copilot on Thursday June 29, 2023 @03:21PM (#36525440)
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.
Re:Go 1.21 on Wednesday June 21, 2023 @05:47PM (#36425104)
Not too familiar with go toolchains, but I bet there's a linter that will warn you about shadowing builtins.
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.
Re:Homebrew 4.0.0 on Thursday February 16, 2023 @08:01AM (#34818103)
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).
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.
Re:Fedora Linux 37 on Tuesday November 15, 2022 @12:42PM (#33612449)
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`
I think that would violate ATX standards, but there are already plenty of niche cases that mount the GPU in different places via riser cables.
Re:Serialize Django Data for JavaScript on Tuesday September 06, 2022 @11:40AM (#32738644)
DRF is for building REST APIs, but OP wants to dump the JSON-representation of an arbitrary object into an HTML template. That's a very different use case for which simple JSON-encoding and the json_script filter should suffice.

Older »