HNHacker News
TopNewBestAskShowJobs

smwht

25 karma · joined July 22, 2014

submissionscomments
smwht··on Lenovo: researchers find 'massive security risk'
Windows 8+ feature, see reply to kbenson above.
smwht··on Lenovo: researchers find 'massive security risk'
It's a new feature with windows 8[1]. Unofficially you can install windows 7 using the OEM key (note this is not the key printed on the sticker on your laptop) and then activate it.

[1] http://arstechnica.com/gadgets/2015/02/save-yourself-from-yo...

smwht··on NGINX open sources TCP load balancing
Thanks. For reference, the use case is to distribute SSL negotiation without losing access to client IP addresses.
smwht··on NGINX open sources TCP load balancing
Anyone know if the nginx TCP load balancing supports the PROXY protocol? Doesn't appear to, which is unfortunate.
smwht··on NGINX open sources TCP load balancing
If you don't mind building your own package, this has worked well for us: https://github.com/yaoweibin/nginx_upstream_check_module

Though I agree it'd be nice to have the functionality integrated.

smwht··on AWS C4 Instances
It looks like it still loads the ixgbevf driver:

  # ethtool -i eth0
  driver: ixgbevf
smwht··on Amazon’s New Cloud Prices Show That Google Is Now a Threat
If this is Amazon trying to compete with Google's pricing scheme, they missed. Google's sustained use discounts just happen, and give you a discount on whatever time you used. With Amazon's new pricing for reserved instances, any reserved instance you buy (upfront fee or not) commits you to pay an hourly fee regardless of whether the instance is running now.

They removed the light/medium reserved instance options where you paid a discounted usage rate, and now just have 3 ways of purchasing a heavy reserved instance.

This is going to raise prices for us on AWS because we won't be able to use reservations for the instances we autoscale so the current medium reservations we have are going to be on-demand now.

smwht··on Count to ten when a plane goes down
The important character here is the '>'. This redirects output to a file and overwrites the file. The lrwxrwxrwx will only print an error, but the redirect to the target executable will erase the target.

For example:

  $ echo "asdf" > foo
  $ cat foo
  asdf
  $ lrwxwrwxrwx 1 root root -> foo
  lrwxrwxrwx: command not found
  $ cat foo
  $
So basically, this zero'd out every executable on the system.