HNHacker News
TopNewBestAskShowJobs

lettersdigits

184 karma · joined February 19, 2017

submissionscomments
lettersdigits··on Show HN: Mirrorshades – Simple web analytics
i think it's not enough:

one of the comments of the question here: http://stackoverflow.com/questions/499591/are-https-urls-enc...

says: "It's probably a bad idea to put confidential data in the URL anyway. It will be displayed in the browser's address bad too, remember? People don't like it if their password is visible to anyone who happens to glance at the screen"

you can just display a form with an input field for the secret key, which will be HTTP POSTed and only THEN you should display the account's data (while the url doesn't disclose the secret key)

lettersdigits··on Show HN: Mirrorshades – Simple web analytics
> http://getmirrorshades.com/view.html?siteKey=[SECRET_SITE_KE...

someone sniffing the network traffic can see the SECRET_SITE_KEY .. isn't it a security concern? or am i missing anything?

lettersdigits··on My Interview at Uber
I'm curious about the stats (if you have them): how many of the candidates added documentation ? because one could argue that documentation by itself is not DRY since now you have both the code and the description of the code (the docs). if the code changes - you MUST change the docs as well (otherwise the docs and the code are not overlapping, which is much worse than not having docs in the first place).

I might be completely wrong about documentation not being DRY, but this by itself could be a good conversation with a candidate .

lettersdigits··on My Interview at Uber
> The driver said that Uber gave him more business, but he didn’t make as much

I asked many Uber drivers (outside and inside my own country), and they all LOVED uber (bottom line - more jobs, more money, even if smaller profit margins per job)

I think in general it was much more appreciated in third world countries. (And also by me, safety-wise. regular yellow taxi drivers could be extremely dangerous in these places. so many tricks to make on tourists).

I truelly cannot remember a negative comment about it.

> I was planning to tip him well, but couldn’t find the tip option like the one I’ve seen in the Lyft app

I think that the rating system is much more powerful (even economically) than a $$$ tip.

A 5-start rating is even better than a $ tip - you will (in the long run, if others rate you high as well) make more jobs (thus more money) if you have a great rating.

Same goes the other way around: Giving 1-2 stars is even more criticizing than not leaving a tip - if your average rating is lower you will get less jobs. if it's below some threshold - game over.

I myself would prefer (if I were an Uber driver) that you just gave me a pampering 5-star rating and then have a nice day :)

(edit: new lines) (edit2: responded to a different quote from the article)

lettersdigits··on How terrible code gets written by sane people
> Obviously one could have thought of this before marrying and putting kids in school in the town with one tech firm

this was going to be my response, but then you said it yourself :)

The more intelligent and self-responsible act (which is hard, i know) would be to move to a better place before making extremely serious life choices such as marrying and having kids. same goes for partner finding - don't marry a crazy partner and then say 'I married a crazy partner and now we have 2 mutual children. i cannot leave, i am stuck with this crazy person who is also the parent of my children.'

and i know it is hard to find a non-'crazy' employer and a non-'crazy' partner- but this should be your goal and target, shouldn't it ?

also, you get better as time goes by, even if you don't want to (as long as you are a bit intelligent) - bad companies/life partners will present themselves as red-flags on an interview/date . and it is your responsibility to detect those red flags .

(edit: refactor the last paragraph)

lettersdigits··on How terrible code gets written by sane people
you are removing a lot of personal responsibility from the guy who is looking for the job. If you are born in a 'bad' place (regardless of the reason for it being 'bad' - a violent/poor neighborhood, a city without hope for jobs, a small country-side town with no tech industry at all, etc. etc.) - you should be responsible for improving your life/moving to a better city/etc.

to analogize from soccer: Messi plays at Bercelona, but is from argentina. Ronaldo plays at Real Radrid, but is from portugal. if ronaldo stayed in portugal, which teams would he be able to play with that would even become close to matching real madrid ? same goes for messi and barcelona. he could have said something like 'i was born in argentina, and no one here plays soccer like barceolna/real madrid. therefore - i will not play soccer because i was born in the wrong place'

lettersdigits··on How terrible code gets written by sane people
> The best code is the code that is easiest to manipulate and modify

this great (IMO) article comes to mind: http://programmingisterrible.com/post/139222674273/write-cod... :

"Write code that is easy to delete, not easy to extend"

lettersdigits··on How terrible code gets written by sane people
a good programmer should be able to identify bad companies to work for, which could solve many of the issues displayed in the article. it's much like choosing a good life partner - choosing a good life partner (instead of a crazy one) will save you from many troubles that you would encounter if you married the wrong person in the first place.

ps: i need to tell this more to myself. i already made bad choices regarding where i work, which forced me to quit those jobs at the end..

(edit: spacing)

← PreviousPage 2 of 2