Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror

Comment: Re:Developers, Developer, Developers (Score 1) 125

Not really. Sure, many languages have things like LINQ Select/Where (map/filter), but that's just for objects. It's the expression trees where things get interesting. Expression trees allow a provider to generate a different artifact than a map call over objects. LINQ to Entities creates calls which the Entity Framework turns into SQL.

You can make a custom provider against any data source, really. There is an example of LINQ to Twitter that turns LINQ queries into Twitter API calls (http://linqtotwitter.codeplex.com/).

This feature requires language support, because when an Expression is needed, the compiler needs to turn a lambda (and so on) into a expression tree, not into compiled CLR code in a closure.

To be fair, something similar could be done in other languages with proper support. And writing a LINQ provider is non trivial, but it is possible and in certain cases, it can greatly simplify programming.

Comment: It's Microsoft vs. Google... (Score 4, Interesting) 83

by ndykman (#49433219) Attached to: Patent Case Could Shift Power Balance In Tech Industry

Well, to be fair, it's Microsoft vs. Motorola which was acquired by Google, which still holds the patents. Apple filed a brief in support of Microsoft. The ruling that Apple is support of upholding is that Microsoft only owed a couple of million a year for it's use of those standards in its products.

Motorola sought an amount of four billion a year plus 20 billion in back fees. Google and Qualcomm is arguing the latest ruling was over-reaching, and that they need the ability to charge more. But, given the initial demand, it is clear they want to charge orders of magnitude more for these patents and to seek relief from previous sales. It's pennies versus dollars and that adds up.

And frankly, Google should know better. It's benefited enormously from these technologies being available at a low cost. I know this goes against the Slashdot mindset, but Microsoft is on the right side of the argument here.

Comment: So, this is how bad research can get... (Score 1) 486

by ndykman (#49337895) Attached to: No, It's Not Always Quicker To Do Things In Memory
Awful. So, in a language with immutable strings, building a string like so:

for (int i = 0; i < 1000000; i++) { str += "1"; }

is really slow, but if you use a file buffer like so:

for (int i =0; i < 1000000; i++) { fileBuffer.write("1"); }

it's much faster. Wow. No kidding. Also, note, they don't flush until the end. This is laughable. No wonder CS programs are under attack if this is the kind of thing that people think they can publish.

Comment: Awesome project... (Score 3, Insightful) 35

by ndykman (#49332637) Attached to: MuseScore 2.0 Released

Time to make a donation. It's not really about the application, but what it enables. The sharing of free music scores and transcriptions, enabling a vibrant community of music sharing.

While I respect publishing rights for official scores, the fact is that there is a great set of transcriptions out there. This just helps the community at large.

Comment: Another Andres Hejisberg success story... (Score 1) 91

by ndykman (#49246913) Attached to: Google's Angular 2 Being Built With Microsoft's TypeScript

He really does have the knack for programming language design. I didn't get TypeScript at first, but with 1.4, it clicked. The great news about this is that Angular is a highly visible framework, and with this, more people will look at TypeScript and be willing to use it. Thanks to type definition files and definitelytyped.org, you can use a ton of JS libraries right now; hopefully, more people will officially maintain these files.

Also, this makes it easier to recommend it's use in work projects. Being able to say: "It's good enough for Angular, it's good enough for us" helps a ton.

Comment: Re:Good news (Score 1) 422

by ndykman (#48887157) Attached to: Disney Turned Down George Lucas's Star Wars Scripts

All too human? What? Nope, not even. They were cookie cutter flat characters that were completely devoid of any emotional reality. I've seen more chemistry between two rocks in a photo than Anakin and Padme in the movies. And there are so many examples of "WTF, people don't do that" "Hey, the person I'm supposed to marry later on and really cares about me, I just killed a entire village because my mom." The reaction wasn't: "Okay" (slowly walks away) "Hello, Jedi hotline, um, yea, one of your students just went completely bat shit serial killer. Please come fix it." No, it's "I get it". Nope, not even close.

Don't watch this, Obi Wan, it'll be hard to watch. Nope. The correct answer: Holy shit this is, kill this @#$@%$% we must.

I'm going to arrest you after you tried to kill me repeatedly to cover a plot to destroy our government? Nope. You are a solider, is why you have a sword, you enter battle, two come in, one comes out.

Okay, the person that tried to assert that guy died, but we have another shot. What do you do? Stride into the room and have a bullshit conversation? Nope. You go Leon, the Professional, cut the lights, drop out of the ceiling and kill that guy with piano wire. Why, because you are an organization that is tasked with keeping this Force thing from going ape-shit nuts, you don't get to play the moral high ground all the time. You learn to kick ass and you have to do it.

Again, the prequels sucked. The original movies aren't great, but they are a cultural artifact that impacted a lot of people. But, Lucas isn't not a good script writer. Period. Sorry.

Science and religion are in full accord but science and faith are in complete discord.

Working...