6502

Italy

gripho.it

Age: 48

Programmer... some quite outdated infos on my website (that is abandonware because I've yet to find a way to create time, so I had to take decisions instead).

8h
awarded Constituent
2d
answered Text reading and list index out of range in Python
2d
awarded Self-Learner
2d
revised How is Python itertools `constant_factory` example superior to `lambda : x`?
added 334 characters in body
2d
answered How is Python itertools `constant_factory` example superior to `lambda : x`?
2d
asked How is Python itertools `constant_factory` example superior to `lambda : x`?
2d
comment If condition expression not working
A design mistake that was fixed with Python 3
2d
revised What's the best way to return Obj.key1.key2...keyN?
added 231 characters in body
Dec
16
comment reposition image within a box
@user1615573: yes the idea is that you can send the final X/Y/scale factors to your server side so that the specific final image can be computed if this is what you need. As an alternative you could just keep the original image instead and remember x/y/scale and then just use the same clipped-draw logic when you need to paint it... but if this is or not a good idea it really depends on what you need the image for.
Dec
15
comment If statement not being executed/reached
@Elias: computing cathetus B given cathetus A and hypotenuse. You're using an addition instead of a subtraction (hyp-cat).
Dec
15
awarded Caucus
Dec
15
answered If statement not being executed/reached
Dec
15
answered Is it possible to nest the all function?
Dec
15
revised reposition image within a box
onmousewheel should have been outside of onmousedown handler
Dec
15
answered reposition image within a box
Dec
14
answered Extract struct array with smallest value of one variable
Dec
14
comment Extract struct array with smallest value of one variable
I'd also call it __flBadIdentifier (consecutive underscores are reserved and cannot be used in identifiers in any place)
Dec
14
answered python socket, how to receive all the message when buffer is not big enough?
Dec
13
revised Orthonormal basis . Can I have more than one basis for the subspace?
set syntax
Dec
13
revised Evidence against Goldbach's Conjecture?
deleted 5 characters in body
1 2 3 4 5