Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror

Comment: Re:Groovy (Score 1) 667

by niteice (#31729470) Attached to: The Struggle To Keep Java Relevant
The nice thing is that LINQ is just syntactic sugar. So the two cases are equivalent:

List<int> numbers = { 5, 383, 291, 274, 104, 184, 63 };
List<int> results = from n in numbers where n > 150 select n;
List<int> results2 = numbers.Where(n => n > 150);

If you like to write lambdas instead of SQL-like queries it works just as well and either is very expressive.

Medicine

Swine Flu Vaccine In Production 147

Posted by Soulskill
from the europe-wants-to-hog-it-all dept.
ravjen writes with news that "Swiss pharmaceutical company Novartis AG said they have successfully produced a swine flu vaccine weeks ahead of their expectations. The vaccine was made in cells, rather than grown in eggs as is usually the case with vaccines." This announcement came just a day after the World Health Organization declared H1N1's spread to be a pandemic. The vaccine has not been tested in humans yet, so the first batch is set to be used in clinical trials and pre-clinical testing. If all goes well, the new production method would allow Novartis to get the drug to market in large quantities by this fall. Other drug companies, such as Baxter International, have confirmed that they're in "full-scale production" of H1N1 vaccines as well.

Comment: Re:Because Snapdragon Is an ARM Processor! (Score 1) 125

by niteice (#28186767) Attached to: Qualcomm Demos Eee PC Running Android OS
Apple had the advantage of inheriting NeXT's already architecture-independent API, and all of their new code respected that. Unfortunately, Win32 is *mostly* source-compatible between architectures but not entirely - it's only recently that you start seeing explicit type sizes such as UINT32 instead of just UINT - you still often have to guess what that will be on your target architecture.

Apple also inherited the Mach-O format, which encapsulates code for different architectures into a single binary - core system libraries often have code for ppc, ppc64, i386, and x86_64 all in one. PE binaries don't have that luxury, so you often see multiple binaries per architecture - proggy_x86.exe and proggy_x64.exe, for example. Imagine the confusion that would cause for your average user with ARM thrown into the mix.

Comment: Re:No - there are plenty of safer alternatives (Score 2, Insightful) 486

by niteice (#27972185) Attached to: Microsoft To Banish Memcpy()

Or, better yet, if security really was the goal, develop a C-like language that was secure by design?

And then why don't you make it compile to non-native code, so you can do code analysis at runtime? Might as well give it a good standard library that uses all the features so people would try writing stuff. Of course, you can't name it C then, maybe you should give it a catchier name with some punctuation or other pun on the language.

Hey, wait a minute...

The Courts

RIAA Brief Attacks Free Software Foundation 554

Posted by timothy
from the but-copyleft-needs-copyright dept.
NewYorkCountryLawyer writes "The RIAA has requested permission to file a response to the amicus curiae brief filed by the Free Software Foundation in SONY BMG Music Entertainment v. Tenenbaum, the Boston case against a Boston University grad student accused of having downloaded some song files when in his teens. In their proposed response, the RIAA lawyers personally attacked The Free Software Foundation, Ray Beckerman (NewYorkCountryLawyer), and NYCL's blog, 'Recording Industry vs. The People.' The 9-page response (PDF) — 4 pages longer than the document to which it was responding — termed the FSF an organization 'dedicated to eliminating restrictions on copying, redistribution, and modifying computer programs,' and accused the FSF of having an 'open and virulent bias against copyrights' and 'blatant bias' against the record companies. They called 'Recording Industry vs. The People' an 'anti-recording industry web site' and stated that NYCL 'is currently subject to a pending sanctions motion for his conduct in representing a defendant' (without disclosing that plaintiffs' lawyers were 'subject to a pending motion for Rule 11 sanctions for their conduct in representing plaintiffs' in that very case)."

"Why waste negative entropy on comments, when you could use the same entropy to create bugs instead?" -- Steve Elias

Working...