Slashdot Mirror


User: phenix

phenix's activity in the archive.

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

Comments · 6

  1. Re:evaluateF on Mystery Company Recruiting Talent With a Puzzle · · Score: 1
    err.. evaluateF got a little garbled? :)

    function () {
    var _1a = $("#codeinput").val();
    eval("var " + _1a);
    var d = new Array;
    for (var row = 0; row < ROWS; row++) {
    d[row] = new Array;
    for (var col = 0; col < COLUMNS; col++) { d[row][col] = false; }
    }
     
    var _1e = $("#instructions").val();
    var _1f = _1e.split(/ *, */);
    var _20 = 0;
    for (var i = 0; i < _1f.length; i++) {
        var _22 = _1f[i];
        _20 += parseInt(_22);
        if (_20 < 0) { continue; }
        if (_20 >= d[0].length) { continue; }
        d[0][_20] = true;
        var _23;
        do { _23 = Util.clone(d); f(d); }
        while (!Util.equals(d, _23));
    }
     
    showExecutionStatus(d); Util.setCookie("user_evaluated_code", _1a, 100, "/", "wanted-master-software-developers.com"); }
  2. evaluateF on Mystery Company Recruiting Talent With a Puzzle · · Score: 1


    function () {
    var _1a = $("#codeinput").val();
    eval("var " + _1a);
    var d = new Array;
    for (var row = 0; row = d[0].length) { continue; }
            d[0][_20] = true;
            var _23;
            do { _23 = Util.clone(d); f(d); }
            while (!Util.equals(d, _23));
    }

    while i have a non cheating solution to the 13 test cases, it fails miserably here ;)

    f = function(d) {
        search = ["00-01-","001-000-","10-00-00-","00-10-00-","01-00-01-","0100-1001-0001-","10-01-01-","01-10-10-","0101-1010-1001-","01-00-10-10-","010-000-101-","01010-00101-10101-"];
        answer = ["","001001","101000","001010","010100","010010001100","101000","010100","010101110010","01000100","010010000","010000100000000"];
        thiskey = "";
        for (x=0;xd.length;x++) {
            for (y=0;yd[x].length;y++) {
                if (d[x][y])
                      thiskey+="1";
                else thiskey+="0";
            }
            thiskey+="-";
        }
        solution = answer[search.indexOf(thiskey)];

        if (solution==null) return;
        counter = 0;

        for (x=0;xd.length;x++) {
            for (y=0;yd[x].length;y++) {
                if (solution.lengthcounter) return;
                if (solution[counter]=="1")
                d[x][y]=!d[x][y];
                counter++;
            }
        }

    }

    showExecutionStatus(d); Util.setCookie("user_evaluated_code", _1a, 100, "/", "wanted-master-software-developers.com"); }

    the #instructions seem to be a comma separated list of index numbers, that shuffle the 2 dimensional array of falses (that become true based on #instructions, and then are supposed to be shuffled(?) by f(d)?

  3. so basically, you all don't know.. on Anatomy of a Successful Enterprise Linux Distro? · · Score: 1


    good feedback guys, thanks.

    -a

  4. Red Hat? on Anatomy of a Successful Enterprise Linux Distro? · · Score: 5, Interesting

    You're all just mad because i didn't mention Red Hat.

    Seriously though, the question really has nothing to do with the distribution, I'm concerned primarily with the infrastructure provided by Novell and Sun to support and implement the distribution.

    I'd love to test these myself (and will), but nothing is more informative than real-world users who have done a real-world implementation; I'd be very surprised to hear that there are no /... readers who have tested these yet; meanwhile, please comment on these companies past performance with their products (JES, SuSE Enterprise, Red Carpet).

    I'm not looking for Windows clones, or Windows compatibles, and am rather disturbed that both Novell and Sun seem to be touting their "Exchange connectors" as one of their key features.

  5. 7 "reserved" words? on George W. Bush buys anti-Bush names · · Score: 1

    Hey,
    I thought "suck" was one of NSI's 7 words?? Is this a special case??? WTH is up w/ that?

  6. Wasn't this already.. on 8MB upgrade hack for Palm V · · Score: 1

    Wasn't this already posted about 1.5 months ago??
    Oh well..