Hacker Newsnew | past | comments | ask | show | jobs | submit | Mavyrk's commentslogin

A 'lazier programmer' who actually checked the optimization of various factorial methods?

There's a joke in there somewhere...


Well, he only bothered to check three of them.


a lazy programmer is one who will write a shell script in an hour to generate three lines of boilerplate...


It's worth it, if you have to type the boilerplate code hundreds of times. Consider the time wasted in debugging errors due to typos etc. It's even more worth if that shell script (or, in my case an emacs yasnippet) is parameterized.


When reading his comment it was apparent to me that he was speaking in context to the matter at hand (delving into hnsearch.)


I've often found that one is better served by saying "please take this in the helping way" outright as opposed to relying on over-cliche phrases like "I don't mean to be X."

Being earnest and dare I say somewhat unique in your discussions can often produce better results than crutching on over-used phrases. This is a reason I stick to phrases like "I apologize for" over "I'm sorry for", or "I appreciate that" over "Thank you for." When words/phrases you intend to convey become noise or just another figure of speech, why bother saying them at all?


For the non-blackbox version where you install the extension, I'm assuming if you were paranoid you could just use Firefox's incognito mode.


Is there a chance you could elaborate on this some? What would some example "bells and whistles" be with regards to SSL certs?


Verisign EV certs get the green text along with the name of the company in the browser (ex: https://paypal.com)

More information: http://www.verisign.com/ssl/ssl-information-center/extended-...


All EV certificates provide that feature, not just the ones sold by Verisign. Are you a paid shill of Verisign?

In general, no one should ever do business with Verisign, due to their practice of domain slamming, their Site Finder misfeature, and other shady practices.


Do they still do that? Thanks for pointing that out though, I found this:

http://www.theregister.co.uk/2002/05/14/verisign_hit_with_sl...

through Wikipedia:

http://en.wikipedia.org/wiki/Domain_name_scams#cite_note-6

"VeriSign was sued in 2002 for their actions in sending ambiguous emails informing people, often incorrectly, that their domain was about to expire and inviting them to click on a link to renew it. Renewing the domain resulted in the registration company being transferred to VeriSign from the previous registrar."


Verisign cannot do that anymore since they no longer operate a registrar (Network Solutions was spun-off/sold-off).


Ok, I didn't know that. What I should investigate is whether the same people that authorized those shady tactics are still in charge there (or whether that culture persists).


GoDaddy is listed among the issuers of EV certificates on Wikipedia, so don't they offer them? :

http://en.wikipedia.org/wiki/Extended_Validation_Certificate

(I don't know the difference between standard SSL certificates and EV ones)


GoDaddy does look like they offer them:

http://www.godaddy.com/ssl/ssl-extended-validation.aspx


Mostly, they are the same. There are some "addons" that are possible with SSL certificats. For example wildcard certificats which are valid on all subdomains, included support, encryption strength, browser support and others.


I adblock YouTube comments, personally. I suppose this is a cute modification of that same idea, but I'd rather not have to get another extension when ones I have already suit that purpose.


Teaching:

1. There are no safe assumptions.

2. Relate.


Are both fundamentally not the same thing? I understand that company A may have made you a bit uncomfortable, but perhaps their intent was the same as company B's? That is, to see how you logic out a problem. You did say that you got the job in the end, so clearly the point wasn't to see if you knew some APIs by memory as a make-or-break situation.

There's also some benefits that can be gained by company A's method ostensibly over company B's. You get to see their response to the discomfort of not remembering an API. You get to understand their problem solving abilities, not in terms of code, but in terms of interpersonal relationships. In a recent article I read, someone had suggested offering a code prompt and then challenging the applicant to find the bug on completion (even if there wasn't one), simply to see how they respond when faced with that challenge.

Naturally it may not be perfect, it's just hard to really quantify which one is "better" if they're arriving at the same end -- a presumably competent engineer being hired. Are companies not interested in hiring people with both interpersonal skills and technical ability, after all?


Fair point. :) However, I would argue that in company A's scenario, the discomfort I got from not remembering the APIs would never happen in real world situations where API documentation and Google/StackOverflow are readily available.

Ideally, if one does really well in whiteboard situations then great. But similar to how some engineers give terrible public talks, we can't discount the ones that do get nervous in those situations.


Thankfully there's the good old "javascript:document.body.contentEditable='true'; document.designMode='on'; void 0" trick.


It would be interesting to see if you could use a system like this to automagically derive background colors for image display, picking muted complimentary colors to make the dominant color in an image "pop", so to speak.


You can do this by representing the colors into HSV and then modifying the hue by 180%, desaturating them and then adjusting the brightness (v). Most color libraries will let you deal in RGB(A) or HSV so this is pretty straightforward to DIY.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: