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

 



Forgot your password?
typodupeerror
×

Comment Re:Santa Barbara isn't like the rest of CA (Score 1) 420

I was going to post something similar. You can see the different water sources at http://waterwisesb.org/educati.... The Santa Barbara metro area (including Carpinteria and Goleta) uses less than 10% state water as most of the water is runoffs accumulated in local reservoirs or ground water. As the parent stated, it's been pretty dry here and the water level in Cachuma lake is pretty low.

Submission + - Webmail and online banks targeted by phishing proxies (netcraft.com)

An anonymous reader writes: Netcraft confirms a recent increase in the number of malicious proxy auto-config (PAC) scripts being used to sneakily route webmail and online banking traffic through rogue proxy servers. The scripts are designed to only proxy traffic destined for certain websites, while all other traffic is allowed to go direct. If the proxy can force the user to keep using HTTP instead of HTTPS, the fraudsters running these attacks can steal usernames, passwords, session cookies and other sensitive information from online banking sessions.
Intel

Intel To Ship Xeon Phi For "Exascale" Computing This Year 77

MojoKid writes "At the International Supercomputing Conference today, Intel announced that Knights corner, the company's first commercial Many Integrated Core product will ship commercially in 2012. The descendent of the processor formerly known as Larrabee also gets a new brand name — Xeon Phi. The idea behind Intel's new push is that the highly efficient Xeon E5 architecture (eight-core, 32nm Sandy Bridge) fuels the basic x86 cluster, while the Many Integrated Core CPUs that grew out of the failed Larrabee GPU offer unparalleled performance scaling and break new ground. The challenges Intel is trying to surmount are considerable. We've successfully pushed from teraflops to petaflops, but exaflops (or exascale computing) currently demands more processors and power than it's feasible to provide in the next 5-7 years. Intel's MIC is targeted at hammering away at that barrier and create new opportunities for supercomputing deployments."

Comment Re:Dogs eat hearing aids - seriously! (Score 1) 727

It's also possible that the dog liked the way the hearing aid tastes.

Yes, I believe that's the case. Ever noticed how dogs will also sniff around the ears when they meet new dogs. I know that my dog likes to smell the tissues I use to clean his ears and he also chewed the ear plugs my girlfriend left on a bed pillow once... and he's not really the type of dog that will eat anything he can get to.

Classic Games (Games)

What Made Those Old, 2D Platformers So Great? 249

TheManagement writes "Many current developers of web games seem to have a fondness for 2D platformers. However, their desire to capture what made Sonic and Mario games so great is rarely achieved. In an attempt to breach that gap, Significant Bits takes a look at three common design principles that made those classic titles so enjoyable. 'To start off, the interface needs to be quick and responsive. Input should have an immediate effect on the character in order to foster a sense of full control. Granularity and different control techniques, i.e., pressing, tapping and holding, are also important as they provide a level of precision to the movement. ... Now, as far as the environments themselves, it's not a coincidence that they're often filled with all sorts of slides, bridges, trampolines, ladders, etc. In a way, they're simply playgrounds for the player, both literally and figuratively. They're catered to the moveset, and they enhance the flow of the game.'"

Comment Re:Sad code, sad article (Score 1) 465

or at least it would be if it was "==" instead of "=" so next time I should double check before pointing problems in somebody else's code...

In any case, as others have posted, the loop termination is not correctly implemented but pointing out the weird termination because of a missing '<' is not as funny.

Comment Re:Sad code, sad article (Score 5, Funny) 465

for (;;) {
        int daysInYear = IsLeapYear (year) ? 366 : 365;
        if (day = daysInYear) break;
        day -= daysInYear; year += 1;
}

This is what Knuth called an "N + 1/2" loop

No, this is what Knuth would call an infinite loop as there's no way to terminate the loop except on the last day of each year...

Google

Examining Presidential Candidates Via Google Trends 119

Michael Giuffrida writes "Google Trends is a free application produced by Google that shows how often a given keyword is searched for, over time. After seeing how candidates in the 2008 primaries have done in Google Trends in different states, it's clear that this tool can be very useful for campaigns." Read on below for some of the specifics about how these candidates have fared, Google-wise.

Slashdot Top Deals

Happiness is twin floppies.

Working...