Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
Image

3 Drinks a Day Keeps the Doctor Away 470

Nzimmer911 writes "Heavy drinkers outlive non-drinkers according to a 20 years study following 1,824 people. From the article: 'But a new paper in the journal Alcoholism: Clinical and Experimental Research suggests that - for reasons that aren't entirely clear - abstaining from alcohol does actually tend to increase one's risk of dying even when you exclude former drinkers. The most shocking part? Abstainers' mortality rates are higher than those of heavy drinkers.'"
Operating Systems

Ubuntu 10.04 Alpha 2 vs. Early Fedora 13 Benchmarks 157

Given that early benchmarks of the Lucid Lynx were less than encouraging, Phoronix decided to take the latest alpha out for a spin and has set it side-by-side with an early look at Fedora 13. "Overall, there are both positive and negative performance changes for Ubuntu 10.04 LTS Alpha 2 in relation to Ubuntu 9.10. Most of the negative regressions are attributed to the EXT4 file-system losing some of its performance charm. With using a pre-alpha snapshot of Fedora 13 and the benchmark results just being provided for reference purposes, we will hold off on looking into greater detail at this next Red Hat Linux update until it matures."

Comment So does the Audio:M4P::QuickTime perl module (Score 4, Informative) 176

the method name is CleanAppleM4aPersonalData(). Here is an example on how to use it:

#!/usr/bin/perl
##
# A N O N C P . P L
#
# a script that takes the unix cp file specification options
#
# perl anoncp.pl source_file target_file
# perl anoncp.pl source_file ... target_directory
#
# which reads the source file(s) and copies them to the
# destination stripped of all the user identification gunk
# that apple adds on iTunes "DRM free" songs
#
# NB: make sure you install the latest version of the
# most excellent Audio::M4P::QuickTime perl module.
##

use strict;
use warnings;

use Carp;
use File::Basename;

use Audio::M4P::QuickTime;

my $usage = q{
usage:
        perl anoncp.pl source_file target_file
        perl anoncp.pl source_file ... target_directory
};

@ARGV >=2 || croak "not enough files specified", $usage;

my $destDN = pop(@ARGV);
my $destFN = $destDN if (! -d $destDN && @ARGV == 1);

$destDN = dirname($destFN) if( $destFN);

-d $destDN || croak $destDN, ": is not a directory", $usage;
(-r $destDN && -w _) || croak $destDN, ": cannot access ", $usage;

$destDN =~ s{ (?new( file => $m4aFN);
        $qt->FindAtom("mp4a") || croak "$m4aFN: not a mpeg 4 file\n\t";

        $qt->CleanAppleM4aPersonalData();

        $toFN = $destFN ? $destFN : $destDN . basename($m4aFN);
        $qt->WriteFile($toFN);
}

0;

Slashdot Top Deals

If it is a Miracle, any sort of evidence will answer, but if it is a Fact, proof is necessary. -- Samuel Clemens

Working...