Slashdot Mirror


User: truedfx

truedfx's activity in the archive.

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

Comments · 323

  1. Re:I use Slackware... on Why Slackware Still Matters · · Score: 1

    Or, you could use rpm2cpio, which doesn't require rpm.

  2. Re:Spellcheck! on BART Outfitted With Wireless · · Score: 1

    Spellcheck? How would that have caught it? "Payed" is a word too...

  3. Re:Coding standards on What Workplace Coding Practices Do You Use? · · Score: 1

    Or rather, \<f(... I should've previewed the message, I forgot about HTML.

  4. Re:Coding standards on What Workplace Coding Practices Do You Use? · · Score: 1

    That one's easy - just search for \f(.

  5. Re:Coding standards on What Workplace Coding Practices Do You Use? · · Score: 1

    Use whitespace for readability. Code like if(strlen(obj.getname())" is legal, but it's a lot harder to read than "if ( strlen( obj.getname() ) ".

    A more important change, IMO, would be to make it:

    if(strlen(obj.getname()) != 0)

    It also makes it easier to distinguish functions ("f(x)") from control structures ("if ( x )").

    Which are, at least to me, just as easily spotted by the opening brace, or the changed indentation on the next line. Or by the font change for the keyword with any decent editor.

  6. Re:not hard to spot if you can read on Eight Year Old Physics Student Admitted to College · · Score: 1

    Guess what? I'm Dutch. Over here, we have a possibility for a 12 year school system, and we have a high school. The fact that a high school exists, and that there is a 12-year school system, does not mean it's the US school system. Nor does the fact that a high school exists mean that everyone follows it. (A 12-year school system here usually means basic school and middle school from age 4 to 16, but basic school may start from age 5, and depending on the level of middle school that may take one or two years longer. High school here is something you can choose to do, just like university, after you finish middle school.) Now do you see what I mean about assumptions, perhaps?

  7. Re:not hard to spot on Eight Year Old Physics Student Admitted to College · · Score: 1

    I think you missed my point. The problem is with "The U.S. system uses a highschool / 12 year system too,". You can't know that without knowledge of the Korean school system, unless you want to assume that every country uses the same school system as that in the U.S.

  8. Re:while others his age are attending the first gr on Eight Year Old Physics Student Admitted to College · · Score: 2, Insightful

    From the article: "While other children his age are first graders at elementary school, he is a freshman at the Physics Department of Inha University in Incheon, west of Seoul."

    If that's wrong (I don't know), there's no point in blaming /. for it... It would be rather hard to spot such a mistake for someone not familiar with the Korean school system.

  9. Re:Point on GPL 3.0 Rewrite Drive Is No Democracy · · Score: 2, Informative

    And to those who'll reply now and tell me that I can't modify the GPL because the license as such is itself copyrighted to the FSF... I insist that that's irrelevant, as a license is not a creative work but rather a technical description of the terms the author offers you the software under.

    Whether you legally have the right to modify licenses by default is irrelevant, as it is explicitly permitted for the GPL.

    http://www.gnu.org/licenses/gpl-faq.html#ModifyGPL

  10. Re:What Next? on SCO Tells Courts What IBM Did Wrong · · Score: 2, Informative
    Actually, one of the novelties brought by C99 was the possibility of declaring variables anywhere in the code, just like C++

    There are some catches. Valid (though pointless) C++:
    int main() {
        if(int a=0)
        while(int b=0)
        switch(int c=0)
        default: int d=0;
    }
    All four declarations are invalid in C, because only the special support for 'for' was copied to C, and labels must be followed by a statement, but declarations aren't statements in C.
  11. Re:I'm sorry on Google DVRs and TV Advertising · · Score: 1

    Wal-mart decides to stock shelves with things that are relevant to my area's purchase history

    That's a bad comparison. There's not normally a privacy problem when no info about any person is stored.

  12. Re: who's fault is that? on Does Visual Studio Rot the Brain? · · Score: 1
    I don't use KDE, I use sawfish. I know you're joking, but I actually have had to look at the generated code for that once. It was to help find an aliasing bug in gcc 4.0.1 (which is now fixed). It only affected a relatively unimportant piece of the code: when using Alt+Tab to switch windows, the box with the window name is supposed to disappear when you release Alt, but with gcc 4.0.1, it would only disappear after the next keypress.

    (Some details: gcc assumed a certain pointer could only point to a local variable, and removed one single assignment at the end of a function because of it. Such removal would be correct in
    void f() { int i, j, *p = (rand() % 2 == 0) ? &i : &j; *p = 3; }
    which rightfully gets compiled to the same code as
    void f() { rand(); }
    but in sawfish's case, the pointer actually didn't point to a local variable.)
  13. Re: who's fault is that? on Does Visual Studio Rot the Brain? · · Score: 1
    Uh, no. Firstly, you can't use puts to do printf("Fuck You") since puts always emits a newline, and secondly, if you use printf with something ending with a newline:
    % cat test.c
    #include <stdio.h>
    int main() {
        printf("Hello, world!\n");
    }
    % gcc test.c -S -o test.s
    % cat test.s
    .file "test.c"
    .section .rodata
    .LC0:
    .string "Hello, world!"
    .text
    .globl main
    .type main, @function
    main:
            pushl %ebp
            movl %esp, %ebp
            subl $8, %esp
            andl $-16, %esp
            movl $0, %eax
            addl $15, %eax
            addl $15, %eax
            shrl $4, %eax
            sall $4, %eax
            subl %eax, %esp
            movl $.LC0, (%esp)
            call puts
            leave
            ret
    .size main, .-main
    .ident "GCC: (GNU) 4.0.2 (Gentoo 4.0.2-r1)"
    .section .note.GNU-stack,"",@progbits
    the exact same code as with puts can be generated depending on the compiler.
  14. Re:No Fair Use on ITunes Australia Goes Live · · Score: 1
    Unlawful means that the TV station or distributor or somebody has to come sue you for infringing upon their copyright. No jail time. Illegal means that somethings is a crime - the copyright holder just has to notify the cops, they can pick you up and you might face jail time (although now is not the time to go into criminal sentencing procedure).
    Do you have anything to back this up? By origins, by common usage, and by online dictionaries illegal just means unlawful, not necessarily criminal, so I'd be interested if you could show that to be wrong.
  15. Re:How many country codes are needed? on World Standards Day 2005 · · Score: 2, Informative

    YYYY-MM-DD is the international ISO standard [...] Nobody ever uses YYYY-DD-MM.

    Actually - nobody is the wrong statement. Sweden and Japan uses the ISO format.

    So who uses YYYY-DD-MM? I think you misread the date format. Either that, or I misread your post :)
  16. I don't block ads specifically on Why Do You Block Ads? · · Score: 1

    I block all Javascript (using the NoScript extension for Firefox) except for a few sites, and I refuse to install Flash. The remaining ads aren't usually annoying enough to block.

  17. Re:It's *not* rocket science, guys... on Alternative Browsers Impede Investigations · · Score: 1

    If I recall correctly, on the BeOS version of Firefox it's actually either ALT+H or CTRL+H, depending on which key you select for shortcuts (in your system preferences for menus). However, I don't remember if it's the key you select, or the one you don't select (Firefox uses both Alt+xxx and Ctrl+xxx shortcuts, so if one set gets the system shortcut key, the other key is left for the rest).

  18. Re:i'm one of the first.... on Flash EULA Doesn't Fit the Times · · Score: 5, Informative

    Fourth, it's proprietary, because MM wants to stay in control, but the specs are readily available, as is the source code of the player.
    There is nothing to stop you from making your own Flash content generator or player. Have a look at OSFlash.org for a list of Flash-related Open Source projects.


    You cannot legally use the flash specs to create your own player.

  19. Re:In related news.... on Water Flowed Recently on Mars · · Score: 1

    Yes, and that time only ended recently.

  20. Re:Why should I care? on On The Current State of WiFi Security · · Score: 2, Interesting

    Uh, you place child porn in the same category as downloading music (without even specifying that you're referring to illegally downloading music)?

  21. Re:Darn! on Getting A Handle On Vista · · Score: 1

    It's the brain-damaged file system's fault.

    Then why can my Linux system remove files from FAT partitions while they're in use?

  22. Re:Now... on Public Domain from Outer Space · · Score: 1

    Lucent Public License 1.0
    Lucent Public License 1.02

    Turns out it used to be a different license - and anyone who obtained it under the original license can redistribute it under that. Assuming that license suits you better, perhaps you could see if you can find anyone who can put it up under that, if you care enough?

  23. Re:Are the passwords saved as plain text? on Firefox Community Site Hacked · · Score: 1

    Which was already addressed: don't use weak passwords. Use one for which the hash won't be pre-stored.

  24. Re:Are the passwords saved as plain text? on Firefox Community Site Hacked · · Score: 1

    Less than a minute, eh? That was the MD5 of "I think you're full of bullshit."

  25. Re:Are the passwords saved as plain text? on Firefox Community Site Hacked · · Score: 1

    0a37cdfc8175b5805cd2d5a8d9d9e3ac