HNHacker News
TopNewBestAskShowJobs

SimonB86

13 karma · joined December 12, 2011

submissionscomments
SimonB86··on Best Practices for Linq Enumerables and Queryables
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);
SimonB86··on Best Practices for Linq Enumerables and Queryables
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.
SimonB86··on Best Practices for Linq Enumerables and Queryables
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.
SimonB86··on JQuery API site is down
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.
SimonB86··on Something is deeply broken in OS X memory management
purge
SimonB86··on SourceTree is a free Mac client for Git, Mercurial and Subversion
The use of the embedded Git binary is optional though; you can configure SourceTree to use the system installation of Git.
SimonB86··on How we are using 'Hitler reacts' video to convey our startup's positioning
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.

SimonB86··on How we are using 'Hitler reacts' video to convey our startup's positioning
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.

SimonB86··on How we are using 'Hitler reacts' video to convey our startup's positioning
You're using copyrighted content in a commercial/promotional video. Did you get permission from the copyright holder (ie. the movie studio/company)?
SimonB86··on Twenty-year-old Alex Rawlings speaks 11 languages
This is an interesting link: http://www.bbc.co.uk/news/magazine-17101370
SimonB86··on Twenty-year-old Alex Rawlings speaks 11 languages
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.

SimonB86··on Yay for Sugary JavaScript OO
I had the exact same thought as soon as I read paragraph 2.
SimonB86··on I'm a web designer
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?
SimonB86··on Motorola secures Europe-wide sales ban on iPhone, iPad
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".