Programming

Linux Programming By Example 155

Craig Maloney writes "Linux Programming By Example is a book aimed squarely at programmers learning how to program the Linux and UNIX system for the first time." Read Craig's review of Linux Programming by Example (below) to find his take on whether the book delivers on the promise of its title.
Perl

Use Perl to port Windows DLLs to Palm OS 13

developerWorks writes "Porting existing Windows DLLs to Palm OS has historically been a tedious process. This article introduces you to an interesting technique that makes this process easier by using Perl. It demonstrates a Perl script that analyzes existing C source code and automatically generates many of the source files required for porting. You should be able to use the code outlined in the article to help with your own porting projects."
Programming

Programming Marathons? 109

Mattygfunk asks: "Coming to the submission date of a major university project the other day, myself and another group member coded in XHTML/CSS and ASP (yuk!) for 27 hours straight to complete it. What is the longest Slashdot readers have coded in a single session? Apart from being more organized and having plenty of coffee, do you have any tips on getting through ultra-long coding sessions?"
PHP

Yahoo Moving to PHP 779

Erek Dyskant writes "Yahoo has decided to switch from a proprietary system written in C/C++ to PHP for their backend scripting. Here's the notes from a presentation by a Yahoo engineer at PHP Con 2002."
Programming

When is Database Muscle Too Much? 93

DBOrNotDB asks: "At some of the places I've worked in the past, there have been DBAs who generally insisted that given accurate specifications and enough hardware and software, you could stuff nearly anything you wanted to into a database, manipulate it, and pull it back out again in a reasonable time. The feeling at my current workplace seems to be that very few projects lend themselves to database usage and that a customized one-off data storage solution should be developed for each project. This seems like a violation of many major software engineering principals (e.g. reuse) to me. My question is, what kind of success or horror stories does the community have about trying put different projects into databases? Numbers (# of rows, tables, total data storage, cost, etc) would be nice, but even just anecdotes would be helpful."
Apple

PPC Linux vs. Mac OS X Server: Linux Edges Out 397

Spencerian writes "Mac OS X is a very promising new BSD variant, but how does it rate as a server? Byte.com writer Moshe Bar has made an extensively balanced performance comparison of Mac OS X Server 10.1.5 versus SuSE Linux PPC with the 2.4.19 kernel. Both operating systems ran on the same hardware: an Xserve 1U rack mount server from Apple. While /.ers may guess (correctly) at his results, Mac OS X Server 10.1.5 wasn't as far behind the curve as you might think. Performance might've been better if Moshe had Mac OS X Server 10.2, with its faster GUI and other enhancements, but still, it appears that Mac OS X Server 10.1 was doing pretty good for a 1-year old."
Linux

Test of the Preemptive Kernel Patch 28

e8johan writes "Linux was originally written as a general-purpose operating system without any consideration for real-time applications. Recently Linux has become attractive to the real-time community due to its low cost and open standards. In order to make it more practical for the real-time community, patches have been written to affect such things as interrupt latency and context switch. These patches are public domain and are becoming part of the main Linux tree. The test results can be found here."
Programming

Dynamic HTML The Definitive Reference (2nd edition) 243

TheThinMan writes "This is the completely updated second edition. Four years ago I made the first edition my constant companion and it has saved me, and any other web developer nearby, weeks of head-scratching since. Back then we had to tussle with Netscape Navigator 4 vs. Internet Explorer 4 while supporting the version 3 browsers. Though the browser war is over and all sides have vastly improved their products, DHTML has moved on. This edition brings home just how much has changed and just how much is new. Most importantly, it helps you to develop web interfaces that will be cross-platform from the outset." TheThinMan's thoughts on the book continue below.
Programming

Overspecialization in the Computer Field? 120

The Mainframe asks: "I visited a nameless college campus recently and was shocked at the degree of specialization within the student body. Of the many CS and other IT-related majors that I talked to, not a single one had any real breadth of experience. Web developers knew Perl, but couldn't tell Apache from MySQL. C++ coders knew their language, as long as it was presented in Microsoft Visual C++. I suspect if I'd asked them to use G++ they would have said 'bless you'. Essentially, I'm worried. I plan to do some very interesting things in the next few years, but I'm not going to be able to pull it off if I have to wade through 100 narrow-minded people for every 1 useful human being. Is this something that other employers and co-workers have been having a lot of problems with? Is the whole world having to show its database developers how to use a copying machine?"
Linux

PPC32 And IA64 Being Added To LSB Certification 7

George Kraft (gk4) writes "The LSB is announcing its intention to add PPC32 and IA64 architectures to its certification program; therefore, the workgroup is launching a Certification Pilot for PPC32 and IA64 architectures to evaluate the LSB's runtime conformance test suites. The pilot will continue until Friday December 13th, 2002. This will give Linux distributions and hardware vendors time to evaluate, comment, and get prepared before certification begins in 1Q03. Currently there are seven IA32 Linux releases from four distributions which are LSB v1.2 Certified." Also, "The LSB workgroup has just released for public review its latest LSB v1.3 draft of the generic written specification and for IA32, PPC32, and IA64. The workgroup is soliciting comments from the community until Friday November 8th. (Read on below for details on these changes.)
Programming

Examples of Programming Gone Wrong? 674

LightForce3 asks: "I'm a beginning CS student, and in my studies I've come across examples of programmer error causing very large problems, such as the Ariane 5 failure and the Therac-25 accidents, often as tales of caution to beginner programmers such as myself. My (morbid?) curiosity has been piqued, and I'm looking for other examples of programmer error leading to serious problems. After all, it is better to learn from the mistakes of others than from your own, right? ;) What programming-related accidents, incidents, and failures, both well-known and obscure, do Slashdot readers know about, and are there any good resources for researching these?"
Programming

As Languages Evolve... 81

naph writes "It seems that as programming languages have developed there has been a steady increase in the level of abstraction they use. Early languages were all very low-level, but successive generations have become higher and higher. Is this trend going to continue, or do you think we've reached a kind of happy medium between power and abstraction? Would developers prefer higher level languages, or is the direct control of things good? I was just wondering what other developers out there thought of this."
Programming

Storefront-in-a-Box 21

like-it-or-not asks: "I'm the network admin for a Mom & Pop chain of warehouses and stores. The owners finally want to take the leap to the 'online market' and have asked me to build them a storefront (catalog and shopping cart, etc.). I haven't done any Web building in several years so I haven't kept up with the many changes in the field. Rather than construct something 'from scratch', I'm wanting to just buy (and then customize) a 'store in a box' (pre-made HTML+CGI+? templates). I've looked around some and wonder what recommendations this community might offer. I have only one requirement: I want to 'own' the software and hardware, not simply use it as a part of renting some space from a provider). Thanks!"
Debian

GNOME 2 To Hit Debian Unstable This Sunday 20

steveha writes "Colin Walters announced that GNOME 2 will go into Sid (the unstable branch of Debian) this Sunday. Good experimental packages have been available for a while, but there wasn't any upgrade from GNOME 1.x; you lost all your settings. Now there are transition scripts, and the Debian GNOME 2 developers would like people to test the transition scripts as much as possible before Sunday... to quote Colin Waters, '...if you haven't helped us out by testing them already, then you will be forced to anyways this Sunday :)'"
Programming

Multi-Monitors and Increased Development Productivity? 58

cK-Gunslinger asks: "I'm looking for some definitive, legitimate studies/research that show that using a multiple-monitor setup yields increased productivity for code development. (or disproves, as the case may be.) I've seen many online 'articles' that praise the virtues of multi-monitor setups for content creation and HTML editing, but my interest lies more in the OO design, coding, and test realm. Sites such as RealTime offer some good info, albeit not completely unbiased. And who doesn't drool over X-Top systems. I'd like to submit a proposal to our IT and Process groups recommending a "trial run" on some small project, but am having a difficult time finding enough empirical evidence to crack the budget-clench. I'd also be interested in user comments on how multi-mon setups have helped your productivity as well as how you typically use your setup (what apps, how many monitors, CRT vs LCD, etc.)"
Java

Apple Releases Java 1.4.1 Developer Preview 21

kuwan writes "Allen Denison, Java Product Manager at Apple has just sent an email to their java-dev mailing list announcing the availability of a Java 1.4.1 Developer Preview. This preview is available to all ADC members and can be downloaded from the 'Download Software' section of the ADC web site. The preview is under a non-disclosure agreement so you won't be able to talk about it except on a private Apple mailing list. It's good to see that Apple is making progress on Java 1.4 and Mac OS X users will soon have the latest Java VM."
Programming

Donating Time To Goodwill Projects? 179

jukal asks: "I am in the process of writing a proposal for co-operation between Openchallenge and UNITeS (United Nations Information Technology Service) which is 'creating a global volunteer programme aimed at bridging the digital divide between industrialized and developing countries'. Currently & traditionally contributing as a volunteer means relocating yourself to the developing country to take part as a project developer/manager/specialist. My proposal to UNITeS is, in short, will be that people could participate in such software projects via Openchallenge - while staying in their home country, on their spare-time and while keeping their jobs. The local team in the developing country would, after defining and creating requirements specifications post sub-projects as tasks to Openchallenge. All the contributions submitted to Openchallenge are published under an open source license. My question is: would you for example consider donating some hours to help a goodwill project - if you could do that from home. This is of interest to me, as I would like to be sure that the time we put into building co-operating with a big organization like UNITeS and others in the future. Is not wasted. There is this thread about 'Volunteer Work Abroad' - which is good reading related to the subject. But it did not quite provide me with the answer."

Slashdot Top Deals