News for hackers. Stuff that matters.

cinaboniver

Re:NixOS is making me less afraid on Tuesday October 20, 2026 @10:40AM (#50167161)
Not op, but I have a similar setup. I declare systemd services and timers as Nix config to run a restic backup every night.

https://github.com/NixOS/nixpkgs/blob/nixos-26.05/nixos/modu...

Ask HN: What is your experience developing apps to work with Bluetooth?

What issues did you run into? Were you able to find open source libraries to take away some of the grunt work? How deep did you have to dig into the bluetooth stack?For context, I'm working on a side project that involves a game written in Unity that will need to talk to devices over Bluetooth LE (and ant+). What I've found is incredibly disheartening so far. I want the game to be...

( Read More... | no comments | on HN )
Re:JSON Schema bundling formalised on Saturday September 11, 2021 @01:49AM (#28489699)
To be clear, I don’t have a lot of experience with JSON schema, but recently I found myself needing to validate Azure ARM templates using json schema, and my god is the Microsoft provided schema insane. Go look for yourself: https://schema.management.azure.com/schemas/2019-04-01/deplo...

That’s the root schema definition, but there are many, many references within, and they go deep. I tried using the bundling tool mentioned in the article to bundle all the references schemas and it came out to 25MB, minified. But if you don’t bundle, then you are right, your tool has to crawl the document and make many more http calls to deref everything. It’s so frustrating to work with.

I live within 15 miles of the main Microsoft campus in Redmond and only have access to shitty DSL. Microsoft has always taken the bet that everyone in the future will have access to high speed internet, but without ever raising a finger to make sure that future actually happens.