HN user

meatcar

32 karma

[ my public key: https://keybase.io/meatcar; my proof: https://keybase.io/meatcar/sigs/PiF66a1RrfzmC6xiweaUb6oEch8l6I5qXqQkIALrIGw ]

Posts0
Comments20
View on HN
No posts found.

What if instead of needing to run a codemod to cache per-lib docs locally, documentation could be distributed alongside a given lib, as a dev dependency, version locked, and accessible locally as plaintext. All docs can be linked in node_modules/.docs (like binaries are in .bin). It would be a sort of collection of manuals.

What a wonderful world that would be.

You can just not hook direnv into your shell, and use `direnv exec` kind of like pipx.

Tools like asdf, direnv, nix-shell, etc. just encapsulate the environment and help set up some guarantees. The referential transparency of shells is something that these tools help enforce, if anything.

I agree that frequent jumping between the fragmented environments is pain point in software development these days. That's due to a lack of tooling to support the new workflow, in my opinion. I hope enough people feel this pain that we see some solutions.

Having an expressive shell like https://starship.rs helps keep you oriented as a sort of HUD. Nix is definitely a life-saver, but you can probably roll your own nix-a-likes. Encapsulate all the "global" precious tools, hardening them against changes in the "local" shell environment. Whether through wrapper scripts, containerization, or what have you, the building blocks are there, the "best practices" are still being created.

Implementing the Conway's Game of Life on a hexagonal grid could be a fun idea. With a slow enough turn clock, you probably don't need a start/stop button, and can just mash a pattern in with one or two hands quickly and see how it evolves. Another plus is that there probably aren't too many famous hexagonal lifeforms, it would be a fun game for all ages.

This is a great reference for starting to work with hexagonal grids: https://www.redblobgames.com/grids/hexagons/

This looks really interesting, I like the focus on developer ergonomics, launching with a fleshed-out tutorial is a nice touch. The deployment story, however, seems to be tied to using Netlify as a hosting platform, which could affect adoption. I understand that that's where the roots of this project lie, are there any plans to decouple Redwood from Netlify to enable the framework to be self-hosted or used with other CI/CDN/FaaS services?

I just want to emphasize that wsltty is the only well-behaving terminal currently available for WSL. It's the only one that supports mouse interaction in a terminal like scrolling/resizing panes in tmux/vim, unlike any Microsoft solution.

If you're using WSL on a regular basis, I highly recommend it. Its a huge quality-of-life improvement.

An Omega boar bristle brush goes for <$10 CAD in my neighbourhood drug store. They also stock Proraso shaving soaps/creams, a container of which lasts me a good 1.5-2 years. Boar bristle brushes require a bit of prep to use, see https://www.reddit.com/r/wicked_edge/wiki/brushes#wiki_boar_.... I just throw it in the sink for a soak before I hop in the shower.

As with most things, it's easy to get sucked in and blow $100s on your setup, but you don't have to. I spent <$50 to get started.

Another solution with similar properties (approximate votes, etc) would involve bloom filters on each post, and the vote counter would only be incremented when a user is not present in the bloom filter, and is immediately added to it.