News for hackers. Stuff that matters.

naranha

Re:Linux latency measurements and compositor tuning on Thursday June 11, 2026 @05:03AM (#48487985)
It would be interesting to know if the same is true for Intel/AMD. I have one NVIDIA PC and the desktop - not even Games - feels very sluggish on GNOME - I haven't tried KDE yet. On the contrary, my AMD gaming rig subjectively feels very snappy, but I have never measured it.
Re:PgAdmin 4 9.13 with AI Assistant Panel on Tuesday March 10, 2026 @11:12AM (#47324347)
The only interface that works for me efficiently with LLMs is the chatbot interface. I rather copy and paste snippets into the chat box than have IDEs and other tools guess what I might want to ask AI.

The first thing I do with these integration is look how I can remove them.

Re:Kerberoasting on Wednesday September 10, 2025 @10:44AM (#45198519)
It's still common in IT departments to enter the domain administrator password to join a computer to a domain or install software on a client machine. This seems insane to me, you can just fake the windows gui in a Fullscreen application and keylog the password - even using a web browser. I think AD is a relic of the 90s that should be retired
Re:New 16GB Raspberry Pi 5 on sale now at $120 on Thursday January 09, 2025 @04:36AM (#42643479)
Now do one with ECC!
Re:Every UUID Dot Com on Saturday December 07, 2024 @02:01AM (#42347816)
If the browser has 1080 vertical pixels, the scrollbars has max say 1000 possible positions. According to my napkin math* if you scroll over 100 uuids per second it would take up to ~1.7 septillion or ~1 700 000 000 000 000 000 000 000 years to scroll to an uuid of which you know the position if you hit the spot exactly on the scrollbar.

* https://www.wolframalpha.com/input?i=ROUND%5B2%5E122%2F1000%...

Edit: Use 122 bit instead of 128 due to UUIDv4

Re:Writing Composable SQL Using Knex and Pipelines on Thursday November 28, 2024 @11:41AM (#42266644)
Not OP, but I have converted a couple of projects from knex to kysely recently. With Typescript kysely is much better. With kysely-codegen you can generate typescript types for a pre existing schema too.
Re:PHP Is Legacy, in 2024 on Sunday November 24, 2024 @07:35AM (#42227623)
Stuff becomes legacy not because of the language, but because of outdated libraries or frameworks or unavailable/uninterested developers. For me PHP is legacy, because I refused to work on PHP codebases, except I find someone who's willing to do the job for me.
Re:The Part of PostgreSQL We Hate the Most on Sunday October 20, 2024 @04:14PM (#41898162)
At least couchdb is also append only with vacuum. So it's maybe not completely outdated.
Re:CouchDB 3.4.1 Released on Friday September 27, 2024 @09:02AM (#41669925)
I build an internal project using CouchDB2 as a backend in 2017 and it's still used today. CouchDB definitely surpassed my expectations in what has been possible to do with it. Its biggest advantages are that data sync is effortless and that it uses HTTP as a protocol, so you can communicate directly with it from a web application.
Re:ULIDs and Primary Keys on Friday April 12, 2024 @05:19PM (#40017785)
uuidv7 will be supported in PostgreSQL 17, at which point generation should be as fast as uuidv4, or if you implement it in pgsql now it will be as fast as the proposed ULID algorithm.

Insert performance could be even better, iirc for BTree Indexes monotonic increasing values are better than random ones, but feel free to correct me on that ;)

Re:My PHP Problems on Monday February 19, 2024 @08:36AM (#39429565)
idk, when I want productivity I go with nodejs these days. lodash for some quick data crunching and pg or mariadb for db access using promises simply beats native php functions. with express you can spawn a http server in under 10 lines, while with php you need to setup apache/nginx or docker.

at some point in the past PHP was the most productive tool for some quick & dirty coding, but not anymore for me.

Re:AMD Ryzen 5 8500G: A surprisingly fascinating sub-$200 CPU on Wednesday February 07, 2024 @02:04PM (#39292757)
In the graphics benchmarks it performs mostly worse than the 5600g/5700g. That's pretty disappointing 3 years later.
Re:UUIDv7 is coming in PostgreSQL 17 on Monday February 05, 2024 @08:35AM (#39261051)
Does this stay compatible with the old uuid column type, as uuidv7() uses the same 128 bit format as gen_random_uuid()?

That would mean it's easy to update old apps, as we would only have to change the default value for the columns.

Re:Red Hat Enterprise Linux 10 Plans for Wayland and Xorg Server on Wednesday November 29, 2023 @11:20AM (#38461363)
Awesome, this might be just what I needed! I need to run vscode and it seems to be possible if you launch it with --enable-features=UseOzonePlatform --ozone-platform=wayland . I'll play around with it the next days, thanks!
Remote desktop is not quite there yet it feels. It's the only reason to still use X imho.
Re:German Autobahn speed limit would bring €1bn in benefits on Monday November 27, 2023 @08:42AM (#38432145)
Thanks for the statistics, that's interesting. It can also be misleading, from what I could find, less than 10% of traffic deaths occur on motorways vs. rural/city roads and motorway deaths have actually been decreasing in France steadily since 1990 (this is only from a quick Google search).

Edit: According to the OECD itf (random source I found on the internet ;)) Germany had 317 deaths on motorways vs 201 in France in 2022.

https://www.itf-oecd.org/sites/default/files/germany-road-sa... https://www.itf-oecd.org/sites/default/files/france-road-saf...

Re:German Autobahn speed limit would bring €1bn in benefits on Monday November 27, 2023 @08:01AM (#38431789)
I'd take the French highway over the Autobahn any day. Yes it costs money, but people are driving in a much more civilized manner and they are well maintained.
Re:German Autobahn speed limit would bring €1bn in benefits on Monday November 27, 2023 @07:41AM (#38431621)
I did similar trips through Germany when I was just old enough to drive. One time I was driving 200 in the left lane and a truck changed lanes just in front of me, because the driver didn't expect me to drive this fast.

I had to do an emergency break maneuver and almost crashed into the truck. Only then it dawned on me that driving this much faster than the other vehicles is very dangerous. To me it is completely nuts that this is allowed. If you want to drive fast, you can always drive on race tracks...

I rarely went over 130kmh since then, nowadays I mostly cruise at 100-110kmh, because it is the ecological sweet spot of my car and in general it's less stressful.

Re:Coordinated Disclosure: 1-Click RCE on Gnome (CVE-2023-43641) on Wednesday October 11, 2023 @07:40AM (#37843251)
I guess it's fine as long as it isn't running in untrusted durectories. I'd take downloads out and documents in by default.
Re:PSA: Some Pixel owners still can't dial 911 during an emergency on Saturday September 30, 2023 @09:35AM (#37715302)
Thanks, I disabled it! I'm on the A52. I use the double tap feature often enough, but I guess I can live with the lack of convenience, thanks ;)
Re:PSA: Some Pixel owners still can't dial 911 during an emergency on Saturday September 30, 2023 @09:23AM (#37715210)
Well I have to now, because the screen also stopped working 90% of the time, except when I put it in the freezer for 15 minutes. Just 2 months that the phone is conveniently out of warranty. I guess it's the last Samsung Phone I'll ever buy.
Re:PSA: Some Pixel owners still can't dial 911 during an emergency on Saturday September 30, 2023 @09:18AM (#37715154)
There is a large button underneath the number pad where you enter your PIN and it says Emergency Call. It works even when the SIM is still locked.
Re:PSA: Some Pixel owners still can't dial 911 during an emergency on Saturday September 30, 2023 @09:10AM (#37715085)
No, I can't turn it off and it was always from a locked screen, I think it's a legal requirement in the EU. I now keep my phone always with the screen turned away from my leg in my pocket and that seems to prevent it well enough, even though I still often get to almost calling 911 when I take it out of my pocket with my hand.
Re:PSA: Some Pixel owners still can't dial 911 during an emergency on Saturday September 30, 2023 @08:46AM (#37714906)
They are so lucky. My Samsung Phone already called 911 several times, while I had it in my pocket. And every time I have to explain why. I guess I'll get a Pixel next time.
For my lazy self it would be nice to have a gif of how it looks without having to run it on my machine.
Sorry I meant to write protection against data corruption (checksums)
- ZFS with data loss protection

- Ceph with data loss protection

- Any filesystem on linux-md without data loss protection, BTRFS on linux-md on synology

Re:The lesson about the end of nuclear in Germany on Wednesday April 26, 2023 @06:52AM (#35711769)
This article shows that it pays off to diversify. Invest in all low carbon tech. -isms, be it pro- or anti-nuclearism get us nowhere and poison the public debate.
Re:EU countries approve 2035 phaseout of CO2-emitting cars on Tuesday March 28, 2023 @08:46AM (#35340036)
Not really, rich people don't care about carbon taxes.
Re:EU countries approve 2035 phaseout of CO2-emitting cars on Tuesday March 28, 2023 @08:38AM (#35339918)
I got down-voted heavily on reddit for this idea, but I still think it's genius: Everybody gets a card with their yearly CO2 budget stored on it. For filling up your car at a gas station, but also for consuming electricity a corresponding amount will be withdrawn from your card.

The card is credited weekly, so you can't overspend too much of it. Your saved credits will decline slowly over time. Of course all has to be balanced considering socio-economic factors.

The great thing is you can sell your credits to rich people, so it would even reward you for staying at home giving you sort of a minimal income.

Older »