Announcing: Slashdot Deals - Explore geek apps, games, gadgets and more. (what is this?)

Thank you!

We are sorry to see you leave - Beta is different and we value the time you took to try it out. Before you decide to go, please take a look at some value-adds for Beta and learn more about it. Thank you for reading Slashdot, and for making the site better!



Ask Slashdot: What Do You Consider Elegant Code?

andawyr Postfix (373 comments)

Fantasic example of code written in a procedural language (C) in an object-oriented way,with clear separation of responsibilities.


The framework that Wietse created to structure Postfix is, from my perspective, a thing of beauty. I don't doubt that this has been done elsewhere, but Postfix is the first real example that I came across of a somewhat-large application structured in a very clean and understandable way.

Well worth spending some time perusing the code.

about 10 months ago

Review: Oracle Database 12c

andawyr Re:New features? (147 comments)

You can do log shipping with mysql to have multiple sync'd databases - I've set this up in a small environment, and have not tested this feature with a high-capacity database, but the capability *is* there.

about a year and a half ago

Ask Slashdot: What Practices Impede Developers' Productivity?

andawyr Too Much Documentation (457 comments)

Nothing kills progress than having to create documentation that will never be read or updated.

Don't get me wrong - certain types of documentation are important (overall systems design, data models, for example). But unless you're going to continue to use the documentation after the project has been completed, don't bother creating it.

What most people seem to forget is that if you don't plan on maintaining all the documentation you create, you're wasting your time. Once a document is out of date, it no longer serves it's purpose. I'll expand on an adage: Outdated and incorrect documentation is worse than no documentation at all.

about 2 years ago

Ubuntu 12.04 To Include Head-Up Display Menus

andawyr Launch Bar (449 comments)

I know I'd be completely lost without LaunchBar on OS X:


I initially thought that entering keyboard commands to run a program was completely opposite what a GUI was supposed to offer, but being a command-line driven guy (hey, I'm getting old!), it was amazingly intuitive, not to mention blazingly fast. I rarely use the toolbar to start programs any more, let alone navigate through the Applications folder.

Definitely recommended for all you OS X folks out there.

about 3 years ago

Visual Studio Gets Achievements, Badges, Leaderboards

andawyr Re:Possible badges for good code (353 comments)

I've always had issues with comparisons that follow the 'constant == lvalue' format. For whatever reason, it always takes me longer to grok what the comparison means. When I use 'lvalue == constant', it makes much more sense. At least to me.

I'm not sure why you say this has anything to do with 'safety' - can you elaborate? I'm curious.

I will say that I've noticed this coding construct more in code written by developers from Asia and India. Something in the curriculum, perhaps? In my formal education I never saw the 'constant == lvalue' construct, and I went to University in N.A.

about 3 years ago

Quantum Coherence Found Fueling Photosynthesis

andawyr Civilian? (135 comments)

The U.K. has the world's largest civilian stockpile of plutonium.

A civilian stockpile? Can someone explain to me how the UK has a civilian stockpile of plutonium?

more than 3 years ago

NASA Launches Moonbase Alpha

andawyr Space 1999? (230 comments)

What, did we go through a time warp? Wasn't there a Moonbase Alpha back in 1999?

And, didn't the moon vacate the premises shortly thereafter?

more than 4 years ago

Star Wars To Air As Animated Sitcom

andawyr Re:The Fonz may have been the first... (268 comments)

D'oh! That should have been "now it's accelerating".

(sigh) I don't know why I bother to preview :-)

more than 4 years ago

Star Wars To Air As Animated Sitcom

andawyr The Fonz may have been the first... (268 comments)

...but Star Wars will be soon (or is it already?) part of the list of those shows that 'Jumped the Shark'.

With Lucas at the helm, the death spiral has been been underway for a while, and how it's accelerating.

more than 4 years ago

Code Bubbles — Rethinking the IDE's User Interface

andawyr Literate Programming (198 comments)

This sounds very much like http://en.wikipedia.org/wiki/Literate_programming/, as introduced by Knuth.

I looked at using Tangle and Weave for C development a long time ago, but found that it was a pretty difficult paradigm to get used to.

FYI, TeX and Metafont were both written using Tangle and Weave. Pretty impressive to read the source code, which had both code and documentation intermixed. It was a novel way (as in innovative, and as in a book :-) )to develop a complex application; I believe that Knuth even stated that creating TeX and MetaFONT were made much easier by using Literate Programming...

more than 4 years ago

BlackBerry Outages Across North America

andawyr How about restricting year-end outages? (284 comments)

At my company we have a change freeze from mid-December to mid-January to avoid problems such as this. With a large (40B+) company, you need to have a stable environment to perform year-end financial activities, and an outage like this would be completely unacceptable.

While I don't personally use a Blackberry, I would be asking some serious questions about their change policies before I relied too heavily on a BB for business purposes...

more than 5 years ago

Mars Rover "Spirit" In Danger

andawyr Re:Anonymous Coward (222 comments)

This was thought about, and discarded. While on the surface it seems like a good idea, in actuality it's incredibly difficult to implement, since the dust on Mar's is so 'sticky' - from what I've read elsewhere, the electrostatic charge of the dust on Mars is very high, and any attempt to scrape it off the solar panels would just move it around, not really remove it.

Besides, with a two month life expectancy, I think it was determined that they wouldn't need to remove any dust from the solar panels since the rovers would have long since died...

more than 6 years ago


andawyr hasn't submitted any stories.


andawyr has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?