Recent submissions

Comment · 7 years ago
I've interviewed a lot of people, and I've asked LL questions, besides other algorithmic questions, and mostly I ask these questions to new grads with no much experience. The reason is, if you don't have much work experience, what else would I ask you, it's something that you've been learning about recently in your CS degree, and I want to see if you can apply what you learned.

If you have work experience that is relevant, or don't have a CS degree, I'll ask something else.

For me I feel that a lot of people don't understand that an interview is a conversation, feel free to think out loud, ask questions, and ask for help. I want to see your thinking process, I don't really care about the actual solution.

Comment · 7 years ago
If you are only interested in what HEAD has, you can use `--depth 1` with clone
Comment · 8 years ago
Wouldn't that defeat the purpose of dynamic linking?
Comment · 8 years ago
Not exctly accurate, for the part of the number that is < 100, it will always be R-L, as in 25, would be 5 and twenty in Arabic.

Also for the part that is L-R, that is not the rule, as some people still read all the number as R-L (actually in a lot of historical documents that was the case), so the would read 1925 as five and twenty and nine hundred and a thousand. Where is now most people would read it as a thousand, and nine hundred, and five and twenty.

Comment · 9 years ago
What if foo is `null` or `undefined` ?
Comment · 9 years ago
Thanks, that's a nice explanation.
Comment · 9 years ago
Could you explain why is that the case, I've heard that multiple times, but for me the math doesn't work out.

If I earn an amount of (x+y), I would get taxed on (x+y), but if I donate x money, I would get taxed on y, but I've already paid x in donations, so unless there is something fishy going on with the x donations part, it would make sense for someone to not donate, as they are already being taxed on y, and the taxes on x would be less than x.

So how are the rich making these donations out of my wallet?

Comment · 9 years ago
Comment · 9 years ago
I'm sorry, I'm not a native English speaker, and sometimes I fall into these mistakes. I think what threw you off is my incorrect punctuation, as I should've wrote it as

> Is it not rude to start reading a book while you are having a lunch with someone? Why is the phone any different?

Comment · 9 years ago
For me it's not even a conscious effort, as it feels rude to be on your phone, when you are having a meal with someone. Is it not rude to start reading a book while you are having a lunch with someone, why is the phone any different.

When there is a need to look at your phone (Important message, a call, or even to look up something), I think the polite thing is to excuse yourself, do the thing really quickly, and get back to your meal.

Comment · 9 years ago
> I can make nasty off-handed comments to my friends in private chat all day, with very little fear that it'll see the light.

And then, someone decides to take a screenshot, out of context, and post it somewhere for the whole world to see.

Comment · 9 years ago
And if you don't have minimum wage/hiring/firing laws, that would help with the illegal immigrants problem, as there would be no incentive to hire an illegal immigrant (it's only the headache of in case you are caught).
Comment · 9 years ago
Have you ever tried to bring a laptop to an interview, and asked to use it instead of the whiteboard? Believe me very few would object.
Comment · 9 years ago
could you elaborate more, where does it say that your wife should make 80% than what you do?
Comment · 9 years ago
Here is my recipe (YMMV)

- Love what you do, this is extremely important, although you have goals in mind, you should enjoy the process to reach your goals, this would make you work harder, and failure wouldn't be a big deal, as you enjoy it.

- Practice, solve useless problems for fun, sharpen your skills, until you become really good at what you do.

- Really know what you are good at, and what you are not, and don't be afraid of pointing out what you don't know, even to someone who is interviewing you, and always know why you don't know, and if you need to know what you have to do.

- At this point, have the mentality whenever you go to an interview, that they would gain more from hiring you, that you would gain from being hired by them.

- Profit!!!.

Edit: formatting

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton