#perl
24 October 2007
Total 38 pages. You are browsing page 3/38.
First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last
01:17 <****> dkr, any idea how to start?
01:17 <****> don't tell me #!/usr/bin/perl now :=
01:17 <****> off topic but has anyone used rrdtool
01:17 <****> I wouldn't say that with the -w! ;)
01:17 <****> er, without
01:18 <****> defc0n-: well, mrtg. :)
01:18 <****> dkr: hmmmm would that make you familiar with how rrd works :)
01:19 <****> Romina: read the data, use DBI to insert ti into a database. write a cgi script that takes an argument and search d for the word. read db entry, display html page with word and definitions in it
01:19 <****> dkr, thats a damn good idea
01:19 <****> (while you're at it. convert to utf-8 when inserting into the db, latin1 is outdated)
01:20 <****> so you would use mysql or so
01:20 <****> ah, text::csv worked like a charm
01:20 <****> defc0n-: not really
01:20 <****> ah Ok, yeah I'm kinda confused on why I have to use a CF (consolidation function) when I wanna do rrdfetch
01:21 <****> why cant i just graph the values without doing average or something
01:21 <****> because older intermediate data points are removed to conserve space in rrd format so quite often all you have are the averages?
01:22 <****> dkr, there is one thing I would need your help
01:22 <****> hum well i know why there ARE consolidation functions, its easy to keep the average on the fly as the RRD updates so it doesn't always have to be recomputated
01:22 <****> dkr, I am not able to figure out how I shell insert the stuff into the DB because the regular expression must be very difficult
01:22 <****> there are also lines like that:
01:23 <****> Abdankung {f} | Abdankungen {pl} :: resignations | resignations
01:23 <****> Romina: make a second field in the db for "alternate forms"?
01:24 <****> that would not be the best solution, what if there are 10 alternate forms?
01:25 <****> then normalize the db. :)
01:25 <****> and we got back to the problem how to insert the stuff
01:26 <****> there are some machine translation guys in #linguistics that might have a good idea for a db layout for a german/english dictionary
01:27 * CPAN upload: Tk-JPEG-Lite-2.014_05 by SREZIC
01:27 * CPAN upload: Tk-TIFF-0.10_51 by SREZIC
01:27 <****> there is obviously a trade-off over how well you organize the db versus how quick you can look-up words in it
01:27 <****> Thank you dkr
01:28 * dkr reminisces about the Romina he knew in highschool.
01:29 <****> GumbyGumby: is Romina married with three kids, now?
01:29 <****> dkr: make a second argument to it just has spaces... What would be with you now.
01:29 <****> GumbyGumby: I guess you are right. thanks.
01:29 <****> dkr: apt will build on many operating systems, like linux for example. For those of you is a right that i guess i should have done @x...
01:34 <****> my perl -MCPAN -e shell; gets stuck at the Fetching with LWP:\nftp://ftp.esat.net/pub/languages/perl/CPAN/authors/01mailrc.txt.gz, anyone know how to fix?
01:35 <****> yes, the mirror is up, and yes I can wget that file from the same machine
01:36 <****> tomize: export FTP_PASSIVE=1
01:40 <****> deja vu
01:40 <****> does pcre actually have anything to do with perl ?
01:40 <****> no :-(
01:40 <****> Just checking :)
01:40 <****> they don't have a channel :(
01:40 <****> perlbot pcre
01:40 <****> PCRE is crap. It is hardly comparable to Perl's regular expression engine. Don't bother inquiring for help with a regular expression in perl related channels as the answer you'll get will most likely not work since PCRE is missing most of the "powerful" features that perl's regex engine contains. See also: LPBD
01:41 <****> well...nginx requires it
01:41 <****> and I can't get it working on solaris
01:41 <****> isn't that a bit strong? it works fine for most purposes
01:41 <****> perlbot, lpbd
01:41 <****> PCRE should really be called LPBD - Like Perl But Different.
01:41 <****> you need to talk the the pcre guys...
01:42 * CPAN upload: Lingua-ES-Numeros-0.04 by JREY
01:43 <****> boost regular expressions are sooooo much worse
01:43 <****> tomize: it's just trying to shoo people away, probably because too many people ask questions and then forget about the flags and some answers require (?{}) and (??{})
01:45 <****> pcre is pretty awesome.
01:45 <****> mst: thanks :-)
01:46 <****> not escaping the characters classes is probably more likely
01:47 <****> K fixed it
01:47 <****> ...PCRE (release 7.x) corresponds approximately with Perl 5.10 (if that's true, is doesn't sound bad at all)
01:47 <****> Ok...this might be a loaded question ... but
01:47 <****> what do you guys think is easier ... python , perl or ruby
01:48 <****> ekim|irc-: python is probably the easiest to learn to mid-level
01:48 <****> ekim|irc-: depends on your perspective, are you learning from scratch, do you want to do a specific task with it?
01:48 <****> ekim|irc-: perl is hard work to get good at, but more flexible/powerful than either of the other two once you do
01:48 <****> well...I was looking at catalyst
01:49 <****> what is that?
01:49 <****> about the single most powerful web framework available in a traditional dynamic language
01:49 <****> Perl will provide more assist when you need to shoot your foot :)
01:50 <****> Ohh ok
01:50 <****> assistance
01:50 <****> I thought you guys would be a bunch of zealots
01:50 <****> CATALYST++
01:50 <****> But apparently not
01:50 <****> use Rope 'enough';
01:50 <****> I respect that
01:50 <****> heh
01:50 <****> there are plenty of zealots that pass thru
01:50 <****> I'm addicted to hash.
01:51 <****> And fruit rolls.
01:51 <****> ekim|irc-: we are! you just caught us in the wrong mode
01:51 <****> err mood!
01:51 <****> ekim|irc-: Catalyst is -extremely- powerful. it doesn't screencast well because it's a bit more work to get going with than most
01:51 <****> eval: select(DEATH_TO_ALL_HUMANS);
01:51 <****> ekim|irc-: but it's not optimised for making "hello world!" simple. it's optimised for making large complex sites and business apps maintainable and robust
01:51 <****> right
01:52 <****> Necos: ENOACCES
01:52 <****> lol
01:52 <****> but I have to admit...I think perl has the most jokes about it lol
01:52 <****> ekim|irc-: because those are the things people actually make money writing :)
01:52 <****> not to be mean
01:52 <****> mst: just use a nice editor, that was the most impressive part of the RoR screencast I saw anyway :)
01:52 <****> ekim|irc-: perl's been around the longest.
01:52 <****> lol yeah
01:52 <****> textmate could make anything look awesome
01:52 <****> ekim|irc-: and there was a while when perl/CGI was the only easy-ish way to make web applications
01:52 <****> textmate makes grocery lists rock
01:52 <****> yeah totally
01:52 <****> it was CGI or html ...
01:52 <****> ekim|irc-: so all the incompetent people who wanted to make web apps were writing really bad perl
01:52 <****> that was about it
Total 38 pages. You are browsing page 3/38.
First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last
