News for hackers. Stuff that matters.

alex23478

Re:Lombok Is Still Relevant in the Age of Java Records on Monday October 19, 2026 @03:59AM (#50149606)
they don't need it, but it surely saves some tokens since it just expresses the intention of the code in a denser way.

agents make dealing with boilerplate easier, but that doesn't change that boilerplate itself is just bad

Re:Go ahead, self-host Postgres on Saturday December 20, 2025 @04:28PM (#46339793)
In this case the advantage are operators for running postgres.

With Docker Compose, the abstraction level you're dealing with is containers, which means in this case you're saying "run the postgres image and mount the given config and the given data directory". When running the service, you need to know how to operate the software within the container.

Kubernetes at its heart is an extensible API Server, which allows so called "operators" to create custom resources and react to them. In the given case, this means that a postgres operator defines for example a PostgresDatabaseCluster resource, and then contains control loops to turn these resources into actual running containers. That way, you don't necessarily need to know how postgres is configured and that it requires a data directory mount. Instead, you create a resource that says "give me a postgres 15 database with two instances for HA fail-over", and the operator then goes to work and manages the underlying containers and volumes.

Essentially operators in kubernetes allow you to manage these services at a much higher level.

> How will Google force Android users to "update" so sideloadinng can be prevented

Google has the Google Play Services, which can be remotely updated via the Play Store, as has been done for the COVID exposure notification system [0]. Google's Play Protect already hooks into the installation process and could be updated to enforce the signatures.

[0]: https://en.wikipedia.org/wiki/Exposure_Notification

Re:Beginner Guide to VPS Hetzner and Coolify on Monday October 06, 2025 @10:26AM (#45491806)
Not the original commenter, but I've used https://github.com/wal-g/wal-g before for this and had a good experience with it.

If you haven't done so already, I'd highly recommend reading the postgres documentation about continuous backups before setting it up, as it teaches the fundamentals: https://www.postgresql.org/docs/current/continuous-archiving...

But isn't that what makes it so absurd? The people that this supposedly targets will then become "nerds" and use PGP for their messaging, while the majority of people not discussing illegal activities will just suffer from worse security.
Re:Supabase raises $200M Series D at $2B valuation on Wednesday April 23, 2025 @01:36AM (#43768942)
Yes, but setting up e.g. users and pg_hba might be something you would need to research before doing your first postgres deployment even if you previously came from a managed postgres service. Also coming up some sort of backup strategy would be a good idea.

But once you know these things, you could of course be faster.

This happened to one of my previous Xiamoi Phones too. Apparently the Flash Storage degrades over time, which makes everything that uses I/O super slow. For instance, starting Firefox took almost a minute, but it was usable as soon as all needed data was available in RAM. This is a known issue in the respective community, and sadly kills devices that would still be usable with the latest Android thanks to Custom Roms.
Re:Hetzner Object Storage on Monday October 07, 2024 @02:02PM (#41768948)
At the Hetzner Summit two a few weeks ago they presented the servers used for this.

I am not sure about the exact specifications anymore, but they are building dedicated servers for this with custom chassis where each server has a ton of drives and I think they each had 40 GBits networking. These are special servers that are not available to customers directly.

Re:The Arch Linux team is now working directly with Valve on Monday September 30, 2024 @07:22AM (#41695893)
Yes, but it's built around musl libc instead of glibc, which causes compatibility problems with some programs
Re:Git-absorb: Git commit –fixup, but automatic on Thursday September 26, 2024 @03:32AM (#41655516)
I think this really boils down how your team is using Git and which code review tool you're using. (I've never used Gerrit personally, but as far as I understand it, we wouldn't have this conversation, since it aims to refine a single change by re-submitting a commit over and over again?)

For GitHub/GitLab reviews, I'm totally with you - this makes it more convenient for the reviewer to check that/how you've responded to feedback.

But now if you merge this without squashing, your Git history on the main branch contains all your revisions, which makes operations like bisecting or blame more complicated.

For me personally, the sweet spot is currently a mix of stacked-commits and the PR workflow: Use a single commit as the unit of review, and polish that commit using a PR, and use the commit descriptions within that PR to tell the story of you responding to feedback. Then, squash merge that commit.

This provides both a good review experience and a tidy history. If you find a strange bug later and can't grasp how someone could have come up with that, the PR still has all the history.

Together with tools such as git-branchless, this also makes working on stacked-PRs a breeze.

Re:Krazam OS on Tuesday April 23, 2024 @03:31AM (#40129478)
Well, technically all of your tests are very reliable then.
Re:Show HN: Postgres Language Server on Monday August 07, 2023 @10:39AM (#37035070)
JetBrains offer perpetual fallback licenses together with their yearly subscriptions: https://sales.jetbrains.com/hc/en-gb/articles/207240845-What...
Re:Birdwatch, Twitter's new collaborative fact checking system on Saturday November 05, 2022 @05:16AM (#33479525)
Just to make sure I didn't miss anything: They're not paying anyone for their fact-checking?
There's an addon for making the Google pages work as they do in Chrome:

https://addons.mozilla.org/en-US/android/addon/google-search...

Having used both, I find Grammarly much better for English texts. It has things like tone analysis, and in general has more in depth checks than LanguageTool.

LanguageTool, on the other hand, supports more languages and is cheaper than Grammarly. It isn't bad for English texts, and will definitely help you with your writing, but not as much as Grammarly.

It really depends on your needs. I use LanguageTool for my everyday needs, but when I'm writing a blog article, I make sure to run it through Grammarly.

Re:Arc – A P2P CDN that runs in the browser on Sunday September 05, 2021 @01:36PM (#28426071)
> only runs when a device is connected to Wi-Fi or Ethernet. Cellular bandwidth is never used.

This cannot be guaranteed.

They seem to use the NetworkInformation API, which as of now is declared as experimental and straight up does not work on Firefox or more importantly on Safari (and therefore the whole iOS browser ecosystem). Apart from that, they're using IP ranges of mobile carriers for detection. [1]

So let's say you're using iOS and a VPN while on the go. This will use your mobile data unless you're using an adblocker (since their service is only opt-in if you're using an adblocker) [2]

[1] https://github.com/easylist/easylist/issues/7872 [2] https://github.com/uBlockOrigin/uAssets/pull/8874#issue-6142...