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 Stop validating email addresses with your complex regex
The biggest argument for not validating email addresses shouldn't be that "it's hard". It should be that email providers don't always follow RFC guidelines. At my old job, we had this really weird bug that, after a lot of work, we tracked down to users who legitimately had greek letters in their email addresses.

If there are legitimate emails that don't follow RFC, you should absolutely allow users to enter non-RFC-compliant email addresses.

azylman··on Ask HN: Is Google still a cool place to work?
http://news.ycombinator.com/item?id=4460296
azylman··on How Hacker News Completely Changed My Life
This post really spoke to me - all my life, I'd lived in the Midwest - first in Minnesota (coincidentally enough) then in Illinois for college. In October last year (the beginning of my senior year in college) I received a nice, safe offer as a Software Engineer at Google and that was my plan: do the 'Google thing' and see how I felt two, three, or four years down the road.

Fast forward to May of this year, I saw a job posting here on HN for a YCS12 company that was looking for a summer intern. I sent them a short email, not knowing really what was going to happen - one thing led to another, and before I know it I'm flying out to San Francisco the day after I graduate to begin my internship!

I can honestly say that this summer has been the best summer of my life - I've learned more than I thought possible, worked more than I thought possible, and had more fun than I thought possible.

And that safe job offer from Google? Well, I'm not doing that anymore - I'm the first hire at a very promising YC startup that I'm in love with.

azylman··on The new Hulu
The videos still don't fill the whole screen when not maximized like Netflix. :(

Also, HuluWithMe doesn't work in it.

Other than that, I like it a lot.

azylman··on Pineapple.io: Like reddit for design resources
It looks like it's not actually a design community, contrary to what the title here says. They say on their site: "Search by tag(s) through many tutorials, tools, and assets for developers and designers"

Then they have postings on things such as Vim and programming tutorials.

All told, covers a pretty broad base with some interesting stuff - ColorHexa[1] immediately stuck out to me.

[1]: http://www.colorhexa.com/

azylman··on Google Sues Apple, Seeks To Block iPhone, iPad & Mac Imports To U.S.
Actually, prior documents released from Motorola and Apple show that Motorola wanted 2.25% of Apple's revenue for its patents[1] - on a $500 device, that's $1.50. Apple rejected those terms. Compare that to Apple's demand of $40/device from Samsung - it's not favorable.

[1] http://tech.fortune.cnn.com/2012/02/04/what-motorola-wants-2...

azylman··on Google Sues Apple, Seeks To Block iPhone, iPad & Mac Imports To U.S.
In a sense, you're right. Apple offered to license it's tech to Samsung in 2010 for a whopping $40/device - personally, I don't think that a fee that exorbitant counts, but that's personal opinion. I thing Apple knew they were offering an untenable fee and that Samsung would have no choice but to refuse.
azylman··on Google Sues Apple, Seeks To Block iPhone, iPad & Mac Imports To U.S.
While I would obviously prefer to see no patent lawsuits, Motorola's lawsuit here is very different from Apple's against Samsung.

Apple refuses to license their patents - Samsung et. al. went to Apple and said "won't you please allow us to pay you to use your technology?" to which Apple emphatically answered "NO!". Here, Apple is using Motorola's technology and Motorola said "Apple, will you please pay us if you're going to use our technology?" and Apple's reply was the same: "NO!"

Apple is essentially doing the same thing that they're accusing Samsung of, except that Samsung really wanted to pay Apple, whereas Apple emphatically does not want to pay Motorola.

azylman··on Google Sues Apple, Seeks To Block iPhone, iPad & Mac Imports To U.S.
Apple has sued Google-owned Motorola and Android handset manufacturers, so yes. Now Google-owned Motorola is suing back.
azylman··on Pyjs: a Rich Internet Application Development Platform for both Web and Desktop.
You used to need to do different things for AJAX depending on browser version. My guess is that's what they're referring to. For example, older versions of Internet Explorer used "ActiveXObject("Microsoft.XMLHTTP")" instead of "XMLHttpRequest".

See: http://www.w3schools.com/ajax/ajax_xmlhttprequest_create.asp

azylman··on Show HN: A fix for the .bash_profile .bashrc .profile madness
Just because I "can" do something doesn't mean I "want" to do something or that it's the best way to use my time. That's like saying that we don't need expressive function names in code because we can just refer to the documentation.
azylman··on Design Tip: Never Use Black
I really hoped that this was going to be a joke about how, if you use black, Apple will sue you for patent infringement...
azylman··on Samsung’s Report Says Galaxy Would Be Better If it Were More Like the iPhone
If you read the report and not just the article headline, you'll see that Samsung's report wasn't "hey guys, we should make our phone exactly like the iPhone" but, rather, "hey guys, here's things the iPhone does better than us - we should fix that, while making sure we differentiate our product"
azylman··on Introducing Amazon Game Studios
I don't think I'd view book publishing as content production - a better analogy would be if they had writers on staff, writing the books, which they don't, as far as I'm aware.
azylman··on Github: Notifications & Stars
I think this is the behavior most people are going to prefer. It seems like it's pretty general to use "watch" for what is now a "Star" (i.e. something you find interesting but don't want updates from) so this will probably please the most users.
azylman··on John Carmack, Kudos to Valve but Linux is Still Not a Viable Gaming Market
I know they paid the highest, but how many of them were there? That's the key metric he's talking about. Was Linux 10% of Humble Bundle sales? 20%? What was it?
azylman··on Array Iteration Interview Problem
Here's my cheating version that uses a third-party library:

    add1_cheating = (arr, val, n) ->
      n = arr.length if n is 0
      start = if n < 0 then arr.length else 0
      end = if n < 0 then 0 else arr.length
      step = n/(Math.abs n)
      n = Math.abs n
      count = 0
      for i in _.range start, end, step
        break if count > n
        arr[i]++ if arr[i] is val
        count++
      return arr
azylman··on Array Iteration Interview Problem
There was only two ways I could think of to do this without the double reverse.

One would introduce more complex branches (looping backwards in CoffeeScript ain't easy) and the other would be using Underscore.js's range function to do the same thing - that solution would be basically identical to this, except without the reverses, only I'd consider that cheating.

azylman··on Array Iteration Interview Problem
Solution in CoffeeScript:

    add1 = (arr, val, n) ->
      n = arr.length if n is 0
      arr = arr.reverse() if n < 0
      count = 0
      for num, i in arr
        break if count > (Math.abs n)
        arr[i]++ if num is val
        count++
      return if n < 0 then arr.reverse() else arr
azylman··on reveal.js: HTML5 based Slide Presentation Tool
Keynote's just the state of the art in Powerpoint presentations

You know Microsoft succeeded when Powerpoint has become so generic that Keynote is described as being for "Powerpoint presentations".

azylman··on Craig Newmark, the Principled Jerk
To be honest, I didn't get the "principled" impression out of anything written here - I think the author was just trying to soften the blow a little bit...
azylman··on Stuff Harvard, MIT, Stanford & Caltech People Like
The article does not point out that sampling quora users might not be (I would say is probably not) an unbiased estimator of the the students of these places as a whole.

From the article:

Also, a word of warning: my dataset was fairly small and users on Quora are almost certainly not representative of their schools as a whole (though I tried to be rigorous with what I had).

azylman··on Google Indefinitely Delays the Nexus Q After Poor Reviews
Amerteurish would be to blindly carry on launching a product and then releaseing version 2.0 that fixed all the issues and making the 1.0 unsuported.

Sounds like Google TV...

azylman··on Samsung reveals its pre-iPhone concepts: 10 touchscreen devices
Yep, because "Samsung" and "Apple" is dangerously close to "Levy's" and "Levi's".
azylman··on If You Don’t Think You Need It, You Haven’t Seen Greatness
I have to admit, I'd always sort of dismissed "bizdev" and the like, but this summer I'm working for a small, three-person startup that's one developer and two sales/bizdev and it's completely changed my mind - they're absolutely fantastic.
azylman··on Go at SoundCloud
add(foo, bar) isn't any clearer than foo + bar, but usually an overloaded operator doesn't correspond to "add".

For example, in Javascript: "Hello" + " " + "World!". What the operator there is doing is concatenating the strings, so if you had a method to do it you wouldn't call it add - you'd call it concat.

azylman··on Opinion: Meritocracy in Silicon Valley a worthy goal but not a reality
while 60% of men in start-ups believe diverse teams are better at innovation and problem-solving, only 41% would be in favor of a companywide hiring practice to increase diversity.

Really?

If 60% believed, for example, that knowing how to code made for better hires, would only 41% be in favor of hiring people who know how to code?

Those are... not the same thing at all. That is an extremely flawed analogy.

The survey is taking about what makes for a good TEAM - further, it's only part of what makes a good team - one factor of many. You don't hire a team, however, you hire an individual.

The comparison that she draws is significantly more black and white: "Person A is strictly a better hire than person B, but we're hiring person B."

azylman··on The Many Sides of Jack Dorsey
A lot of the small, new businesses/restaurants in Evanston, IL use Square with an iPad for POS.
azylman··on Google’s Marissa Mayer Tapped as Yahoo’s Chief
All you need to do is look at how the tech press/community is ALREADY talking about this. See the quote from Andreessen[1] that I already talked about or, alternatively, another TechCrunch article that just got published:

What a time for Marissa Mayer to take control at Yahoo. She'll need all the smarts she can lay her hands on to revive an ailing Yahoo.[2]

It's already being set up so that the expectation is "she'll probably fail, because ANYONE will fail" but if she succeeds she's a miracle worker or "a Steve Jobs character".

[1]: http://news.ycombinator.com/item?id=4252945

[2]: http://techcrunch.com/2012/07/16/yahoos-neglected-global-lab...

azylman··on Google’s Marissa Mayer Tapped as Yahoo’s Chief
For proof of this, see Marc Andreessen's comments in TechCrunch[1]:

Andreessen also said he's "super-happy" for Mayer, because she's ready to step into a CEO role at a major tech company.

But can she actually turn Yahoo around? Andressen declined to offer any suggestions for areas that the company should pursue, and he also cautioned that it's hard to think of many Web companies that succeeded in turning themselves around.

"On the other hand, it's hard to overestimate how screwed Apple was in 1997," Andreessen said. "Tech comapnies can in fact be turned around. The problem is, there aren't a lot of Steve Jobs characters running around."

Basically, if she makes it, she's "a Steve Jobs character" and if not, well, it's hard to turn tech companies around.

[1]: http://techcrunch.com/2012/07/16/marc-andreessen-marissa-may...

← PreviousPage 5 of 7Next →