Better HN
topnewbestaskshowjobs
Log inSign up

who23

4 karma · joined Oct 4, 2020 (6y ago) · 10 submissions

Submissions

comment 4y ago · link · parent

For clarity, the author did say in another comment that for Windows they plan to implement system API calls to watch files instead of manually scanning the filesystem. For macOS and linux it is listening to OS events.

comment 5y ago · link · parent

after a little digging it looks like a custom font called 'Simple Console', though it's not available anywhere I can find other than through the website (which states it's licensed only for use on their website, not for download or use on other sites)

comment 5y ago · link · parent

looks like jetbrains mono?

comment 5y ago · link · parent

Super fun! Is there a public repo for the code?

5.

Show HN: Create a Hook for a macOS Notification(github.com ↗)

2 points · by who23 · 5y ago · discuss

comment 5y ago · link · parent

Hey I'm the author - I did not know about this! I suppose I should have guessed somebody made a shell script linter at some point though. Very useful!

comment 5y ago · link · parent

Hey I'm the author. Yes, as far as I know it's just sugar for opening a socket, and there's almost never a file that exists. To treat it as a file, you need to assign a file descriptor to it, which you can then read and write from.

comment 5y ago · link · parent

Hey I'm the author. Yeah, I stumbled on this while doing a little research into zsh socket capabilities, but I decided to exclude it because the post was more about network sockets than Unix domain sockets.

comment 5y ago · link · parent

Hey I'm the author. Bash treats 0 exit codes as a success, so the "server up" echo runs if the connection is made.

comment 5y ago · link · parent

Hi I'm the author! Yes, I wrote this code quite quickly and when I originally posted this on reddit someone pointed out my mistake. The more you know, I suppose.