HNHacker News
TopNewBestAskShowJobs

alexw1

22 karma · joined November 8, 2013

submissionscomments
alexw1··on How Kentucky bourbon went from boom to bust
This is good news to me at least. While I don’t expect the $30 bottles of Elmer T Lee, imo won’t lament any decrease in prices for these artificially inflated bottles. They were never that good.
alexw1··on Ask HN: Got a /22, cool things to do with it?
Had a similar situation with a /16 at a research institution. Deployed non-interactive, multi-service sinkhole type honeypots across the entire /16 and collected a massive cache of data. A lot of fun developing something that could scale on that size of network. We used Go for the honeypots and Clickhouse to analyze the TBs of data.
alexw1··on Most scientists 'can't replicate studies by their peers'
> This is ego, politics and career ambitions undermining modern science.

When has this never been the case?

alexw1··on HPN-SSH: High Performance ssh and scp
Do you mean bbftp?

http://www.nas.nasa.gov/hecc/support/kb/bbftp_147.html

alexw1··on How can an introvert Asian engineer like me make friends?
A small suggestion that worked really well for me: if you're interested in role playing games find some local groups (craigslist, your local comic book/game store, or there's other resources online) and join up. Pen and paper role playing can be a great way to make friends and develop better social skills. In my experience, these groups are almost always inclusive and friendly but it's the first step that's the most difficult.
alexw1··on Ask HN: How do you back up your data?
Wow, guess so. I've been using my script for years but I'm not surprised someone else has done this right.
alexw1··on Ask HN: How do you back up your data?
Since both my wife and I use either Mac or Linux based laptops I have a quick and dirty shell script that gets fired off by hand at the end of the day. The script uses rsync and cpio to copy all files in the laptop's home directory onto a machine running debian packed with 4 1TB drives in a RAID5+1 spare configuration. The script uses hard links to keep daily increments without consuming disk space and goes something like:

  # rotate daily backups
  ssh -i $SSHKEY -q $BACKUPHOST rm -rf $BASEDIR/home.3
  ssh -i $SSHKEY -q $BACKUPHOST mv $BASEDIR/home.2 $BASEDIR/home.3
  ssh -i $SSHKEY -q $BACKUPHOST mv $BASEDIR/home.1 $BASEDIR/home.2
  ssh -i $SSHKEY -q $BACKUPHOST \
  "(cd $BASEDIR/home.0 && find . -print | cpio -dplm $BASEDIR/home.1)"

  # backup
  TMPFILE=`mktemp /tmp/excludeXXXXXXXX`
  cat << EOF > $TMPFILE
  quota.user
  .cache
  EOF

  rsync -Lazv -e "ssh -i $SSHKEY" --update --delete \
  --exclude-from=$TMPFILE $HOME $BACKUPHOST:$BASEDIR/home.0

  rm $TMPFILE