I'd appreciate a 'shuffle' button that just re-mixed-up the letters into a different order. I find this keeps me from obsessing on adjacent letter pairs that my eyes/brain lock onto.
HN user
pjz
on a linux box try `man ascii`
uhhh... that's mostly on your browser. The css is at the top and pretty skimpy. If it really bothers you, find a styler extension that will override the CSS to render it more pleasingly.
This seems like it could be an rdf query tool, though offhand I don't know the ref to the right rdf schema.
having to eff around with the crap show of Ruby/Python/Node envs and how every person likes to use different tools for setting those up
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.
Funny, I see it as them choosing not to add another de-facto 'standard' ala https://xkcd.com/927/ .
The practical problem with logging by time is that it's not resource constrained: holding N seconds of logs, even when each line is a bounded size, takes potentially unlimited memory. Logging 'by count' used a bounded amount of memory, and is easy to implement with a fixed size array in memory.
The problem with the 'characters are just numbers' approach is that they're not _just_ numbers.. with the advent of unicode, they're _sequences of numbers_... so bytes thus can mean different things when part of a a sequence than when standalone.
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.
My first thought was that a library was writing fake books to poison LLMs that were using their corpus without their permission, and that someone had developed a tool to identify such books.
The logical endgame of that approach is to have a big tug-of-war between two big coalitions
...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.
Crashing due to lack of a sufficient terminfo is indeed more of a lazydocker problem than a ghostty problem. See the issue above for a workaround.
This is an off-by-one interpretation of the zero-one-infinity rule :)
And why 32 entries? I ran this benchmark with a bunch of different bucket sizes and 32 worked well. I have no idea why that worked out to be the best.
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.
I was just wondering what the author's opinion of Zig's take on C-interop would be.
I hope so; the dump site will surely be found, and the movie will be rescued. I'm reminded of someone digging up a trove of ET cartridges for the Atari 2600 from the dump where they were disposed of.
...right? Anyone remember Pinball Construction Set?
My understanding is that 44.1k is to improve error correction. 44100 == 2^2 * 3^2 * 5^2 * 7^2 ... something about vertices of a hypercube.
Besides the obvious attention play, he might be going for an acquisition play... "Why bother writing our own iMessage for Android when we can just buy this little company that's already done it?" There's obvious issues with that plan, but that doesn't keep delusional founders from being delusional.
re: presentation remote controls:
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.Here's an in-the-wild, long-standing example of a table used for bit reversals: https://gitlab.com/libtiff/libtiff/-/blob/master/libtiff/tif...
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.
Don't you guys watch Mythbusters? https://www.youtube.com/watch?v=Xzw2iBmRsjs (Mythbusters bust 'bull in a china shop stereotype')
Yup. I've used Linux for a couple decades of writing python and Java. I've gone from dwm to wmii to i3. Latest gig gave me an M1 macbook, and I tried to use it... 6mo later I ask for and received a replacement linux box. Reasons?
* 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.
Does IMAP search not give you most of this functionality? I wrote a little mh-like cli for IMAP awhile back (https://github.com/pjz/mhi) that lets me search just fine, though it's admittedly single-folder-at-a-time search. I did make it composable though (eg. `pick` returns a valid message-list`, so I can `scan $(pick from somesender)` or `rmm $(pick from knownspammer)`
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.
I use etckeeper for this, along with a cron entry to put the currently-installed set of packages into a file (/etc/packages.installed). Thus rebuilding becomes: base-install, pull /etc, reinstall-packages, re-checkout /etc.
If the emphasis is on the the interaction between the protagonist and the new environment, I've also heard it called a 'fish out of water story'.
My understanding is that while it used to be true that manual transmissions were more efficient due to humans keeping the engine in the torque sweet spot, it's no longer true since automatics can have so many more gears than manuals. And that's not even considering something like a CVT, which I understand can be even more efficient.
I worked at a place where we had an open dev/support slot for multiple months to cope with increased load due to our success. In the meantime we all just did more support and less dev. My suggestion to management that the existing team split the salary of the open rec until it was filled (since we were doing the work anyway) was met with just short of outright laughter.
I've been doing this for a few years now and definitely agree! I use .home.git as my .git-aside name and also named the access alias 'homegit'.
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.
hint: instead of using .gitignore, use .git/info/exclude - then there's no extraneous files in $HOME.
And I agree, symlinks seem like a smell.
Other things (besides time & current inside temp) that a thermostat could (should?) use: sunrise/sunset time, hourly weather forecast, current & projected house power usage, current & projected grid power usage
Note that almost all of those inputs are going to be identical for people in the same area, so as others mentioned building in some jitter is necessary.