HNHacker News
TopNewBestAskShowJobs

billhathaway

149 karma · joined August 1, 2014

I'm a Site Reliability Engineer who likes to program, primarily in Go.
submissionscomments
billhathaway··on Technical and non-technical tips for rocking your coding interview
Have you looked at interviewing.io
billhathaway··on I recommend against using biometric identification
Isn't Case 1 an attack on every possible method?
billhathaway··on Show HN: A coloring book of data structures and algorithms
you might be interested in https://www.manning.com/books/grokking-algorithms it is illustrated and very approachable
billhathaway··on A glut has used-car depreciation accelerating
There are pretty massive subsidies on new Leafs now. $10k reduction by dealers as well as $7500 federal tax rebate (and potentially CA rebate if you are low income).
billhathaway··on Introducing WAL-G: Faster Disaster Recovery for Postgres
Would standard postgres streaming replication do what you are looking for? https://wiki.postgresql.org/wiki/Streaming_Replication

We use a combination of streaming replication and wal-e backups. A separate machine performs multiple restores per hour and verifies restores work ok and that the data is recent.

billhathaway··on A Bay Area developer wants to build 4,400 homes where they may be sorely needed
How could the net increase in tax revenue only be $1M? At 4400 units, that would be only be $227 per unit per year.

While prop 13 limits increases, for new units, they would be assessed at current value.

billhathaway··on In Search of an Understandable Consensus Algorithm [pdf]
There are a couple of videos of either Diego Ongaro or John Ousterhout, his faculty advisor talking about Raft. The most recent one I saw was:

https://www.youtube.com/watch?v=vYp4LYbnnW8

Ben Johnson also made a cool visualization:

http://thesecretlivesofdata.com/raft/

billhathaway··on Tesla Autopilot
Tesla sent out an email today.

Autopilot Updates We just released the latest version of Autopilot. You can now experience Enhanced Autopilot features including Traffic-Aware Cruise Control, Autosteer, Auto Lane Change, Parallel + Perpendicular Autopark, and Summon. Automatic Emergency Braking, Forward + Side Collision Warning, and more advanced safety features are also active and standard.

All Tesla vehicles have the hardware needed for full self-driving capability at a safety level substantially greater than that of a human driver. And Tesla vehicles continue to improve with over-the-air software updates, introducing new features and improving existing functionality to make your vehicle safer and more capable over time.

billhathaway··on Tesla Passes Ford by Market Value
Can you expand on what you mean by "you can easily take extra power units with you (disposably cheap at that)." ?
billhathaway··on How to Sell Anything: Aristotle and the Ancient Art of Persuasion
That book is excellent, love the combination of research and anecdotes.
billhathaway··on Alphabet's Waymo Alleges Uber Stole Self-Driving Secrets
If you read the "Beyond Corp" doc, there are also certificates involved.
billhathaway··on Show HN: Key/Value Store as-a-Service
Since each new key request creates a uuid, wouldn't someone need to store that uuid in local key/value store in order to retrieve values from this k/v?

$ curl -X POST http://api.keyvalue.xyz/new/key1 http://api.keyvalue.xyz/3b629f4d/key1

$ curl -X POST http://api.keyvalue.xyz/new/key2 http://api.keyvalue.xyz/3eea0e2c/key2

billhathaway··on Honest status reporting and AWS service status “truth”
I wish AWS had both high-level and drill down status pages where it would post API success rates or the equivalent detailed information like github's status page has [0].

[0] https://status.github.com/

billhathaway··on Tesla Rolling Out Autopilot Software Updates to 1000 Cars
Yes, Teslas manufactured since mid-October all have the hardware for full autonomy[0]. It will be interesting to see how long it takes and what technical and legal hurdles are involved.

[0] https://www.tesla.com/blog/all-tesla-cars-being-produced-now...

billhathaway··on New NIST password guidelines: don't require character types or rotation
The justification I heard was in case your password was leaked/hacked (and nobody knew), it wouldn't be good forever.

I'm not supporting that position, just what I heard many years ago when talking with a security person.

billhathaway··on Tesla Shock Means Global Gasoline Demand Has All but Peaked
We had the same issue. Our 120V circuit couldn't recharge fast enough overnight to handle ~ 50 miles daily of commute/errands. We ended up getting a 240V/40AMP circuit installed for a 32AMP charger and now it charges in ~ 3 hours. The faster charger also meant we could time it to always use the night time electricity rates.
billhathaway··on Chevy starts manufacturing the Bolt
I was really surprised that Chevy expects to make less than 30k Bolts in the first year. I wonder if that number is capped by anticipated demand, manufacturing ability, or trying to maximize number of vehicles sold with the tax credit.
billhathaway··on New storage classes for Google Cloud Storage
From https://cloud.google.com/storage/docs/storage-classes

[paraphrased] All storage classes are designed for 99.999999999% durability

As the previous replies to your comment mention, at that order of magnitude there are many other causes of data loss to worry about.

Disclaimer: work for an Alphabet company but not doing anything related to this.

billhathaway··on Implementing a Tor relay from scratch in golang (2015)
There were some very significant[0] crypto speed improvements in the Go 1.6 releases. It would be interesting to see how well a pure go implementation would perform.

[0] Russ Cox mentions a ~ 10x performance in a TLS benchmark between 1.5 and 1.6.2 at https://github.com/golang/go/issues/15713

billhathaway··on Ask HN: How do you back up your site hosted on a VPS such as Digital Ocean?
Remember to have automated restore testing that validates restores are successful and the data "freshness" is within a reasonable period of time, such as last updated record in a database.

Lots of people only do a full test of their backup solution when first installing it. Without constant validation of the backup->restore pipeline, it is easy to get into a bad situation and not realize it until it is too late.

billhathaway··on Introducing a new kind of Wi-Fi system
There are onhub apps for ios and Android

https://support.google.com/onhub/answer/6273485

billhathaway··on Ask HN: What software engineering related podcasts are you listening to?
GoTime[0] is a Go oriented podcast that is high quality and has a new guest each week. They also touch on a lot of general topics about SWE that are relevant to a broader audience.

[0] https://changelog.com/gotime/

billhathaway··on Bay Area wages soaring but still can’t keep up with housing prices
Exactly: we bought in San Jose in Sept 2011 and have seen our townhouse's value increase by approx 60% since then (which seems ridiculous to me). We really lucked out on our timing.

The seller who had originally owned our home sold for a ~20% loss over their purchase price (purchased in 2007).

billhathaway··on The Most Popular Online Course Teaches You to Learn (2015)
I took this course about a year ago and really enjoyed it.

The main things I took away were:

* focused and diffuse thinking - I now take short walks at work if I'm struggling with problems for a bit and often find I come up with an alternative approach when I'm not focusing as tightly

* repetition and recall - I take notes and then create flash cards to force recalling information

Additionally, learning the science behind why you lose information so fast after a cramming session has been helpful too. I really wish I had learned this info before attending college, it could have made a big difference for me.

billhathaway··on NUMA-aware scheduler for Go
There is a new small thread[0] on golang-dev about someone from Intel looking into this. It would be great to see the go scheduler be more aware of NUMA characteristics.

[0] https://groups.google.com/d/msg/golang-dev/ARthO774J7s/7D9P0...

billhathaway··on How to Generate Secure Random Numbers in Various Programming Languages
Does Go's crypto/rand[0] package meet this criteria?

[0] https://golang.org/src/crypto/rand/rand_linux.go

billhathaway··on In Norway, everyone can know how much you earn [video]
Norway is handling their oil wealth pretty responsibly and have a huge (U.S. $873 billion) government fund based on petroleum profits[0]. This American Life ran a podcast segment on it back in 2011 which was interesting[1].

[0] https://en.wikipedia.org/wiki/Government_Pension_Fund_of_Nor... [1] http://www.npr.org/sections/money/2011/08/26/139972557/the-f...

billhathaway··on LoweBot
Lowes does have an app with in-store maps. When you search you can see product inventory and where items are located in the store. I've used it a few times with moderate success. It only has 25 reviews on App Store with 2/5 rating, so that might be lowering adoption. For comparison the Home Depot app has 186 reviews with 4/5 stars.
billhathaway··on Show HN: PGBackup.com, Postgres backup as a service
For customers with stronger security concerns, they could issue your service a client cert and only allow replication connections from your service's IP range that auth with certificate.
billhathaway··on Amazon Vehicles
You can also go to a business like Car Max which will give you a quote for your used vehicle which is good for 7 days. Take the quote with you when going to buy a new car. If the dealer doesn't want to match the Car Max quote as trade-in value, then don't trade in, and sell your car to Car Max.
← PreviousPage 2 of 3Next →