Slashdot Mirror


User: ixx

ixx's activity in the archive.

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

Comments · 43

  1. You can do most of this via prefs.js, but... on Netscape Communicator 4.72 Released · · Score: 1

    The problem w/using prefs.js (preferences.js) is that it seems to lose some changes you manually add in there. Using .Xdefaults (or binary editing) ensures that the changes will not go away.

    I can never get the navigation bar to stay where I want it (the bottom most of the three).

  2. Re:Disabling shopping button.. on Netscape Communicator 4.72 Released · · Score: 1

    Hmmm, thats much better. Unless I figure out how to binary edit the icons then I will not have to go edit the file every new version.

    Well after going through the file... its BIG so I have not finished, but I went searching around and such for strings that I am replacing and I can not find any for the "my netscape." If I can figure out what string replaces that link this will be the way to go, else I may still edit the binary for my freshmeat.net link.

    Anyhow thanks for the info!

  3. Re:Disabling shopping button.. on Netscape Communicator 4.72 Released · · Score: 1

    I personaly turn icons off, but I would not think you could anyhow. The image is somewhere in the binary and it would be hard to find it and know its exact size etc. I imagine you could do it if you really tried. Figure out the image format and then pull the thing into an external file, but then you would need to put a new image back in there in a way that would not mess up the binary.

    Messing with button string and the urls is fine since its stored as text.

  4. Re:Disabling shopping button.. on Netscape Communicator 4.72 Released · · Score: 5

    better yet use a hex editor or something such thing (i like bvi since it uses vi commands) and change the the "Shop" string to "/." and the url to slashdot.org. The string "Shop" can be found by searching for "toolBar*Myshopping.labelString:" and the url netscape shopping url can be found my searching for "tshop.html" Be sure you just replace and do not enter more characters than are already there or you will the binary will be useless. Make a backup and work on a second copy.

    I make a xdelta patch so I can apply it on all the linux computers I use. The patch is specific to the build version though (do about: and you will see the version on the title bar). The newest one I have is for v4.7 build [en] 19990915. I have downloaded 4.72, but have not made a patch for it yet. I ran it and played around for a bit, and after seeing that it still displays the same annoying bugs as 4.7 I put off making a patch for now.

    Anyhow my navigation bar has the following:

    (forward)
    reload
    casa
    search (goes to goole. you can edit the url for this too)
    [fm] (freshmeat.net)
    print
    security
    /. (slashdot.org)
    halt

  5. Re:New TLD's on ICANN Registers Improper Domain Names · · Score: 1

    Sounds fun. I think its all going to stay messy though, until something "really" different comes along.

    I want the.end btw. :)

  6. Re:Better Moderation Through Division on More Moderation Madness · · Score: 1

    how about moderation points only that can only be
    used for comments at a certain level. eg. one
    time you get 5 points that can be used on +1
    comments. next time 5 for +3 etc. or maybe
    2 for -1 - 1, 2 for 2 - 3, 2 for 4 - 5

    that would hopefully encourage a moderator to go
    look for comments that currently have lower
    scores.

  7. little perl script to do testing on Load Testing the New Server (Take 2) · · Score: 1

    OK here is some perl to run against the site... does not do much except try to load all links (from the site you are contacting.. not external) several times. this may get formatted funny (use view source to get arround this).. maybe some stats can be added to this...



    #!/usr/bin/perl



    #$site = "209.207.224.40";

    $site = "http://209.207.224.40/";



    $num_of_forks = 0;

    $MAXFORKS = 20;



    $SIG{CHLD} = sub { wait; $num_of_forks--; };



    $me = `basename $0`;

    $me =~ s/\n//;



    if ($ARGV[0] eq "-k") {

    print "Killing all $me processes\n";

    system "kill -9 `ps axuw | grep $me | grep -v -e -k | grep -v grep | aw

    k '{print \$2}'` > /dev/null 2>&1";

    exit 0;

    } elsif ($ARGV[0] eq "-h" || $ARGV[0] eq "-help" || $ARGV[0] eq "--help") {

    print "usage: $0 -k|-h/-help/--help|\n";

    print "\t-k kills a running version of this script\n";

    print "\t-h|-help|--help gives this duh\n";

    print "\tanything else should be a url\n";

    exit 0;

    } elsif ($ARGV[0] ne "") {

    if ($ARGV[0] =~ /^-/) {

    print "Invalid option: $ARGV[0]\n";

    print "Try $ARGV -h\n";

    exit 1;

    }

    $site = $ARGV[0];

    }



    $getslash = "lynx -dump $site | grep -e $site | grep http |awk -Fhttp '{print \

    "http\"\$2}'";

    $iterations = 5;



    ### HERE IS WHERE WE REALLY GET GOING

    print "getting urls from $site\n";



    @urls = `$getslash`;



    print "starting the good stuff\n";

    print "Running $iterations iterations\n";

    print "Making $MAXFORKS max connections at a time\n";

    while ($iterations) {



    $iterations--;

    }



    sub ProcessURLs

    {

    foreach $foo (@urls) {

    unless ($child = fork) {

    $parentpid = getppid();

    &GetUrl($foo);

    exit 0;

    }

    $num_of_forks++;

    while ($num_of_forks > $MAXFORKS) { } #waiting

    }

    }



    sub GetUrl

    {

    local($foo) = @_;



    $foo =~ s/\n//;

    ($foo) = split(/ /, $foo);

    if ($foo ne "$site" || $foo ne "http://$site/") {

    system "lynx -dump \"$foo\" > /dev/null 2>&1";

    print "retrieved $foo\n";

    }

    }

  8. little perl script to do do testing... on Load Testing the New Server (Take 2) · · Score: 1

    OK here is some perl to run against the site... does not do much except try to load all links (from the site you are contacting.. not external) several times. this may get formatted funny (use view source to get arround this).. maybe some stats can be added to this...

    #!/usr/bin/perl

    #$site = "209.207.224.40";
    $site = "http://209.207.224.40/";

    $num_of_forks = 0;
    $MAXFORKS = 20;

    $SIG{CHLD} = sub { wait; $num_of_forks--; };

    $me = `basename $0`;
    $me =~ s/\n//;

    if ($ARGV[0] eq "-k") {
    print "Killing all $me processes\n";
    system "kill -9 `ps axuw | grep $me | grep -v -e -k | grep -v grep | aw
    k '{print \$2}'` > /dev/null 2>&1";
    exit 0;
    } elsif ($ARGV[0] eq "-h" || $ARGV[0] eq "-help" || $ARGV[0] eq "--help") {
    print "usage: $0 -k|-h/-help/--help|\n";
    print "\t-k kills a running version of this script\n";
    print "\t-h|-help|--help gives this duh\n";
    print "\tanything else should be a url\n";
    exit 0;
    } elsif ($ARGV[0] ne "") {
    if ($ARGV[0] =~ /^-/) {
    print "Invalid option: $ARGV[0]\n";
    print "Try $ARGV -h\n";
    exit 1;
    }
    $site = $ARGV[0];
    }

    $getslash = "lynx -dump $site | grep -e $site | grep http |awk -Fhttp '{print \
    "http\"\$2}'";
    $iterations = 5;

    ### HERE IS WHERE WE REALLY GET GOING
    print "getting urls from $site\n";

    @urls = `$getslash`;

    print "starting the good stuff\n";
    print "Running $iterations iterations\n";
    print "Making $MAXFORKS max connections at a time\n";
    while ($iterations) {

    $iterations--;
    }

    sub ProcessURLs
    {
    foreach $foo (@urls) {
    unless ($child = fork) {
    $parentpid = getppid();
    &GetUrl($foo);
    exit 0;
    }
    $num_of_forks++;
    while ($num_of_forks > $MAXFORKS) { } #waiting
    }
    }

    sub GetUrl
    {
    local($foo) = @_;

    $foo =~ s/\n//;
    ($foo) = split(/ /, $foo);
    if ($foo ne "$site" || $foo ne "http://$site/") {
    system "lynx -dump \"$foo\" > /dev/null 2>&1";
    print "retrieved $foo\n";
    }
    }

  9. Re:hmm... on Printer Management Console? · · Score: 1

    I would be intrested. What did you have to do to
    lpr it self BTW.

  10. Try: Come eat my leg on Babelfish Mutations · · Score: 1

    Try: "Come eat my leg" (w/out quotes) :)

  11. Re:xwrits is the answer on Ergonomic Screensavers? · · Score: 1

    xwrits also has a lock mode

  12. Its funny that... on IBM releases JDK 1.16 alpha for Linux · · Score: 1

    Its funny that I see info on IBM software releases here before I see them on the IBM internal web site. :) When I can start developing for Linux (at IBM) instead of just using it as a desk top I will be very happy :)

  13. Moderation - Silly on Slashdot Moderation Phase 1.1 · · Score: 2

    I like the idea, but I think some comments that are well thought etc can get flamed to the bottom if they are against GPL or something else... I saw many valid and inteligent arguments flamed in the "New Copyleft" article.

  14. After reading the NCL on "New Copyleft License" released · · Score: 1

    Well when I saw the poll I thought FSF had released
    a new GPL. But then I read through the post, and
    read many user comments. After this I was
    thinking this license sounds useful except that
    it is calling it self "open source", and
    "free software", and the worst... copyleft.
    I do not make comments my self yet because I have
    not checked out the license. So I go check it
    out (Read the first bit up until the specifics,
    then mainly browse and search for such things as free software, copyleft, etc...). I do not see copyleft anywhere........ I think it was very inappropriate to send this article in with the subject saying the new copyleft license... I do not think the license needs to say such things as its trying to be in the spirit of the GPL, but I also do not think it is trying to be *We are the same thing as the GPL*, or *we are almost the GPL* or anything like that. I am assuming that most people who posted for this article did not even read the license. I personally think the license's name is not that good and also think the 2 year term should be shortened (also it should not say it can go under gpl or lgpl... it should say one or the other IMO), but overall I think the idea is fine, and not trying to ride the backs of the opensource band wagon. Some areas could be clarified, but its nothing like some of the so called open source licenses that have come about. Read the license before commenting

  15. Here's 2 (Good C book?) on Review:Effective C++ CD-ROM · · Score: 1

    C: A Reference Manual by Samuel P. Harbison, Guy L. Steele. (Many say this is the true bible... better than K&R). Its 455 pages and $35 on Amazon.

    Practical C Programming (Nutshell) by Steve Oualline and Andy Oram. 480 pages and $27 on Amazon.

  16. Anonymous Cowards is an insult on In Defense of Anonymous Cowards · · Score: 1

    I have no problem with the AC name except that
    it does make it harder to see a commenter you
    can quickly pick out and read, while still not
    having the hassle of logging in. Other than
    that AC is fine IMHO.

  17. Anonymous Cowards is an insult on In Defense of Anonymous Cowards · · Score: 1

    I do not always feel like loging in. I think its
    nice sometimes but there should not be any negative
    incentives to logging in.

  18. Have you tried adding the key codes to a xmodmap.. on How do you Define Extra Keys for X? · · Score: 1

    You could try just adding the keycodes to a file
    and run xmodmap on it