HNHacker News
TopNewBestAskShowJobs

domenkozar

862 karma · joined July 17, 2019

submissionscomments
domenkozar··on Omacom Foundation launches with $8M
macOS is finally getting some serious competition with an open platform!
domenkozar··on Buy Your Friends Batteries
You plug it into a socket.
domenkozar··on Buy Your Friends Batteries
That's step one, next is your friends.
domenkozar··on Buy Your Friends Batteries
Let's go!
domenkozar··on Buy Your Friends Batteries
This battery uses a safer type of lithium chemistry that is less prone to overheating, though no large battery is risk-free. Water is used by firefighters to cool battery fires (they can reignite tho).

Install it outdoors or in a detached garage, away from anything flammable. Never in a bedroom, hallway, or escape route.

There are newer batteries tech that can't inflame.

domenkozar··on Nixpkgs-multiverse: every version that ever existed
I got really excited when Farid showed me this!

He has fixed the oldest and most upvoted issue on devenv: https://github.com/cachix/devenv/issues/16

Basic example in devenv:

  { multiverse, ... }: {
    packages = [
      multiverse.cmake."3.16.5"
      multiverse.bun."0.7.0"
    ];
  }
Docs: https://devenv.sh/pinning/#pinning-an-individual-package-ver...
domenkozar··on The Nixpkgs core team has disbanded
Because people who do good work get attacked left and right and noone steps up.
domenkozar··on Where .env Went Wrong
https://x.com/NoeticsTech/status/2071136897985138897

https://x.com/0xPrajwal_/status/2084163731534311627

https://x.com/nilbuild/status/2084339074639200488

The issue is that agents need structure and context.

domenkozar··on Where .env Went Wrong
fnox is mostly a copy of secretspec (and it's good to have one!), so you'll find the same kind of support in both. I wish instead we'd collaborate with Jeff, but oh well.

The difference is that we're providing an interface for applications to build with, with 8 SDKs available so you can have first-class support for secrets whatever you're bulding. I do hope fnox copies that too!

domenkozar··on Where .env Went Wrong
Don't take the black pill <3
domenkozar··on Where .env Went Wrong
<3
domenkozar··on Where .env Went Wrong
Two things:

- Secrets don't belong in config https://secretspec.dev/blog/secrets-dont-belong-in-config/

- You want to have flexibility of choosing between any secrets provider: https://secretspec.dev/blog/but-i-use-sops/

domenkozar··on After 7 years in production, Scarf has reluctantly moved away from Haskell
Rust, mostly because:

- haskell exceptions and laziness are devastating for production

- too small ecosystem, had to write 10+ SDKs (now with AI that's less of an issue)

- haskell ecosystem is too fragmented due to prima donna prevalence

domenkozar··on After 7 years in production, Scarf has reluctantly moved away from Haskell
We at Cachix have also moved on from Haskell about two years ago and I'm sure someone is going to make a comeback with a language that takes the lessons from it but starts from skratch.

We need more general purpose Elm languages in the space.

domenkozar··on Devenv 2.0: A Fresh Interface to Nix
We see project specific environments superior to having global packages installed.

You can do things like creating ad-hoc environments:

$ devenv -O languages.rust.enable:true shell

Once you teach your coding agent to use it, it will just use it to get packages if needs any: https://devenv.sh/integrations/claude-code/#global-configura...

domenkozar··on Discord will require a face scan or ID for full access next month
We're going to see more social networks struggle and something like world.org or similar that protects privacy is needed.
domenkozar··on GitHub Actions has a package manager, and it might be the worst
What if GitHub Actions were local-first and built using Nix (proper locking)?

https://github.com/cachix/cloud.devenv.sh

domenkozar··on Zed is our office
You guys need to figure out how to create Slack shared channels in Zed and we're all switching until they won't be needed anymore.
domenkozar··on Fnox, a secret manager that pairs well with mise
Look at the problem statement, it's exactly the same. When I designed secretspec, I researched the space and no other tool approached secrets in such a way.

Syntax of toml is almost identical, the CLI as well.

It even has the same vocabulary.

I didn't dig deeper though, but I'd be surprised not to find more :)

domenkozar··on Devenv 1.9: Scaling Nix projects using modules and profiles
I'm really excited about what teams will build using profiles, they enable all kinds of cool things.
domenkozar··on Closing the Nix gap: From environments to packaged applications for rust
We're aiming to take Nix to its most simple form, while devbox uses json for configuration.

Think of devenv as systemd of developer environments.

domenkozar··on Closing the Nix gap: From environments to packaged applications for rust
Yes, it does vendor all the crates to Nix store.

It results into speed up in a way that if your application doesn't change, you'll just get the binary package.

That's why the two interfaces are exposed: one for development feedback cycle and one for distribution.

domenkozar··on SecretSpec: Declarative Secrets Management
I'll reply, even though I don't like the tone the first sentance sets :)

I'm not sure exactly what parts of the comment are about secrets rather than how infrastructure should be done, but I see that secrets and configuration have very different lifetimes so they should be provisioned separately. The config can for example be in the git if it's free of secrets.

Secrets are provisioned at runtime, while config is build time.

`secretspec.toml` is in the version control and it tells you all about what's going to happen at runtime.

domenkozar··on SecretSpec: Declarative Secrets Management
I'm not advocating that different locations of secrets IS something we want, but rather it IS the sad state of reality.

By having a secrets specification we can start working towards a future that will consolidate these providers and allow teams to centralize it if needed, by having simple means of migrating from a mess into a central system.

domenkozar··on SecretSpec: Declarative Secrets Management
The example is more of a way to show how to keep backwards compatibility and migration to secretspec.

We hope that one day github actions would integrate secretspec more tightly, leaving aside using environment variables as a transport.

That's going to be a long journey, one worth striving for.

domenkozar··on SecretSpec: Declarative Secrets Management
I hope that this will be one of the tools that allow that transition to happen those who'd like to migrate from LastPass :)
domenkozar··on Devenv 1.6: Extensible Ad-Hoc Nix Environments
We've removed telemetry a long time ago, see https://github.com/cachix/devenv/issues/1733
domenkozar··on Stripe's Monorepo Developer Environment
We've been building https://devenv.sh for that reason, I expect more companies to go back to local development once they see DX has improved locally.
domenkozar··on The Overengineered Resume with Zola, JSON Resume, Weasyprint, and Nix (2023)
It would be bring less complexity using https://devenv.sh/ to provide the tooling :-)
domenkozar··on Fast, Declarative, Reproduble and Composable Developer Environments Using Nix
That was a mistake, for some reason it left a thumbs down instead of thumbs up.
Page 1 of 4Next →