Programming

Web Development with Apache and Perl 221

davorg writes "In the dim and distant past when I first started doing web development, there was a book that everybody had a copy of. It was called 'How to Set Up and Maintain a Web Site' and it was by Lincoln Stein. The reason why everyone owned (and, more importantly, read) it was that it contained a complete high-level snapshot of everything you needed to know in order to run a web site at that time. Unfortunately, after a second edition in 1997 the book hasn't been updated. I suppose that the subject area has grown so much that no-one thought that a complete overview would be too high-level to be useful. They were probably right." davorg's review continues below.
Programming

Managing Environment Specific Config Files? 20

byrnereese asks: "It seems that every organization I have worked for has been plagued with the same problem: 'how do you effectively manage multiple environment configurations for the various development, staging and production environments that exist.' For example, each application at our company requires a different set of database credentials for each environment we deploy it to. For a long time we have maintained different config files for each environment and checked them into our SCCS; but that has proved incredibly error prone because a different build is required for each environment. Each company I have worked for utilizes a different systemology to make config file management a little easier, but none of them have stumbled upon anything that is any less error prone, or any easier to manage than any other solution to choose from. So I am curious, how does your company manage environment specific application configuration? And what does your change management process for these configurations look like?"
Programming

Is FORTRAN Still Kicking? 745

Algorithm wrangler queries: "I'm beginning to wonder if I should invest the time in learning FORTRAN. Although it is, arcane it seems to be the best tool when it comes to demanding optimization tasks and heavy computations. C/C++ does not cut it for me - it is simply too easy to make mistakes and I find myself using half of my time hunting bugs unrelated to the problem at hand. Additionally, although tools like Matlab exist they don't provide the power that justify the huge price tag they carry. I find any script based language (Matlab, Numeric Python, Scilab) to be inadequate as soon as it is necessary to use loops to describe a problem and using such tools for recursive systems can be a real pain. As another data-point, the Netlib repository seems to be very FORTRAN oriented, and it is a true gold mine when it comes to free routines for solving almost any computing task. What bothers me though is that FORTRAN code is really ugly and the language lacks almost any modern day language feature (I know about Fortran 90 but it is not much nicer than F77, and no one seems to use it). Can it really be true that the best tool we have for heavy duty computing is a 25 year old language, or have you found anything better - free or non-free?"
Security

Security Bug Doesn't Discriminate 28

An anonymous reader writes: "Despite all the fuss about Microsoft's booth at LinuxWorld next week, a security bug doesn't seem to care about the difference between open- and closed-source systems. The bug, found in a code library included in several popular applications, affects Windows 2000, Solaris, Mac OS X, and Linux, reports eWeek's Dennis Fisher."
Programming

XHTML 2.0 Working Draft 45

Rytsarsky writes: "W3C has released the first public working draft of XHTML 2.0. 'XHTML 2 is a markup language intended for rich, portable web-based applications. While the ancestry of XHTML 2 comes from HTML 4, XHTML 1.0, and XHTML 1.1, it is not intended to be backward compatible with its earlier versions.' Some notable changes are the introduction of navigational lists (<nl>), sectional hierarchy with <section>, and the long-awaited deprecation of <br> in favor of <line>."
Programming

Borland Releases Delphi 7 41

sebmol writes: "Borland has released version 7 of its superb development tool Delphi. Unusual for Borland, they have added quite a few extras to their release such as a complete (!) copy of Kylix 3, Borland's port of Delphi to Linux. The price is somewhat affordable, especially if you can take advantage of their upgrade offers. For the first time since Borland became Borland again (after the Inprise debacle), I can say that I am truly impressed by this company and their products."
Java

10 Reasons We Need Java 3 627

An anonymous reader writes "This article on O'Reilly Network (written by one of the most active Java book writers ever, Elliotte Rusty Harold) has some interesting points about the need for a new 'cleaned up' Java version, made to incorporate the advances in the last 7 years of its life and without the requirement to keep compatibility with old versions."
News

What is Holding SAP-DB Back? 457

Derek Neighbors queries: "The current story about MySQL 4.0 has erupted into a Postgres vs. MySQL debate. We at GNU Enterprise, who have used about all Free and Propietary databases, would like to know why exactly people arent using SAP-DB? It clearly is on par with Oracle, is GPL and frankly has an awesome support team in SAP AG. There was a PG vs SAP-DB recently. Someone else mentioned that you can get CDROMs for free. So again the question is 'What exactly is hindering a wider acceptance of SAP-DB in Free/Open Software projects?'"
Security

Stack-Smashing Protector 28

XNormal writes "It's not exactly new but for some reason it doesn't seem to be getting the attention it deserves. The stack smashing-protector developed by Hiroaki Etoh at IBM's Tokyo Research Lab is a patch for GCC that provides effective protection against buffer overflows. It protects against cases not covered by StackGuard and StackShield. It it well-supported on multiple versions of GCC and multiple platforms. Why is it not getting enough attention? Perhaps it needs a CatchyName instead of 'ssp'? I'll ponder this question while I'm recompiling all my executables that have an open port and the libraries they depend on."
Programming

Assembly 2002 Demo Party Results 10

moonbender writes: "The Assembly 2002 demoscene event is over, and as always spawned a large number of awesome productions. There were several competitions, most notably the 4 kb intro, 64 kb intro and the demo compos. Both the official results as well as the files themselves are available on dedicated mirrors by scene.org. While most of the demos are for the Windows platform, there are some Linux and Java demos, too, and whole compos dedicated to consoles and mobile devices."
News

Web Services Making Software Coexist? 200

jgeelan writes "Despite the competitive uproar, coexistence of J2EE and .NET will be the norm and most sophisticated IT organizations will deploy on both development platforms. Who says so? No less an authority than the CTO of J2EE powerhouse BEA Systems, Scott Dietzen, writing in this month's Web Services Journal. Dietzen acknowledges that an ongoing conflict is in progress between Java and C# and between J2EE and the .NET server family and is refeshingly honest, admitting that "there is some truth to the 'write once, test everywhere' complaint against Java." His overall conclusion: ".NET is finding a sweet spot for programmed user interfaces, while J2EE continues to enjoy its sweet spot for server-side applications." Unusual honesty by someone so highly placed. Isn't this just what the software industry needs more of, in these increasingly interoperable times?"
Programming

Hacker Survey 228

Lisa writes "A new entry in Tim O'Reilly's blog, titled "Creativity, Flow, and Joy in Programming" talks about a survey of IS developers with projects hosted by Sourceforge. The results were presented at O'Reilly's Open Source Convention last week. 60% said, 'With one more hour in the day, I would program.' 70% of the respondents volunteered that lack of sleep was the most significant cost of participation. Almost 50% of the respondents agreed that 'When we prepare a program, it's just like composing poetry or music." OSDN has a page with the survey results in PDF or HTML. Slashdot is a part of OSDN.
Technology

MySQL 4 - Is it Stable? 547

Shaklee3 asks: "I have been running version 3 of MySQL on the company's website for quite a while now. We recently ran into a problem where we needed the new features of version 4 that uses the UNION clause. We are running FreeBSD 4.6-STABLE and Apache 1.3.26. I know they reccomend not using it in a production environment yet, but from what I hear it is already being used on a few major websites. Does anyone have experience with version 4, and is it stable enough to run on a high traffic site?" If you feel MySQL isn't ready for prime-time, where specifically do you feel it needs improvement?
Java

Getting Unicode Character Codes in JavaScript? 26

jargonCCNA asks: "I've searched high and low across the web, but I can't seem to be able to find any code snippets or even anything that'll help me out here. I'm trying to get a Unicode character code from a data stream in JavaScript and there doesn't seem to be anything out there to help me; JavaScript itself only has onboard support for ISO-Latin_1, or something. I tried hacking my own converter code, but it's rife with errors. Anybody know of some code that I can include in a GPL project?"
Bug

Pet Bugs II - Debugger War Stories 121

AlphaHelix queries: "A few weeks back there was an article on Pet Bugs, where people were asked about their favorite bugs. I have a different sort of question: what was your greatest debugging challenge? I've been debugging for a long time, from analog circuits all the way up to multi-kLOC multithreaded servers, and I have some pretty grisly war stories, like the time I debugged a problem in a third-party DLL in machine code because the client didn't have the source for it (yay open source.) What was your greatest debugging triumph?" The first time Slashdot did this it was more about bugs that you had encountered (and may not have solved), this one is about bugs in your own projects code and the trials and tribulations you had to go thru to get them fixed.
Announcements

Freedb.org Seeks Volunteers 29

dtype writes "freedb.org is asking for your help. With the ever increasing popularity of freedb, the all-volunteer service has required more and more time. Joerg Hevers has been absorbing the brunt of the load for some time now, and we should all thank him for that. We're now looking for volunteers who would like to spend time on this great service, so that we can continue to serve the community at expected levels."
Programming

What Good Linux Debuggers Are There? 69

David Weekly asks: "I'm programming for a small software company that's got a fair bit of C++ code; we've been using gdb whilst on Linux, but have been a little frustrated by its shortcomings with multithreaded applications and its fumbling multiple inheritance issues. I poked around on the Net and, other than gdb, I was only able to find Etnus' TotalView as a modern, actively-developed Linux debugger. Are there really only two Linux debuggers (that one can take seriously)? How, for instance, do folks who code up Apache modules test them in multithreaded mode? (i.e., not just using '-X'.) I'd love to hear answers more substantive than 'use printf()' and/or 'just use ____, my favorite gdb frontend'."
Perl

Parrot 0.0.7 Out (and some docs) 18

BorrisYeltsin writes "Big news in the Perl community this week is that Parrot 0.0.7 now out. New in this release is "Perl 6 grammar (with small, partial compiler), functional subroutine, coroutine and continuation PMCs, global variables, an intermediate code compiler (imcc), a pure-Perl assembler and working garbage collection." Also there are more Parrot docs! Check out the news here."
Programming

Coders Working Without the Use of Their Hands? 54

Hagmonk asks: "Recently I crashed my motorbike at the racetrack and severely broke my left arm (sorry, nobody caught it on camera). I had a week in hospital, which was a problem since I'm contracting and you don't get paid for sick leave. Furthermore, I have my arm in a cast for 6 weeks (possibly another 6 again after that), which severely cramps my hacking style - no fast switches to other windows to make quick changes, and you should try operating emacs without two hands! Luckily, my employer was generous enough to purchase a hinged keyboard that allows me to type two handed. So I'm interested to hear from other hackers: how have you coped with injuries that stop you doing what you were born to do? Could you find a work around? Did you experience prejudice in the work place as a result, or were you supported?"

Slashdot Top Deals