Forgot your password?

typodupeerror

Comment: Re:School code (Score 4, Insightful) 292

by GGardner (#42365191) Attached to: Real World Code Sucks

I'm sure I've missed other ways academic code is bad.

The biggest difference is that academic code is _short_. If your whole code base is 10k lines, it's easy to cover all the requirements in a clean design. If you are dealing with millions of lines, there's all kinds of oddball unforeseen interactions and requirements that pop up way late in the game.

Comment: How do you get a SCADA system to test? (Score 1) 104

by GGardner (#42099959) Attached to: Researcher Finds Nearly Two Dozen SCADA Bugs In a Few Hours
So, if I'm a random security researcher, how do I get my hands on these SCADA systems to test them? They certainly aren't open source, and I'm guessing they aren't cheap. I doubt you can just type a credit card number into GE's web site and download one. How do they get one to look at?

Comment: ObJwz (Score 1) 379

by GGardner (#42087975) Attached to: Search For "Foolproof Suffocation" Missed In Casey Anthony Case
ObJwz: http://www.jwz.org/blog/2011/07/mork-keeps-on-giving-when-the-database-worms-eat-into-your-murder-trial/

That mork format was really something else. Whoever thought that having the browser history stored in an impenetrable format with no tools to read it should turn in their nerd badge.

Comment: Re:Itanium 3 is a decent CPU (Score 1) 124

by GGardner (#40473301) Attached to: HP Asks Judge To Enforce Itanium Contract Vs. Oracle

And for high-end use, the Itanium is a genuinely useful CPU. Because the performance of a cluster is a function of the communication delays, very high-end clusters WANT to have very high-end CPUs.

Note the above is certainly true for high-end HPC clusters, but running large Oracle databases on those kinds of machines seems kind of expensive for the performance you get. For Oracle (and other databases), the high-thread count Sparc T-3 / T-4 kinds of processors will give you much better performance at lower cost. Of the few ia-64 installations, I bet most are floating-point heavy HPC clusters, I wonder how many are running Oracle or VMS and "business" workloads.

But what do I know, I've only been observing what actually works vs what the customers want for 35 years

Of course, if customers actually wanted Oracle on Itanium, there wouldn't have been a lawsuit...

Comment: Re:Good programmers don't use StackOverflow. (Score 3, Insightful) 185

by GGardner (#37967088) Attached to: Analyzing StackOverflow Users' Programming Language Leanings

Virtually all of the questions asked there can be answered by doing the following: 1) Reading the documentation of the programming language, library or software in question.

This is one reason there are so many JavaScript (perhaps actually DOM) questions -- where is the documentation to answer questions like "how do I do x, across every major browser versions which didn't really follow standards well"? If I'm programming in, say, Java or C++ with some framework where I control more of the environment, I can go to one place to answer questions, but there's no one definitive source for these cross browser problems.

Comment: Please don't use C/C++ (Score 2) 209

by GGardner (#37073534) Attached to: Chrome 14 Beta Integrates Native Client
The phrase "C/C++", that is.

C++, especially modern C++, is such a different language from C, that it makes no sense to talk about them as if they are the same. A decent programmer can learn everything they need to know about C in about two weeks. Modern C++ really takes years to really master. When I interview programmers, I'm immediately skeptical of anyone who claims to know "C/C++". Often, this means the most advanced "C++" feature they use is the // comment.

Comment: Re:Much better anyway (Score 2) 303

by GGardner (#36972102) Attached to: Apple Removes MySQL From Lion Server
I always found PostgresQL harder to admin. It needs to be VACUUM'ed periodically. How often? The poor admin is supposed to figure that out themselves. Oh, and don't try to actually use the database during a VACUUM. Even after the autovacuum feature was added, it never seemed to work right, and my databases still needed to be vacuumed by hand, sometimes taking more than a day to run. Even with frequent vacuuming, indexes can get bloated -- I would see indexes with more pages allocated than entries, which needed to be manually reindexed. Worse, you need to tell postgres how much memory to allocate for vacuum'ing, and if you don't get it right, it 'leaks' disk space. None of these sorts of things have ever been a problem for MySQL.

For some reason, this fortune reminds everyone of Marvin Zelkowitz.

Working...