--- Log opened Sun Feb 14 00:00:39 2010 |
00:04 | < celticminstrel> | My terminal insists on intercepting home, end, page-up, and page-down, even though I removed those key bindings from the preferences... |
00:33 | | You're now known as TheWatcher[T-2] |
00:35 | | You're now known as TheWatcher[zZzZ] |
00:43 | | Derakon[AFK] is now known as Derakon |
01:16 | | ^ikaT [Meh@Nightstar-39d785ef.consolidated.net] has quit [Ping timeout: 121 seconds] |
01:27 | | ^ikaT [Meh@Nightstar-39d785ef.consolidated.net] has joined #code |
01:31 | | ^ikaT [Meh@Nightstar-39d785ef.consolidated.net] has quit [Ping timeout: 121 seconds] |
01:36 | | ^ikaT [Meh@Nightstar-39d785ef.consolidated.net] has joined #code |
02:02 | < celticminstrel> | Whoa. Apparently some of my minor problems resulted from using the print statement in Curses. |
02:02 | < celticminstrel> | Well, actually, all the minor problems. |
02:02 | <@McMartin> | Oho, yes, bad times |
02:02 | < celticminstrel> | Even though I added \r to the string. |
02:05 | <@McMartin> | Messes with the cursor position, IIRC. |
02:05 | <@McMartin> | sprintf, then addstr(?) or somesuch. |
02:05 | < celticminstrel> | Well, Python, so the % operator and addstr. |
02:10 | < celticminstrel> | Perhaps this experience will help me if/when I get around to porting that maze game I wrote using Windows conio. |
02:42 | <@Derakon> | Hmph. |
02:42 | <@Derakon> | I find it a bit annoying that `sort foo.txt > foo.txt` destroys foo.txt instead of sorting it in-place. |
02:43 | <@McMartin> | Isn't there a -i or something for that? |
02:44 | <@Derakon> | -i is ignore nonprinting characters. |
02:44 | <@Derakon> | I don't see a flag that causes it to be careful with output. |
02:44 | <@McMartin> | Ah. Boo. |
02:44 | <@McMartin> | Sed has an "in-place" |
02:45 | < celticminstrel> | Could you do something strange like sort foo.txt | cat > foo.txt, or do pipes not work like that? |
02:45 | <@McMartin> | It's sort < foo.txt > foo-sorted.txt |
02:45 | <@McMartin> | This is actually an issue with the shell |
02:46 | <@McMartin> | If you do sort < foo.txt > foo.txt, the " > foo.txt" annihilates foo.txt before sort even starts |
02:46 | < celticminstrel> | If you pipe several commands together, do they run in sequence or simultaneously? |
02:46 | <@McMartin> | "Yes" |
02:47 | < celticminstrel> | ...? |
02:47 | < Namegduf> | Haha, that's mean, McMartin. |
02:47 | <@McMartin> | All the processes start at once, but they'll block unless their standard input has something to work on, which means that the step before it has to be outputting things |
02:47 | < celticminstrel> | So, simultaneously. |
02:47 | <@McMartin> | This means that while they start simultaneously, in most cases where you'd actually *do* this - because the process is "read, process, output", they end up running in sequence. |
02:48 | <@Derakon> | Program B will only run if program A is generating output. |
02:48 | <@Derakon> | In the case of sort, program A only starts generating once it's read the entire file. |
02:48 | <@Derakon> | If program A were sed, though, then it could permute each line as it passes through and then hand it off immediately to program B. |
02:49 | <@McMartin> | So a chain of seds would be running and all doing their thing line by line. |
02:49 | <@McMartin> | Pipe buffers may play games with this too, and I'm not sure if there are anti-deadlock measures that interact between these |
02:49 | <@McMartin> | (Like, if an internal filter doesn't read because it's waiting on network input instead before it starts to do the read or something) |
02:59 | | Attilla [Attilla@FBC920.480E8C.EA1943.938DAA] has quit [[NS] Quit: ] |
03:45 | | ^ikaT [Meh@Nightstar-39d785ef.consolidated.net] has quit [[NS] Quit: ] |
05:40 | | celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: *hums* Can't stay now!] |
05:56 | | Alek [omegaboot@Nightstar-d9bf1f71.emhril.sbcglobal.net] has quit [Ping timeout: 121 seconds] |
06:00 | | Alek [omegaboot@Nightstar-e053e1e1.emhril.sbcglobal.net] has joined #code |
06:03 | | Serah [Z@Nightstar-11344bdb.customer.tele.dk] has quit [Ping timeout: 121 seconds] |
06:06 | | Alek [omegaboot@Nightstar-e053e1e1.emhril.sbcglobal.net] has quit [Ping timeout: 121 seconds] |
06:10 | | Alek [omegaboot@Nightstar-6288476b.emhril.sbcglobal.net] has joined #code |
06:33 | | Derakon is now known as Derakon[AFK] |
06:46 | | Serah [Z@5E691D.FC7C16.73870F.A16FEE] has joined #code |
06:57 | | Alek [omegaboot@Nightstar-6288476b.emhril.sbcglobal.net] has quit [Ping timeout: 121 seconds] |
07:02 | | Alek [omegaboot@Nightstar-fedb44af.emhril.sbcglobal.net] has joined #code |
07:08 | | Serah [Z@5E691D.FC7C16.73870F.A16FEE] has quit [Ping timeout: 121 seconds] |
07:23 | | Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code |
07:46 | | AnnoDomini [annodomini@Nightstar-096db1d5.adsl.tpnet.pl] has joined #code |
07:46 | | mode/#code [+o AnnoDomini] by Reiver |
08:14 | | Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [[NS] Quit: The world is so funny sometimes; I often forget to laugh.] |
08:15 | | Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code |
08:30 | | Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection reset by peer] |
08:38 | | Alek [omegaboot@Nightstar-fedb44af.emhril.sbcglobal.net] has quit [Ping timeout: 121 seconds] |
08:42 | | Alek [omegaboot@Nightstar-7773e1b9.emhril.sbcglobal.net] has joined #code |
09:21 | | Chi [omegaboot@Nightstar-640c2ed7.emhril.sbcglobal.net] has joined #code |
09:23 | | Alek [omegaboot@Nightstar-7773e1b9.emhril.sbcglobal.net] has quit [Ping timeout: 121 seconds] |
09:40 | | Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds] |
10:00 | | You're now known as TheWatcher[afk] |
10:53 | | guest [guest@Nightstar-7563e640.range86-146.btcentralplus.com] has joined #code |
10:53 | < guest> | Morning! ^^ |
10:58 | | guest is now known as Tarinaky |
10:58 | | Tarinaky is now known as Tarinaky_ |
11:00 | | Rhamphoryncus [rhamph@Nightstar-8931f88f.abhsia.telus.net] has quit [Client exited] |
11:55 | | Attilla [Attilla@FBC920.480E8C.EA1943.938DAA] has joined #code |
11:55 | | mode/#code [+o Attilla] by Reiver |
12:40 | | AbuDhabi [annodomini@Nightstar-fe58d9fa.adsl.tpnet.pl] has joined #code |
12:43 | | AnnoDomini [annodomini@Nightstar-096db1d5.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds] |
13:13 | | Alek [omegaboot@Nightstar-640c2ed7.emhril.sbcglobal.net] has joined #code |
13:14 | | Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code |
13:16 | | Chi [omegaboot@Nightstar-640c2ed7.emhril.sbcglobal.net] has quit [Ping timeout: 121 seconds] |
15:47 | | celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code |
16:07 | | Tarinaky_ [guest@Nightstar-7563e640.range86-146.btcentralplus.com] has quit [Ping timeout: 121 seconds] |
16:58 | | Derakon[AFK] is now known as Derakon |
18:55 | | crem [moo@Nightstar-8ca3eea7.adsl.mgts.by] has quit [Connection reset by peer] |
18:59 | | AnnoDomini [annodomini@Nightstar-fe58d9fa.adsl.tpnet.pl] has joined #code |
18:59 | | mode/#code [+o AnnoDomini] by Reiver |
18:59 | | AnnoDomini [annodomini@Nightstar-fe58d9fa.adsl.tpnet.pl] has quit [[NS] Quit: leaving] |
19:06 | | Attilla [Attilla@FBC920.480E8C.EA1943.938DAA] has quit [Client closed the connection] |
19:06 | | Attilla [Attilla@FBC920.480E8C.EA1943.938DAA] has joined #code |
19:06 | | mode/#code [+o Attilla] by Reiver |
19:06 | | Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code |
19:44 | | Rhamphoryncus [rhamph@Nightstar-8931f88f.abhsia.telus.net] has joined #code |
20:05 | | ^ikaT [Meh@Nightstar-39d785ef.consolidated.net] has joined #code |
21:03 | | Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds] |
21:23 | | Serah [Z@5E691D.FC7C16.7074BE.91B3BE] has joined #code |
21:45 | | Serah [Z@5E691D.FC7C16.7074BE.91B3BE] has quit [Ping timeout: 121 seconds] |
21:50 | | Serah [Z@Nightstar-11344bdb.customer.tele.dk] has joined #code |
22:23 | | Tarinaky [Tarinaky@Nightstar-0c3e8f2b.adsl.virginmedia.net] has joined #code |
22:34 | | Serah is now known as Eden |
22:35 | | EvilDarkLord is now known as Vord |
22:35 | | Tarinaky_ [guest@Nightstar-7563e640.range86-146.btcentralplus.com] has joined #code |
22:38 | | Tarinaky_ [guest@Nightstar-7563e640.range86-146.btcentralplus.com] has quit [[NS] Quit: Leaving] |
22:50 | | Rhamphoryncus [rhamph@Nightstar-8931f88f.abhsia.telus.net] has quit [Client exited] |
--- Log closed Mon Feb 15 00:00:40 2010 |