88 karma · joined May 5, 2014 (12y ago) · 52 submissions
2.
Show HN: Hardbar – compile-time defined i3bar(github.com ↗)
2 points · by pjz · 5mo ago · discuss
comment 1y ago · link · parent
This was the problem I wanted to solve, and I ended up on nix+direnv (and am considering devenv) because nix, due to the existence of nixos, packages all the tools already! Does Mise support zig? or nim? or crystal? Nix does! And Nix will continue to keep up to date with all the tools, whereas things like asdf and mise - since they're specialized and not the basis of a full distro - are less likely to do so.
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
That said, since they're numbers, we should use the most efficient checks for them... which are likely vectorized SIMD assembly instructions particular to your hardware. And which I've seen no one mention.
comment 1y ago · link · parent
...why just two? He specifically mentioned advocating for ranked choice voting, which would make it a tug-of-war between N coalitions, and would lead to better outcomes that our current broken two-party system.
comment 2y ago · link · parent
If you were using 2-byte ints, this is likely because cache lines are 64 bytes, so 32 entries would be exactly one cache line, letting each cache line hold an entire bucket, thus reducing those expensive main memory transfers.
comment 2y ago · link · parent
comment 2y ago · link · parent
Look into remote controls for, say, Kodi. You're sure to find the wiki listing a bunch of ways to control Kodi from your couch, which includes bluetooth remotes of various flavors that should meet your needs.
re: zigbee being underused: ...they're expensive. I don't know if it's licensing or what, but zigbee SoCs are 5-10x the cost of, say, an ESP32 wifi SoC. $10ish each vs $1.25 ea at a quick glance.comment 3y ago · link · parent
The function to do the same for a byte is... what? 3 or 4 lines long in C? I guess it takes a couple of temp variables, though, which may dissuade some devs.
comment 3y ago · link · parent
comment 3y ago · link · parent
* keybinds - why is it impossible to remap anything with their special meta key? * task switching - alt-tab/cmd-tab/whatever treats full-screen apps different than non-fs apps, unless you find and install an app to fix just this one thing * WM - I'm a tiling wm fan, and nothing came close to the usability of i3 * docker - x86 docker hosts are defacto standard and it's a pain to double/multi build every container for M1 as well as x86
I'd complain about the keyboard but I mostly use an external one so no big deal.
Linux support on the latest Dell hasn't been all roses; the wifi is still only about 80-90% stable after long (12+) hours of inactivity, and the touchpad driver spammed interrupts or something enough to crash the kernel (but the touchscreen driver is pretty stable, so I just disabled the touchpad).
Still, I can get a lot more done when I'm in control.
comment 4y ago · link · parent
I use thunderbird for most of my email reading, and MHI for searching and scripting. I set up a cron job on an always-up machine that does periodic auto-refiling for me; it's not quite 'on receipt' actions, but it's still handy.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
I didn't know about `git config --local status.showUntrackedFiles no` so I just put '/*' into .home.git/info/exclude, and then of course tracked that in itself by adding '!/.home.git/info/exclude' in there too.
It's been amazingly useful when acquiring a new laptop, or wanting to quickly set up a comfortable environment on remote machines.
Interestingly, I got it from a Stackoverflow answer (https://stackoverflow.com/a/27336975/8002) and not the atlassian tutorial you listed.