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.
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.
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.
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.
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>
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.
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.
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.
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.
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.
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.
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
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.
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.
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>
What we have now?
:) 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.
You've got MathML built in Mozilla, SVG (ok, sort of
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.
Like... get a coffee?
BSOD washes greatly with the suits. Conclusion?
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.
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.