6502

Italy

gripho.it

Age: 48

Programmer... some infos on my personal webpage or something more structured on an older version (that is abandonware because I've yet to find a way to create time, so I had to take decisions instead).

3h
answered Does argument order for the C calling convention ever have a performance impact?
1d
revised Unhandled exception at 0x000FBA44 in Top Down Shooter
edited body
1d
comment Unhandled exception at 0x000FBA44 in Top Down Shooter
@MagnusCaligo: unfortunately you're right that most good C++ resources are not free. "Thinking in C++" is not bad however and is freely available. Unfortunately the web is also full of very bad introductions to C++. Remember to double-check the source before burning your neurons and remember that the price tag doesn't say it all... there are non-free bestsellers on C++ that are nice to read and memorize, but horribly wrong and full of conceptual mistakes.
1d
comment Unhandled exception at 0x000FBA44 in Top Down Shooter
@MagnusCaligo: keeping by experimenting unfortunately what will happen is that you will keep adding features and at a certain point the program will stop working. You will revert last changes and the program will keep behaving wrongly. You will blame the compiler, the operating system, the computer, the cosmic rays. This has happened to a jillion other C++ programmers... if you don't fix your approach to C++ now it will be a very sad experience.
1d
revised Unhandled exception at 0x000FBA44 in Top Down Shooter
added 58 characters in body
1d
revised Unhandled exception at 0x000FBA44 in Top Down Shooter
added 335 characters in body
1d
answered Unhandled exception at 0x000FBA44 in Top Down Shooter
Jun
30
reviewed Approve suggested edit on Where to put default parameter value in C++?
Jun
30
answered Output difference on Linux and Windows
Jun
29
awarded Nice Answer
Jun
29
answered Why reference not kept when putting attribute on `this`?
Jun
29
answered Read floats from tcp
Jun
29
comment Why is accessing a variable using window.variable slower?
@Bergi: I never took the time to try to decipher the basically unreadable Javascript standard on how exactly the "global object" works in respect to globals, but IIRC the global object window cannot be overwritten and therefore, when it's not a local, window is guaranteed to be the global object. This means the compiler could optimize a window.x access when window is a global to a direct access to the x global. OTOH I'm not sure if it's something I would implement (why messing up the compiler code to just to speed up that?)
Jun
28
answered How to put mutex lock & unlock for a specific condition in if-else ladder?
Jun
28
comment How to check if array is multidimensional? (jQuery)
Never use == or != in Javascript. They're totally broken... go for === and !== instead.
Jun
28
answered Split an integer number into digits non-backward
Jun
28
comment Remember when you promised not to imply that I support your political message?
Just wanted to make it clear that I'm not a lawyer (I don't even like lawyers and I don't even read those screenfuls before clicking "I accept") but I don't think there is any reason for which SO couldn't have changed its logo. I think it was 100% within its choices to change the logo and I even actually like it did (for example I discovered about the ruling just because of that logo). What I'm saying is that SO could have kept the change only for the front page or just not on profile pages and doing a better service to everyone doing so.
Jun
28
comment Remember when you promised not to imply that I support your political message?
@Frank: If Ben doesn't want to be associated to SO it can delete its profile. IIUC Ben doesn't want to be associated with the celebration for something he doesn't agree on. I think it's ok that SO celebrates (yay!) ... I also think however that indeed if someone comes to Ben's profile directly from an external link it could be tricked into thinking that Ben is celebrating too. Ben solved this misunderstanding by changing its profile text but I think it's true that this trap is easy to fall in and therefore, by default, I think it would have been better to keep a regular logo on profile pages.
Jun
28
comment Bit-operation OR vs addition
@JonathanLeffler: thanks, fixed.
Jun
28
revised Bit-operation OR vs addition
added 137 characters in body
1 2 3 4 5