Better HN
topnewbestaskshowjobs
Log inSign up

SimonB86

13 karma · joined Dec 12, 2011 (14y ago) · 14 submissions

Submissions

comment 14y ago · link · parent

The corresponding extension method syntax is:

  var filteredCustomers = customers
      .Join(orders,
          c => c.customerid,
          o => o.customerid,
          (c, o) => new { Customer = c, Order = o }
      )
      .Where(x => x.Customer.IsMale && x.Customer.Age > 30)
      .Where(x => x.Order.IsPending);

comment 14y ago · link · parent

Regarding the let keyword; the following code:

  var x = from post in posts
          let keywords = post.split(' ')
          ...
Is compiled* into:

  var x = posts
          .Select(post => new { keywords = post.split(' '), post })
          ...
* If you didn't know already, the compiler transforms query syntax into extension method syntax.

comment 14y ago · link · parent

I prefer using extension methods over query syntax; I personally find extension methods easier to read. I guess it's a matter of personal preference.

comment 14y ago · link · parent

The page you linked to is totally unrelated. You've linked to a blog post about redesigning the jQuery UI API - not the jQuery API.

comment 14y ago · link · parent

purge

comment 14y ago · link · parent

The use of the embedded Git binary is optional though; you can configure SourceTree to use the system installation of Git.

comment 14y ago · link · parent

Also, you should give some thought to your company's reputation...

Now you've ripped off another company's copyrighted material; I think you're running an immoral company, with total disregard for the law. Your company is one I wouldn't want to do business with.

Only recently a startup, Curebit, ripped off 37 Signals; and they got lots of damaging media attention because of it.

comment 14y ago · link · parent

Firstly the other videos are non-commercial parodies, whereas your video is a promotional video for commercial purposes.

Also even if Constantin Films does not enforce it's copyright, you are still breaching their copyright. Constantin Films have previously enforced the copyright on this video, and a quick check of Wikipedia shows there was a report yesterday that they have started doing so again.

You're actively and obviously breaking copyright laws.

comment 14y ago · link · parent

You're using copyrighted content in a commercial/promotional video. Did you get permission from the copyright holder (ie. the movie studio/company)?

comment 14y ago · link · parent

This is an interesting link: http://www.bbc.co.uk/news/magazine-17101370

comment 14y ago · link · parent

Knowing languages other than your native language can be really useful if you work for a multi-national company.

I'm a software developer. My previous gig was at European aerospace company, and my current gig is at international financial institution. At both of these companies there's a wide range of languages spoken, and being able to converse in other colleagues' native language can indeed be useful. Both of these employers see languages as a desirable, but not essential, skill.

comment 14y ago · link · parent

I had the exact same thought as soon as I read paragraph 2.

comment 14y ago · link · parent

It gives the impression that your website was not designed by you, but instead designed by another company. Is cwpStudios you? Or a company you work for?

comment 14y ago · link · parent

Not many people would answer "British" to the question "What country are you from?", because "British" is not a place, but a nationality. ;)

If you asked me what I am, I might respond "British" - whereas if you asked where I'm from, I might respond "Britain".