Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bbkane
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
301.
▲
by
bbkane
2y ago
I think there's plenty of fun left in the standard if they remove this :)
302.
▲
by
bbkane
2y ago
I'm writing something similar for Go: passed flags override env vars, which override the config file, which overrides defaults set in the code. With 4(!) sources of configuration to keep track of, I've also made --help print out c
303.
▲
by
bbkane
2y ago
Coming from Python, and now mostly developing in Go, the uniform style in Go has really helped me familiarize myself with new codebases, especially in contrast with Python's variety of styles.
304.
▲
by
bbkane
2y ago
I've been doing this, but on my personal blog ( https://www.bbkane.com/recipes/ ). I'm really glad I got to get some of these from my grandma before she passed, and it's been a huge hit to just send a li
305.
▲
by
bbkane
2y ago
Sounds a lot like https://dagger.io/ . Maybe you can take some inspiration from them
306.
▲
by
bbkane
2y ago
On the other hand, if you're looking for a side project, writing your own flag parsing library is a lot of fun! I've been sinking time into mine for a few years and it's always really satisfying to use in my CLIs
307.
▲
by
bbkane
2y ago
Your accounts ARE the tests!!
308.
▲
by
bbkane
2y ago
Thanks for the Elmcraft FAQ link. It's a great succinct explanation from the Elm leadership perspective (though tellingly not from the Elm leadership). I feel like I understand that perspective, but I also don't think I'm wro
309.
▲
by
bbkane
2y ago
Be the change you want to see?
310.
▲
by
bbkane
2y ago
I think Elm is a fantastic "simplified Haskell" with pretty good beginner-friendly guides. It's unfortunate that Elm is mostly tied to the frontend and has been effectively abandoned for the last couple of years. Interestingl
311.
▲
by
bbkane
2y ago
Oh man I've gotten a few PR reviews that, in addition to really great feedback about correctness and performance, also include "remove this single blank line" comments for code that was already autoformatted. I'm trying
312.
▲
by
bbkane
2y ago
Do you have any favorite myths or histories you could link to? I'm under-exposed to a lot of culture I'm slowly learning about as an adult haha.
313.
▲
by
bbkane
2y ago
Do you have any favorite non-leaky abstractions?
314.
▲
by
bbkane
2y ago
Most of the bleeding edge stuff I want is in a Flatpack or Homebrew. It's definitely not ideal to have 3 separate ways to acquire software, but in practice I haven't run into many issues (Homebrew works surprisingly well on Linux!
315.
▲
by
bbkane
2y ago
It seems like they all have DIFFERENT autocomplete scripts, some of which subshell out to the tool being completed to generate further completions.
316.
▲
by
bbkane
2y ago
Working on generating zsh tab autocompletion for my CLI framework. I'm finding it difficult because zsh makes completion surprisingly complicated and the zsh docs have a lot more descriptions than examples. Other CLI frameworks all see
317.
▲
by
bbkane
2y ago
This is also why I design all my config files to use YAML. I've already got powerful tools to deal with its quirks (JSONSchema, yq, yamllint)
318.
▲
by
bbkane
2y ago
Yes! This is especially powerful when combined with git-xargs to auto-open PRs with the results of the mutation. I wrote about this a little in https://www.bbkane.com/blog/go-project-notes/#scripting-chan... and i
319.
▲
by
bbkane
2y ago
NeoVim also uses Lua and I think nginx does too.
320.
▲
by
bbkane
2y ago
If macos, it's maybe the same issue as https://github.com/wez/wezterm/issues/2669 . There's a config fix there that fixed the lag for me
321.
▲
by
bbkane
2y ago
Yes!! I opened an issue ( https://github.com/wez/wezterm/issues/4917 ), and not only did he answer it and my side question, he merged the two PRs I made to fix it super quickly!
322.
▲
by
bbkane
2y ago
I keep my Wezterm config in a dotfiles repo and I keep notes like this in the README ( https://github.com/bbkane/dotfiles/tree/master/wezterm ), precisely to find them easily later!
323.
▲
by
bbkane
2y ago
If you're going to rewrite large chunks anyway, I'd use Go from the start.
324.
▲
by
bbkane
2y ago
Does C# impose a lot of organization? I've only worked in one C# codebase but it has partial classes everywhere and TONs of abstraction bloat. I found it difficult to reason about the organization.
325.
▲
by
bbkane
2y ago
Thanks for the link, and this model looks really good! I think I can tweak the output to make a nice logo [0] for my project! [0] https://github.com/bbkane/envelope/issues/44
326.
▲
by
bbkane
2y ago
Not a video, but I was enthralled by https://www.dancarlin.com/product/hardcore-history-69-twilig... .
327.
▲
by
bbkane
2y ago
Organizing notes like this is a challenge for me too. Instead, I keep most notes in one file, and split off that file when it becomes too big. I use ripgrep to search my notes and back them up in a Git repo I think the important ideas for m
328.
▲
by
bbkane
2y ago
I really like https://www.beekeeperstudio.io/ for my simple needs (view tables, run/format SQL, edit tables like spreadsheets)
329.
▲
by
bbkane
2y ago
Would you (or your friend) be able to drop any good CUDA learning resources? I'd like to be worth my weight in gold...
330.
▲
by
bbkane
2y ago
Did you mean to spell "Product-focussed" with 2 s's?
More ›