News for hackers. Stuff that matters.

argulane

Re:My DIY FPGA board can run Quake II on Monday March 23, 2026 @07:03AM (#47487745)
That's some mad dedication to go from kicad schematics to running Quake. Very impressive!
If it's arm based mikrotik then you could run containers with fancier protocol wrappers
Re:Reverse-engineering the UniFi inform protocol on Wednesday March 11, 2026 @11:28AM (#47336883)
I think you can even use standard haproxy acl rules and tables to extract few bytes from the request and route them correctly. No need for Go.
Re:Xfwl4 – The Roadmap for a Xfce Wayland Compositor on Wednesday January 28, 2026 @02:10AM (#46792023)
If xfwl4 plans to implement something like sway output max_render_time, then input to pixel output latency should be same or even lower than x11
For me the torrent file currently is coming down at 26MB/s
Using /usr/bin instead of /bin comes down to that is much easier to mount one /usr instead of doing bunch of bind mounts for /bin /sbin /lib /lib32 /lib64,

Also some more background info https://systemd.io/THE_CASE_FOR_THE_USR_MERGE/

Re:Proxmox Virtual Environment 9.0 with Debian 13 released on Wednesday August 06, 2025 @07:15AM (#44810504)
Proxmox has had cloud-init support for a while and we have been using it for several years in production.
Re:Migrating to Postgres on Friday May 16, 2025 @03:37AM (#44002719)
I have used TimescaleDB in my last work place. We needed a easy way to store and visualize 500hz sensor data for few 10s of devices. We used it and Grafana to build a internal R&D tool and it worked way better than I imagined. Before I left I think the DB was using ~200GB on a compressed btrfs volume in DigitalOcean droplet and still performed fine for interactive Grafana usage.
Re:The Toyota Prius Transformed the Auto Industry on Saturday January 18, 2025 @02:22PM (#42750695)
I own a 2024 Toyota Corolla Hybrid (similar drive train to Prius) and it defrost the window way faster than my previous Volkswagen Passat. Ice and snow handling has been pretty similar here in North Europe compared to my previous car, studded winter tires are the key. Visibility is also quite comprareble.
Re:Kannel: Open-Source WAP and SMS Gateway on Saturday December 21, 2024 @01:51PM (#42481415)
Unfortunally they didn't exist when we started with kannel
Re:Kannel: Open-Source WAP and SMS Gateway on Saturday December 21, 2024 @06:24AM (#42479017)
We use it to send OTP messages through few telco providers who don't have HTTP API.
Re:Kannel: Open-Source WAP and SMS Gateway on Saturday December 21, 2024 @06:22AM (#42479003)
It's cool to see that they are still going. To any one looking to using this for SMPP connections should skip the releases and build it straight from SVN trunk to get the latest bugfixes.
Re:Ask HN: Do you backup your Emails? on Saturday December 21, 2024 @06:15AM (#42478974)
I'm using lieer and mujmap to sync my Gmail and Fastmail accounts to a local notmuch mail storage on top of ZFS pool. That ZFS pool is in turn replicated off site.

I use neomutt to access my archive over SSH. And notmuch is very fast at searching all of my emails.

* https://github.com/gauteh/lieer

* https://github.com/elizagamedev/mujmap

* https://notmuchmail.org/

Re:How to fork: Best practices and guide on Tuesday October 15, 2024 @05:33AM (#41846719)
You can also `git fetch` and `git reset --hard origin/force-pushed-branch` to get your local branch up to speed with remote one assuming you don't have any local changes.
Re:How to fork: Best practices and guide on Tuesday October 15, 2024 @05:29AM (#41846694)
It's bit hidden but once you enable `git rerere`, it will remember your fixed up rebase conflicts.

https://git-scm.com/book/en/v2/Git-Tools-Rerere

Re:Digital signatures and how to avoid them on Friday September 20, 2024 @04:12AM (#41599862)
It's mostly about performance. If you can store all the required info about the user inside the cookie then you can avoid a DB query roundtrip before sending a response.

Now that your cookie looks like this (probably also base64 encoded):

  {"id": 42, "display_name": "John", "is_admin": false, "session_end_at":1726819411}
You don't have to hit the DB to display "Hi John" to the user and hide the jucy "Admin" panel. Without HMAC, an attacker could flip the "is_admin" boolean in the cookie.

You could also create a cookie that is just random bytes

  F2x8V0hExbWNMhYMCUqtMrdpSNQb9dwiSiUBId6T3jg
and then store it in a DB table with similar info but now you would have to query that table for each request. For small sites it doesn't matter much and if it becomes a problem you can quite easily move that info into a faster key-value store like Redis. And when Redis also becomes too slow you are forced to move to JSON Web Tokens (JWT) witch is just a more standardized base64 encoded json wrapped with HMAC to avoid querying a database for each request.

But even if you are using random bytes as your session identifier, you should still wrap it in a HMAC so that you can drop invalid sessions early. Just for making it harder for someone to DDOS your DB.

Re:I Kind of Like Rebasing on Sunday June 23, 2024 @06:24AM (#40766294)
That's only a problem when using GitHub. GitLab and Gerrit correctly version such force push PR updates and provide a nice view of what has changed.
Re:Dlvhdr/gh-dash: A beautiful CLI dashboard for GitHub on Tuesday May 28, 2024 @03:50AM (#40498432)
Gitea API is pretty close to GitHub

https://docs.gitea.com/

Re:State of the Terminal on Thursday May 16, 2024 @03:38PM (#40382273)
Have you turned on the new render engine in the microsoft terminal settings? It is marked beta but should be much faster.
ATHOM plugs are very nice, you can order one with ESPHome or Tasomata firmware preinstalled and they can ship from Germany https://www.athom.tech/
It does not work because they intentionally disable pipewire support. You can binary patch the slack executable to enable wayland screen sharing https://askubuntu.com/a/1492207
Re:Learn CSS Layout the Pedantic Way on Thursday February 29, 2024 @08:32AM (#39549053)

Older »