Design by Contract in C++? 114

An anonymous reader asks: "I have read some of the stuff on Eiffel, watched their tutorial videos about design by contract, and the entire thing sounds like a pretty good idea. However, the problem is that we don't use Eiffel at work, and I highly doubt I could get people to come around to the idea of switching to it. Although we use a lot of C++, I can imagine that a lot of the ideas from Eiffel can be applied there. I have looked around on the net and found a few articles talking about different ways of applying design by contract using assert statements and the like. I also found the dlib C++ library on SourceForge which, among other things, puts a design by contract face on a lot of API calls. So, there are obviously people doing it. What is everyone's experience with Design by Contract in C++? What tools are there that help make it a workable system? Lastly, are there any pitfalls to taking this approach in C++?"

Open-Source Prosthetics 51

D H NG writes "Wired News has a story about the non-profit Open Prosthetics Project. The organization was founded last year by Jonathan Kuniholm, a graduate student in biomedical engineering at Duke University who lost his arm below the elbow in Iraq. Open Prosthetics Project applies the ethical and intellectual property foundation of open-source software to the task of building better artificial limbs. So far, the project has produced a 'handful' of useful homebrew prosthetic hacks, and is closing in on a solution that would dramatically improve the functionality of the common hook device."

Could You Be Addicted to the Internet? 261

Billosaur writes "Over at The Register, Dr Stephen Juan has this interesting article on Internet Addiction Disorder (IAD). Apparently this has been around since at least 1995 and there are those lobbying for it to be included in the DSM-IV. While some people use the Internet a lot for work or to keep in touch with family & friends as well as banking and bill-paying, it's interesting to thing that some people actually become addicted. There's still a lot of controversy over the diagnosis, whether this is true addiction or not. There is more detailed information available in this paper from Viriginia Tech."

Linux Taking Over Schools in India 84

slashchris84 writes to mention a BusinessWeek article about the growing role of Linux in the classrooms of India. In a country with a long history of corporate problems and financial issues, the inexpensive and flexible nature of open source software is gaining a lot of ground. From the article: "Two years ago, New Delhi said the best way to improve computer literacy in India was to adopt open source software in schools. Although Kerala is the first to introduce such a program statewide, 18 of India's 28 states either are using Linux or have pilot projects for its use in various government departments and schools. The education ministries in most states, and in Delhi the federal ministries of defense, transport, communication, and health, are all using the software on server computers"

Yahoo Tries to Woo Facebook With $900 Million 108

Krishna Dagli writes writes to mention a New York Times article on Yahoo!'s attempt to buy Facebook. Their current standing offer is $900 Million, with the deal including a degree of autonomy for the site and founder Mark Zuckerberg still in charge. From the article: "When Viacom offered $750 million for Facebook in January, he asked for $2 billion and was rebuffed, according to a person involved in the negotiations. Now, he remains undecided about the latest offer, made in the last few weeks by Yahoo. That offer, first reported by The Wall Street Journal, was confirmed yesterday by two industry executives, one briefed on the deal by Facebook and the other by Yahoo. Both spoke on the condition of anonymity because the negotiations are continuing."

Click Fraud — An Insider Look 87

conq writes "BusinessWeek has a piece going inside the world of click fraud. It includes the record of a phone call the reporter had with someone calling themselves 'Kiss' who operates many pay to click and parked sites. From the article: 'Reached by telephone, Kiss says that his registration name is false and declines to reveal the real one. He says he's the 23-year-old son of computer technicians and has studied finance. He owns about 20 paid-to-read sites, he says, as well as 200 parked sites stuffed with Google and Yahoo advertisements ... He claims to take in $70,000 in ad revenue a month, but says that only 10% of that comes from PTRs. The rest, he says, reflects legitimate clicks by real Web surfers. He refrains from more PTR activity, he claims, because it's no good for advertisers, no good for Google, no good for Yahoo."

Maryland Fights to Keep E-voting 250

crystalattice writes "Apparently Maryland election officials never have computer problems. That's why they're fighting so hard to keep their Diebold e-voting machines. Washington Post reporter Marc Fisher received nothing but bad attitudes, dodges, and excuses when he attempted to discuss the issue with the state elections administration and Diebold." From the article: "I asked the state's elections administrator, Linda Lamone, whether Maryland wasn't just a bit too quick to adopt electronic voting. Doesn't the computer at your desk ever freeze up on you? 'No,' she replied. Never? 'No.' But surely people in your office have had that experience? 'No.' (Maybe we've found the solution to Maryland's voting problem: Everybody head on down to Linda Lamone's office, where the machines work 100 percent of the time.)"

Linux Kernel Developers' Position on GPLv3 395

diegocgteleline.es writes "A group of 29 Linux kernel developers have recently come together and produced a position statement on GPLv3 (PDF, txt) explaining why, essentially, they don't like it. 'The three key objections noted in section 5 are individually and collectively sufficient reason for us to reject the current license proposal ... we foresee the release of GPLv3 portends the Balkanization of the entire Open Source Universe upon which we rely'. They've also run a GPLv3 poll."

Cable VoIP Sounds Better Than Some Landlines 153

A. G. Bell writes "A recent study that looked at the quality of phone calls came up with some surprising results. Ars Technica reports that while 'traditional' VoIP call quality lagged behind landlines, service from cable ISPs was much better because of their use of PacketCable: 'VoIP from the cable companies actually surpassed the traditional phone network in reliability, meaning that the service was more often available and connected calls without dropping them. Cable providers also led the way in audio quality; the top firm in Keynote's study actually turned in an MOS of 4.24, above most real phone networks.'"

First Gaming Fitness Arcade Opens in CA 60

Turismo writes "In an effort to convince teenagers to exercise, one entrepreneur has started a 'fitness arcade' in California that lures teens with movement-based videogames, WiFi, and study lounges. Should kids be getting even more exposure to media when they workout?" From the Ars Technica article: "When asked whether incorporating gaming into a workout routine was sending mixed messages to adolescents whose free time is often consumed by video games, instant messaging, and TV watching, Ferrell said that the approach Overtime Fitness is taking was necessary. 'In some ways, we're waving the white flag,' he admitted. 'But if we went the opposite way, they would be far less likely to jump in.'"

Weird Al Premiere Cancelled Due to Net Leak 266

SilentChris writes "In what's probably a first, AOL cancelled the 'World Premiere' of Weird Al's newest video 'White and Nerdy' due to it being leaked on the internet. Al writes on his MySpace page: 'Apparently, the video has already leaked online, and AOL doesn't feel comfortable doing a World Premiere promotion for a video that a number of people have seen already ... Anyway, it's really a bummer... it would have been great promotion for the album... but hey, life goes on.' As for the video? Arguably Al's best work (but I'm a little biased)."

HP CEO Allowed 'Sting' on CNet reporter 145

Mark writes "The Washington Post, reporting on Hewlett-Packard's Chairman Patricia Dunn and alleged spying on other HP board members, has obtained e-mails that implicate the CEO, Mark Hurd, who approved an elaborate 'sting' operation on a CNet reporter." From the article: HP's leak investigation involved planting false documents, following HP board members and journalists, watching their homes, and obtaining calling records for hundreds of phone numbers belonging to HP directors, journalists and their spouses, according to a consultant's report and the e-mails."

Can Sony Convince the World? 127

Gamasutra's regular feature asking a question of the game development community is back. This week's question cuts to the heart of the reporting from the Tokyo Game Show: Can Sony Convince Us it is Still Dominant?. From the article: "All that Sony needs to do is stop acting so arrogant. People can forgive any number of faults if the company generally acts responsible for their mistakes. When the PSP came out and people complained about the square buttons getting stuck and not being as responsive as the other buttons, Sony said 'There may be people that complain about its usability, but that's something which users and game software developers will have to adapt to.' We have to adapt to their broken button... Comedic at best. When everyone said the price of the PS3 was rather high, Sony told everyone that 'people will buy it no matter what.' What do they say about PCs? 'The PlayStation 3 is a computer. We do not need the PC.' - Dave Fried, The Collective"

MS Planning Free Web-Based Business Software 132

nieske writes "In response to Google Apps for Your Domain, Microsoft is also planning to release free web-based business software. The software will be ad-supported, but a paid, ad-free version will also be available. From the article: 'Revenue from software licenses for Office and the Windows operating system accounts for a bulk of Microsoft revenues. The challenge for Microsoft will be to make sure a free or, possibly, a subscription-supported version of Works won't hurt sales of its dominant Office software, which accounted for a quarter of the company's $44 billion in sales last year.' Would you choose an ad-supported online version of Microsoft Office over other free options like OpenOffice or Google Apps for Your Domain?"

Census Bureau Loses Hundreds of Laptops 203

Billosaur writes "According to CNN, The U.S. Commerce Department has lost 1,137 laptop computers since 2001, most of them assigned to the Census Bureau. According to Commerce Secretary Carlos M. Gutierrez, 'All of the equipment that was lost or stolen contained protections to prevent a breach of personal information.' This comes after the fiasco involving the Veteran's Affairs Department's loss and eventual recovery of a laptop containing 26.5 million veteran and active-duty records." Given the scope of the operation, are these losses to be expected or is this an example of poor government security standards?

Slashdot Top Deals