Search found 484 matches

by 1337
Thu Jun 16, 2011 2:36 pm
Forum: Off Topic
Topic: Creative ways to find software bugs
Replies: 7
Views: 17528

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...
by 1337
Thu Jun 16, 2011 1:18 am
Forum: Off Topic
Topic: Creative ways to find software bugs
Replies: 7
Views: 17528

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...
by 1337
Wed Jun 15, 2011 7:18 pm
Forum: Framework Development
Topic: Output levels
Replies: 35
Views: 44116

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...
by 1337
Wed Jun 15, 2011 7:16 pm
Forum: Off Topic
Topic: Creative ways to find software bugs
Replies: 7
Views: 17528

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...
by 1337
Wed Jun 15, 2011 7:09 pm
Forum: General Discussion
Topic: High performance compiler open-sourced
Replies: 3
Views: 16954

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...
by 1337
Mon Jun 13, 2011 3:02 pm
Forum: Developers' Journals
Topic: Enhancement of the XML connection
Replies: 39
Views: 120916

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.
by 1337
Sat Jun 11, 2011 5:48 pm
Forum: Developers' Journals
Topic: Enhancement of the XML connection
Replies: 39
Views: 120916

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...
by 1337
Sat Jun 11, 2011 2:09 pm
Forum: Developers' Journals
Topic: Enhancement of the XML connection
Replies: 39
Views: 120916

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 ...
by 1337
Fri Jun 10, 2011 10:11 pm
Forum: Developers' Journals
Topic: Enhancement of the XML connection
Replies: 39
Views: 120916

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 ...
by 1337
Wed Jun 08, 2011 10:43 pm
Forum: General Development
Topic: Developement: Quick Question, Quick Answer
Replies: 19
Views: 35786

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...
by 1337
Wed Jun 08, 2011 8:59 pm
Forum: Developers' Journals
Topic: Enhancement of the XML connection
Replies: 39
Views: 120916

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...
by 1337
Wed Jun 08, 2011 4:31 pm
Forum: Developers' Journals
Topic: Enhancement of the XML connection
Replies: 39
Views: 120916

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...
by 1337
Wed May 25, 2011 4:40 pm
Forum: Framework Development
Topic: Orxonox Debian Packages
Replies: 4
Views: 17704

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...
by 1337
Sun May 22, 2011 6:37 pm
Forum: General Development
Topic: Developement: Quick Question, Quick Answer
Replies: 19
Views: 35786

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...
by 1337
Sun May 22, 2011 6:28 pm
Forum: Framework Development
Topic: Unit testing
Replies: 13
Views: 31196

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 ...