wr
hn
Top
New
Best
Ask
Show
Jobs
Back
w
who23
Joined 6 years ago
Karma
4
Submissions
10
Member since
Oct 4
View on Hacker News
Recent submissions
Comment · 4 years ago
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 · 5 years ago
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 · 5 years ago
looks like jetbrains mono?
Comment · 5 years ago
Super fun! Is there a public repo for the code?
Show HN: Create a Hook for a macOS Notification
g
github.com
2
who23
5 years ago
0
comments
Comment · 6 years ago
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 · 6 years ago
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 · 6 years ago
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 · 6 years ago
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 · 6 years ago
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.