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

Yes. But the Microsoft of today is a much different company than twenty years ago. They have completely different leadership. Is it fair to judge them still for then?


Are you committing your libs? If yes, you probably shouldn't. If no, then GitHub is only calculating your actual js LOC.


Always use a clean workspace.


I don't see how this is better than

var query = sql(`select * from user where id=${id}`);


In this case the sql function can not escape the id. If you were to use a tagged template, it could.


In your example, you get the concatenated string. If you use the tags, you can access the parts.


Yes that's something the author does not explain well. sql is not a normal function but a special template "handler" with fixed parameters.


It's just a tiny language feature, removing the parenthesis is not the point of the template literal. FWIW, I like the way it looks for styled-components:

  const NameTag = styled.div`
    font-size: 12pt;
    margin: 3px;
  `;


iirc, icloud was written in sproutcore. version 2 of sproutcoure became ember which is now in version 3. there was no upgrade path from sproutcore 1 to ember, so likely its a case of needing a rewrite and that not being prioritized.


What's curious about that is if this is solely a first world problem, then it should be easy to compare our sperm counts to that of men in 2nd/3rd world countries. The lack of that data in this article is troubling.


I've always found this a strange statistic. My children bring me greater joy and satisfaction than anything else I've ever done in my life and my relationship with my wife has only strengthened.


Have you ever tried just chewing gum when you have reflux? From what I can tell it causes you to continuously generate and swallow saliva which keeps the reflux down until you've digested.

I have a heital hernia and this works well for me (and got my wife through some tough episodes during pregancy).


Change approved.


Only if you never listen to new music. CDs cost around $10, which is your Spotify sub cost per month. Imagine only listening to one new album every month.


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

Search: