Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tomberek
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
tomberek
4y ago
Thanks for posting! I am working on this, ask me anything.
92.
▲
by
tomberek
4y ago
Nix is the package manager that works on a multitude of operating systems. Then there was the thought “what if we use this same underlying technology to make a Linux distribution” and “we can manage services in a declarative manner” which b
93.
▲
by
tomberek
4y ago
If something is well-maintained, it is usually pretty easy to make Nix derivation for it. The strict discipline that Nix imposes usually becomes an issue exactly when something is not well maintained or has fundamental issues with how it is
94.
▲
by
tomberek
4y ago
That last proposal is mine! Thanks for the Go implementation, I’ll have to play with it some time. Looks like you’ve built something very close to my intention. Did you come across any additional changes needed to the spec? Any suggestions
95.
▲
by
tomberek
5y ago
I can confidently compile and run multiple incompatible versions of software simultaneously. I can build projects from years ago. I can package large projects from different ecosystems (python 2/3, c/c++, go, Javascript, Octave, R
96.
▲
by
tomberek
5y ago
Is there any interest in a Forth-style approach?
97.
▲
by
tomberek
5y ago
SSE has been extremely useful for my purposes. And the issues with scaling it are similar in nature to scaling and getting a similar feature set out of any solution. But in terms of speed to PoC/MVP nothing has been as easy as SSE. The
98.
▲
by
tomberek
5y ago
Okay. Looks like there is an issue for duplicate profile entries already; just hasn’t gotten attention. https://github.com/NixOS/nix/issues/5587 I’ll take a look. The verbosity of “legacyPackages.x86_64-linux
99.
▲
by
tomberek
5y ago
This is an often unappreciated killer feature in Nix. (perhaps not well explained or documented?) copy runtime requirements: nix copy --to s3://some-bucket ./result copy full build description: nix copy --to s3
100.
▲
by
tomberek
5y ago
That article is merely making the argument that reproducibility on its own does not improve security. This is clearly true. Anyone can also claim that code-signing does not improve security because "well, you have to trust either this
101.
▲
by
tomberek
5y ago
profile removal: Fixed in https://github.com/NixOS/nix/pull/6086 search speed: $ time nix search nixpkgs ripgrep * legacyPackages.x86_64-linux.ripgrep (13.0.0) A utility that combines the usab
102.
▲
by
tomberek
5y ago
Preface: Nix is sometimes difficult because it forces you to be explicit about what you mean. For instance, your example specifies particular versions of end-user packages. Do you want all of them to use the same shared libraries? Do you wa
103.
▲
by
tomberek
5y ago
You can't get rid of all state. The pros/cons of a Nix approach is that it is far more explicit about what is pure/impure. This experience is similar to going from a dynamically typed language to a stronger type system; it ca
104.
▲
by
tomberek
5y ago
Just like any other package manager, this information can be queried without grep. nix-store --query --references /run/current-system # or with new CLI: nix path-info --recursive /run/current-system This info
105.
▲
by
tomberek
5y ago
This is probably the only sane way to proceed when our software has dependency chains more than a few levels deep. Establish mechanisms to try to prevent bloat, but otherwise make it possible upgrade independently and make it starkly appare
106.
▲
by
tomberek
5y ago
Nix seems to be the only approach that has a chance, but having good fundamentals isn’t enough. The effort to improve the UX and usability is underway. I’m working on it; are there use-cases or “blow your socks off” demos that would be comp
107.
▲
by
tomberek
5y ago
Thank you!
108.
▲
by
tomberek
5y ago
At what point do you throw in the towel and just send in-memory representations of SQLite DBs around?
109.
▲
by
tomberek
5y ago
Possible to receive messages using SSE (server-sent events)? I implemented it with a Postgres backend for a project once, but it was not a general solution. SSE provides many niceties for a queue like this.
110.
▲
by
tomberek
5y ago
Another way to address this concern. Nix allows you to specify what you want to do in this case. You can either: 1) Decide you want that patch to be applied to everything, resulting in recompiling the world. 2) Apply the patch for only the
111.
▲
by
tomberek
6y ago
Nix is a powerful package manager. I can confidently compile and run multiple incompatible versions of software simultaneously. I can build projects from years ago. I can package large projects from different ecosystems (python 2/3, c&
112.
▲
by
tomberek
6y ago
Are there any examples of doing training available?
113.
▲
by
tomberek
6y ago
Nix/NixOS for this purpose is very nice.
114.
▲
by
tomberek
6y ago
Question 1: That is a reasonable way to build and install. I normally structure things like this ( https://www.reddit.com/r/NixOS/comments/8tkllx/standard_proj... ) where the Nixpkgs-compatible derivation
115.
▲
by
tomberek
6y ago
Got a project or want some guidance? I can help out.
116.
▲
by
tomberek
6y ago
A fundamental feature I look for in frameworks is an easily accessible "off-ramp". Is it possible to wean yourself away from the dependency? While many front-pages of frameworks tout how easy it is to adopt incrementally, my conce
117.
▲
by
tomberek
6y ago
Yes, but it requires NixOS. This “docker compatibility layer” is about being able to use nix style packaging in environments that expect Docker. Eg: ECS. https://github.com/tomberek/nix-runner
118.
▲
by
tomberek
6y ago
Cross-compiling is finicky in any ecosystem, things like numpy especially so. When working on armv7 projects, I got a few TinkerBoards and ran the builds native. The first one took a while, but i just kept my binary cache up to date and nor
119.
▲
by
tomberek
6y ago
I do have to commend Docker for providing and managing an agreed upon VM for non-Linux users to host all their containers. It's the "killer-feature" that has made it as successful as it is. But underneath it requires a VM (li
120.
▲
by
tomberek
6y ago
Interestingly, sshd WILL magically know to look at /nix/store/efgh5678-my-sshd-config-2.0/etc/ssh_config. Usually you would use sshd as a systemd service (possible to do and manage with Nix in Ubuntu, but why would
More ›