HNHacker News
TopNewBestAskShowJobs

Cyph0n

9,830 karma · joined July 2, 2011

Software engineer @ Google.

All views are my own, etc.

* Homepage: https://assil.me

* Github: https://github.com/aksiksi

* Twitter: https://twitter.com/aksiksi

[ my public key: https://keybase.io/aksiksi; my proof: https://keybase.io/aksiksi/sigs/PhsFUqf4TTQdHrQvnrRhLU4bgilyPjSZjo5DQFHM9QU ]

submissionscomments
Cyph0n··on New 14‑inch MacBook Pro with M6
Not to mention X and Xs.
Cyph0n··on AI promised less work. I've never worked more
Only replying to you since everyone else is making the same points.

I follow a religion with similar edicts (not Christian). I also understand the contributions made by Christianity in this area. But the fact of the matter is that religion was ultimately unable to force actual widespread change on the ground, especially not in secularized European states.

At the end of the day, the only true religion that industrialists and capitalists understand is money. Only unions were able to speak their language at a very large scale, and this is the language they ultimately had to listen to :)

Cyph0n··on AI promised less work. I've never worked more
Did religious edict also eliminate child labor, give us more humane working hours, and establish labor laws? Or was that because of unions?
Cyph0n··on Oregon Police Are Charging a Local News Outlet $2.5M for Records About One Cop
Okay, what about spoonfeeding the records? If they got access to part 1/N, why did that not entail full access to the data? Otherwise they wouldn’t even be able to chunk it in the first place, no?
Cyph0n··on Xbox Turns Down Netflix $500M Offer
Andor is in a league of its own imo. Once in a generation kind of show.

But it is similar to Fallout in that it was able to break out of its universe. Andor is enjoyable even if one hates Star Wars; Fallout is enjoyable even if you dislike gaming.

Cyph0n··on We should be more ambitious with the software we build
I have yet to see LLMs do well “autonomously” on anything that doesn’t fall into any of these 3 buckets:

1. well specified

2. well tested (which is a form of spec)

3. represented in the training set (i.e. not built on a corpus of human developed examples)

For example, a lot of the compiler porting efforts fall into all 3 buckets: compilers are well specified (there is a set of valid inputs and an expected behavior), they are typically well tested, and as a bonus, in a way that is implementation agnostic thanks to the clean interface (think: integration vs unit tests), and are very well represented in the training set.

Cyph0n··on OBS Studio 33
As the FFmpeg devs like to say: if you don’t like how OSS volunteers do things, send patches or money, or just fork (off).
Cyph0n··on Remove pgrust: the entry is cheating (per-query kernels and result caching)
Love the confidence and complete lack of acknowledgement of the initial fuck up.
Cyph0n··on NixOS is making me less afraid
+1. I personally have always wanted to write down my thoughts on NixOS in a long-ish form post.

But it’s just really hard to articulate. NixOS is such a step above any other distro that it becomes hard to convey exactly why this is the case. It is also because so many pieces work together in tandem - both above and below the covers so to speak - to make this the case.

There is really only one talk I have found that somewhat captures this, What Nix Can Do (and Can’t) by Matthew Croughan: https://youtu.be/6Le0IbPRzOE. Keep in mind that it’s a rapid fire-style talk with a ton of breadth, so it is natural to feel overwhelmed while watching if new to Nix :)

Also, here is a random dump of features that I have found both valuable and very difficult to achieve on other distros:

* Config rollback in bootloader to undo mistakes without needing to boot from recovery media

* Flake lockfiles to pin all config and packages

* Config layering: base config that applies to all machines, per-machine overrides, etc

* NixOS module system, very useful to conditionally enable functionality (e.g. subset of machines run Syncthing)

* Rebuild a host over SSH by copying over packages via nixos-rebuild

* Image builders i.e. Packer-lite (now in nixpkgs)

* Build a live CD/USB custom installer to quickly boot from with your own packages, user, dotfiles, etc

* NixOS integration testing framework (extremely powerful), makes package and config stability better under the hood in nixpkgs

* Build and run your config as a QEMU VM

* nixos-anywhere to convert a running Linux machine into NixOS, very useful for VPS/cloud machines

* Out of the box support for cross compilation and static linking via pkgsCross and pkgsStatic

* Stylix for centralized theming config across apps

* Natively build a Docker image from your package using dockerTools

Cyph0n··on NixOS is making me less afraid
Gaming works extremely well. You can even get a SteamOS-like experience via Jovian, which is basically an overlay that provides a curated set of packages and configs.
Cyph0n··on NixOS is making me less afraid
If you’re using flakes, as long as you don’t update the lock file, you will always install the exact same package. This holds across machines using the same config.
Cyph0n··on What I self-host
I actually prefer the separation. Limited blast radius is one advantage, but I also think that the media server and downloader should be separate things anyways.

But I do think that there is an opportunity to merge Sonarr and Radarr.

Cyph0n··on What I self-host
TRaSH is definitely for power users. It becomes much easier to work with when configured with Recyclarr, but there is still a learning curve.

One of the most valuable things for me is the ability to rank different aspects of releases across media types. For example, I prefer dual audio anime, unless the sub is much higher quality. Same idea for surround sound and release groups. I also want to ignore things like dual audio that is non-English, or hardcoded French subs, etc.

Cyph0n··on What I self-host
Ah, I know about root paths, but didn’t know about path-specific rules. Thanks, will check this out. And yeah, it should work fine with Seerr.
Cyph0n··on What I self-host
It is important to point out that “a day or so” - or even the ability to spin up your own version - is only possible because these projects already exist.

Without a tested and validated reference implementation that already accounts for the numerous edge conditions and quirks of media releases, APIs, etc., your vibecoded version would have taken much longer to iterate on.

Cyph0n··on What I self-host
Yep basically. The real magic is when you combine it with a Debrid service, which essentially puts a cache in front of torrents. If the torrent has been downloaded before, you get a direct hosted stream instead of having to stream your movie from active seeders (i.e. buffering hell).
Cyph0n··on What I Self-Host
I have considered it & heard good things about quadlets, but since I am more of a Compose person, I use compose2nix instead (self-plug).
Cyph0n··on What I self-host
Can you explain? Are you manually setting tags for every anime you add? How does it work with requests made thru Seerr?
Cyph0n··on What I Self-Host
Single instance works fine, but a separate instance allows you to set global quality settings that are more accurate for anime: https://trash-guides.info/Sonarr/Sonarr-Quality-Settings-Fil...
Cyph0n··on What I self-host
“Even better” is relative. Some people like having media stored locally instead of relying on torrent streaming availability.

Usenet streaming sounds cool, but with releases being DMCAd so frequently, I don’t see how it would be practical for anything but the most recent content.

Also, I imagine that Stremio without Debrid (or equivalent) is kind of a terrible experience most of the time.

Cyph0n··on What I Self-Host
Yes. NixOS running Podman containers is where I ended up after trying almost everything :)
Cyph0n··on What I self-host
Indeed. The other thing to point out is that, once you have set them up, they will chug along fine for years with near zero input.

Here is the stack I recommend:

* Radarr (movies) with optional second instance for 4K versions

* Sonarr (shows) with optional second instance for 4K versions

* Sonarr (anime), separate instance to have control over quality settings

* Prowlarr (tracker/indexer management)

* SABnzbd (Usenet)

* qBittorrent (torrents)

I would also recommend consulting the TRaSH guide to tune your setup and ensure you’re grabbing quality releases. From there, the next logical step is Profilarr :)

Cyph0n··on Container ship sinks in Strait of Hormuz as Iran steps up attacks
No, I got your point.

Ultimately, when international law devolves into “might is right”, expect your adversaries to apply the concept as well. Iran has always been the de facto operator of the strait (by fact of being the strongest regional power bordering the strait), and this will remain going forward. Nitpicking how and why Iran is doing this is not going to change the reality on the ground. It is better to spend energy on preventing wars of aggression of this nature from reoccurring :)

So long story short, is it legal for Iran to restrict access to the strait via Omani waters? Nope. Is there a realistic way to prevent it from doing this by force? Also no. Did Iran wake up and decide to arbitrarily take over control of the strait? Absolutely not. Would Iran be willing to revert to pre-war state if their demands are met? Perhaps. Welcome to realpolitik :)

Oh and as far as restricting access via Iranian waters, Iran is mostly adhering to IL because it hasn’t ratified UNCLOS.

> For the record, Oman signed the No Fees/No Tolls pledge with the rest of the EU literally two days ago.

Thanks for the link, but is this pledge binding in any way, or is it just a symbolic gesture? Because my impression so far has been that Oman is willing to play ball.

Cyph0n··on Container ship sinks in Strait of Hormuz as Iran steps up attacks
Because, given the context of the discussion and the flow of back and forth (for/against Iran’s move on the strait), then the parent is most likely using Oman’s role as a roundabout “look how Iran isn’t respecting international law” rather than a legitimate concern for Oman.

But if you want an answer to the same question but posed with legitimate curiosity, the answer is Oman is OK with this arrangement :)

Cyph0n··on Container ship sinks in Strait of Hormuz as Iran steps up attacks
When you do things like assassinate a head of state at home along with this daughter and grandchild, double-tap strike a school because AI told you so, and sink a navy show ship at sea without waiting to rescue survivors, you can’t then cry about international law and norms of sea navigation.
Cyph0n··on Container ship sinks in Strait of Hormuz as Iran steps up attacks
FAFO in action. They can hope and dream for another outcome, but this is the best they’ll get.
Cyph0n··on A plea not to use uv-build
Or adopt the Nix approach of caching common binary artifacts in a content addressable store and rebuild from source only when needed.
Cyph0n··on Apple HomeView
Give us a Home Assistant integration and watch these sell like hotcakes :)
Cyph0n··on Nix wrote half of my debugger
As far as I can tell, that is only one piece of the puzzle. I think the bulk of the work is on the hypervisor side (KVM) to eliminate/stub out sources of randomness in HW, patch out RDRAND, etc
Cyph0n··on Codex CLI installs a persistent, self-updating background daemon by default
Nix/NixOS takes it a step further and makes you have to go out of the way to enable self-updating behavior when packaging something :)
Page 1 of 34Next →