HNHacker News
TopNewBestAskShowJobs

nhoughto

451 karma · joined October 9, 2014

submissionscomments
nhoughto··on A police dog who cried drugs at every traffic stop
yeah seems like a strange thing to want to turn into a popularity contest.
nhoughto··on Apple-Epic judge asks why offering iOS users a choice is bad
yep agreed, there has definitely been a big shift in priorities. When iPhones had dramatic hardware improvements every year (remember the S phones, 4s/5s etc, thats how fast things were moving) revenue was ticking up from genuine innovation. Now people are mostly happy with their phones are keeping them longer, how do they maintain the growth? squeezing more out of what they've got, which is services revenue, which is naturally exploiting their monopoly more and more until someone stops them.
nhoughto··on In the search to stall aging, biotech startups are out for blood
Haven’t tried it, but expect it would work, just a smaller version of doing laps Aron s a 400m track. There was also something about the movement of air too, treadmill is so stagnant (can get fan I suppose, not quite the same?)
nhoughto··on In the search to stall aging, biotech startups are out for blood
Treadmills are not a good experience, having only ever run outside for years, I was stuck in a hotel for a week and wanted to run, so treadmill it was. Comparing the two things I can’t understand why anyone uses a treadmill (maybe if outside weather is too extreme?), it’s all the bad things about running and none of the good.

For me running it is about a basic simple thing (legs, feet, shoes one in front of the other.. not much gear) that you can scale up (speed, elevation etc) or scale down (speed, intervals/rests etc) to suit your mood. You are outside experiencing the world for better or worse (sometimes it’s cold/rains outside).

I wouldn’t run on a treadmill either it’s a terrible experience, bad for your running form too.

nhoughto··on Write Gitlab CI Pipelines in Python Code
Reminds me of the original atlassian bamboo pipeline as code impl that had you write the pipeline as Java or Groovy, can’t remember specifically. They got dunked on for it not being a declarative file.

Now we’ve got a pipeline being defined by a declarative file being generated by code.

nhoughto··on Diving Deep on S3 Consistency
Would love a dive (hopefully deep) into IAM, the innards of that must be some impressive wizardry. Surprising there isn't more around about the amazing technical workings of these foundational AWS products.
nhoughto··on Remote code execution in Homebrew by compromising the official Cask repository
yep is a founding decision, so they can use free git/github infrastructure to run their entire backend, and someone else pays for it. To do what you describe would require hosting something outside of that, which would cost $.

Reminds me of at least 1 github engineering blogpost where they reference Homebrew repo(s) as pathological examples, repos that cause them pain to operate effectively because they just don't 'look' like almost anything else.

Is what happens when you build your entire architecture around using someone elses free-tier / public service.

nhoughto··on Why I distrust Google Cloud more than than AWS or Azure
its easier to park a codebase and have it rot when its not in a monorepo where everything is assumed to be consistent/working all the time.

I'd have thought you could just pull maintenance-mode products out of the monorepo tree and stash them somewhere else. Let it rot by choice. Is basically what everyone else does, let you perform maintenance tasks on your schedule not other monorepo participants schedule.

nhoughto··on Pulumi 3.0
CDK is just a different way of writing cloudformation essentially, its code that is transformed into cloudformation templates, so inherits all its problems.

Pulumi is more like Terraform but without HCL. So imagine instead of having to find-the-HCL-way-to-do-things and work within those constraints to make terraform work, you can use one of a few languages to build up resources (similar to you would in HCL) and have pulumi provision/act on them for you including managing their state.

Quite different to CDK/CloudFormation and much more like Terraform without the handcuffs of HCL. (sometimes handcuffs are useful tho..)

nhoughto··on AWS Lambda Edge changes duration billing granularity from 50ms down to 1ms
Yeah it’s not _just_ 50ms cpu, there are other constraints like 50 sub requests, 6 open connections etc.

Still faaairly generous, good luck getting 50 sub requests done in 50ms if you had to measure against wallclock =)

nhoughto··on AWS Lambda Edge changes duration billing granularity from 50ms down to 1ms
So if I want to hook into each 4 parts of the lifecycle, I configure that and it gets executed once?

Can I maintain state between inbound request->origin request->origin response->inbound response?

My understanding was you can’t and it got called 4 times with different events, workers solves this by you being responsible for making the origin request (there is a simple mode where it does it for you to) with promises to manage origin response and inbound response logic.. I thought lambda@edge didn’t work like that?

nhoughto··on AWS Lambda Edge changes duration billing granularity from 50ms down to 1ms
Ah yeah makes sense. Really interesting that cf workers limit you to 50ms cpu time rather than wallclock time, makes lots of send-then-wait scenarios possible/way cheaper.
nhoughto··on The patent troll that won a $308M jury trial against Apple
Pretty strange world where losing 300mil to this lot is a net win to maintain the hostile patent environment against their competitors.

I guess it’s pretty similar to Apple acquiring the patents and then suing competitors.. but without all the ill will that directly suing companies off a weak base brings. Bit sad that it all rationally makes sense.

nhoughto··on AWS Lambda Edge changes duration billing granularity from 50ms down to 1ms
Interesting, we’re just about to put cloudflare workers in prod and find their approach much more flexible vs lambda@edge being possibly triggered four times at edge part of a request life cycle. But this could significantly reduce cost if your execution time is low.

How likely are you to see 1ms execution times for this stuff tho? Super simple logic should be that low I guess..

They must have a very mature execution environment to be able to offer this (if 1ms execution is achievable), cf workers have a whole set to logic to average out cpu spikes so you don’t randomly hit the 50ms limit, bc their execution of your code isn’t that deterministic I suppose.

nhoughto··on The Drivers Cooperative
It’s a nice idea, can’t imagine they can match the UX polish lyft and Uber deliver, which is what users expect now. What other examples are there of do-it-for-the-cause tech plays working out?

Interestingly i imagine a not insignificant amount of effort from Uber etc goes into combating drivers “bad” behaviors, the co-op model might align incentives to reduce this cost.

nhoughto··on Is that ship still stuck?
I was thinking, no way isn’t there a 10k container limit?

Nope 300k appr ! https://kubernetes.io/docs/setup/best-practices/cluster-larg...

nhoughto··on Is that ship still stuck?
Imagine the pressures on the temporary barrier too, and what a failure would mean. Even bigger disaster.
nhoughto··on Backblaze is now a Terraform provider
Popped in to say backblaze built out a tf provider at our request and they were great about it! Got a quick early build out to test, GA build a few months later and are very responsive to feedback. Pleasure to deal with
nhoughto··on How Uber Deals with Large iOS App Size
Yeah that’s a great read, super interesting detail. You wonder what would have happened if Apple didn’t up the limit.

This post is next level though, deeep optimization. All of it is just increasing the ceiling though, there is some limit on number of features Uber can offer in one app.. and eventually that limit will be reached, doesn’t sound like they are willing to accept being over the limit either. Wonder what space saving techniques are left in the box?

nhoughto··on Google Cloud vs. AWS Onboarding Comparison
Gone deep on IAM in AWS, attempted a similar thing on GCP later for another project, was very surprised how weak GCP IAM was.

Top of mind things I found weak/weird: - Basically can’t do least privilege, only want a role to read messages from one pubsub queue? Nope not possible - IAM policies seem bolted on, legacy roles seem much better fit in the ecosystem, but they suck obvs. - different gcp resources have somewhere between very coarse grain to just acceptable iam operations. Might just be GCS that lets you do proper least privileges policies like you would do in AWS.

I was very surprised how bad it was, AWS IAM is some black magic shit that is deeply impressive and often taken for granted, even GCP can’t replicate.

nhoughto··on Kubernetes Failure Stories
These are great, I found myself trying to predict the related areas, “..Slow connections..” ooh that must be conntrack! Been burnt by kube2iam too.. I guess it’s k8s failure bingo.
nhoughto··on The endless browser wars
most people don't even think that deeply about it, firefox and chrome are both trusted, end of thought.

ease of use beats moral advantage most times (almost every time)

nhoughto··on Killing Containers at Scale
If the vm is going to die, why bother killing it at all? Just “make it safe” and let gce kill it.

Could you not just send a signal to the running process that it’s going to die and to hang up or save state or whatever is needed? If an Ephemeral vm ends in a bad state does anyone care?

nhoughto··on Slack’s Outage on January 4th 2021
Never seen Transit Gateway, I assume they wouldn't have this problem if it was just single VPC or done via VPC peering?
nhoughto··on GitHub Should Start an App Store
You build an App Store if you own the platform, not just because you want to.
nhoughto··on Uber, after buying Postmates, lays off more than 180 employees
Yeah the complexity is insane, millions of users is surprising tho I thought it would more be an aggregation of larger agents. I guess unicorns optimize for delivery capacity not cost
nhoughto··on Uber, after buying Postmates, lays off more than 180 employees
An exchange like that by definition is quite focused on tight non functionals with slim functionals, aka it does a small number of things very well. Vs Uber which does a very wide set of things at a high level of consumer polish.

In my mental model of the two problems to solve, Uber is directly consumer facing to Millions of humans and that alone creates so much work in engineering that doesn’t exist when you can craft an api with sub 50 ms latency consumed by thousands of other machines.. the humans create the complexity. Solving for their problems is why you need way more people.

nhoughto··on Building DigitalOcean's API Gateway
yeah fly by night eng orgs sure, if you're DO your eng maturity (esp at this point) should be such that choices are being made knowingly, eyes open about future maintenance burden might be. If an api gateway is a foundational component at DO and having more control of it in golang is more important than getting long tail learnings for free building on top of nginx thats cool. If its a big important thing than building it up from lower level is useful bc then I know how to form it into the thing that I need when all the new requirements come in, harder to do that with nginx.. but i might get hurt less along the way with nginx.

i guess the tl;dr is, mature eng org shouldn't have too many dark corners for mushrooms that are important to grow, and nginx+lua choice or straight golang choice should be made informed either way.. as always.. tradeoffs! =)

nhoughto··on Building DigitalOcean's API Gateway
The decision to roll their own in golang entirely and then reimplement rails auth in golang, vs reimplement auth in lua and lean on nginx for everything else could be examined more, feels a bit like they wanted to do it in golang so nginx+lua was a non starter. Imagine how many crazy long tail problems nginx has already solved

There is always the benefit of building it up yourself and understanding it more deeply tho..

nhoughto··on New MacBook Pro models to feature magsafe, no touch bar and more ports: analyst
Had 2015, have 2020 (sold a 2019) thought you can’t beat a 2015 but I like the 2020 better actually! 2015 feels spongey in comparison.
← PreviousPage 7 of 9Next →