Programming

ANSI C89 and POSIX portability? 85

LordNite asks: "Here is the situation. I am maintaining a piece of source code which is written in K&R C. One of the original goals of this code was to be as portable as possible to as many platforms as possible. The code runs on UNIX and its clones as well as OS/2. The code avoids POSIX functions such as mmap(2) since at the time it was initially written (early 1990s) POSIX was not very wide spread. The code is well written, but in need of some serious fixing. As I go around fixing parts of the code I would also like to modernize it a bit. Since it is now 2004, can I rely on ANSI C89 and POSIX routines without sacrificing the portability of this code? (Yes, I do realize that the purpose of POSIX is code portability...) I am not really interested in the OS/2 port at this time. I am just interested in keeping portability with UNIX clones. To put my question another way: Are there any UNIX-like OSes in common use, which are currently developed and supported by some entity either OSS or proprietary, that do not support POSIX and ANSI C89?"
Programming

Keeping Programming Fun? 144

nb caffeine asks: "Having recently graduated, and now working as a developer, I've discovered that after 9 hours of programming at work, I have little interest in coming home and working on my personal programming projects. I've become upset with this fact, because while I was in college, I spent quite a bit of time working on personal projects for my own use. I also noticed this trend during my summer internship, and I have a feeling that it isn't going to get any better. It's not to say that I don't get to work with cool technologies at my job, but they aren't anything that I would pick up in my spare time. So, how do my fellow programming geeks balance work related projects and personal projects? Or, if you've already discovered that after 9 hours of programming, the last thing you want to see is a computer, what hobbies does the Slashdot crowd enjoy after they've ruined their hobby by turning it into a job?"
Programming

Size Is Everything: Making Tiny ELF Binaries 40

Milk Toast writes "According to this article one can start with a simple program consisting of 3998 bytes and reduce it down to a mere 45 bytes. Now if they could only reduce the size of my Office install." It involves digging into assembly, naturally, but it's interesting to see the extra code generated not only by the compiler, but by the other steps along the way.
Announcements

TopCoder Open 2004 Programming Tournament 42

TAG writes "TopCoder just announced rules for this year annual international programming tournament. The 2004 TopCoder Open, Sponsored by Microsoft will set as rivals some of the IT industry's top professionals and international collegiate coders. Software will be designed and developed. Seemingly unsolvable algorithmic problems will be solved. $150,000 will be awarded over the course of 14 weeks. 24 of the world's best programmers will be invited to compete live at the onsite finals in Santa Clara, CA, USA. This competition is 'Free'. Yep. Free as beer. Everybody over the age of 18 is eligible. So? What is your TopCoder rating today?"
Perl

CPAN: $677 Million of Perl 277

Adam K writes "It had to happen eventually. CPAN has finally gotten the sloccount treatment, and the results are interesting. At 15.4 million lines of code, CPAN is starting to approach the size of the entire Redhat 6.2 distribution mentioned in David Wheeler's original paper. Could this help explain perl's relatively low position in the SourceForge.net language numbers?"
Java

J2ME Polish 1.0 32

Reader enough2000 writes "After nine months of intense programming, J2ME Polish 1.0 has now been released on j2mepolish.org. J2ME Polish is a GPL'd suite of tools, of which every one meets a definite need of J2ME developers. It includes an Ant based build tool, an integrated device database, an UI which can be designed using simple CSS-textfiles, a game-engine and a logging framework. I'm the developer of this suite and would like to know your opinions and suggestions for future versions."
Security

A Taste Of Computer Security 192

andrew_ps writes "Amit Singh has published on his KernelThread.com a paper (mini book really) on computer security. A Taste of Computer Security is a VERY comprehensive paper in what it covers, but is remarkably easy to read. This is not some list of "sploits" though! Topics covered include popular notions about security, types of mal-ware, viruses & worms, memory attacks/defences, intrusion, sandboxing, review of Solaris 10 security and plenty of others. Most notably it includes probably one of the most fair and intelligent analysis of the Unix-Vs-Windows security issue that I have ever seen."
Graphics

GPU Gems 2 Gets Call for Participation 11

An anonymous reader writes "Following the publication of GPU Gems: Programming Techniques, Tips, and Tricks for Real-Time Graphics, NVIDIA has decided to produce a second GPU Gems volume in order to showcase the best new ideas and techniques for the latest programmable GPUs. Tentatively titled GPU Gems II: Techniques for Graphics and Compute Intensive Programming, NVIDIA is looking for innovative ideas from developers who are using GPUs in new ways to create stunning graphics and cutting-edge applications. GPU Gems II will have an increased focus on chapters exploring non-graphics applications of the computational capabilities of GPU hardware (learn more at www.GPGPU.org). If you would like to participate, please read through the submission guidelines and send an e-mail to articlesubmissions@nvidia.com with your proposed chapter title as the subject line, and the required description in the e-mail body. The deadline for submissions is Monday, August 16, 2004."
Programming

IronPython-0.6 For .NET/Mono Debuts 28

Sunspire writes "IronPython, a Python implementation for the .NET and Mono platforms, has just released its latest version, IronPython-0.6. Touted features include speed, with IronPython being supposedly faster than the native C version of Python, and CLR integration giving full access to the .NET and Mono libraries while still being fully dynamic like regular Python. Is Python, Mono and GTK# the new killer combo for rapid Linux desktop application development?" We previously covered IronPython back in May.
Security

BSD Jails, a Better Virtual Server? 61

gManZboy writes "Poul-Henning Kamp, a FreeBSD committer, has an article up about BSD Jails as part of Queue's special report on virtual machines. He describes BSD's interesting 'semi-permeable' approach to VMs, and the importance of security in VM architectures. The article is co-written by Robert Watson, a DARPA principal investigator in the Host Intrusion Protection (HIP) Research Group at McAfee Research."
Programming

Komodo 3.0 Released 54

darthcamaro writes "Looks like Komodo 3.0 has been released according to this article on InternetNews.com: If you use Perl, Python, Tcl, PHP and XLST in any combination than you've probably heard of Komodo and if you haven't you should have - it's the only IDE that I know of that handles all of those languages (in one real slick environment too)...and it looks like version 3.0 has also got an updated object browser and a new debugger that I'm looking forward to trying out."
Programming

Debugging in Plain English? 274

sameerdesai writes "CNN is carrying a story about Researchers from Carnegie Melon: Myers and a graduate student, Andrew Ko, have developed a debugging program that lets users ask questions about computer errors in plain English: Why didn't a program behave as expected? I guess with recent exploits and bugs that were found this will soon be a hot research topic or tool in the market." We recently did a story about revolutionary debugging techniques; the researchers' website has some papers and other information.
Unix

Unix's Founding Fathers 308

Dave B writes "There's a nice article on Economist.com about Dennis Ritchie, the genesis of Unix, and the C programming language."
GNOME

Project GoneME Fixes Perceived Gnome UI Errors 576

An anonymous reader writes "Project GoneME is the first attempt to try moving the GNOME Desktop into a new direction. The intention is to create a community of people, who are willing and interested to help fixing issues brought up by people for a very long time and make the vision of a usable Desktop in the means of good old Unix fashion become true. In case you are interested to help, please join the project. Plenty of people have shown interest and welcome this step and the IRC channel got filled up within a short time." Update: 07/26 02:33 GMT by T : A project mailing list has been set up for anyone interested in taking part in this endeavor.
Programming

IT, Be Free! 133

An anonymous reader writes "The Open Group, along with IBM, has published a 500-word document that it hopes developers will endorse. The 'Developer Declaration of Independence' enjoins corporations, governments, organizations, and individuals to adopt and protect open standards in order to promote interoperability among all vendors and give IT customers freedom of choice. The Boston-based Open Group promotes the POSIX open standard and sells compliance testing to OS vendors. It has not yet organized a 'Boston IT Party,' however."
KDE

aKademy Team Announces International Lineup 83

Telex4 writes "The aKademy Team is proud to announce the schedules for the KDE Community World Summit 2004, code-named 'aKademy', taking place in Ludwigsburg, Germany from August 21st to 29th. Featuring speakers from IBM, Novell, SUSE, Conectiva, Trolltech, HP and many community hackers and activists, it promises to be a highlight of the Free Software calendar. With presentations both for developers and users, tutorials from the experts in their field, and plenty of opportunities to discuss significant issues like usability and Qt4/KDE4, you can't afford to miss it. For more information, you can read the full announcement. Go to the conference web site and register now to avoid disappointment!"
Programming

Why You Should Use XHTML 657

Da_Slayer writes "The w3's HTML group has released the 6th public working draft for XHTML 2.0. XHTML 2 is a general-purpose markup language designed for representing documents for a wide range of purposes across the Web. Meaning it is to be used for document structuring which is why it does not have presentation elements. The draft is located at w3's website. Also they have a FAQ about why you should use XHTML over HTML. It goes into specifics about embedding MathML, SVG, etc... and has links to tools and resources to help convert existing html documents to xhtml. One of those resources is a document on XML events and its advantages over the onclick style of event handling."
Linux

No 2.7 Linux Kernel Branch Due Soon 447

An anonymous reader writes "At the fourth annual Linux Kernel Developers Summit, it was decided that there won't be a 2.7 Linux kernel development branch any time soon. Instead, Linux creator Linus Torvalds and the official 2.6 maintainer Andrew Morton have decided to continue working as a team, further enhancing the 2.6 kernel. Up to this point, kernels ending in an odd number (2.1, 2.3, 2.5, etc) were considered development kernels, and kernels ending in an even number (2.2, 2.4, 2.6, etc) were considered stable kernels. However, according to this KernelTrap article, active development will now continue in the mainline 2.6 tree, and the final stabilization will be left up to the companies that provide Linux distributions."
GNU is Not Unix

Stallman Pushes For Free BIOS 419

An anonymous reader writes "One key area that Richard Stallman, GNU project founder, hopes to develop is an OSS-based BIOS. But his work has been hindered by PC manufacturers who haven't been receptive to the idea. Stallman told Builder AU that: 'we're looking for companies willing to cooperate with the community in this way.' On challenges facing developers today, Stallman said the worst was the proliferation of laws that explicitly ban free software for certain jobs."

Slashdot Top Deals