HNHacker News
TopNewBestAskShowJobs

j4cobgarby

118 karma · joined March 6, 2021

submissionscomments
j4cobgarby··on Z80 REPL (2018)
Really nice! Would be fun if there were a few examples that could be loaded into memory
j4cobgarby··on A graphical desktop for the ZX Spectrum
It _does_ look really cool, genuinely, but calling it a "labour of love" and then having AI write the readme/docs seems conflicting.
j4cobgarby··on Show HN: 1667, a terminal UI for writing fiction with language models
I assume the several comments complementing the style of this app are being sarcastic, because.. come on..
j4cobgarby··on Show HN: Paper – A Journaling CLI for Developers
Am I missing something? How is it not open source if I can view the source code at that link?
j4cobgarby··on Lithp.py (~2008)
I agree, it's a really cool way to lay out code with commentary. I wonder if it would be useful to generate a layout like this from code interleaved with comments, moving the comments to the sidebar.
j4cobgarby··on Iroh 1.0
Doesn't it seem odd to have "Pricing" for a protocol that's meant to serve a similar function to IP addresses? Maybe I'm misunderstanding something.
j4cobgarby··on Walking slower? Your ears, not your knees, might be the problem
Are problems with the ear the cause of this (i.e., the Problem), or just another symptom of a broader problem? My impression from the article is the latter.
j4cobgarby··on How Monero’s proof of work works
I never quite understand this stuff, maybe someone can help.

Are cryptocurrencies supposed to be a potential replacement for real life cash? This was my understanding of the motivation behind Bitcoin, at least.

If so, why does it make sense that people can "generate" cash by proving some amount of work done? This of course cannot be done with normal cash.

Is the main functionality of these cryptocurrencies supposed to be "people can send currency to each other", or "people generate currency -- a number -- and sell this currency for real life money"?

j4cobgarby··on Shell Tricks That Make Life Easier (and Save Your Sanity)
More generally, it's alt-#. On an ISO (e.g. UK) keyboard layout, shift-3 isn't a hash.
j4cobgarby··on Offpunk 3.0
This looks interesting! I wanted to find more info about the Gemini protocol, and it's annoying how un-searchable it is now due to Google Gemini.
j4cobgarby··on Decentralizing my smartphone with single purpose devices
Which dumb phone? I would like to try similar, but there are always certain Android apps I need (banking apps like BankID, payment apps). Do you get a "pure" dumb phone and then a separate Android device for when it's required, or a dumb phone which does a little bit of Androiding?
j4cobgarby··on Anciente map of Fairyland. Places from nursery rhymes, fairy tales etc.
Very cool, does anyone know if I can buy a high quality print somewhere?
j4cobgarby··on How to choose colors for your CLI applications (2023)
Use only default (white/black), red for bad, green for good. If you need more than that, like vim or whatever, then maybe a 'fullscreen' TUI is better, with a specified background and foreground. For CLI tools, I'm not sure if I prefer more colours.

The CSS to make the terminals look like iTerm was smooth, to the point I read them as screenshots.

j4cobgarby··on Chuck Klosterman on why we've never actually seen a real football game
It wasn't until he mentioned 'soccer' that I realised football meant American football.
j4cobgarby··on Show HN: Shellock, a real-time CLI flag explainer for fish shell
Playing around with a bit more, I think the tool might not be suitable for my use cases. If I try it with the command `gcc -Wall` it thinks that each of W, a, l, (and l), are separate single-character arguments, and therefore fails badly:

``` > gcc -Wall -W Unknown flag -a Unknown flag -l Search the library named library when linking. (The second alternative with the library as a separate argument is only for POSIX compliance and is not recom... ```

Additionally, it is really slow, I suppose because gcc has a huge man page? It is really useful for lots of small commands like ls and find, and things where I often forget parameters. Maybe it could be changed so that I can whitelist only certain commands to trigger the hints?

j4cobgarby··on Show HN: Shellock, a real-time CLI flag explainer for fish shell
I just tried it out, nice! It's a useful tool, but the installation process didn't work for me following the steps as written. As it stands:

* The shellock directory must be in ~/Downloads, otherwise the shellock_bindings.fish fails to source it.

* The installation script in the repo didn't work because it tried to symlink shellock_bindings.fish without specifying an absolute path (`~/.config/fish/conf.d/shellock_bindings.fish -> ./shellock_bindings.fish`) -> caused a recursive symlink which broke.

Now I got it working by making sure to place shellock in Downloads (not ideal long term, I often clear my Downloads folder), and manually symlinking the bindings explicitly. It seems to work pretty well!

j4cobgarby··on Swapping two blocks of memory inside a larger block, in constant memory
You can also use the XOR trick, not sure what's faster though.
j4cobgarby··on Gastronorm
For what purpose? Baking? Storing things in the fridge?
j4cobgarby··on Reproducible C++ builds by logging Git hashes
Here's a short writeup of a bit of my build system for a project I'm working on. It's pretty simple, and is just a relatively clean way of recording the repository state when code was compiled, so I can reproduce results later on. Just thought the interaction between git, cmake, and C++ was a bit nice!
j4cobgarby··on Rptree – debugging tool for realtime process tree events, pipes, etc.
I've been working on this tool for a couple of weeks to try and help students in a course on operating systems. They had a task to implement a shell, and it was kind of tricky viewing the processes that their shell makes using top/htop. Lots of them also struggled with setting up pipes properly.

Hence, this tool shows a realtime updating view of the process tree under a given PID, as well as a history log so you don't miss fleeting process executions. It also shows which files are used for each process' stdin and stdout (and, configurably, stderr), as well as information about process groups (which is useful for understanding signal delivery).

I've got some good feedback on this tool from some of the students I actually designed it for, and I'm wondering if it can help anyone else?

Let me know if there are any missing features (a bit of a wishlist is going on at the bottom of the readme already!) Maybe more importantly, there must be some bugs, so if you come across any please let me know!

j4cobgarby··on Show HN: Zenta – Mindfulness for Terminal Users
This is quite nice! I found the name zenta slightly inconvenient to remember and type, so I renamed the executable to 'relax', but the help messages still say 'zenta'. As a small fix, maybe you can make the help messages print argv[0] as the executable name?
j4cobgarby··on DeaDBeeF: The Ultimate Music Player
For me spotify's suggestions used to be good but degraded over time. I wonder if ChatGPT would be good at this? I assume so
j4cobgarby··on Here's a puzzle game. I call it Reverse the List of Integers
the best I can find for [7, 5, 3] is:

7 5 3

7 1 4 3

2 5 1 4 3

2 5 1 7

2 6 7

2 1 5 7

3 5 7

j4cobgarby··on Neovide – A simple, no-nonsense, cross-platform GUI for Neovim
Yeah true, maybe could be done with heuristics though - in nearly every case, there's only one single blinking block, which is the cursor. However, not everyone has their cursor configured to blink, and there are cases where there are other blinking blocks. Not sure how to deal with that...