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


Forgot your password?

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).


Comment: Postfix (Score 2) 373

by andawyr (#46584733) Attached to: Ask Slashdot: What Do You Consider Elegant Code?

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.

Comment: Too Much Documentation (Score 5, Interesting) 457

by andawyr (#42560915) Attached to: Ask Slashdot: What Practices Impede Developers' Productivity?

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.

Comment: Launch Bar (Score 1) 449

by andawyr (#38805099) Attached to: Ubuntu 12.04 To Include Head-Up Display Menus

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.

Comment: Re:Possible badges for good code (Score 1) 353

by andawyr (#38748952) Attached to: Visual Studio Gets Achievements, Badges, Leaderboards

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.

PlayStation (Games)

+ - Anonymous DDOS attacks Sony, brings website down->

Submitted by Anonymous Coward
An anonymous reader writes "Anonymous who warned about cyber attacks against Sony has made many of Sony’s sites down, currently. The sites include Playstation, PSN, PS Blogs and Sony (which is partially accessible) and it looks probable that more sites from its stable are going to get attacked."
Link to Original Source

Comment: Literate Programming (Score 1) 198

by andawyr (#31431350) Attached to: Code Bubbles — Rethinking the IDE's User Interface

This sounds very much like, 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...


Net Users In Belarus May Soon Have To Register 89

Posted by timothy
from the not-just-register-their-displeasure dept.
Cwix writes "A new law proposed in Belarus would require all net users and online publications to register with the state: 'Belarus' authoritarian leader is promising to toughen regulation of the Internet and its users in an apparent effort to exert control over the last fully free medium in the former Soviet state. He told journalists that a new Internet bill, proposed Tuesday, would require the registration and identification of all online publications and of each Web user, including visitors to Internet cafes. Web service providers would have to report this information to police, courts, and special services.'"

Comment: How about restricting year-end outages? (Score 1) 284

by andawyr (#30536720) Attached to: BlackBerry Outages Across North America

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...

You know you've landed gear-up when it takes full power to taxi.