HNHacker News
TopNewBestAskShowJobs

kris-nova

383 karma · joined December 7, 2016

[ my public key: https://keybase.io/krisnovaidentity; my proof: https://keybase.io/krisnovaidentity/sigs/-FyN-p7Xp87YBbfOYvWHLhBDhSLsUxyMGeKy_5cflQg ]
submissionscomments
kris-nova··on Network Instrumentation and TCP File Descriptor Hijacking
> What's the performance hit for doing this?

So I want to be clear. This work is very much in the "fantasy" stage. I haven't ran this at scale, and there is a lot I would do before I blindly rolled something like this out. As far performance impact, it obviously would depend on how it's implemented however I think a reasonable amount of "tracer packets" being sent out every 15 seconds or so to each hop shouldn't be too disruptive to the network, or to the host machine issuing the request. In other words if you take the `ptrace(2)` concern out of the equation (this is the big one in my mind) its going to be negligible.

> And, the rootkit question, how would eBPF notice you doing this?

I suppose it would depend on what your strategy with eBPF is and where you were looking. Reminding yourself that the pidfd_getfd and pidfd_open functions are system calls, I think any modern Linux auditing system would see something like this "a mile away".

In other words, I don't see somebody using this tactic to steal FDs in production without quickly alerting most security systems. I suspect there would be ways of hiding this however... https://github.com/krisnova/boopkit...

kris-nova··on LSD: Not Even Once
I often attribute the vast majority of my happiness and success back to psychedelics, trauma, and my experience living an unconventional and eccentric life.

I could fill pages with the anecdotes, specific examples, and my personal speculation on why this is but i can just gloss over the details and skip to the takeaway: LSD has made my life net better.

Another point I am trying to drive home is that this is what I would consider an “incomplete” or “immature” take. For example the authors anxiety is likely stemming from some organic experiences either traumatic, economic, physiological, or psychological — getting to the bottom of those and surfacing the patterns themselves is one of the great benefits of this chemical. I’d love to see this author examine their experience and ask where the anxiety is coming from.

You have to face your fears and anxiety before you can understand them — before you can conquer them.

I’m just glad this forum is finally talking about this topic. More psychedelics here please.

kris-nova··on Career advice no one gave me: Give a lot of notice when you quit
This only works if you’re a bro who is chummy with leadership. Honestly this is one of the worst pieces of advice for a marginalized person. If you show any indication of leaving as a marginalized person you are extremely likely to be pegged as “a flight risk” or “unstable” or “frantic” and your job will likely be eliminated before you actually are ready to roll.

In the U.S. this likely means losing your healthcare and missing your children’s tuition payments — and even your housing. Your visa if you’re immigrating, etc.

The only people who have enough psychological security to do this are the ones who don’t actually depend on their jobs for maintaining their current standard of living.

In a perfect world this would be great advice for everyone, however given the political and economic culture of the U.S. this is pretty horrible advice for a marginalized person. Our labor laws don’t support this behavior for a reason — and if “push comes to shove” every corporation in Silicon Valley will air on the side of modern labor laws (or lack there of).

kris-nova··on Keep stuff linkable
Wow. I thought this was going to be a big rant piece on why we should all go back to dynamic linking again and I was so ready to start my Monday off with a spicy take.

But yes we should all also be adding links in our writing and publishing on our own platforms.

kris-nova··on Flatcar Container Linux
How does this compare to https://ublue.it/
kris-nova··on The Bitcoin whitepaper is hidden in every copy of macOS
I would be willing to wager there is more inside that PDF than just the contents of the Bitcoin white paper. Curious if anyone has a hash sum handy
kris-nova··on Non-linear career paths are the future
Women and marginalized people who change jobs: Flakey and incapable. Unable to handle a job. Something must be wrong. Clearly a sign of caution to be taken as a reason not to work with them.

Men who change jobs: literally articles inventing new vernacular stemming from the mental gymnastics required to justify the hypocrisy — men aren’t incapable because they change jobs — they are prodigy — men aren’t untrustworthy for changing jobs — they are taking nonlinear career paths because of the uncertainty in the market

kris-nova··on Plutonium: The most dangerous substance known to man?
Money
kris-nova··on SQLite the only database you will ever need in most cases (2021)
SQLite — works 80% of the time — every time.
kris-nova··on Aurae: Distributed Runtime (FOSDEM 2023 Video)
Fortunately, I know I can always trust the charming comments on this enchanting website to let me know how the general public is feeling about my systems neurosis.
kris-nova··on Git archive checksums may change
Thanks for the update! There is only 1 internet to watch and learn from. We are all in this together. <3
kris-nova··on Is Crypto Dead?
Excellent. Most people and resources sited on this Machiavellian capitalist mega-bro site often disagree with me. I take it as a compliment. It’s a positive sign I’m on to something sustainable and worth investing my time into. Thanks for helping me smile today.
kris-nova··on Is Crypto Dead?
Yes. If you have to ask then you know the answer.
kris-nova··on Rust concepts I wish I learned earlier
Great read — the author should feel proud. This made my morning.
kris-nova··on Twitter has banned Mastodon links in name and bio for being “malware”
Anyway {a…z}.hackyderm.io will now redirect to hachyderm.io.

Every subdomain will get a single tweet before Twitter propagates the URL, shadow band your tweet, and blocks the URL moving forward.

Have fun folks.

kris-nova··on Twitter has banned Mastodon links in name and bio for being “malware”
We debugged a lot of the behavior using hackyderm.io as an HTTP facade for hachyderm.io with independent TLS termination.

I was able to get a single tweet in using hackyderm.io and my account is now “shadow banned”. Meaning I can view my tweet, but nobody else can. Which is exactly what Twitter has promised not to do, and what we use as a tactic on Reddit to keep shitty content at bay. It means that from the posters perspective everything looks “fine” and their content is just not getting any engagement.

https://twitter.com/krisnova/status/1603637253959733248

kris-nova··on Ask HN: Laid off employees, did the company ask you to return equipment?
A Microsoft SAW is a demonic artifact stemming from when Satan himself forged a computer a casts it onto the surface of the earth and into the hands of mankind. It’s the best worst way to access production. It’s how anyone who has ever been on call for Azure accesses production and it’s the last thing you see before Cerberus herself begins chanting “Lasciate ogne speranza, voi ch’intrate” and welcomes you to hell for all eternity.
kris-nova··on Post mortem on Mastodon outage with 30k users
Hi. I wrote the post. Additionally I am responsible for operating Hachyderm (Ruby on Rails) and GitHub (Ruby on rails) for both my free-time and my day job.

I can say with certainty that Ruby specifically was not the bottleneck in our case. I do think that the rails paradigm can often lead to interdependent systems. We see this at GitHub and we also see this in Mastodon. Service A will do reads/writes against the same tables in the database that Service B also does. When service A is moved to an isolation zone, it can still impact Service B's performance.

In other words, I think any stateful framework with the flexibility that Ruby on Rails encourages bad behavior that can contribute to a noisy neighbor problem.

The point I am trying to drive home is that I agree. I can confidently say that Ruby on Rails is not the culprit in our case. To be honest I just ignore anyone who is quick to point fingers and assign blame either technically or personally.

Sorry hacker news got you down. If it helps my family and I are making Sunday morning pancakes with my puppy Björn today and we are all wishing you the best day ever.

kris-nova··on Post mortem on Mastodon outage with 30k users
Hi, I made the decision not to replace the drives. I also wrote the article, and am the admin of Hachyderm.

So to be clear, we did try to "offline" a drive from the ZFS pool just to see if this was a viable path. The ZFS pool was set up a few years ago and has gone through a few iterations of disks. The mirrors were unbalanced. We had pairs of drives of one manufacturer/speed mirrored with pairs of drives from another manufacturer/speed. We know this configuration was wrong, again we didn't intend for our little home lab to turn into a small production service.

I think after spending a few hours trying to "offline" the disk, and then repairing the already brittle ZFS configuration to getting the database/media store back to a "really broken and slow but still technically working" state we just decided to pull the plug and move to Hetzner. Offlining the disk caused even more cascading failures and took about 30 minutes just for the software. We could have technically shut down production to try without the database running on it, but at that point we decided to just get out of the basement.

If it would have been as easy as popping a disk in/out of the R630 (like one would imagine) we would have certainly done that.

To be honest I am still very interested in performing more analysis on ZFS on a 6.0.8 Linux kernel. I am not convinced ZFS didn't have more to do with our problems than we think. I will likely do a follow up article on benchmarking the old disks with and without ZFS in the future.

zfs-2.1.4-1 zfs-kmod-2.1.6-1 6.0.8-arch1-1

kris-nova··on Rust in the Linux Kernel: Just the Beginning
I’d like to get involved with contributing to the prossimo project like the blog suggested, however there doesn’t seem to be any more information anywhere on memorysafety.org to do so.
kris-nova··on DevOps is broken
Platform Engineering is the future.
kris-nova··on Practical Systems Awareness
Sure. Hopefully it was helpful and answered any questions.
kris-nova··on Why Fix Kubernetes and Systemd?
For reference (from the author of systemd) https://0pointer.de/blog/projects/the-biggest-myths.html
kris-nova··on Why Fix Kubernetes and Systemd?
I think the term "control plane" is overloaded but -- yes.

I just think of it as a node API more than anything. Having a comprehensive set of features/library/API for the node seems like it would unlock a lot of features we are seeing in large service mesh and large platform shops are turning to sidecars to solve.

kris-nova··on Why Fix Kubernetes and Systemd?
Good feedback. I went ahead and removed the reference and just called out my sentiment directly.
kris-nova··on Why Fix Kubernetes and Systemd?
That section of the post seemed to be generating a lot of friction. I revised the language a little bit.

I think the original sound-byte I was trying to capture was "do one thing" which in my opinion neither Kubernetes nor Systemd do. To be fair -- neither would Aurae. So I just scrapped the entire comment.

I wasn't trying to nitpick systemd as much as I was trying to draw attention to the fact that it does in fact -- get nit picked -- and often unnecessarily.

kris-nova··on Why Fix Kubernetes and Systemd?
Also thank you for the compliment. That was nice to read. Some of the other comments just get straight to the nit picks.
kris-nova··on Why Fix Kubernetes and Systemd?
To be clear I see the "gRPC server" that listens over a unix domain socket being something more like pid 10-20.

If there is a network "gRPC server" as well, I suspect it would be somewhere in the 20+ department.

I don't anticipate exposes the actual pid 1 over a network. I'm not a monster. I suspect there will be be an init/jailer mechanism that manages bringing some of the basics online such a system logger and any kernel services (EG: ZFS) right away. One of the first "services" would be a d-bus alternative that is written in Rust and leverages gRPC.

The main motivation behind gRPC is cloud, mTLS, and the support in rust. It comes with the ability to implement load balancing and connection error management/retry capabilities. I have week opinions on the technical detail as I don't suspect the network traffic will be very large. gRPC is more familiar for folks in cloud, as well as supports a large number of client languages for generating clients.

kris-nova··on Why Fix Kubernetes and Systemd?
Its just a joke. Most folks from the U.S. who enjoy eating chicken tenders (breaded chicken breast with sauce) view it as a safe/comfort food that has never been a poor choice to eat.

I feel the same way about systemd, its safe, reliable, and always a good choice for "dinner".

Basically I am saying that systemd has withstood the test of time and has never disappointed me.

kris-nova··on Why Fix Kubernetes and Systemd?
This is a good call out. One of the philosophies of the project I am trying to maintain is instilling my opinion into things while still having the project play nice with the rest of the ecosystem.

On one hand I over-engineer a systemd hypervisor that is only meaningful to me. On the hand I create another ambiguous junk drawer that is meaningless without a team of experts to tell you how to configure everything.

I think having what kubernetes calls "namespaces" as an isolation boundary on each node running as a VM is the move here. It SHOULD run like this as a default. Pods are another story. Namespaces however -- should always have a VM boundary.

Getting the network device integration is going to be a big thing here. I suspect this means each namespace now has 1 or more NICs it will be able to leverage.

Firecracker went with the bridge mentality which I kind of disagree with: https://github.com/firecracker-microvm/firecracker/blob/main...

I want to see tools like Tailscale that leverage network devices as the "true network interface" find value in the guest namespace paradigm.

Hope this helps!

Page 1 of 2Next →