User:Philosopher: Difference between revisions

Jump to navigation Jump to search
New sections: a look inside my brain ;
m (Updates on current work; change python description now that I'm actively using it)
(New sections: a look inside my brain ;)
Line 2: Line 2:


Likes reading through C/C++ code for fun, and understanding, documenting, and improving it – though I'm far from an expert in either and my hat is continually off to Andy, Thomas, and James (and everyone else) for their wonderful code. Oddly enough, I find Nasal code to be harder to read, probably due to the fact that C/C++ and very structured languages and Nasal is not (it almost needs DbC at times!).
Likes reading through C/C++ code for fun, and understanding, documenting, and improving it – though I'm far from an expert in either and my hat is continually off to Andy, Thomas, and James (and everyone else) for their wonderful code. Oddly enough, I find Nasal code to be harder to read, probably due to the fact that C/C++ and very structured languages and Nasal is not (it almost needs DbC at times!).
Currently working hard on my joystick back-end: the control_function library and mode system (I'm creating a GUI mode editor in Canvas, which is not an easy task, but at least less frustrating than PUI dialogs).


Favorite languages:
Favorite languages:
Line 10: Line 8:
* C & C++ (different beasts; I like C++'s classes and ::iterators in particular)
* C & C++ (different beasts; I like C++'s classes and ::iterators in particular)
* Languages yet to be discovered: I hope to find more that I like!
* Languages yet to be discovered: I hope to find more that I like!
Things to be doing:
* [[Improving the Joystick GUI]]: porting to Canvas, tweaking things, and integration with back-end when ready.
* Joystick-Philosopher (bindings for Cyborg-X): improve the control_function library.
* Nasal improvement for 3.0 (LaTeX document, making patches and applying patches to SimGear).
* Nasal browser: need a mechanism to add/delete/edit entries, need better scrolling code.
Good ideas:
* Expose the catapult locations to the property tree, for JSBSim 'craft and Nasal tutorials.
* [http://flightgear.org/forums/viewtopic.php?f=18&t=19666 Changing behavior of SGPropertyNodes without tying]
* (In conjunction with Hooray) Have Nasal load itself: besides for one file (either Nasal/globals.nas or something in [[$FG_ROOT]]), ''all'' Nasal should be loaded from Nasal.  (Including <tt>--prop:/nasal/module_name/script</tt> and <tt>--prop:/nasal/module_name/file</tt>.)
Nasal thoughts area:
* I would like to include small improvements that enhance my quality of life in SimGear: string slicing, hash iteration using foreach/forindex, save/restore aka stash? (latter to be discussed)
* I fixed [http://code.google.com/p/flightgear-bugs/issues/detail?id=585&q=Nasal&colspec=ID%20Type%20Status%20Priority%20Summary%20Aircraft%20Milestone#makechanges Bug #585] with like 12 characters of code, besides the obvious workaround of using an all-capture slice expression :).
* Hooray and I talk about more extension functions to allow looking into internals; I need to review all of these, gather them up, add to them, etc., and hope they can be included somewhere (Hooray was saying maybe just the standalone Nasal in SimGear, not FlightGear's runtime).
** Sub-idea: if we only include the extensions in standalone and we have optimizer/post-compiler scripts ready, then make a script to be run with standalone that optimizes any or all Nasal files and outputs an optimized version (*.nas.optimized) or even just the bytecode (*.nas.opcode, textual file ofc) and have that be the preferred loading method (if the text is older than the optimized version).
395

edits

Navigation menu