Readit News logoReadit News
dayjah commented on Helix: A post-modern text editor   helix-editor.com/... · Posted by u/doener
bayesianbot · 9 days ago
Tried it again few days ago. I kinda get that currently you can only use AI on Helix through LSP, but on top of that it does not have auto-refreshing files when changed outside - makes it really hard to work with external AIs, as I'm just constantly worrying if I'm editing a stale file.
dayjah · 8 days ago
I was feeling this pain also; so I switched my workflow to watching file changes with lazygit, and then switching to helix to make small tweaks.

Another option you may want to try is mux (github.com/coder/mux). It wraps the LLM in a nice interface which has the ability to do line/block comments on changes by the LLM that then goes goes into your next prompt. It’s very early stage though: v0.19.0.

dayjah commented on Singapore study links heavy infant screen time to teen anxiety   bloomberg.com/news/articl... · Posted by u/1vuio0pswjnm7
phainopepla2 · 2 months ago
The other patrons are being polite. Very few people love a toddler running riot while they're eating out
dayjah · 2 months ago
I suppose that would depend on the restaurant / patron.

For example, in Texas there are loads of TexMex restaurants and Hispanic cultures actually embrace children as part of the environment vs Western European cultures (which I was raised in) which don’t so much.

As I said: horses for courses.

dayjah commented on Singapore study links heavy infant screen time to teen anxiety   bloomberg.com/news/articl... · Posted by u/1vuio0pswjnm7
everdrive · 2 months ago
> You’re at a restaurant and your toddler is trying to run away and generally make a mess out of everything

I don't think toddlers should be at most restaurants. I have a toddler and a 7 month old. I'm not even saying that for the sake of the other patrons. There's really nothing fun whatsoever about being at restaurant with your toddler. We don't even have bad outcomes, but you're sort of trapped in your seat, it's messy, it's expensive, and you're constantly keeping your toddler in line.

Restaurant food is really not so good as to overcome those issues.

dayjah · 2 months ago
Horses for courses. Our we let our 2yo run riot at restaurants while we enjoy our food. It was an adaptation for my wife, for sure. I love it and best I can tell other patrons and staff love how comfortable our daughter is in the environment.
dayjah commented on Ask HN: How can I get better at using AI for programming?    · Posted by u/lemonlime227
epolanski · 3 months ago
> If there is anything Claude tends to repeatedly get wrong, not understand, or spend lots of tokens on, put it in your CLAUDE.md. Claude automatically reads this file and it’s a great way to avoid repeating yourself.

Sure, for 4/5 interactions then will ignore those completely :)

Try for yourself: add to CLAUDE.md an instruction to always refer to you as Mr. bcherny and it will stop very soon. Coincidentally at that point also loses tracks of all the other instructions.

dayjah · 3 months ago
The Attention algo does that, it has a recency bias. Your observation is not necessarily indicative of Claude not loading CLAUDE.md.

I think you may be observing context rot? How many back and forths are you into when you notice this?

dayjah commented on NixOS 25.11 released   nixos.org/blog/announceme... · Posted by u/trulyrandom
viraptor · 3 months ago
But did that happen while updating from the same stable channel? I get things could change when switching releases.
dayjah · 3 months ago
Pretty sure I just ran a nix flake update.

Here are the links from my journal:

This went into nixpkgs: https://github.com/NixOS/nixpkgs/pull/376988

Which then changed the api between and broke this: https://github.com/LnL7/nix-darwin/blob/master/modules/nix/n...

The fix took a few hours, I happened to be one of the first folks bit by it: https://github.com/LnL7/nix-darwin/pull/1318

I also have in my notes that Emilazy is a super star: https://github.com/emilazy

Notes on how I worked around it for the time it was broken:

> To work around it on myside I tried various things. Fundamentally I rolled back to nixpkgs-24.11-darwin which needed corresponding changes to nix-darwin (nix-darwin-24.11) and home-manager (release-24.11) to get everything working.

dayjah commented on NixOS 25.11 released   nixos.org/blog/announceme... · Posted by u/trulyrandom
sestep · 3 months ago
Could you clarify what you mean regarding Zed? I checked just now and it looks like Nixpkgs had the latest version 0.214.7 within 24 hours of its release: https://github.com/NixOS/nixpkgs/pull/466449
dayjah · 3 months ago
That’s great to know! There are plenty of issues which are reasonably well documented in the zed repo.

https://github.com/zed-industries/zed/issues/26277

About 4mos ago I moved to using brew for zed because at the time there was some hard block on updating rustc in nixpkgs-stable to a version which included some feature that zed relied upon.

dayjah commented on NixOS 25.11 released   nixos.org/blog/announceme... · Posted by u/trulyrandom
xyzzy_plugh · 3 months ago
I'm not conflicted. Nothing compares to nix. I've been using it on macOS, for Linux hosts, for years now, and it's been incredibly rock solid. I stopped using homebrew years ago and I couldn't be happier about that.

> Consistently through the 25.05 period nix-darwin and nixpkgs would fall out of sync. I learned not to `nix flake update` too often as a result.

I find using a singular nixpkgs version is almost always a recipe for things breaking if you are on unstable. I usually end up juggling multiple nixpkg versions, for example you might want to pin the input to nix-darwin separately.

This is squarely a nixpkgs problem. It's the largest most active package repository known to man. I am pretty sure GitHub has special-cased infrastructure just for it to even function. Things are much more stable in release branches. If that causes you pain because you want the latest and greatest, it's worth considering that you'd experience the same problem with other package repositories (e.g. Debian), and then asking yourself what it is you are actually trying to accomplish. There's a reason they call it unstable.

> but if you squint and reason that mise and nix solve the same issue, why not use the less opinionated, easier to reason about mise?

If mise works for you then great, use it. When I squint and reason, they do not solve the same issue. I don't know how you come to the same conclusion either. Why are you using nix-darwin at all? What is the overlap between nix-darwin and mise? I don't see it.

If all you want is dev environments, I recommend flox.

At the end of the day I'll continue using nix, and especially nix-darwin, _solely_ because it let me set up a new machine in under 5 minutes and hit the ground running. Nothing else compares.

dayjah · 3 months ago
This is all great feedback, thanks!

I got here through devenv, I was fully bought in on its proposal and once I found its edges I started peeking under the covers to understand how it worked.

At that point I was pretty deep in mise for everything that wasn’t using devenv. This perhaps help frame why I see them solving the same problem.

I definitely had my “aha!” and ditched mise because nix seemed it had solved my problems. But now, in a new gig, I’m running into lots of edge cases that mise could solve at the drop of a hat and nix (/ my poor understanding of the fundamentals) struggles with.

So, with that all said, I suppose my point is that you get a lot of overlap between the two, and mise is easier to use and get buy-in on. There are certainly elements I find appealing about nix which mise doesn’t touch (promise of repeatable builds, the entire package ecosystem, etc), however.

dayjah commented on NixOS 25.11 released   nixos.org/blog/announceme... · Posted by u/trulyrandom
tstrimple · 3 months ago
I've only barely used Nix on OSX to manage packages and I thought it felt awkward at the time. But I had also barely used NixOS at that time. Today I'm happily running NixOS on my NAS and my "gaming" desktop. My son is running it for his desktop as well. What feels awkward and fragile on OSX is far more stable on NixOS. But you do have to learn some of the Nix syntax and ways of doing things which it sounds like you're already getting some of on OSX. The reason I'm going to use it on OSX again is mostly to get consistent HOME configuration and tooling across all of my devices. I'll manage my OSX home dir and tools with the exact same file across multiple computers.
dayjah · 3 months ago
My principle of adoption was essentially this but in reverse; use it on the system I use the most (macOS), learn, and then use my niche knowledge to apply it to less frequently used computers like my gaming rig.

Along the way I acquired enough talent that use at work seemed reasonable.

As time has gone on, however, I have found things like the stringent need for everything to be built results in archaic packages versions in nixpkgs, etc., while core waits to bump the rustc version. Thus my return to using brew for almost everything albeit managed via nix-homebrew.

Case in point: I use zed, which relies on cutting edge rust features, which nix cannot deploy because of stability concerns. Everyone is right in this situation, but that left me with an archaic version of zed until I moved to the homebrew version.

dayjah commented on NixOS 25.11 released   nixos.org/blog/announceme... · Posted by u/trulyrandom
viraptor · 3 months ago
> period nix-darwin and nixpkgs would fall out of sync

What do you mean? Those should be fairly independent in practice.

dayjah · 3 months ago
In practice nix-darwin relies on being a drop in, which means maintaining compatibility with api surface which in the proper nixpkgs world is a closed loop. There are several cases of this breaking since 2020 or so.

u/dayjah

KarmaCake day916February 20, 2007
About
meh.
View Original