irclog2html for #tacobeam on 20041017

00:04.56StrFox~seen zak
00:04.58jbotzak <~user@navi.cs.colorado.edu> was last seen on IRC in channel #tacobeam, 1d 6h 39m 18s ago, saying: 'darth_mall: you and rich both.'.
00:05.08StrFoxhmm
00:07.27scanlinewow
00:07.32scanlinefound another memory leak in uinput
00:12.35purple_cowooh neat
00:12.46purple_cowgentoo-dev-sources now has inotify
00:13.01CIA-5navi-misc: 03micah * r5707 10inputpipe/uinput/ (uinput.c uinput.h): Add a new ioctl for setting the device's physical path.
00:24.31ChipX86hah, cute.
00:24.37ChipX86Subject: Your Apple Ipod40 is pending shipping authorization: confirmation needed      
00:27.03purple_cowooh, now this is cute
00:27.05purple_cowhttp://www.gnome.org/projects/beagle/img/screenshot-mockup.png
00:27.45ChipX86neat
00:27.51ChipX86I want to get beagle working
00:28.03ChipX86but I get the impression it's just not mature enough yet for me to want to really invest time
00:29.19ChipX86:/
00:29.25scanlineyay, that was a nice crash
00:29.27scanlineI didn't notice anything was wrong until gcc segfaulted, then I had a bunch of oopses in vfs
00:34.18scanlinehah, that also managed to screw up my clock
00:34.19scanlineneat
00:42.18purple_cowheh, i like alex's travel guide
00:42.33purple_cowi wish i was brave enough to travel that way :P
00:44.30scanlinew00t
00:44.36scanlineI: Bus=0003 Vendor=046d Product=c211 Version=0045
00:44.37scanlineN: Name="Logitech WingMan Cordless Gamepad"
00:44.37scanlineP: Phys=ipipe://127.0.0.1:32877/usb-0000:00:0f.0-1/input0
00:44.37scanlineH: Handlers=js2 event4
00:44.49purple_cowscanline: very cool
00:45.21scanlineyay for heavily hacked up uinput.ko
00:45.35purple_cowso, gonna send it off to LKML? :)
00:45.43scanlineafter more testing, I'd like to
00:52.24scanlinehmm, another crash
00:52.28scanlinebut that one had no warning, my machine just froze up... and it's done that before :P
00:55.10CIA-5navi-misc: 03micah * r5708 10inputpipe/ (5 files in 2 dirs):
00:55.10CIA-5navi-misc: Finish physical path support. uinput's UI_SET_PHYS seems to be working now, and
00:55.10CIA-5navi-misc: inputpipe has a new packet type for sending the physical path. inputpipe-server
00:55.10CIA-5navi-misc: sets up a path of the form ipipe://client:port/client-path, so it's easy to
00:55.10CIA-5navi-misc: identify exactly where a device comes from, even when inputpipe is involved.
01:00.31scanlineChipX86: this vmware installer is rather gentoo-unfriendly
01:00.47ChipX86:( how so?
01:01.15scanline"What is the directory that contains the init directories (rc0.d/ to
01:01.15scanlinerc6.d/)? /etc/rc.d
01:01.15scanlineThe path "/etc/rc.d" is a directory which does not contain a rc0.d directory."
01:01.19scanlinebut it has rc2,d, rc3.d, etc.. just not rc0
01:01.47ChipX86hmm
01:01.57scanlinehaha
01:02.06scanlineand it won't let you kill the installer until it's installed the uninstaller
01:02.28ChipX86we want to nuke the installer completely
01:02.30ChipX86we just can't yet
01:02.38scanlineyeah
01:02.44scanlineI wonder if I can get the vmware ebuild to work with this version..
01:10.42CIA-5galago: 03chipx86 * r1387 10libgalago-gtk/po/ (ChangeLog POTFILES.in libgalago-gtk.pot pt_BR.po): Updated POTFILES.in.
01:15.49purple_cowhmm, i should make food
01:17.24CIA-5navi-misc: 03micah * r5709 10inputpipe/uinput/ (uinput.c uinput.h):
01:17.24CIA-5navi-misc: Go back to using a switch statement rather than a > comparison to determine
01:17.24CIA-5navi-misc: which ioctls are allowed while the device is created. We can't make assumptions
01:17.24CIA-5navi-misc: about what _IOW and _IOR put in the high bits of the ioctl number.
01:22.35scanlinehrmph
01:22.47scanlinethis is silly:
01:22.54scanlineN: Name="Logitech WingMan Cordless Gamepad"
01:22.54scanlineP: Phys=ipipe://stdin/usb-0000:00:0f.0-1/input0
01:22.58scanlinewhen running through inetd :P
01:36.16CIA-5navi-misc: 03micah * r5710 10inputpipe/src/server.c: Fix client addresses when inputpipe-server is running through inetd
01:37.55scanlinea
01:38.13scanlineah. the vmware installer works much better if you let gentoo install an older version, then use the installer to upgrade it
01:40.26purple_cowyay food
01:41.32scanlinehaha
01:41.34scanline"You are running VMware Workstation with the DEBUG option.  Please be advised that the additional logging and error checking enabled by this option result in substantially slower execution.
01:41.35scanlineThis option cannot be disabled on this build of VMware Workstation."
01:42.24ChipX86yep
01:42.25purple_cowhttp://www.cnn.com/2004/US/10/15/halloween.sabbath.ap/index.html
01:42.26ChipX86sorry :)
01:42.33ChipX86make a VM with no OS
01:42.36ChipX86you'll get a fun error
01:42.47ChipX86(let it boot)
01:43.18scanline:)
01:43.23scanlinelooks like some icons are missing
01:43.34scanlinebig red-X-on-piece-of-paper while unsuspending
01:43.44ChipX86we're waiting for the icons to be made for us
01:44.03ChipX86I'm not sure if we'll have them for beta1 or not
01:44.09scanlineah
01:44.32scanlinethe UI looks much nicer
01:44.43KeyserSozeSophie_ wants to know what the best linux distro is right now
01:44.48scanlinethough the border around the VM area is kind of annoyingly big
01:44.59kergothgentoo or debian.
01:45.25KeyserSozeor, it hates me :)
01:45.37ChipX86scanline: you can go to the quick switch mode
01:46.23purple_cowyay
01:46.26purple_cowfood in my tummy
01:46.37Sophie_mm, beef.
01:46.57scanlineChipX86: eek. not that
01:47.12scanlineChipX86: the gray raised area around the VM.. between it and the edge of the window
01:47.18purple_cowSophie_: hey now, we barely know each other
01:47.19scanlineChipX86: it really doesn't need to be there
01:47.33*** join/#tacobeam Steck (~Steck@c-24-11-5-123.client.comcast.net)
01:47.33ChipX86*blink* hmm
01:47.36ChipX86it's Steck!
01:47.45Steckevenin
01:47.51scanlineChipX86: I could make a screenshot with arrows :)
01:48.02ChipX86I see it
01:48.10ChipX86I know why that is
01:48.17SteckSophie_ ya here?
01:48.20ChipX86it's actually gtk's fault, but there's a work-around
01:48.22Sophie_yep
01:48.26Steckpm ?
01:48.28ChipX86I'll mention it Monday
01:48.29scanlineit'd be nicer if the VM's screen was right up next to the menu and window border
01:48.36Sophie_pm?
01:48.53purple_cowwell, it'd also be fine to have a couple pixels, maybe with a shadow-in
01:48.58scanlineChipX86: now you need to make vmware install a theme for win2k that makes it look just like gtk2 :)
01:49.00purple_cowbut not something that big and fugly ;)
01:49.08purple_cowscanline: hahaha
01:50.01scanlineChipX86: the quick switch mode is a neat idea, but that border really needs to die.. having a gray border around the entire screen when the VM is mostly-fullscreen is evil
01:50.12ChipX86yeah
01:50.17ChipX86you can always go full screen I guess
01:50.22ChipX86but I'll see if we can nuke it
01:50.33scanlineI guess I can go fullscreen now that I'm not dualhead
01:50.40scanlineif my LCD still worked i'd test yer xinerama happiness :P
01:50.47ChipX86beta1 will be much nicer than that horrible fnf
01:51.05scanlineI always wanted vmware to be able to go fullscreen on only one monitor
01:51.36purple_cowpoor scanline :(
01:52.45ChipX86yeah :(
01:52.58scanlinehrmph
01:53.06scanlinehow can I make xinetd stop eating my process's stdout and stderr?
01:53.19ChipX86rm xinetd
01:53.21scanlineeven if I tell it to log to /dev/stdout it eats my output
01:53.22scanlineheh
01:53.26KeyserSozelol
01:53.38ChipX86<PROTECTED>
01:53.41purple_cowerr, isn't that what inetd is supposed to do? :P
01:53.55scanlinepurple_cow: I need the output for debugging
01:54.05ChipX86oh nm
01:54.06ChipX86misread
01:54.08purple_cowfprint? :)
01:54.15scanlinemight have to :P
01:54.29scanlinebut I know this problem would be obvious if I could just strace it while running from inetd
02:00.08ChipX86I hate pages that assume I have a plugin to play a video inline and don't want to just download the thing
02:00.32scanlineyeah
02:00.49lurgyyay back
02:00.55purple_cowyay lurgy
02:00.57KeyserSozethe main reason they do it, i think, is so you can't easily save the video
02:00.58purple_cowjust in time to play
02:01.02purple_cowby about 30 minutes or so
02:01.11purple_cow;)
02:01.28ChipX86http://www.ifilm.com/filmdetail?ifilmid=2652831
02:02.16purple_cowChipX86: /navi/media/video/clips/crossfire-20041015.mp4
02:02.20ChipX86oh
02:02.27ChipX86oh well
02:02.56purple_cowhrm
02:03.14purple_cowyay, time to valgrind evolution
02:03.28ChipX86oh fun
02:03.30ChipX86see you tomorrow!
02:03.34purple_cowhehe
02:04.36ChipX86this is hilarious
02:04.50scanlineahh
02:04.51scanlineyay strace
02:05.00scanlineI was writing to stdin
02:05.46darth_mallerg...
02:06.07ChipX86scanline: that's a silly thing to do
02:09.09ChipX86Jon Stewart has some guts :)
02:09.18darth_mallcajones too
02:09.25lurgyand jalapenos
02:13.57darth_malllurgy: =\
02:14.11lurgydarth_mall: i doubt it
02:15.15lurgyKrista = new ECE + music person
02:15.46darth_mallah
02:15.49darth_mallscary
02:15.57lurgyshe didn't look so well when she was sitting in the music building earlier this week
02:16.01darth_mall=\
02:16.04ChipX86I miss Trippin' The Rift
02:16.08*** join/#tacobeam SecretMethod70 (~SecretMet@uac-182-89.uac-resnet.depaul.edu)
02:16.08lurgyyeah, =/
02:16.14darth_mallChipX86: it probably misses you too
02:16.14lurgyit's like a plague
02:16.17darth_mallI know I would ;)
02:16.37ChipX86Trippin' the Rift brought hopes and dreams to children around the world
02:16.39ChipX86and now it's gone
02:16.52darth_mallthat too
02:17.26purple_cowohhhh i'm an idiot
02:17.39ChipX86awww. Not always!
02:17.52purple_cowthis crash wasn't in the evolution code, it was in a plugin that i haven't updated :P
02:17.57ChipX86hah
02:18.11darth_malloooh... I could go for some Simpsons
02:18.19lurgyyay simpsons
02:18.39lurgydarth_mall: sure
02:18.49scanlinethere's a bomb... in the kitchen...!!!
02:19.04lurgyyay kitchen
02:19.19lurgy"There's a bomb in the kitchen,
02:19.23lurgy<PROTECTED>
02:19.31lurgy<PROTECTED>
02:19.32lurgy"
02:20.20lurgyuh oh purple_cow's got the ol' banjo out
02:20.51filelurgy: should I be afraid?
02:20.56purple_cowyep
02:21.03ChipX86yay JoA
02:23.52lurgybanjobanjobanjo
02:24.08ChipX86God is funny on this show
02:24.14lurgyhehe
02:24.19lurgyyeah, God usually is funny..
02:24.45ChipX86he projected himself as a geeky professor and was talking about drugs and sex in front of a classroom of kids, and the principal kicked him out for being too graphic
02:25.35lurgyhehe
02:26.33CIA-5openembedded: 03kergoth 07 * r1.801 10oe-newdata/bin/oe/data.py: Adding more test cases for oevar variable expansion and escape handling, as well as for oedict.
02:31.28scanlineohhhh
02:31.41scanlinexinetd is sending not just stdout over the socket, but also stderr
02:31.43scanlinewtf
02:31.53CIA-5openembedded: 03kergoth 07 * r1.802 10oe-newdata/bin/oe/data.py:
02:31.53CIA-5openembedded: Fix bug in handling of the python types supported by the embedded python
02:31.53CIA-5openembedded: statements in oe variables (caught by the test cases. testing, what a concept.)
02:31.54darth_mallpurple_cow: no game tonight, neither ashvin nor I feel up to storytelling
02:32.09scanline:(
02:32.12purple_cow:(
02:32.20lurgy:(
02:33.33darth_malllurgy: you should hollar if you're gonna watch the simpsons and want some company
02:34.29lurgyhmm
02:34.46Sophie_hollaaa.
02:34.46lurgyif you're not gonna be playing, how 'bout Shaun of the Dead?
02:34.55purple_cowhmm!
02:34.58Sophie_word to your mutha.
02:35.02lurgyhehe
02:35.04lurgyhowdy Sophie_
02:35.13Sophie_heya lurgy
02:35.15darth_malluhoh... Sophie_'s been hit with the inner-city-english stick
02:35.42Sophie_true dat, bitch
02:35.45lurgyyay inner-city-english stick
02:35.50darth_malls/yay/boo/
02:36.06KeyserSozehehe.  sophie had a coworker who was this scrawny red-headed guy, who used to say "word", as a complete sentence
02:36.09lurgys/s\//m\//
02:36.27lurgyWORD!!
02:36.43*** join/#tacobeam SecretMethod70 (~SecretMet@uac-182-89.uac-resnet.depaul.edu)
02:36.48lurgylike that?
02:36.55darth_malllol
02:37.03darth_malllurgy's good at that
02:37.15*** join/#tacobeam SecretMethod70 (~SecretMet@uac-182-89.uac-resnet.depaul.edu)
02:37.49CIA-5navi-misc: 03micah * r5711 10inputpipe/src/ (client.c packet.c packet.h server.c):
02:37.49CIA-5navi-misc: A metric handful of fixes that unbreak our inetd support. The packet_socket
02:37.49CIA-5navi-misc: object now supports separate fds for reading and writing, so we use stdin and
02:37.49CIA-5navi-misc: stdout correctly. We also suppress stderr messages when in inetd mode (same as
02:37.49CIA-5navi-misc: the -q flag) since they will be sent over the socket as well, thereby screwing
02:37.50CIA-5navi-misc: up our protocol nastily.
02:38.11Sophie_heh
02:40.40ChipX86"God smokes?!" "I don't inhale."
02:40.48darth_mallsilly ChipX86
02:41.07ChipX86"Master of the universe here carded me."
02:44.09CIA-5navi-misc: 03micah * r5712 10inputpipe/ (Makefile src/client.c src/input.h src/packet.h src/server.c): Use a local copy of input.h, so we don't need all these workarounds for machines with old copies of it
02:44.54Sophie_I want to download something
02:45.06Sophie_does anyone feel like sending me anything?
02:45.32purple_cow/navi/media/audio/groups/Bjork/gling_glo
02:45.42purple_cowthat's something to download :)
02:45.52scanlineDAMN 2.4
02:45.57scanlineit doesn't do physical addresses at all
02:46.03kergothheh
02:46.06kergothdamn 2.4 indeed
02:46.43Sophie_that ftp?
02:46.45kergotherr.. in python.. when you do:
02:46.48kergothe = myclass()
02:46.49kergothif e:
02:46.59kergothwhat method is called to determine the answer to that conditional?
02:47.07kergoth__nonzero__()?
02:48.46purple_cow__truthitude__()
02:49.06lurgySophie_: you could download http://navi.cx/~lurgyman/tmp/churchsign.jpg
02:49.09darth_mallugh... headache
02:49.30darth_malllurgy: you so cute
02:49.36lurgyuh oh
02:49.43darth_mallyeah, I know, scary
02:51.05lurgyyay only 26 hours until we have our very own copy of The Critic
02:51.06scanlinekergoth: it bothers me to no end that they made so many changes to the input system between 2.4 and 2.6, but they didn't change the result of EVIOCGVERSION
02:52.03scanlinekergoth: is there any way to reliably detect whether the current kernel's input system sends EV_SYN at all?
02:52.51kergothscanline: well, you can check the evbits, but its just bit 0, which iirc was something else in 2.4
02:53.21scanlineyeah
02:53.22scanlineEV_RST
02:53.28scanlinehmm
02:55.03darth_mallhehe... kill bill
02:55.59scanlinekergoth: hmm, that might do it. looks like that bit isn't set on 2.4, but it always is on 2.6
02:56.13nullpuppymmmm, ritz and cheese-wiz
02:56.38kergothscanline: its what i altered tslib to use to determine whether it should expect it
02:56.43kergothscanline: but i never did test it :)
02:56.49kergothonly used it on 2.6
03:04.56scanlinebleh, I hate 2.4 so much...
03:06.31scanlineto do this right, both the client and server side will need to check the syn bit
03:06.32nullpuppyit hates you too
03:06.40scanlinethe client needs to know whether to flush its buffers after every event or just after a syn
03:06.47scanlineand the server will need to know whether to insert artificial syn events
03:15.39CIA-5openembedded: 03kergoth 07 * r1.803 10oe-newdata/bin/ (oe/data.py oe/make.py oe/parse/ConfHandler.py oeread): A number of oe.data bugfixes that I don't feel like listing in this changeset's comments.
03:21.28laodamas$2200 1GB RAM/1TB HDD/2x2.0GHZ/GFFX5700U dual DVI
03:22.11nullpuppynot bad
03:22.55laodamasnope :)
03:23.03laodamasall I need now is money...
03:23.20KeyserSozewhere'd you see that at?
03:23.31KeyserSozewhat chipset on the MB?
03:23.57laodamasKeyserSoze: parts from newegg; AMD8000 chipset
03:24.11filemmm Opteron
03:28.45KeyserSozebut, maybe that's only in comparison to Via
03:29.17laodamasnForce3==$450+ MoBo
03:29.22fileI've got 30 seconds of hold music, but it's so perfectly put together that when it loops you can't tell
03:30.24nullpuppycartman?
03:30.51laodamashttp://navi.cx/~lurgyman/tmp/holynight.mp3
03:31.10KeyserSozelaodamas: the MSI K8N has the nForce3 Ultra, and is $131
03:31.36KeyserSozeoh, /me was looking at socket 939
03:32.18laodamasKeyserSoze: Try the server mobo section
03:32.35nullpuppywell.. brb... gotta run to the store
03:34.26KeyserSozei remember before hammer came out, pundits said MBs would be cheap since the memory controller would be on the CPU
03:35.45KeyserSoze(dual opteron small-form-factor PC, nForce3 chipset, allegedly under $500)
03:36.21KeyserSozewhich at the time I heard of it, I thought was high.  but if nForce3 motherboards are as pricey as newegg has them, maybe case+mb+ps for $4xx isn't so bad
03:36.49fileokay, I should go back to working on my graphic design project
03:41.16kergothyay pixies
03:41.52CIA-5galago: 03chipx86 * r1388 10galago-sharp/ (5 files in 3 dirs): Pass make distcheck.
03:42.40CIA-5navi-misc: 03micah * r5713 10inputpipe/src/client.c:
03:42.40CIA-5navi-misc: Detect the EV_SYN bit, telling us whether the kernel plans on generating
03:42.40CIA-5navi-misc: synchronization events. If so, flush the write buffer after every event. If not,
03:42.40CIA-5navi-misc: flush only after a sync. Removed client-side generation of artificial sync
03:42.41CIA-5navi-misc: events- that can be done server-side now, so it's a waste of bandwidth.
03:42.59CIA-5navi-misc: 03micah * r5714 10inputpipe/src/server.c: Server-side artificial EV_SYN generation when necessary
03:54.03CIA-5navi-misc: 03micah * r5715 10inputpipe/src/server.c: Set a default physical address, so even if the client never sends us one we still get to label our input device with the client's IP address and port.
03:55.42ChipX86what makes this show great is how Joan and God are constantly harassing each other
03:55.55KeyserSozeare there episodes on navi?
03:56.00ChipX86dunno
03:56.26KeyserSozehmmm.  is it called "Iron Chef"?
03:56.34nullpuppyhey, ChipX86 think you could get me md5sum's of all the episodes when ya get a chance?
03:56.35ChipX86Joan of Arcadia
03:56.40ChipX86nullpuppy: sure
03:56.57KeyserSozedamn.  unless if maybe they accidentally called it "Iron Chef", but mistake.
03:57.08nullpuppyi've got a couple episodes that appear to be done, but won't play... i see the first like.. minute or two and it dies
03:57.14ChipX86weird
03:57.18ChipX86I should have just uploaded them to you
03:57.25nullpuppyhehe, yeah
03:57.31nullpuppy213hrs left :)
03:57.34ChipX86wow
03:57.39nullpuppy51.3% done though
04:11.49ChipX86I didn't realize how much of this series I've never seen
04:12.52rioteroh thats cool
04:13.01rioter49$ for unlimited gprs traffic
04:13.36scanlinepurple_cow: hmm, I do
04:13.38scanlinepurple_cow: but I also want 2.6 on navi :(
04:13.42scanlinepurple_cow: we're going to either need a nasty hack, or a 2.6 version of evdev on there in order to do rumble
04:14.36nullpuppyhmm, anyone have the team america sound trakc yet?
04:17.05*** join/#tacobeam file (~joshnet@mctn1-2452.nb.aliant.net)
04:18.23laodamasnot me, and supernova only has camcorder versions of the movie :(
04:18.36nullpuppy:(
04:18.37nullpuppydamn
04:18.51nullpuppysoo want a copy of america, f*ck yeah!
04:18.52nullpuppy:)
04:18.59laodamasI'm still waiting for a studio to do a simultanious DVD/cinema release
04:19.37nullpuppyhaha, that'd be cool
04:21.41laodamasor at least a "send 2 team america ticket stubs and $5.99s/h" DVD offer at the cinema
04:22.07nullpuppyhehe, that'd be sweet
04:22.45*** join/#tacobeam merlin262 (~andrew@wbar11.dal1-4.26.188.61.dal1.dsl-verizon.net)
04:22.59ChipX86hahah
04:23.24ChipX86I love this show
04:23.33ChipX86and I hate automake. hrm.
04:23.33CIA-5navi-misc: 03micah * r5716 10wasabi/devices/gchub/kernel/gchub.c: Temporarily disable all the ff_effect sanity checking until we actually need it. In a pinch, this might work on 2.4 now.
04:25.58scanlinehehe
04:26.04ChipX86haha
04:26.28kergothand thats different from a devil costume how exactly? the m4 t-shirt?
04:26.30kergoth:)
04:26.53scanlineI think it's more of a swamp monster than a devil
04:27.22kergothooh that works. or the blob.  it should definately ooze and drip things wherever it walks
04:28.02scanlineit can drip $ and %
04:28.08kergothhehe
04:28.10laodamasand have ten personalities that conflict with each other
04:29.01kergothit should also spout things completely unrelated to the problem at hand
04:30.15scanlinelike flowers, and mud-bombs
04:31.01ChipX86it should also point to one path and tell everyone that's the destination, and then turn around and walk down another
04:36.53ChipX86tempted to go to the store and get edibles
04:41.43darth_mallChipX86: you should pick me up some more chicken soup
04:53.00ChipX86I have no idea what I would buy
04:53.16darth_mallchicken soup
04:53.38nullpuppypeanuts and popcorn
04:55.20purple_cowwould anybody like a peanut?
04:57.36lurgyrofl
04:58.10ChipX86haha, God was the pizza delivery guy, and Joan didn't give a tip. "No tip?! I got it here under 30 minutes!" "What, like that's hard for you?" *slam*
04:58.15lurgythis is looking to be the best new simpsons episode i've seen in a long, long time
04:59.44scanlinehmm, simpsons
04:59.47scanlinehmm
05:00.20scanlinei should build another s-video to composite cable, so I can at least hook up this TV as a second head for watching stuff while working
05:01.59lurgyanyone up for a simpsons afore i goes tobed?
05:02.42lurgyyay might
05:02.43lurgyok
05:06.17nullpuppyhmm, rhythmbox needs some kind of console control
05:13.43*** join/#tacobeam file[laptop] (~file_lapt@mctn1-2452.nb.aliant.net)
05:29.11kergothhm, python really tends to suck at doing efficient text parsing
05:30.37nullpuppythats cause python isn't perl
05:30.38nullpuppy:)
05:30.42kergothhehe
05:31.21kergoththis block of code i have here basically needs to parse a block of text character by character.
05:31.31kergothbut no matter what implementation you use, that ends up slow as ass when done in python
05:31.34kergothheh
05:31.37kergoth:\
05:31.46nullpuppy:/
05:31.48kergothguess i could brush up on my regex and see if i can do it that way
05:31.56nullpuppyhehe
05:32.21purple_cowyay, i dansi med per
05:32.29purple_cowwhat a cool song
05:37.55purple_cowoog
05:52.05scanlinekergoth: what kind of processing? python's regexes are quite powerful :)
05:52.10ChipX86yay groceries
05:52.35kergothscanline: yeah, named groups rock.
05:52.46scanlineyep. and iterating over matches
05:52.57ChipX86and matching over iterators
05:53.03kergothwhat i need to do is relatively simple.
05:53.16kergothi need to replace \\ with \, \n with a newline, etc.
05:53.22scanlineoh
05:53.26kergoththen i need to replace ${} with the variable contents they reference
05:53.34*** join/#tacobeam Patlabor221 (JeffM@Patlabor221.active.supporter.pdpc)
05:53.52kergoththen i need to replace ${@...} with the results of eval()'ing that content
05:53.54kergothetc
05:54.03kergothheh
05:54.14scanlinedamnit, the TV and my monitor are interfering with each other
05:54.57kergothits a bit of a pain with regexes.  i want to be able to output a useful error message when we've got a ${ but no } before hitting a newline/eof, ..
05:55.05ChipX86mine does that. I type some code on the monitor and it starts modifying the bits on the TV
05:55.20kergothcan probably do it, with extensive use of lookahead/lookbehind assertions and lots of named groups
05:55.24scanlineheh
05:55.45scanlinekergoth: or you could do it in a sane way
05:55.50kergothheh
05:55.59file[laptop]sane? who needs sanity!
05:56.49kergothscanline: right now i'm just iterating across the input string character by character.  but its horribly slow
05:56.52kergothheh
05:57.37scanlinekergoth: first replace backslash sequences, then iterate over matches to find areas of the string containing variables, eval'ed text, etc
05:58.03purple_cowhah
05:58.05scanlinekergoth: when you hit a ${, save its position, when you hit a newline and you have a saved ${ position, output an error, if you hit a $} and have a ${ position, do the substitution
05:58.06scanlineetc
05:58.22ChipX8695 cars in multiple accidents shut down I-95.
05:58.46purple_cowso due to all the stick swinging i've done over the last couple weeks, the muscle right below my elbow joint has gotten all bulgy. looks like a tumor or something, since it's not a muscle people usually use
05:58.55ChipX86eep
05:58.58ChipX86going to see a doctor?
05:59.04purple_cowno
05:59.07purple_cowbecause it's a muscle
05:59.12purple_cowjust looks weird
05:59.15ChipX86oh, ok
05:59.53scanlinewhere the hell is my xine UI
06:00.08ChipX86"You never went through highschool." "You never went through the crusades."