|
paul0 | Entered. | 00:01:46 |
| ukine | Quit with message (Connection timed out). | 00:01:51 |
| ukine | Quit with message (Connection timed out). | 00:01:51 |
| ukine | Entered. | 00:02:13 |
| emo | Entered. | 00:05:02 |
| kuja__ | Entered. | 00:05:10 |
| rhalff | Quit with message ("Ex-Chat"). | 00:06:21 |
| rhalff | Quit with message ("Ex-Chat"). | 00:06:21 |
| mf_irc | Entered. | 00:08:43 |
| aptiva | Entered. | 00:09:19 |
| dgoodlad | Entered. | 00:10:27 |
| zorg_the_false | Quit with message (Remote closed the connection). | 00:11:34 |
| kabus | Quit with message (Read error: 110 (Connection timed out)). | 00:13:09 |
| <arooni> | hey folks! | 00:13:40 |
| neosiris | Quit with message (Client Quit). | 00:14:10 |
| <arooni> | when i put a really really long string in (about 4 lines in a full screen console).... i get the errror: (irb):3: syntax error, unexpected tIDENTIFIER, expecting $end | 00:14:10 |
| <arooni> | any ideas on how to fix? | 00:14:13 |
| <EvanR> | does ruby regex have lookbehind... /(?<=a)/ | 00:14:34 |
| k_dub_ | Entered. | 00:14:38 |
| <arooni> | said string has a bunch of quotes in it | 00:15:09 |
| <arooni> | is there any other way of declaring a string other than s = "foo" || s = 'foo' ? | 00:16:02 |
| <arooni> | one that auto escapes "" | 00:16:06 |
| <GarethAdams> | %q{here's a strinh "with quotes" in it} | 00:17:13 |
| k_dub_ | Quit with message (Client Quit). | 00:18:24 |
| k_dub_ | Quit with message (Client Quit). | 00:18:24 |
| sudoer | Entered. | 00:18:48 |
| aptiva_ | Entered. | 00:19:11 |
| <arooni> | GarethAdams, perfect!!! | 00:20:16 |
| <arooni> | thanks | 00:20:16 |
| <GarethAdams> | and as with all % markers, you can use any delimiters oyou want | 00:20:46 |
| <GarethAdams> | %q/this is a string too/ | 00:21:10 |
| <yonkeltron> | which %magic shortcut should i be using to turn a bunch of numbers into an array of numbers...%w(1 2 3) gives an array of strings | 00:22:08 |
| <arooni> | GarethAdams, cool, i didnt know that | 00:22:34 |
| tomin | Left. | 00:23:50 |
| sudoer | Changed name to jtoy__. | 00:24:14 |
| sudoer | Changed name to jtoy__. | 00:24:14 |
| lak | Entered. | 00:24:39 |
| <GarethAdams> | yonkeltron: %w{1 2 3}.map{|x|x.to_i} | 00:24:40 |
| ljlane | Quit with message (Remote closed the connection). | 00:26:02 |
| <darix> | yonkeltron: uhm | 00:26:16 |
| <darix> | [1,2,3] | 00:26:19 |
| <darix> | i mean typing those "," isnt too hard right? | 00:26:32 |
| <LoganCapaldo> | there's no % numeric shorthand | 00:26:49 |
| <oGMo> | heh | 00:27:16 |
| <don-o> | lol | 00:27:41 |
| aptiva | Quit with message (Connection timed out). | 00:27:49 |
| <LoganCapaldo> | [1,2,3] is actually fewer chars than %w[1 2 3] | 00:27:49 |
| <yonkeltron> | yes it is | 00:29:08 |
| arooni | Quit with message (Remote closed the connection). | 00:29:10 |
| <yonkeltron> | and Array.new is clearest of them all | 00:29:16 |
| k_dub | Quit with message (Connection timed out). | 00:29:49 |
| k_dub | Quit with message (Connection timed out). | 00:29:49 |
| n0man | Quit with message (). | 00:30:29 |
| Carnage` | Entered. | 00:30:51 |
| Carnage\ | Quit with message (Nick collision from services.). | 00:30:51 |
| Carnage\ | Quit with message (Nick collision from services.). | 00:30:51 |
| Carnage` | Changed name to Carnage\. | 00:31:02 |
| Carnage` | Changed name to Carnage\. | 00:31:02 |
| Fullmoon | Quit with message (). | 00:31:22 |
| fhobia | Entered. | 00:32:21 |
| arooni | Entered. | 00:33:21 |
| francesco | Quit with message ("a n'in pos pio'.."). | 00:33:59 |
| arooni | Quit with message (Remote closed the connection). | 00:34:05 |
| <yonkeltron> | GarethAdams: a question about gets...it seems to be waiting for an EOF before parsing the string | 00:34:34 |
| <GarethAdams> | yes, that's what gets does | 00:34:48 |
| <yonkeltron> | is there way to get the input on carriage return? | 00:35:01 |
| arooni | Entered. | 00:35:13 |
| * | yonkeltron is new to getting user input like that... | 00:35:15 |
| * | yonkeltron googles around | 00:35:19 |
| <GarethAdams> | oh I see | 00:36:12 |
| <GarethAdams> | well gets seems to qork on carriage return for me | 00:36:20 |
| <GarethAdams> | *work | 00:36:24 |
| joevandyk | Quit with message ("This computer has gone to sleep"). | 00:36:27 |
| jessecrouch | Entered. | 00:36:46 |
| <GarethAdams> | fire up IRB and "puts gets" | 00:36:50 |
| aptiva_ | Quit with message (Success). | 00:37:02 |
| arooni_ | Entered. | 00:39:22 |
| tomodiz | Entered. | 00:40:04 |
| Dougy | Entered. | 00:41:02 |
| viewlogic | Entered. | 00:41:07 |
| <Dougy> | Love ruby? Free hosting! </spam> | 00:41:15 |
| <Dougy> | Hehe. | 00:41:16 |
| * | Dougy wants to learn Rub | 00:41:18 |
| <Dougy> | y | 00:41:19 |
| Dougy | Left. | 00:42:57 |
| <kith> | everyone seems to think ruby == ruby on rails | 00:43:17 |
| mf_irc | Left. | 00:44:52 |
| arooni_ | Quit with message (Remote closed the connection). | 00:44:53 |
| tomodiz | Left. | 00:45:58 |
| arooni__ | Entered. | 00:46:36 |
| jsoftw_ | Entered. | 00:46:57 |
| viewlogic | Quit with message (Client Quit). | 00:47:34 |
| jessecrouch2 | Entered. | 00:48:10 |
| viewlogic | Entered. | 00:48:57 |
| ljlane | Entered. | 00:50:06 |
| arooni__ | Quit with message (Remote closed the connection). | 00:50:26 |
| nashk | Quit with message (Remote closed the connection). | 00:50:29 |
| arooni_ | Entered. | 00:50:42 |
| samsm | Entered. | 00:51:47 |
| arooni_ | Quit with message (Read error: 104 (Connection reset by peer)). | 00:53:48 |
| Carnage\ | Quit with message (). | 00:53:50 |
| Carnage\ | Quit with message (). | 00:53:50 |
| arooni_ | Entered. | 00:53:54 |
| chino | Entered. | 00:54:28 |
| <chino> | how do i catch any error ? | 00:54:40 |
| <jptix> | rescue Exception | 00:55:09 |
| n0man | Entered. | 00:55:17 |
| nertzy | Entered. | 00:55:17 |
| <jptix> | but think twice about why you're doing that :) | 00:55:31 |
| jessecrouch | Quit with message (Read error: 104 (Connection reset by peer)). | 00:56:30 |
| nertzy | Quit with message (Client Quit). | 00:56:43 |
| atmos_ | Entered. | 00:58:13 |
| <kmeyer> | jptix: cause you're too lazy to find the correct exception to catch :D | 00:58:33 |
| corbanbrook | Entered. | 00:58:37 |
| jessecrouch | Entered. | 00:58:55 |
| <LoganCapaldo> | dangerously lazy | 00:59:26 |
|
perezd | Quit with message (Client Quit). | 01:00:44 |
| <yonkeltron> | like haskell | 01:00:45 |
| <yonkeltron> | LoganCapaldo: haskell is dangerously lazy | 01:00:54 |
| logankoester | Entered. | 01:01:31 |
| arooni_ | Quit with message (Remote closed the connection). | 01:02:24 |
| arooni__ | Entered. | 01:02:39 |
| <don-o> | yonkeltron: that couldbe the next james bond subtitle: Dangerous.... and Lazy. | 01:03:34 |
| click170 | Entered. | 01:03:51 |
| arooni__ | Quit with message (Read error: 104 (Connection reset by peer)). | 01:03:56 |
| <chino> | no because i want to print out any errors that i miss... | 01:03:58 |
| jsoftw | Quit with message (Read error: 110 (Connection timed out)). | 01:05:05 |
| arooni_ | Entered. | 01:05:29 |
| <yonkeltron> | don-o: yeah...although it does make one wonder if ruby's GC is good enough to deal with eager evaluation | 01:06:04 |
| <teferi> | MRI's GC isn't particularly good, period | 01:06:25 |
| flajann1 | Entered. | 01:06:25 |
| <yonkeltron> | MRI? | 01:06:42 |
| <teferi> | matz's ruby implementation | 01:06:58 |
| <yonkeltron> | ah...which is the current 1.8 right? | 01:07:20 |
| <teferi> | yup | 01:07:33 |
| <teferi> | though yarv has the same GC | 01:07:35 |
| <yonkeltron> | yarv is 1.9? | 01:08:05 |
| <teferi> | yup | 01:08:21 |
| arooni_ | Quit with message (Read error: 104 (Connection reset by peer)). | 01:08:33 |
| <manveru> | yarv is the VM 1.9 runs on | 01:08:36 |
| arooni_ | Entered. | 01:08:58 |
| chino | Left. | 01:09:03 |
| <yonkeltron> | i see...well, that's kind of upsetting | 01:09:07 |
| <yonkeltron> | so, apropos, where does rubinius fit into all this? | 01:09:18 |
| <manveru> | rubinius is ruby on a smalltalk VM | 01:10:18 |
| arooni_ | Quit with message (Remote closed the connection). | 01:10:41 |
| arooni__ | Entered. | 01:10:55 |
| <yonkeltron> | smalltalk! | 01:11:33 |
| neosiris | Entered. | 01:11:45 |
| apeiros | Quit with message ("This computer has gone to sleep"). | 01:12:07 |
| arooni__ | Quit with message (Read error: 104 (Connection reset by peer)). | 01:12:09 |
| <yonkeltron> | i always thought of ruby as the lovechild resulting from a night of drunken passion between smalltalk and lisp... | 01:12:13 |
| zedas | Entered. | 01:12:20 |
| <teferi> | rubinius is a ruby compiler+vm implemented in the style of the Smalltalk 80 ("Blue Book") compiler+vm | 01:12:26 |
| Sorex | Quit with message (). | 01:12:36 |
| <manveru> | yonkeltron: they drank too much perl? | 01:12:45 |
| <yonkeltron> | right... | 01:12:48 |
| <yonkeltron> | manveru: only the regex stuff i guess | 01:12:54 |
| chino | Entered. | 01:13:04 |
| <yonkeltron> | manveru: sigils of any type are barely present in ruby | 01:13:07 |
| <chino> | how would you test if a udp port is open ? | 01:13:20 |
| arooni_ | Entered. | 01:13:44 |
| <manveru> | yonkeltron: when did you do: ruby -e 'p global_variables' last time? :) | 01:13:47 |
| versix | Entered. | 01:15:32 |
| <yonkeltron> | barely used | 01:15:32 |
| <yonkeltron> | not every variable needs to be prefixed by some shit or another | 01:15:51 |
| <yonkeltron> | hmmm.jruby looks rather promising | 01:16:47 |
| <yonkeltron> | maybe even superior to cruby....is that possible? | 01:16:58 |
| <teferi> | sure | 01:17:02 |
| jessecrouch2 | Quit with message (Connection timed out). | 01:17:12 |
| <teferi> | you get instant access to a whole bunch of existing java libraries | 01:17:18 |
| vandemar | Entered. | 01:17:49 |
| <yonkeltron> | right...and you can compile ruby code to run on the jvm | 01:17:57 |
| <yonkeltron> | which is nice | 01:17:59 |
| k_dub | Entered. | 01:18:01 |
| <yonkeltron> | i wonder if applets are less suck... | 01:18:05 |
| <yonkeltron> | although i am a little worried about the area of guis... | 01:18:19 |
| <vandemar> | I don't use openssl functionality, so can someone confirm that this patch to compile against openssl 0.9.9 doesn't break the openssl module? http://www.pastebin.ca/721165 | 01:19:07 |
| dgoodlad | Quit with message ("leaving"). | 01:19:18 |
| rushed | Quit with message (). | 01:19:27 |
| arooni_ | Quit with message (Read error: 104 (Connection reset by peer)). | 01:20:46 |
| ryanlowe | Quit with message (). | 01:21:40 |
| atmos_ | Quit with message (). | 01:23:56 |
| drupek12 | Quit with message (Remote closed the connection). | 01:24:38 |
| drako | Quit with message (Connection timed out). | 01:24:56 |
| drako | Quit with message (Connection timed out). | 01:24:56 |
| luisjose | Entered. | 01:25:03 |
| dietbuddha | Entered. | 01:26:53 |
| arooni__ | Entered. | 01:26:55 |
| k_dub | Quit with message (). | 01:28:32 |
| k_dub | Quit with message (). | 01:28:32 |
| alterego | Quit with message (Read error: 110 (Connection timed out)). | 01:28:57 |
| arooni-mobile | Entered. | 01:29:28 |
| scramjet_ | Entered. | 01:29:32 |
| arooni-mobile | Quit with message (Client Quit). | 01:29:54 |
| arooni-mobile | Quit with message (Client Quit). | 01:29:54 |
| arooni | Quit with message (Client Quit). | 01:29:57 |
| arooni | Quit with message (Client Quit). | 01:29:57 |
| arooni | Entered. | 01:30:04 |
| arooni-mobile | Entered. | 01:30:26 |
| arooni | Quit with message (Client Quit). | 01:30:31 |
| arooni | Quit with message (Client Quit). | 01:30:31 |
| james_britt | Quit with message ("KVIrc 3.2.4 Anomalies http://www.kvirc.net/"). | 01:31:22 |
| TkA | Entered. | 01:31:25 |
| SarahEmm | Quit with message ("•mIRC with speech 0.9 BETA, ąTalk2Me meow. IRC doesn't get any easier. ¦nini¦"). | 01:31:35 |
| analfabeta | Entered. | 01:32:14 |
| <analfabeta> | what this code do? proximo, topo = 1, topo+1 if proximo > topo | 01:32:29 |
| drupek12 | Entered. | 01:33:58 |
| chino | Left. | 01:34:07 |
| NickPresta | Entered. | 01:34:47 |
| crashgrindrips | Entered. | 01:35:53 |
| Dengar | Entered. | 01:36:37 |
| <kmeyer> | analfabeta: if proximo > topo, then proximo = 1 and topo += 1 | 01:38:01 |
| <analfabeta> | oh, tks | 01:38:29 |
| glutinous | Quit with message ("brb"). | 01:39:49 |
| glutinous | Entered. | 01:39:58 |
| click170 | Quit with message (Read error: 110 (Connection timed out)). | 01:41:05 |
| click170 | Quit with message (Read error: 110 (Connection timed out)). | 01:41:05 |
| luisjose | Quit with message (Connection timed out). | 01:43:16 |
| luisjose | Quit with message (Connection timed out). | 01:43:16 |
| ljd | Entered. | 01:43:27 |
| em-dash | Entered. | 01:50:22 |
| neosiris | Quit with message (Client Quit). | 01:50:56 |
| jsoftw_ | Changed name to jsoft. | 01:51:49 |
| jsoft | Changed name to jsoftw. | 01:51:50 |
| viewlogic | Quit with message (Client Quit). | 01:56:03 |
| <crashgrindrips> | help, please! questions at the bottom. http://rafb.net/p/GmdWKE22.html | 01:59:20 |
| kaydara | Entered. | 01:59:32 |
|
<slyphon> | dah | 02:01:07 |
| <slyphon> | anyone had experience with terminal servers? (serial, not m$) ? | 02:01:25 |
| satyagrahi | Entered. | 02:03:21 |
| <satyagrahi> | How may one get ri to display documentation for Kernel#open? | 02:04:49 |
| <slyphon> | ri 'Kernel#open' ? | 02:05:07 |
| <slyphon> | hm | 02:05:38 |
| <slyphon> | weird | 02:05:40 |
| ben_h | Entered. | 02:05:51 |
| <satyagrahi> | yep | 02:05:53 |
| <slyphon> | satyagrahi: seems like a bug to me | 02:05:57 |
| <tpope> | the more than one method thing? | 02:06:46 |
| <tpope> | it's probably mixing it up with the one from open-uri | 02:06:57 |
| foomil__ | Entered. | 02:08:12 |
| analfabeta | Left. | 02:10:15 |
| k_dub | Entered. | 02:10:21 |
| kbrust_ | Entered. | 02:10:51 |
| Tonren | Quit with message ("leaving"). | 02:11:14 |
| ben_h | Quit with message (Client Quit). | 02:13:01 |
| ben_h | Quit with message (Client Quit). | 02:13:01 |
| mput_away | Changed name to shyshngw. | 02:13:07 |
| samsm | Left. | 02:15:15 |
| Zycon | Quit with message (Connection timed out). | 02:15:39 |
| ben_h | Entered. | 02:15:42 |
| kbrust | Quit with message (Read error: 110 (Connection timed out)). | 02:17:29 |
| foomil_ | Quit with message (Read error: 110 (Connection timed out)). | 02:19:47 |
| rain```` | Entered. | 02:21:12 |
| wmoxam | Entered. | 02:23:16 |
| eevar_ | Entered. | 02:24:06 |
| k_dub | Quit with message ("INSUFFICIENT MEMORY"). | 02:24:46 |
| k_dub | Quit with message ("INSUFFICIENT MEMORY"). | 02:24:46 |
| kaydara | Quit with message ("Leaving"). | 02:25:21 |
| drupek12 | Quit with message (Read error: 104 (Connection reset by peer)). | 02:25:56 |
| corbanbrook_ | Entered. | 02:26:23 |
| Zycon | Entered. | 02:27:12 |
| TkA | Quit with message (Read error: 110 (Connection timed out)). | 02:27:28 |
| mppf | Entered. | 02:28:14 |
| rain``` | Quit with message (Connection timed out). | 02:31:00 |
| crazeinc_ | Entered. | 02:31:39 |
| Tron` | Entered. | 02:31:51 |
| ljd | Quit with message (Read error: 110 (Connection timed out)). | 02:33:21 |
| ljd | Quit with message (Read error: 110 (Connection timed out)). | 02:33:21 |
| corbanbrook | Quit with message (Read error: 110 (Connection timed out)). | 02:34:01 |
| nevele | Entered. | 02:34:07 |
| drupek12 | Entered. | 02:35:30 |
| mmpf | Quit with message (Read error: 110 (Connection timed out)). | 02:38:55 |
| seydar | Entered. | 02:38:56 |
| em-dash | Quit with message (). | 02:38:59 |
| <seydar> | hey | 02:39:08 |
| <seydar> | has anyone used THERuSH ? | 02:39:26 |
| seydar | Quit with message (Client Quit). | 02:39:56 |
| eevar | Quit with message (Read error: 110 (Connection timed out)). | 02:41:14 |
| eevar | Quit with message (Read error: 110 (Connection timed out)). | 02:41:14 |
| <__kaiser__> | how can I print the line number of the exception that was raised? | 02:43:13 |
| wmoxam | Quit with message (Read error: 110 (Connection timed out)). | 02:44:23 |
| <__kaiser__> | nevermind. :) | 02:45:08 |
| crazeinc | Quit with message (Read error: 110 (Connection timed out)). | 02:47:24 |
| neosiris | Entered. | 02:56:28 |
| Kamu | Entered. | 02:57:13 |
| jtoy | Quit with message (). | 02:57:17 |
| lightcap | Quit with message (). | 02:57:22 |
|
DoctorNick | Entered. | 03:01:20 |
| Dr_Who | Entered. | 03:02:16 |
| rain``` | Entered. | 03:04:01 |
| Skyblaze_ | Entered. | 03:06:44 |
| Hahn | Quit with message ("ta..."). | 03:12:18 |
| <LoganCapaldo> | night | 03:13:30 |
| LoganCapaldo | Quit with message ("waaaaaaaaaaa"). | 03:13:41 |
| LoganCapaldo | Quit with message ("waaaaaaaaaaa"). | 03:13:41 |
| paul0 | Quit with message ("Leaving"). | 03:14:04 |
| rain```` | Quit with message (Connection timed out). | 03:14:14 |
| Skyblaze | Quit with message (Read error: 113 (No route to host)). | 03:15:20 |
| toretore | Quit with message ("Leaving"). | 03:15:47 |
| Tron` | Quit with message (Read error: 104 (Connection reset by peer)). | 03:16:47 |
| shyshngw | Changed name to mput_away. | 03:17:37 |
| Turbot | Quit with message (Remote closed the connection). | 03:19:16 |
| Turbot | Quit with message (Remote closed the connection). | 03:19:16 |
| crashgrindrips | Quit with message ("Leaving"). | 03:26:39 |
| Mephux- | Entered. | 03:33:01 |
| krawek | Entered. | 03:34:33 |
| d2dchat | Entered. | 03:36:03 |
| UncleD | Entered. | 03:38:50 |
| dblack | Entered. | 03:40:14 |
| ReinH | Left. | 03:40:41 |
| Mephux- | Quit with message (Client Quit). | 03:42:18 |
| rvg_ | Entered. | 03:43:31 |
| Randroid | Entered. | 03:45:55 |
| eumario | Entered. | 03:46:12 |
| arooni-mobile | Quit with message (Read error: 110 (Connection timed out)). | 03:46:57 |
| arooni-mobile | Quit with message (Read error: 110 (Connection timed out)). | 03:46:57 |
| willcodeforfoo | Entered. | 03:47:46 |
| zedas | Quit with message (Client Quit). | 03:50:05 |
| dblack | Quit with message (). | 03:50:15 |
| satyagrahi | Quit with message ("subbot.org"). | 03:51:24 |
| satyagrahi | Quit with message ("subbot.org"). | 03:51:24 |
| lak | Quit with message (). | 03:55:25 |
| mput_away | Changed name to shyshngw. | 03:57:47 |
| james_britt | Entered. | 03:58:01 |
| nertzy | Entered. | 03:58:57 |
| arooni__ | Quit with message (Client Quit). | 03:59:49 |
| arooni_ | Entered. | 03:59:55 |
|
arooni_ | Quit with message (Read error: 104 (Connection reset by peer)). | 04:00:16 |
| arooni | Entered. | 04:00:20 |
| wmoxam | Entered. | 04:00:38 |
| GMFlash | Quit with message (). | 04:00:41 |
| ezmobius | Quit with message (). | 04:00:42 |
| GMFlash | Entered. | 04:00:46 |
| squeegy | Entered. | 04:01:25 |
| rvg | Quit with message (Read error: 110 (Connection timed out)). | 04:02:23 |
| ANDY-8576309 | Quit with message (). | 04:02:26 |
| nighty^ | Entered. | 04:04:18 |
| [cash420] | Entered. | 04:05:13 |
| jtoy__ | Quit with message (). | 04:09:02 |
| jtoy__ | Quit with message (). | 04:09:02 |
| olly | Quit with message ("This computer has gone to sleep"). | 04:09:23 |
| click170 | Entered. | 04:13:04 |
| wbruce | Entered. | 04:15:48 |
| bb | Quit with message (Nick collision from services.). | 04:16:05 |
| bb_ | Entered. | 04:16:10 |
| MagicStorm | Quit with message (Read error: 104 (Connection reset by peer)). | 04:16:16 |
| wbruce | Quit with message (Client Quit). | 04:16:33 |
| wbruce | Entered. | 04:16:44 |
| wbruce | Left. | 04:17:05 |
| MagicStorm | Entered. | 04:18:05 |
| freealan | Entered. | 04:18:34 |
| corbanbrook_ | Quit with message (Client Quit). | 04:18:36 |
| zedas | Entered. | 04:18:45 |
| logankoester | Quit with message (Read error: 110 (Connection timed out)). | 04:19:53 |
| logankoester | Entered. | 04:20:19 |
| Hahn | Entered. | 04:22:05 |
| fhobia | Quit with message (Read error: 110 (Connection timed out)). | 04:23:11 |
| IR3 | Entered. | 04:26:52 |
| priidu | Entered. | 04:27:06 |
| IR3 | Changed name to chenk. | 04:27:18 |
| <eumario> | I need some help with a regexp, /(\Wclass\s|\Wdef\s|\Wcase\s|\Wif\s|\Wmodule\s|\Wdo\s|\Wwhile\s|\Wfor\s|\Wbegin\s)/ is what I'm using, but it won't detect properly, if for example class starts at the begining of the line. | 04:27:32 |
| <eumario> | Any suggestions? | 04:27:51 |
| <manveru> | ouch | 04:29:12 |
| <manveru> | eumario: you don't know regular expressions? | 04:29:54 |
| <eumario> | manveru: Not much. | 04:30:13 |
| <eumario> | manveru: Enough to do simple stuff. | 04:30:28 |
| <manveru> | /[\W^](class|def|module)\s/ | 04:30:55 |
| <manveru> | have fun parsing ruby... :P | 04:32:19 |
| <eumario> | manveru: Still the same problem. I'm not parsing ruby fully, just looking for keywords. I'm working on an Editor. | 04:32:48 |
| <teferi> | oh boy, another one! | 04:32:57 |
| <eumario> | Maybe one to put the rest to shame? ;-) | 04:33:19 |
| <teferi> | uh-huh. | 04:34:29 |
| <manveru> | exactly... | 04:35:00 |
| <manveru> | is it gonna be modal? | 04:35:22 |
| <teferi> | is it gonna be modeless? | 04:35:31 |
| wbruce | Entered. | 04:35:36 |
| <eumario> | If your talking about FreeRIDE design, I'm not going that route. | 04:35:51 |
| <teferi> | huh? | 04:36:04 |
| <teferi> | no. | 04:36:06 |
| <teferi> | no one uses freeride | 04:36:17 |
| <eumario> | I found a way to get around the bug. I just modify the test string to have a buffer space infront. | 04:36:43 |
| <eumario> | What do you guys mean by modal/modeless? | 04:37:22 |
| <wbruce> | freeride. man, I haven't heard that in a long time. | 04:37:33 |
| krawek | Quit with message (Read error: 110 (Connection timed out)). | 04:37:51 |
| <manveru> | eumario: if you don't know, better don't start :) | 04:38:38 |
| <eumario> | manveru: Well, there can be many meanings to modal/modeless. And I don't know if I'm doing it or not. :P | 04:39:12 |
| <eumario> | Are you talking about MVC? | 04:39:34 |
| <manveru> | no | 04:39:40 |
| * | eumario has no clue then. :P | 04:39:49 |
| broeman | Entered. | 04:39:52 |
| <manveru> | again, if you don't know what modal means in connection with editors, don't bother writing one :) | 04:39:57 |
| Wezzel | Entered. | 04:41:01 |
| <eumario> | Does it have to do with the way the code is written, with the way the editor interface is, what have ya? | 04:41:17 |
| <squeegy> | which do you think? | 04:41:47 |
| <eumario> | Well, let's do this, I'll explain what I'm doing, and then you guys can tell me if it's Modal or not. :P | 04:42:53 |
| <eumario> | I'm writting a full blown IDE as I've known it in the past. Project Support, Editor, GUI Developer, full Intergrated Development Enviroment. | 04:43:28 |
| ejh | Quit with message (). | 04:43:32 |
| chino | Entered. | 04:43:39 |
| <chino> | why does ri give me Nothing known about Arry#delete | 04:43:48 |
| <chino> | i think its hosed | 04:43:52 |
| crazeinc | Entered. | 04:45:37 |
| Randroid | Quit with message (). | 04:46:19 |
| Randroid | Quit with message (). | 04:46:19 |
| <manveru> | eumario: seriously, writing an editor is one of the hardest things you can do :) | 04:47:38 |
| <teferi> | eumario: well, that's pretty ambitious | 04:48:40 |
| crazeinc__ | Entered. | 04:48:52 |
| <teferi> | how much programming experience do you have/ | 04:48:52 |
| crazeinc_ | Quit with message (Read error: 104 (Connection reset by peer)). | 04:49:43 |
| digx | Entered. | 04:50:19 |
| <chino> | hes been around a while | 04:50:21 |
| <chino> | both of you | 04:50:25 |
| <eumario> | I've got 5 years programming experince. | 04:50:30 |
| <chino> | anyone play with rbot ? | 04:50:38 |
| <chino> | im having a blast... | 04:50:42 |
| <eumario> | Programming with Basic, Euphoria, HTML, Some C/C++ and Ruby. | 04:51:09 |
| <eumario> | Oh and PHP | 04:51:15 |
| * | chino hides from php | 04:51:30 |
| <eumario> | PHP is cool. | 04:51:38 |
| <teferi> | if you're calling writing HTML "programming", you *definitely* have no business writing an editor | 04:51:48 |
| <chino> | oh you were talking to eumario... ithought you meant manveru | 04:52:07 |
| <eumario> | It is programming, when you do it without a WYSIWYG Editor. | 04:52:07 |
| <teferi> | not at all | 04:52:20 |
| <teferi> | html is markup that describes the structure of a document | 04:52:29 |
| <teferi> | it's typesetting and composing and layout, not programming | 04:52:44 |
| <perlmonk> | WYSIWYG editors are pure crap, they generate code you have to re-organise before using it... | 04:53:00 |
| <teferi> | that's not the issue | 04:53:12 |
| <eumario> | It is when you include JS, VBScript, and CSS | 04:53:15 |
| <chino> | yea i hate wysiwyg unles you never gonna touch it | 04:53:25 |
| <teferi> | CSS is assuredly not a programming language | 04:53:26 |
| <chino> | and its written well | 04:53:34 |
| <chino> | perlmonk: you wouldn't like something like glade ? | 04:53:49 |
| <eumario> | Well, whatever. You can see what my work is like when I get it up and going. | 04:53:59 |
| <teferi> | chino: there's only one libglade, and it's a strict xml parser | 04:54:15 |
| <perlmonk> | chino, Never used it... I don't directly deal with GTK | 04:54:22 |
| <teferi> | you can't compare wysywig gui design to wysywig html editors | 04:54:26 |
| crazeinc_ | Entered. | 04:54:50 |
| <perlmonk> | and I agree with teferi on this last statement | 04:54:52 |
| <chino> | idk it just seems nice to design a gui visually... and if there was any messups i mean the fact that it puts it into xml is pretty neat... sorta like xul | 04:54:53 |
| crazeinc | Quit with message (Read error: 104 (Connection reset by peer)). | 04:55:06 |
| freealan | Quit with message ("leaving"). | 04:55:09 |
| <chino> | teferi: yea i was being more general | 04:55:18 |
| <perlmonk> | chino, Sure, nice, but then you have to re-organise the whole again.... | 04:55:22 |
| <perlmonk> | I prefer to type my html/css myself | 04:55:39 |
| <chino> | perlmonk: yea idk.. i never tried it but i think it can handel it self fine... | 04:55:47 |
| <teferi> | so does everyone | 04:55:48 |
| <teferi> | sheesh | 04:55:49 |
| <chino> | perlmonk: im talking about glade | 04:55:51 |
| <chino> | yea i do my own html | 04:55:57 |
| <chino> | i never like any wysiwg ever.... | 04:56:09 |
| <chino> | for html... | 04:56:22 |
| <perlmonk> | Ah, yes, it's nice. | 04:56:27 |
| <eumario> | And one thing I am not doing, is using Fox Toolkit. | 04:57:17 |
| <perlmonk> | eumario, Let's put it this way, no algorythm, it's not programming | 04:57:32 |
| <teferi> | this converation is rapidly becoming ridiculous | 04:57:56 |
| <eumario> | perlmonk: Then 90 percent of your GUI programming is not programming at all. | 04:57:58 |
| james_britt | Quit with message ("KVIrc 3.2.4 Anomalies http://www.kvirc.net/"). | 04:58:38 |
| <chino> | lmao | 04:59:23 |
| <perlmonk> | eumario, No, 100% of your GUI DESIGNING is not programming, you might have some stuff inside your logical part, like... puts "<option></option>" But I wouldn't call this "design" :)" | 04:59:38 |
| spuk- | Quit with message ("Human beings were created by water to transport it uphill."). | 04:59:58 |
|
crazeinc | Entered. | 05:00:07 |
| <eumario> | perlmonk: What it comes down to, is that a program, is a program, cause you can execute it, and it displays something. | 05:00:14 |
| <teferi> | the hell with this | 05:00:17 |
| * | teferi heads off | 05:00:24 |
| stateside | Quit with message (). | 05:00:27 |
| <perlmonk> | eumario, Then the program is called a browser | 05:00:39 |
| crazeinc__ | Quit with message (Read error: 104 (Connection reset by peer)). | 05:01:26 |
| <perlmonk> | Now, where it becomes funny, is... javascript :) It's a programming language... aswell executing in the browser :D | 05:01:45 |
| <perlmonk> | Actually, not executing | 05:02:00 |
| <perlmonk> | interpreted | 05:02:03 |
| <perlmonk> | just like HTML... or CSS :P | 05:02:11 |
| <eumario> | Then there goes all interpreted languages, cause it's not a true program. | 05:02:17 |
| <perlmonk> | it is, because in JS, you have algos | 05:02:33 |
| <baaba> | a program processes data | 05:02:36 |
| <baaba> | there | 05:02:38 |
| <baaba> | now shut up | 05:02:40 |
| <eumario> | Thank you baaba | 05:02:46 |
| <perlmonk> | :D | 05:02:52 |
| * | perlmonk laughes | 05:02:59 |
| <perlmonk> | 1am, bed time :) | 05:03:17 |
| <perlmonk> | Nite Nite everyone :) | 05:03:26 |
| <eumario> | Night | 05:03:30 |
| perlmonk | Quit with message ("Two of the most important Unix traditions are to share and to help people. -Harley Hahn"). | 05:03:50 |
| <eumario> | manveru: Thanks for the help with the regexp, it does work, with some minor modifications to the test string. | 05:03:58 |
| diclophis | Left. | 05:05:42 |
| <jsoftw> | priidu: night | 05:07:13 |
| <jsoftw> | oh | 05:07:18 |
| <jsoftw> | doh | 05:07:20 |
| <eumario> | lol | 05:07:29 |
| squeegy | Quit with message (). | 05:07:53 |
| eumario | Quit with message (" HydraIRC -> http://www.hydrairc.com <-"). | 05:08:34 |
| takai | Entered. | 05:09:44 |
| scrooloose | Quit with message ("'and immm too sexy for this channel, too sexy for this channel....'"). | 05:10:27 |
| [1]DoctorNick | Entered. | 05:11:15 |
| jsoftw | Quit with message ("Lost terminal"). | 05:12:09 |
| click170 | Quit with message (Read error: 110 (Connection timed out)). | 05:13:30 |
| click170 | Quit with message (Read error: 110 (Connection timed out)). | 05:13:30 |
| willcodeforfoo | Quit with message (). | 05:16:11 |
| willcodeforfoo | Entered. | 05:16:22 |
| philc | Entered. | 05:17:19 |
| crazeinc_ | Quit with message (Read error: 110 (Connection timed out)). | 05:19:03 |
| ryan_baker | Entered. | 05:20:08 |
| DoctorNick | Quit with message (Connection timed out). | 05:23:09 |
| [1]DoctorNick | Changed name to DoctorNick. | 05:23:10 |
| cyndis | Entered. | 05:23:23 |
| wmoxam | Quit with message ("This computer has gone to sleep"). | 05:24:41 |
| UncleD | Quit with message ("If you give this man a ride, sweet family will die... killer on the road"). | 05:26:17 |
| em-dash | Entered. | 05:26:53 |
| Aphelion | Quit with message (). | 05:29:14 |
| Bulavkin_1Lx2J | Entered. | 05:29:16 |
| fowlduck | Quit with message ("Leaving"). | 05:31:36 |
| ryan_baker | Quit with message (). | 05:32:08 |
| mynyml | Entered. | 05:32:55 |
| neosiris | Quit with message (Client Quit). | 05:34:02 |
| Bulavkin_1Lx2J | Quit with message (Client Quit). | 05:38:49 |
| Bulavkin_1Lx2J | Entered. | 05:40:02 |
| zedas | Quit with message (Client Quit). | 05:43:03 |
| _spuk | Entered. | 05:44:12 |
| neosiris | Entered. | 05:44:13 |
| Pistos | Entered. | 05:53:26 |
| <Pistos> | I think I've found a bug in Hpricot. With code that reproduces it 100% of the time. | 05:53:44 |
| * | Pistos prepares some pasties... | 05:53:59 |
| <Pistos> | http://pastie.caboo.se/102400 | 05:54:52 |
| crazeinc | Quit with message (). | 05:55:51 |
| * | Pistos tries Hpricot.XML | 05:55:59 |
| <Pistos> | Hm, same thing. | 05:56:18 |
| Pistos | Changed name to Pistos|home|afk. | 05:57:17 |
|
zenspider | Quit with message (Read error: 110 (Connection timed out)). | 06:02:10 |
| crazeinc | Entered. | 06:03:17 |
| crazeinc | Quit with message (Remote closed the connection). | 06:03:26 |
| dem314 | Entered. | 06:05:05 |
| headius | Quit with message (). | 06:06:08 |
| neosiris | Quit with message (Client Quit). | 06:10:16 |
| Garepjotr | Entered. | 06:10:28 |
| bjc | Quit with message (). | 06:13:04 |
| ubiquitous | Entered. | 06:13:20 |
| lightcap | Entered. | 06:14:44 |
| em-dash_ | Entered. | 06:15:59 |
| mczepiel | Entered. | 06:16:25 |
| em-dash | Quit with message (Read error: 104 (Connection reset by peer)). | 06:16:45 |
| scramjet_ | Quit with message (). | 06:16:57 |
| srid | Entered. | 06:24:15 |
| dje_ | Quit with message (). | 06:26:01 |
| TobiX | Quit with message ("Reconnecting"). | 06:26:10 |
| TobiX | Entered. | 06:26:14 |
| PhilKC | Quit with message (Client Quit). | 06:27:11 |
| PhilKC | Quit with message (Client Quit). | 06:27:11 |
| srid | Left. | 06:27:28 |
| headius | Entered. | 06:27:52 |
| srid` | Entered. | 06:28:03 |
| srid` | Changed name to srid. | 06:28:28 |
| spity | Quit with message ("Leaving..."). | 06:31:30 |
| Ober | Quit with message (Read error: 104 (Connection reset by peer)). | 06:33:12 |
| parolkar | Entered. | 06:33:18 |
| headius | Quit with message (). | 06:33:58 |
| fhobia | Entered. | 06:36:34 |
| fizx | Entered. | 06:36:51 |
| ruinous | Entered. | 06:37:07 |
| ruinous | Quit with message (Client Quit). | 06:37:49 |
| nkpart | Entered. | 06:38:14 |
| ruinous | Entered. | 06:38:29 |
| imajes | Entered. | 06:43:45 |
| slyphon | Quit with message (Read error: 110 (Connection timed out)). | 06:44:38 |
| nkpart | Quit with message (). | 06:49:07 |
| halorgium | Changed name to halo`. | 06:53:39 |
| nkpart | Entered. | 06:56:37 |
|
Bulavkin_1Lx2J | Changed name to UncleD. | 07:00:11 |
| _eevar | Entered. | 07:01:16 |
| viewlogic | Entered. | 07:01:49 |
| toor | Entered. | 07:02:16 |
| toor | Quit with message (Read error: 104 (Connection reset by peer)). | 07:02:24 |
| mynyml | Quit with message ("Leaving"). | 07:02:47 |
| <darix> | Pistos|home|afk: https://code.whytheluckystiff.net/hpricot/newticket | 07:03:02 |
| TOrrIeri | Quit with message ("Saliendo"). | 07:04:10 |
| buzzed | Quit with message (Read error: 110 (Connection timed out)). | 07:04:55 |
| pluesch0r | Entered. | 07:05:00 |
| ultraviolet | Entered. | 07:05:53 |
| ultravio1et | Quit with message (Read error: 60 (Operation timed out)). | 07:08:44 |
| Mentr3d | Entered. | 07:09:22 |
| viewlogic | Quit with message (Client Quit). | 07:12:54 |
| Chrononaut | Quit with message (Remote closed the connection). | 07:14:36 |
| Chrononaut | Quit with message (Remote closed the connection). | 07:14:36 |
| Chrononaut | Entered. | 07:14:48 |
| chenk | Quit with message ("Leaving."). | 07:14:49 |
| zefredz | Entered. | 07:15:35 |
| exoduso | Entered. | 07:16:52 |
| exoduso | Quit with message (Read error: 104 (Connection reset by peer)). | 07:16:55 |
| emo | Quit with message (Remote closed the connection). | 07:17:31 |
| umis- | Entered. | 07:18:04 |
| eevar_ | Quit with message (Read error: 110 (Connection timed out)). | 07:19:01 |
| Hahn | Quit with message ("ta..."). | 07:19:14 |
| kevinpet | Entered. | 07:24:35 |
| [1]DoctorNick | Entered. | 07:26:08 |
| riffraff | Entered. | 07:26:27 |
| em-dash | Entered. | 07:27:51 |
| d2dchat | Quit with message (Connection timed out). | 07:28:44 |
| d2dchat | Quit with message (Connection timed out). | 07:28:44 |
| chino | Quit with message ("Leaving."). | 07:29:46 |
| em-dash_ | Quit with message (Read error: 104 (Connection reset by peer)). | 07:30:23 |
| mczepiel | Quit with message (). | 07:32:59 |
| ruxpin | Quit with message (Read error: 113 (No route to host)). | 07:34:10 |
| araujo | Quit with message (Read error: 110 (Connection timed out)). | 07:37:34 |
| araujo | Quit with message (Read error: 110 (Connection timed out)). | 07:37:34 |
| bb_ | Changed name to bb. | 07:39:02 |
| araujo | Entered. | 07:42:36 |
| DoctorNick | Quit with message (Connection timed out). | 07:43:39 |
| [1]DoctorNick | Changed name to DoctorNick. | 07:43:39 |
| ubiquitous | Quit with message (Remote closed the connection). | 07:48:37 |
| nkpart | Quit with message (). | 07:50:33 |
| thesnowdog | Entered. | 07:50:59 |
| thesnowdog | Quit with message (Read error: 104 (Connection reset by peer)). | 07:52:28 |
| elsobrino | Entered. | 07:53:06 |
| thesnowdog | Entered. | 07:53:14 |
| swombat | Quit with message (Connection timed out). | 07:53:15 |
| swombat | Quit with message (Connection timed out). | 07:53:15 |
| jadeisfalling | Entered. | 07:53:34 |
| zenspider | Entered. | 07:53:44 |
| ruinous | Quit with message (Read error: 104 (Connection reset by peer)). | 07:56:33 |
| lightcap | Quit with message (Read error: 110 (Connection timed out)). | 07:58:24 |
| headius | Entered. | 07:59:05 |
|
fearoffish | Entered. | 08:02:08 |
| sepp2k_ | Entered. | 08:02:53 |
| versix_ | Entered. | 08:03:56 |
| robolemon | Entered. | 08:04:28 |
| pstickne_ | Entered. | 08:05:20 |
| nertzy | Quit with message (Nick collision from services.). | 08:05:24 |
| jadeisfalling | Quit with message ("buh bye now"). | 08:05:27 |
| Skyblaze_ | Quit with message (Client Quit). | 08:05:52 |
| mppf | Quit with message (Client Quit). | 08:05:57 |
| bquorning | Entered. | 08:06:24 |
| robolemon | Changed name to nertzy. | 08:06:45 |
| bquorning | Left. | 08:07:28 |
| elsobrino | Quit with message (Client Quit). | 08:07:43 |
| arooni | Quit with message (Remote closed the connection). | 08:07:46 |
| arooni | Quit with message (Remote closed the connection). | 08:07:46 |
| arooni_ | Entered. | 08:07:58 |
| guido | Entered. | 08:08:25 |
| guido | Quit with message (Client Quit). | 08:10:13 |
| arooni_ | Quit with message (Read error: 104 (Connection reset by peer)). | 08:11:04 |
| iblechbot | Entered. | 08:11:09 |
| arooni | Entered. | 08:11:09 |
| arooni | Quit with message (Remote closed the connection). | 08:11:54 |
| arooni | Entered. | 08:12:07 |
| KDan | Entered. | 08:15:55 |
| doniphon | Entered. | 08:17:24 |
| leethal | Entered. | 08:19:13 |
| versix | Quit with message (Connection timed out). | 08:19:46 |
| kuja_ | Quit with message (Read error: 104 (Connection reset by peer)). | 08:20:35 |
| kuja__ | Quit with message (Read error: 104 (Connection reset by peer)). | 08:20:36 |
| sepp2k | Quit with message (Read error: 110 (Connection timed out)). | 08:20:40 |
| arooni | Quit with message (Read error: 104 (Connection reset by peer)). | 08:21:07 |
| arooni | Entered. | 08:21:23 |
| kbrust_ | Quit with message (Client Quit). | 08:22:03 |
| eevar2 | Entered. | 08:22:06 |
| arooni | Quit with message (Remote closed the connection). | 08:22:45 |
| arooni_ | Entered. | 08:23:00 |
| pstickne | Quit with message (Connection timed out). | 08:23:04 |
| pstickne | Quit with message (Connection timed out). | 08:23:04 |
| kbrust | Entered. | 08:25:23 |
| mugger | Quit with message (). | 08:25:33 |
| philc | Quit with message (). | 08:28:37 |
| KDan_ | Entered. | 08:31:01 |
| KDan_ | Quit with message (Client Quit). | 08:31:17 |
| KDan_ | Entered. | 08:31:34 |
| yipstar | Quit with message (Read error: 113 (No route to host)). | 08:31:36 |
| yipstar | Quit with message (Read error: 113 (No route to host)). | 08:31:36 |
| KDan_ | Changed name to swombat. | 08:32:27 |
| KDan_ | Changed name to swombat. | 08:32:27 |
| headius | Quit with message (). | 08:33:21 |
| srid | Quit with message (Read error: 110 (Connection timed out)). | 08:37:34 |
| srid | Quit with message (Read error: 110 (Connection timed out)). | 08:37:34 |
| arooni_ | Quit with message (Remote closed the connection). | 08:37:45 |
| arooni | Entered. | 08:37:59 |
| cognominal_ | Entered. | 08:38:34 |
| kevinpet | Quit with message (Read error: 110 (Connection timed out)). | 08:39:01 |
| chino | Entered. | 08:41:54 |
| KDan | Quit with message (Connection timed out). | 08:42:24 |
| KDan | Quit with message (Connection timed out). | 08:42:24 |
| sris | Quit with message (). | 08:42:27 |
| pluesch0r | Quit with message (Client Quit). | 08:42:44 |
| nevele | Quit with message (Read error: 113 (No route to host)). | 08:44:44 |
| langenberg | Entered. | 08:45:01 |
| GarethAdams | Quit with message (Connection timed out). | 08:45:38 |
| arooni | Quit with message (Read error: 104 (Connection reset by peer)). | 08:46:57 |
| arooni | Entered. | 08:47:18 |
| pstickne_ | Quit with message (Read error: 110 (Connection timed out)). | 08:47:40 |
| pstickne_ | Quit with message (Read error: 110 (Connection timed out)). | 08:47:40 |
| toretore | Entered. | 08:49:28 |
| evilchelu | Entered. | 08:49:35 |
| statim | Quit with message ("Leaving"). | 08:51:30 |
| noskill | Entered. | 08:51:48 |
| tneshi | Entered. | 08:53:54 |
| em-dash | Quit with message (). | 08:57:25 |
| fhobia | Quit with message (Connection timed out). | 08:57:35 |
| wbruce | Quit with message (). | 08:59:29 |
|
orem | Entered. | 09:00:22 |
| teslacoil | Left. | 09:00:29 |
| freealan | Entered. | 09:05:17 |
| Dr_Who | Quit with message ("This computer has gone to sleep"). | 09:05:24 |
| fredix | Entered. | 09:06:13 |
| |Vargas| | Entered. | 09:07:08 |
| kaydara | Entered. | 09:07:23 |
| evilchelu | Quit with message ("You'll Never Walk Alone"). | 09:08:30 |
| Binja | Entered. | 09:09:46 |
| pluesch0r | Entered. | 09:12:07 |
| pluesch0r | Quit with message (Remote closed the connection). | 09:12:21 |
| piglop | Entered. | 09:12:44 |
| evilchelu | Entered. | 09:16:01 |
| copyleft | Quit with message ("Leaving"). | 09:16:01 |
| copyleft | Quit with message ("Leaving"). | 09:16:01 |
| kith | Quit with message (Read error: 113 (No route to host)). | 09:16:59 |
| scramjet | Entered. | 09:19:09 |
| bquorning | Entered. | 09:19:57 |
| low | Entered. | 09:20:14 |
| cydork | Entered. | 09:21:32 |
| DEac- | Quit with message (Read error: 110 (Connection timed out)). | 09:22:06 |
| Zycon | Quit with message (Client Quit). | 09:23:05 |
| Zycon | Entered. | 09:23:17 |
| srid | Entered. | 09:23:27 |
| argv[] | Quit with message ("Quit: Quit: Quit: Stack Overflow."). | 09:27:26 |
| sris | Entered. | 09:27:55 |
| riffraff | Quit with message (Remote closed the connection). | 09:28:39 |
| alloy | Entered. | 09:29:15 |
| alloy | Left. | 09:29:35 |
| freealan | Quit with message ("leaving"). | 09:29:46 |
| n0man | Quit with message (). | 09:29:55 |
| DEac- | Entered. | 09:30:20 |
| spity | Entered. | 09:33:02 |
| Aphorise | Entered. | 09:35:18 |
| ngew | Entered. | 09:35:36 |
| <manveru> | LoCotD: 'minos' =~ /minos/minos | 09:37:54 |
| ngew | Quit with message (Read error: 104 (Connection reset by peer)). | 09:37:55 |
| bquorning | Left. | 09:38:20 |
| ngew | Entered. | 09:38:25 |
| chino | Left. | 09:39:18 |
| cognominal_ | Quit with message (Client Quit). | 09:39:19 |
| cognominal_ | Quit with message (Client Quit). | 09:39:19 |
| priidu | Quit with message (Read error: 110 (Connection timed out)). | 09:41:30 |
| broeman | Quit with message (Read error: 104 (Connection reset by peer)). | 09:42:07 |
| priidu | Entered. | 09:42:13 |
| [1]DoctorNick | Entered. | 09:45:05 |
| francesco | Entered. | 09:45:27 |
| <leethal> | so, a neat little shellscript - http://pastie.caboo.se/102439 | 09:46:36 |
| <leethal> | how would one go on no cleanly replace the values in that configuration file I'm scanning? | 09:46:51 |
| <leethal> | the $1 part of the match is the key in the SETTINGS constant, the $2 part of the match is the value | 09:47:12 |
| bryno | Entered. | 09:48:54 |
| Al2O3 | Entered. | 09:50:20 |
| <leethal> | if SETTINGS.keys.include?(key) then replace_the_line! end, so to speak | 09:51:38 |
| <leethal> | not sure how to replace the line, though | 09:51:43 |
| <leethal> | so, my _actual_ question is: how do you replace stuff in a file? | 09:52:05 |
| <H4z3> | You would have to read it all in to a new file | 09:52:18 |
| <H4z3> | and just next on the lines you don't want | 09:52:39 |
| <sepp2k_> | leethal: You read the file, change stuff, and write the file again. | 09:52:47 |
| <manveru> | hrm | 09:52:56 |
| <leethal> | so you do some kind of .write, not just .close? | 09:53:03 |
| <manveru> | leethal: and you'd do some things differently :) | 09:53:05 |
| <sepp2k_> | Btw: You really don't need to use $1 and $2 with scan. | 09:53:06 |
| <leethal> | heh, I guess I'd figure it out by looking it up in the api | 09:53:16 |
| <leethal> | sepp2k_: aw, is it yielded? | 09:53:27 |
| <sepp2k_> | leethal: Yes, scan yields an array containing the captures. | 09:53:52 |
| <leethal> | neat | 09:54:10 |
| hannestyden | Entered. | 09:54:34 |
| omp | Quit with message ("leaving"). | 09:54:42 |
| <sepp2k_> | So if instead of do |match| you write do |key, value| you can skip the key,value= line | 09:54:43 |
| <H4z3> | array = "<b>one</b><b>2</b>".scan("<b>(.+?)<.b>"); -> ["one", "two"] | 09:55:03 |
| <leethal> | ah | 09:55:03 |
| <leethal> | didn't know you could go |key, value| directly in the args | 09:55:22 |
| Al2O3 | Quit with message ("Eggplant & SenseTalk: Driving Success Through Automation"). | 09:56:29 |
| Al2O3 | Quit with message ("Eggplant & SenseTalk: Driving Success Through Automation"). | 09:56:29 |
| <manveru> | you don't even need that... | 09:56:35 |
| <manveru> | but looks cleaner :) | 09:56:55 |
| DoctorNick | Quit with message (Read error: 110 (Connection timed out)). | 09:57:03 |
| [1]DoctorNick | Changed name to DoctorNick. | 09:57:03 |
| <sepp2k_> | H4z3: "<b>one</b><b>2</b>".scan(/<b>(.+?)<.b>/) #=> [["one"], ["2"]] | 09:57:58 |
| <H4z3> | sepp2k_: My bad, .flatten :P | 09:58:18 |
| Moneo | Entered. | 09:58:31 |
| hannestyden | Left. | 09:58:35 |
| <H4z3> | I forgot i had 2 and not two | 09:58:36 |
| <H4z3> | Wow, forgetting things in seconds ftw | 09:58:48 |
| ngew | Quit with message (Read error: 104 (Connection reset by peer)). | 09:58:59 |
| hannestyden | Entered. | 09:59:04 |
| <manveru> | leethal: http://pastie.caboo.se/102441 | 09:59:19 |
| ngew | Entered. | 09:59:34 |
|
broeman | Entered. | 10:00:06 |
| <Zycon> | in irb how do you get the install dir of ruby? | 10:00:53 |
| Moneo | Quit with message (Client Quit). | 10:01:06 |
| <manveru> | Zycon: Config::CONFIG | 10:01:13 |
| Moneo | Entered. | 10:01:16 |
| <leethal> | neat | 10:01:41 |
| <Zycon> | Config::CONFIG -> uninitialized constant | 10:01:49 |
| <manveru> | Zycon: then you better get a new ruby | 10:02:45 |
| <Zycon> | hmmm | 10:02:56 |
| <manveru> | is that 1.6.2 or something? :P | 10:03:07 |
| <Zycon> | 1.8.4.. so i don't know whats going on | 10:03:17 |
| greap | Entered. | 10:03:34 |
| <H4z3> | Doesn't work for me either. | 10:03:49 |
| <manveru> | oh | 10:04:28 |
| <scoopr> | require 'rbconfig' ? | 10:04:31 |
| <leethal> | manveru: the only thingie, though, is that I need to replace lines, not add them | 10:04:35 |
| <leethal> | manveru: but I guess gsub and friends can help | 10:04:49 |
| <H4z3> | don't you need mkmf | 10:04:50 |
| <manveru> | leethal: then you know how to change it :) | 10:04:51 |
| <Zycon> | manveru: awesome, thankyou! | 10:04:58 |