News for hackers. Stuff that matters.

who23

Re:Show HN: Filesystem Watcher on Tuesday October 18, 2022 @11:37AM (#33249003)
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.
Re:ASCII Play on Sunday August 01, 2021 @02:06AM (#28024176)
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)
Re:ASCII Play on Sunday August 01, 2021 @02:03AM (#28024160)
looks like jetbrains mono?
Re:Show HN: Influence, a Go-inspired 1-minute board game on Wednesday June 16, 2021 @12:12AM (#27524828)
Super fun! Is there a public repo for the code?
Re:Sockets in Your Shell on Saturday December 05, 2020 @02:36AM (#25312638)
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!
Re:Sockets in Your Shell on Saturday December 05, 2020 @02:30AM (#25312612)
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.
Re:Sockets in Your Shell on Saturday December 05, 2020 @02:27AM (#25312595)
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.
Re:Sockets in Your Shell on Saturday December 05, 2020 @02:23AM (#25312579)
Hey I'm the author. Bash treats 0 exit codes as a success, so the "server up" echo runs if the connection is made.
Re:Sockets in Your Shell on Saturday December 05, 2020 @02:21AM (#25312570)
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.