Better HN
topnewbestaskshowjobs
Log inSign up

argulane

427 karma · joined Jan 10, 2022 (4y ago) · 114 submissions

Submissions

1.

Ipxlat: a stateless IPv4/IPv6 translation device(lore.kernel.org ↗)

4 points · by argulane · 8mo ago · discuss

comment 8mo ago · link · parent

That's some mad dedication to go from kicad schematics to running Quake. Very impressive!

comment 8mo ago · link · parent

If it's arm based mikrotik then you could run containers with fancier protocol wrappers

comment 8mo ago · link · parent

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.

5.

Btrfs disk errors to fall asleep to(ounapuu.ee ↗)

33 points · by argulane · 9mo ago · 4 comments

comment 10mo ago · link · parent

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

comment 10mo ago · link · parent

For me the torrent file currently is coming down at 26MB/s

8.

Tayga NAT64 Official Support for MikroTik RouterOS(forum.mikrotik.com ↗)

2 points · by argulane · 10mo ago · discuss

comment 10mo ago · link · parent

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/

comment 1y ago · link · parent

Proxmox has had cloud-init support for a while and we have been using it for several years in production.

comment 1y ago · link · parent

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.

12.

First-class support for rebased code review on GitHub(reviewable.io ↗)

1 points · by argulane · 1y ago · discuss

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

Unfortunally they didn't exist when we started with kannel

comment 1y ago · link · parent

We use it to send OTP messages through few telco providers who don't have HTTP API.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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/

18.

The IPv6 situation on Docker is good now(ounapuu.ee ↗)

2 points · by argulane · 1y ago · discuss

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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

21.

So you want to migrate to Kubernetes: observations from a software developer(ounapuu.ee ↗)

2 points · by argulane · 2y ago · 1 comment

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

Gitea API is pretty close to GitHub

https://docs.gitea.com/

comment 2y ago · link · parent

Have you turned on the new render engine in the microsoft terminal settings? It is marked beta but should be much faster.

comment 2y ago · link · parent

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/

27.

FuryGpu – Custom PCIe FPGA GPU(furygpu.com ↗)

446 points · by argulane · 2y ago · 126 comments

28.

Algebra problems selected from the Romanian Olympiad (Part 2)(andreinc.net ↗)

41 points · by argulane · 2y ago · 21 comments

comment 2y ago · link · parent

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

comment 2y ago · link · parent

Yeah they removed it sometime ago https://firefox-source-docs.mozilla.org/devtools-user/3d_vie...
1234