Skip to main content.
April 4th, 2005

A quick update on the recent happenings.

Saturday I went out to a club with a friend. Wasn’t too bad. There, we met some people we already knew.. that’s the easiest way to meet new people. I mean through friends, instead of going around bugging random girls 8)
Sunday I was rather tired, but was a nice day. So, I went to the Yoyogi Park with Marco. After that, I went to buy some colored plastic/foam sheets. One red, two green and one blue. To be used for checking Aibo’s camera fixed noise and possibly as chroma key background for an eventual update of JavaKazRace. In fact, I also bought 3 cheap car mini-models. I’m not sure if and when I will work on that though. Taking pictures of car models from all sides is rather time consuming !
On the coding side, I must admit that with the new console’s SDKs I get at work and with the Aibo SDK, I ended up having to deal with C++ more than I planned to. So, I started to write some of my stuff in form of classes. If anything to refresh my memory about C++. Still a very limited approach. With already some bumps.. for example using callbacks in C++ turns out to be a delicate issue. Declare lots of stuff public or start using templates, etc. Geez !!
I’ve been rather sleepy for the past days, and not really being able to sleep much (the small heart quake that I felt yesterday night didn’t help much !). On the coding side I’m focusing on organizing a system that allows me to quickly build dialogs where I can fiddle with data. Instead of having to do everything through the command shell like I’m doing right now.
Hopefully for tonight I’ll be done with the GUI side, and I can start working on implementing features in the Aibo camera capture software thing.

Posted by Davide Pasca in Uncategorized

This entry was posted on Monday, April 4th, 2005 at 8:59 pm and is filed under Uncategorized. You can follow any responses to this entry through the comments RSS 2.0 feed. You can leave a response, or trackback from your own site.

6 Responses to “A quick update on the recent happenings.”

  1. ragin' lion says:

    What’s this rail against C++ again? ;-)
    This site has some good info. on function pointers and the like for both C and C++:

    http://www.function-pointer.org/

    Though (depending on what you’re doing) virtual functions might be better.

  2. Davide Pasca says:

    I said that I’m somewhat using C++ and you are still not happy ?!
    Nice site there.. I see that there is also a 29 pages document on using callbacks in C++ ..wow ! That complex ? ;)
    Anyhow, things are much better if one declares the callback as a static function belonging to the class. This way I still have to carry around the this manually, but at least I don’t have do declare so many things public 8)

  3. ragin' lion says:

    ha ha ha … You know i’m just giving you a hard time about C++ … ;-)

    Callbacks in C++ aren’t that complicated. I think the author of that particular site had spent a lot of time doing research with callbacks for some of his projects.

  4. rince says:

    static static static!!!

    use static a lot and c++ is not too bad!!!

  5. ragin' lion says:

    rince … i can’t read your message … too much static!!! 8P

  6. Davide Pasca says:

    Recently I had to build a Flash player. I started writing my own, but eventually found about one already done, so I ripped those sources. It was C++, so I had a few issues with compiling and running it. The guy had remapped new and delete to malloc and free which were redirected to some interal memory manager written by some other guy. I obviously skipped all that remapping and ended up with some delete acting on a block allocated with a malloc ..ouch !
    Also, I noticed he did write its own array templates. So, I went looking for some array templates on boost.org ..and hit the real ugly part of C++.. the part that allows people to pretty much rewrite portion of the language. Hot guys that write C++ books happen to have the privilege to do that somewhat officially on boost.org, but in general, it seems to me that they write a lot of crap, they own portion of a laguage that one is suppose to learn. How their templates work, what they do, how they are supposed to be used.. and the code, it’s really ugly and hard to grasp.
    It seems to me that with C++, especially with templates and operators overloading, everyone wants to write his/her own language. A nice exercize, but hardly an intelligent thing.. not when writers of those “extensions” expect others to follow their twist on the language.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>