@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33



Comments:

<0> er, perl -e'$file="/etc/X11/xorg.conf";while($file ne ""){system"ls","-ald",$file;$file=~s/\/[^\/]+$//}'
<1> depesz: There is a module? I need to design a CRM, but, I want command line based, you can tab complete your way through information, faster than web GUI, I just have to prove it to some people.
<2> ultraviolet: Term::ReadKey, also see Curses, Term::ReadLine, etc
<1> buu: Thanks a million ;)
<2> Blah I need sleep. But geordi just got captured by the evil romulans!
<3> hellow... what permisions should have index.pl?
<4> ultraviolet: there is a module for nearly everything
<1> depesz: I know ;)
<4> fgxi_: correct.
<1> Perl++;
<3> is 711 enougth? or 755 suppose to be?
<5> buu, bleh, I need something decent to watch, but I don't wanna wait five hours for it to download
<2> Shadda: Too bad.
<5> :(
<5> pander to my needs, you ***hole
<0> i love ruby, but god, the people in #ruby-lang just don't get it. they say /^(.*?)(?:_[^_]*)?$/ is extremely scary and confusing



<4> fgxi_: 755
<2> Shadda: Not until you service me first.
<2> encryptio: Silly maybe..
<6> encryptio: *blink*
<3> but will, depesz, other users in the same server be able to simple cat the source of index.pl?
<0> buu: i said the guy should use (the ruby equivalent of) s/_[^_]*$//
<4> fgxi_: yes.
<7> integral: am installing: fink install mysql-dev
<3> this sax
<6> encryptio: you just want to split on the last _? use rindex
<0> integral: this isn't perl i'm talking about
<6> encryptio: lots of languages have rindex equivs.
<6> in some languages it's even trivial to write yourself!
<0> integral: also - throw away, not split
<6> encryptio: same thing.
<0> no, one requires a ()[0], the other doesn't.
<6> int pos = -1; while (*cur != '\0') { if (*cur == '_') pos = cur - start; cur++ } return pos;
<6> *(start + pos) = '\0'; /* trivial! */
<0> i give up.
<2> integral: SAVE THE GEORDI
<8> does anybody have experience with using 'reduce' function?
<6> buu: We'll use a anti-reverse polarised slow tachyon neutrino multi-phase pulsed beam
<2> integral: To save the Geordi! Yay!
<9> what is this, a job interview, kuvkir? just ask the question
<6> GC is interesting
<2> Woo, go geordi
<2> He's pwning people.
<5> oh dear god, whoever designed this flash banner WILL DIE BY MY HANDS
<5> aaarghhh my sound was all the way up
<2> Ha ha.
<8> chessguy: i'm about to ask why i can't use it in short way (i.e. just typing 'reduce') but not full-qualified (List::Util::reduce)?
<6> importation/exportation
<2> kuvkir: You forgot to import it to the current package.
<2> although ("but not the full-..") implies you can't use it that way either, which would mean you forgot to load the module.
<8> buu: ok, but i have "use List::Util;" at the beginning of my source?
<2> Do you change packages later?
<2> Anyway sleep.
<5> oh what the hell....I finally go and get a usenext account but you can't @#$# login
<6> gah, IA32's OUT ****s.
<6> port numbers are 16-bit, but the form with an immediate port number only supports 8-bits. that's stupid.
<7> integral: yay! installed dbd::mysql!
<10> local's revert to their previous value after the block where they were localized ends? or when the function they are in ends?
<5> xahlee, kinda like going, "yay! found asbestos in the attic!" eh? :)
<7> Shadda: i deal with dbi and mysql daily from 1999-2003, but haven't used it since...
<7> Shadda: somehow the asbesto sounds very familiar, wasn't it the on the site of DBD::mysql ?
<7> i rceall it's a presonal site with a stone with an eye in it or something.
<7> what i'm trying to say is that around 2002 on the personal site of dbi or dbd::mysql author, which also functions as THE site for the module, there there's this stone with the eye
<7> does anyone remember the site i'm talking about?
<6> hmm, someone should design a language with C's syntax, but with Haskell's types
<6> and support for asm
<11> system() is just a wrapper for fork() and waitpid()?
<6> and exec() :-)
<11> okok thanks
<12> And `` is just a wrapper around dup(), system() and read()
<6> and pipe()
<12> Oh yes.. forgot that bitr
<6> you've both missed out the functions that are the whole point :-)
<11> i must retire in shame now
<6> aww
<6> ooh, you can do d/<pattern> in vim



<6> (visitor pattern in C)++
<6> C with C++ templates would be interesting
<13> integral: hi bro!
<14> templates win the bloat
<15> integral: you'd want con-/destructors too
<6> mauke: I would?
<6> I was just thinking: template <typename T> struct iterator { T *cur; void (*advance)(struct iterator<T> *iter); } or something
<15> I'm thinking of collection cl***es
<6> void walk_something(typename T, void (*visit)(T *), T *); /* what I really want though */
<6> I think I'd probably be happier if I used another language, but it's kind of a pain to write the lowest level memory handling code in Scheme :-/
<15> what are you writing?
<6> a wee kernel
<6> I'm just walking the memory map from grub and freeing those pages atm, so naturally I think of: mapM_ free_mmap (mb_info_mmap multiboot_info)
<15> haha
<15> tainted by the light
<15> you can fake templates with macros
<6> yeah.
<15> how does walk_something know where to stop?
<6> mauke: it's scary icky, the mmap structures are stored consecutively in memory, preceded by a length word, and the structure pointing to this vector has a base address and a length
<6> so I just keep adding lengths on until I end up outside the memory area
<16> hello
<16> does anybody know something about compilation errors with installing image magick packages ?
<13> redips: just type the error
<16> sure :)
<17> redips: Image::Magick is pain. Unless you NEED it, consider imager.
<16> Magick.xs:9739: warning: implicit declaration of function 'GetImageException'
<16> its one of many :)
<10> not an error.
<17> Warnings can be ignored.
<0> redips: you obviously haven't compiled any FOSS.
<17> Only something that stops make is an issue.
<0> redips: those warnings are completely normal... an "error: ..." is what you can worry about
<17> Check Imager on CPAN and see if it will work for you, it will be much easier to install.
<16> Magick.xs:9748: error: request for member 'severity' in something not a structure or union
<16> Magick.xs:9748: error: request for member 'reason' in something not a structure or union
<16> Magick.xs:9748: error: request for member 'severity' in something not a structure or union
<16> Magick.xs:9748: error: request for member 'reason' in something not a structure or union
<16> ?
<16> I have no idea what's wrong :(
<17> redips: You either have to learn a LOT more about C, libraries and your OS--or do something different.
<16> I'm not saying I'm a c guru :)
<17> You might try taking the very last error before it stops (from gcc not make) and pasting it into google.
<16> thats why I'm asking on irc ;)
<16> ok
<7> redips: alternatively, you can skip the module and instead just istall the normal shell program and do system call
<7> that's what i have
<17> xahlee: It is almost certainly a dependency for a script that someoen else write.
<16> Image magick command line works fine
<16> but I want to get pixel colors ....
<16> and from shell can't do that :(
<17> You are writing your own script?
<16> I haven't found any info on imagemagick.org
<16> yes
<17> Then look at Imager and see if the functions you need are there. If so, you will find life much easier.
<16> what is Imager?
<17> It is a perl module.
<16> ok
<17> http://search.cpan.org/~tonyc/Imager-0.50/Imager.pm
<16> thanks :)
<7> perldoc DBI
<17> I don't know if it does what you want, but it is very easily to install and works well.
<15> http://tnx.nl/DBI
<17> MAUKE'S A BOT
<7> i was hoping to see DBI on perldoc.org
<17> Good morning, mauke.
<15> good morning, Yaakov
<7> i mean perldoc.perl.org
<15> it's not a standard module
<18> insignificance
<16> Yaakov`: imager wors great :) thanks a lot
<19> why does this happen? ARRAY(0x814dc28)
<17> Sure.


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #perl
or
Go to some related logs:

#perl
#math
tigredesibérie
#osdev
#lgp
whoopi + fi-it
#perl
#gimp
#css
#mysql



Home  |  disclaimer  |  contact  |  submit quotes