Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment "would you rather use a one-liner" (Score 4, Insightful) 580

would you rather use a one-liner that requires a 3-line comment, or a 10-liner that requires no comments?

Easy. 10 lines, no comments. After writing a couple of million lines of code, the more code I write, the more I unwind it. Somewhere along the line, adolescent programmers got the idea that jamming all your logic into as few unreadable lines as possible is the fastest way to manliness. Way, way wrong.

Modern compilers and interpreters do a pretty good job nowadays. Source code bytes are near free. If you have to skull out dense code 6 months after you've written it, you're doing something wrong.

(OK, Lisp and APL are special cases, but really, when's the last time you wrote Lisp or APL, other than for fun?)

Image

PhD Candidate Talks About the Physics of Space Battles 361

darthvader100 writes "Gizmodo has run an article with some predictions on what future space battles will be like. The author brings up several theories on propulsion (and orbits), weapons (explosives, kinetic and laser), and design. Sounds like the ideal shape for spaceships will be spherical, like the one in the Hitchhiker's Guide movie."

Comment Re:How about... (Score 0) 636

Yes, I know the chances of surviving a 24 kilovolt shock are pretty low, but I'm willing to risk it.

Nope. The chances of surviving a 24 kilovolt shock are actually pretty high, if the amperage is low enough. That little spark between your finger and a doorknob on a cold, dry day can be millions of volts.

It's current that kills, not voltage.

Comment Good idea, wrong language (Score 3, Interesting) 51

"Also, S.139 would grant an exemption for data that 'was rendered indecipherable through the use of best practices or methods, such as redaction, access controls, or other such mechanisms, that are widely accepted as an effective industry practice, or an effective industry standard.'"

I think that the whole purpose of this is to cover things like storing passwords, etc., as hashed data. That's something I tried to get into Virginia's data breach law (and will probably give it a shot again this year), but try explaining the concept of "cryptographic hashes" to legislators who are mostly lawyers. Three guys on the subcommittee got it (engineers and tech guys), but it was WAY over everybody else's heads.

And it's not just the legislators. the LexisNexis lobbyist went ballistic over the idea until she talked to somebody in her IT department, because she didn't understand what was going on.

I understand what this language is supposed to do, but it's just poorly crafted.

Mars

Bacteria Could Survive In Martian Soil 90

Dagondanum writes "Multiple missions have been sent to Mars with the hopes of testing the surface of the planet for life — or the conditions that could create life. The question of whether life in the form of bacteria (or something even more exotic) exists on Mars is hotly debated, and still lacks a definitive yes or no. Experiments done right here on Earth that simulate the conditions on Mars and their effects on terrestrial bacteria show that it is entirely possible for certain strains of bacteria to weather the harsh environment of Mars." Perhaps this is something that will be tested further in a few years by the Mars Science Lab, also known as "Curiosity" and (as reader Nova1021 points out) "the Mars Action Hero."
Apple

Submission + - Nokia sues Apple in Delaware District Court

andylim writes: According to Recombu.com, Nokia has today filed a complaint against Apple with the Federal District Court in Delaware, alleging that Apple's iPhone infringes Nokia patents for GSM, UMTS and wireless LAN (WLAN) standards. Nokia states, "the ten patents in suit relate to technologies fundamental to making devices which are compatible with one or more of the GSM, UMTS (3G WCDMA) and wireless LAN standards. The patents cover wireless data, speech coding, security and encryption and are infringed by all Apple iPhone models shipped since the iPhone was introduced in 2007."
Programming

Submission + - Seismic Algorithm to Settle Global Warming Debate? (smartertechnology.com)

An anonymous reader writes: 'Not enough data,' is the familiar retort when scientists claim that warmer ocean temperatures are causing more frequent and violent storms at sea. The reason is that data on storms, especially hurricanes, has only been digitized since the 1990s. If you include analog data, that only goes back to about 1960 when the first satellites were being launched. Climatologists, on the other hand, need at least 100 years of data to settle the global warming debate. Now a geophysicist thinks he may be able to supply the missing data by converting seismic records into storm data. The National Sciene Foundations (NSF) is supplying the funds for him to create an algorithm to convert the tiny, seemingly random fluctuations of the seismic needle--called microseismic noise--into a history of storm centers at sea. By recognizing the signature of storms in microseismic noise, the global warming debate could be settled once and for all.
Security

Submission + - The Scientist Who Mistook Himself for a Spy

Hugh Pickens writes: "The NY Times reports that Stewart Nozette, who helped to discover water on the Moon and spent six years at a top-secret defense technology agency was arrested earlier this week on espionage charges, after telling an FBI agent that he was willing to sell some of America’s “most guarded secrets” to a man he believed to be an Israeli intelligence officer. Nozette worked at the Department of Energy in the 1990s, where he held a special security clearance described in the criminal complaint against him as “equivalent to the Defense Department’s Top Secret and Critical Nuclear Weapon Design Information clearances (PDF).” For most of the past decade Nozette “acted as a technical consultant for an aerospace company that was wholly owned by the Government of the State of Israel” and when he took on this consulting work Nozette apparently concluded that he had already effectively become a spy. "I thought I was working for you already," said Nozette to the undercover officer posing as a Mossad recruiter according to an FBI transcript. "I mean that’s what I always thought, [the foreign company] was just a front." Marc Ambinder writes in the Atlantic that Nozette's "Q" clearance from the Department of Energy, giving him access to data about nuclear weapons, might have been of interest to the Israelis. "Since Israel has nuclear weapons, its espionage efforts are probably more directed towards figuring out what the US knows about them, how the US monitors, say, Israeli launch preparation sites, and who the US shares this data with," writes Ambinder. "No doubt that Nozette would be in a good position to know how easily it is for US technologies to pierce the veil of Israel's secret nuke program.""
Data Storage

Submission + - SPAM: Zurich loses data of 641,000 customers on tape 1

ChiefMonkeyGrinder writes: Insurance firm Zurich has lost the sensitive personal account details of 641,000 customers held on backup tape, including the details of 51,000 UK customers. The firm admitted the tape had been missing for over a year in South Africa, after it was lost en route to a secure storage unit in August 2008. But it has only just noticed the loss, and launched an investigation. Its entire South African customer base of 550,000 clients was also lost, alongside the details of 40,000 customers in Botswana.
Link to Original Source

Comment 14 Months? (Score 5, Informative) 429

Doesn't this guy have a sixth amendment right to a speedy trial?

Besides (and Google may have led me the wrong CA statute) but it look like the penalty for the remaining charge could be as little as a $5,000 fine. It also seems to have an out:

"Subdivision (c) does not apply to punish any acts which are committed by a person within the scope of his or her lawful employment. For purposes of this section, a person acts within the scope of his or her employment when he or she performs acts which are reasonably necessary to the performance of his or her work assignment."

Comment Best. Keyboard. Ever. (Score 2, Interesting) 519

I'd been looking for an adapter to use an old IBM keyboard with my Mac. I'd never liked "squishy" keyboards, or ones with short key travel, and Apple keyboards seem to get squishier and shorter as time goes by. Then I found the Unicomp. My fingers are happy now.

The only downside is that you need to do a little prefs-setting and key swapping to put the option and command keys in the right place, but that's no big deal.

Get one. It's 70 bucks well spent.

Books

Submission + - GUI Design Book Recommendations? 8

jetpack writes: I've always hated writing user interfaces, and graphical user interfaces in particular. However, I suspect that is largely because I have no clue how to write a *good* one. By this, I don't mean the technical aspects, like using the APIs and so on. I mean what are the issues in designing an interface that is clean, easy to understand and easy to use? What are things to be considered? What are things to be avoided? What are good over-all philosophies of UI design?

To this end, I'd like to pick up a book or two (or three) and get my learn on. I'd appreciate some book suggestions from the UI experts in the Slashdot crowd.
Databases

Submission + - MySQL's Threat to Commercial Databases (cnn.com)

eldavojohn writes: "The odds are high that you've heard of the most popular open source database, MySQL. Financial columnists like CNN/Fortune author David Kirkpatrick are starting to notice it too and recognize it as a serious threat to ... well, every other commercial database out there. Sun CEO Scott McNealy said "If you want to save money, make the default database MySQL. It's free ... if Yahoo and Google can run their entire operations on MySQL, then certainly there's a huge chunk of your operations that could run on it as well." With press like that and the performance to back it up, is MySQL going to ruin commercial databases created by Oracle, IBM & Microsoft?"
Power

Submission + - Microwave Converts Waste to Fuel (peswiki.com)

sterlingda writes: "Global Resource Corp's High-Frequency Attenuating Wave Kinetics (HAWK) recycler extracts oil and gas in seconds from most everyday objects like tires, plastic cups, as well as from shale, coal, and tar sands. Microwaves tuned to an optimum frequency separate the component parts which can be burned or condensed into liquid fuel, using only a small portion of the energy produced."
Biotech

Submission + - Artificial Vascular System Developed (tfot.info)

Iddo Genuth writes: "Researchers from Cornell University have engineered micro-channels within a water-based gel that can act as a vascular system. The system can carry and deliver oxygen, sugar, proteins, and other growth factors to the growing tissue. The scientists designed the system so that it can be programmed to match a specific shape and make the implant grow to fill that shape. This development is a major step forward in creating engineered tissues and eventually engineered organs."

Slashdot Top Deals

"If it ain't broke, don't fix it." - Bert Lantz

Working...