HNHacker News
TopNewBestAskShowJobs

azylman

1,351 karma · joined August 22, 2011

Sr Staff engineer at Uber working on commerce systems. Former Google engineer. Former engineering manager, tech lead, and founding engineer at Clever (YCS12). My comments are my own, I don't represent any employer, past or present.

I do not put disclosures in my comments, my background is fully disclosed here. Per HN commenting guidelines: assume good faith.

submissionscomments
azylman··on L.A.'s crisis: High rents, low pay, and $2k doesn't buy much
> This is _really_ basic English

That's both incredibly condescending and wrong. "One mega company owning every industry in the world" is not the only way to have a monopoly.

You can have monopolies on specific industries or in specific regions (e.g. AT&T and Comcast split up towns in a state and each one is the only provider in that town).

azylman··on Ask HN: Critique my company
Just giving them a few weeks at the company before asking seems like a problem. After only a few weeks, they probably don't have enough experience to answer with anything other than their own biases.

For example: you call out your Google Docs tracking system as something that should be obvious. But that's probably not obvious after only a few weeks. Some companies (especially smaller companies) can get by totally fine with that, and if you've only been at a company for a few weeks, you don't know what kind of company you're at. If they tell you that your Google Docs tracking system is bad, they're probably just reacting to it being different than what they had before.

Anyone who responds with a long list of grievances after only a few weeks is probably the type of engineer that you _don't_ want on your team: it probably means that they're unwilling to evaluate problems and solutions within the current context.

azylman··on TypeScript at Slack
> - Always enable --noImplicitAny and --strictNullChecks. Without these flags, the type system is barely better than using JS.

It may be a good idea to add those flags for new projects, but if you're converting existing projects, that's just not feasible.

Further, you can actually see huge benefits just from switching to the TypeScript compiler without any changes to your code.

At my last company, we started switching to TypeScript just by running our large JavaScript codebases through the TypeScript compiler and installing type definitions [1] for the popular libraries we were using. While we were doing so, we started finding a lot of bugs in existing code that TypeScript was detecting for us automatically by inferring types from how we interacted with known libraries.

[1] http://definitelytyped.org/

azylman··on Uber starts self-driving car pickups in Pittsburgh
I'm not sure why you're being downvoted... Tesla already collects as much sensor data in a day as Google has in the entire history of their program.
azylman··on AWS Application Load Balancer
It looks like it supports ECS services as target groups, and ECS services can do auto-scaling.
azylman··on Google’s QUIC protocol: moving the web from TCP to UDP
Lots of video games (including mobile) use UDP so I'd be very surprised if mobile networks blocked UDP.
azylman··on On Uber’s Choice of Databases
The money quote to me that was really interesting was this one:

> for a rapidly growing company, technology is easier to change than people.

azylman··on On Uber’s Choice of Databases
From what I can tell Schemaless has updates but represents them as inserts. When you want to change something (e.g. change the billing status of a trip), it writes a new billing status for the trip and consumers will always ask for the latest billing status for the trip, which is the most recent and up-to-date one.

Take this with a grain of salt, I just read the Schemaless articles yesterday.

azylman··on Master Plan, Part Deux
Google actually publishes stats on their self-driving cars. They're currently just shy of three million miles in the last seven years, only some of which are from autonomous mode: https://static.googleusercontent.com/media/www.google.com/en...
azylman··on LogZoom: A fast, lightweight substitute for Logstash/Fluentd in Go
If you want to write your own plugins, you can do them in lua or Go. Lua is the recommended way for most types - I think matching is supposed to be faster, and also then you don't need to recompile the heka binary.

If you don't want to write your own plugins, you'll never interact with lua.

azylman··on LogZoom: A fast, lightweight substitute for Logstash/Fluentd in Go
I wonder if the considered Heka (https://hekad.readthedocs.org/en/v0.10.0/), made by Mozilla? It's written in Go and, as far as I can tell, solves many of the same problems and more.
azylman··on Silicon Valley Asks Mostly for Developers with Degrees
You're both right! He's talking about getting hired, and you're talking about interviewing. The degree can have a significant impact on whether or not you get to the interview stage... and then rarely matters past that.

So, all else being equal, you're less likely to get hired without a degree, but you're just as likely to pass an interview.

azylman··on From side project to 250M daily requests
We've done this at Clever, if you're interested: https://github.com/Clever/resolve-ip

We use the same dataset that IP info started with (from MaxMind), although it sounds like they have many different sources now. It's worked fine for us, matches over 99% of the IP addresses we look up, and generally responds in less than 5 milliseconds - basically only limited by network latency.

Right now this is published to a private Docker hub repository, for no good reason, but if people would find it useful we can make it public.

azylman··on The Speed of a Unicorn
I ordered something from jet.com, was a terrible experience, would not recommend. They apparently decided that my order was fraudulent, cancelled my order, locked my account, _did not tell me and continued to send me marketing spam_. I only found out when I emailed them a few weeks later to ask "what gives?"
azylman··on Doug Crockford's Seif Project – how to save the web [video]
The problem isn't pushing an agenda (which I think everyone agrees is fine), it's adding something subjective with no legal definition to your license.

Since no one can say objectively "we do good", you're banking on not getting sued or having enough money and time to defend the lawsuit, which makes it unpalatable to many people.

Additionally, it makes it non-free software, by definition, so a lot of distros can't include it or anything that depends on it.

azylman··on Announcing Apache Flink 1.0.0
"exactly once" is actually pretty common. You can read about how Google does it in their MillWheel paper: http://static.googleusercontent.com/media/research.google.co...

They also compare their guarantees to other streaming systems, and they're not the only one to offer exactly once.

azylman··on Things to avoid in Docker containers
Most container orchestration systems (Kubernetes, Mesos, ECS, etc.) handle restarting failed containers - that's generally something you want to be outside of your container, not inside.

If you don't use one of those, you can still have supervisor run outside of your containers, and manage a set of "docker run" commands.

azylman··on Lyft Settles Worker Classification Lawsuit for $12.25M
> If they had to reclass as employees, they would just raise prices to end consumer 10-20% to compensate (or fund it via other's money like they're doing now to price out rest of market).

I think saying that they would "just" raise prices 10-20% is trivializing the problem. One of the reasons that Uber took off was because it was so much cheaper than regular taxis. Would Uber look the same now if it had had 20% higher prices from the beginning? Almost surely not.

azylman··on Why Are Corporations Hoarding Trillions?
The money for a cashier to make a livable wage doesn't have to come from increasing the costs of all goods. The point of the article was essentially that companies have more money than they know what do with. If they paid their employees more, not only would it be better for the employees, it would be better for the company as more money in the hands of the poor will drive up demand for goods.
azylman··on Pursuit of Serverless Architecture: What if we didn't need app servers anymore?
I'm just guessing based on my experience with Amazon's Kinesis Client Library (http://docs.aws.amazon.com/kinesis/latest/dev/developing-con...), but it probably means that you write something as a package with certain public methods, and they have a wrapper around it that knows how to invoke it. That's how KCL integrates with the languages that it supports.
azylman··on ELK stack deployment with Ansible
We still use salt to configure our docker hosts... I'm not sure how docker can ever be a replacement to things that operate at a lower abstraction level, because you still need to install docker.

Does anyone have any ideas here? Has anyone ventured down this path?

azylman··on Pricing Soylent Efficiently
Ironically, that's exactly what the article told you not to do

  You may want to be careful when someone suggests you should do X because that’s what AMZN does
azylman··on Negative Gross Margins
Comparing to Facebook seems like comparing apples to oranges. The article is about selling physical goods and services for less than it costs to produce them, which is different than allowing people to access a service that you don't yet know how you're going to pay for.

A better analogy might be companies that manufacture video game consoles, where they almost always sell at a loss when a new console is first released, with the hope to make profit in the long term - but there you're locked in to some extent, as you pointed out.

azylman··on Silicon Valley’s Economic Indicator: Caltrain Ridership
> Is that $180 figure correct? CalTrain charges my route $2,148 annually for a pass, and I'm not even going the full SF to SJ distance. (Granted, that's the low figure, so you need the ridership to get it… but still! It's a 91% quantity discount, if you get enough people.)

Yup, when I still commuted via Caltrain I was pretty jealous of my friends who had this sweet deal: http://www.caltrain.com/Fares/tickettypes/GO_Pass.html

azylman··on In J, functions have inverses (2012)
under sounds like with in Python, e.g.

    with open('workfile', 'r') as f:
        read(f)
azylman··on Go 1.5 Beta
We're pretty excited for the compiler and runtime being in Go, because we publish binaries for many different operating systems. Previously this required installing a separate cross-compilation toolchain, but will not any longer.
azylman··on Go 1.5 Beta
Performance is supposed to be much improved: https://docs.google.com/document/d/1At2Ls5_fhJQ59kDK2DFVhFu3...
azylman··on Guildbit: deploy a mumble server
What is the 'gold-standard' host?
azylman··on Why I Love Haskell: An Example
A Hash's Write method can't return an errors.

Writing and Reading to a pipe only errors if the pipe has been closed. We return an io.Reader, instead of an io.ReadCloser, so consumers can't close the Read side. Internally, the Write side is never closed either. So, in practice, Reading and Writing also won't ever error.

azylman··on Why I Love Haskell: An Example
This can be done very easily using an unbounded io.Reader instead of channels or iterators.

Here's a slightly modified version of bluefox's code where the prf function returns an unbounded io.Reader: https://play.golang.org/p/ZAj8q4eXEi

And here's a version that's modified a bit more, but still essentially the same, to trade LOC for matching the spec very cleanly: https://play.golang.org/p/Rpy0yIwVN1

← PreviousPage 3 of 7Next →