News for hackers. Stuff that matters.
Re:The Makefile I use with JavaScript projects by lisper on Wednesday February 28, 2018 @01:45PM (#16485531)
But it's not true that everything is a file. A row in a relational database, for example, is not a file, even in unix.
Re:The Makefile I use with JavaScript projects by geezerjay on Thursday March 01, 2018 @03:14AM (#16490423)
> A row in a relational database, for example, is not a file, even in unix.

Says who? Nothing stops you from creating an interface that maps that row to a file.

That's the whole point of Unix.

Heck, look at the /proc filesystem tree. Even cpu sensor data is available as a file.

Re:The Makefile I use with JavaScript projects by dozzie on Thursday March 01, 2018 @04:09AM (#16490608)
Ha, even eth0 is a file! You can open a network connection by opening this file! Erm... no, that doesn't work.

Then a process! You spawn a process by opening a file! Erm... again, no.

You want me to continue?

Re:The Makefile I use with JavaScript projects by anthk on Thursday March 01, 2018 @01:05PM (#16494458)
In 9front you can. You can even import /net from another machine. Bam, instant NAT.
Re:The Makefile I use with JavaScript projects by lisper on Thursday March 01, 2018 @12:29PM (#16494076)
> Nothing stops you from creating an interface that maps that row to a file.

That's true, nothing stops you, though it is worth noting that no one actually does this, and there's a reason for that. So suppose you did this; how are you going to use that in a makefile?