@# 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



Comments:

<0> Hatter: but you can protect the key with a p***word too
<1> John_Dow_ : Shhhh! Let me stay delusional for just a little longer. :D
<2> now /^(.*?),(..)/ isnt working
<2> wtf
<3> simmy, pfft. I'm not going to let you fall in love with us!
<1> John_Dow_ : Don't worry... most everyone in here has the wrong equipment for me to find 'em attractive.
<0> Interex: that doesn't make sense as regexp
<0> .*?
<2> i need everything before , and only two letters after the comma
<3> simmy, well, how are you supposed to know if we lie or not? :-)
<0> Interex: and why the ?
<4> I downloaded SuSE Live cd from www.linuxiso.org but it didn't work. does anybody know any other site that i can get it from ?
<4> PLZ
<2> simmy is like cia he has that ability



<2> thiago: i'm just learning as i go
<0> Interex: you wrote: one or zero of zero or more of any character
<0> Interex: drop the ?
<0> x_link: try the SUSE mirrors
<3> Interex, perlre is excellent documentation.
<0> x_link: www.opensuse.org
<2> John_Dow_: wow thanks!
<2> it isnt working and i cant figure it out
<5> hm. what would a computer do if the positive and negative terminals of one of it's usb ports shorted?
<4> thiago: http://en.opensuse.org/Welcome_to_openSUSE.org is that the live cd or a what ?
<0> x_link: I don't know
<2> thiago: so how do i go about printing everything before a comma and only two characters after the comma
<6> Interex: get kiki regular expression tester
<6> it will help you
<2> Cancel: <3
<0> Interex: if (/(.*),(..)/) { print $1; print $2; }
<7> epin: depending on the board, nothing (automatic current limiting), power the port off for a few seconds, power it off until next reboot, or power it off until you resolder a micro-fuse... or, on really poorly designed boards, blow the positive trace clean off. :P
<2> thiago: thats the expression i have
<0> 22:41 < Interex> now /^(.*?),(..)/ isnt working
<0> it's not what you had
<2> i removed the ?
<0> ok, what happens?
<2> prints the same
<4> If i download a Linux distro. now and install it. Will it delte my Windows XP ?
<0> Interex: what same?
<8> .* is greedy it will snarf up the ,
<0> x_link: if you tell it to delete Windows, it will.
<2> hmm
<0> nibble: but it still needs to find the ,
<5> randyg: I have usb laptop cooler that makes both laptops I have go off as if someone yanked they battery out
<4> thiago: ok.
<0> nibble: otherwise it won't match
<5> thought the power cable could be shorting
<7> interex: this is why I used [^>]>, for example, to avoid matching way too much.
<6> x_link: it might
<6> x_link: depends on you
<4> ok
<8> @arr = split(/\,/, $line); echo $arr[0] . "," . substr($art[0], 0, 2);
<4> but is it easy to make that mistake ?
<8> or
<7> epin: quite possible, or whatever device is in the coolen (fan, peltier, whatever) could be shorted.
<2> randyg: hmm how would you get just that match?
<0> randyg: you don't want to erase everything in "<a>something</a>"
<2> nibble: no
<6> to match least ya use +?
<9> hehe
<6> * is 0 or more
<0> randyg: but Interex didn't say anything about there being only one comma or more
<0> Interex: that matches everything until the last comma
<2> there is only 1 comma
<8> $loc = index($line, ','); $loc += 2; print substr($loc, 0, $loc)
<2> i need everything before the comma and only two chars after it
<8> the latter is my choice.
<0> Interex: what is it printing?
<7> nibble: are you sure you aren't a C programmer at heart? :)
<4> a guy just told me that it will NOT delete my windows
<2> test test, ab12345;abc
<8> index() will return -1 if nothing is found.
<4> so when i install download/install linux it will ask me if i want to delete my Windows XP or not ?
<6> x_link: wether it does or not depends on you



<6> x_link: I say delet the windows ;)
<10> x_link : u dont hav to delete
<0> x_link: it will allow you to partition, which means you'll get the option to delete or not
<6> x_link: maybe I suggest you d/l soomething like knoppix from knoppix.org and try that out first
<10> x_link : u can use bouth systems
<0> x_link: you don't have to delete it, though
<4> ok
<6> x_link: if you dont ahve your system already properly partitioned or another HD then I dont advise you attempting this
<11> Hey
<0> Interex: you should be getting two lines if you were using the code snippet I gave you
<2> test test, ab12345;abc is for instance what i get, i need to grab everything before the , and only the two letters after it before the numbers
<4> Okey.
<11> Hey
<4> I just want to try this SuSE also
<2> thiago: i didnt add the if statement
<11> can someone help me for just a moment?
<0> Interex: what's the outer loop?
<4> Cause i have been trying some different distros. now to see which one I like the most
<0> Interex: perl -p ?
<4> I WILL buy another computer soon for linux
<4> but i want to try it now =)
<4> i can't wait
<8> regex rule of thumbs.. 1: if you can't understand it in 2 seconds.. it is bad.. 2: 9 out of 10 times regex are not faster.
<4> i will buy it in a week or so
<0> Interex: if the regex doesn't match, shorten it and see if you can figure out why it didn't match
<7> s/[^,]*, \(..\).*/\1/ should work for sed... perl will probably use $ something instead of \1, but my perl is rusty.
<4> Cancel: if i download/install Linux and i will pick SuSE as distro. For how long can I have that computer ON then ?
<2> nope
<4> how long before I have to reboot I mena, my uptime
<0> x_link: until January 6th, 2038
<7> x_link: the limit here tends to be about two reboots a year, because that's how often the power goes out for longer than the battery life of the UPS and the runtime of my generator put together.
<4> ahh ok
<4> hrmm
<4> 1000MHZ
<4> 512MB RAM
<7> my record is about 200 days.
<4> 40-100GB 7200rpm hard disc
<4> is that enough for Linux ?
<0> yes
<8> If the stupidest person in your development team can't understand the regex.. then it is a bad regex. =-) That is always my belief.
<6> x_link: thats up to you
<3> nibble, sounds like you haven't worked in a bad team. ;)
<7> x_link: that's more than enough... this box is only a 866mhz p3.
<4> randyg: ok
<6> someone needs a regex tester
<1> ancker : you around?
<8> John :)
<7> x_link: my record of 200 days was only broken by a 6-day power outage... I could have kept the generator running 24/7 to keep the computers going, but my uptime wasn't worth that much petrol. :P
<0> Interex: it works just fine
<0> Interex: echo 'test test, ab12345;abc' | perl -ne 'if (/^(.*), (..)/) { print "first is $1\n"; print "second is $2\n"; }'
<8> Interex, perl -ne 'if (/([^,]+,..)/) { print "$1\n" }' some_file
<8> why don't you do just that?
<4> randyg: okey
<0> Interex: Alt+F2, kregexpeditor
<4> what is the minimum limit of cpu, RAM, hard disc for linux ?
<0> x_link: that depends on what you try to install and what you're going to run on it
<7> x_link: 386/8mhz with 4mb ram and a floppy drive should be able to boot, but it won't be too usable. :)
<0> randyg: I don't think the 386s started at 8 MHz :-P
<3> x_link, there are patches around for systems without MMU's, so pretty much anything.
<0> I think they started at 20 MHz
<4> ok
<1> I thought 16mhz
<7> the slowest computer that I presently use is a pentium 133mhz with 90mb ram... it's pretty usable, but don't expect to do any multimedia beyond playing mp3s.
<4> then 1000MHz or some more will work with 512mb ram
<12> x_link: I am running SuSE 10 on 600MHz with 256MB of RAM and its going quite fine.
<0> simmy: right, 16
<7> most of the early ones had a turbo button... when off, very few mhz.
<4> and a normal graphic card
<1> I just looked it up, too...
<2> heh
<1> 16, 20, 33
<4> Sprinter: okey
<1> Cyrix and AMD clones went up to 40.


Name:

Comments:

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






Return to #linux
or
Go to some related logs:

#allnitecafe
#linux
lagu Pengantin
helicopter chookie
#kl
madness saveitfree
#worldchat
#allnitecafe
#allnitecafe
ban atma



Home  |  disclaimer  |  contact  |  submit quotes