Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rgoulter
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
62 ms
·
601.
▲
by
rgoulter
4y ago
Also: Slack allows for both private group channels, and public group channels. - If you post in a public group channel, then others who may face the same problem (maybe months later) will be able to benefit from you asking the question.
602.
▲
by
rgoulter
4y ago
"CI/CD" tends to be associated with "building/deploying the software from a fresh environment". e.g. Aim to reduce mistakes of "I forgot to check these important files into the code repository". Some
603.
▲
by
rgoulter
4y ago
> Then we just have to tackle resisting the urge to copy&paste `workstation$ curl -sSL https://randomwebsite.weonlyjustlearnedof/something-shiny | sh`. The argument that goes around about "don't pipe curl i
604.
▲
by
rgoulter
4y ago
I'd also be curious about the other jailbreaking attempts. e.g. https://news.ycombinator.com/item?id=33832502 My Twitter feed has been full of people manipulating GPT to say things it's not supposed to say.
605.
▲
by
rgoulter
4y ago
Right; protesting like that after losing does look bad. As well, forfeiting from a round-robin tournament for anything less than health reasons is (afaict) unprecedented at that level. On the other hand, protesting to make a statement is mu
606.
▲
by
rgoulter
4y ago
"Online chess", and "online chess for money " aren't the same either. I'd say the "for money"/not, vs "online"/not is a more significant factor. I mean, if someone shows they'
607.
▲
by
rgoulter
4y ago
Sure, but I wouldn't describe the situation as: "Hans beat the world champion; the world champion then accused him of cheating and forfeited from the tournament. ... No evidence of his cheating has been found. chess.com later rele
608.
▲
by
rgoulter
4y ago
Distinguishing two claims: 1. Hans Niemann is a cheater. 2. Hans Niemann defeated Magnus Carlsen by cheating in an over the board tournament. I think claim (1) is well substantiated by chess.com's report. There's no concrete evide
609.
▲
by
rgoulter
4y ago
> have been watching TV shows with fictional versions of these kind of systems for decades. While clearly there're outstandingly impressive things about GPT, from a casual glance a lot of the GPT stuff seems like a regurgitation of
610.
▲
by
rgoulter
4y ago
Neat, though I hope I helped your curiosity regarding why people find flakes useful. With home-manager, you can declare a flake configuration where home-manager is an input; and then applying the configuration is pretty hands-off since Nix
611.
▲
by
rgoulter
4y ago
One thing flakes enable is "easily run some other source". e.g. to run the latest build of Nix from the GitHub repository NixOS/nix on the master branch, it's: nix run github:NixOS/nix/master Or (say) th
612.
▲
by
rgoulter
4y ago
The UX is much nicer with flakes. Flakes provide a consistent entry-point to a set of Nix files (rather than just a hoping that Nix files conform to some convention). Nix flakes also let you get by with even less worry about the system stat
613.
▲
by
rgoulter
4y ago
Docker solves "distributing software is hard" by using container images; so you copy the container image, and running that will work consistently everywhere. Nix solves "distributing software is hard" by ensuring declara
614.
▲
by
rgoulter
4y ago
> A few examples of what you can do right now These examples look neat. I'm reminded of https://nix.dev/ (which, sadly, is pre-flake). > make it easy to create and share Nix and NixOS configurations I could see a
615.
▲
by
rgoulter
4y ago
I particularly enjoyed playing towards the constrained-achievements, such as: "launch the rocket with (near) minimal hand-crafting", or "launch the rocket on non-peaceful, without using solar power".
616.
▲
by
rgoulter
4y ago
I recall another comment on here which explained the duality, along the lines of: - "Factorio feels just like programming ... but without the constraints of having to be reliable, or having to do what other people tell me to" =>
617.
▲
by
rgoulter
4y ago
In terms of addressing "you want to know what your system has got", OP argues Arch is good because Arch will only have what you install. With NixOS, the whole system configuration is declared starting from a single configuration f
618.
▲
by
rgoulter
4y ago
Starship is an excellent prompt, and requires very little effort to set up. I appreciate the details about the current environment it puts in the prompt. e.g. the current git branch, which AWS profile / region is active, etc.
619.
▲
by
rgoulter
4y ago
You can see how it's used in the GitHub actions of devenv: It calls `devenv ci` (which checks that the devenv file is good), then runs a 'script' in the devenv file... https://github.com/cachix/devenv
620.
▲
by
rgoulter
4y ago
Nix is good at solving more problems than containers can solve. Nix is good at "programmatically managing packages". For just the problem of "I want to be able to distribute the same application everywhere", container im
621.
▲
by
rgoulter
4y ago
While it is possible to work with containers to run programs with files on the host, it's just much more convenient to be able to run programs without dealing with mounting issues.
622.
▲
by
rgoulter
4y ago
> it's really difficult to actually lose your work If it's been checked into a commit, sure. But if you discard changes which haven't been checked in, then the work is lost.
623.
▲
by
rgoulter
4y ago
You can take rebase's `--autosquash` and push's `--force-with-lease` from my cold dead hands. :o) Well, I think it's untidy to leave commits like "fix typo" or "PR feedback" in a change request, even if th
624.
▲
by
rgoulter
4y ago
Kinda. I wouldn't be able to tell you too much about the internals of VSCode. The 'trouble' with git is, though, that what happens when you run the wrong command can vary from "easy to fix" all the way to "you
625.
▲
by
rgoulter
4y ago
This took me from "add/commit/push, and pull" to being able to do rebases: https://learngitbranching.js.org/
626.
▲
by
rgoulter
4y ago
Taking time to consider things is good; but that doesn't mean you're better off with slow tools. If developing has some loop like "consider -> implement -> evaluate", then the quicker you can implement it, the more
627.
▲
by
rgoulter
4y ago
One of the most popular NixOS configs on GitHub does this https://github.com/mitchellh/nixos-config The README describes the experience, though the author takes the approach of using the VM mainly for terminal-based st
628.
▲
by
rgoulter
4y ago
Yes and no. I mean, I think this is absolutely the killer feature of Nix (even above the more accessible asdf, since Nix will also provide native libraries); it's really nice to get a development environment which will Just Work. (OP
629.
▲
by
rgoulter
4y ago
I'm less optimistic about whether phrasing helps. The message is not the meta-message. The reason the examples in OP of 'just do...' irk is because the 'just do...' supposes to be helpful, but any sincere thought gi
630.
▲
by
rgoulter
4y ago
Ahhh, I should have recognised it; it's used in this Melodysheep remix: https://www.youtube.com/watch?v=1ZxGtvpp49M
More ›