Better HN
topnewbestaskshowjobs
Log inSign up

dancavallaro11

34 karma · joined Dec 28, 2010 (15y ago) · 13 submissions

Submissions

comment 15y ago · link · parent

I hate to harp on one minor point that he made, but I strongly disagree with his assertion that you could dump CoffeeScript, stick with the generated JS, and be happy with it. The generated JS he showed in those examples was terrible, and would be a maintenance nightmare.

comment 15y ago · link · parent

Nitpick: BEQ, the guy who did that AMA, is a crossword puzzle constructor who has had some puzzles published in the NYT. Will Shortz is the NYT crossword editor.

comment 15y ago · link · parent

"Avidavit of adverse possession"?

comment 15y ago · link · parent

Yes, HTML is not a regular language, and so cannot be matched with true regular expressions. As mentioned elsewhere, most "regex" libraries in existence today are not limited to simple regular expressions -- they simply wouldn't be powerful enough for many common tasks otherwise.

HTML is more accurately a context-free language (CFL). A regular expression does not allow you to do any sort of counting or stack-based matching in a match, which is required to do things like "I just saw <div>...<a>...<img> so I better see "</img>...</a>...</div>" later on.

The reason the linked solution works is because of the extended capabilities of PCREs, such as backtracking and things like that.

comment 15y ago · link · parent

The author of this article seems to be unfamiliar with the concept of an internship. Peter is an intern because he's still in college, not because of some mythical gauntlet that new Apple engineers have to run through before Steve himself hands them keys to the repos.

comment 15y ago · link · parent

http://stevehanov.ca/blog/index.php?id=56

comment 15y ago · link · parent

Oooh, my favorite part is on line 136, when he claims "RSA 2048 was not able to resist in front of me". That's a pretty, um, "interesting" characterization of the level of sophistication of his attack.

comment 15y ago · link · parent

Sounds like Twitter hasn't even reached startup status, then.

comment 15y ago · link · parent

I think this sentiment applies to more than just startups, but really any organization where there's a tendency to say "that's not my job" or "oh, if I don't do it someone else will". I think a lot of organizations could be more successful if more of their members -- employees of a startup, volunteers at a nonprofit, members of a club -- were willing to pitch in above (and below!) and beyond their title, experience, or pay.

comment 15y ago · link · parent

I really don't want to change the subject or take away from the discussion about Bill, but I just want to quickly interject and say I disagree with this. I have now lived in Princeton for 18 years, unaffiliated with the University (I went to HS here, but go to college elsewhere). The town is picturesque, historic, and enhanced by the sterling reputation of the University. As for the isolation, NYC is just an hour train ride away, Philly an hour and a half. I suppose there isn't a ton of stuff to do in the town, but I've never found it to be a problem. In any case, Princeton is a great place to live.

comment 15y ago · link · parent

The reality, for better or for worse, is that a lot of the companies that are using puzzles like this prefer false negatives over false positives. In other words, they would rather pass over the occasional excellent engineer than accidentally hire a mediocre engineer. This is the case at Google, Amazon et al, and likely at Facebook and others as well. It very well might be the case that you're just an unfortunate casualty of this sort of hiring practice.