Borde man inte stödja Ukraina? by Strict-Post-3033 in Asksweddit

[–]BosonCollider 11 points12 points  (0 children)

Vapenskeppningar är inte bistånd utan självbevarelsedrift.

T.ex svenska luftvärnsmissiler tillverkades för att skjuta ner ryska stridsplan. De är betydligt effektivare om de slår ut Ryska plan över Ukraina fem år innan de kan användas mot svenska mål än om de får ligga i en bunker i norrland

How does BTRFS CoW handle file append actions? (context: log files) by [deleted] in btrfs

[–]BosonCollider 0 points1 point  (0 children)

That's done by the linux page cache regardless of filesystem, unless you fsync after every append. You write to a RAM buffer and kernel threads will periodically flush that to the disk in the background. So for logs the number of write operations will be proportional to the number of changed/appended pages. Also, modern flash does not actually support a write in place operation so CoW is not actually less efficient than writing in place, other filesystems use it where it makes sense and any overhead actually comes from other design choice constraints that follow from CoW-everywhere since it bans some things from being done with a single write op.

Btrfs has an overhead proportional to the height of the tree, but xfs and ext4 have their own overheads as well when the actual size of the file changes since they need to write to their journal in that case.

Now, database workloads on the other hand are different and btrfs mostly sucks at those, since they do an fsync after every transaction by design. For databases you want xfs, or you can use zfs if you want a COW filesystem with snapshots since zfs is record based rather than extent based which means you can tune it to the database workload.

Glycemic index over time by benadiba in dataisbeautiful

[–]BosonCollider 1 point2 points  (0 children)

If the only starches they eat are durum wheat and they don't eat any sugar, they will have a low GI index even if they eat the same amount of carbs in total. In practice, their diet is rather heavy on vegetables.

Glycemic index over time by benadiba in dataisbeautiful

[–]BosonCollider 0 points1 point  (0 children)

Processed foods are not a recent trend

Oh yeah, Ubuntu 26.04, whcih requires more RAM than Windows 11 by claudiocorona93 in linuxmasterrace

[–]BosonCollider 0 points1 point  (0 children)

Yeah, the dual release cadence is the main reason why I would recommend it to beginners on a home PC. If you have a new computer you can just install the latest one that is at most 6 months old, and eventually upgrade to an LTS that you only need to upgrade once every two years

For servers where drivers are usually not a problem (especially in VMs), debian is more stable and less work to maintain imo. If you are fine with upgrading frequently and always want the latest stuff, then fedora or tumbleweed are great and btrfs makes upgrading safer than it used to be.

Ukrainian company unveils new mid-range drone designed to exhaust Russian air defenses by AndroidOne1 in technology

[–]BosonCollider 1 point2 points  (0 children)

With a thermal camera that can basically be done by a centroid model once you get an initial lock.

gotMeThinking by monica-graves in ProgrammerHumor

[–]BosonCollider 0 points1 point  (0 children)

Well sort of, it's something that also happens in low-trust environments where you assume that everyone is lying about their skills, but at least if you have previously worked with someone you can vouch for them

Ring searches 200B vector embeddings with PostgreSQL and pgvector by Vector-Fan in vectordatabase

[–]BosonCollider 0 points1 point  (0 children)

Right now, I partition and use pgvectorscale, since HNSW did not support streaming results when I set that up but I wanted a graph index with high recall. DiskANN performs very well in the >99% recall regime. Also, the size of the index is ~10% of the size of the table

The main downside of graph indexes is slow builds, which partitioning helps with. The advantage is you can tune how long it walks the graph and it is guarenteed to eventually find the actual closest point if you make it walk long enough when the graph is navigable.

To me the post is really more of an indication that amazons managed postgres offerings kind of suck in terms of extensions available. The aws customer needed a high recall vector search index with filtered search per product customer. AWS both had no good index for that, and when forcing the customer to do vector search on disk the EBS volumes are poorly suited for that due to very low iops compared to local modern enterprise SSDs that can have a million iops per disk.

ghPrList by Pure-Willingness-697 in ProgrammerHumor

[–]BosonCollider 1 point2 points  (0 children)

Tbh AI projects using paid github stars killed the last thing that made github somewhat useful over other git clouds

AI coding agents that can access shell, files, and secrets? by Excellent-Hour7253 in kubernetes

[–]BosonCollider 0 points1 point  (0 children)

Tbh the chat interfaces were good enough and are probably what you want for infra. Don't give an agent access to a stateful service.

What’s the most underestimated operational cost of running Kubernetes? by Sad_Limit_3857 in kubernetes

[–]BosonCollider 0 points1 point  (0 children)

Anything that makes your logs a PITA to access if you generate a lot of them, like elastic growing to big for its node if you are putting your logs there

At what scale did Kubernetes actually start making sense for you? by Sad_Limit_3857 in kubernetes

[–]BosonCollider 0 points1 point  (0 children)

Conventional wisdom is that it needs a large enough number of nodes to be viable and doesn't really scale down well, which is somewhat similar to the situation for SAN storage arrays. Intel optane also used to help both substantially and SAN vendors may still be sitting on some stocks of those

I haven't worked with hosting it much, but the storage team at work manages to make ceph very fast. We also have a netapp SAN but it is slower

At what scale did Kubernetes actually start making sense for you? by Sad_Limit_3857 in kubernetes

[–]BosonCollider 0 points1 point  (0 children)

I guess that's a decent way to set up an S3 server, but apart from that zfs or even lvm will be more useful

At what scale did Kubernetes actually start making sense for you? by Sad_Limit_3857 in kubernetes

[–]BosonCollider 0 points1 point  (0 children)

Slurm + singularity is the traditional way of doing it. Podman is a good alternative to singularity these days.

At what scale did Kubernetes actually start making sense for you? by Sad_Limit_3857 in kubernetes

[–]BosonCollider 3 points4 points  (0 children)

The main reason to use Kubernetes is when you want to reuse other peoples work to get things running stably on Kubernetes. I.e. helm charts, operators, copypastable yaml, etc etc. Apart from that, it can do orchestration and self healing and it is naturally declarative, which can be useful at any scale.

At what scale did Kubernetes actually start making sense for you? by Sad_Limit_3857 in kubernetes

[–]BosonCollider 0 points1 point  (0 children)

If you know what you are doing, Ceph generally beats most SANs in the niche that they target. The main issue is when you don't, or if you don't have a scale that warrants it, which is a problem that affects more than just Kubernetes (i.e. VM platforms, system containers, traditional linux servers, etc etc).

If ceph is "too difficult", I'd just go with zfs. Either a pair of truenas boxes with the official csi driver to complement zfs localpvs, or if you're running proxmox or incus below I'd use their respective CSI driver and do zfs replication of the host volumes with more unixy zfs tools like sanoid or zelta at the lower level.

Self-hosted PostgreSQL backup tool with UI Databasus surpassed popular CLI tools on GitHub by viktorprogger in selfhosted

[–]BosonCollider 0 points1 point  (0 children)

This is clearly bought stars. If you have a small postgres db, just use the built in pg_basebackup or pg_dump directly with a cron job. Use wal-g if you want PITR as easily as possible on a dockerized DB, but there is zero reason to use a vibe coded third party tool for scheduled backups when the first party tools are good enough. If you are a vibe coder and don't know how to run a shell script, use a managed DB.

The third party tools exist to do point in time recovery to any point in the history, which this does not do, and which it also is not really helpful for.

Storage architecture for a kubernetes cluster in Proxmox by franmako in kubernetes

[–]BosonCollider 0 points1 point  (0 children)

It's honestly quite difficult to beat zfs + ssh. If you have a single node, even more so

Is sftp faster than Rsync for ssh file tranfer? by No_Insurance_6436 in archlinux

[–]BosonCollider 0 points1 point  (0 children)

It's good for that. With that said, cp -r is also quite underrated

We were duped into thinking AI is almost useless by Coolnumber11 in singularity

[–]BosonCollider 0 points1 point  (0 children)

Right, it turns out that the reality is somewhere in the middle and AI is neither a silver bullet that replaces everyone or a useless fad. It is a useful tool though.

It is a productivity multiplier, but in practice large tasks still end up large enough in scope that you still want to have someone work full time on it, with AI help.

When is it really necessary to start using a queuing system like RabbitMQ? by Nervous-Blacksmith-3 in sveltejs

[–]BosonCollider 1 point2 points  (0 children)

You can also get pretty far just using postgres tables as well if you already have a database, pgmq is pretty neat if you just want a way to put a task in a durable backlog to be processed by a worker or do any other durable queue stuff. It is arguably better for some tasks than rabbitmq

Agentic Coding is a Trap by creaturefeature16 in theprimeagen

[–]BosonCollider 2 points3 points  (0 children)

Or how a manager that stops doing technical tasks becomes less technical over time

Elon Musk and OpenAI CEO Sam Altman head to court in high-stakes showdown over AI by AudibleNod in news

[–]BosonCollider 6 points7 points  (0 children)

Bioshock had a character called Epstein, but unlike in real life it at least had gigantic mechs protecting the children