Slashdot Mirror


User: sparrow_hawk

sparrow_hawk's activity in the archive.

Stories
0
Comments
302
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 302

  1. Re:Desktop Slide Show on Review: KDE 3.2 · · Score: 1

    Thanks! I like perl, but I'm just getting started, and the intricacies of the language are still lost on me.

  2. Re:is it so much different than 2.4? on Configuring the 2.6 Linux Kernel · · Score: 2, Interesting

    I'll second that. I'm running a Pentium III 667MHz with hardware specs pretty much in line for a system of that vintage. My sister has an AMD Athlon 2200+, decent specs. My system is running 2.6.0, hers runs Windows XP and 2.4.22 (she likes the games on Linux :). Care to guess which system *feels* faster?

    It's mine. Even when I'm compiling the latest kernel or listening to MP3s or running SETI@Home, or even doing all three at once, I have nary a skip or a hitch. The mouse and keyboard stuff is always smooth, and I never have to wait for my system to respond because the processor is tied up. 2.6 rocks -- Linux has extended the usable life of this system by *years*...

  3. Re:Desktop Slide Show on Review: KDE 3.2 · · Score: 1

    gasp!

    I had never thought of that! get back here, you little two-bit piece of code... money in the bank, that's what you are, money *in* *the* *bank*. hee hee. /me saunters off to phone his lawyers.

  4. Re:Desktop Slide Show on Review: KDE 3.2 · · Score: 3, Informative
    Aw, crap! If KDE has it integrated, my little cron-and-perl script for GNOME is so *totally* last year... Just goes to show how new technology replaces old. ...sniff...

    Ah, well... be free, little guy! I hope you have a nice life!
    #!/usr/bin/perl

    # Script to randomly select a file from a specified directory
    # and set it as the wallpaper in Gnome.

    # make the compiler yell at me if i screw up
    use warnings;
    use strict;
    use diagnostics -verbose;

    # we're going to need a function this module provides later
    use File::Spec;

    my $location = "/home/kevinr/images/wallpaper/";

    # get a list of possible images

    opendir(WALLPAPER_DIR, $location) || die "cannot open $location: $!";

    # change to the directory so all filenames are local
    chdir $location || die "cannot chdir to $location: $!";

    my @files = readdir(WALLPAPER_DIR);

    # strip . and .. from the list (see note at end)
    @files = File::Spec->no_upwards( @files );

    closedir WALLPAPER_DIR;

    # select an image at random
    my $wallpaper = $location .= $files[int(rand(@files))];

    # set the image as the wallpaper
    print "Setting $wallpaper as the desktop background...\n";
    system("gconftool-2", "--type", "string", "--set", "/desktop/gnome/background/picture_filename", $wallpaper);
    happy happy lameness filter. i want the lameness filter not to eat my post, dangit. knock it off, filter. for a site that is *coded* in perl, you would think they would be nicer about letting you post code samples. this is getting ridiculous, you know.

    Note:
    Unix represents the current directory with a period (.) and the parent
    directory with two periods (..), and it includes these in the list of files.
    Since these are directories, not images, we use this function to strip them
    out of our array of files. Cool, huh?

    I've currently set this to change the background at random every time I log
    into my Linux box, plus every night at midnight. I like to keep things
    interesting! :) -sparrow_hawk 9/8/03
  5. Re:Thank you. on Answers On LUGs, Life, and Linux in Iraq · · Score: 1

    Just because we're left-leaning (and objected to the war) doesn't mean we don't appreciate what the soldiers are doing and don't want to support the Iraqis in rebuilding their country.

    I'll join the parent in saying, "Bravo!" -- I just wish there was something I could do besides giving money. (Joining the Marines doesn't count; I have issues with authority... :) Too bad the Peace Corps isn't in the area. Somehow I doubt the iLUG people want a random American showing up unannounced and asking if he can crash on their couch.

  6. Re:What's the problem? on Student Fights University Over Plagiarism-Detector · · Score: 1

    That's interesting. I have no problem with professors using anti-cheating mechanisms themselves -- scripts to check papers against Google and others the professor has received -- and I'm aware that some cheaters will still get through the system. I think in general it's better for a cheater to get through than for an honest student to be punished for something they didn't do.

    The really interesting thing is what you mention -- this company is using students' work without permission (or with a mandatory "all your paper are belong to us" clause in the contract for the service, which you can't not sign if you want to go to school). In effect, it means that the company hired to detect plagiarism is plagiarizing students' works. What's *that* teaching students?

  7. Re:Good business decision on Windows Services For Unix Now Free Of Charge · · Score: 1

    This is actually a (relatively) decent move for both parties. Sure, companies with a lot of POSIX apps can move more easily from UNIX/Linux to Windows. The kicker, though, is that if a company has a bunch of programmers with UNIX experience, and they start using SFU for their Windows development, suddenly it's much easier for the company to dump Windows if it comes to that. Plus, it makes it easier for open-source developers to write their code for Windows, which means when a user decides to move to Linux, they can still use the same applications.

    If Microsoft breaks POSIX compliance, then that would be bad, but as it stands now it probably won't irreparably harm Linux or open-source.

  8. Re:Hmm... on Windows Services For Unix Now Free Of Charge · · Score: 1

    Dude, this is Windows we're talking about. Not only will she allow you to write the filesystem image to disk, she'll also allow you to modify vital system files, e-mail documents to her fifty closest friends, take her out for dinner, get her drunk, and bring her back to your apartment so you can...

    ahem.

    You get the picture.

  9. Re:Not Funny! on Tech Firms Defend Moving Jobs Overseas · · Score: 0, Redundant

    Sturgeon's Law -- 90% of anything is crap.

  10. Re:Mars rover images we'd like to see on NASA Releases Mars Data for Maestro · · Score: 1

    Man, talk about great (heh) minds thinking alike...

    The first page is *all* variations on, "Oh, hey, it's Osama!"

  11. Re:Cool on Knoppix Tips and Tricks · · Score: 4, Interesting

    I did a speech on Linux for a class and used Knoppix to demonstrate -- had them put the CDs in the drive and boot themselves so they could see how easy it was, with much assurance that it wouldn't fsck the hard drive or anything like that. We didn't have DHCP, or I would have done a much more thorough demonstration, but I showed them OpenOffice.org, and the prof had a heck of a time dragging them away from Frozen Bubble. I ended up giving all the CDs away, plus burning extras for interested parties. Linux evangelism rocks. :)

  12. Security issues? on Pluto: Linux-based Do-everything System · · Score: 5, Interesting

    Hmm... as "nifty" as this might seem, I think I'd rather my firewall be separate from my mail/mp3/whatever server.

  13. Re:"Core Team" models need to die. on XFree86 Core Team Disbands · · Score: 1

    Err. Uhm, well, it has a nasty tendency to lock the system up on when I run FB apps on my Rage128. Acceleration worked fine under the 2.4.x kernel series, but appears to be broken on 2.6.0. I've e-mailed the maintainer, but graphics is such a mess there are a half-dozen people I could have sent it to.

    No fun to come back to your system and find it locked on an OpenGL screensaver.

  14. Re:German Cockroaches are an Endangered Species! on Old School Data Mining, Maritime Style? · · Score: 4, Insightful

    It is true, granted, that the Earth has natural cycles of warming and cooling. (It would be hard, however, to console the residents of Florida with "but it's quite natural" when their houses are under water. Just a thought. A twelve inch sea-level increase can cover a lot more land than you might think.)

    However, until it's clear whether human activity or climatic cycles are causing the warming, doesn't it make sense to reduce the emission of greenhouse gases? If the doomsayers are wrong, well, at least we've reduced pollution (which most greenhouse gases are, btw). If they're right, we're better off than we might have been. Think of it as taking out an insurance policy.

    By the way, you may have noticed that the ozone hole isn't in the news as much anymore. There's a reason for that -- since our industries have stopped emitting CFCs in such incredible quantities, the hole has slowly begun to close itself up again. It's going to take a while before the ozone layer is 100% "healthy," but it's a good example of how the correct steps taken can begin to correct a problem.

  15. MOD PARENT UP, please! :) on Wikipedia Needs $20K · · Score: 1

    Sir, if I had mod points right now, you would get them. *That* information clinched my donation. More and more, I find when I'm searching that I seem to be running across rather well-written Wikipedia articles that give me all the information I need.

    Mods -- thanks in advance for your assistance.

  16. Re:It's "Cringely", not "Cringley"! on Cringley on E-voting · · Score: 1

    You must be new here. This isn't journalism, this is Slashdot.

    If you want "journalism," there are other places to go.

  17. Re:Ahemm. Cough! Cough! on Interview with Jeremy Hogan of Red Hat · · Score: 1

    [point]Redhat's distribution is ready.[/point] Don't slam their desktop.

    RedHat's *business* *model* may not be ready, however.

  18. Re:Debunking Krugman's Voting Machine Column on Cringley on E-voting · · Score: 1
  19. Re:Ahemm. Cough! Cough! on Interview with Jeremy Hogan of Red Hat · · Score: 4, Insightful

    I can't say as I would know anything about that, seeing as I've been running RedHat and now Fedora as a desktop quite happily for four or five years now...

    Quoth the FA:

    The consumer desktop is a pretty big market, and we already have a chunk of it, but it's fickle, it's full of folks happy enough, or used to what they have. It's full of people using technology because they have to, or using an OS because it came installed. A number of things have to be right to really get into that, technological superiority, as we've seen is not enough or else OSX would have the desktop.

    Translation: from a business standpoint, a desktop version of RedHat/Fedora doesn't make sense right now. The market inertia is too great. When something big enough -- the fabled killer app -- comes along, they'll move. It has very little to do with how good desktop Linux is *on its own merits*.

    You'll know when we think it's ready.

    What was your point again?

  20. Re:I switched to Debian on Interview with Jeremy Hogan of Red Hat · · Score: 3, Insightful

    Umm... dude, the whole purpose of Fedora was to open up the development of their distribution to more people.

    Fedora Core 1 = RedHat Linux 10

  21. Re:Don't bother with this article. on What's Wrong with the Open Source Community? · · Score: 1

    Hmm... I did set the region before trying that. I'll have to play around with it when I can finally find some free time. Thanks for the information!

  22. Re:It's About Time! on President Bush To Call For Return To Moon? · · Score: 1

    Paying farmers to pick and destroy their corn (which was done under FDR) would not reduce our reliance on foreign oil, which has habitually got us into scrapes like Iraq.

    Gasoline with ethanol added does, while also being better for your car. And E85 -- 85% ethanol, not 10% -- uses less oil and costs about $0.10 less than regular gasoline where it's available.

  23. Re:I couldn't agree more on President Bush To Call For Return To Moon? · · Score: 1

    Hmm... he's been praising the military for a long time...

  24. Re:My Mozilla bounty on After The GNOME Bounties, It's Mozilla's Turn · · Score: 2, Interesting

    You may already have seen this. It works like a charm for me.

    hotwayd is a hotmail-to-pop3 gateway that runs through xinetd. I'm actually piping my mail through hotwayd *and* popfile without any problem.

    And, much as I'd like the money, I think this advice should be free. :)

  25. Re:Don't bother with this article. on What's Wrong with the Open Source Community? · · Score: 1

    I think that was part of the problem, but ogle complains that it can't find VIDEO_TS. Mounting and 'ls'ing tells me that neither can the shell -- VIDEO_TS comes back "Permission denied," and I have the permissions set correctly in /dev.

    Thanks for the help!