code logs -> 2009 -> Thu, 10 Sep 2009< code.20090909.log - code.20090911.log >
--- Log opened Thu Sep 10 00:00:32 2009
00:29
<@Derakon>
After asking a coworker about it: the PETE button would be better-named the $USER button, or perhaps the "Change User" button or the "Logout" button, since its use is in fact to let you change which user you are.
00:29
<@Derakon>
Why it uses your name as a label, I don't know.
00:29
<@ToxicFrog>
AnnoDomini: what sort of server?
00:36
<@AnnoDomini>
Any sort.
00:37 Derakon [~Derakon@Nightstar-6042.ucsf.edu] has quit [Quit: Leaving]
00:37
<@AnnoDomini>
Someone asked "who uses a laptop for a server anyways" and I answered "lots of people".
00:40 Vornicus-Latens [Vornicus@Nightstar-3614.dyn.optonline.net] has quit [Quit: ]
00:44 You're now known as TheWatcher[T-2]
00:49 You're now known as TheWatcher[zZzZ]
01:21
<@gnolam>
The answer is "people who want a low-end, quiet one".
01:31 Derakon [~Derakon@Nightstar-4912.hsd1.ca.comcast.net] has joined #code
01:31 mode/#code [+o Derakon] by ChanServ
01:42 Vornicus [~vorn@Nightstar-3614.dyn.optonline.net] has joined #code
01:43 Vornicus is now known as NSGuest-2401
01:45 NSGuest-2401 is now known as Vornicus
02:00 AnnoDomini [AnnoDomini@Nightstar-29132.neoplus.adsl.tpnet.pl] has quit [Quit: There is no Dana, only Zuul.]
02:02
<@ToxicFrog>
Gnar.
02:02
<@ToxicFrog>
I seem to have lost most the original mapper prototype.
02:02
<@ToxicFrog>
Including the parts that do the actual work.
02:09
<@ToxicFrog>
Well, time to recreate that design
02:32 TarinakyKai [~Tarinaky@Nightstar-16638.plus.com] has joined #code
02:34 Tarinaky [~Tarinaky@Nightstar-16638.plus.com] has quit [Ping Timeout]
02:38 TarinakyKai [~Tarinaky@Nightstar-16638.plus.com] has quit [Client exited]
02:46 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has quit [Quit: Z?]
02:56
<@Derakon>
...oh, okay, no wonder it didn't work.
02:56
<@Derakon>
Mental note: next time, be certain you're in the main repo, not the temporary test repo you made before pushing your changes.
02:59
< Vornicus>
Heh
03:00
< Rhamphoryncus>
Derakon: :%s/\<f\>/frame/cg. You can also replace the % with firstline,lastline
03:01
<@Derakon>
Rhamph: I'm familiar with limiting the lines on searches.
03:01
<@Derakon>
Not too familiar with the exact mechanics of < and > though.
03:01
< Rhamphoryncus>
c flag lets you confirm each line
03:02
< Rhamphoryncus>
(unfortunately, with little context. Can't scroll down while it's waiting)
03:02
<@Derakon>
Yeah...
03:03
<@ToxicFrog>
Data: list of mapbooks. Mapbook: name + list of maps. Map: name + set of walls + set of markers. Wall: two integer endpoints. Marker: real coordinates + icon + text.
03:03
<@ToxicFrog>
I also want inter-map links, but I'm not sure if those should be a type of marker or a distinct thing.
03:04 Attilla [~The.Attil@92.11.3.ns-25900] has quit [Quit: ]
03:04
<@Derakon>
Wouldn't walls need two vector endpoints?
03:05
<@ToxicFrog>
I spoke unclearly.
03:05
<@ToxicFrog>
The endpoints of a wall are 2d vectors of integers.
03:05
<@ToxicFrog>
The location of a marker is a 2d vector of reals.
03:05
<@ToxicFrog>
(that is to say: walls snap to grid. Markers don't.)
03:05 * Derakon nods.
03:05
<@Derakon>
Your grid size is 1, then?
03:06
<@ToxicFrog>
Internally, yes.
03:06
<@ToxicFrog>
You can adjust it in the UI if you want a coarser grid.
03:06
<@Derakon>
Righto.
03:45 Vornicus [~vorn@Nightstar-3614.dyn.optonline.net] has quit [Quit: Leaving]
03:49 Vornicus-Latens [Vornicus@Nightstar-3614.dyn.optonline.net] has joined #code
04:09 Vornicus-Latens is now known as Vornicus
05:09 Derakon [~Derakon@Nightstar-4912.hsd1.ca.comcast.net] has quit [Quit: And poof! I am gone.]
05:18 Derakon [~Derakon@Nightstar-4912.hsd1.ca.comcast.net] has joined #code
05:18 mode/#code [+o Derakon] by ChanServ
05:21 Guest96551 [~huh@92.96.0.ns-20454] has joined #Code
05:21 Guest96551 [~huh@92.96.0.ns-20454] has left #Code []
06:06 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Operation timed out]
06:06 SmithKurosaki [~Smith@Nightstar-10289.dsl.teksavvy.com] has quit [Operation timed out]
06:31 Orthia [~Orthianz@Nightstar-10023.xdsl.xnet.co.nz] has joined #Code
06:35 Orthia [~Orthianz@Nightstar-10023.xdsl.xnet.co.nz] has quit [Quit: ]
06:35 Orthia [~Orthianz@Nightstar-10023.xdsl.xnet.co.nz] has joined #Code
06:40 Derakon is now known as Derakon[AFK]
06:50 jerith [~jerith@IRCop.Nightstar.Net] has joined #code
06:50 Vornicus [Vornicus@Nightstar-3614.dyn.optonline.net] has quit [Quit: ]
06:51 Vornicus [Vornicus@Admin.Nightstar.Net] has joined #code
06:57 Orthia [~Orthianz@Nightstar-10023.xdsl.xnet.co.nz] has quit [Quit: ]
06:57 Orthia [~Orthianz@Nightstar-10023.xdsl.xnet.co.nz] has joined #Code
07:01 Consul [~Consul__@Nightstar-1744.dsl.sfldmi.ameritech.net] has quit [Quit: Leaving]
07:12 SouthernMyst [~Myst@Nightstar-29731.dsl.in-addr.zen.co.uk] has quit [Ping Timeout]
07:13 SouthernMyst [~Myst@Nightstar-29731.dsl.in-addr.zen.co.uk] has joined #code
07:14 Orthia [~Orthianz@Nightstar-10023.xdsl.xnet.co.nz] has quit [Connection reset by peer]
07:18 SmithKurosaki [~Smith@Nightstar-6151.dsl.teksavvy.com] has joined #code
07:18 mode/#code [+o SmithKurosaki] by ChanServ
07:19 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
07:19 mode/#code [+o ToxicFrog] by ChanServ
07:27 Orthia [~Orthianz@Nightstar-10023.xdsl.xnet.co.nz] has joined #Code
07:30 Thaqui [~Thaqui@121.98.166.ns-22683] has joined #code
07:30 mode/#code [+o Thaqui] by ChanServ
07:35 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Operation timed out]
07:37 SmithKurosaki [~Smith@Nightstar-6151.dsl.teksavvy.com] has quit [Ping Timeout]
07:39 SmithKurosaki [~Smith@Nightstar-4994.dsl.teksavvy.com] has joined #code
07:39 mode/#code [+o SmithKurosaki] by ChanServ
07:39 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
07:39 mode/#code [+o ToxicFrog] by ChanServ
08:26 Vornicus [Vornicus@ServicesOp.Nightstar.Net] has quit [Ping Timeout]
08:27 Orthia [~Orthianz@Nightstar-10023.xdsl.xnet.co.nz] has quit [Connection reset by peer]
08:31 Vornicus [Vornicus@Nightstar-3614.dyn.optonline.net] has joined #code
08:31 mode/#code [+o Vornicus] by ChanServ
08:34 Vornicus [Vornicus@Nightstar-3614.dyn.optonline.net] has quit [Quit: ]
08:34 Vornicus [Vornicus@Admin.Nightstar.Net] has joined #code
08:35 Orthia [~Orthianz@Nightstar-10023.xdsl.xnet.co.nz] has joined #Code
08:42 Orthia [~Orthianz@Nightstar-10023.xdsl.xnet.co.nz] has quit [Connection reset by peer]
08:57 Orthia [~Orthianz@Nightstar-10023.xdsl.xnet.co.nz] has joined #Code
08:57 Orthia [~Orthianz@Nightstar-10023.xdsl.xnet.co.nz] has quit [Connection reset by peer]
08:59 Rhamphoryncus [~rhamph@Nightstar-3964.abhsia.telus.net] has quit [Quit: Rhamphoryncus]
09:02 Orthia [~Orthianz@Nightstar-23549.xdsl.xnet.co.nz] has joined #Code
09:06 Vornicus is now known as Vornicus-Latens
09:16 AnnoDomini [AnnoDomini@Nightstar-29132.neoplus.adsl.tpnet.pl] has joined #Code
09:16 mode/#code [+o AnnoDomini] by ChanServ
09:25 Orthia is now known as Reivthia
09:47 You're now known as TheWatcher
10:47 Reivthia [~Orthianz@Nightstar-23549.xdsl.xnet.co.nz] has quit [Connection reset by peer]
10:48 Orthia [~Orthianz@Nightstar-23549.xdsl.xnet.co.nz] has joined #Code
10:49 Orthia is now known as Reivthia
10:50 Attilla [~The.Attil@92.11.3.ns-25900] has joined #code
10:50 mode/#code [+o Attilla] by ChanServ
11:18 Thaqui [~Thaqui@121.98.166.ns-22683] has quit [Quit: This computer has gone to sleep]
11:25 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code
11:25 mode/#code [+o gnolam] by ChanServ
11:30 Orthia [~Orthianz@Nightstar-6708.xdsl.xnet.co.nz] has joined #Code
11:31 Reivthia [~Orthianz@Nightstar-23549.xdsl.xnet.co.nz] has quit [Ping Timeout]
11:53 Tarinaky [~Tarinaky@Nightstar-16638.plus.com] has joined #code
13:11 * TheWatcher eyes this code, ....s
13:12
<@TheWatcher>
How is this code actually working
13:12
<@TheWatcher>
It should not work!
13:12
<@TheWatcher>
WTeverlivingF?!
13:12
<@AnnoDomini>
Roll for sanity loss.
13:12
<@TheWatcher>
note: this is in perl
13:12
<@AnnoDomini>
Roll twice.
14:01 Consul [~Consul__@Nightstar-1744.dsl.sfldmi.ameritech.net] has joined #code
14:01 mode/#code [+o Consul] by ChanServ
15:01 AnnoDomini [AnnoDomini@Nightstar-29132.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
15:02 AnnoDomini [AnnoDomini@Nightstar-28981.neoplus.adsl.tpnet.pl] has joined #Code
15:03 mode/#code [+o AnnoDomini] by ChanServ
16:13 Derakon[work] [~Derakon@Nightstar-6042.ucsf.edu] has joined #code
16:28 * gnolam laughs.
16:32 * TheWatcher eyes this
16:32
<@TheWatcher>
I really need to spend some time to rework all this code to use my new template, configuration, and support code
16:32
<@TheWatcher>
First, I think I need to get that time machine working...
16:37
< Derakon[work]>
...why is there a speech recognition module here?
16:37
< Derakon[work]>
It's a bloody microscope!
16:38
< Derakon[work]>
(Fortunately, the module doesn't appear to be used...)
16:41
< Namegduf>
Haha.
16:42 Rhamphoryncus [~rhamph@Nightstar-3964.abhsia.telus.net] has joined #code
16:42
<@TheWatcher>
For when someone yells "FOR THE LOVE OF GOD TURN IT OFF NOW!!"
16:50
<@TheWatcher>
(or, y'know, you could make it recoginise "SCIENCE!" to make it run any stored programs or something...)
16:52
< Vornicus-Latens>
So you can say "For god's sake, microbe-gordon! Get out of the beam!"
16:52
< Vornicus-Latens>
sorry, get away from the beam.
16:52 Irssi: #code: Total of 23 nicks [11 ops, 0 halfops, 0 voices, 12 normal]
16:53 * Derakon[work] facepalms at the lot of you.
16:53
<@TheWatcher>
Whaaaat
16:53
<@TheWatcher>
Sound like perfectly good ideas to me! ¬¬
17:03
< Alek>
¬_¬
17:04
< Alek>
but really, why not have it available so you can add on voice-activated programs?
17:04
< Alek>
like autofocus or whatnot.
17:04
< Derakon[work]>
Because more features make the program worse.
17:05
< Alek>
err.
17:05 * Alek stays out of that.
17:05 Alek [~omegaboot@Nightstar-5572.dsl.emhril.sbcglobal.net] has quit [Quit: effen reboot]
17:05
< Derakon[work]>
Someone doesn't understand basic UI design.
17:11
< Vornicus-Latens>
And anyway if you wanted to do voice activation you'd add it on as something that streams commands to your text interface.
17:12 Alek [~omegaboot@Nightstar-5572.dsl.emhril.sbcglobal.net] has joined #code
17:29
< Derakon[work]>
% hg status -m | cut -d' ' -f2|xargs hg diff | wc -l
17:29
< Derakon[work]>
6940
17:46 AnnoDomini is now known as Poland
17:59 Kazriko [~kaz@Nightstar-26123.gdj-co.client.bresnan.net] has quit [Operation timed out]
17:59 Kazriko [~kaz@Nightstar-26123.gdj-co.client.bresnan.net] has joined #code
17:59 Derakon[AFK] [~Derakon@Nightstar-4912.hsd1.ca.comcast.net] has quit [Ping Timeout]
18:02 Tarinaky is now known as Britain
18:02 Britain is now known as Tarinaky
18:17 Syloq [~Syloq@NetAdmin.Nightstar.Net] has joined #code
18:18 Syloq is now known as Syloqs-AFH
20:46 Poland is now known as Urist_Cattenab_Internet_User
20:53 Urist_Cattenab_Internet_User is now known as AnnoDomini
21:03
< Derakon[work]>
Style question: is it better to import dependencies at the top of a module, or inside module functions as those dependencies are required?
21:11
<@TheWatcher>
I'd say put them at the top - that way all the dependencies are explicit and easy to see, you don't have to go hunting for them in functions
21:13
< jerith>
Derakon[work]: PEP-8 has an opinion on the matter.
21:15
< Derakon[work]>
Ahh, good call.
21:16
< Derakon[work]>
"Imports are always put at the top of the file, just after any module comments and docstrings, and before module globals and constants."
21:16
< Derakon[work]>
That seems pretty conclusive.
21:18 * Derakon[work] is now half-done with the code-review part of a really massive merge.
21:18
< Derakon[work]>
Then I can test it, yay!
21:38
< Derakon[work]>
Good gravy, this code's adding attributes to the sys module. ;.;
22:39 AnnoDomini [AnnoDomini@Nightstar-28981.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
22:39 AnnoDomini [AnnoDomini@Nightstar-28981.neoplus.adsl.tpnet.pl] has joined #Code
22:40 mode/#code [+o AnnoDomini] by ChanServ
22:54
<@McMartin>
=(
22:54 * McMartin is being blocked by server errors that mean he can't test his fixes
22:54
<@TheWatcher>
Aww
22:55
<@McMartin>
In unrelated news, here I am on the Internet
23:16
< Tarinaky>
Yay. I got my program to compile under g++ \o/
23:18
< Tarinaky>
When I do a git commit and it says "rename math.y => math.yy (84%)" what does the percentage mean?
23:18
< Tarinaky>
How similar the two files are?
23:43
<@ToxicFrog>
Tarinaky: no idea, ask #git on freenode?
23:49 GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has joined #code
23:49 mode/#code [+o GeekSoldier] by ChanServ
23:53 SouthernMyst [~Myst@Nightstar-29731.dsl.in-addr.zen.co.uk] has quit [Quit: "Everyone dies, but not everyone lives." -- A. Sachs]
23:55 You're now known as TheWatcher[T-2]
23:59 You're now known as TheWatcher[zZzZ]
--- Log closed Fri Sep 11 00:00:31 2009
code logs -> 2009 -> Thu, 10 Sep 2009< code.20090909.log - code.20090911.log >