Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bbkane
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
181.
▲
by
bbkane
1y ago
They should call it "the social recession". Just in the past couple of weeks we've met some neighbors with toddlers that enjoy our toddler. It's been SUPER nice being able to hanf out with the adults while the kids enter
182.
▲
Show HN: Enventory: Centrally manage environment variables with SQLite
(github.com)
1 points
by
bbkane
1y ago
|
0 comments
183.
▲
by
bbkane
1y ago
I've been using the modernc driver for a few years in https://github.com/bbkane/enventory . It's worked perfectly with no drama. Combined with https://sqlc.dev/ , I've been very happy wri
184.
▲
by
bbkane
1y ago
Unfortunately (assuming you love with your partner), this takes relational work as much as actual cleaning work. If one of you lived in a larger house previously or maybe you have food insecurity or maybe you attach sentimental value to thi
185.
▲
by
bbkane
1y ago
See my comment above, but I'm in the same boat. Linux definitely has problems that need to be solved, but unlike Windows its less likely to "change underneath me" once I've solved those problems to my satisfaction. In fa
186.
▲
by
bbkane
1y ago
I switched my primary desktop to Debian XFCE a year ago. Took me a while to "distro shop" and install NVIDIA drivers and set my keyboard shortcuts, but now that everything works it keeps chugging along with no drama. I turn my PC
187.
▲
by
bbkane
1y ago
"optimized for change" really only works well if you can predict the incoming changes. Common tools used for this "optimization" often raise the complexity and lower the performance of the system. For example, a db with
188.
▲
by
bbkane
1y ago
For personal stuff I ended up with https://mytasksapp.com/ It's simple enough for me to understand but has the following features I want: nice simple UI where I can add stuff without too many clicks syncs between phone
189.
▲
by
bbkane
1y ago
I really like the way Elm does it, from "wide" (package) to "narrow" (symbol). I suspect this also helps language server implementation. See https://guide.elm-lang.org/webapps/modules (scroll down t
190.
▲
by
bbkane
1y ago
People do! See: https://pixi.carapace.sh/ or https://github.com/withfig/autocomplete It's still a hard problem as lots of tools format --help differently. One of the things I'm jealous in Pow
191.
▲
by
bbkane
1y ago
I repeat the different variations of the same command so often that I get a large quality of life improvement by making that easier- that's why I take the trouble to install zsh.
192.
▲
by
bbkane
1y ago
Thanks for sharing! I hope to incorporate your bash completion ideas into my CLIs (I've already got zsh completions). Instead of sourcing the zsh completion script on every startup, you can install it into somewhere on $fpath and zsh w
193.
▲
by
bbkane
1y ago
I'd say Dart/Flutter is as well
194.
▲
by
bbkane
1y ago
Maybe I'm drinking the sqlc Kool aid, but because I'm already using migration files, setting up the config to point to them and a folder of SQL queries was pretty painless. And of course now that I have it, the incremental cost of
195.
▲
by
bbkane
1y ago
That's how I'm using it as well (though I'm using some simple migration code instead of a framework): https://github.com/bbkane/enventory/tree/master/app/sqliteco... I've been qu
196.
▲
by
bbkane
1y ago
I'm instrumenting my CLIs with OTEL traces and working on usefully visualizing the JSON output. Fun so far!
197.
▲
by
bbkane
1y ago
I've actually settled more on the opposite approach - my tool usage changes enough that I generally only care to configure the latest subset of tools when I get a new PC, and of course the others are there if I need them. To that end,
198.
▲
by
bbkane
1y ago
The most important thing is consistency. I've become a huge fan of deferring tabs vs. spaces debates to an autoformatter. Set it; forget it; argue about something else. This is most useful when applied ecosystem wide - no one in the Go
199.
▲
by
bbkane
1y ago
I was doing this and used it for a year in https://github.com/bbkane/warg/ , but ripped it out since Go auto-casts underlying types to derived types in function calls: Type userID int64 func Work(u userI
200.
▲
by
bbkane
1y ago
I'm definitely not an expert, but I configure zsh manually with those fzf and "ghost text". I took some notes in my repo, just copy the relevant portions if you actually want to try this: https://github.com/bb
201.
▲
by
bbkane
1y ago
I think it would be more of a Redis situation - steward changes the license, someone large enough to maintain a fork creates one, and everyone moves to the fork. In Redis's case, Amazon forked it into Valkey. Spring is so widely used t
202.
▲
by
bbkane
1y ago
I've been lucky enough to not need Python in a perf-sensitive project
203.
▲
by
bbkane
1y ago
Thanks for the reasons! I've been using f-strings because they're easy to keep track of, but you make really good arguments (I hadn't thought of Sentry/similar systems using %s to aggregate logs)
204.
▲
by
bbkane
1y ago
I think that's true until it isn't, and people are really rallying around uv. Here's to hoping it manages to actually solve the Python packagig issue (and lots of people are saying it already has for their use cases)!
205.
▲
by
bbkane
1y ago
Yes I really wish for something like Django for a statically typed language (maybe Spring? Haven't tried it). I'm writing a CRUD CLI ( https://github.com/bbkane/enventory/ ) partly to practice doing it i
206.
▲
by
bbkane
1y ago
Could you elaborate on the choices you'd like revisited?
207.
▲
by
bbkane
1y ago
I'm trying to go the other way with my (simple) web apps- writing them so I don't have to rewrite them later. The whole UI is basically a form and a table, so I figured I should try. For me that means Go + stdlib HTML templates (I
208.
▲
by
bbkane
1y ago
I always get the most joy out of writing these "smaller" tools
209.
▲
by
bbkane
1y ago
Thanks for posting! I'd love a YouTube video too if you get the time later
210.
▲
by
bbkane
1y ago
By Microsoft's loss and gamers' gain I mean that Linux used to be nonviable to play games, but Valve put a lot of effort into making games work on Linux (and continues to do so). They saw (and maybe still see?) Microsoft as a thre
More ›