| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Comments:
<0> lol <0> yea <0> so that's it <1> eval: print time() . " != " . join('',gmtime) . " " <2> JohnQ: 1144230854 != 14549531063940 Return: 1 <1> see? <0> yup <1> 14549531063940 is not even a machine sized int... <0> ahh <1> localtime can do NOTHING with that.. <0> i should be indexing my DB_File with time(), not gmtime() <0> hehe, yea <3> kk.. <0> all fixed :D <0> in the US, is it m/d/y or d/m/y? <3> what does you talk?
<1> m/d/y <0> that's whacky <0> stupid US systems.... :( <0> customary measurement ****s too <3> hehe.. <0> s/****s/**** <3> -,.-;;; <0> < -<< ^ | ~ >> <0> oops <0> << ^ | ~ >> <0> programmer's smily face :D <3> hul.. <1> (.Y.) <0> clever... real clever... <0> eval: << ^ | ~ >> <2> rutski89: Error: Can't find string terminator " " anywhere before EOF at (eval 125) line 1. <3> a deep breath -> hul.... <3> hul~ <0> hungry: ahh, i see; cool <0> hup <0> **yup <3> good job <3> where are you? <3> -0-;; <1> so whats with the hul? <4> hi folks ... can someone help me with a regex <4> i'm trying to filter filenames that look like foo.0, foo.1, ... foo.9, foo.10, foo.11, ... <5> what does this logo say? http://xahlee.org/UnixResource_dir/gki/yalehaskell.gif <6> it's latin <1> ??? is truth <6> i used to know the meaning <6> The truth is enlightening <6> or something <5> what about the herbrew part? is it just pictures? <7> anyone with some experience with powerbooks? <7> I want to take out a cd from my powerbook forcefully, holding the mouse button doesn't seem to do a thing <7> neither does the apple button-o-f <8> step 1: get a forceps <9> flock: if mouse button at start doesnt do anything you're screwed. and if you cant get into of, does it even start at all? <7> I am not sure how to get into the openboot prompt <9> the mouse button, and opt-cmd-o-f are to hold down right after you power it up <7> let me get one thing straight, the "cmd" button is the one with the apple log, so which button is the "opt" one? <9> to eject, press and hold the mouse button right after you push the power button <7> *logo <9> an alternate description would be alt-apple-o-f <7> aha! <8> damn apples. <7> thanks!:) <10> hi... little question here.. if I use an integer to store the state of something (for example, 0 = not connected, 1 = connected, 2 = login sent, etc.), in C, I would do an enum and then be able to use clear-text values instead of numbers. how would I do this in perl? <10> just use a string? <5> does perl6 have a logo? <11> yourlordship_: I believe it's a 32x32 transparent png ;) <5> the slides here is funny http://www.pugscode.org/ <12> hi <5> http://www.pugscode.org/images/timeline.png <12> one question, why if i do print hex(10); it shows 10 and not A ? <5> jgonzalez: write it as 0x10 <12> ok, thanks :) <12> yourlordship_, doesn't work :( <12> now shows 16 <12> yourlordship_, my problem is that i have something like this:
<13> this is such a crappy movie <5> ok, you want to turn decimal into hex <12> my $c= hex($A) << 4 | hex($B); <12> $A and $B are decimal values from a string length <12> my $A=length ... <5> jgonzalez: use printf with %d and feed it 0x10 <12> and $B the same <14> hey <12> hi sidd_ <14> how do i get grep to return only the regex match, rather than the whole line? <12> yourlordship_, my problem isn't only in print <12> are here: <12> my $c= hex($A) << 4 | hex($B); <12> y $A=9 <12> and $B=10 <12> i need that $c = 9A <12> it works if is decimal <12> but when $A or $B are greater than 9, crash <15> gug <16> is there any magical way to make unpack on e.g. C/a add a bias to the length? <16> oracle strings are p***ed with a length that includes the size of the length\ <16> so e.g. S/a needs -2, and C/a needs -1 <16> make that n/a <17> perl -le '$A=9; $B=10; $c = sprintf"%x", $A<<4 | $B; print $c' <12> tybalt89, thanks!!! <12> tybalt89, Hummmm <12> i have a strange situation with this code into the script <12> shows 9 only <12> sorry <12> is ok :) <12> i'm a bit stupid :) <6> hm. <18> i need some ideas for arbitrary date format matching, such as 2006-04-04 or 04-04-06 or 04.04.2006. i realise this might be a bit complex, and will probably require more than just a few lines. has anyone done this before? <5> nnod: just convert them into a uniform format <5> nnod: there are quite much more complex problems than this <18> yourlordship_: the problem is i'm parsing arbitrary date formats <5> nnod: yeah, but i don't see what's the prob <5> nnod: is ambiguity the prob? <18> so with 04-04-06, how am i to know that the 06 is the year? <18> or the month, etc <5> nnod: basically you cannot. <5> nnod: so, it's not a programing prob. It's the input prob. and it is not solvable. <18> yeah. there would have to be some guesswork. i thought i'd check if perl had something to (partially) deal with this <5> nnod: but you probably meant that you want a AI type of approach to do the best? <18> perhaps some simple AI <5> i can't say for sure, but i doubt you'll find someone already done this... <5> since it's not very well defined or general problem... <5> i'd say looking more at the context <5> for example, american have years at the end <1> is there a way to make Data::Dumper print a hash with its keys in sorted order? <5> JohnQ: $Data::Dumper::Sortkeys <1> sweeet <18> perlfaq4 says: However, if you don't know the precise format of <18> -your dates, then you should probably use either of the Date::Manip and <18> -Date::Calc modules from CPAN before you go hacking up your own parsing <18> -routine to handle arbitrary date formats. <19> Heya, what's a good version of a bastardized perl for embedding in my java program? <19> I'm mainly interested in a _small_ language that has (1) Multiline strings, and (2) Very good text facilities. <19> (For templating) <20> perlbot, isn't it quiet? <21> Too quiet, q[ender], too quiet! <19> Very much so. <19> q[ender]: What languages do you know? <20> English <22> how do i count the number of elements in array when i have get the ref from a hash?, $#{$foo->{bar}} tries to be to smart and gives the last index <23> hi all <23> in perl, how can I determine whether a string starts with a "Z" <20> axxo, $#foo always gives the last index <22> hmm ow <20> @array in scalar context yields the number of elements <20> so, you'd want @{$foo->{bar}} <24> so does @$arrayref
Return to
#perl or Go to some related
logs:
#lgp #centos cellphone pictures to pc
#ubuntu gdesklets global variable gentoo minicom too many symbolic links #linux iwpriv Connection timed out #physics g++ try catch finally
|
|