Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×
Classic Games (Games)

Tetris Is Hard To Test 169

New submitter JackDW writes: Tetris is one of the best-known computer games ever made. It's easy to play but hard to master, and it's based on a NP-hard problem. But that's not all that's difficult about it. Though it's simple enough to be implemented in one line of BBC BASIC, it's complex enough to be really hard to thoroughly test.

It may seem like you can test everything in Tetris just by playing it for a few minutes, but this is very unlikely! As I explain in this article, the game is filled with special cases that rarely occur in normal play, and these can only be easily found with the help of a coverage tool.
Build

Ask Slashdot: How Do I Make a High-Spec PC Waterproof? 202

jimwormold writes: I need to build a system for outdoor use, capable of withstanding a high pressure water jet! "Embedded PC," I hear you cry. Well, ideally yes. However, the system does a fair bit of number crunching on a GPU (GTX970) and there don't appear to be any such embedded systems available. The perfect solution will be as small as possible (ideally about 1.5x the size of a motherboard, and the height will be limited to accommodate the graphics card). I'm U.K.- based, so the ambient temperature will range from -5C to 30C, so I presume some sort of active temperature control would be useful.

I found this helpful discussion, but it's 14 years old. Thus, I thought I'd post my question here. Do any of you enlightened Slashdotters have insights to this problem, or know of any products that will help me achieve my goals?
Chromium

Building All the Major Open-Source Web Browsers 106

An anonymous reader writes: Cristophe de Dinechin, long-time software developer, has an interesting article on the processes involved in building the major browsers. From the article:

"Mozilla Firefox, Chromium (the open-source variant of Chrome) and WebKit (the basis for Safari) are all great examples of open-source software. The Qt project has a simple webkit-based web browser in their examples. So that's at least four different open-source web browsers to choose from. But what does it take to actually build them? The TL;DR answer is that these are complex pieces of software, each of them with rather idiosyncratic build systems, and that you should consider 100GB of disk space to build all the browsers, a few hours of download, and be prepared to learn lots of new, rather specific tools."
Displays

New Oculus SDK Adds Experimental Linux Support and Unity Free For Rift Headset 24

An anonymous reader writes: Oculus, creator of the Rift VR headset, has released a new version of their SDK which brings with it long sought-after support for Linux, which the company says is "experimental." Linux support was previously unavailable since the launch of the company's second development kit, the DK2. The latest SDK update also adds support for Unity Free, the non-commercial version of the popular game authoring engine. Previously, Unity developers needed the Pro version—costing $1,500 or $75/month—to create experiences for the Oculus Rift.
Operating Systems

Italian Supreme Court Bans the 'Microsoft Tax' 353

An anonymous reader writes: In a post at the Free Software Foundation, lawyer Marco Ciurcina reports that the Italian Supreme Court has ruled the practice of forcing users to pay for a Windows license when they buy a new PC is illegal. Manufacturers in Italy are now legally obligated to refund that money if a buyer wants to put GNU/Linux or another free OS on the computer. Ciurcina says, "The focus of the Court's reasoning is that the sale of a PC with software preinstalled is not like the sale of a car with its components (the 4 wheels, the engine, etc.) that therefore are sold jointly. Buying a computer with preinstalled software, the user is required to conclude two different contracts: the first, when he buys the computer; the second, when he turns on the computer for the first time and he is required to accept or not the license terms of the preinstalled software. Therefore, if the user does not accept the software license, he has the right to keep the computer and install free software without having to pay the 'Microsoft tax.'"
Medicine

Scientists Engineer Cancer-Killing Stem Cells 46

A reader writes with news that medical researchers from Harvard Medical School and Massachusetts General Hospital have successfully cultivated stem cells that will kill brain cancer cells in mice without damaging healthy cells. "They used genetic engineering to make stem cells that spewed out cancer-killing toxins, but, crucially, were also able to resist the effects of the poison they were producing. ... In animal tests, the stem cells were surrounded in gel and placed at the site of the brain tumor after it had been removed. Their cancer cells then died as they had no defense against the toxins (abstract)." The next step in the research is to try the treatment on humans. Chris Mason, a professor of regenerative medicine, said, "This is a clever study, which signals the beginning of the next wave of therapies. It shows you can attack solid tumors by putting mini pharmacies inside the patient which deliver the toxic payload direct to the tumor. Cells can do so much. This is the way the future is going to be."
Cellphones

CHP Officers Steal, Forward Nude Pictures From Arrestee Smartphones 275

sabri writes: Following the initial suspension of a California Highway Patrol officer earlier this week, news has come out that the CHP has an entire ring of officers who steal and subsequently share nude pictures. The nudes are stolen from women who are arrested or stopped. Officer Sean Harrington of Martinez reportedly confessed to stealing explicit photos from the suspect's phone, and said he forwarded those images to at least two other CHP officers. Where is the ACLU when you need them the most?
Businesses

Ballmer Says Amazon Isn't a "Real Business" 283

theodp writes According to Steve Ballmer, Amazon.com is not a real business. "They make no money," Ballmer said on the Charlie Rose Show. "In my world, you're not a real business until you make some money. I have a hard time with businesses that don't make money at some point." Ballmer's comments come as Amazon posted a $437 million loss for the third quarter, disappointing Wall Street. "If you are worth $150 billion," Ballmer added, "eventually somebody thinks you're going to make $15 billion pre-tax. They make about zero, and there's a big gap between zero and 15." Fired-up as ever, LA Clippers owner Ballmer's diss comes after fellow NBA owner Mark Cuban similarly slammed IBM, saying Big Blue is no longer a tech company (Robert X. Cringely seems to concur). "Today, they [IBM] specialize in financial engineering," Cuban told CNBC after IBM posted another disappointing quarter. "They're no longer a tech company, they are an amalgamation of different companies that they are trying to arb[itrage] on Wall Street, and I'm not a fan of that at all."

Slashdot Top Deals

There are two ways to write error-free programs; only the third one works.

Working...