News for hackers. Stuff that matters.

SimonB86

Re:Best Practices for Linq Enumerables and Queryables on Friday August 24, 2012 @12:47PM (#4428357)
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);
Re:Best Practices for Linq Enumerables and Queryables on Friday August 24, 2012 @11:24AM (#4427994)
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.
Re:Best Practices for Linq Enumerables and Queryables on Friday August 24, 2012 @11:15AM (#4427956)
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.
Re:JQuery API site is down on Saturday May 05, 2012 @09:57PM (#3933892)
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.
Re:Something is deeply broken in OS X memory management on Monday April 23, 2012 @12:13PM (#3879508)
purge
The use of the embedded Git binary is optional though; you can configure SourceTree to use the system installation of Git.
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.

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.

You're using copyrighted content in a commercial/promotional video. Did you get permission from the copyright holder (ie. the movie studio/company)?
Re:Twenty-year-old Alex Rawlings speaks 11 languages on Tuesday February 21, 2012 @06:38AM (#3616150)
This is an interesting link: http://www.bbc.co.uk/news/magazine-17101370
Re:Twenty-year-old Alex Rawlings speaks 11 languages on Tuesday February 21, 2012 @05:39AM (#3615983)
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.

Re:Yay for Sugary JavaScript OO on Monday January 09, 2012 @05:18AM (#3442005)
I had the exact same thought as soon as I read paragraph 2.
Re:I'm a web designer on Tuesday December 13, 2011 @08:56AM (#3347453)
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?
Re:Motorola secures Europe-wide sales ban on iPhone, iPad on Monday December 12, 2011 @10:05AM (#3343693)
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".