noste's comments

noste | 12 years ago | on: How Japan Copied American Culture and Made it Better

Taiichi Ohno published the original "Toyota Production System: Beyond Large-Scale Manufacturing" in 1978 (the English translation was published in 1988), while Goldratt's "The Goal" was published in 1984.

noste | 13 years ago | on: What It's Like To Be Ridiculed For Open Sourcing A Project

How about using diff and sed -i?

  # This version is obviously unsafe
  verbose_sed() {
    sed -i.old -e "$1" "$2"
    diff -u "$2.old" "$2"
    rm "$2.old"
  }
  
  verbose_sed s/vim/emacs/g rant.txt
You could then use all the tools that we already have for working with patches: colordiff to colorize the output, diffstat for a summary of changes, patch -R for reverting the changes, and so on.

Of course, you're more likely to than not already using version control, which gives you all this and much more, even if you were to use vanilla find+sed.

noste | 13 years ago | on: Bashttpd - An http server in bash

How about ddshttpd (http://dd-sh.intercal.org.uk/web-server/)? A web server written using only sh(1), dd(1), and echo(1). It even supports running server side scripts ("ddsh-bin") and setting content type based on file extension.

I'm somewhat saddened to see that they don't own dd.sh domain anymore. It was at least twice as cute as no.de is :)

noste | 13 years ago | on: Do Plants Think?

That Wikipedia article mentions that "According to author Adam Gollner, some fruitarians eat only fallen fruit."

noste | 15 years ago | on: Transcending the Human, DIY Style

What fascinates me in this article (and in other similar efforts), is the ambient nature of these new senses. While it is true that you can look at a compass in order to find the magnetic north, I'd imagine it is very different to "just know" where it happens to be at any given moment.

That being said, there is interesting stuff to be done without DIY surgeries. For example, Christina Kubisch used to auralize electromagnetic fields using some portable gear, and wander around urban areas listening sounds made by security systems, WLAN hotspots, and the like (see interview here: http://www.christinakubisch.de/pdf/Kubisch_Interview.pdf ).

noste | 15 years ago | on: Secure your code: OpenVPN in the cloud

While I think you're right in that VPN setups make a lot of things smoother, SSH actually compares pretty well with the first two of your examples.

"Yeah, there is. First, doing it with SSH+keys requires either multi-step (which is annoying, esp. for copying files), or exposing each servers SSH to the net (which might be unfeasible if you don't have public IPs for everything)."

You can work around much of the annoying stuff in multi-step setups by using SSH's ProxyCommand configuration variable. For example, you could have something like this in your local .ssh/config:

  Host prod-db
    ProxyCommand ssh bastion nc -w1 %h %p
After which 'ssh prod-db' and 'scp prod-db:...' work as if the bastion host wasn't between you and prod-db.

"Second, getting a dump of a table from your MySQL DB with SSH+keys:"

If you can access prod-db with SSH, you can dump the database with a single command:

  $ ssh prod-db mysqldump what-i-need > file.sql

noste | 15 years ago | on: People have no bloody idea about saving energy

Most of the plastic bottles sold in Finland were reusable up until 2008 or so, but now that the tax levied on non-reusable containers has been removed, most of the bottles appear to be of single-use variety.
page 1