Domain: slashdot.org
Stories and comments across the archive that link to slashdot.org.
Stories · 37,380
-
NASA Astronauts To Open New Space Station Windows
coondoggie writes "After some fancy robotic crane work over the past couple days, NASA Endeavour astronauts are preparing for tonight's final spacewalk where they will open the windows on the space station's sweet new dome-shaped observatory. The cupola observatory module is considered the ultimate observation deck. It is attached to an Earth-facing side of the International Space Station and has seven windows — six around the sides and one on top — that can be shuttered when not in use to protect them from micrometeoroids and the harsh space environment." -
Myst Online: Uru Live Returns As Free-To-Play
agrif writes "Shorah b'shemtee! Uru Live has been released for free, as a first step towards opening its source. This game, an MMO released by the makers of Myst and Riven in 2003, has been canceled, zombified, resurrected, canceled again, and is now about to be released as open source to its dedicated fan base. Massively has written a brief newbie guide if you're unfamiliar with the game." -
Myst Online: Uru Live Returns As Free-To-Play
agrif writes "Shorah b'shemtee! Uru Live has been released for free, as a first step towards opening its source. This game, an MMO released by the makers of Myst and Riven in 2003, has been canceled, zombified, resurrected, canceled again, and is now about to be released as open source to its dedicated fan base. Massively has written a brief newbie guide if you're unfamiliar with the game." -
Myst Online: Uru Live Returns As Free-To-Play
agrif writes "Shorah b'shemtee! Uru Live has been released for free, as a first step towards opening its source. This game, an MMO released by the makers of Myst and Riven in 2003, has been canceled, zombified, resurrected, canceled again, and is now about to be released as open source to its dedicated fan base. Massively has written a brief newbie guide if you're unfamiliar with the game." -
Myst Online: Uru Live Returns As Free-To-Play
agrif writes "Shorah b'shemtee! Uru Live has been released for free, as a first step towards opening its source. This game, an MMO released by the makers of Myst and Riven in 2003, has been canceled, zombified, resurrected, canceled again, and is now about to be released as open source to its dedicated fan base. Massively has written a brief newbie guide if you're unfamiliar with the game." -
Cellulosic Biofuel Finally Ready For the Road
wdebruij writes "After years of research, promises, and plenty of discussion here, biofuel from inedible greens such as switchgrass — and even from corn cobs — may finally be getting economically viable. Two enzyme producers, Novozyme and Genencor, have both announced that they can now produce fuel at prices competitive with current corn and petrol-based methods. This is particularly good news in the wake of another report that food-based biofuels could cause hunger." -
Cellulosic Biofuel Finally Ready For the Road
wdebruij writes "After years of research, promises, and plenty of discussion here, biofuel from inedible greens such as switchgrass — and even from corn cobs — may finally be getting economically viable. Two enzyme producers, Novozyme and Genencor, have both announced that they can now produce fuel at prices competitive with current corn and petrol-based methods. This is particularly good news in the wake of another report that food-based biofuels could cause hunger." -
Cellulosic Biofuel Finally Ready For the Road
wdebruij writes "After years of research, promises, and plenty of discussion here, biofuel from inedible greens such as switchgrass — and even from corn cobs — may finally be getting economically viable. Two enzyme producers, Novozyme and Genencor, have both announced that they can now produce fuel at prices competitive with current corn and petrol-based methods. This is particularly good news in the wake of another report that food-based biofuels could cause hunger." -
Cellulosic Biofuel Finally Ready For the Road
wdebruij writes "After years of research, promises, and plenty of discussion here, biofuel from inedible greens such as switchgrass — and even from corn cobs — may finally be getting economically viable. Two enzyme producers, Novozyme and Genencor, have both announced that they can now produce fuel at prices competitive with current corn and petrol-based methods. This is particularly good news in the wake of another report that food-based biofuels could cause hunger." -
Ask Matt Asay About Ubuntu and Canonical
A week after the announcement that open source advocate and blogger Matt Asay is leaving Alfresco for Canonical, in the role of COO, Matt has agreed to answer your questions about his role at Canonical, his vision for the future of Ubuntu, or the prospects for open source as we begin to emerge from recession. Usual Slashdot interview rules apply. (Disclaimer: Matt is on the board of advisors for Slashdot's parent company, Geeknet.) -
A Simple Guide To Net Neutrality
superapecommando writes in with a neutral introduction to net neutrality from ComputerWorld UK. While it doesn't go into a lot of technical depth, it's rare to see anything written on the subject that isn't rabid on one side or the other. "Google's recently announced plan to set up trial fiber-optic networks in the US with ultra-high-speed Internet connections puts the long running national debate over Net Neutrality back into high gear. A hot topic of discussion and debate in government and telecom circles since at least 2003, Net Neutrality, actually involves a broad array of topics, technologies and players. Here's a primer for those looking to get up to speed fast." -
Did We Lose the Privacy War?
eihab writes "I've been a fanatic about my online privacy for the last few years. I've been using NoScript and blocking Google Analytics, disabling third-party cookies, encrypting IM and doing everything in my power to keep data-miners at bay. Recently, I've been feeling like I'm just doing too much and still losing! No matter what I do, I know that there's a weak link somewhere, be it my ISP, Flash cookies, etc. I've recently gotten AT&T U-Verse, who, according to their privacy statement, will be monitoring my TV watching habits for advertisement purposes. I'm extremely annoyed by that, yet I love the service so much and I don't think I can cancel it. I just can't take this anymore. I have nothing to hide, but I do not want to be profiled and become member #5534289 in a database somewhere that records everything I do. I know I'm not that interesting to anyone, but the idea of someone being able to pull up everything about me with a simple SQL SELECT statement and a couple of JOINS makes me cringe. One of the reasons I hate data mining is that data security is not understood and almost non-existent at a lot of places. Case in point: I changed my life insurance two years ago, and the medical firm that conducted my health screening was broken into and computers with non-encrypted hard drives and patients' data were stolen. That medical firm didn't really need my SSN, but then again neither did AT&T when I signed up for U-Verse. Am I just too paranoid? Is privacy dead? Should I just give up and accept the fact that privacy is not the norm anymore (like Facebook's founder recently said) or should I keep fighting the good fight for my privacy?" -
Google Patents Country-Specific Content Blocking
theodp writes "Today Google was awarded US Patent No. 7,664,751 for its invention of Variable User Interface Based on Document Access Privileges, which the search giant explains can be used to restrict what Internet content people can see 'based on geographical location information of the user and based on access rights possessed for the document.' From the patent: 'For example, readers from the United States may be given "partial" access to the document while readers in Canada may be given "full" access to the document. This may be because the content provider has been granted full rights in the document from the publisher for Canadian readers but has not been granted rights in the United States, so the content provider may choose to only enable fair use display for readers in the United States.' Oh well, at least Google is 'no longer willing to continue censoring [their] results on Google.cn.'" -
Acer Announces First NVIDIA Ion2-Based Netbook
MojoKid writes "Acer has just taken the wraps off the new Acer Aspire One 532G netbook at the Mobile World Congress in Barcelona. The machine is the first netbook with dedicated next-generation NVIDIA ION 2 graphics acceleration. The new Aspire One is also enabled with NVIDIA's recently announced Optimus technology to balance multimedia performance when needed, along with battery life savings, seamlessly switching to integrated Intel Atom/Pinetrail graphics when it's not required. Word is Ion 2 is going to be outfitted with twice the number of shaders for even more graphics horsepower as well." -
Acer Announces First NVIDIA Ion2-Based Netbook
MojoKid writes "Acer has just taken the wraps off the new Acer Aspire One 532G netbook at the Mobile World Congress in Barcelona. The machine is the first netbook with dedicated next-generation NVIDIA ION 2 graphics acceleration. The new Aspire One is also enabled with NVIDIA's recently announced Optimus technology to balance multimedia performance when needed, along with battery life savings, seamlessly switching to integrated Intel Atom/Pinetrail graphics when it's not required. Word is Ion 2 is going to be outfitted with twice the number of shaders for even more graphics horsepower as well." -
Subversives In South Carolina Mostly Safe
sabt-pestnu sends in an update on our story about South Carolina and subversives. "According to Eugene Volokh, the Raw Story article has got it backwards. Westlaw says that the cited statute dates back to 1951, when a lot of anti-Communist statutes were being enacted nationwide. What brought Raw Story's attention to it may be that South Carolina is once again trying to repeal the archaic law. And in any event, a half-century-old case (Yates vs. United States, 354 U.S. 298 (1957)) took most of the teeth out of such laws." -
New Bounds On the Higgs Boson Mass
As the LHC continues to run at half power for the next year+, the US-based Tevatron continues to crank out results. Reader hweimer writes "Three new papers in Physical Review Letters present the latest results for the Higgs boson mass coming from Fermilab's Tevatron. The new data mandates that the Higgs boson mass within the standard model lies between 115 and 150 GeV." A year back we discussed the Tevatron's previous shrinking of the search space for the Higgs "God particle." -
New Bounds On the Higgs Boson Mass
As the LHC continues to run at half power for the next year+, the US-based Tevatron continues to crank out results. Reader hweimer writes "Three new papers in Physical Review Letters present the latest results for the Higgs boson mass coming from Fermilab's Tevatron. The new data mandates that the Higgs boson mass within the standard model lies between 115 and 150 GeV." A year back we discussed the Tevatron's previous shrinking of the search space for the Higgs "God particle." -
Verizon CTO Says 4G Service Is On Track
Verizon has announced that it is on track to roll out their new 4G LTE service using the 700 MHz band that it acquired in the recent FCC auction. Targeted first towards USB air cards for laptop customers, the service will be extended to cell phones and other mobile devices with embedded LTE eventually. Testing in Boston and Seattle should conclude in the next couple of months and commercial deployments should follow soon thereafter. "Lynch said getting voice to work over LTE has been particularly challenging. But that challenge is getting resolved as Verizon and other members of the GSMA announced Monday they are supporting a standard that uses IMS technology to deliver voice services over LTE. Still, more work needs to be done. Until a solution is complete, Verizon will use its CDMA network to provide voice services. And the LTE network will be used for data. Eventually, when voice over LTE becomes a reality, Verizon will use that technology. Verizon will also have to integrate EV-DO into its LTE offering to ensure that customers can switch to the 3G EV-DO network when the 4G LTE network is not available. Even though Verizon is being aggressive in building its network, it won't happen overnight." -
Operation Titstorm Hits the Streets
schliz writes "Hacker group 'Anonymous' is organising international, real-life protests of the Australian mandatory internet filter this coming Saturday. Protests will take place in major Australian cities as well as at Australian embassies around the world. The protests are said to be the second stage of 'Operation Titstorm,' which unleashed a prolonged DDoS attack on Australian government websites last week. Organisers of the so-called Project Freeweb said: 'If passed, this legislation will set a disturbing precedent at an international level. The public, not the Government, should have the right to decide what is deemed appropriate for you or your family to be exposed to.'" -
It's 2010; What's the Best E-Reader?
-
Linux Not Quite Ready For New 4K-Sector Drives
Theovon writes "We've seen a few stories recently about the new Western Digital Green drives. According to WD, their new 4096-byte sector drives are problematic for Windows XP users but not Linux or most other OSes. Linux users should not be complacent about this, because not all the Linux tools like fdisk have caught up. The result is a reduction in write throughput by a factor of 3.3 across the board (a 230% overhead) when 4096-byte clusters are misaligned to 4096-byte physical sectors by one or more 512-byte logical sectors. The author does some benchmarks to demonstrate this. Also, from the comments on the article, it appears that even parted is not ready, since by default it aligns to 'cylinder' boundaries, which are not physical cylinder boundaries and are multiples of 63." -
Google.cn Still Remains In China
hackingbear writes "Google appears to be content to remain in China doing business as usual while it finds a way to work within the system, according to one of the search giant's founders. This despite a strong statement 30 days ago that it would stop censoring search results in China and possibly pull its business out of that country. And the company is still unwilling to confirm or deny if the alleged attacks were carried out by the Chinese government. 'I don't actually think the question of whether [the attacks were performed by] the Chinese government is that important,' Brin said. (That's the difference between state-sponsor vs. individual hacking. Why is that not important?) In the mean time, shortly after we celebrated google.cn lifting censorship, the exact same censorship has been quietly re-enabled as proved by this Chinese search query on June 4, despite the lack of any concrete actions by the Chinese government, which has so far made only useless general and standard statements on the matter." -
Google.cn Still Remains In China
hackingbear writes "Google appears to be content to remain in China doing business as usual while it finds a way to work within the system, according to one of the search giant's founders. This despite a strong statement 30 days ago that it would stop censoring search results in China and possibly pull its business out of that country. And the company is still unwilling to confirm or deny if the alleged attacks were carried out by the Chinese government. 'I don't actually think the question of whether [the attacks were performed by] the Chinese government is that important,' Brin said. (That's the difference between state-sponsor vs. individual hacking. Why is that not important?) In the mean time, shortly after we celebrated google.cn lifting censorship, the exact same censorship has been quietly re-enabled as proved by this Chinese search query on June 4, despite the lack of any concrete actions by the Chinese government, which has so far made only useless general and standard statements on the matter." -
Pittsburgh, Seattle Announce Interest In Google's Fiber Trial
An anonymous reader contributes a link to a press release from the mayor of Pittsburgh that says the city has announced, along with Carnegie Mellon University, University of Pittsburgh Medical Center, and the University of Pittsburgh, that it intends to respond to Google's 1Gbps FTTH (Fiber to the Home) request for information. Seattle's mayor, too, wants in on the action, and more cities will surely pile on. -
Directed Energy Weapon Downs Mosquitos
wisebabo writes "Nathan Myhrvol demonstrated at TED a laser, built from parts scrounged from eBay, capable of shooting down not one but 50 to 100 mosquitos a second. The system is 'so precise that it can specify the species, and even the gender, of the mosquito being targeted.' Currently, for the sake of efficiency, it leaves the males alone because only females are bloodsuckers. Best of all the system could cost as little as $50. Maybe that's too expensive for use in preventing malaria in Africa but I'd buy one in a second!" We ran a story about this last year. It looks like the company has added a bit more polish, and burning mosquito footage to their marketing. -
Texas Textbooks Battle Is Actually an American War
ideonexus writes "I've been lackadaisical when it comes to following stories about Texas schoolboard attempts to slip creationism into biology textbooks, dismissing the stories as just 'dumbass Texans,' but what I didn't realize is that Texas schoolbooks set the standard for the rest of the country. And it's not just Creationism that this Christian coalition is attempting to bring into schoolbooks, but a full frontal assault on history, politics, and the humanities that exploits the fact that final decisions are being made by a school board completely academically unqualified to make informed evaluations of the changes these lobbyists propose. This evangelical lobby has successfully had references to the American Constitution as a 'living document,' as textbooks have defined it since the 1950s, removed in favor of an 'enduring Constitution' not subject to change, as well as attempting to over-emphasize the role Christianity played in the founding of America. The leaders of these efforts outright admit they are attempting to redefine the way our children understand the political landscape so that, when they grow up, they will have preconceived notions of the American political system that favor their evangelical Christian goals." -
Texas Textbooks Battle Is Actually an American War
ideonexus writes "I've been lackadaisical when it comes to following stories about Texas schoolboard attempts to slip creationism into biology textbooks, dismissing the stories as just 'dumbass Texans,' but what I didn't realize is that Texas schoolbooks set the standard for the rest of the country. And it's not just Creationism that this Christian coalition is attempting to bring into schoolbooks, but a full frontal assault on history, politics, and the humanities that exploits the fact that final decisions are being made by a school board completely academically unqualified to make informed evaluations of the changes these lobbyists propose. This evangelical lobby has successfully had references to the American Constitution as a 'living document,' as textbooks have defined it since the 1950s, removed in favor of an 'enduring Constitution' not subject to change, as well as attempting to over-emphasize the role Christianity played in the founding of America. The leaders of these efforts outright admit they are attempting to redefine the way our children understand the political landscape so that, when they grow up, they will have preconceived notions of the American political system that favor their evangelical Christian goals." -
Texas Textbooks Battle Is Actually an American War
ideonexus writes "I've been lackadaisical when it comes to following stories about Texas schoolboard attempts to slip creationism into biology textbooks, dismissing the stories as just 'dumbass Texans,' but what I didn't realize is that Texas schoolbooks set the standard for the rest of the country. And it's not just Creationism that this Christian coalition is attempting to bring into schoolbooks, but a full frontal assault on history, politics, and the humanities that exploits the fact that final decisions are being made by a school board completely academically unqualified to make informed evaluations of the changes these lobbyists propose. This evangelical lobby has successfully had references to the American Constitution as a 'living document,' as textbooks have defined it since the 1950s, removed in favor of an 'enduring Constitution' not subject to change, as well as attempting to over-emphasize the role Christianity played in the founding of America. The leaders of these efforts outright admit they are attempting to redefine the way our children understand the political landscape so that, when they grow up, they will have preconceived notions of the American political system that favor their evangelical Christian goals." -
Rootkit May Be Behind Windows Blue Screen
L3sPau1 writes "A rootkit infection may be the cause of a Windows Blue Screen of Death issue experienced by Windows XP users who applied the latest round of Microsoft patches. It appears that the affected Windows PCs had the rootkit infection prior to deploying the Microsoft patches. Researcher Patrick W. Barnes, investigating the issue, has isolated the infection to the Windows atapi.sys file, a driver used by Windows to connect hard drives and other components. Barnes identified the infection as the Tdss-rootkit, which surfaced last November and has been spreading quickly, creating zombie machines for botnet activity." -
Anonymous Speaks About Australian Gov't. Attacks
daria42 writes "The loose-knit collective of individuals known as 'Anonymous' has broken its silence about the distributed denial of service attacks on the Australian government. An individual (who insisted he or she is not a spokesperson for the group) said the attacks were more effective at stopping the government's Internet filtering project than signing a petition, and that the attacks could go on for months." The site where some members of Anonymous are said to hang out, 4chan, got a visibility boost yesterday when its founder moot spoke at the TED conference. -
France Votes Tuesday On Net Censorship
angry tapir writes "French lawmakers will vote next Tuesday on a proposal to filter Internet traffic. Part of a new security bill, the measure is intended to catch child pornographers. However, once the filtering system is in place it will allow the government to censor other material too. Slashdot has previously discussed Australia's proposed ISP-level filter." -
Google Buys AI Social Search Service Aardvark
eldavojohn writes "MIT's Tech Review is covering an acquisition it finds very interesting. Google (which recently announced Buzz) has acquired Aardvark. The review covered Aardvark and the artificial intelligence it uses in its searches in 2009." -
EU Overturns Agreement With US On Banking Data
Following the lead of the civil liberties committee which last week recommended dropping it (against the wishes of the US), qmaqdk writes "The EU parliament overturned the previous agreement with the US which allowed US intelligence agencies to access EU banking data." -
FAA Data Shows Exploding Batteries Are Rare, Small Risk
ericatcw writes "While the US government is intent on adding new rules around the shipment and carrying of Lithium-Ion batteries on passenger and cargo planes, data from its own Federal Aviation Agency show that the risk of being on an airplane where someone — not necessarily you — suffers a minor injury due to a battery is only one in 28 million, reports Computerworld, which analyzed the data (skip to the chart here) using the free Tableau Public data visualization service. Getting killed in a car accident, by contrast, is 4,300 times more likely. Opponents say the rules could raise the cost of shopping online and add hassles for fliers and consumers." -
Anti-Piracy Windows 7 Update Phones Home Quarterly
Lauren Weinstein sends in news of a major and disturbing Microsoft anti-piracy initiative called Windows Activation Technologies, or WAT. Here is Microsoft's blog post giving their perspective on what WAT is for. From Lauren's blog: "The release of Windows 7 'Update for Microsoft Windows (KB71033)' will change the current activation and anti-piracy behavior of Windows 7 by triggering automatic 'phone home' operations over the Internet to Microsoft servers, typically for now at intervals of around 90 days. ... These automatic queries will repeatedly — apparently for as long as Windows is installed — validate your Windows 7 system against Microsoft's latest database of pirated system signatures (currently including more than 70 activation exploits known to Microsoft). If your system matches — again even if up to that time (which could be months or even years since you obtained the system) it had been declared to be genuine — then your system will be 'downgraded' to 'non-genuine' status until you take steps to obtain what Microsoft considers to be an authentic, validated, Windows 7 license. ... KB971033... is scheduled to deploy to the manual downloading 'Genuine Microsoft Software' site on February 16, and start pushing out automatically through the Windows Update environment on February 23. ... [F]or Microsoft to assert that they have the right to treat ordinary PC-using consumers in this manner — declaring their systems to be non-genuine and downgrading them at any time — is rather staggering." Update: 02/12 02:08 GMT by KD : Corrected the Microsoft Knowledge Base number to include a leading 9 that had been omitted in the pre-announcement, per L. Weinstein. -
Mozilla Wrongly Accused Sothink Addon of Malware
eldavojohn writes "Mozilla has admitted to wrongly accusing Sothink of distributing a video downloader with a trojan virus as a Firefox addon. From their official blog: 'We've worked with security experts and add-on developers to determine that the suspected trojan in Version 4.0 of Sothink Video Downloader was a false positive and the extension does not include malware.' Before you go download that addon, however, keep in mind that Sothink has come under fire before for GPL violations and dishonesty." -
RIAA Insists On 3rd Trial In Thomas Case
NewYorkCountryLawyer writes "Not satisfied with the reduced $54,000 verdict which the Judge allowed it in Capitol Records v. Thomas-Rasset, representing approximately 6500 times the amount of their actual damages, the RIAA has decided to take its chances on a third trial, at which it could only win a verdict that is equal to, or less than, $54,000. Since a 3rd trial in and of itself makes no economic sense, and since the RIAA's lawyers inappropriately added 7 pages of legal argument to their 'notice', it can only be assumed that the reason they are opting for a 3rd trial is to hope that they can somehow bait the Judge into making an error that will help them on an appeal." -
The Art of Unit Testing
FrazzledDad writes "'We let the tests we wrote do more harm than good.' That snippet from the preface of Roy Osherove's The Art of Unit Testing with Examples in .NET (AOUT hereafter) is the wrap up of a frank description of a failed project Osherove was part of. The goal of AOUT is teaching you great approaches to unit testing so you won't run into similar failures on your own projects." Keep reading for the rest of FrazzledDad's review. The Art of Unit Testing with Examples in .NET author Roy Osherove pages 296 publisher Manning rating 9/10 reviewer FrazzledDad ISBN 1933988274 summary Soup-to-nuts unit testing with examples in .NET AOUT is a well-written, concise book walking readers through many different aspects of unit testing. Osherove's book has something for all readers, regardless of their experience with unit testing. While the book's primary focus is .NET, the concepts apply to many different platforms, and Osherove also covers a few Java tools as well.
Osherove has a long history of advocating testing in the .NET space. He's blogged about it extensively, speaks at many international conferences, and leads a large number of Agile and testing classes. He's also the chief architect at TypeMock, an isolation framework that's a tool you may make use of in your testing efforts – and he's very up front about his involvement with that tool when discussing isolation techniques in the book. He does a very good job of not pushing his specific tool and also covers several others, leaving me feeling there wasn't any bias toward his product whatsoever.
AOUT does a number of different things really, really well. First off, it focuses solely on unit testing. Early on Osherove lays out the differences between unit and integration tests, but he quickly moves past that and stays with unit tests the rest of the book. Secondly, Osherove avoids pushing any particular methodology (Test Driven Development, Behavior Driven Development, etc.) and just stays on critical concepts around unit testing.
I particularly appreciated that latter point. While I'm a proponent of *DD, it was nice to read through the book without having to filter out any particular dogma biases. I think that mindset makes this book much more approachable and useful to a broader audience – dive in to unit testing and learn the fundamentals before moving on to the next step.
I also enjoyed that Osherove carries one example project through the entire book. He takes readers through a journey as he builds a log analyzer and uses that application to drive discussion of specific testing techniques. There are other examples used in the book, but they're all specific to certain situations; the brunt of his discussion remains on the one project which helps keep readers focused in the concepts Osherove's laying out.
The book's first two chapters are the obligatory introduction to unit testing frameworks and concepts. Osherove quickly moves through discussions of "good" unit tests, offers up a few paragraphs on TDD, and lays out a few bits around unit test frameworks in general. After that he's straight in to his "Core Techniques" section where he discusses stubs, mocks, and isolation frameworks. The third part, "The Test Code" covers hierarchies and pillars of good testing. The book finishes with "Design and Process" which hits on getting testing solidly integrated into your organization, plus has a great section on trying to deal with testing legacy systems. There are a couple handy appendices covering design issues and tooling.
Osherove uses his "Core Techniques" section to clearly lay out the differences between stubs and mocks, plus he covers using isolation frameworks such as Rhino.Mocks or TypeMock to assist with implementing these concepts. I enjoyed reading this section because too many folks confuse the concepts of stubbing and mocking. They're not interchangeable, and Osherove does a great job emphasizing where you should use stubs and mocks to deal with dependencies and interactions, respectively.
The walkthrough of splitting out a dependency and using a stub is a perfect example of why this book's so valuable: Osherove clearly steps through pulling the dependency out to an interface, then shows you different methods of using a stub for testing via injection by constructors, properties, or method parameters. He's also very clear about the drawbacks of each approach, something I find critical in any design-related discussion – let me know what things might cause me grief later on!
While the discussion on mocking, stubbing, and isolation was informative and well-written, I got the most out of chapters 6 ("Test hierarchies and organization") and 7 ("The pillars of good tests"). The hierarchy discussion in particular caused me to re-think how I've been organizing an evolving suite of Selenium-based UI tests. I was already making use of DRY and refactoring out common functionality into factory and helper methods; however, Osherove's discussion led to me re-evaluating the overall structure, resulting in some careful use of base class and inheritance. His concrete examples of building out a usable test API for your environment also changed how I was handling namespaces and general naming.
If you're in an organization that's new to testing, or if you're trying to deal with getting testing around legacy software, then the last two chapters of the book are must-read sections. Changing cultures inside organizations is never easy, and Osherove shows a number of different tools you can use when trying to drive the adoption of testing in your organizations. My own experience has shown you'll need to use combinations of many of these including finding champions, getting management buy off, and most importantly learning how to deal with the folks who become roadblocks.
The Art of Unit Testing does a lot of things really well. I didn't feel the book did anything poorly, and I happily include it in my list of top software engineering/craftsmanship books I've read. All software developers, regardless of their experience with unit testing, stand to learn something from it.
You can purchase The Art of Unit Testing with Examples in .NET from amazon.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page. -
The Art of Unit Testing
FrazzledDad writes "'We let the tests we wrote do more harm than good.' That snippet from the preface of Roy Osherove's The Art of Unit Testing with Examples in .NET (AOUT hereafter) is the wrap up of a frank description of a failed project Osherove was part of. The goal of AOUT is teaching you great approaches to unit testing so you won't run into similar failures on your own projects." Keep reading for the rest of FrazzledDad's review. The Art of Unit Testing with Examples in .NET author Roy Osherove pages 296 publisher Manning rating 9/10 reviewer FrazzledDad ISBN 1933988274 summary Soup-to-nuts unit testing with examples in .NET AOUT is a well-written, concise book walking readers through many different aspects of unit testing. Osherove's book has something for all readers, regardless of their experience with unit testing. While the book's primary focus is .NET, the concepts apply to many different platforms, and Osherove also covers a few Java tools as well.
Osherove has a long history of advocating testing in the .NET space. He's blogged about it extensively, speaks at many international conferences, and leads a large number of Agile and testing classes. He's also the chief architect at TypeMock, an isolation framework that's a tool you may make use of in your testing efforts – and he's very up front about his involvement with that tool when discussing isolation techniques in the book. He does a very good job of not pushing his specific tool and also covers several others, leaving me feeling there wasn't any bias toward his product whatsoever.
AOUT does a number of different things really, really well. First off, it focuses solely on unit testing. Early on Osherove lays out the differences between unit and integration tests, but he quickly moves past that and stays with unit tests the rest of the book. Secondly, Osherove avoids pushing any particular methodology (Test Driven Development, Behavior Driven Development, etc.) and just stays on critical concepts around unit testing.
I particularly appreciated that latter point. While I'm a proponent of *DD, it was nice to read through the book without having to filter out any particular dogma biases. I think that mindset makes this book much more approachable and useful to a broader audience – dive in to unit testing and learn the fundamentals before moving on to the next step.
I also enjoyed that Osherove carries one example project through the entire book. He takes readers through a journey as he builds a log analyzer and uses that application to drive discussion of specific testing techniques. There are other examples used in the book, but they're all specific to certain situations; the brunt of his discussion remains on the one project which helps keep readers focused in the concepts Osherove's laying out.
The book's first two chapters are the obligatory introduction to unit testing frameworks and concepts. Osherove quickly moves through discussions of "good" unit tests, offers up a few paragraphs on TDD, and lays out a few bits around unit test frameworks in general. After that he's straight in to his "Core Techniques" section where he discusses stubs, mocks, and isolation frameworks. The third part, "The Test Code" covers hierarchies and pillars of good testing. The book finishes with "Design and Process" which hits on getting testing solidly integrated into your organization, plus has a great section on trying to deal with testing legacy systems. There are a couple handy appendices covering design issues and tooling.
Osherove uses his "Core Techniques" section to clearly lay out the differences between stubs and mocks, plus he covers using isolation frameworks such as Rhino.Mocks or TypeMock to assist with implementing these concepts. I enjoyed reading this section because too many folks confuse the concepts of stubbing and mocking. They're not interchangeable, and Osherove does a great job emphasizing where you should use stubs and mocks to deal with dependencies and interactions, respectively.
The walkthrough of splitting out a dependency and using a stub is a perfect example of why this book's so valuable: Osherove clearly steps through pulling the dependency out to an interface, then shows you different methods of using a stub for testing via injection by constructors, properties, or method parameters. He's also very clear about the drawbacks of each approach, something I find critical in any design-related discussion – let me know what things might cause me grief later on!
While the discussion on mocking, stubbing, and isolation was informative and well-written, I got the most out of chapters 6 ("Test hierarchies and organization") and 7 ("The pillars of good tests"). The hierarchy discussion in particular caused me to re-think how I've been organizing an evolving suite of Selenium-based UI tests. I was already making use of DRY and refactoring out common functionality into factory and helper methods; however, Osherove's discussion led to me re-evaluating the overall structure, resulting in some careful use of base class and inheritance. His concrete examples of building out a usable test API for your environment also changed how I was handling namespaces and general naming.
If you're in an organization that's new to testing, or if you're trying to deal with getting testing around legacy software, then the last two chapters of the book are must-read sections. Changing cultures inside organizations is never easy, and Osherove shows a number of different tools you can use when trying to drive the adoption of testing in your organizations. My own experience has shown you'll need to use combinations of many of these including finding champions, getting management buy off, and most importantly learning how to deal with the folks who become roadblocks.
The Art of Unit Testing does a lot of things really well. I didn't feel the book did anything poorly, and I happily include it in my list of top software engineering/craftsmanship books I've read. All software developers, regardless of their experience with unit testing, stand to learn something from it.
You can purchase The Art of Unit Testing with Examples in .NET from amazon.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page. -
Microsoft Wins Windows XP WGA Lawsuit
Rish writes "A lawsuit that accused Microsoft of misleading consumers to download and install an update for Windows Genuine Advantage (WGA) under the guise that it was critical security update has been tossed out. Last month, a federal judge refused to certify the lawsuit as a class action, which would have meant anyone who owned a Windows XP PC in mid-2006 could join the case without having to hire an attorney, and on Friday the same judge dismissed the case completely." -
Is Internet Explorer 6/7 Support Required Now?
k33l0r writes "Following Google's announcement ending support for Internet Explorer 6, I find myself wondering whether we (Web developers) really need to continue providing support for IE6 and IE7. Especially when creating Web sites intended for technical audiences, wouldn't it be best to end support for obsoleted browsers? Would this not provide additional incentives to upgrade? Recently I and my colleagues had to decide whether it was worth our time to try to support anything before IE8, and in the end we decided to redirect any IE6/7 user-agent to a separate page explaining that the site is not accessible with IE 6 or 7. This was easy once we saw from our analytics that fewer than 5% of visitors to the site were using IE at all. Have you had to make a choice like this? If so, what was your decision and what was the reasoning behind it?" -
India Suspended From PayPal For "At Least a Few Months"
More details have come about about what was behind PayPal's decision to suspend personal payments to any user in India, as we discussed on Sunday. In a blog post today, PayPal revealed that payments to India will remain in suspension for at least a few months. Customers in India will be able to pull rupees out of the service into their bank accounts within a few days. The suspension came about when Indian government regulators raised questions about whether PayPal's service was enabling remittances (transfers of money by foreign workers) to Indian citizens. "The problems may have been triggered by a marketing push that promotes PayPal as a way to send money abroad, a source familiar with the matter said. The campaign — which reads 'As low as $1.50 to send $300 to countries like India' — may have caught the attention of Indian regulators, the source said." -
Google Buzz — First Reactions
Google announced Buzz today, as we anticipated this morning. CNET has a workmanlike description of the social-networking service, which is integrated into gmail. CNET identifies a central obstacle Buzz will have to overcome to gain traction: "The problem, however, will be the increasing backlash Google is seeing from the general public over how much data the company already controls on their online habits." Buzz is being rolled out over the next few days so some people will see a Buzz folder in their gmail, but most won't yet (this Twitter post explains how Safari users can get an early glimpse). A blog posting up at O'Reilly Answers points out some of the distinguishing characteristics of Google Buzz — one interesting one being its ability to post an update either publicly or privately, at the user's option. This design choice places it between the public-by-default Twitter and the private-by-default Facebook. Lauren Weinstein sounds a note of caution about the inherent privacy risks of Google's method of filling out initial friend profiles by automatic friending. -
A "Never Reboot" Service For Linux
An anonymous reader writes "Ksplice, the company based on the MIT Ksplice project, is now offering its 'never reboot' service for Red Hat, Debian, and other Linux distros. You subscribe and get real-time kernel security updates that apply in-memory instead of rebooting. Last summer we discussed the free service for Ubuntu. Cool tech, but will people really pay $4 a month for this?" -
A "Never Reboot" Service For Linux
An anonymous reader writes "Ksplice, the company based on the MIT Ksplice project, is now offering its 'never reboot' service for Red Hat, Debian, and other Linux distros. You subscribe and get real-time kernel security updates that apply in-memory instead of rebooting. Last summer we discussed the free service for Ubuntu. Cool tech, but will people really pay $4 a month for this?" -
Microsoft Says Windows 7 Not Killing Batteries
VindictivePantz sends word that the Windows 7 team has posted a new blog entry discussing their conclusions about the reported Windows 7 battery failures. "To the very best of the collective ecosystem knowledge, Windows 7 is correctly warning batteries that are in fact failing and Windows 7 is neither incorrectly reporting on battery status nor in any way whatsoever causing batteries to reach this state. In every case we have been able to identify the battery being reported on was in fact in need of recommended replacement. ...every single indication we have regarding the reports we've seen are simply Windows 7 reporting the state of the battery using this new feature and we're simply seeing batteries that are not performing above the designated threshold. ... We are as certain as we can be that we have addressed the root cause and concerns of this report, but we will continue to monitor the situation." -
Signs of Water Found On Saturnian Moon Enceladus
Matt_dk writes "Scientists working on the Cassini space mission have found negatively charged water ions in the ice plume of Enceladus. Their findings, based on analysis from data taken in plume fly-throughs in 2008 and reported in the journal Icarus, provide evidence for the presence of liquid water, which suggests the ingredients for life inside the icy moon. The Cassini plasma spectrometer, used to gather this data, also found other species of negatively charged ions including hydrocarbons." -
Space Shuttle Spy Gets 15 Years
goG writes "A Chinese-born engineer was sentenced Monday to more than 15 years in prison for hoarding sensitive information about the US space shuttle with the intent of giving it to China. US District Judge Cormac Carney called Chung's crimes a matter of national security, saying he had committed a breach against the trust Boeing and the country had placed in him. Attorney Greg Staples said, 'The [People's Republic of China] is bent on stealing sensitive information from the United States and shows no sign of relenting. Only strong sentences offer any hope of dissuading others from helping the PRC get that technology.' Staples also 'noted in sentencing papers that Chung amassed a personal wealth of more than $3 million US while betraying his adopted country.'" -
Call For Scientific Research Code To Be Released
Pentagram writes "Professor Ince, writing in the Guardian, has issued a call for scientists to make the code they use in the course of their research publicly available. He focuses specifically on the topical controversies in climate science, and concludes with the view that researchers who are able but unwilling to release programs they use should not be regarded as scientists. Quoting: 'There is enough evidence for us to regard a lot of scientific software with worry. For example Professor Les Hatton, an international expert in software testing resident in the Universities of Kent and Kingston, carried out an extensive analysis of several million lines of scientific code. He showed that the software had an unacceptably high level of detectable inconsistencies. For example, interface inconsistencies between software modules which pass data from one part of a program to another occurred at the rate of one in every seven interfaces on average in the programming language Fortran, and one in every 37 interfaces in the language C. This is hugely worrying when you realise that just one error — just one — will usually invalidate a computer program. What he also discovered, even more worryingly, is that the accuracy of results declined from six significant figures to one significant figure during the running of programs.'"