Swhack! 3 May 2009

00:00:40 deltab (n=deltab@82-36-30-34.cable.ubr02.smal.blueyonder.co.uk) has joined #swhack
00:08:09 lucky has parted #swhack ("Leaving")
00:29:35 jeanniecool (n=jeanniec@pool-71-112-147-133.sttlwa.dsl-w.verizon.net) has joined #swhack
01:15:13 kpreid has quit ()
01:35:42 paulproteus (i=paulprot@2002:db69:2513:0:0:0:0:1) has joined #swhack
01:50:43 JibberJim has quit (Read error: 60 (Operation timed out))
02:11:59 kpreid (n=kpreid@216-171-189-59.northland.net) has joined #swhack
02:23:26 jeffarch (n=jeff@70-41-156-138.cust.wildblue.net) has joined #swhack
02:33:50 eel (n=PircBot@216-171-189-59.northland.net) has joined #swhack
02:33:51 <Monty2> hey eel
03:05:41 MacTed (n=Thud@twentyfourmullen.hsd1.ma.comcast.net) has joined #swhack
03:05:41 <Monty2> hey MacTed
03:26:24 <[bjoern]> anyone with some linux socket programming sk1llz about?
03:28:56 beginner (n=beginner@unaffiliated/beginn3r) has joined #swhack
03:30:22 <nslater> [bjoern]: a bit
03:30:31 <nslater> [bjoern]: in python, mind
03:31:11 <[bjoern]> I'm to implement some simple command line chat using poll().
03:31:28 <nslater> k
03:32:09 <[bjoern]> So basically if the user typed something, send it asap, if the other user sent something, write is asap stuffs.
03:32:44 <[bjoern]> I am wondering if I should modify poll arguments depending on state, or just sleep between calls.
03:33:00 <[bjoern]> Because that I can send something nonblockingly does not interest me much if I have nothing to send.
03:33:11 <[bjoern]> and vice versa.
03:33:45 <nslater> do you gain anything from switching to a blocking read?
03:34:17 <[bjoern]> (this is Socket Programming 101 homework, so to speak)
03:35:10 <[bjoern]> I can't do blocking reads because then the app would stall?
03:35:26 <[bjoern]> You would want to see incoming data while preparing your own stuff to send, say.
03:36:07 <nslater> hmm
03:36:43 <nslater> but lets say you do a blocking read because the client is inactive, if the client becomes active, are you proposing to kill the blocking read and reinitiate a non-blocking read?
03:37:09 <nslater> why not just loop over a non-blocking read?
03:37:33 <[bjoern]> I am not sure why you are talking about blocking reads in the first place
03:38:08 <nslater> okay, maybe I misunderstand your problem
03:40:35 <[bjoern]> poll monitors sockets and returns if those sockets enter some state you specify; e.g., you can ask it to wait until there is incoming data on a socket, or wait until you can write to the socket, without blocking.
03:41:33 <nslater> right
03:42:18 <[bjoern]> So I can ask it to wait until I can send some data. But if I have no data, and could send it, then it would return immediately all the time
03:43:14 <[bjoern]> So the question is, should I sleep for some time in that situation, or modify the conditions it waits for depending on whether I have data to send.
03:43:25 <[bjoern]> Or did I misunderstand something fundamental here.
03:45:47 <nslater> if you have no data, and could send it - doesn't make sense?
03:46:27 <[bjoern]> Well, could send data, but have none to send.
03:46:35 <nslater> is there any harm with lettting it return immediately all the time, untill you have something ot send? it's unlikely to eat up cpu
03:47:19 <[bjoern]> It actually burns your cpu. At least with whatever poll emulation is implemented in cygwin...
03:47:39 <nslater> hmm. in the past, and on linux, i always do an un-sleeped while loop over calls
03:47:53 <nslater> ... and have checked to see cpu usage, and it seems uneffected
03:47:55 <nslater> weird, that
03:56:30 MacTed has quit (Read error: 110 (Connection timed out))
04:10:18 <[bjoern]> seems my code is not 8bit safe. That kinda never happened before.
04:22:33 <[bjoern]> seems to be some crazy terminal issue
04:31:21 <[bjoern]> sets the cpu on fire on linux too btw
05:09:20 JibberJim (n=jim@81-86-174-182.dsl.pipex.com) has joined #swhack
05:23:56 JibberJim has quit ()
06:32:11 cre8radix (n=jamaerah@c-base/crew/cre8radix) has joined #swhack
06:36:40 tobbez has quit (Remote closed the connection)
06:40:27 beginner has quit (Read error: 60 (Operation timed out))
06:40:58 beginner (n=beginner@115.133.251.165) has joined #swhack
07:03:12 <[bjoern]> phenny, tell sbp http://www.thedailyshow.com/video/index.jhtml?videoId=128607&title=a-spot-of-indecision-2005&byDate=true
07:03:13 <phenny> [bjoern]: I'll pass that on when sbp is around.
07:57:21 <sbp> yo
07:57:22 <phenny> sbp: 07:03Z <[bjoern]> tell sbp http://www.thedailyshow.com/video/index.jhtml?videoId=128607&title=a-spot-of-indecision-2005&byDate=true
08:05:03 <sbp> wow, Blears makes a kind of strange attack on the government
08:05:26 <sbp> BBC News is all “???” in its analysis
08:10:34 <[bjoern]> That is not unusual on the day before tomorrow.
08:26:59 <[bjoern]> .u 200c
08:26:59 <phenny> U+200C ZERO WIDTH NON-JOINER (‌)
08:27:01 <[bjoern]> .u 200d
08:27:01 <phenny> U+200D ZERO WIDTH JOINER (‍)
08:29:43 cre8radix has quit ()
08:31:31 beginner has quit (Read error: 110 (Connection timed out))
08:31:51 beginner (n=beginner@115.133.255.240) has joined #swhack
08:38:20 * [bjoern] wonders why http://www.w3.org/TR/xml/#NT-content is written thusly
09:12:35 tobbez (i=tobbez@sagiri.wrya.net) has joined #swhack
09:21:01 tobbez has quit (Remote closed the connection)
10:09:58 tobbez (i=tobbez@sagiri.wrya.net) has joined #swhack
10:26:48 tav_ has quit (Read error: 104 (Connection reset by peer))
10:28:51 tav (n=tav@78.146.64.116) has joined #swhack
10:28:52 <Monty2> Hey tav, nslater asked me to tell you: http://code.google.com/p/support/wiki/DVCSAnalysis [Sat Apr 25 14:48:36 BST 2009]
10:33:27 jeffarch has quit (Read error: 54 (Connection reset by peer))
10:34:02 jeffarch (n=jeff@70-41-156-138.cust.wildblue.net) has joined #swhack
10:34:51 [bjoern] has quit (Read error: 104 (Connection reset by peer))
10:35:02 [bjoern] (n=bjoern@dslb-094-223-180-248.pools.arcor-ip.net) has joined #swhack
11:20:51 libby (n=libby@94-169-110-24.cable.ubr22.aztw.blueyonder.co.uk) has joined #swhack
11:25:31 cre8radix (n=jamaerah@c-base/crew/cre8radix) has joined #swhack
11:48:06 cre8radix has quit ()
11:54:33 cre8radix (n=jamaerah@c-base/crew/cre8radix) has joined #swhack
12:25:08 <[bjoern]> http://imagebin.ca/view/uDxveB.html XML as a regular language (no internal subsets, elements contain STag | ETag | EmptyElemTag | CData | ... *)
12:27:35 <[bjoern]> 23 and 63 are accepting it would seem
12:35:03 <[bjoern]> long words like version, DOCTYPE, CDATA, kinda take the fun out of it
12:37:51 <[bjoern]> disallowing doctype alltogether makes it a bit nicer
12:38:16 <[bjoern]> disallowing xml declaration aswell should give it another boost...
12:41:18 <[bjoern]> encoding and standalone and yes and no are probably the other suckers.
12:59:10 [bjoern] has quit ("Quit")
13:38:49 jeffarch has quit (Read error: 104 (Connection reset by peer))
13:41:59 jeffarch (n=jeff@70-41-156-138.cust.wildblue.net) has joined #swhack
13:46:19 <sbp> .title http://news.bbc.co.uk/1/hi/scotland/highlands_and_islands/8031394.stm
13:46:20 <phenny> sbp: BBC NEWS | Scotland | Highlands and Islands | Villagers want brighter outlook
14:15:53 leobard (n=Miranda@88-134-158-182-dynip.superkabel.de) has joined #swhack
14:42:21 leobard has quit ("Miranda IM! Smaller, Faster, Easier. http://miranda-im.org")
14:45:11 shepazu has quit ()
14:48:37 cre8radix has quit ()
14:55:30 shepazu (n=schepers@adsl-144-137-232.rmo.bellsouth.net) has joined #swhack
15:02:14 Arnia (n=jgeldart@129.234.79.48) has joined #swhack
15:11:16 cre8radix (n=jamaerah@c-base/crew/cre8radix) has joined #swhack
15:11:16 <Monty2> howdy, cre8radix
15:12:19 <cre8radix> heya Monty2, howzit hangin?
15:12:21 <Monty2> but then again, me an example
15:12:59 <cre8radix> thazza fuck-tub answer, Monty2
15:12:59 <Monty2> screw you
15:13:17 <cre8radix> no, Monty2 , get a job!
15:13:18 <Monty2> aye
15:13:30 <cre8radix> :)
15:45:23 jeffarch has quit (Read error: 104 (Connection reset by peer))
16:00:16 jeffarch (n=jeff@70-41-156-138.cust.wildblue.net) has joined #swhack
16:04:09 tav_ (n=tav@78.146.64.116) has joined #swhack
16:04:09 tav has quit (Read error: 104 (Connection reset by peer))
16:16:29 Arnia has quit ()
16:21:06 beginner has quit (Read error: 110 (Connection timed out))
16:44:40 JibberJim (n=jim@79-73-162-74.dynamic.dsl.as9105.com) has joined #swhack
16:44:41 <Monty2> lo JibberJim
17:13:34 JibberJim has quit ()
17:49:56 tav (n=tav@92.24.118.31) has joined #swhack
17:49:57 <Monty2> Thank goodness, tav is back!
17:59:47 jeffarch has quit (Read error: 104 (Connection reset by peer))
18:00:51 tav_ has quit (Read error: 110 (Connection timed out))
18:02:43 jeffarch (n=jeff@70-41-156-138.cust.wildblue.net) has joined #swhack
18:03:59 libby has quit (Read error: 113 (No route to host))
18:08:54 jeffarch has quit (Read error: 104 (Connection reset by peer))
18:11:07 jeffarch (n=jeff@70-41-156-138.cust.wildblue.net) has joined #swhack
18:25:35 libby (n=libby@94-169-110-24.cable.ubr22.aztw.blueyonder.co.uk) has joined #swhack
18:38:47 Arnia (n=jgeldart@0-16-cb-bd-57-e.it.wlan.dur.ac.uk) has joined #swhack
19:13:47 jeffarch has quit (Read error: 104 (Connection reset by peer))
19:16:16 jeffarch (n=jeff@70-41-156-138.cust.wildblue.net) has joined #swhack
19:22:40 jeffarch has quit (Read error: 104 (Connection reset by peer))
19:23:39 jeffarch (n=jeff@70-41-156-138.cust.wildblue.net) has joined #swhack
19:25:39 jeffarch has quit (Read error: 104 (Connection reset by peer))
19:26:37 leobard (n=Miranda@88-134-158-182-dynip.superkabel.de) has joined #swhack
19:26:38 <Monty2> howdy, leobard
19:27:36 <jessica> ... Good news, everyone!  The French have struck a decisive victory over 11 pirates!
19:27:41 * jessica shakes head at http://www.msnbc.msn.com/id/30546526/ .
19:42:48 <shminux> they should adopt a "shoot first" policy
19:45:03 <_ulises> i thought you meant real pirates, this is children's games
19:47:19 Arnia has quit (Read error: 110 (Connection timed out))
19:50:53 kpreid has quit ()
19:55:50 kpreid (n=kpreid@216-171-189-59.northland.net) has joined #swhack
19:55:50 kpreid has quit (Remote closed the connection)
19:59:44 eel has quit (Remote closed the connection)
20:02:19 JibberJim (n=jim@79-73-162-74.dynamic.dsl.as9105.com) has joined #swhack
20:02:39 kpreid (n=kpreid@216-171-189-59.northland.net) has joined #swhack
20:05:58 kpreid has quit (Client Quit)
20:08:20 kpreid (n=kpreid@216-171-189-59.northland.net) has joined #swhack
20:41:57 ivan has quit (Remote closed the connection)
20:42:02 ivan (n=ivan@unaffiliated/ivan/x-000001) has joined #swhack
20:57:10 d3llboy (i=d3llboy@gateway/tor/x-a5065dd149519af2) has joined #swhack
20:57:31 leobard has quit ("Miranda IM! Smaller, Faster, Easier. http://miranda-im.org")
21:08:43 thelsdj has quit (Remote closed the connection)
21:15:59 Arnia (n=jgeldart@87-194-158-123.bethere.co.uk) has joined #swhack
21:43:37 <Arnia> phenny, tell sbp about http://groups.google.com/group/open-nars/web/wang.AIKR.pdf?hl=en
21:43:37 <phenny> Arnia: I'll pass that on when sbp is around.
21:56:09 mzeltner (n=mzeltner@91.104.172.106) has joined #swhack
22:16:35 jeffarch (n=jeff@70-41-156-138.cust.wildblue.net) has joined #swhack
22:28:37 mzeltner_ (n=mzeltner@91.104.172.106) has joined #swhack
22:28:37 mzeltner has quit (Read error: 104 (Connection reset by peer))
22:28:41 mzeltner_ has quit (Remote closed the connection)
22:32:58 cre8radix has quit (Read error: 110 (Connection timed out))
22:52:14 d3llboy_ (i=d3llboy@gateway/tor/x-c1aa01fe3e1be365) has joined #swhack
23:03:46 d3llboy has quit (Remote closed the connection)
23:08:56 [bjoern] (n=bjoern@dslb-094-222-140-114.pools.arcor-ip.net) has joined #swhack
23:10:56 <[bjoern]> nuyo
23:37:03 d3llboy (i=d3llboy@gateway/tor/x-efc75d5b6c9cccad) has joined #swhack
23:49:09 <[bjoern]> remind me in 30 minutes to !
23:49:10 <Monty2> [bjoern]: Okay, I'll remind you about that on Mon May 04 01:19:23 BST 2009
23:51:07 <[bjoern]> remind me in 20 minutes to !!
23:51:08 <Monty2> [bjoern]: Okay, I'll remind you about that on Mon May 04 01:11:21 BST 2009
23:51:20 libby has quit (Read error: 113 (No route to host))