Search found 484 matches
- Thu Jun 16, 2011 2:36 pm
- Forum: Off Topic
- Topic: Creative ways to find software bugs
- Replies: 7
- Views: 17631
Re: Creative ways to find software bugs
And who says computer guys are not creative ^^ I think I owe you the real story: A few weeks ago, a colleague of mine developed a PCB with several sensors on it. Since all the circuits for the different sensors and the power supply are publicly available, he "only" had to connect them, but the entir...
- Thu Jun 16, 2011 1:18 am
- Forum: Off Topic
- Topic: Creative ways to find software bugs
- Replies: 7
- Views: 17631
Re: Creative ways to find software bugs
Very, very entertaining story :D You just earned yourself lunch IFF you are still at ETH when I get back ;) Please remind me then. The real story however involved a multimeter for the binary search: divide by two and test both for the fault and repeat that iteratively until the problem has been loca...
- Wed Jun 15, 2011 7:18 pm
- Forum: Framework Development
- Topic: Output levels
- Replies: 35
- Views: 44362
Re: Output levels
Without reading the post: I've given it quite a bit of thought myself recently because I wasn't satisfied with the current system. So I'm glad someone actually gives it some real thought. I'll comment on it later after work. In the meantime, I have a creativity exercise for all of you: Creative ways...
- Wed Jun 15, 2011 7:16 pm
- Forum: Off Topic
- Topic: Creative ways to find software bugs
- Replies: 7
- Views: 17631
Creative ways to find software bugs
Today in the lab, we used a band saw and binary search to find a bug in a program that we used (we didn't write it, but it's open source). Since this sounds sooo weird, I'm sure you can have some ideas as to what the heck we might have done in the lab ^^ I'm looking forward to hearing to some intere...
- Wed Jun 15, 2011 7:09 pm
- Forum: General Discussion
- Topic: High performance compiler open-sourced
- Replies: 3
- Views: 17087
Re: High performance compiler open-sourced
@Clang: LLVM is one possibility on Apple, however Kevin used the normal machine code compiler as far as I know (and I'm pretty sure of it). But yes, it might definitely be worth a look on Apple. As for compiler performance: I'm not entirely convinced that using a faster compiler makes any noticeable...
- Mon Jun 13, 2011 3:02 pm
- Forum: Developers' Journals
- Topic: Enhancement of the XML connection
- Replies: 39
- Views: 121194
Re: Enhancement of the XML connection
I checked to see whether the class hierarchy would support this and it does if you use RegisterRootObject() for all classes that don't inherit BaseObject, but only OrxonoxClass.
- Sat Jun 11, 2011 5:48 pm
- Forum: Developers' Journals
- Topic: Enhancement of the XML connection
- Replies: 39
- Views: 121194
Re: Enhancement of the XML connection
I like those rules at the end of your post. These should server as a guide line I guess. As for the sphere of death and tick(): that's exactly what I meant with "bad example" ^^ It depends on whether we allow only one root node in the XML file or multiple nodes. If I remember correctly, XML only all...
- Sat Jun 11, 2011 2:09 pm
- Forum: Developers' Journals
- Topic: Enhancement of the XML connection
- Replies: 39
- Views: 121194
Re: Enhancement of the XML connection
I like your ideas about the implementation details. That sounds like a massive improvement. Since everything basically needs to be rewritten and redesigned from scratch, I have one suggestion, but without an actual implementation. I'm talking about ResourceCollection and ResourceLocation. These are ...
- Fri Jun 10, 2011 10:11 pm
- Forum: Developers' Journals
- Topic: Enhancement of the XML connection
- Replies: 39
- Views: 121194
Re: Enhancement of the XML connection
Sure, it makes no sense to enforce a concept if it breaks two others. But I think in most cases it's not too hard to make an attribute changeable. Look at the model class: It wraps a mesh object. If you change the mesh-source of the model, it could simply create a new mesh. We're already forced to ...
- Wed Jun 08, 2011 10:43 pm
- Forum: General Development
- Topic: Developement: Quick Question, Quick Answer
- Replies: 19
- Views: 36027
Re: Developement: Quick Question, Quick Answer
Simple solution: Don't do it
Think about the implications on dependencies if you were to do this. Then you will figure out why this is impossible.
No module ever HAS to be loaded...
Think about the implications on dependencies if you were to do this. Then you will figure out why this is impossible.
No module ever HAS to be loaded...
- Wed Jun 08, 2011 8:59 pm
- Forum: Developers' Journals
- Topic: Enhancement of the XML connection
- Replies: 39
- Views: 121194
Re: Enhancement of the XML connection
Very, very interesting thoughts. I would like to make a few comments and additions. Generally I very much like your constraints. I always feel strongly about clearly defining how things should work and otherwise not allow it all. That way we prevent a lot of unforeseen problems. [*]All XML attribute...
- Wed Jun 08, 2011 4:31 pm
- Forum: Developers' Journals
- Topic: Enhancement of the XML connection
- Replies: 39
- Views: 121194
Re: Enhancement of the XML connection
A few days ago I recalled something I've given some thoughts a very long time ago: loading objects. Withe the redesign of the XML system, we should probably also discuss that beforehand. Currently, loading an object consists of multiple steps: Construction XMLPort() call tick() call In almost all ca...
- Wed May 25, 2011 4:40 pm
- Forum: Framework Development
- Topic: Orxonox Debian Packages
- Replies: 4
- Views: 17847
Re: Orxonox Debian Packages
Cool! But I do have one question about the last bug report. You say "Sadly the other cegui libs will link to ceguiogrerenderer so there will be no use in splitting it up into a separate package." But how can that be? the ceguibase cannot really link against the ceguiogrerenderer. Or do I misundersta...
- Sun May 22, 2011 6:37 pm
- Forum: General Development
- Topic: Developement: Quick Question, Quick Answer
- Replies: 19
- Views: 36027
Re: Developement: Quick Question, Quick Answer
@quick question I too like the idea, but not the thread ;( We have a orxonox-dev mailing list for exactly those things. Every developer will get the message and can reply in a quick and easy manner. So far, we haven't used it at all, but writing emails is much simpler than writing forums posts. That...
- Sun May 22, 2011 6:28 pm
- Forum: Framework Development
- Topic: Unit testing
- Replies: 13
- Views: 31365
Re: Unit testing
That's definitely a good idea. I myself once looked into this topic, but not very closely. The major findings were basically, that we would have to be careful with boost::test. The testing facilities should definitely be in dedicated test files that are not built by default. Or else we might easily ...