Slashdot Mirror


User: zmotula

zmotula's activity in the archive.

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

Comments · 63

  1. Re:What do you use python for? on Text Processing in Python · · Score: 1

    No, my argument is that (1) two operations that seem to be used in the same context ([0]*2 and [[0]*2]*2) probably should do the same and (2) if there's some implicit argument that gets passed to every function, it probably should not be counted when error reporting.

  2. Re:What do you use python for? on Text Processing in Python · · Score: 1

    Honestly: I'm not really good in progogramming.

    As for the serious part: Python is quite often described as a nice, readable language suitable for beginners. The code snippets I wrote aren't IMHO a good example of something that should be fed to beginners.

  3. Re:What do you use python for? on Text Processing in Python · · Score: 1

    Easy to learn and read? This is my recent new-to-Python experience:

    def bar(foo):
    for i in range(len(foo)): foo[i] = i+1

    foo = [[0] * 2] * 3
    print foo
    bar(foo[0])
    print foo

    [[0, 0], [0, 0], [0, 0]]
    [[1, 2], [1, 2], [1, 2]]

    and another one:

    Traceback (most recent call last):
    File "./imaging", line 20, in ?
    sum += image.getpixel(i, j)
    TypeError: getpixel() takes exactly 2 arguments (3 given)

    Quite lovely to read, really. Took me a hot hour to figure these out.

  4. Re:How fast is java? on Java 1.4.2 Released · · Score: 2, Interesting

    I just tried it on my GUI app, it's as ugly as anything you can make up :(

    http://www.fi.muni.cz/~xznamen/java-gtk.png

  5. Re:May be defeated if password is keylogged on Using Password "Keyprints" as Another Form of Authentication? · · Score: 1

    The keyprint is an vector of doubles, computing difference between vectors is a breeze and just last few vectors can be used to determine the used-to-the-password status. No rocket science.

  6. Re:May be defeated if password is keylogged on Using Password "Keyprints" as Another Form of Authentication? · · Score: 1

    Once I thought about implementing something like this. Instead of learning the password keyprint by fixed number of attempts, I thought about continuous learning --- the login box would just keep a database of all your login keyprints (not validating them) and once you get used to your password, the differences between successive keyprints would cross some given epsilon, turning on the keyprint checking.

  7. Re:The problem with your argument. on Chess Championship: Humans vs. Computer · · Score: 2, Insightful

    But chess *really* does not need any intelligence if you have enough computing power. You can be either (a) intelligent with low computing skills --- human or (b) dumb, but with excellent computing skills --- computer.

    Only our insufficient computing power makes chess the nice game that requires intelligence.

    Computers don't enjoy playing chess, it's a routine <g>

  8. Re:Amaya == Camelot on W3's Amaya Reaches Version 8.0 · · Score: 1

    What we have now?

    You've got MathML built in Mozilla, SVG (ok, sort of :) built in Mozilla, what more do You want? Amaya has got it easy because it doesn't aim to be The browser and (at least from my point of view) is a kind of a lab rat for w3 specs.

  9. Re:This is good news... on Bitstream/Gnome Release Vera Font Family · · Score: 2, Insightful

    Still the sad thing about fonts in X is the poor rendering (even with antialiasing turned on) compared to Windows or MacOS X. Without antialias, cursive fonts are nearly unusable (at least on all the machines I work with). With antialias, the characters have got uneven brightness and fuzzy edges; horizontal lines are too thick (antialiased Mozilla being a perfect example)... Paint to look at.

  10. Re:I said this before... on HP Drops Gnome 2 Efforts · · Score: 2, Funny

    Like... get a coffee?

  11. Re:I said this before... on HP Drops Gnome 2 Efforts · · Score: 2, Insightful

    BSOD washes greatly with the suits. Conclusion?

  12. Re:On file formats on XML Support In Office 2003 Isn't For Everyone · · Score: 1

    I always said during the DOJ trial all I wanted was to have the Office file formats opened. That would have really lead to some change.

    Oh, would it? The format is quite complicated and even Microsoft is not able to implement it correctly across different versions of it's own software.

  13. Re:How about 'finished'? on Too Much Free Software · · Score: 1

    If it actually does what it was designed for, it's cathegorised as Production/Stable/Mature, so You can ignore these projects when looking for corpses.