| |
| |
| |
|
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
Comments:
<0> rindolf: That's a good way to break a system, not accomplish something useful. <1> Probably, for you, the second easiest way would be to just build and install what you needed. <2> http://search.cpan.org/~kennedyh/Number-Phone-US-1.5/lib/Number/Phone/US.pm states the at phone numbers such as "5 1212" are valid, how can that be? <3> hobbs: I see. <4> rutski89's url is at http://xrl.us/noyt <1> Yaakov, pinning is weird, I don't know it, and I don't thik I like it <0> rutski89: they have a tendency to work on really big exchanges at universities :) <2> hobbs: hmm... but what if I dialed it from home? <0> rutski89: i.e. the number that's 123-834-1234 from the outside is also 4-1234 from the inside <5> jsn: You roll a pin test if a unit loses more than 25% of its models to shooting.. <5> Wait. <2> hobbs: define outside, define inside <0> Outside \Out"side`\, n. <0> 1. The external part of a thing; the part, end, or side which <0> forms the external surface; that which appears, or is <0> manifest; that which is superficial; the exterior.
<0> [1913 Webster] <6> hobbs: lol <2> lol <2> seriously though, what's considered "inside" on a phone system? <7> the parts you better not touch unless you're servicing it :) <8> Er. Hi. I'm doing exec("echo \$RANDOM >> file.txt") while(1==1); and I only get one new line each time my script executes. Any idea why? <7> or can't anyway :P <0> freeone3000: because your script doesn't exist anymore once you call exec() <7> freeone3000: are you using bash or perl? <9> freeone3000: Why not just say while 1? 1 will always == 1 <8> Supaplex: Perl. <7> while : ; do echo $RANDOM ; done <8> Supaplex: Ah, thanks. <7> then why use exec at all? <8> Er. I royally **** at bash and was stupid and didn't read the docs about exec overriding my program. <7> we all start somewhere <10> what's the name of the module that lets me find out what the filename is of the script I'm executing? <11> print __FILE__ <12> $0 is the filename <9> $0 will contain it <10> thanks :) <13> $0 is mutable <12> YOU'RE MUTABLE <13> (sometimes) <14> our $thrig is mutable; <5> Is HE?! <1> immutable data is such a h***le I know longer use it <14> Apparently. <14> buu: According to japhy, yes. <12> I muted him earlier. <5> Aankhen``: This is fascinating. Do go on. <5> japhy: How does that make you feel? <14> Sorry, I'm all tapped out of wisdom. Try again tomorrow. <12> buu: we were talking about you, not me <5> japhy: Go on. Did it involve your mother? <1> I store all text strings in a hash $text. $text{barf} = "barf". So, if I want to put together a sentence, it is like print @text{qw(This sentence is an immutable string)}; <12> buu: how does it involve your mother make you feel? <5> jsn: Uh. What? <1> buu: Uh, just kidding. <5> japhy: You're better at it =[. I've never actually played with elizas <12> jsn: just use Identity.pm <1> Does that make all data immutable? <12> buu: I played with one on a Commodore 64. <14> buu: Aww, you missed out. <14> It was a lot of fun. <1> $numbers{4} = $numbers{2} + $numbers{2}, for example. <14> I remember playing with one in emacs. <12> jsn: no, it gives you a hash that returns its keys as its values <1> It is a very immutable system <12> jsn: I think it was renamed Interpolate.pm though <6> lol <12> not very immutable, I guess ;) <12> anyway. <1> data, changing on a person, how can I keep up, I constantly wonder. <15> why oh why isn't Error.pm in the standard distribution :( <3> pasky: possibly because it's too magical and error-prone. <16> can i display a block of code in pod without having to wrap each line with C<< line; >> ? <3> pasky: I'm the Error.pm maintainer BTW. <17> chovy: yes <18> chovy: apparently just indenting it with a tab does the trick <17> http://perldoc.perl.org/perlpod.html#Verbatim-Paragraph-POD%2c-verbatim-paragraph-verbatim
<4> mauke's url is at http://xrl.us/noz3 <16> nice <19> Dumb Q: Is there a (more succinct) pod meta language? Like something terser that compiles to pod? <5> More succinct than.. wtf?! <18> centosian: you could look into Kwid <18> it's supposed to be the next generation of POD <5> Kwid is just weird <18> dunno, haven't looked at it <15> rindolf: Ah. Well, I've just designed and implemented a nice error-handling interface for reporting errors to the caller in my module, and now I'm wondering what to do... :| <18> in fact, i'll do so now <3> pasky: you should also look at Exception::Cl***. <3> Botje: there's also Perldoc <15> rindolf: unfortunately, it's not acceptable for the module to have dependencies on non-default modules :( <3> pasky: I see. <18> hello, rindolf <15> rindolf: I guess I will just have to die and let the caller catch it with eval, but it's clumsy <18> my exams went well today. <18> i'm looking for ward to tomorrow, the last one. <1> I got a stinking job offer today! <1> I've been out of work since the day the Iraq War started. <3> pasky: well, you can just put Error.pm along with the rest of your code. (I don't think it has any deps). <1> a perl job, thank you <3> jsn: the new Iraq war, right? <18> jsn: UN weapons inspector? <3> jsn: congrats? <3> jsn: congrats! <1> rindolf, yeah, 3.5 years or somesuch <3> jsn: holy virgin... <1> Botje, I really don't have the background to do that, although if they need some perl programming, I could do it <3> jsn: and I though I was looking for a job for a long while. <18> ;) <18> congratulations on the job offer, anyway <1> rindolf, I quit on purpose. I didn't work on purpose. <1> messed up war <15> rindolf: yes, that's what I considered too.. I expected it to have some .xs part, though - if it doesn't, that's pretty interesting option <3> jsn: I also quit my previous job. <20> "godzirra" at 71.16.83.66 pasted "regex question" (3 lines, 125B) at http://sial.org/pbot/17929 <21> Can anyone take a look at that and tell me if that will work? I'm not clear on whether thats the part not working r if its a different part not working. <22> anyone know why i have this error "Parsing of undecoded UTF-8 will give garbage when decoding entities at /usr/share/perl5/LWP/Protocol.pm" or why Encode::is_utf8($response->content) return false ? <15> godzirra: first, are you sure you want to p*** an array _reference_ initializer to an array? <21> Oops. Probably not. <3> Chris62vw: here? <21> pasky++ # For pointing out my own folly. <21> That did it :) <15> cool :) <15> godzirra: otherwise, it'll make you much more effective if you learn quickly reviewing any hypothesis on how could whatever behave by writing code snippets as perl -le 'yoursnippet...' <15> and seeing what it does <21> What does -l do? <21> I'm familiar with -e <15> (the -l makes print append a newline) <21> Ah ok <21> Thanks for the advice. <3> jsn: does the company you are going to work for has a website? <3> s/has/have/ <23> hm, what does the following syntax mean: my $foo = sub { ... } <23> is this a pointer to a function? <24> ref to sub <25> joseki: it creates a code reference <3> joseki: it's a dynamic reference to a function. A closure. <17> NOT A CLOSURE <26> yay! only 14 more functions to write! <25> simcop2387: what are you writing? <23> ok, then I should be able to p*** this to a constructor by logger => $foo ? <26> GumbyBRAIN: closures, coroutines, and grammars! oh my! <27> Oh, and i cant seem to be able to modify the p***ed object in some coroutines :p. <26> doctormo: some boring C++ <3> joseki: http://www.shlomifish.org/Vipe/lecture/Perl/Newbies/lecture3/ <23> and then call it as $foo inside my constructure? <4> rindolf's url is at http://xrl.us/no3o <3> joseki: sure. <15> rindolf: if I'd install Error.pm along with my module, will a further "proper" installation of Error.pm happily overwrite it? <24> $foo->() <3> joseki: if you say $foo = $args{'logger'};
Return to
#perl or Go to some related
logs:
ensoniq es1371 Audiopci-97 soundcard debian ps_files_cleanup_dir sendmail nullclient Fedora core 4 #web install soya Fast Data Access MMU Miss ubuntu xorg-7 + tgz #perl RHEL_Tuning_Guide #centos
|
|