irclog2html for #picogui on 20030327

00:34.54*** join/#picogui scanlime (micah@aden2-42-dhcp.resnet.Colorado.EDU)
00:39.00captain_protonand for some reason, when i start it up it thinks i've got the control key pressed
00:39.10scan[pterm]hmm
00:39.32captain_protoneep
00:39.44scan[pterm]oh
00:39.49scan[pterm]it probably thinks alt is pressed
00:39.55captain_protonalt?
00:39.58scan[pterm]yes
00:40.00captain_protonits acting like control
00:40.08captain_protonie: press d, it logs out
00:40.17scan[pterm]hmm
00:40.24scan[pterm]if you press control and release it, does that fix it/
00:40.33scan[pterm]s/\//?/
00:40.34captain_protonyeah
00:40.49scan[pterm]I've seen something similar happen if I have the terminal focused and change virtual desktops
00:40.56scan[pterm]bug in the x11input driver
00:41.07captain_protonanother problem: i'm not getting the titlechange event
00:41.11scan[pterm]oh?
00:41.30scan[pterm]have you tried the regular pterm too, to make sure your copy of the server is sending the event?
00:42.16captain_protonhm, apparently its not
00:42.29scan[pterm]cvs up pgserver and recompile it? :)
00:42.38captain_protondone that
00:42.55scan[pterm]and for pterm I assume?
00:43.08scan[pterm]pterm was modified to set TERM=xterm
00:43.14scan[pterm]besides the actual event handler
00:43.28captain_protonyeah, have that
00:48.41captain_protonhrm
00:48.45captain_protonnew build made no difference
00:48.51captain_protonyou committed that code, right? :P
00:48.53scan[pterm]hmmmmmm
00:49.20scan[pterm]yeah, only uncommitted code I have is a little debugging for the x11 mouse reporting
00:49.37scan[pterm]and without the new constants.h, pterm wouldn't have compiled
00:51.41scan[pterm]are you sure your shell is sending the title change?
00:51.53scan[pterm]you could install vttest and use it to send the title change
00:52.44captain_protonshould be
00:53.01scan[pterm]try vttest
00:53.53captain_protonugh
00:53.57captain_protongaleon seggie
00:54.34captain_protonargh
00:54.35captain_protondid again
00:56.56captain_protonhm, that worked
00:58.29lalo[out]captain_proton: you should probably run the user's login shell
00:58.56captain_protonlalo[out]: yeah yeah...
00:59.01lalo[out]not very terribly hard to do in python
00:59.31scanlinemethinks the picogui launcher I'll be writing for 1.0 should be in python
01:00.08scanlineit will be dramatically easier to write all the launcher and configuration infrastructure in python, and if the VR3 can handle it, anything people would need a launcher on should be able to :)
01:00.39captain_protonscanline: is there a way for the tabpage to truncate its text instead of making the window grow? :P
01:00.51scanlinecaptain_proton: not yet, you'd have to do it yourself
01:00.52lalo[out]I considered writing a launcher in python
01:01.14lalo[out]problem is it consumes a lot of ram, specially in the vr3
01:01.26scanlineah
01:01.37captain_protonit would be nice if there was some way to make python share all the core-type bits
01:01.42lalo[out]yup
01:01.46lalo[out]I mean
01:01.53lalo[out]there is :-)
01:02.13scanlinehow about if it's launching another python app, instead of calling python it imports the file and runs it in a thread?
01:02.18lalo[out]but it's clumsy
01:02.27lalo[out]scanline: that's exactly what I was thinking
01:02.28scanlinehmm, that's probably get slow with python's not-really-threadedness
01:02.47scanlineworth a try though
01:02.59lalo[out]no, python threads aren't too slow
01:03.05lalo[out]zope works, after all :-)
01:03.15scanlinelalo[out]: I was just thinking about the big interpreter lock :)
01:03.18lalo[out]but the f*ing snow environment has no threads
01:03.37scanlineah
01:03.40lalo[out]the interpreter lock is no problem... it is "thread-safe" in *this* aspect
01:03.49lalo[out]I mean
01:03.58scanlinewell, I know it's thread-safe. but the huge lock I thought would make things slow
01:03.59lalo[out]scratch that, my brain dozed
01:04.24scanlinewell, I could write us a good launcher in C
01:04.27lalo[out]I was thinking of cli_python's event loop
01:05.03lalo[out]I agree a python launcher would be cool
01:05.05scanlinebut it would be really easy to do a nice launcher and configuration app in python
01:05.24lalo[out]and the only place where it's a problem is the f*ing braindead snow
01:05.27scanlinehmm...
01:05.29scanlineanother decision:
01:05.42scanlineshould app-server be a 1.0 goal, or should the launcher for 1.0 use something like res_c?
01:05.50lalo[out]I would anyway if I went uclibc
01:06.23lalo[out]not sure... I want an app server... but I also want to get rid of this and start working on 2.0 :-P
01:06.35scanlineyeah
01:07.06scanlineat this point I would lean toward the option that gives us less support hassle while we're trying to code 2.0 :)
01:07.29scanlineand that would be a python module for managing app packaging, and a launcher written in python that uses it
01:07.51captain_protonscanline: what is the property in Application for the title?
01:08.02scanlinePG_WP_TEXT
01:08.13scanlineer, 'text' in python
01:09.59captain_protonmind if i quickly flood?
01:10.04scanlineI don't mind
01:10.07captain_protonTraceback (most recent call last):
01:10.07captain_proton<PROTECTED>
01:10.07captain_proton<PROTECTED>
01:10.07captain_proton<PROTECTED>
01:10.07captain_proton<PROTECTED>
01:10.08captain_proton<PROTECTED>
01:10.10captain_proton<PROTECTED>
01:10.12captain_proton<PROTECTED>
01:10.14captain_proton<PROTECTED>
01:10.16captain_protonTypeError: tabClicked() takes exactly 2 arguments (3 given)
01:10.59scanlinehrm..
01:11.07lalo[out]bug
01:11.33lalo[out]that means your code raised a TypeError, and the dispatcher innocently thought you were requesting for a third argument
01:11.53lalo[out]perhaps we bork less code if we remove this test and the DeprecationWarning? :-P
01:12.04scanlineI'd leave it in
01:12.45scanlinethough it would be nice if it could tell when an exception was about the arguments and when it's not
01:15.29captain_protonyay for updates :)
01:15.36captain_protonepterm is starting to almost be usable
01:16.00njsthere's no way to use python introspection to ask how many arguments a callable takes?
01:16.40lalo[out]njs: kinda
01:17.05njs(of course, in python, a callable can take either 2 or 3 arguments, and I don't know what you plan to do then :-))
01:17.27lalo[out]but it breaks if the handler is a method of a class, or an object pretending to be a function
01:17.32lalo[out]so it's not worth it
01:25.20*** join/#picogui kiatoa (~matt@rich-dsl3-66.greenmountainaccess.net)
01:28.50kiatoaknock, knock, anyone home? Scanline?
01:33.00lalo[out]'nite
01:33.19kiatoabye
01:53.16scanlinekiatoa: hi
01:53.27*** join/#picogui rev|desk (Malkin@umd97-21.d.umn.edu)
01:53.36rev|deskho-la
01:53.43scanlinehi rev|desk
01:54.37rev|deskand i must run picogui on it at some point
01:54.45scanline:)
01:55.33rev|deski was playing with the poor helio+pgui again
01:55.40scanlineha
01:55.54rev|deski had some grand plans based on a simple squeak app
01:56.00rev|deskbut gave up
01:56.08rev|deski wish someone wanted it, even for like $10-30
01:56.17rev|deskjust so that it was being *used* instead of just sitting in a cubbord
01:56.37scanlineI have a couple helios doing nothing as well...
01:56.42rev|deska shame
01:56.50scanlinemight try to update the picogui and linux on them once I have some usable software
01:56.53rev|deski could make a beowulf cluter of them
01:56.54rev|deskyeah
01:57.12rev|deski've been using it under VT-OS some lately as a watch, and calendar
01:57.22rev|deskjust because the newton can be huge in the pocket sometimes
01:57.27rev|deskbut with this zaurus
01:57.30rev|deskit's small enough
01:57.54scanlineyep
01:57.55scanlinebbiab
01:58.00rev|desklike, i usually have my newton with me during the day at work and in class, but if i'm going out, or something, i hate to bring the big newton just for a time piece
01:59.07*** join/#picogui gonkulator (~brandon@aden2-235-dhcp.resnet.colorado.edu)
01:59.24gonkulatorhi
02:00.07rev|deskhey gonkie
02:00.21captain_protonscanline: food\
02:07.12*** join/#picogui file (file@mctn1-7519.nb.aliant.net)
02:26.26*** part/#picogui rev|desk (Malkin@umd97-21.d.umn.edu)
02:40.58*** join/#picogui gonkulator (~brandon@aden2-244-dhcp.resnet.colorado.edu)
02:41.53*** join/#picogui decaff (khedspet@1Cust81.tnt20.tpa2.da.uu.net)
02:42.27*** join/#picogui file (file@mctn1-7147.nb.aliant.net)
02:58.33*** join/#picogui prpplague (~joebob@21-190.lctv-b4.cablelynx.com)
02:59.38*** join/#picogui decaff (khedspet@1Cust81.tnt20.tpa2.da.uu.net)
03:26.05captain_protonscanline: care to do some stuff? :P
03:26.19scanlineeh?
03:26.37captain_proton1) tabpage
03:27.01captain_proton2) modified hotkeys
03:30.04scanlineehmyeah...
03:30.11scanlineI'm still doing the VT102 emulation :P
03:30.40njsscanline: how does picogui handle "scheduling"?
03:31.01scanlinenot very well :)
03:31.15njsscanline: meaning, you're using an event loop, so each time around you have to decide what to do next, and the decision matters...
03:31.29scanlineright
03:31.52scanlinesince speed there hasn't been a problem, and that code's going to get rewritten anyway, it just goes in order of file descriptor
03:32.01njsround-robin?
03:32.05scanlineyes
03:32.20njsand a redraw in between each round, or?
03:32.30scanlineno, a redraw when one is necessary
03:32.54njswell, "redraw" = "repair any damage (doing nothing if there is no damage)" in my head :-)
03:32.56captain_protonscanline: thats not based on birds
03:32.57scanlinepicogui defines that as after something has changed, and before user interaction is required
03:33.02captain_protonits based on robin, king of the britains
03:33.11scanlinecaptain_proton: ah
03:33.15scanlinethen that's ok
03:33.19njscaptain_proton: is it really?  huh.  I always wondered about that.
03:33.36njsscanline: well, you need some word... "in order of file descriptor" could mean handle all outstanding requests on the first before going on to the second :-)
03:33.45scanlinenjs: ah. yeah
03:34.08scanlinenjs: but that code has been given hardly any thought.. I know it needs smarter scheduling, but there have been more important things to do
03:34.32captain_protonlike...tabpage bugfixes!
03:34.43scanline...or the vt102 emulation...
03:34.56captain_protonsilly silly emacs user
03:37.23njsI wonder if there's ever any performance benefit to handling multiple requests from a single client at once.
03:37.53njsIn particular, I wonder if keeping the cache warm by doing that is a measurable win.
03:38.57scanlinewould be worth profiling
03:39.22scanlinepicogui spends very nearly all its CPU time in the video driver though
03:39.30njsseems possible, especially in something like v2's architecture, where resolving resource ids -> objects implementing them via some per-client table would be a common operation, and possibly a bit expensive.
03:40.12njs(so keeping the table in cache would be good)
03:40.23njsyeah, of course
03:41.12njsI wonder how much of that is necessary -- i.e., if you had a proper acceleration architecture and were just shoving stuff into the card's render queue.
03:42.27scanlinewould be nice if we had any acceleration architecture :)
03:42.38njswell, yes :-)
03:43.04njsbut architecting on the assumption that it will exist eventually is reasonable :-)
03:44.54njs(Fresco currently spends some huge percentage of its time just in compositing and blitting to the framebuffer.)
03:46.18njs(well, that's true when using libart to render; I haven't profiled GLX)
04:42.08scanline<scanline> captain_proton: all the bugs you're complaining about should be scheduled for the 0.46 release
04:42.11scanline<scanline> so hopefully we can do a release of picogui that includes many bugfixes, plus epterm and nifty
04:42.17scanlinethere, correct channel :)
04:42.23Xentachehehe
04:43.36captain_proton=)
04:45.42scanlinehmm.. 0.45 needs a release name like "Strapping the first boot", since it will be possible to work on picogui from within picogui
04:49.28njsit handled vi before this round of hacking even started.
04:49.53Xentachehehe
04:49.57Xentacfigured as much
04:51.37scanlinewell, some types of vi
04:51.45scanlinebusybox vi worked, vim had problems with scrolling
04:51.50scanlinenow it should all work
04:51.59Xentachow much vt102 emulation is actually implemented?
04:52.37scanlinevery nearly all of it
04:52.50scanlinebut it was pretty much all implemented before, just really buggy
04:53.15Xentachehehe
04:54.32scanlinelauncher :)
04:54.38Xentachehehe
04:54.40scanlineor fix bugs, they're small :)
04:55.12njs"Take two, they're small."
04:55.57Xentacproblem with bugs is that I don't really know where to start ;o)
04:56.10scanlineXentac: there are some simple things to do also... check the "Ask not what PicoGUI can do for you..." news item
04:56.28scanlineone that pops into my mind is to move bugs from the old database to the new one :)
04:56.41Xentachehehe, yeah... but that's so boring :P
04:57.12scanlineyeah... he could also copy over the old wiki entries
04:57.15scanlinemaybe file :)
04:57.21Xentacthat's who I was going to suggest
04:58.41Xentacscanline: looks like page up and page down don't work in vim... but scrolling looks fine
04:58.47scanlinehmm
04:58.51scanlinepage up and page down work for me...
04:59.07Xentacin vim?
04:59.07scanlinepress ctrl and alt once each, you may be getting bit by a bug in the x11input driver where modifiers get stuck down
04:59.24Xentacnope, still does it
04:59.29scanlineoh
04:59.39scanlinehrm, guess I broke it when trying to implement the prefix switch
04:59.58scanlinegives me a "5~" or "6~" on the screen
05:00.49captain_proton'stuff!'
05:01.06scanlinesounds like the jetstream repository :)
05:01.11captain_protonuhhuh
05:01.22captain_protonscanline: care to make sure epterm does all its goodness on your machine?
05:01.28scanlinek
05:02.20scanlineyou could have used a message like "Improved dynamic title support"
05:02.25captain_protonhehe
05:02.27captain_protonbut you see
05:02.34captain_protonfor that, i would have had to remember what i changed since my last commit
05:02.38captain_protonor...done a diff
05:02.42scanlinethat's what "cvs diff" is for
05:02.44scanlineheh
05:02.52captain_protonpah!
05:02.59scanlinebut yeah, CVS is slow...
05:03.39captain_protonyupyup
05:03.44scanlinehmm, why did I just run 'make' in the epterm directory...
05:04.52Xentacwhat are you going to use instead of auto*?
05:04.54scanlineyay for tabbiness
05:04.58scanlineXentac: probably SCons
05:05.05scanlineplus a lot of new code for configuration
05:05.06captain_protonor
05:05.11captain_protona big-assed bash script!
05:05.18scanlinemost of that stuff will migrate pretty easily to picogui 2.0 when that time comes
05:05.22Xentachehehe... most of arch's scripts are written in bash
05:05.57scanlinehmm, so function keys only work for the first two tabs?
05:06.35captain_protonscanline: for now
05:06.52Xentacscanline: what exactly do you want done with the launcher? (I assume it's pgl we're talking about)
05:07.28scanlineah
05:07.36scanlineI just committed a really quick fix anyway
05:08.01scanlineXentac: well, I think it makes more sense at this point to scrap pgl and write one in python
05:08.10Xentacah, I see
05:08.50Xentacand I'm still confused as to what you want it to do... like... it's a menu bar...
05:09.03Xentacthat leaves a lot open to interpretation ;o)
05:09.08scanlinenot necessarily
05:09.32scanlineI was planning on the launcher being based on an embeddable file manager
05:09.34njsplaying with byte swapping code, I just timed my trivial macro versions compared to the inline asm versions in <byteswap.h>.
05:09.49scanlinebut without app-server, might as well just make it a set of python modules
05:10.08Xentacembeddable file manager, eh? that doesn't exist yet, does it?
05:10.12Xentacapp-server...?
05:10.18njsAnd for shorts, my macro is 4.2 times slower than the asm.  And for longs, my macro is 2.4 times _faster_ than the asm.
05:10.19scanlineyou'd have a module that would act like a file manager, and depending on the configuration it could appear in a menu-thingy, root menu, on the desktop...
05:10.32scanlinenjs: makes sense
05:10.44scanline:)
05:10.45njsscanline: how so?
05:11.13Xentacscanline: or all three...?
05:11.25scanlineXentac: yeah
05:11.33njsscanline: ah :-)
05:12.03scanlineXentac: the python module solution is easy and maintainable, but it locks anything that needs to use the file manager into python...
05:12.27scanlineXentac: but I don't think any of us want to put in the work to make app-server work when this is all eventually getting scrapped for 2.0 anyway
05:12.30scanline:)
05:12.51captain_protonexplain this mystical app-server
05:13.12scanlineIt was going to be responsible for tasks that are common between clients, but couldn't be tied to the server machine
05:13.21scanlineso you'd have one app-server running on each machine that had picogui clients active
05:13.42scanlineit would be responsible for loading and reading application packages, mapping mime types to app packages, and running embedded apps
05:13.47Xentacsilly sickness
05:13.56scanlineg'night Xentac
05:14.02Xentacnight
05:18.38njsNope, looking at the asm sheds no light on this mystery.
05:20.22captain_protonnjs: ghosts
05:22.53scanline~sci-fi du jour
05:22.57Explosion imminent: inverse flux tachyon emission generator in engineering, ensign spock
05:33.40njsHmm.  There are times when it's advantageous to have a gcc hacker sitting on the floor in your living room.
05:34.20*** join/#picogui darth_iBook (~wallacesh@64.denver-23-24rs.co.dial-access.att.net)
05:35.05scanlinenjs: :)
05:35.11njsthe moral of the story is: bswap_32 > hand-hacked macro _iff_ you compile with -march=i486 or better.
05:35.20scanlineah
05:36.03njsbecause 386-compatible optimized version manages to cause a partial register stall (!).
05:36.11scanlinehaha
06:01.59*** join/#picogui zak (noname@aden2-135-dhcp.resnet.Colorado.EDU)
06:02.06zakscanline: knock, knock
06:02.41captain_protonzak: whos there?
06:03.11zakcaptain_proton: me!!!
06:03.24zakme!!! who wants a soda!
06:03.43captain_protonzak: hmm
06:03.56captain_protongonkulator left 7/8 of a cel-ray in scanline's room, i'm sure you could have that
06:04.16zaki knock knocked him in two channels and msg'd him....he is not paying attention
06:04.17captain_protonscanline: make gonkulator get his ibook, if he's off to bed he should take it with him
06:08.28captain_protonhmm
06:08.29captain_protonscanline
06:08.39captain_protondoes x11 have problems if the window is larger than the desktop? :)
06:46.42njsnot in general, no.
06:46.54njsthough you may have some trouble using your WM to manipulate it
06:47.04scanlinexfree86 doesn't like creating a pixmap larger than the screen
06:47.21scanlineand by default, picogui's x11 driver works using SHM pixmaps
06:47.49scanlineI plan on eventually fixing the driver to use many smaller pixmaps though, because xfree86 is terribly slow at manipulating large pixmaps
06:47.55njsah, windows and pixmaps may be different
07:02.37*** join/#picogui captain_proton (~jupiter@aden2-23-dhcp.resnet.Colorado.EDU) [NETSPLIT VICTIM]
07:20.46njsHeh.
07:21.24njsAnd in further adventures in glibc-land, our hero discovers that when your arrays aren't four-byte aligned, copying them with a simple for loop is faster than memcpy, by a good 40%.
07:22.00scanlineI suspect that's only true on x86
07:22.16njswhy is that?
07:22.40scanlinemost other CPUs will give you a bus error for accessing unaligned data, or use a very slow OS trap to correct it
07:22.57njs(what I said is probably a bit misleading, incidentally; the for loop is copying 4 bytes at a time, by casting to a long[])
07:23.38scanlineoh.. so the beginning of the array is aligned on a 4-byte boundary?
07:24.09njsyes, I was talking about the alignment of the beginning of the array.
07:24.20scanlineok
07:25.13njswell, numbers: 8-byte aligned: for loop: 0.34s, memcpy: 0.27 seconds.  4-byte aligned: for loop: 0.34s, memcpy: 0.33s.  Unaligned: for loop: 0.34s, memcpy: 0.5s.
07:25.40scanlinestrange
07:25.48njs(this is cpu time measured with clock(), copying 40,000,000 bytes on my PIII.)
07:26.04scanlineI would have expected memcpy() to be the same in all three cases and the for loop to be slower when unaligned
07:27.06njsoh, hmm.  the source array is 8-byte aligned in all cases; I wonder if that matters.
08:02.33*** join/#picogui lurgyman (kuester@dialup-85-38.Colorado.EDU)
09:08.25*** join/#picogui captain_pistachi (~jupiter@aden2-23-dhcp.resnet.Colorado.EDU)
09:19.10*** join/#picogui gonkulator (~brandon@aden2-241-dhcp.resnet.colorado.edu)
13:14.22*** join/#picogui gonkey{iBook} (~brandon@aden2-241-dhcp.resnet.colorado.edu)
14:38.02*** join/#picogui file (file@mctn1-1468.nb.aliant.net)
15:07.17fileGreetings Xentac
15:07.43Xentacmorning file
15:07.54fileelaborate
15:08.26XentacI'm feeling sick... but I have to feel good for the tournament on saturday...
15:08.40fileevilness :(
15:09.03Xentacquite
15:09.10XentacI just started feeling sick tuesday
15:11.42fileXentac: :\
15:30.26*** join/#picogui prpplague (~JoeBob1@12.148.134.9)
16:47.18*** join/#picogui Dentoid (dento_3000@h242n1fls35o814.telia.com)
16:47.25DentoidHi ho
17:21.17gonkulatorfile: how do you do that?
17:21.58filegonkulator: company had a deal on
17:22.04filefirst month costs a penny
17:22.25gonkulatoroh
17:22.31gonkulatorwhats your toll-free number?
17:22.40fileit hasn't been setup yet
17:22.45filetakes 4-6 hours (I called and asked)
17:22.50gonkulatoroh, ok
17:23.16gonkulatorthe part I like is the fact that it is a canadian penny, which is even more worthless than an american penny :)
17:23.51fileit's USD :p
17:24.36gonkulatoroh
17:34.43kergothmmmmm ramen
18:08.56lalo[out]hi
18:09.25filehey lalo
18:11.29*** join/#picogui nemo (nemo@61.95.53.30)
18:22.10lalo[out]scanline: you napping?
18:22.27lalo[out]WHAAAAAAA! NO PICOBOT! :~(
18:23.03filescanline has been away for 7 and a half hours.
18:25.05filelalo[out]: gonkulator is waking scanline up
18:29.21lalo[out]why?
18:29.25lalo[out]let the man sleep :-)
18:41.41*** join/#picogui zak (~noname@aden2-35-dhcp.resnet.Colorado.EDU)
18:54.11*** join/#picogui prae (~prae@sherpadown.net)
19:11.03*** join/#picogui Dentoid (dento_3000@h242n1fls35o814.telia.com)
19:14.46gonkulatorlalo[out]: scanline told me to get rid of PicoBot
19:14.53gonkulatorlalo[out]: do you want him back?
19:17.28lalo[out]if scanline doesn't want him, he probably has a reason... I can argue with him later
19:17.45scanlineI don't not want him, just didn't think he was necessary
19:17.57filescanline: what did you think of the scary news?
19:18.16scanlineibot does all that picobot does and more..
19:18.16scanline: I wish you would RTFM.
19:18.18scanlinefile: scary news?
19:18.26scanlineibot: oh get stuffed
19:18.27scanline: I don't know, could you explain it?
19:18.38filescanline: me, Gentoo
19:18.50fileinstalling it...
19:19.12scanlineoh
19:19.13scanlinescary
19:20.12lalo[out]oh sure, I keep forgetting ibot
19:20.19lalo[out]ibot: seen scanline
19:20.20scanline is currently on #picogui (1d 5h 33m 8s) #elinux (1d 5h 33m 8s) #openembedded (1d 5h 33m 8s).  Has said a total of 208 messages.  Is idling for 1m 7s
19:20.24lalo[out]yup.
19:20.27lalo[out]ibot: explode
19:20.27i heard explode is no
19:20.35lalo[out]hmm, perhaps not everything.
19:20.41scanlinetrue
19:22.35lalo[work]let's see if the nick can influence my brain
19:22.35scanlinehave fun at [work] :)
19:22.45scanlinehmm
19:23.42lalo[work]hahahahahahaha
19:24.11scan[productive]hmm, nope
19:24.22scan[frustrated]hey, that one works fine
19:28.35filemmm I'll have Gentoo tonight, nifty
19:28.57lalo[work]there isn't an ebuild for nifty yet
19:29.07scanlinehey, the M3 meeting for Fresco is starting soon, if anyone's interested
19:29.12filegonkulator: will you be around to assist me?
19:29.20gonkulatorM3?
19:29.27scanlinemilestone 3
19:29.30gonkulatoroh, ok
19:30.13gonkulatorfile: you should be able to if you can RTFM
19:30.27filegonkulator: :)
19:31.21*** join/#picogui DevGirl (maisa@200.203.12.232)
19:31.27DevGirlhello, hello
19:31.36scanlinehiya DevGirl
19:31.43DevGirlOH! NO PICOBOT!!!!!
19:31.44fileDevGirl!
19:31.53scanline:(
19:32.00DevGirlhiya, scanline, file
19:32.03DevGirl:P
19:32.12DevGirlwho will explode for mr?
19:32.15DevGirlme?
19:32.17DevGirl:(
19:32.32scanlineibot: explode is <action> explodes into a happy puff of smoke
19:32.34ACTION blows up is <action> explodes into a happy puff of smoke with bombs
19:32.43scanlineooh
19:32.44lalo[work]hahahahahaha
19:32.45scanlineibot: explode
19:32.46i guess explode is no
19:32.49scanlinehmm
19:32.52scanlineibot: forget explode
19:32.52i forgot explode, scanline
19:32.53scanlineibot: explode is <action> explodes into a happy puff of smoke
19:32.55ACTION blows up is <action> explodes into a happy puff of smoke with bombs
19:32.55DevGirlibot: blows up
19:32.56DevGirl: I give up, what is it?
19:33.06DevGirl:P
19:33.10scanlineibot: explode
19:33.10scanline: bugger all, i dunno
19:33.14scanlinegrr
19:33.32Dentoidibot: I fart in your general direction.
19:33.32Dentoid: KCI error, or a problem with the Keyboard-Chair Interface.
19:33.35lalo[work]ibot: explode Dentoid
19:33.37ACTION blows up Dentoid with bombs
19:33.40*** join/#picogui PicoBot (~PicoBot@ivan.client.mscd.edu)
19:33.44lalo[work]ibot: explode PicoBot
19:33.46ACTION blows up PicoBot with bombs
19:33.46DevGirlPicoBot!!!!!
19:33.51lalo[work]unfun.
19:33.55Dentoidibot: insult lalo[work]
19:33.55DevGirlPicoBot: kiss
19:33.57gonkulatorPicoBot: explode
19:34.00DentoidHmm, stupid bot.
19:34.10DevGirl:)
19:34.18DevGirloh! what a happy life ^^
19:34.24lalo[work]PicoBot: explode twice
19:34.36gonkulatorok, I don't have PicoBot joining all the channels it once did
19:34.54gonkulatorbut PicoBot is still invitable into them
19:34.57scanlineI think it was in #tacobeam, #picogui, and #openembedded
19:35.06lalo[work]#agenda
19:35.07gonkulatorway more than that
19:35.09scanlineah, right
19:35.15gonkulator#wonkyyokel
19:35.16gonkulator#pony
19:35.20gonkulator#aof
19:35.26lalo[work]eep
19:35.29Dentoid#eof
19:35.35Dentoid#aol
19:35.37gonkulatora few other places :)
19:35.40Dentoid#lol
19:35.48scanlinegonkulator: just go ahead and make it autojoin all of them
19:35.51scanlinemight as well..
19:35.57gonkulatoralright
19:36.55*** join/#picogui PicoBot (~PicoBot@ivan.client.mscd.edu)
19:40.33*** join/#picogui Oktal (~mat@pc1-rdng3-5-cust199.winn.cable.ntl.com)
19:46.07lalo[work]scanline: nifty has a terminal too ;-)
19:46.12*** join/#picogui gonkulator (~brandon@aden2-241-dhcp.resnet.colorado.edu)
19:46.56scanlineoh?
19:47.35*** join/#picogui gonkulator (~brandon@aden2-241-dhcp.resnet.colorado.edu)
19:47.39gonkulatorwhoa
19:47.41lalo[work]it's not obvious in any way yet, as it still needs tweaking
19:47.46gonkulatorthis is totally new
19:47.50lalo[work]but you can do: frame.open(Subprocess())
19:48.35scanlinecute
19:48.46*** join/#picogui prae (~prae@sherpadown.net)
19:48.47scanlinethe scrolling's kind of not workful though
19:49.00scanlineah, I had to resize it before it worked
19:49.05scanlinehmm
19:49.41scanlinethere's a lot of latency
19:50.26*** join/#picogui prae (~prae@sherpadown.net)
19:51.28scanlinelalo[work]: nifty's terminal is already way better than emacs' :)
19:51.29lalo[work]yup
19:51.38lalo[work]that's the main thing that needs tweaking
19:51.44lalo[work]right, it's better than emacs :-)
19:51.48lalo[work]it's a real vt102
19:52.14lalo[work]I dunno how to fix the latency, perhaps lowering the idle_delay helps
19:52.19scanlinewell..
19:52.23lalo[work]that's what prot did on epterm
19:52.37scanlinecli_python needs a real way to add the subprocess's file descriptor to a select() or poll()
19:52.54scanlineboth epterm and nifty are way behind pterm in speed
20:02.28gonkulatoror vaccumes
20:02.31gonkulatoror vacummes
20:03.19filegonkulator: GENTOO FOREVER
20:04.18*** join/#picogui DevGirl (maisa@200.203.12.232)
20:04.56DevGirli'm back!
20:05.08scanline:)
20:05.31scanlinehehe
20:06.57lalo[work]there can't be a select() or poll()
20:07.07scanlinewhy?
20:07.14lalo[work]remember, you took back the feature where a request after WAIT stops the event wait
20:07.39lalo[work]so when I switched cli_python to a poll() loop, it started receiving duplicate events
20:07.43scanlineI did?
20:07.57scanlinecli_c still uses select()...
20:08.08lalo[work]you did... at least this is noted in the protocol doc
20:08.25lalo[work]what we could do IMO is add a request that waits with a timeout
20:08.33scanlinebut timeouts are no good
20:08.34lalo[work]btw: how do I update the online protocol doc?
20:08.37scanlinewe want immediate response
20:08.54scanlinelalo[work]: edit the SGML source in the 'doc' directory in CVS, make, then upload the resulting HTML
20:09.03lalo[work]ah.
20:09.04scanlinein fact I think the makefile might have an scp command in it
20:09.07lalo[work]I thought it was automated :-)
20:09.12scanlineoh
20:09.13scanlinemaybe it is
20:09.52scanlineah, yep.. I have the same script doing the protocol doc and the cli_c doxygen stuff
20:09.55lalo[work]if it's not automated we can move it to the new site
20:10.10scanlineit's scp'ing to sourceforge
20:11.41lalo[work]I think a timeout would work
20:15.53lalo[work]if you give the same timeout to WAIT and your select/poll, then it would be safe
20:16.07lalo[work]you know that if the server didn't send a response, then it won't
20:33.26scanlinebut that's missing the point
20:33.34scanlineif you have to poll with a timeout, there will be a lot of latency
20:33.54scanlinecli_python could do the same thing cli_c does- it avoids that race condition
20:35.05lalo[work]no
20:35.08lalo[work]it doesn't
20:35.12scanlinehm?
20:35.30lalo[work]if the extra fd has data to read, what happens?
20:35.49scanlinethe select() exits immediately instead of timing out
20:35.50lalo[work]ah, ok, I can see a way to write it so that it doesn't have the race
20:35.59scanlinecli_c explains what it does pretty well
20:36.06scanlineread cli_c/src/netcore.c starting at line 127
20:36.11lalo[work]then when the handler returns, it goes back to the select() without posting a new WAIT, right?
20:36.15lalo[work]that would work
20:36.18lalo[work]hmm
20:36.18scanlineno
20:36.27lalo[work]except... what happens if the handler posts a request?
20:36.29scanlinethat doesn't necessarily work if the handler makes an API call
20:36.30scanlineright
20:36.42scanlinethe client has to make sure it's off the waiting list and handled all incoming events
20:36.56scanlinelook at how cli_c does it, netcore.c:127 :)
20:37.53lalo[work]perhaps you could do that in cli_python?
20:38.10lalo[work]you'll find skeleton code in Server.py and network.py that does mostly this but not exactly
20:38.13scanlineok
20:38.23lalo[work]what I'm missing is a way to signal the server to take us out of the wait list
20:38.46scanlinecli_c sends a 'ping' request, but any request should take it off the waiting list
20:38.54lalo[work]ping
20:38.59lalo[work]I forgot that exists :-D
20:39.11lalo[work]scratch network.py
20:39.15lalo[work]I meant Server and Application
20:39.26*** join/#picogui Soopaman (~soopaman@h24-66-55-163.wp.shawcable.net)
20:39.28Soopamanhello
20:39.37scanline"IMPORTANT NOTE: The behaviour of this request will change in a future implementation of this protocol, the client should for now restrict itself from sending any other request after a PGREQ_MKWAIT is sent." <-- I don't think this is necessarily valid
20:39.42lalo[work]the server object already has a poll object
20:39.47Soopamanhello hello
20:39.49lalo[work]then remove it ;-)
20:39.50scanlinehi Soopaman
20:39.54scanlinelalo[work]: will do
20:40.00lalo[work]it scared the hell out of me
20:40.10lalo[work]hi Soopa
20:40.32Soopamanhi guys, what is up/new?
20:40.36lalo[work]ok, so you can add a method to Server to add something to the poll object, and then add a relay method to Application that calls this
20:40.43scanlineSoopaman: Nifty, terminal, epterm, bugfixes...
20:40.59lalo[work]the poll() loop will have to change, it's not expecting poll to return anything but the socket
20:46.43Soopamanscanline, can you freely change the screen orientation (rotation)
20:46.56scanlineyes
20:47.51Soopamancool
20:47.59Soopamanon the fly?
20:48.53lalo[work]btw
20:49.09lalo[work]if you change the rotation by client request, does this go away when the client quits?
20:51.27scanlinelalo[work]: no, it's a video mode flag
20:52.10lalo[work]ok
20:52.23lalo[work]what about loading and unloading themes?
20:52.39lalo[work]I figure I could read the protocol doc but it's easy to ask you ;-)
20:52.43scanlinethemes are objects owned by the client, so they do disappear when the app dies
20:53.03scanlineI was planning on having a theme manager app that would own the themes, and provide a UI for inserting/deleting/rearranging them
20:53.16lalo[work]yup
20:53.19lalo[work]that would be useful
20:53.20filewell it looks as though I'll be able to migrate over some stuff from Xandros into Gentoo...
20:53.22scanlineit could read the "Theme tags" whenever those get implemented, to provide descriptions and screenshots for the themes
20:53.24scanlinebrb
20:54.27lalo[work]themeindex could be made into this app if it was able to hide its window
20:55.32*** join/#picogui fukss (FKMF@202.88.190.103)
20:55.43*** part/#picogui fukss (FKMF@202.88.190.103)
21:20.16*** join/#picogui decaff (khedspet@3Cust236.tnt19.tpa2.da.uu.net)
21:28.00Oktalanyone happen to have a bit of autoconf code for finding libpgserver?
21:29.26*** part/#picogui decaff (khedspet@3Cust236.tnt19.tpa2.da.uu.net)
21:30.24lalo[work]nope
21:30.35lalo[work]perhaps there is something like that in the apps module
21:30.46Oktalmm
21:31.05scanlinedoubt it
21:31.25scanlinethough.. isn't there an autoconf macro that tests for a function in a library?
21:31.42Oktali have no clue about autoconf
21:31.45scanlineyeah, AC_CHECK_LIB
21:31.53scanlineyou should be able to do something like:
21:32.32scanline<PROTECTED>
21:34.44Oktallooking at CS's configure.ac it seems it defines its own macro for this
21:35.00scanlinemmkay
21:35.14scanlineI haven't gone real deep into auto*, since most of it really disgusts me :)
21:35.27scanlineI'll be replacing auto* in picogui with something python-based in the nearly close future
21:35.34Oktalme too
21:35.35Oktalnice
21:35.58OktalCS will probably be converting to the Jam makefile system
21:36.10scanlineI've looked at Jam a little.. but I'm leaning toward SCons
21:36.27scanlineSCons looks to be the most easily extensible, which will help us with all the custom code we'll need for configuration
21:37.39Oktalwhere are pgserver lib and includes installed by default?
21:39.44scanline/usr/local/lib and /usr/local/include by default
21:39.49scanlinelalo[work]: screenshot resizing? :)
21:41.17Oktalok thanks
21:42.24TDscanline: are you sure that's a good idea?
21:42.35scanlinewhich idea?
21:42.39TDsure autoconf makes me want to puke too, but from what I saw of SCons python isn't the best language for a build system
21:42.47scanlineheh
21:42.54scanlinewhat makes you say that?
21:42.54TDit seemed to be rather verbose
21:43.09scanlinewell, picogui needs a lot of customization, so verbosity might not be a bad thing for us
21:43.13TDas opposed to bash, which for all its uglyness at least can do greps, regexs, cps etc easily
21:43.18TDhmm, true
21:43.27scanlineand python can do regexes and such pretty easily
21:44.33TDthe syntax seems to have changed since i last saw it
21:45.13TDstrange
21:45.14TDoh well
21:45.19TDcan it do autoconf style probes/checks?
21:46.52scanlineno, that's one of the major gaps in SCons' feature set
21:47.16scanlinebut I expect I'll be writing that myself no matter what system picogui moves to, might as well do it in python
21:47.42lalo[work]scanline: isn't screenshot resizing already there?
21:47.50TDwell, good luck
21:47.50scanlinelalo[work]: yeah, but it looks bad :)
21:47.57lalo[work]does it still?
21:47.59scanlineTD: thanks
21:48.09lalo[work]I thought George had removed PIL already
21:48.20scanlinelalo[work]: yeah, it's not interpolating
21:48.31lalo[work]PIL doesn't interpolate
21:48.48scanlinehmm.. whatever we were using at first tid
21:48.50scanlineerr, did
21:49.00lalo[work]if he removes one line from Photo.py so that it doesn't use PIL, it will revert to ImageMagick which interpolates
21:49.22scanlinehmm
21:52.04lalo[work]perhaps I could make this change to CMFPhoto's CVS and ask him to update ;-)
21:52.41lalo[work]what I did was solely for us... I made it easier to post a news item
21:52.52scanlineah, that's good
21:53.05lalo[work]by adding a "add new" button to the main /News page which only appears if you have the permission to do it
21:53.12scanlinecool
21:53.23lalo[work]and all that because I wanted to add a news item with the roadmap
22:39.38*** join/#picogui Oktal_ (mat@pc1-rdng3-5-cust199.winn.cable.ntl.com)
22:56.06Soopamanhttp://tv.yahoo.com/news/wwn/20030319/104808600007.html
22:56.08Soopamansweeet
22:56.44DevGirlyawn

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.