Today's News

9th May 2006
8th May 2006
7th May 2006

Get Linux in South Africa Pretoria on DVD or CD, SUSE, OpenSuse, Fedora, Mandriva, Knoppix, Mandrake, Debian, DamnSmall, DSL, Gentoo, Slackware, SimplyMepis, Monoppix, FreeBSD, Trustix, Comodo, Smoothwall, Gibraltar, IPCop, OpenCD, Ubuntu, Kubuntu, Redhat, CentOS, Whitebox, PCLinuxOS, Xandros, Vector, Scientific, OpenOffice, Vector, Foresight, Asterisk
 
News Alert


Linux and Open Source News for 8th May 2006

Linux DVD

previous    Distro Watch    next


  popularitypopularitypopularitypopularitypopularitypopularity

Source: LinuxTracker.org

Category: RIP Size: 148.83 MB Status: 3 seeders and no leecher Added: 2006-05-08 15:28:13


  popularitypopularitypopularitypopularitypopularitypopularity

Source: LinuxTracker.org

Category: AliXe Size: 246.83 MB Status: 7 seeders and 6 leechers Added: 2006-05-08 12:52:34


  popularitypopularitypopularitypopularitypopularitypopularity

Source: LinuxTracker.org

Category: ZenWalk Size: 593.91 MB Status: 1 seeders and 3 leechers Added: 2006-05-08 12:45:27


  popularitypopularitypopularitypopularitypopularitypopularitypopularity

Source: LinuxTracker.org

Category: Puppy Size: 169.46 MB Status: 1 seeders and no leecher Added: 2006-05-08 11:47:46


  popularitypopularitypopularitypopularitypopularitypopularity

Source: LinuxTracker.org

Category: ZenWalk Size: 593.91 MB Status: 1 seeders and 1 leechers Added: 2006-05-08 10:39:19


  popularitypopularitypopularitypopularitypopularitypopularity

Source: LinuxTracker.org

Category: FreeBSD Size: 23.17 MB Status: 3 seeders and no leecher Added: 2006-05-08 09:57:44


  popularitypopularitypopularitypopularitypopularitypopularity

Source: LinuxTracker.org

Category: FreeBSD Size: 1.08 GB Status: 16 seeders and 8 leechers Added: 2006-05-08 09:51:41


  popularitypopularitypopularitypopularitypopularitypopularity

Source: freebsd

FreeBSD 6.1 has been released: "It is my great pleasure and privilege to announce the availability of FreeBSD 6.1-RELEASE. This release is the next step in the development of the 6.X branch, delivering several performance improvements, many bug fixes, and a few new features. These include: addition of .


  popularitypopularitypopularitypopularitypopularitypopularity

Source: oralux

Oralux is a GNU/Linux distribution designed for blind or visually impaired people, using Emacspeak as its audio desktop. The project has announced the first development build of version 0.7: "Oralux 0.7 alpha is available. Oralux 0.7 alpha proposes three audio environments (Emacspeak, Yasr, Speakup), six languages (Brazilian Portuguese, .


  popularitypopularitypopularitypopularitypopularitypopularity

Source: scientific

Connie Sieh has announced the release of Scientific Linux 4.3 for both the i386 and x86_64 architectures. This is the third update to the distribution which is built from source packages for Red Hat Enterprise Linux and enhanced with extra applications and features. Some of the enhancements include: .


  popularitypopularitypopularitypopularitypopularitypopularity

Source: weekly

This week in DistroWatch Weekly: News: SUSE, Debian and FreeBSD release updates, Gentoo development pains, Linux Genealogy CD Opinion: Wrecking the Internet - turning gold into lead Interviews: John Andrews and Robert Shingledecker, Damn Small Linux Released last week: Xandros Server, SLAX 5.1.4, easys GNU/Linux 2.1 Upcoming releases: .



previous    Linux Today News Service    next


  popularity

Source: Linux Today

Do the companies that benefit the most from open-source code give anything back to the projects that create it ?


  popularity

Source: Linux Today

"The really interesting comparison is with Linux, a product of comparable complexity developed by an independent, dispersed community of programmers who communicate mainly over the net " With a linked response from Con Zymaris.


  popularitypopularitypopularitypopularitypopularitypopularitypopularity

Source: Linux Today

Now if we could just get projects to agree on standard usage for naming, I'd be a happy camper


  popularity

Source: Linux Today

So what do the problems of Vista have to do with desktop Linux? In short, a lot


  popularity

Source: Linux Today

While you will not find pixel-by-pixel editing functionality in F-Spot (at least just yet) you will find the ability to many of the common photo manipulation tasks you might have in mind


  popularity

Source: Linux Today

In practice, adopting free software was a bold choice in autumn 2001


  popularitypopularitypopularitypopularitypopularitypopularitypopularity

Source: Linux Today

Our first article on this topic, which will likely be the start of a series of examinations, is looking at the differences between the X.Org open-source ATI Radeon driver and that of ATI's official but proprietary fglrx display driver


  popularity

Source: Linux Today

Vim 7 is ready! After years of development this feature packed editor is waiting for you


  popularity

Source: Linux Today

The Pepper Pad, like Origami, is a mid-point form factor PC that is bigger and more powerful than a PDA, but smaller and less optimized for traditional desktop PC tasks than a notebook computer or a desktop PC


  popularity

Source: Linux Today

What can a Linux distribution such as Mandriva Linux 2006 mean to a Windows user? Is it a valuable alternative, or do you have to be a real computer nerd to risk the move ?


  popularity

Source: Linux Today

Shuttleworth said he was confident that the three certificates for the corporate use of VMware, IBM DB2, and MySQL will soon follow


  popularity

Source: Linux Today

Just because Microsoft refuses to support ODF (Open Document Format) never meant that someone wouldn't write a plug-in to enable Microsoft Office users to read and write ODF documents. Well, it's happened


  popularity

Source: Linux Today

Silicon Graphics Inc., a long-struggling maker of high-performance computers, filed for Chapter 11 bankruptcy protection


  popularitypopularitypopularitypopularitypopularitypopularitypopularity

Source: Linux Today

:Linux kernel maintainer Andrew Morton may force developers to devote one kernel cycle to fix long-standing bugs in the Linux kernel.."


  popularity

Source: Linux Today

Software vendor Novell plans to make the latest 10.1 version of its SUSE Linux operating system available late this week


  popularitypopularitypopularitypopularitypopularitypopularitypopularitypopularity

Source: Linux Today

At a Wi-Fi hotspot, you may need the security and anonymity of Tor, but on a secure network, the higher bandwidth of a direct connection becomes more important


  popularitypopularitypopularitypopularitypopularitypopularitypopularity

Source: Linux Today

I was in doubt about writing this article. There are several tutorials covering this topic but I want to try to write a simple article that shows the basis of rpm usage


  popularity

Source: Linux Today

Firebird is a relational database offering many ANSI SQL-99 features that runs on Linux, Windows, and a variety of Unix platforms


  popularity

Source: Linux Today

Many times I have come across seemingly hopeless situations where a program when compiled and installed in GNU/Linux just fails to run


  popularitypopularitypopularitypopularitypopularitypopularity

Source: Linux Today

Spam email is the plague of the 21st century; SpamBayes is its cure. This client-side application analyzes all incoming email messages and automatically sorts out those that are unwanted


  popularitypopularitypopularitypopularitypopularitypopularitypopularity

Source: Linux Today

This weekend's security advisories: rsync and Mozilla Firefox (Gentoo Linux); xorg-x11 (Mandriva Linux); and clamav, cyrus-sasl, kernel, libtiff, rsync, and xorg-x11 (Trustix Secure Linux).


  popularity

Source: Linux Today

There are lots of different ways to tweak PVRs, but you're probably wondering what they have to do with web development



previous    Linux and Open Source News, Reviews and Strategy from eWEEK.com    next


  popularity

Source: eWEEK Linux

Opinion: Intel's Itanium is a good platform, but unless prices go down, it'll be left on the shelf. (Linux-Watch)


  popularitypopularitypopularitypopularitypopularitypopularitypopularitypopularitypopularity

Source: eWEEK Linux

Can you have open-source goodness and proprietary software in one Linux distribution? Linspire says yes, but Cyber Cynic Steven J. Vaughan-Nichols and others are not so sure.



previous    News for nerds, stuff that matters    next


  popularity

Source: Slashdot: Linux

sitor writes "What can Mandriva Linux 2006 mean for home users? is an article giving an extensive explanation about the pro's and con's of using a linux distribution such as Mandriva Linux 2006. It was written with people in mind that are in doubt whether linux might be something for them or not. It aims to inform them in a neutral way, understandable to newbies. Next time you have someone asking you questions about Linux not knowing whether they should try, you can just direct them to this article."



previous    The O'Reilly Network ONLamp Articles and Weblogs    next


  popularity

Source: ONLamp.com

Thomas Wailgum’s article, “Out of sight, out of control,” in the May 1 issue of CIO magazine was an excellent illustration of why telecommuting can be a dismal failure. Wailgum imagines scenarios like a remote colleague who “seems distracted” on a phone call, presumably by texting on her BlackBerry, and how it’s best to “‘accidentally’ shut down her BlackBerry service” in response. The message is clear: Remote workers just won’t do the work you want them to do (at least so long as you distrust them).
At first I thought Wailgum might be joshing us, humorously holding up anti-patterns in management of remote workers (indeed, in any type of management), but I’m sad to conclude that he’s serious. What’s clear by the end of the article is that Theory X management, suboptimal for knowledge workers in general, is doomed to failure when applied with extra vigor to those workers that don’t benefit from overview of his watchful eye. I imagine Wailgum in the 90s, assigning his IT staff to a search-and-destroy mission for C:\WINDOWS\SOL.EXE, secure in the knowledge that he’s removed the siren call of Solitaire, preventing all slacking of his peons. Then, as now, his expectations of his grunts slacking during the day are sure to come true.
No one denies that telecommuting has its own challenges. It’s radically different from life in a cube farm, and yet both rely on one concept to get the most from those on your team: You must expect the best from your team, and trust them to do it. Many of the challenges are the same. Just as people game the system to make it look like they didn’t come in late to the office, people can use automated scripts to check and receive email to simulate their “being at work.” The answer isn’t to make the command-and-control system harder to get around, but to throw the system away.
People do their best work not because they have to, but because they want to, and it’s a rare IT professional who wants to do their best work under the iron fist of someone who looks to Dilbert’s Pointy-Haired Boss for inspiration. When telecommuting works, as it does for so many of us, it’s a thing of beauty. Mr. Wailgum, I invite you to work with your team, not against them, and see what magic comes out of a team that doesn’t have to be a slave to geography.


  popularity

Source: ONLamp.com

This 30-day project explores the refactoring of a legacy system. The Everything Engine is an aging software
project that powers Perl Monks, Everything 2, and a few other websites.
It suffers from poor design and maintainiability. Learn what it’s like to look
over the shoulder of an experienced developer as he refactors, redesigns, and
updates the code.

Today’s task is to start porting the nodegroup tests. This will take a couple of days. It’s painful, but it’s good for me. That’s what I keep telling myself.

Day 16: Nodegroup is Complex

Today is the first day of the second half of this project. I didn’t
anticipate spending so much time reworking the node tests, but it’s the biggest
need I saw as I went along, I’ve fixed some bugs, and I’ve learned a fe
things. These changes will also make future changes easier — and those future
changes will reduce a lot more technical debt.

As you might imagine, today’s task is to port yet another node’s tests to
the new Test::Class style.
I’m starting to reach the point where all of these will be small, but the next
node on the list is nodegroup, the second-largest node class.

I’ll have to do it eventually, so why not now? As usual, the first step is
to make a new test class for it.

I’m getting sick of overloading node_class() every time,
especially because the test class names correspond to the node class names.
Here’s a new version of the method in the node test class:



sub node_class
{
my $self = shift;
my $name = blessed( $self );
$name =~ s/Test:://;
return $name;
}



That ought to work for all test classes. It’s time to remove the overloaded
methods to see. If everything still passes, it works correctly. It does.
Here’s checkin #852. That’s one fewer worry when porting yet another test. That
feels good.

How does the nodegroup test fare? 212 tests run (as I expect)
and 48 fail. There are plenty of skips. That’s fine.

The first method to test is construct(). It’s short and easy to
port. Great! 212 tests run and 47 fail.

The next method is selectGroupArray(). The tests seem to port
well, after untangling some mock database and node confusion, but they die with
a method call on an unblessed reference. This usually means that the order of
values returned from a mock call is wrong. I can’t immediately see where that
is though — wait, there it is. The mock database call to return the cursor
returns the node, not the mock database object (the latter of which mocks the
fetchrow() method). That should fix it. Now 220 tests run and 47
fail. I’ve added eight passing tests, just as I intended. (That’s 9% of the
test file ported. Ugh.)

The next method to test is destruct(). This is simple enough it
can call the parent test method. 222 tests run and 47 fail.

insert() comes next. This is interesting; the code here checks
for create access, but calls SUPER() which also checks for create
access. That’s deletable code. The rest of the test method can be very short;
it just needs to check that the inserted node keeps its group parameter and
that the node calls updateGroup(). With that done, 226 tests run
and 44 fail. I wonder if there are other related failures though — there are.
The child test doesn’t mock updateGroup(), as I expected.

That didn’t help; it just moved the death in tests elsewhere. I wonder if
it’s because the $USER parameter is so simple and wrong? No, it’s
just as bad in the node test.

Reordering the SUPER() call in the test fixes everything. 226
tests run and 43 fail. There aren’t as many skips either.

update() looks almost as simple. With a quick port, 229 tests
run and 44 fail. Oops. Unlogging the SUPER() mock fixes it; now
only 42 tests fail.

A lot of the remaining failures are in updateFromImport(), the
next method to test. I forgot to mock updateGroup() first, but
with that done 229 tests run and 41 fail. Can this call SUPER()?
Yes, with the proper mocking and unmocking. I also fixed a test description
typo in the node test class.

233 tests run. 41 fail. Several skip. I’ve ported 21% of the test file.

I hate the updateGroup() method, as it’s huge. It’s also next
on my list. No core node overrides it, so there’s not a lot of sense in
splitting it out into separate methods unless they make the code more readable.
I think they might. The first method is
test_update_group_access(), with two tests. They both pass.
Great!

There are 18 tests in the test_update_group() method (I didn’t
find any other good place to split it) and plenty of mixed mock and mock
database code. How’s the first run? A compilation error and a syntax error.
That’s fine. With that fixed, 253 tests run and 46 fail. That’s not too bad –
18 more tests and only three failures. I bet some of them are counting errors
too.

The fixes look like tweaks to the expected input and output. Making one test
more accurate about what it expects fixes one. Further unconfusing the mock and
the mock database fixes another. Yet one more is because a SQL statement regex
is too strict.

There was a larger problem in the tests too, namely that I moved some
initialization code to come after code that relied on it. Oops. After fixing
that, everything passes.

I really don’t trust the coverage on this code (and I extremely distrust the
code being tested; it’s too long and complex), but it’ll do for now until there
are better tests. 254 tests run. 41 fail. I have 31% of the old test in the new
form. That’s slow, but it’s the end of my day.

After running the whole test suite, the normal, unported
nodegroup tests failed. That’s because I made some code changes. I
decided not to delete these tests until I ported the entire test file, so as to
keep my changes minimal. I don’t want to keep the bugfixes out of the code
though, so I took a few minutes to fix up the old tests, just to keep
everything passing.

Everything looks good. This is checkin #853 and the end of another day.


  popularity

Source: ONLamp.com

Since this is my first blog entry for O’Reilly, an introduction seems to be in order. If you’re involved in the Perl community, you probably know who I am. For those who don’t, I’m one of the authors of the new Perl Hacks book, along with chromatic and Damian Conway. I also sit on the Perl Foundation steering committee and I run the Perl Foundation grant committee. I also have a moderately popular CGI Course online and a fair amount of code released on the CPAN.

I have numerous interests including database design, test-driven development, Web programming and usability. The latter subject has particularly interested me due to the poor state of much code written for the Web. Usability, in my mind, involves focusing about how the end user will really be using your code instead of focusing on functionality. The latter should be driven by the former instead of the other way around. As a classic example, consider the early days of Web programming. Frequently, programmers would grab data from an HTML form and just use the data without bothering to “scrubbing” the data to ensure its validity and safety. This, of course, is a dangerous practice, but it does have a very curious benefit: it allows the programmer to focus on their business needs instead of the nit-picky details involved in scrubbing the detail. As a result, the application development is much faster.

Naturally, this is a terrible trade-off. Numerous Web sites have been hacked due to poor scrubbing. Numerous attempts to provide generic solutions to solve this problem have proven to be confusing and difficult to use. This is often because the developers of these solutions seemed to focus on what needed to be done rather than making it as easy as possible for the programmer to use the code (though I suspect the developers would argue otherwise). As a result, programmers often either skip the data scrubbing or they embed all of the scrubbing in their code and this can obscure the business problem they’re trying to solve. What’s worse, by embedding the scrubbing in their code, they’re often repeating this scrubbing throughout their code. If they need to change how they validate data, they won’t be very happy.

To deal with this, I’ve started writing Class::CGI. Though still alpha code, it’s an experiment with trying to provide the data “scrubbing” but abstract it away into “handlers” which allows the developer to focus on solving their business problem rather than the fiddly bits. It looks something like this:

use Class::CGI
handlers = {
date = ‘Class::CGI::DateTime’,
email = ‘Class::CGI::Email::Valid’,
customer = ‘My::Customer::Handler’
};

my $cgi = Class::CGI-new;
$cgi-required(qw/customer date/);

my $customer = $cgi-param(’customer’);
my $email = $cgi-param(’email’);
my $date = $cgi-param(’date’);

if ( $cgi-errors ) { … }

That’s the basic pattern of how Class::CGI should be used. The date is actually returned as a DateTime object, but only if all required fields (day, month and year) are present. The email address is automatically checked for validity and the customer might be a customer record you’ve pulled from a database. In other words, an awful lot of grunt work has been hidden away behind the scenes and you, the programmer, can focus on getting your job done.

While the technical details are outside of what I want to focus on here, the basic implementation is a mediator pattern. By doing an awful lot of Web programming and knowing the common problems that programmers face when writing Web-based code, we provide a simple interface which makes programming easier. Further, it allows the application code to focus on the business problem you’re trying to solve and should make the code easier to read and maintain. Whether or not Class::CGI becomes successful is still up in the air, but so far I’ve found that programming with it makes for clean, easy to use code. And that’s because I focused on what the programmer needs instead of what the program needs.



previous    The O'Reilly Network's Linux DevCenter Articles and Weblogs    next


  popularitypopularitypopularitypopularitypopularitypopularitypopularitypopularity

Source: Linux DevCenter

Running a Windows-only laptop is hardly ideal for people who do considerable work in the Linux environment. When Cygwin and ssh aren't enough, consider at least dual-booting into the free software world. Kevin Farnham recently converted his new laptop into a half-Windows, half-Ubuntu GNU/Linux machine. Here's how.



Updated: Wed Jun 28 00:03:49 2006


OrderWeb Software CC
Contact Us