Slashdot Mirror


User: prionic6

prionic6's activity in the archive.

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

Comments · 280

  1. Re:some people don't have the cash for degrees or on Website Lets You Bet On Your Grades · · Score: 1

    I think the http://en.wikipedia.org/wiki/Universal_Declaration_of_Human_Rights says it best: "No person may be forced to install or have installed on any machine Microsoft Windows 95 or any derivative of it under any circumstance, no matter what they have done". There is also a special declaration of suggested physical punishment for Windows ME...

  2. Machinarium Review on DRM-Free Game Suffers 90% Piracy, Offers Amnesty · · Score: 1

    I got Machinarium as a gift (I think for christmas) in a retail box. It came with an executable for mac and a free copy of a flash game ("Samorost 2"). Machinarium is a great point-and-click adventure game that has a graphical style that reminds me of "Beneath a Steel Sky" with the simple usability of a flash game. Its puzzle style is a bit like Myst, where you just click without a verbal ("Use", "Open" etc.) interface, and have a few minigame-puzzles that you must solve to get along in the game. It is not a big game (took me only a few hours to solve) but I heartly recommend it! The should have a demo version, but for 5$ you really should just buy it.

  3. Re:Redundancy on ATM Hack Gives Cash On Demand · · Score: 4, Funny

    But who makes the ATMMs?

    It's machines all the way down!

  4. Re:Redundancy on ATM Hack Gives Cash On Demand · · Score: 1

    But who makes the ATMMs?

  5. Re:Oracle Responded Well on Oracle's Java Company Change Breaks Eclipse · · Score: 1

    This is the code used by eclipse to detect a SUN vm (http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.equinox.executable/library/win32/eclipseWin.c?view=markup):

    int isSunVM( _TCHAR * javaVM, _TCHAR * jniLib ) {
        _TCHAR *vm = (jniLib != NULL) ? jniLib : javaVM;
        int result = 0;
        DWORD infoSize;
        DWORD handle;
        void * info;

        _TCHAR * key, *value;
        size_t i;
        int valueSize;

        if (vm == NULL)
            return 0;

        infoSize = GetFileVersionInfoSize(vm, &handle);
        if (infoSize > 0) {
            info = malloc(infoSize);
            if (GetFileVersionInfo(vm, 0,  infoSize, info)) {
                TRANSLATIONS * translations;
                int translationsSize;
                VerQueryValue(info,  _T_ECLIPSE("\\VarFileInfo\\Translation"), (void *) &translations, &translationsSize);

                /* this size is only right because %04x is 4 characters */
                key = malloc( (_tcslen(COMPANY_NAME_KEY) + 1) * sizeof(_TCHAR));
                for (i = 0; i < (translationsSize / sizeof(TRANSLATIONS)); i++) {
                    _stprintf(key, COMPANY_NAME_KEY, translations[i].language, translations[i].codepage);

                    VerQueryValue(info, key, (void *)&value, &valueSize);
                    if (_tcsncmp(value, SUN_MICROSYSTEMS, _tcslen(SUN_MICROSYSTEMS)) == 0) {
                        result = 1;
                        break;
                    }
                }
                free(key);
            }
            free(info);
        }
        return result;
    }

  6. Re:Oracle Responded Well on Oracle's Java Company Change Breaks Eclipse · · Score: 1

    And yes, you can ask the JVM if any of the Java interfaces are supported, so switching on the name of the company that produced them is unnecessary. The company name is neither a necessary nor a sufficient test for anything. For those kinds of tests you use this reflective thingie they invented...

    --dave

    Interesting, how would you query the java vm (before calling it's binary), whether it supports -XX:MaxPermSize? I'd say you could execute "java -X" to see the -X parameters that are supported, but -XX: seems to be out of control. Those are documented at http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html and maybe it was dumb of the eclipse staff to try detect a sun vm by looking for the company name... I'd even say the eclipse launcher is a complete hack, but necessary. JAR-Files are not sufficient as directly executable files, because launching a jar often needs to be done with the correct settings for the java vm executable, like in this case to set memory or permgenspace (or on osx, -XstartOnFirstThread for any SWT app). That completely fucks up distribution of java software as JARs.

  7. Re:And here I thought I must have been drunk. on Lawsuit Hits Companies Using 'Zombie' Flash Cookies · · Score: 1

    Doesn't it count
    that the GP was reminiscent
    of spring time?

  8. Re:Does it work in reverse? on Vaccine Patch Removes Needle Pain · · Score: 1

    in fact I have locally anesthetized myself and performed minor surgery on myself (yes I am a doctor) on more than one occasion.

    Appendectomy?

  9. Re:2.5 terabytes capacity? on Irish Gov't Invests In Color-Coded Fiber Optics · · Score: 1

    double the capacity of the London phone system.

    How much is it in Libraries of Congress?

  10. Translation on BioWare On Why Making a Blockbuster Game Is a Poor Goal · · Score: 1

    "Stay away from our turf"

  11. Re:Bargain? $200? on Nvidia's $200 GTX 460 Ups Bargain Performance · · Score: 1

    Ask apple

    99 $
    99 €
    99 £

    no difference

  12. Re:the War on Privacy continues.. on Germany Takes Legal Steps Against Facebook · · Score: 2, Interesting

    I don't understand the reasoning here... If you pirate it, you can't post on the Blizzard forums anyway. If you buy the game, you can, but only with your real name. So just don't use their forum system...

  13. Also cool on MS Design Lets You Put Batteries In Any Way You Want · · Score: 1

    I think this is a nice feature. What also surprised me as pretty cool: My Logitech mouse operates with two AA batteries, but if you want to reduce the weight, it works with only one. Great!

  14. Re:Well, ok on New Tool Reveals Internet Passwords · · Score: 2, Funny

    I think it effected his post.

  15. Re:Did nobody else read that as HiRes? on Apple Hires Antenna Engineers. Really. · · Score: 1

    I was expecting HiRes pics of the current apple antenna engineers. Or what's left over.

  16. Re:Your assumption that P=1/196 may be flawed on The Tuesday Birthday Problem · · Score: 1

    A "die", sorry

  17. Re:Your assumption that P=1/196 may be flawed on The Tuesday Birthday Problem · · Score: 1

    So according to you, if you rolled a dice twice (independent results), the odds that you would have rolled a 1 and would have rolled another 1 are the same as that you would have rolled a 1 and would have rolled a 2?

  18. Re:MOD PARENT DOWN on The Tuesday Birthday Problem · · Score: 1

    Oops, sorry. "drew". English is not my first language.

  19. Re:Well? on The Tuesday Birthday Problem · · Score: 1

    You're right, and now that I read the article again, this is actually explained there pretty well... But your point goes only half way, because the selection of telling of a boy affects this exactly in the same way as you explained for the weekday, so that the result in the end is P=1/2. Just as intuition would suggest. I think.

  20. Re:MOD PARENT UP on The Tuesday Birthday Problem · · Score: 4, Insightful

    In my experience, many non-intutive probabilty results are easier to understand if you spell out the full population. For example, I coudn't understand http://en.wikipedia.org/wiki/Berkson's_paradox until I drawed it up graphically.

  21. Re:Well? on The Tuesday Birthday Problem · · Score: 1, Insightful

    But if you split one of those cases in two, each has only half the chance of occuring in the first place.

  22. Re:Well? on The Tuesday Birthday Problem · · Score: 5, Informative

    Assuming 50/50 chance of boy or girl and a 1/7 chance of each weekday, let's look at the general population of families with two childs:

    B1B1 B1B2 B1B3 B1B4 B1B5 B1B6 B1B7
    B2B1 B2B2 B2B3 B2B4 B2B5 B2B6 B2B7
    B3B1 B3B2 B3B3 B3B4 B3B5 B3B6 B3B7
    B4B1 B4B2 B4B3 B4B4 B4B5 B4B6 B4B7
    B5B1 B5B2 B5B3 B5B4 B5B5 B5B6 B5B7
    B6B1 B6B2 B6B3 B6B4 B6B5 B6B6 B6B7
    B7B1 B7B2 B7B3 B7B4 B7B5 B7B6 B7B7

    B1G1 B1G2 B1G3 B1G4 B1G5 B1G6 B1G7
    B2G1 B2G2 B2G3 B2G4 B2G5 B2G6 B2G7
    B3G1 B3G2 B3G3 B3G4 B3G5 B3G6 B3G7
    B4G1 B4G2 B4G3 B4G4 B4G5 B4G6 B4G7
    B5G1 B5G2 B5G3 B5G4 B5G5 B5G6 B5G7
    B6G1 B6G2 B6G3 B6G4 B6G5 B6G6 B6G7
    B7G1 B7G2 B7G3 B7G4 B7G5 B7G6 B7G7

    G1B1 G1B2 G1B3 G1B4 G1B5 G1B6 G1B7
    G2B1 G2B2 G2B3 G2B4 G2B5 G2B6 G2B7
    G3B1 G3B2 G3B3 G3B4 G3B5 G3B6 G3B7
    G4B1 G4B2 G4B3 G4B4 G4B5 G4B6 G4B7
    G5B1 G5B2 G5B3 G5B4 G5B5 G5B6 G5B7
    G6B1 G6B2 G6B3 G6B4 G6B5 G6B6 G6B7
    G7B1 G7B2 G7B3 G7B4 G7B5 G7B6 G7B7

    G1G1 G1G2 G1G3 G1G4 G1G5 G1G6 G1G7
    G2G1 G2G2 G2G3 G2G4 G2G5 G2G6 G2G7
    G3G1 G3G2 G3G3 G3G4 G3G5 G3G6 G3G7
    G4G1 G4G2 G4G3 G4G4 G4G5 G4G6 G4G7
    G5G1 G5G2 G5G3 G5G4 G5G5 G5G6 G5G7
    G6G1 G6G2 G6G3 G6G4 G6G5 G6G6 G6G7
    G7G1 G7G2 G7G3 G7G4 G7G5 G7G6 G7G7

    Each outcome has P = 1/(7*7*4) = 1/196

    Let's only look at the families with (at least one) tuesday boy:

         B1B2
    B2B1 B2B2 B2B3 B2B4 B2B5 B2B6 B2B7
         B3B2
         B4B2
         B5B2
         B6B2
         B7B2

    B2G1 B2G2 B2G3 B2G4 B2G5 B2G6 B2G7

         G1B2
         G2B2
         G3B2
         G4B2
         G5B2
         G6B2
         G7B2

    Of these 27 families, 13 have another boy. So P = 13/27.

  23. HERMOCRATES! on Science Historian Deciphers Plato's Code · · Score: 1

    A friend of Socrates!

  24. Re:I agree on Chase Bank May Drop Support of Chrome, Opera · · Score: 1

    Sound like a case for the A-Team! Or Nathan Ford...

  25. Re:Electric isn't ready... on High Depreciation May Slow Electric Car Acceptance · · Score: 1

    Also solves organ donor scarcity!