Programming

Automation in the Workplace? 82

thefluxster asks: "The company I work for considers efficiency and automation two of the most important standards to live/work by while employed for them. To further this cause, several individuals have been employed specifically to design and implement various programs, scripts, and (where APIs aren't available) macros designed in Macro Express 3. Using these methods, the group has been able to shave very significant amounts of man hours off various projects. To the Slashdot community I ask: What, if any, applications, processes, etc. have you or your company put in place to increase productivity?"
Security

How To Conduct Your Very Own Buffer Overflow 186

Adam writes "If you've ever wanted to create your own buffer overflow or just to see how one works, check out this tutorial. The article talks about how a buffer overflow works and gives a guided example through an exploit to help you on your way. Definitely worth checking out." From the article: "Every now and again we all hear about an exploit that takes place thanks to a buffer overflow, but what is a buffer overflow? By definition it is when a program attempts to store more data in an array (buffer) than it was intended to hold, thus overwriting the return address of the function. To show how this is actually done, I'll explain how to do a simple attack on a fairly small program."
Programming

Writing Unit Tests for Existing Code? 86

out-of-order asks: "I recently became a member of a large software organization which has placed me in the role of preparing the Unit Test effort for a component of software. Problem is that everything that I've read about Unit Testing pertains to 'test-driven' design, writing test cases first, etc. What if the opposite situation is true? This organization was writing code before I walked in the door and now I need to test it. What methodology is there for writing test cases for code that already exists?"
Programming

Where Should all the 4th Gens Go? 39

ARSDeveloperGuy writes "Fourth generation languages are cool, but there seems to be little to no effort being spent to standardize them. The current state is commercialized pseudo-languages are created to allow vertical apps to be expanded. (ARS Remedy, Siebel, Oracle JDeveloper) The concepts of a form, field, and workflow can be standardized, and when you look at many of these languages they aren't terribly different. Why don't we create a standard and start writing "workflow converters" for these powerful languages? That would allow conversions to happen more readily, maybe even to an open source offering like OpenSourceCRM."
KDE

KDE Switches to Subversion 310

Michael Pyne writes "It's official, after weeks of preparation, KDE has completed switching their source control repository from CVS to Subversion. KDE is one of the largest software projects to make the switch, and is the first major desktop environment to do so. Some of the goodies that CVS users are used to are still in the process of being switched over (including WebSVN), but everything seems to be working well so far." (The announcement of early April is no longer the operative statement.)
GNU is Not Unix

The Open-Source Detector 340

McDutchie writes "With open-source related lawsuits on the rise, a market is developing for automated tools that detect the presence of open-source code within larger application development environments. Palamida Inc. stepped in with IP Amplifier 3.0, essentially a search tool and a database that consists of more than 38 million of the most commonly used open-source files. Something Google-inspired called CodeRank is claimed to match code against the database. Hmm... maybe someone should run it on this, or even this." Of course, some open source code is perfectly welcome in commercial software, even if that software's code is not itself open; it's no secret or surprise that Microsoft, for instance, has taken advantage in some products of BSD-licensed code.
The Internet

Azureus Decentralizes Bittorrent 672

BobPaul writes "While the eXeem project to decentralize Bittorrent remains in open beta, the Azureus Java Bittorrent project has recently released a major update that, among other things offers 'a distributed, decentralised database that can be used to track decentralised torrents. This permits both "trackerless" torrents and the maintenance of swarms where the tracker has become unavailable or where the torrent was removed from the tracker.' It doesn't contain the search functionality of eXeem, but it's also not a beta product and is licensed under the GPL. Could this and compatible clients be the replacement to SuprNova and Lokitorrents, or does the lack of search negate its effectiveness?"
Databases

The Future of Databases 315

gManZboy writes "Ever wonder where database technology is going? This is something that Turing award winner Jim Gray from Microsoft has given a lot of thought to. He recently published an article in which he looks at the many forces pushing database technologies forward, and what those new technologies will look like. Gray writes, 'the greatest of these [research challenges] will have to do with the unification of approximate and exact reasoning. Most of us come from the exact-reasoning world -- but most of our clients are now asking questions that require approximate or probabilistic answers.'"
Programming

A Review of GCC 4.0 429

ChaoticCoyote writes " I've just posted a short review of GCC 4.0, which compares it against GCC 3.4.3 on Opteron and Pentium 4 systems, using LAME, POV-Ray, the Linux kernel, and SciMark2 as benchmarks. My conclusion: Is GCC 4.0 better than its predecessors? In terms of raw numbers, the answer is a definite "no". I've tried GCC 4.0 on other programs, with similar results to the tests above, and I won't be recompiling my Gentoo systems with GCC 4.0 in the near future. The GCC 3.4 series still has life in it, and the GCC folk have committed to maintaining it. A 3.4.4 update is pending as I write this. That said, no one should expect a "point-oh-point-oh" release to deliver the full potential of a product, particularly when it comes to a software system with the complexity of GCC. Version 4.0.0 is laying a foundation for the future, and should be seen as a technological step forward with new internal architectures and the addition of Fortran 95. If you compile a great deal of C++, you'll want to investigate GCC 4.0. Keep an eye on 4.0. Like a baby, we won't really appreciate its value until it's matured a bit. "
Databases

Load List Values for Improved Efficiency 207

An anonymous reader writes "Reduce the number of database hits and improve your Web application's efficiency when you load common shared list values only once. In this code-filled article, learn to load the values for drop-down lists when your Web application starts and then to share these loaded list values among all the users of your application."
Software

Canonical Plans a Version-Tracking Tool for Devs 90

daria42 writes "Canonical, the company behind Ubuntu, has started work on a new project which aims to make easier for Linux developers to find the latest open source software updates, no matter which distribution they are contributing to. The effort encompasses distributed bug tracking, revision control, language translations and more. Canonical founder Mark Shuttleworth wants Ubuntu to take advantage of the software, saying: 'As the framework [for using code from across the community] sets, hopefully we are at the centre of it. Further down the pipeline we may need to differentiate on other grounds.'"
Debian

The Grumpy Groundhog - Ubuntu for Developers 56

**loki969** writes "Ubuntu is planing a "cutting edge"-distro, 'The Grumpy Groundhog', which will be aimed explicitly at developers. Here is a quote from their site: 'Upstream development in the open source world moves at a tremendous pace. Many developers like to keep up to date with specific upstream products, but the work involved in building from CVS every day is substantial. With The Grumpy Groundhog Project, Ubuntu provides those developers with a ready source of packages containing the latest upstream code. '"
Mozilla

Firefox 1.1 Plans Native SVG Support 415

Spy Hunter writes "The Scalable Vector Graphics format has yet to take off on the web, perhaps due to a small installed base of SVG-enabled browsers. That could soon change as the latest Firefox 1.1 nightly builds have started coming with native SVG support compiled in and enabled by default. If this feature makes into the Firefox 1.1 release (which is not certain, but likely, as the developers want it to happen) it will increase the number of web users who have an SVG renderer installed. But perhaps more interesting than that is the possibility of mixing SVG graphic elements directly into the markup of regular XHTML pages, freeing vector graphics from the small rectangle of a browser plugin and opening up a host of exciting new possibilities for web developers. This is enabled by the integration of SVG directly into the Gecko rendering engine, instead of as a browser plugin. With such a useful web developer feature available only in Firefox, could we soon start seeing websites asking their users to download Firefox to get the best browsing experience?"
Internet Explorer

Implementating Transparent PNGs in IE7 97

Brandon writes "Over at the official IE Blog, Sam Fortiner has posted some very detailed information regarding Alpha PNG Rendering in IE7. From the article: 'As the dev who implemented the support, I can state that it was neither a bug-fix nor did it require a re-write of the display engine. Instead, it ended up being somewhere in-between the two and required what I would call "feature work." Implementing transparency support for PNG images required a significant amount of modification to the image decoding and display pipeline in IE along with a significant amount of new functionality added to the PNG decoder.'"
PHP

'PHP 5 Power Programming' Available for Download 28

OneSeventeen writes "As mentioned earlier on slashdot, the Bruce Perens Open Source series has expanded its selection with PHP 5 Power Programming. As with all of the books in this series, electronic copies are offered free of charge several months after its printed release. While it is always nice to have even more PHP books on the bookshelves, this has been officially released on the Bruce Perens' Open Source Series for download in the form of a 720 page PDF file. Better PHP programming is only 9.3MB away!"
Programming

How to Make Easy-to-Package Software, Part 2 13

jmmv writes "A month ago (more or less), the first part of the Making packager-friendly software was published and announced here; it seemed to be warmly accepted by the community. Now it's the turn for the second (and last) part, which has just seen the light. It deals with problems caused by recursive dependencies, configuration file handling, unprivileged builds, the make utility, build infrastructure oddities and some notes about code portability. Of course, these are just suggestions to try to make the life of packagers a bit simpler; you can just ignore them if you want to. I hope it will be of interest and that future versions of your creations are easier to package. Thanks!"
Programming

Fortress: The Successor to Fortran? 361

An anonymous reader writes "A draft specification of the Fortress language was recently released. Developed by Sun Microsystems as part of a DARPA-funded supercomputing initiative, Fortress is intended to be a successor to Fortran. Guy Steele, a co-author of Java and member of the Fortress development team, hopes that Fortress will to 'do for Fortran what Java did for C.' Steele admits that Java isn't probably the best choice for numerical computing, and that 'it's a mistake to try to make a programming language that is all things to all people... because the needs are so diverse.' Fortress has a number of interesting features, including support for Unicode characters in code, enabling code to look more like formal mathematical expressions. More information about Fortress is given in interview with Steele, and in a talk by Steele. There's also some interesting commentary on Fortress, including some commentary by a member of the Fortress development team, in response to two stories at the programming languages weblog Lambda the Ultimate."
OS X

Third Parties Already Taking Advantage of Tiger 371

tezbobobo writes "Tiger been out hours and already the Apple download page has been updated to take advantage of the update's new features. These cover areas including Spotlight plugins, Dashboard plugins, and Automator plugins. These allow a range of actions from searching within omnigraph documents (spotlight), to resizing photoshop documents (automator), and (my fav) a dashboard wireless locator. The best bit -- a cursory glance indicates about half are freeware."
Programming

Practical Common Lisp 617

Frank Buss writes "Common Lisp is an ANSI standard, which defines a general purpose language and library, and is implemented by free and commercial compilers and IDEs; see *hyper-cliki* for more general information about Common Lisp. The book Practical Common Lisp explains the language with many practical examples and is available in full text online, too." Read on for the rest of Buss' review.

Slashdot Top Deals