Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror

Comment Re:1 nesting = 1 tab. Let each user choose the vie (Score 1) 238

(Re-post to fix my formatting fail.)

A favorite comment I ran across on Stack Overflow:

Bad code will always look bad. Tabs are not the cause of bad indentation. Tabs look being customizable and using less bytes makes them better than spaces. And every argument for spaces can be debunked. Present me any code and I'll give you a nicely formatted one using only tabs.

Obviously, this requires using tabs consistently, and not using tabs to indent some lines and spaces for others. The only scenario where this gets complicated is if trying to align parts of different lines together, e.g. initializing a long array to a variable. But then if the variable name changes, you need to fix the adjustment on every other line anyway. Better to start the initialization on a new line.

Comment 1 nesting = 1 tab. Let each user choose the view. (Score 1) 238

A favorite comment I ran across on Stack Overflow (https://ancillary-proxy.atarimworker.io?url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F19975954%2Fa-yaml-file-cannot-contain-tabs-as-indentation%23comment96808208_19976827): > Bad code will always look bad. Tabs are not the cause of bad indentation. Tabs look being customizable and using less bytes makes them better than spaces. And every argument for spaces can be debunked. Present me any code and I'll give you a nicely formatted one using only tabs. Obviously, this requires using tabs consistently, and not using tabs to indent some lines and spaces for others. The only scenario where this gets complicated is if trying to align parts of different lines together, e.g. initializing a long array to a variable. But then if the variable name changes, you need to fix the adjustment on every other line anyway. Better to start the initialization on a new line.

Comment Re:IMAP - More efficient storage alternative? (Score 2) 401

Unfortunately, Thunderbird doesn't appear to have the most efficient mail store for Gmail accounts, due to Gmail's system of supporting single messages with multiple labels (folders). If I have messages with multiple labels, it appears that Thunderbird downloads and stores the message multiple times, in multiple disk files.

Is anyone aware of an alternative that "intelligently" supports Gmail? I.E., simply downloading "All Mail", and then creating a database from each label to the associated Message-ID's in "All Mail"?

NASA

Dying Man Shares Unseen Challenger Video 266

longacre writes "An amateur video of the 1986 Space Shuttle Challenger explosion has been made public for the first time. The Florida man who filmed it from his front yard on his new Betamax camcorder turned the tape over to an educational organization a week before he died this past December. The Space Exploration Archive has since published the video into the public domain in time for the 24th anniversary of the catastrophe. Despite being shot from about 70 miles from Cape Canaveral, the shuttle and the explosion can be seen quite clearly. It is unclear why he never shared the footage with NASA or the media. NASA officials say they were not aware of the video, but are interested in examining it now that it has been made available."

Comment Slashdotted... (Score 2, Informative) 57

Appears that maybe Ext's forums are /.'d already. I've been actively participating in one of the licensing threads started on Ext's forums. Try http://extjs.com/forum/showthread.php?t=33096 a little later, once the database recovers... Since discussing licenses seems to be nothing new on Slashdot, maybe some "experts" from here can bring some light into the above thread.

Slashdot Top Deals

The road to hell is paved with NAND gates. -- J. Gooding

Working...