code logs -> 2007 -> Sun, 28 Oct 2007< code.20071027.log - code.20071029.log >
--- Log opened Sun Oct 28 00:00:19 2007
01:28 You're now known as TheWatcher[T-2]
01:30 You're now known as TheWatcher[zZzZ]
02:23 Pana_ [PhAnATiC@77.210.140.ns-12589] has joined #Code
02:25 Pana_ [PhAnATiC@77.210.140.ns-12589] has quit [Client exited]
03:40 Forj [~Forj@Nightstar-2310.ue.woosh.co.nz] has quit [Ping Timeout]
05:56 GeekSoldier|bed [~Rob@Nightstar-4191.pools.arcor-ip.net] has quit [Ping Timeout]
06:46 GeekSoldier [~Rob@Nightstar-4575.pools.arcor-ip.net] has joined #code
07:24 ReivZzz is now known as Reiver
07:59 You're now known as TheWatcher
09:15 Thaqui [~Thaqui@Nightstar-13312.jetstream.xtra.co.nz] has quit [Quit: This computer has gone to sleep]
09:18 Thaqui [~Thaqui@Nightstar-13312.jetstream.xtra.co.nz] has joined #code
09:18 mode/#code [+o Thaqui] by ChanServ
10:05 You're now known as TheWatcher[afk]
10:53 You're now known as TheWatcher
11:51 Thaqui [~Thaqui@Nightstar-13312.jetstream.xtra.co.nz] has quit [Quit: This computer has gone to sleep]
14:38
<@Vornicus>
Why I love *nix: sudo !!
14:39 * jerith usually goes <up> C-a sudo <space>
14:40
<@Vornicus>
I didn't know that worked.
14:41
<@jerith>
Normal commandline history editing.
14:41
<@ToxicFrog>
Use of Home instead of ^A is preferred, tho.
14:42
<@jerith>
ToxicFrog: Yes, but Home often fails due to terminal weirdness on ssh connections.
14:42
<@jerith>
Also, substitute C-a a in a screen.
14:43 * Vornicus is not exactly conversant with readline.
14:43
<@jerith>
Readline is very handy.
14:43
<@jerith>
C-_ rocks.
14:43
<@ToxicFrog>
Odd. I've never had problems with home.
14:44
<@ToxicFrog>
What does ^_ do?
14:44
<@jerith>
Undo.
14:45
<@ToxicFrog>
Vornicus: it's pretty sweet. In particular, up down left right home end delete all work as expected, and ^V followed by anything inserts a literal character (or string).
14:45
<@Vornicus>
so ^v backspace gives an actual...
14:46
<@Vornicus>
/sweet-ville/
14:46
<@jerith>
C-w deletes left until whitespace, M-d deletes right until non-alphanumeric (yes, they're different -- no idea).
14:46
<@ToxicFrog>
Works for sequences, too; ^V PgUp on my terminal generates ^[[5~
14:47
<@Vornicus>
/with sweet sauce/
14:47
<@jerith>
C-f and C-b are char forward and back respectively (same as left and right arrows).
14:47
<@ToxicFrog>
jerith: "foo bar baz-M-d will delete to the start of your quote, etc. Occasionally useful.
14:47
<@ToxicFrog>
(at least, on terminals where it works, which doesn't include mine)
14:48
<@ToxicFrog>
Oh, wait
14:48
<@ToxicFrog>
Delete right
14:48
<@ToxicFrog>
Weird.
14:48
<@jerith>
M-f and M-b are word left and right. (C-left and C-right do the same.)
14:49
<@ToxicFrog>
I prefer not to use ^W, since every single graphical app in existence appears to have that mapped to exit.
14:49
<@jerith>
There are more, but I forget them.
14:49
<@jerith>
ToxicFrog: That annoys me.
14:50
<@ToxicFrog>
Yes. Likewise.
14:50
<@ToxicFrog>
If I wanted to exit I would type ^D.
14:51
<@jerith>
You can turn it off in GTK apps, iirc.
14:51
<@jerith>
But not in Thunderbird.
14:51
<@jerith>
Which at least gives you a confirmation.
14:53
<@Vornicus>
I think the best thing about Mac's Terminal is that the gui shell accelerators do not ever collide with terminal stuff.
14:56
<@Vornicus>
so cmd-[q|w|x|c|v|a|p|s|o|n] all work just fine.
14:57 * jerith goes off to watch Stardust with friends.
15:45
<@ToxicFrog>
Vornicus: so there's nothing else that uses cmd-q, say?
17:14 AnnoDomini [AnnoDomini@Nightstar-29167.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
17:20 AnnoDomini [AnnoDomini@Nightstar-29599.neoplus.adsl.tpnet.pl] has joined #Code
17:20 mode/#code [+o AnnoDomini] by ChanServ
17:21 Forj [~Forj@Nightstar-2310.ue.woosh.co.nz] has joined #code
17:21 mode/#code [+o Forj] by ChanServ
17:28 Forj [~Forj@Nightstar-2310.ue.woosh.co.nz] has quit [Quit: Gone]
18:47 GeekSoldier is now known as GeekSoldier|bed
19:31
<@Vornicus>
TF: in the Terminal, no
19:31
<@Vornicus>
cmd-q is the standard command for quitting.
19:32
<@Vornicus>
But the terminal doesn't, in itself, know about anything involving cmd.
19:32
<@ToxicFrog>
Yes, and it's the same for all the terminal emulators I use.
19:33
<@Vornicus>
So you can use shift and control and alt like you're talking exclusively to a terminal
19:33
<@ToxicFrog>
I avoid using stuff like ^W because things go Badly Wrong if, say, I accidentally give the wrong window focus.
19:33
<@ToxicFrog>
Or if NX wackiness means that multiple windows are recieving my keystrokes.
19:33
<@ToxicFrog>
Or if I'm using xchat and habitually use ^W.
19:33
<@ToxicFrog>
Etc.
19:33 * Vornicus isn't sure we're talking on teh same wavelength...
19:35
<@ToxicFrog>
None of the terminal emulators I use have collisions with readline shortcuts.
19:35
<@ToxicFrog>
However, other programs do.
19:35
<@ToxicFrog>
It is possible for me to either (a) be typing in one of those programs instead of, or as well as, a terminal without realizing it or (b) reflexively attempt to use shell idioms in non-shell programs.
19:36
<@ToxicFrog>
Thus, stuff that will trash other programs if they recieve it by mistake, ^W and ^Q most especially, is to be avoided.
19:36
<@Vornicus>
on Mac nearly all commands are done with cmd, which means almost no programs collide.
19:37 Chalcedon [~Chalcedon@Nightstar-2310.ue.woosh.co.nz] has joined #code
19:37 mode/#code [+o Chalcedon] by ChanServ
19:37
<@Vornicus>
see?
19:38
<@ToxicFrog>
...oh, wait.
19:38
<@ToxicFrog>
<Vornicus> so cmd-[q|w|x|c|v|a|p|s|o|n] all work just fine. <-- those are GUI shortcuts, not some weird aliasing of ctrl?
19:39
<@Vornicus>
QUI shortcuts.
19:39
<@Vornicus>
quit close cut copy paste select-all print save open new
19:40
<@ToxicFrog>
Ok.
19:40
<@ToxicFrog>
Now it makes sense.
19:40
<@ToxicFrog>
Yes, that is useful.
19:41 * Vornicus wonders how he typo'd GUI like that.
19:41 * ToxicFrog writes thus in this documentation: "Warning: this will take a long time. A very long time. Bring a packed lunch and as much CPU time as you can carry."
19:42
<@Vornicus>
hee
19:43
<@ToxicFrog>
(specifically, the use of a genetic algorithm to fine-tune the ant colony optimization - it has to evaluate each chromosome by repeatdly running ACO with those parameters and averaging the results)
19:43
<@Vornicus>
I take it the ant colony thing takes rather a while in itself
19:43
<@ToxicFrog>
Yes.
19:43
<@ToxicFrog>
It's wicked fast compared to exhaustive search, but not all that hot in absolute terms.
19:44
<@ToxicFrog>
And the time it takes is a function of graph size (fixed, here), ant count (can be up to 64) and iteration count (ditto)
19:45
<@ToxicFrog>
And it runs this eight times for each chromosome in the population. Per generation.
19:45
<@ToxicFrog>
Ooo. That's a promising chromosome.
19:45
<@ToxicFrog>
ACO 1278 1320 1339 1342 1326 1319 1313 1351-> 1323.500000
19:46
<@ToxicFrog>
1272 is the optimal path.
20:05 Chalcedon is now known as ChalcyAFK
21:26 * ToxicFrog , having played two levels of We Love Katamari, finished a lab in another course, created and eaten a grilled cheese sandwich, and gone grocery shopping, returns to find that the GA has done 1.22 generations.
21:27
<@Vornicus>
heh
21:27
<@ToxicFrog>
...oh, hey.
21:27
<@ToxicFrog>
That might have something to do with it.
21:28
<@ToxicFrog>
The upper bound on ant count and number of iterations was accidentally set at 255 rather than 63.
21:28
<@Vornicus>
??
22:25 jerith [~jerith@IRCop.Nightstar.Net] has quit [Ping Timeout]
22:26 jerith [~jerith@Nightstar-21563.slipgate.za.net] has joined #code
23:36 GeekSoldier|bed [~Rob@Nightstar-4575.pools.arcor-ip.net] has quit [Ping Timeout]
23:41 GeekSoldier|bed [~Rob@Nightstar-4575.pools.arcor-ip.net] has joined #code
--- Log closed Mon Oct 29 00:00:26 2007
code logs -> 2007 -> Sun, 28 Oct 2007< code.20071027.log - code.20071029.log >