←2007-06-05 2007-06-06 2007-06-07→ ↑2007 ↑all
00:00:45 -!- crathman has joined.
00:24:01 <erider> http://retroforth.com/paste/?id=415
00:55:12 -!- crathman has quit (Read error: 113 (No route to host)).
01:18:21 -!- fax has joined.
01:18:24 <fax> hi
01:19:53 <Asztal> hello
01:36:07 -!- oerjan has joined.
01:40:21 <oerjan> s/([^0-9]|^)\./\1 /g and the like will not work for several . in a row
01:40:40 <fax> change \. to \.\.* maybe?
01:41:27 <oerjan> no, you need _each_ replaced by a space
01:41:45 <fax> use tr
01:42:02 <oerjan> (because /g only does non-overlapping substitutions)
01:42:12 <fax> 'y' in sed
01:42:24 <fax> but im not sure how (or if you even can) use it on a subexpression
01:42:28 <oerjan> tr cannot take a precondition can it?
01:42:43 <fax> would be cool to do: s/([^0-9]|^)\.\/\1 /g
01:42:54 <oerjan> well if you allow /e, but then we are far out of anything usable in non-perl
01:42:57 <fax> would be cool to do: s/([^0-9]|^)\(\.\.*\)/\1 <apply tr to \2>/g
01:45:53 <oerjan> hm, not sure if tr in perl can be used functionally. but perhaps (($2=~y/.../.../),$2) will work
01:46:27 <fax> aw I thought you were using sed
01:47:08 <fax> bah I'm stupid, never noticed unescaped ()'s
01:49:39 <oerjan> this was a question by oklopol in the logs. fizzie gave s/(?<!\d)\./ /g, which should work
01:50:21 <fax> would it be possible to just replace all .. with . until no more matches occur
01:50:30 <fax> or might that interfere with the rest of the patter?
01:50:34 <bsmntbombdood> not in engines that don't have lookbehid
01:53:52 <oerjan> if you are to do it without full expressions you can only replace one . at each match, and the matches must be non-overlapping so lookbefore seems essential
01:54:38 <oerjan> unless you use more than one substitution. doing the naive one twice should work in this particular case.
01:56:21 <oerjan> hm, look-behind is the technical term. sounds illogical to me.
01:57:08 <fax> oh or s/\.\.*/./
01:57:47 <oerjan> fax: each . is to be replaced with one space. you cannot collapse them.
01:59:00 <fax> s/\./ /
02:00:33 <oerjan> if you use perl expressions, " " x length($2) is simple enough
02:01:02 <oerjan> fax: each . that is replaced, i mean.
02:02:09 <oerjan> <oklopol> whuzz the regex way to say "replace every '.' in a string with ' ' if '.' is not preceded by a number"
02:03:24 <erider> hi fax
02:03:30 <fax> hey erider
02:03:41 <oerjan> i think it is impossible to do with a single substitution using no extension such as expressions or look-behind
02:08:12 <fax> echo "c..d a.....a b...b" | sed -e "s/a\(\.\.*\)a/\"\`echo \'a\1\a' | tr . \\\\ \`\"/g" -e 's/\(.*\)/echo "\1"/' | sh
02:08:56 <fax> ..doesn't work lol
02:08:57 <fax> sorry 1 sec
02:09:40 <oerjan> (whatever that is it doesn't go under "no extension")
02:11:19 <oerjan> if that is supposed to be the same question, then you forgot to check that . is not preceded by a digit.
02:11:29 <fax> no
02:11:43 <fax> using 'a' instead of any digit
02:12:51 <fax> hm
02:12:59 <fax> echo "\"a.....a\"" | tr . \ #-> "a a"
02:13:11 <fax> echo `echo "\"a.....a\"" | tr . \ `#-> "a a"
02:13:31 <fax> need to replace . with '\ ' ;/
02:30:09 -!- fax has quit ("Leaving").
03:47:25 -!- bsmntbombdood has quit (Read error: 104 (Connection reset by peer)).
03:50:20 -!- bsmntbombdood has joined.
04:03:17 <bsmntbombdood> http://www.ben.jellybaby.net/
04:38:19 -!- SilentScience has quit (Read error: 113 (No route to host)).
04:47:52 -!- Chaos750 has joined.
04:48:38 -!- Chaos750 has quit (Client Quit).
04:49:17 * oerjan thinks that may have been a chaos magician...
04:58:44 * erider has a functional bf interpreter in toka :)
04:59:34 <oerjan> so toka is TuCo :)
05:27:46 -!- boily has joined.
05:40:56 -!- Pikhq has quit (Remote closed the connection).
05:41:25 -!- Pikhq has joined.
05:41:46 -!- Pikhq has quit (Client Quit).
05:51:30 -!- pikhq has joined.
05:51:49 -!- digital_me has joined.
05:56:30 -!- digital_me has quit (Client Quit).
06:11:33 -!- boily has quit ("WeeChat 0.2.4").
07:13:56 -!- GregorR-L has joined.
07:25:17 * pikhq looks at KDE4, stares longingly
07:25:53 <bsmntbombdood> ...why?
07:26:16 <pikhq> Plasma == OMG.
07:26:19 <pikhq> Kwin == OMG.
07:26:23 <pikhq> Everything == OMG.
07:26:25 <bsmntbombdood> what's that?
07:26:52 <pikhq> Plasma is the new implementation of the desktop, desktop widgets, panel, and more.
07:27:14 <pikhq> Kwin is the KDE window manager, which, for KDE4, will use AIGLX and Xcomposite.
07:27:33 <GregorR-L> http://www.codu.org/hats/Pakul-med.jpg < Gregor's new burlap-sack hat.
07:27:58 <bsmntbombdood> useless waste, useless waste, and useless waste?
07:28:18 <pikhq> bsmntbombdood: The Kwin features are actually *useful*.
07:28:25 <pikhq> As are the Plasma features, actually.
07:28:44 <pikhq> And Phonon will be a really, really nice abstraction of the audio layer. . .
07:28:45 <GregorR-L> KDE doesn't have much in terms of flashy features.
07:28:53 <pikhq> GregorR-L: KDE4 sure as hell does.
07:29:13 <GregorR-L> pikhq: When I say "flashy features", I mean "features which have no purpose but to be flashy"
07:29:16 <pikhq> Oh.
07:29:30 <pikhq> By that definition, nor does KDE4.
07:29:33 <bsmntbombdood> GregorR-L: cool hat
07:29:33 <GregorR-L> Unlike Beryl, which has exclusively flashy features.
07:29:43 <pikhq> Yup.
07:29:47 <bsmntbombdood> GregorR-L: that's the best one yet
07:29:53 <oerjan> be careful with this hat-buying. remember Frogstar B.
07:29:59 <bsmntbombdood> i'd wear it
07:30:18 <pikhq> I'd wear it, which is saying something from someone who's only hat is called "long hair".
07:30:25 <GregorR-L> Heh
07:30:40 <GregorR-L> bsmntbombdood: I now have one hat for every year of my life :P
07:30:48 <bsmntbombdood> lol
07:31:13 <fizzie> "The hats of my life", sounds like a book and/or a movie and/or a musical title.
07:31:23 <pikhq> Man. . . It's one thing for a UI to look beautiful, but KDE4 surpasses that. . . The friggin' *API* is a work of art already.
07:31:44 <bsmntbombdood> i like this hat http://www.codu.org/hats/TopHat-med.jpg and this hat http://www.codu.org/hats/RedFedora-med.jpg
07:32:20 <pikhq> ogg123, written using kdelib from KDE4, is about 10 lines of code.
07:33:44 <bsmntbombdood> http://www.codu.org/music/GRegor-op8.ogg <-- this is a cool song
07:34:10 <pikhq> A long song from Gregor?
07:34:53 <GregorR-L> Strange how my random hat update causes people to start reading my page :P
07:35:29 <pikhq> GregorR-L: I usually check your page every once in a blue moon.
07:35:43 <GregorR-L> I don't even check my own page more than once every never :P
07:36:04 <pikhq> Honestly, I've noticed that it doesn't update much. . .
07:36:15 <pikhq> Most of your stuff is, uh, hidden from the actual page.
07:36:23 <pikhq> Like that ogg that was just linked.
07:36:34 <pikhq> . . . Err.
07:36:34 <GregorR-L> That's on the "music" page.
07:36:39 <pikhq> Never mind. I'm an idiot.
07:36:43 <GregorR-L> :P
07:36:51 <GregorR-L> Anyway, I rarely update it ... it's not a blog.
07:36:59 <GregorR-L> I don't have enough to say about my life to blog X-P
07:37:12 <pikhq> And you're a friggin' amazing piano player.
07:37:39 <GregorR-L> Not really :P
07:37:56 <pikhq> What, and are you not a good coder, either?
07:38:20 <GregorR-L> I'm an excellent coder.
07:39:12 <pikhq> I'm well aware.
07:39:15 <GregorR-L> But given that my friend Eric, who plays the piano as one of an ever-increasing number of instruments (at least five), plays much better than I do, I'm not that great :P
07:39:36 <pikhq> You play a hell of a lot better than I do. . .
07:40:13 <pikhq> My musical skills are more in the realms of choral music. . .
07:40:46 <GregorR-L> There's a notable tragedy in my singing: I can sing in tune, but my voice makes people's ears bleed X-P
07:40:51 <pikhq> Hahah.
07:41:13 <pikhq> I'm good, just so long as I can sing bas.
07:41:14 <pikhq> Err.
07:41:15 <pikhq> bass.
07:41:39 <pikhq> Get me doing higher than that, and I make everyone cringe.
07:41:46 <GregorR-L> Heh
07:41:58 <pikhq> My falsetto? T3h suck.
07:44:58 <GregorR-L> By the way, the hat I linked ( http://www.codu.org/hats/Pakul-med.jpg ) is basically a rolled-up burlap sack ;)
07:45:35 <pikhq> Creative. ;)
07:46:30 <bsmntbombdood> where do you get a burlap sack
07:46:47 <GregorR-L> If you buy them like I do, you pay $30 for it at a hat shop :P
07:47:04 <bsmntbombdood> that's a lot of moneys
07:47:06 <oerjan> o_O
07:47:28 <GregorR-L> That's a fairly normal price for a good-quality hat.
07:47:52 <bsmntbombdood> but it's not a good-quality hat...it's a sack
07:48:07 <oerjan> i guess it might be better than a used one...
07:48:12 <GregorR-L> Heh
07:48:17 <oerjan> smelling of potatoes, or whatever
07:48:23 <GregorR-L> "Is this an apple core in my hat?"
07:48:26 <bsmntbombdood> you could have a coffee smelling hat
07:48:49 <pikhq> I'
07:48:53 <pikhq> d take one of those.
07:52:51 <oerjan> coffee, that was what i was missing.
07:53:08 * oerjan slurps loudly
07:54:12 <bsmntbombdood> that sounds good
07:55:34 * bsmntbombdood hasn't had any caffeine for 2.5 weeks
07:55:39 <GregorR-L> O_O
07:55:55 * GregorR-L is thoroughly addicted to teh soda.
07:59:59 -!- clog has quit (ended).
08:00:00 -!- clog has joined.
08:05:23 * pikhq loves the holy nectar: Mountain Dew
08:14:29 -!- oerjan has quit ("leaving").
08:18:44 <bobbens> pikhq: and i was assuming the holy nectar was ambrosia aka expresso :)
08:18:58 <pikhq> Espresso, while holy, is not a nectar.
08:19:16 <bobbens> when you've had enough it is :)
08:19:29 <bobbens> got to hook up my expresso iv now :)
08:19:31 <pikhq> You mean it's *sweet*?!?
08:19:51 <pikhq> It ain't a *nectar* unless it's sweet.
08:20:03 <pikhq> Holiness comes from caffeine content, though. ;)
08:20:34 <bobbens> well you put sugar in it
08:20:43 <bobbens> i like brown sugar because it gives it a nice caramalized effect
08:20:47 <pikhq> Then it's no longer worthy of the name 'espresso'.
08:20:53 <bobbens> straight expresso messes with my stomach early morning :)
08:21:20 <bobbens> expresso is the base of all coffee drinks, you need a stomach of iron to drink it straight
08:21:30 <bobbens> and even then it'll eventually destroy your stomach
08:22:01 <bobbens> i used to like that mountain dew soda stuff
08:22:10 <bobbens> but it just messes with you too much :)
08:22:17 <bobbens> now i'm on tea/coffee
08:22:52 * pikhq prefers his coffee to be just strong enough to glow from the radiation within :p
08:23:29 <bobbens> it has to be able to move on its own right? :P
08:23:44 <bobbens> "Come back here mister coffee! I'm going to drink you!"
08:24:42 <GregorR-L> pikhq doesn't drink his coffee, he hunts, cooks and eats his coffee.
08:26:04 <pikhq> Heheheh.
08:34:14 <bsmntbombdood> yum
08:37:34 <pikhq> *echm* It's coffeezilla!
08:43:03 <GregorR-L> Caffeine written in JavaScript?
08:54:17 <pikhq> No, no, no.
08:54:32 <pikhq> Obviously, you want JavaScript written in CaffeineScript.
08:54:46 <pikhq> Night. . .
08:57:21 -!- GregorR-L has quit ("Leaving").
09:40:43 -!- GreaseMonkey has joined.
10:37:04 -!- GreaseMonkey has quit ("The future of IRC --> mIRC http://www.mirc.com <-- Crappy ads in your quit message").
11:41:57 <SimonRC> Never let Robocop hang the decorations on your Christmas tree, he will only break them all.
11:43:05 * oklopol will keep that in mind
11:44:25 <SimonRC> These dream-messages don't seem quite as profound when you tell them to someone.
11:49:37 <oklopol> hmm... i'm pretty sure i play the piano better than GregorR... or at least used to play, but if that's his composition, i'm fucking impressed
11:50:37 <oklopol> SimonRC: please tell me about your sleep expreriments :)
11:51:21 <oklopol> okay, i guess i couldn't concentrate enough to play that long a piece in one go
11:52:41 <oklopol> i wish i knew another composer, i could play my card game with them
11:52:58 <oklopol> perhaps i'll articlify that
11:53:00 <oklopol> ->
11:57:24 <SimonRC> not ubermans...
11:57:49 <SimonRC> http://www.everything2.com/index.pl?node_id=69872
11:57:53 * SimonRC goes back to bed
13:03:24 -!- jix_ has joined.
13:19:44 -!- jix__ has joined.
13:28:13 -!- jix_ has quit (Read error: 110 (Connection timed out)).
15:19:05 * SimonRC loves his magical shrinking code
15:19:14 <SimonRC> The more you hack on it, the shorter it gets.
15:27:19 -!- crathman has joined.
16:15:45 -!- crathman has quit ("ChatZilla 0.9.78.1 [Firefox 2.0.0.4/2007051502]").
16:36:06 -!- oerjan has joined.
16:50:22 -!- sebbu has joined.
17:05:42 -!- jix__ has quit (Killed by douglas.freenode.net (Nick collision)).
17:06:18 -!- jix_ has joined.
17:06:36 -!- jix_ has changed nick to jix.
19:03:05 <Asztal> !bf_txtgen ACTION tests
19:03:35 <Asztal> <_<
19:03:41 <EgoBot> 115 +++++++++++++[>+++++>++++++>+++++++++>++<<<<-]>.++.>++++++.<++++++.++++++.-.>>>++++++.<-.<+++++++++++++++++.>-.+.-. [885]
19:07:03 <oerjan> !bf +++++++++++++[>+++++>++++++>+++++++++>++<<<<-]+.>.++.>++++++.<++++++.++++++.-.<.>>>>++++++.<-.<+++++++++++++++++.>-.+.-.
19:07:05 <EgoBot> <CTCP>ACTION<CTCP> tests
19:07:38 <oerjan> oh
19:07:45 <pikhq> Do it again, and it'll work.
19:07:48 <Asztal> well, I was going to add ASCII 001 to the start and end, and see if it did a CTCP action
19:07:54 <Asztal> !bf +.++++++++++++[>+++++>++++++>+++++++++>++<<<<-]>.++.>++++++.<++++++.++++++.-.>>>++++++.<-.<+++++++++++++++++.>-.+.-.[-]+.
19:07:57 * EgoBot tests
19:08:17 <pikhq> It's an issue with EgoBot's buffering; the first time it sends a CTCP, it fails.
19:08:18 <oerjan> so did i except i forgot the "tests" should also be inside
19:08:42 <pikhq> . . . Ah.
19:12:47 <oerjan> !bf_txtgen <CTCP>ACTION tests again<CTCP>
19:13:37 <oerjan> !ps
19:13:41 <EgoBot> 1 oerjan: bf_txtgen
19:13:43 <EgoBot> 2 oerjan: ps
19:13:45 -!- puzzlet has joined.
19:13:47 <EgoBot> 169 +++++++++++++[>>+++++++++>+++++>++<<<<-]>+.>>.++.+++++++++++++++++.-----------.++++++.-.>++++++.<<-.>+++++++++++++++++++++++.<-.+.-.>>.<----.<------------.>.<++.+++++.<. [744]
19:13:57 <oerjan> !bf +++++++++++++[>>+++++++++>+++++>++<<<<-]>+.>>.++.+++++++++++++++++.-----------.++++++.-.>++++++.<<-.>+++++++++++++++++++++++.<-.+.-.>>.<----.<------------.>.<++.+++++.<.
19:14:01 * EgoBot tests again
19:31:08 -!- puzzlet_ has quit (Read error: 110 (Connection timed out)).
20:05:44 -!- ehird` has joined.
20:07:14 -!- boily has joined.
20:18:52 -!- oerjan has quit ("Good night").
20:18:52 -!- boily has quit ("Lunch").
21:02:05 <bsmntbombdood> i want to try ubermans again but i need a better way to keep on it
21:07:34 <ehird`> I wonder... if we all banded together, would it be possible to make a language that's so massively massive and convoluted (like intercal *= googolplex intercals or something) that we need an entire Hello World Development Sub-Comittee deciding which output function we should use?
21:23:43 -!- c|p has joined.
21:25:55 <bsmntbombdood> try per
21:25:56 <bsmntbombdood> l
21:26:06 <ehird`> hah!
21:26:10 <ehird`> no but seriously. :)
21:48:27 -!- jix has quit ("CommandQ").
22:08:36 <Asztal> well, there's malbolge... although it's more of a turing tarpit-type thing
22:08:55 <lament> ehird`: that _does_ sound like perl.
22:09:00 <SimonRC> _Contact_ FTW!
22:09:11 <bsmntbombdood> contact?
22:10:28 <SimonRC> no, _Contact_
22:10:36 <bsmntbombdood> contact?
22:10:42 <SimonRC> gah!
22:10:48 <SimonRC> no, _Contact_
22:10:55 <SimonRC> notice the underlining
22:11:02 <bsmntbombdood> what's contact?
22:11:37 <SimonRC> The underlining indicates it is the title of an artwork, piece of fiction, film, or similar
22:38:00 -!- ehird` has quit.
23:33:01 -!- sebbu has quit ("@+").
←2007-06-05 2007-06-06 2007-06-07→ ↑2007 ↑all