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 Ketamine for Depression: How It Works (2024) [video]
a partner has been on monthly ketamine therapy for treatment resistant anxiety and depression and it has help them out tremendously. They are still on SSRIs and in regular therapy, but have become far more happy and functional then they were for years before starting ketamine therapy
billhathaway··on Sex workers explain why the Safe Tech Act will break the internet
What sex workers overwhelmingly want is decriminalization, not legalization.

https://swopusa.org/wp-content/uploads/2019/11/Advocacy-Agen...

https://www.amnesty.org/en/qa-policy-to-protect-the-human-ri...

billhathaway··on Food Order Has Significant Impact on Glucose and Insulin Levels (2015)
Saw another study mentioned in comments that had 24 hour glucose levels and there are definitely higher spikes for carb first for both T2 diabetics and people with a normal glucose response. One thing to note is that protein/veggies first didn't spike as much, but the glucose levels were also much slower to return to baseline. So I would call it a win, but not an absolute for T2 diabetics. It was a total win for people not glucose impaired.

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3882489/figure/...

billhathaway··on Food Order Has Significant Impact on Glucose and Insulin Levels (2015)
I wish they would have tested further out than 120 minutes in case part of the effect was not digesting the carbs until later (vs just lowering spikes). One of the books I read on blood sugar talked about some hard to digest pasta that will take 3-5 before the glucose spikes up from it.
billhathaway··on We View Nikola’s Response as a Tacit Admission of Securities Fraud
Yet one has sold a million vehicles
billhathaway··on Ask HN: What are some books where the reader learns by building projects?
https://www.amazon.com/Making-Mechanisms-Inventors-Hobbyists...
billhathaway··on Show HN: patchbay.pub – Poor man's ngrok/IFTTT/serverless
The term 'poor man' isn't very informative to me. Does that mean it has all the functionality but is free or does it mean has basic functionality and is free, or is cheaper?
billhathaway··on Tesla truck: $10.5B in pre-orders with $0 in ad spend
I would only call it $10.5B in pre-orders if people paid the full price when they put a deposit. it is more like ~ $25M in deposits.
billhathaway··on Ask HN: Senior Positions Interview Prep Resources?
One of the most common joke themes inside Google is that almost everyone is just writing software that converts from one protobuf to another.
billhathaway··on Oracle’s Larry Ellison Calls Uber and WeWork ‘Almost Worthless’
Taxis in Las Vegas were adding a $3 fee for paying with credit card. That was so frustrating.
billhathaway··on Compensation in 2019 – new grad tech offers
For the companies in question, the senior engineers making bigger contributions are earning $400k+.
billhathaway··on Voice Pitch Predicts Labor Market Success Among Male CEOs (2012) [pdf]
From the study you mentioned "Company officials acknowledged that it did not address whether women were hired at a lower pay grade than men with similar qualifications."

and

"Kelly Ellis, a former Google engineer and one of the plaintiffs in the gender-pay suit against the company, said in a legal filing that Google had hired her in 2010 as a Level 3 employee — the category for new software engineers who are recent college graduates — despite her four years of experience. Within a few weeks, a male engineer who had also graduated from college four years earlier was hired for Ms. Ellis’s team — as a Level 4 employee. That meant he received a higher salary and had more opportunities for bonuses, raises and stock compensation, according to the suit. Other men on the team whose qualifications were equal to or less than hers were also brought in at Level 4, the suit says.:

billhathaway··on Burger King is introducing a vegetarian patty from the start-up Impossible Foods
I had the v2 impossible burger a few weeks ago. It felt close to regular meat, had a similar mouth feel, but the flavor was a bit off so I only ate two bites. I'm looking forward to trying their next version.
billhathaway··on Tesla has a self-driving strategy other companies abandoned years ago
I wish Tesla called something like driver assist. I use it for 90% of my commute and it is super helpful, but I would never pick a name for it of auto-pilot.
billhathaway··on More Google Employees Are Losing Faith in Their CEO's Vision
Netflix lays out the details at: https://benefits.netflix.com/united-states/financial
billhathaway··on More Google Employees Are Losing Faith in Their CEO's Vision
My manager left Google for Netflix a few months ago and said he got to pick the mix of cash vs stock he received when joining Netflix.
billhathaway··on Google Urged the U.S. to Limit Protection for Activist Workers
Almost all the cooks/childcare providers, office support, etc are contractors not employees. A significant amount of SWE and other technical roles are contractors as well.

https://www.cnbc.com/2018/07/25/alphabet-google-employed-mor...

billhathaway··on Pwn2Own Vancouver 2019: Tesla, VMWare, Microsoft, and more
In the model 3, the only way to access the glovebox is to press the button on the console. I'm sure this would be disabled when in self-driving taxi mode.
billhathaway··on Is getting a CS degree only way to get Software engineering job?
No, and it isn't a binary choice of self-taught vs 4 year CS degree. Check out https://lambdaschool.com/
billhathaway··on Model 3 Mid Range Battery Available
I also find the way they are listing the price annoying, but the destination fee is government mandated and has to be a separate line item per KBB.

[1] https://www.kbb.com/car-advice/articles/destination-charges/

billhathaway··on Algorithms tutorial series for beginners
The next sentences are:

Alan’s team found out that every encrypted message ended with the same string: “Heil Hitler” Aha! After changing the algorithm, the machine was to decoded in minutes rather than days!

billhathaway··on Ask HN: What things have richly rewarded the time invested in mastering them?
Learning to type faster.

I used to have a "hunt and peck" typing style requiring me to always look at the keyboard. I spent about 40 hours practicing over the course of a month and went from ~ 20 WPM to about 60 WPM.

I can now be looking at the screen about 99% of the time.

billhathaway··on Ask HN: How much did you, as an employee, make when your startup exited?
How long were you at the third job?
billhathaway··on A collection of sysadmin test questions and answers for interviews/exams
When I had to answer a question like that, I'd give a bit of detail about each stage and then ask if the interviewer if they wanted me to talk in more depth or go on to the next stage.
billhathaway··on Did MoviePass Just Die? Ticket Service Outage Again at Major Chains
The Cinemark one for us is about $4 cheaper than a regular ticket (SF bay area) and also gives 20% off concessions and you don't have to pay the extra fee charged for standard online purchases.
billhathaway··on AT&T Successfully Derails California's Tough New Net Neutrality Law
The data fee is all pay-per use, It is $10/gig and max data fee is $60/month.
billhathaway··on Shell Style Guide
Google's linux systems are standardized, there isn't a concern about running a script on 10 different OS variants
billhathaway··on Show HN: A simple Go web server with logging, tracing, health check
You might be interested to check out https://gobuffalo.io/
billhathaway··on Using Go Templates
1) The first example in the blog post shows an inline template:

    t, err := template.New("todos").Parse("You have a task named \"{{ .Name}}\" with description: \"{{ .Description}}\"")
If you have a lot of templates and don't want to declare them in-line but also want to ship just an executable, you could use a project like https://github.com/GeertJohan/go.rice which allows you to pack multiple files into a go executable and then reference them like files.

2) I'm not very familiar with the project but gogs https://github.com/gogits/gogs/tree/master/templates has a lot

3) Hard to comment without seeing an approach

4) Agree

5) Generally templates should be parsed at start time, not re-parsed for every request. I'm not sure if I'm responding to what you are saying. Do you have link to some code you would like comments on?

billhathaway··on What do the best interviewers have in common?
If you are trying a new coding or design question, have a few co-workers try it first to help flesh out the wording and get data points on how long it takes to solve.
Page 1 of 3Next →