Slashdot Mirror


User: khuber

khuber's activity in the archive.

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

Comments · 697

  1. Re:Multitasking would be great for my desktop! on Intel Dual-Core Systems Begin Shipping Monday · · Score: 1

    CPU architecture? It's an OS feature called process affinity.

  2. Re:The Register on Bruce Perens Tells Linus Torvalds To Cool It · · Score: 5, Insightful
    After TheRegister made up Linus' previous quotes,

    If you actually read the article you can see that the sentence Actually he didn't - we just made that quote up. immediately follows the "made up" quotes. It was a joke to make a point by analogy to reverse engineering Microsoft file formats.

    In the Bruce Perens article, he makes another analogy -- to the work Trigdell did reverse engineering the SMB protocol. Both articles are pointing out this weird blind spot Linus seems to have in accepting something that is generally supported by the community and completely legal: reverse engineering proprietary protocols is a good thing which frees the open source community from vendor lock in.

  3. Re:Advantages? on Python Moving into the Enterprise · · Score: 1
    If that isn't a stupid example, I don't know what is.

    The Java code is written so it looks verbose.

  4. python performance on Python Moving into the Enterprise · · Score: 4, Interesting

    Python is a nice language, but it's excruciatingly slow. It's below Tcl on The Computer Language Shootout, which is telling.

  5. Re:All this talk... on Why IBM Open Sourced Cloudscape · · Score: 1
    One OS/2 feature I haven't seen anywhere else is the bidirectional shortcuts (shadows). Also REXX seemed much better than Windows batch files and could interact with the GUI like AppleScript. I thought the Warp GUI itself was ugly and clunky though.

    I still would take Unix any day of the week over OS/2.

  6. Re:30 seconds? on A C Compiler For The HP49g+ · · Score: 2, Informative
    No, really. the 4Mhz cpu it emulates does imho only do 4bit arithmetic

    Um, no. Saturns have 64 bit registers. They do address on 4-bit nibble boundaries though.

  7. Re:Keys? on A C Compiler For The HP49g+ · · Score: 3, Informative

    No. Actually there have been tons of user complaints about how crappy the keys are on the 49g+. Check out comp.sys.hp48 on Usenet or Google groups. Supposedly they have been improved on recent calculators, but there are still complaints.

  8. Re:GCC on TI on A C Compiler For The HP49g+ · · Score: 5, Informative

    GCC has been available for calculators with HP's Saturn processors since 1994 (hp48xgcc). This is about using gcc as a cross-compiler for HP's new ARM-based calculator. The summary makes it sound as though someone is writing a compiler which is of course not the case. They are just writing the glue code and linker portions specific to the HP49G+.

  9. Re:Pretty cool on IBM Donates Java Database App. to Apache Foundation · · Score: 2, Informative
    (SimpleApp.java) has some of the worst formatting I've ever seen

    It's just formatted with mixed spaces and tabs and your editor is probably converting the tabs to 8 spaces. XEmacs loads it okay if your tabs are set to 4 spaces, then you can select the text in the buffer and do a M-x untabify.

    Otherwise, something like this should work

    perl -ne 's/\t/ /g;print' SimpleApp.java > SimpleAppNew.java

    There are supposed to be four spaces inbetween the / / .

  10. Re:Pronounced with a short "I" on Primer · · Score: 1
    I'm skeptical. Are you sure you're British? What is Big Ben?

    Primer with a long I is a kind of paint.

  11. Re:Opteron, Linux 2.6 and Java 5 benchmark on AMD and Intel Update CPU Roadmaps · · Score: 2, Interesting

    True, he should go back and test 1.5 on the Xeon, but it's probably not a dramatic difference. The specweb results do verify that a dual Opteron 248 handles about twice the workload as a dual Xeon 3.06 though. The Xeon CPUs are a bit cheaper.

  12. Re:Define 'free' on RMS Weighs In On SPF/Sender-ID License · · Score: 1

    That message was not "screwed" by GPL, it was ensured.

  13. Re:NX Bit?!?? on New Numbers on Linux Market Share Soon · · Score: 1

    Well, some guy named root is running 39 processes on my Mandrake system and I heard he likes exploits.

  14. Re:Stop being ethnocentric on Language Tempest At Orkut · · Score: 1

    Portugese is way down on the list of languages I wish to learn, somewhere after Klingon, Elvish, and Catalan.

  15. Re:Why Fight? on Language Tempest At Orkut · · Score: 1

    Google sucks. I used it for about a week and found nothing useful about it. I terminated my Internet access. The forms were worthless. I don't need to find websites or images or news ... so someone tell me, why would I use the site? Is is "cool" and better just because Google runs it?

  16. Re:a@b.com on Where Do Dummy Email Addresses Go? · · Score: 1

    I'm partial to bite@me.com.

  17. Re:Nothing much on Best Buy Says Customers Not Always Right · · Score: 2, Interesting
    No, that's the game. Like with rebates and UFO abduction insurance, Best Buy [sic] is betting that you won't ever use their extended service plans, or that they can fix the item and not have to replace it. I have actually had employees tell me to get it so I can replace the item with a newer model when it comes out, which is not the legitimate purpose of the plan and is probably specifically forbidden.

    Of course they are going to push something that is pure profit for them. It would be interesting to know what their claim payout rate is.

  18. Re:throws away ANY bulk mail on SpamAssassin Gets a Promotion · · Score: 1
    not all bulk mail is spam

    Which bulk email isn't spam?

  19. Re:I wonder.... on Army Contractor To Build A 1566 Xserve Cluster · · Score: 3, Informative

    I stand corrected. It looks like Xserves do support ECC http://www.apple.com/pr/library/2004/jan/06xserveg 5.html

  20. Re:I wonder.... on Army Contractor To Build A 1566 Xserve Cluster · · Score: 1

    I understand that G5s don't support ECC RAM. That is a major limitation meaning that scientific computations will have to do their own error checking in software using redundant calculations.

  21. no X-Prize on John Carmack's Test Liftoff a Success · · Score: 1

    So in 6 months they are going to go from a prototype that goes 100 feet to carrying three people into space? Obviously they are not contenders for the X-Prize.

  22. Re:C++ 60X Faster Than Java on Java Faster Than C++? · · Score: 1

    Thanks for timing it! I'm okay with C++ being faster, just not 60X faster :).

  23. Re:C++ 60X Faster Than Java on Java Faster Than C++? · · Score: 1
    The Ack function was being called over and over with the same arguments. A little work with an STL map, and I created a cache for the function arguments and results. I think this is called memoizing a function.

    How fast is the cached java version?

    This could be better.

    private static Map cache = new HashMap();
    public static int Ack(int m, int n) {
    String key = m + ":" + n;
    Object cached = cache.get(key);
    if (cached != null) return ((Integer)cached).intValue();

    int x = (m == 0) ? (n + 1) : ((n == 0) ? Ack(m-1, 1) :
    Ack(m-1, Ack(m, n - 1)));
    cache.put(key, new Integer(x));
    return x;
    }
  24. Re:String concat sillyness on Java Faster Than C++? · · Score: 1
    public class Strcat3 {
    public static void main(String args[])
    {
    long start, elapsed;
    start = System.currentTimeMillis();

    int n = Integer.parseInt(args[0]);
    StringBuffer str = new StringBuffer(n*6);

    char[] chars = "hello\n".toCharArray();

    for (int i=0; i<n; i++)
    {
    str.append(chars);
    }

    System.out.println(str.length());
    elapsed = System.currentTimeMillis() - start;
    System.out.println("Elapsed time: "+elapsed);
    }
    }
  25. Re:Java Faster Than C++? on Java Faster Than C++? · · Score: 1

    I wanted to see the "of course Java is slower, it's interpreted!" argument one more time.