mysql wildcard permissions

Monday, 10. 24. 2005  –  Category: all, vague

I just can’t get wildcard permissions to work with MySQL - I want user ti to be able to do anything he likes to any database matching /^ti_/. The test databases are configure out of box like this, but I can’t seem to do this with GRANT:
mysql> grant all on “ti_%”.* to ti@ti.jail.lemonia.org ;
ERROR 1064: [...]

PI and dc(1)

Thursday, 10. 20. 2005  –  Category: vague

echo ‘99[lslc+vsslp2*ls/splslk+lc>a]sadk_1*sk10lk^sk0ss2dscsplaxlppq’ | dc
As an introduction to C programming and unix, my first tech boss asked me to write a dc(1) clone. I really doubt it could have handled this (somewhere there’s a 3.5″ floppy with my code on, no doubt). I went on to write a lexer with awk(1), the less said about that [...]