HNHacker News
TopNewBestAskShowJobs

joepvd

208 karma · joined June 10, 2014

http://joepvd.github.io/ https://github.com/joepvd
submissionscomments
joepvd··on In Bel-Air, someone is using 1,300 gallons of water per hour
Thanks, but that leaves doubt whether you wrote a decimal or thousands separator.

It is close to 5000 liters.

joepvd··on Tmux Resurrect – Persists tmux environment across system restarts
Mosh is a replacement for ssh (the client), but not for sshd, as it relies on it to make a connection. OpenSSH also is not meant to be replaced, which also has not been claimed in your link.

Please pay attention to semantics while fencing with words.

joepvd··on Ask HN: What books are you reading?
Bill Bryson - A short history of nearly everything

Excellent popular science intro to, well, nearly everything.

Daniel Kahneman - Thinking, fast and slow

Absolute recommendation. Is changing my perspective on myself and the world with every chapter.

joepvd··on Pylsy: Python library to represent tabular data in ASCII tables
Aha! That must have been the first time I have tried to read Tcl for more than a minute :) Looks like one can prototype fast in this language. Thanks for writing / posting!
joepvd··on Pylsy: Python library to represent tabular data in ASCII tables
Cool!

Sorry for the plug, but this gawk program does something similar:

https://github.com/joepvd/table

Field splitting can be defined with all of (g)awks possibilities. Features different styles, among which unicode table borders.

joepvd··on Shutdownify is shutting down
...and http://www.experimentingwithbabies.com. Awesome stuff!
joepvd··on Keystroke shortcuts in bash
Sweet! You might consider using this command for a more human digestible listing:

    $ stty -a | awk 'BEGIN{RS="[;\n]+ ?"}; /= ..$/'
    intr = ^C
    quit = ^\
    erase = ^?
    kill = ^U
    eof = ^D
    swtch = ^Z
    susp = ^Z
    rprnt = ^R
    werase = ^W
    lnext = ^V
    flush = ^O
How come, actually, that ^R does the history search, even though it has been set to redraw the current line?
joepvd··on Unix is not an acceptable Unix
Nitpick, sorry. `ctime` is not Creation Time, but Change Time. The traditional *NIX file systems do not have a meta data field for creation time.
joepvd··on Sake: like make, but with shell scripts
Was interested to see what this is about, but the lack of contrast between letters and background put me off to make the effort to even try and get the point. Please, people who make an effort: Please do not do so in vain.
joepvd··on Europe Is Struggling to Foster a Startup Culture
OT, but the only times I've encountered the word "foster", it is in the context of the European Commission, specifically in the context of what they want to achieve with grants.

Is it my limited exposure to English, or has the European Commission appropriated this word, and has by the way infected WSJ to use it?

joepvd··on The truth about Unix: The user interface is horrid (1981) [pdf]
I recently find it easier to bite the bullet and write the command on the spot, rather than to try to locate some custom made three liner somewhere. Just writing the logic from scratch becomes effortless with a bit of practice. It helps me focus on the task-at-hand, rather than digging into memory if I solved an issue before, and if I stored it somewhere convenient, with an apropriate name.

After having successfully located the snippet, only too often I have discovered that it does not do exactly what I want right now. Then I am left with the choice of changing the past script to also fit the new purpose, without destroying the previous work.

All this mental effort to save yourself three lines of typing seems a questionable endeavor. I have come to love the throwaway scripts.

joepvd··on Show HN: Simple Hash Table Implementation for C
That is an excellent documentation in the README. Even though I do not know C, I immediately have a clue of how to use this lib.
joepvd··on The truth about Unix: The user interface is horrid (1981) [pdf]
Discoverability can be configured in zsh as part of completion system. I've found that this covers many of my needs:

    % grep -<TAB><TAB>

    --after-context        -A           # specify lines of trailing context
    --basic-regexp         -G           # use basic regular expression
    --before-context       -B           # specify lines of leading context
    --binary-files                      # specify type to assume for binary files
    --byte-offset          -b           # print the byte offset with output line
    --colour               --color      # distinguish matching string
    (...)
joepvd··on Show HN: Inspect questionable scripts before piping them to sh or bash
vipe[0] from moreutils is a bit more general purpose command than this. It does not dictate the receiving end. So you can quickly check and correct data between pipes. Nifty stuff...

[0]: https://joeyh.name/blog/entry/moreutils/

joepvd··on Tmux 2.0 released
Honest question: Is there any benefit of using tmux over a proper tiling window manager? Or, why would I want to delegate some of the window manager tasks to a terminal emulator?
joepvd··on IBash Notebook
Looks very interesting. Has anyone already jotted down some experiences from using the bash kernel in a support setting? It would be awesome to be able to autodocument explorations and fact finding, for oneself, and/or for other interested parties.
joepvd··on How crazy am I to think I actually know where that Malaysia Airlines plane is?
I took this excellent story the same as you did. For me, this is the central point:

    My gut still tells me I’m right, but my brain knows 
    better than to trust my gut.
This is a nice phrasing of one of the things one has to come to term with while becoming a computer professional.
joepvd··on Etcd 2.0 – First Major Stable Release
Excellent release notice, as it does not leave any questions as to what the software is supposed to do.
joepvd··on Privoxy – a non-caching web proxy with advanced filtering capabilities
The best is that it does not make you depend on some plugin. Whatever experimentation with web browsers (dwb, luakit, ...), and the odd mail client that needs to access the web: The ad blocking just works. It is a solution implemented at the right layer.
joepvd··on Show HN: Simple Linux Backups
Not trying to imply that it is trivial to set up a reliable backup and restore mechanism, but the link you provide hardly provides an example of the current state. Never heard of modoresque, but the documentation has not been updated since 2006.
joepvd··on ShellShock exploited in the wild: kernel exploit with CnC component
I guess most personal routers do not ship with bash. This is what mine says:

# ls -l /bin/*sh

lrwxrwxrwx 1 root root 12 Feb 9 2014 /bin/ash -> /bin/busybox

lrwxrwxrwx 1 root root 12 Feb 9 2014 /bin/sh -> /bin/busybox

joepvd··on Revisiting How We Put Together Linux Systems
A very apt summary.

Can anyone recommend something from The Other Side of the fence for desktop/laptop use? One of the BSDs? A spinoff from Solaris? Or, something else?

I currently use archlinux, and value the rolling release approach with precompiled binaries.

joepvd··on Hacking POS Terminal for Fun and Non-profit
The management of OS updates also falls between resposibilities. Probably, the shop/chain owners will be responsible for OS and virus scanner updates, and because of lack of knowledge on their part, have been cause of critical disruptions in the past.

I have some hands-on experience with POS-systems from the vendor side of things, and it has happened multiple times that a customer led security patch carnival has led to major issues (windows needing to reboot 3 times before it became stable enough to make a print again, seriously?).

joepvd··on ITerm2 2.0
Sounds really useful. Anyone knows if such a thing is available for rxvt-unicode?
← PreviousPage 4 of 4