Lurker News
I'm thinking of tiny projects along the lines of single-function tools like domainr. But also game-changing ebooks, newsletters, courses.

Comments (868) 410 threads

Earlier comments
malnourish1 reply#
This is something I never knew I needed!
eneve#
Awesome! Hopefully you find it useful!
Dayshine#
As someone who was desperately trying to use guides for Pokemon games with £4/MB internet abroad, this would have been amazing...
cogs1 reply#
Crab - SQL for the filesystem.

Bash is such a pain because of all the incompatible utilities. Its much nicer just to think about logic than to be searching for command switches and dealing with corner cases like .. file names that contain spaces(!)
Free for personal use, $5 / month commercial
http://etia.co.uk

wkoszek1 reply#
How big filesystems have you queried with it?
cogs#
We've only tested on personal systems so far, just a few TB.

The theoretical limit is around 9PB, but we don't know what performance would be like at this scale.
A one TB spinning disk drive takes about 30 mins to scan, several thousand files per second, and query performance is very good. Most people scan project directories on demand, and the whole disk once a week or so. SSDs are much faster of course.
There is a restriction on the maximum number of files acted on by one query (e.g. moved, deleted, renamed), as the exec() function caches the list of files in memory. On macOS we're ok with tens of millions of files, but the first Windows release, due any day now is 32bit (we're fighting compiler issues), so the limit is around a million files.

gregfjohnson#
https://github.com/gregfjohnson/netnode

Netnode. It is a little like a unix pipe, a little like netcat, a little like tcpdump. But really simple.
You create a graph of communicating entities with netnode. The terminal nodes of the graph are external data sources/sinks (user input, udp/tcp servers and clients, shell pipes, named pipes, /dev/tty*, etc.) The internal nodes are a mesh of instances of netnode.
It is easy to insert a little instance of netnode anywhere, and have it print the traffic going through it.
I think it turned out really well, and I use it for everything. It feels like "connective tissue" similar to classic Unix pipes, but for the network age.
./netnode -h

    -p/-P:  tcp client/server.
    -u/-U:  udp client/server; client does pings to notify server.
    -k:     stdin/stdout.
    -s:     filename.  works for /dev/ttyS0 etc., named pipes, regular files.
    -X:     tcp proxy; local_server:remote_host:remote_port
    -w:     raw network device interface eth0 etc.  (requires sudo.)

    -i      next interface is input only
    -o      next interface is output only

    -d:     next interface is prefaced with time/direction
    -t:     next interface shows non-printable characters in hex
    -b:     next interface prints data formatted as hex dump

Load more comments