Archive for October 29th, 2008

Random stuff so I don’t forget

Wednesday, October 29th, 2008

Freemind management of mnemosyne cards is an awesome idea! Create and organize subject matter in FreeMind, then export (leaves probably) to Mnemosyne cards with containing branches as categories. The tree could also be exported to a LaTeX memoir document, so it’s three in one: Tree, narrative, and notes. OOooh, I really like this idea.

  • Freemind needs a: spellchecker, automagically updated file view and clone nodes.
  • Use python 2.6 ast module to make pretty asserts that use the assert keyword.
  • the ast module could also be used to implement something akin to the Eiffel “old” keyword. But I think a registry of expressions to evaluate before the method and are accessable by name e.g.
    • old(expr1=lambda s: s.attr, expr2=lambda s: s.method()) and accessable by old.expr1, old.expr2
  • would be cleaner to implement.
  • Cmockery is hugs and cuddles, now all I have to do is add it to our make file for OS, mwahahahah!
  • Pythoscope equivalent for C would be interesting, and probably useful. Although really hard to implement…Whoever did it would become really good at C, though.
  • Contracts for python need to handle functions as well as classes (perhaps through wrapper class with __call__ or some such?)
  • Also looking at automake and autotools, makefiles don’t look as brain melting as they used to.
  • Automatically generating Sequence diagrams based on unit test or code execution would be AWESOME, pyumlgraph already does it for class relationship diagrams (generally, at least)