Undefined control sequence - not sure exactly what the problem is331 (7/30/2010 7:38:29 PM) comp.text.tex For the file manual.tex ( http://github.com/metaperl/ursala-doc ) when I run pdflatex manual.tex I get an 'Undefined control sequence' error but I do not know exactly what the problem is. Clearly, LaTeX has ... Terrence
Practical Prolog - tokenizing, mapping, and transforming text224 (2/8/2010 9:42:09 AM) comp.lang.prolog Hello, I am aiming to make a complete Prolog version of a Perl module that generates latin-looking text: http://search.cpan.org/~adeola/Text-Lorem-0.3/lib/Text/Lorem.pm My first goal is to take a string o... Terrence
non-invasive templating solution217 (1/26/2009 9:15:57 PM) comp.lang.php Hello, I'm a perl and python programmer, but for completeness I would like to know which dynamic html generation systems exist in PHP which focus on driving HTML generation outside of the HTML itself.... I'm fa... Terrence
non-invasive templating solutions in ruby?422 (1/26/2009 6:04:10 PM) comp.lang.ruby hello, I am a perl and python programmer, but for completeness, I would like to know which dynamic html generation systems exist in Ruby which focus on driving HTML generation outside of the HTML itself. In an... Terrence
push-style templating - an xml-like way to process xhtml1333 (11/2/2008 8:48:40 AM) comp.lang.python Hello, The most common way of dynamically producing HTML is via template engines like genshi, cheetah, makotemplates, etc. These engines are 'inline' --- they intersperse programming constructs with the HTML ... Terrence
code critique requested - just 60 lines814 (10/2/2008 2:51:30 PM) comp.lang.python Hi, I would like some feedback on how you would improve the following program: http://www.bitbucket.org/metaperl/ptc_math/src/21979c65074f/payout.py Basically, using non-strict dictionary keys can lead to bugs... Terrence
how best to use a dictionary in this function?213 (10/2/2008 9:18:50 AM) comp.lang.python Ok, here is some code: def calc_profit(std_clicks, vip_clicks, ad_rate=200, upline_status=None): payout = {} payout_std = std_clicks * rates['std'].per_click payout_vip = vip_clicks * rates['vip'].... Terrence
re.compile versus r''326 (8/28/2008 7:23:10 PM) comp.lang.python Hello, I'm using a tool (PLY) which apparently expects the tokens to be created using r'' But because one token is a rather complex regular expression, I want to create the regular expression programmatically.... Terrence
non-invasive templating solution217 (1/26/2009 9:15:57 PM) comp.lang.php Hello, I'm a perl and python programmer, but for completeness I would like to know which dynamic html generation systems exist in PHP which focus on driving HTML generation outside of the HTML itself.... I'm fa... metaperl(180)
non-invasive templating solutions in ruby?422 (1/26/2009 6:04:10 PM) comp.lang.ruby hello, I am a perl and python programmer, but for completeness, I would like to know which dynamic html generation systems exist in Ruby which focus on driving HTML generation outside of the HTML itself. In an... metaperl(180)
is this a good way to do imports ?119 (11/5/2008 7:14:05 PM) comp.lang.python hello, I can't find any good documentation or examples of packages, so I'm not sure if this is good / correct way, although it seems to work. root / dir1 / file1.py / general.py / dir2 / fil... Stef.Mientki(428)
push-style templating - an xml-like way to process xhtml1333 (11/2/2008 8:48:40 AM) comp.lang.python Hello, The most common way of dynamically producing HTML is via template engines like genshi, cheetah, makotemplates, etc. These engines are 'inline' --- they intersperse programming constructs with the HTML ... metaperl(180)
code critique requested - just 60 lines814 (10/2/2008 2:51:30 PM) comp.lang.python Hi, I would like some feedback on how you would improve the following program: http://www.bitbucket.org/metaperl/ptc_math/src/21979c65074f/payout.py Basically, using non-strict dictionary keys can lead to bugs... metaperl(180)
re.compile versus r''326 (8/28/2008 7:23:10 PM) comp.lang.python Hello, I'm using a tool (PLY) which apparently expects the tokens to be created using r'' But because one token is a rather complex regular expression, I want to create the regular expression programmatically.... metaperl(180)
graphing lifelines519 (7/15/2008 6:56:59 PM) comp.lang.python (crossposted to sci.math) I'm looking for a tool which will take a dataset of tuples indicating the year of birth and death of a person: (1872, 1950, "Sri Aurobindo") (1821, 1910, "Mary Baker Eddy") (1831, 18... metaperl(180)