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 Command-line tools can be faster than your Hadoop cluster
What toolset are you using that you can run both locally and on a Hadoop cluster?
azylman··on Show HN: Csvlint.go, command line tool for validating CSV files against RFC 4180
I haven't done any performance testing on large data sets yet, but in general I've been super happy with the Go's CSV library, both in terms of performance and ease-of-use.

If the speed ends up being a problem, it should be pretty easy to add a "--bail" flag or something.

azylman··on The Empire of Edge
From the article: 'The Department of Justice announced...that Cohen had presided over insider trading "on a scale without known precedent in the hedge-fund industry."'
azylman··on What Happens When Digital Cities Are Abandoned?
I used to play a different Wheel of Time based MUD (WoTMUD), that apparently is still at least partially active: https://twitter.com/WoTMUD and https://www.facebook.com/groups/657945314285131/ (I guess they're having server issues and are trying to raise funds to get it going again?)

Weird reading the Twitter account and recognizing the names of people who were active when I played a decade ago.

azylman··on Sony’s 2001 offer from Steve Jobs to run Mac OS on Vaio laptops
> > What makes the Macbook Pros exclusively fast at building Firefox?

> I think the Retina MBPs are the only laptops so far that use PCIe SSDs, so they're not limited by SATA's 6Gbps.

If the bottleneck in your build process is the data transfer speed from your hard drive, props to you.

azylman··on Cards Against Humanity has made more than $12 million
No, it's Apples to Apples except fun.
azylman··on LivingSocial: Employees' and Founders' Common Stock Now Worthless
Daily deals like Groupon are fundamentally flawed in certain markets.

The problem is that it rarely generates repeat customers and/or customer loyalty - they tend to generate customers that come once, when they have a coupon, and never come again.

So unless your business is high margin, you're almost guaranteed to lose money from daily deals.

Thus, it's very good for things like paintball and skydiving and very bad for restaurants.

azylman··on How LinkedIn Just Made Ten Million People Feel Special
I think they mean that, out of their first 500,000 members, you were one of the first to register in Iceland. As in, you were one of the first people in Iceland to sign up for LinkedIn, and you did it very early.
azylman··on Did Glee Rip Off a Jonathan Coulton Cover?
That would be true, if it was attributed. But it's not. The only thing people will be downloading from this will be the Glee cover.
azylman··on How deep are your unit tests?
I prefer my unit tests to test everything all the way down.

They already have that, that's called integration testing. Unit testing is trying to test as small of a unit of code as possible - this helps you identify exactly where the error is. If all of your tests are integration tests and something fails, you have no idea which part of your stack the problem is in.

Obviously different projects require different kinds and amounts of test cases, but I prefer a mixture of both unit tests and integration tests (unit tests for small, complex blocks of logic, integration tests for most of the other stuff).

azylman··on "Not Invented Here" Versus Developer Sanity
I think roughly 40% of the remaining code implements the last 20% of the features, and the other 50% is just random bloat.

Request has a lot of extra code to deal with the global state. It's written as one giant class that sets all of its properties on itself (e.g. this.method = options.method, etc., etc., followed by "http.request this"). Further, when it handles HTTP redirects, rather than instantiate a new instance of itself or something it just calls its init method a second time and has to make sure that it resets all of its properties to their default state (e.g. this.method = 'GET'). This is where most of the bugs come in, as well as most of the bloat.

In contrast, our's is a method that calls itself again with new options based on the context when it needs to handle HTTP redirects so we don't need to worry about that sort of stuff.

azylman··on Tweeting on behalf of users is bad
To quote The Princess Bride: "You keep using that word. I do not think it means what you think it means."

You say that both me and the guy from Prismatic are trying to "justify" his actions, but that's completely false. Nowhere did I say that doing something like that was acceptable behavior, nor did he. I agree that impersonating a user and posting to their social media accounts without their approval is unethical and immoral.

However, he said that it was an accident, a bug - that the intended behavior was not this unethical and immoral action, but something else entirely. You proceeded to accuse him of justifying it and being "in a state of delusion, blinded to ethics and respect".

And now you said that same thing to me, more or less.

If anyone here has questionable ethics, it's you. You COMPLTELY MADE UP these actions of other people, MALICIOUSLY, and used it to libel them.

azylman··on "Not Invented Here" Versus Developer Sanity
At work recently we reinvented something that already existed - but I think we had a good reason to.

There's a node package called "request" [1] that's a very, very popular third-party library to simplify HTTP requests. If you look at the code, though, it's really, really nasty - the whole thing is filled with global state. After I spent 6 hours in one day debugging issues in the library and filing bugs (some of which included things such as "if you try to set a querystring parameter, request can no longer follow redirects"), we decided that enough was enough and we rewrote it from scratch [2].

I think that rewriting it took us about as much time as we spent debugging it, but we were left with a project that's a drop-in replacement (as long as you're not using any of the advanced features) and has a codebase that's 1/10th (!!!) as many lines of code while implementing near 80% of its features.

[1] https://github.com/mikeal/request

[2] https://github.com/clever/quest

azylman··on Tweeting on behalf of users is bad
Nowhere does he say that it's justified. Cut the man some slack.

My interpretation from reading this whole thread, the associated article, and some comments is that there's an option for users to invite their Twitter followers/share activity, but the messaging around it is unclear or something (maybe a bug?) so people didn't realize they were doing it. And now it's being fixed.

That's hardly intentional unethical behavior. Saying someone is "in a state of delusion, blinded to ethics and respect" is WAY out of line for someone whose product had either a UX or technical bug, who apologized for it, and who is now trying to fix it.

azylman··on Apple Said to Be Exploring Switch From Intel Chips for the Mac
Sorry, I didn't link to the source originally and it looks like I can't change the URL, but here's the (longer, more interesting) Bloomberg article: http://www.bloomberg.com/news/2012-11-05/apple-said-to-be-ex...
azylman··on Reasons Not to Use 99Designs - Refund Policy and Poor Customer Support
If you read the chat log he posted, it actually makes him look bad more than anyone else. Yes, it's bad, shady practice to require someone to call you to get a refund you promise, especially if you don't list that they have to call you anywhere.

But again, looking at the chat log, the 99 Designs guy is very apologetic and helpful and Andrew immediately says "OK, I think I'll blog about this and post it to Hacker News and see what everyone else thinks." (This is in response to "Justin" from 99 Designs apologizing for the inconvenience of requiring a phone call).

Hacker News is not your personal soapbox.

azylman··on Ask HN: Who Is Hiring? (November 2012)
San Francisco, CA - Full Time

I work for Clever, a YCS12 company. It's quite honestly the best job I've ever had. Every day I get to solve fun and interesting problems in a market (education) where I can actually tell people that I'm trying to make the world better.

This is copy+pasted from our jobs page (https://getclever.com/about/jobs):

## Things we're looking for:

Experience with consuming and/or creating RESTful Hypermedia APIs

Comfort with a variety of languages (we use the best tool for the job, everything from Node.js to bash scripts)

Devops experience scaling up systems including AWS and MongoDB

Ability to quickly pick up new technology and apply it effectively

## What Clever offers:

A chance to revolutionize education

Competitive salary and significant equity stake in well-funded company

Flat and close-knit engineering team with lots of peer code review and pair programming

Great benefits - healthcare, dental, unlimited Amazon budget, beautiful office, etc

To apply, email jobs+engineer@getclever.com

azylman··on Netflix: Post-mortem of 22 Oct AWS degradation
This is completely unrelated to the post, but I was at the Airbnb tech talk and it was extremely interesting - thanks for putting that on!
azylman··on Google Voice lost my business number. How I got it back, and what I learned.
What are you talking about? I posted a link with their support options and your response is "No, you can't get support". Clearly, you can - I linked to it. If I go there with my free apps account it's crystal clear, in big letters: "Email and phone support: Not available for the free edition of Google Apps. Find out about upgrading to Google Apps for Business."
azylman··on Google Voice lost my business number. How I got it back, and what I learned.
This "Google has no support" is a myth that I see consistently repeated on Hacker News that I can't understand it's repeated. Google's support situation is actually the same as Microsoft's: if you pay (i.e. have a Google Apps for Business) account, you get 24/7 phone support. I'm pretty sure that it's for any service linked to your Google Apps for Business account (including Voice), but not completely sure since I've never had to use it.

You can find it here: http://support.google.com/a/bin/request.py

azylman··on How A $19 Million Movie Makes $150 Million - And Still Isn't Profitable
The difference is that tax shelters usually aren't used to deprive your staff of salary, they're used to deprive the government of tax revenue. This is both.
azylman··on The Self-Destruction of the 1 Percent
The 1% is the upper middle class

Errr... how much income do you think makes you 1%? Hint: it's $150k/yr. That's not "upper middle class". I understand that there are a lot of people here that might make that, close to it, or more because software is very lucrative, but don't let that skew your perception of the world.

azylman··on A Foobub Post-mortem
The hardest part about this entire project took me about an hour to figure out. No, it wasn't sorting. No, it wasn't trying to organize or query search results. It was God damn JavaScript Closures. Believe it or not, out of everything, this took me the longest to figure out. I was close to just saying "Fuck it" and not allowing people to click on links.

Sounds like underscore.js would have cut your development time by more than 25%. You should check it out - it's a great library.

azylman··on Robert Bork on antitrust: Google is no Microsoft
It doesn't matter how hard switching is for the browser, what matters is how hard switching was for the OS - that's where Microsoft had a monopoly. In that, switching was very hard. They were trying to leverage that monopoly in a new market (browsers).
azylman··on Coding skill vs. employee skill
It's very easy to give someone a list of concrete things they need to do about communication: 1) respond to emails within one business day, 2) update your manager and coworker 4 days before a deadline if it looks like you'll miss it, etc.

On the other hand, it's very hard to give someone a list of concrete things that will make them a better programmer. I suspect if you tried, you'd end up with very subjective things like 'strive for readable code' etc.

azylman··on Python performance the easy(ish) way
I never inferred that ctypes were required - in fact, I explicitly did the opposite. I asked if it was required for performant code. See the part of my post where I said "To regular pythonistas: Is this a common issue with Python, or only in the author's contrived scenario of summing a ridiculous amount of numbers?"

I also never claimed that python was broken.

azylman··on Python performance the easy(ish) way
Wow, I don't think I've ever had such a visceral reaction to anything I've posted on HN before. By people who clearly didn't take the time out of their day to even read what I posted!

Basically, I don't use python very much and wanted to know if python had performance issues that required you to drop down to C code often, or if that was just for a scenario such as this.

I think that any language that REQUIRES you to drop down to a lower level for performance (not one that SUPPORTS it, but one where it's REQUIRED) is inherently broken. I would think that would be a pretty noncontroversial statement - if every python script you wrote had to have embedded C code because otherwise it was too slow, that would be pretty broken. That's why I wanted to know how common this was.

azylman··on Python performance the easy(ish) way
I'm not a big user of Python, but it seems to me that any language that requires you to embed a different language for performance is inherently broken.

To regular pythonistas: Is this a common issue with Python, or only in the author's contrived scenario of summing a ridiculous amount of numbers?

azylman··on The Ed-Tech Bubble
It seems like the author is taking a specific subset of ed-tech ("online learning companies that rely on the student's intrinsic motivation") and trying to generalize it to all ed-tech.

There are TONS of different companies doing some really interested stuff in ed-tech. Not only are there lots of ed-tech companies that aren't online learning companies, there are a lot of online learning companies that DON'T rely on a student's intrinsic motivation: e.g. anything in the K12 space - there are a lot of K12 schools that are beginning to incorporate online learning into their curriculum, and then there's plenty of extrinsic (e.g. grade-based) motivation to do well and perform.

I think my #1 takeaway from this is that the author isn't the target market for most of these ed-tech companies. They're not trying to get people to take these classes for fun, no more than colleges want people to take classes for fun.

azylman··on Stop validating email addresses with your complex regex
The difficulty of writing regexes for email validation wasn't the main point - the main point was that emails don't follow spec so any regex based on that is inherently wrong. However, it seems like saying "most email validation regexes are broken" is equivalent to saying "email validation regex is hard"
← PreviousPage 4 of 7Next →