Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×

Comment Postfix (Score 2) 373

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

http://www.postfix.org/

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 Re:New features? (Score 1) 147

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.

Comment Too Much Documentation (Score 5, Interesting) 457

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

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

http://www.obdev.at/products/launchbar/index.html

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

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)

Submission + - Anonymous DDOS attacks Sony, brings website down (gamersmint.com)

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

The Genius of the Lego Printer 187

Barence writes "If you've ever struggled to build anything more complex than a cube of Lego, this will blow your mind. It's a fully functioning Lego printer, complete with felt tip print head."

Comment Literate Programming (Score 1) 198

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

Privacy

Net Users In Belarus May Soon Have To Register 89

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

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

Slashdot Top Deals

Beware of Programmers who carry screwdrivers. -- Leonard Brandwein

Working...