74 karma · joined February 15, 2011
There is "Write Yourself a Scheme in 48 Hours"[1].
[1]: http://en.wikibooks.org/wiki/Write_Yourself_a_Scheme_in_48_H...
> if MyType.ConstructorA(a):
> ...
> elif MyType.ConstructorB(a):
> ...
or even something like
> with MyType.ConstructorA(a) as b, c:
> ...
> else with MyType.ConstructB(a) as d:
> ...
a "with/else with" construct would be a fairly straightforward addition to Python's "context manager" interface.
N.B. I am not a lawyer.
[1]: http://veekun.com/dex [2]: https://github.com/veekun [3]: https://github.com/veekun/pokedex/tree/master/pokedex/data/c...
Usually your desktop environment is the thing that handles all of this, providing widgets for other programs to combine to create GUIs. I can't find it right now, but you can probably find e.g. GNOME/GTK's implementation.
(Re: Textmate: code is typically rendered in monospace font -- where every glyph has the same size -- so that it has the same alignment in every font with every renderer.)
> The Bayesian says, "Uncertainty exists in the map, not in the territory. In the real world, the coin has either come up heads, or come up tails. Any talk of 'probability' must refer to the information that I have about the coin—my state of partial ignorance and partial knowledge—not just the coin itself.
See, QM doesn't actually work like this. There is no hidden variable. This has been proven[1].
(Restricting mysql access to localhost and using an SSH tunnel is fine practice, AFAIK.)
I'm not sure what Hans Reiser has to do with anything and it's a little strange that you brought him up. Wikipedia says Nina Reiser's disappearance was in 2006, a year after this post was made.
> And, if you want to kill your ex-girlfriend, there's really no substitute for a ball-peen hammer.
> (Maybe they've never had ex-girlfriends. Or maybe they killed them with icepicks instead.)