Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror

Submission Summary: 0 pending, 32 declined, 23 accepted (55 total, 41.82% accepted)

NASA

Submission + - Defining Useful Coding Practices (omninerd.com)

markmcb writes: A NASA engineer wrote about his disappointment that despite having well-documented coding practices, 'clever' solutions still made the code he now has to maintain hard to follow. This got me thinking about the overhead spent at my own company regarding our code. We too have best practices that are documented, but most seem to focus on the basics, e.g., comments, modularity, etc. While those things are good, they don't directly ensure quality, maintainable code is written. As the author points out, an elegant one-liner coupled with a comment from a few revisions ago makes for a good headache. I'm curious what experience others have had with this, and if you've seen manageable practices that ultimately offer a lot of value to the next programmer down the line who will have to maintain the code.
Databases

Submission + - Visualizing Complex Data Sets (omninerd.com)

markmcb writes: "My company recently began using SAP as its ERP system and as we move into our second year with the software, there is still a great deal of focus on cleaning up the "master data" that ultimately drives everything the system does. The issue we face is that the master data set is gigantic and not easy to wrap one's mind around. As powerful as SAP is, I find it does little to aid with useful visualization of data. I recently employed a custom solution using Ruby and Graphviz to help build graphs of master data flow from manual extracts, but I'm wondering what other people are doing to get similar results. Have you found good out-of-the-box solutions in things like data warehouses, or is this just one of those situations where customization has to fill a gap?"
Programming

Submission + - Balancing Performance and Convention (omninerd.com)

markmcb writes: "My development team was recently pondering over a finding a practical solution to the problem that's haunted anyone who's ever used a framework: convention vs. customization. We specifically use Rails, but like most frameworks, it's great for 95% of our situations, but it's creating big bottlenecks for the other 5%. Our biggest worry isn't necessarily that we don't know how to customize, but rather that we won't have the resources to maintain whatever customize code going forward, i.e., it's quite simple to update Rails as it matures versus the alternative. What have been your experiences with this problem? Have you found any best practices to avoid digging custom holes that you can't climb out of?"
Programming

Submission + - Practical Reasons to Choose Git or Subversion (markmcb.com)

markmcb writes: "I develop Rails applications and recently followed my lemming herd and made the switch to Git after learning some of the practical advantages Git offers over Subversion. As I'm sure there are many die hard Subversion fans in the Slashdot audience, I'm curious what your key reasons are for sticking with Subversion. If possible, I'd like reasons that apply to 'most of the time' as opposed to arguments based on obscure features that may get used only a few times ever."
Math

Submission + - Patterns in Lottery Numbers (omninerd.com)

markmcb writes: "Most everyone is familiar with the concept of the lottery, i.e., random numbers are selected and people guess what they will be for a cash prize. But how random are the numbers? Matt Vea has conducted a pattern analysis of the MegaMillions lottery, which recently offered a sum of $370M (USD) to the winner. Matt shows that the lottery isn't as random as it may seem and that there are 'better' choices than others to be made when selecting numbers. From the article, 'A single dollar in MegaMillions purchases a 1 in 175,711,536 chance of landing the jackpot ... a player stands a mildly better chance of winning a partial prize through the selection of weighted numbers.'"
Math

Submission + - Busting the MythBusters' Yawn Experiment

markmcb writes: "Most everyone knows and loves the MythBusters, two guys who attempt to set the story straight on so many things people just take for granted. Well, everyone except Brandon Hansen, who has offered them a taste of their own medicine as he busts the MythBusters' improper use of statistics in their experiment to show yawning is contagious. While the article maintains it is still possible yawns are contagious, the author makes it clear that he's not giving the MythBusters any credit for proving such a claim, 'not with a correlation coefficient of .045835.'"
Security

Submission + - Top 12 Operating Systems Vulnerability Summary

markmcb writes: "Have you ever wondered how vulnerable your computer is from the first bit you write to the hard drive all the way until you have a fully patched system? If so, Matthew Vea has posted a concise summary of security strengths and shortcomings for twelve of the major operating systems of 2006/2007. In his summary, Matt tests each OS with widely available tools like nmap and Nessus, and notes responses at install, pre-patch, and post-patch times for each system. After the tedious job is done, he produces results that will make both the Apple and Windows communities cringe with regards to security. From the article, 'As far as "straight-out-of-box" conditions go, both Microsoft's Windows and Apple's OS X are ripe with remotely accessible vulnerabilities. ... The UNIX and Linux variants present a much more robust exterior to the outside. Even when the pre-configured server binaries are enabled, each [Linux] system generally maintained its integrity against remote attacks.'"
Math

Submission + - Statistical Accuracy of Internet Weather Forecasts

markmcb writes: "Brandon Hansen considers the statistical accuracy of popular on-line weather forecast sources and shows who's on target, and on who you probably shouldn't rely. Motivated by a trip to a water park that was spoiled with hail despite a 'clear sky' forecast, he does a nice job of depicting deviations, averages, and overall accuracy in a manner that stats junkies are sure to love. From the article, 'Accuweather was the clear leader in anything greater than 10 days in advance ... many of the other less accurate weather forecasts seem[ed] to be practically worthless for all but the most optimistic.'"
Power

Submission + - Much Ado About Gas Prices

markmcb writes: "It seems that a week cannot pass without finding big news about gas prices. They're up, they're down ... but why do we care so much? OmniNerd posted an article that aims to put gas prices in perspective. The author takes a look at other commodities and their price variances and applies some simple math in order to make the claim that best-gas-price-hunting is an effort that could be better used on other products. From the article, "Why the disproportionate emphasis on gas prices in our culture, then? Although some cite a failure of politicians or media populists to account for inflation and purchasing power changes, I think it is simply because gas prices are in your face.""

Slashdot Top Deals

Anything free is worth what you pay for it.

Working...