code logs -> 2009 -> Mon, 16 Nov 2009< code.20091115.log - code.20091117.log >
--- Log opened Mon Nov 16 00:00:12 2009
00:05 Alek [omegaboot@Nightstar-5fc52a4b.emhril.sbcglobal.net] has quit [Ping timeout: 121 seconds]
00:09 Alek [omegaboot@Nightstar-1f17720f.emhril.sbcglobal.net] has joined #code
00:29 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
00:30 Syloqs_AFH is now known as Syloqs-AFH
01:10 Alek [omegaboot@Nightstar-1f17720f.emhril.sbcglobal.net] has quit [Ping timeout: 121 seconds]
01:18 Alek [omegaboot@Nightstar-1f17720f.emhril.sbcglobal.net] has joined #code
02:03 * ToxicFrog gnaws on vstruct
02:11
< gnolam>
http://www.skytopia.com/project/fractal/mandelbulb.html
02:27 Alek [omegaboot@Nightstar-1f17720f.emhril.sbcglobal.net] has quit [Ping timeout: 121 seconds]
02:31 Alek [omegaboot@Nightstar-2f4224bb.emhril.sbcglobal.net] has joined #code
02:40 Derakon[AFK] is now known as Derakon
02:52 Vornicus-Latens is now known as Vornicus
02:54
<@Vornicus>
agh dumbassery is approaching
02:54 * Vornicus feels like a dumbass.
02:54
<@Vornicus>
Okay. Got a calculation to do. Lots of state getting thrown around.
02:58
<@Vornicus>
Need to throw this state through several functions.
02:59
<@Vornicus>
...need a context object. Damn. This isn't gonna come easy tonight.
03:06
<@ToxicFrog>
Naming question.
03:06
<@ToxicFrog>
For each AST node, I have a field, "width", which records the size of this node on disk in bytes.
03:07
<@ToxicFrog>
I now find that I also need to know the size of the node in items (which is not the same as the number of children it has!)
03:07
<@ToxicFrog>
What should I call this?
03:07
<@Vornicus>
item_size
03:07
<@ToxicFrog>
That sounds like the size of an individual item.
03:08
<@Vornicus>
weight
03:08
<@ToxicFrog>
...maybe weight should be bytesize and width should be itemcount.
03:08 * ToxicFrog commonly uses "weight" as the dimension for bytesize when discussing files
03:08
<@ToxicFrog>
I'm also tempted to use "cardinality"
03:12
<@Vornicus>
Sounds right
03:12
<@Vornicus>
The first suggestion that is
03:12 Attilla [The.Attilla@FBC920.480E8C.B52869.4211C4] has quit [Connection reset by peer]
03:16
<@McMartin>
For multibyte strings, I think of "len" as the number of characters and "size" as the number of bytes
03:16
<@McMartin>
Does Not Play Well with C, ofc
04:00 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?]
04:02
<@ToxicFrog>
"len" has it; renaming width to weight is a pain.
04:37
<@Derakon>
Hm. Anyone understand what this issue is for? http://code.google.com/p/jetblade/issues/detail?id=7
04:37
<@Derakon>
"Import by filename"?
04:41 Reiver [reaverta@ServerAdministrator.Nightstar.Net] has joined #code
04:50 Pinkhair [pinkhair3d@Nightstar-a7d2ccfd.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
04:58 ServerMode/#code [+o Reiver] by *.Nightstar.Net
05:00 mode/#code [+r] by ChanServ
05:00 mode/#code [+q Reiver] by ChanServ
05:02 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Connection reset by peer]
05:13
<@Derakon>
Ahh, found it. http://docs.python.org/whatsnew/2.6.html
05:14
<@Derakon>
"Due to an implementation accident, if you passed a file path to the built-in __import__() function, it would actually import the specified file. This was never intended to work, however, and the implementation now explicitly checks for this case and raises an ImportError."
06:08 Derakon [Derakon@Nightstar-5abd3ac9.ca.comcast.net] has quit [[NS] Quit: And poof! I am gone.]
06:09 Derakon [Derakon@Nightstar-5abd3ac9.ca.comcast.net] has joined #code
06:09 mode/#code [+o Derakon] by Reiver
06:11 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has joined #code
07:02 AnnoDomini [farkoff@Nightstar-5c86a2c8.adsl.tpnet.pl] has joined #code
07:02 mode/#code [+o AnnoDomini] by Reiver
07:06 Derakon is now known as Derakon[AFK]
08:59 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has quit [Client exited]
09:00 You're now known as TheWatcher
09:23 AnnoDomini [farkoff@Nightstar-5c86a2c8.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
09:30 AnnoDomini [farkoff@Nightstar-5c86a2c8.adsl.tpnet.pl] has joined #code
09:30 mode/#code [+o AnnoDomini] by Reiver
10:22 Alek [omegaboot@Nightstar-2f4224bb.emhril.sbcglobal.net] has quit [Ping timeout: 121 seconds]
10:26 Alek [omegaboot@Nightstar-f331ec11.emhril.sbcglobal.net] has joined #code
10:43 Attilla [The.Attilla@FBC920.480E8C.B52869.4211C4] has joined #code
10:43 mode/#code [+o Attilla] by Reiver
10:47 AnnoDomini [farkoff@Nightstar-5c86a2c8.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
11:34 AnnoDomini [farkoff@Nightstar-5c86a2c8.adsl.tpnet.pl] has joined #code
11:34 mode/#code [+o AnnoDomini] by Reiver
12:26 Pinkhair [pinkhair3d@Nightstar-a7d2ccfd.dyn.optonline.net] has joined #code
13:44 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
14:24 TarinakyKai [Tarinaky@Nightstar-5d026179.adsl.virginmedia.net] has joined #code
14:24 Tarinaky [Tarinaky@Nightstar-5f8e4b67.adsl.virginmedia.net] has quit [Connection reset by peer]
14:36 AnnoDomini [farkoff@Nightstar-5c86a2c8.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
14:41 AnnoDomini [farkoff@Nightstar-71a66487.adsl.tpnet.pl] has joined #code
14:41 mode/#code [+o AnnoDomini] by Reiver
14:50
< gnolam>
... have I mentioned how much I love modern GPUs?
14:50
< gnolam>
I'm using dynamic environment mapping.
14:51
< gnolam>
Just for shits and giggles and I upped the cubemap resolution to 2048x2048. And whaddayaknow - still 50 FPS. :)
14:54
< gnolam>
-and
15:08 TarinakyKai [Tarinaky@Nightstar-5d026179.adsl.virginmedia.net] has quit [Client closed the connection]
15:22
< gnolam>
I wish GL_ARB_seamless_cube_map
15:22
< gnolam>
*would have come earlier though. :(
15:23 TarinakyKai [Tarinaky@Nightstar-36cc341d.adsl.virginmedia.net] has joined #code
16:15 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Client closed the connection]
16:48 * MyCatVerbs hands gnolam a glass of sloe gin and pours another for himself.
16:49
<@MyCatVerbs>
To ATI, Intel and nVidia. Cheers! *clink*
16:49
<@MyCatVerbs>
I feel like we should go pour out a forty on the ground for the memory of SGI corp though.
16:49 * gnolam slaps the glass out of MyCatVerbs's hand.
16:50
< gnolam>
Do not toast Intel. >:E
16:50
<@MyCatVerbs>
Meh, I have a fast enough lerping chip to enable Compiz on this laptop.
16:50
<@MyCatVerbs>
Plays Quake2 real good too.
16:53
< gnolam>
Their hardware is usually crap, their drivers are buggy as ass, and they refuse to support all sorts of things their chips /should/ be capable of.
16:53
< gnolam>
*cough*FBOs*cough*
16:54
<@MyCatVerbs>
What? They really don't support render-to-texture?
16:54
< gnolam>
At least they're not /faking/ support for it, like they do with a whole lot of other things.
16:54
< gnolam>
Their latest chips might.
16:54
< gnolam>
But not their popular ones.
16:56
< gnolam>
But even in the simplest of apps, you will sooner or later run into Intel's goddamned bugs.
16:57
< gnolam>
It's to the point where I know of projects that refuse to even investigate crashes or corrupted graphics on GMA chipsets. :P
17:01 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has joined #code
17:16 * MyCatVerbs ponders this.
17:16
<@MyCatVerbs>
S'pose it explains why things like wz2100 don't work on Intel chipsets.
17:21 You're now known as TheWatcher[afk]
17:54 Derakon[work] [Derakon@Nightstar-d44d635e.ucsf.edu] has joined #code
17:54 TarinakyKai [Tarinaky@Nightstar-36cc341d.adsl.virginmedia.net] has quit [Ping timeout: 121 seconds]
17:55 TarinakyKai [Tarinaky@Nightstar-36cc341d.adsl.virginmedia.net] has joined #code
17:55
< Derakon[work]>
Design question: I'm working on the input validation for the new Experiment class. The old codebase checks for if we're trying to save to an already-extant file and pops up a dialog box to confirm. This is a good idea. Question is, should Experiment code be talking to wx directly (for the dialog box) or should it subcontract out to GUI code?
17:56
< SmithKurosaki>
What are you writing in? python right?
17:56
< Derakon[work]>
The GUI code would probably just be a "popupDialogBox" function that just wraps around wx.MessageDialog() with some preset options.
17:56
< Derakon[work]>
Yes, I'm working in Python.
17:57
< SmithKurosaki>
hrm
17:57
< Derakon[work]>
Language should be irrelevant for this question.
17:57
< SmithKurosaki>
Yea, just curious
17:57
< Derakon[work]>
It's more a matter of how different modules should interact and if I should be trying to split out the wx code from the rest of the codebase (answer: probably)
17:58
< SmithKurosaki>
Like if you have another use for the gui code, I would have that, but if that's the only thing that would use it, I tend to lean to direct interfacing
18:03 Alek [omegaboot@Nightstar-f331ec11.emhril.sbcglobal.net] has quit [Client closed the connection]
18:04 TarinakyKai [Tarinaky@Nightstar-36cc341d.adsl.virginmedia.net] has quit [Ping timeout: 121 seconds]
18:05 TarinakyKai [Tarinaky@Nightstar-36cc341d.adsl.virginmedia.net] has joined #code
18:10 Alek [omegaboot@Nightstar-f331ec11.emhril.sbcglobal.net] has joined #code
18:26 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
18:26 mode/#code [+o ToxicFrog] by Reiver
18:28 TarinakyKai is now known as Tarinaky
18:31
< Derakon[work]>
Blergh. 2035 lines of Python code that I need to refactor here. This is...a bigger task than I'd initially anticipated.
18:41 You're now known as TheWatcher
19:06
< Derakon[work]>
Goddamn, this code is so incestuous.
19:06
< Derakon[work]>
A function that sets up a configuration "profile" accepts no arguments (instead working with the global variables that hold all experiment state)...and, in addition to creating the profile, also mucks with those variables.
19:06
< Derakon[work]>
Thanks a lot, Sebastian.
19:06
< Derakon[work]>
You're a menace.
19:25
< Derakon[work]>
On the plus side, isn't "perSliceTime = self.exposureTime + self.timeBetweenExposures" much clearer than "expRepTime = X.runParms.betweenSleep + X.runParms.exptime"?
19:35
<@McMartin>
The module is named X? Isn't that a violation of his naming convention?
19:36
< Derakon[work]>
No, no.
19:36
< Derakon[work]>
The module is named seb.
19:36
< Derakon[work]>
It is always imported as "X", though.
19:42
<@TheWatcher>
... y'know, I'm beginning to get the impression that, for the sake of the human race, henceforth Sebastian needs to be kept well away from anything remotely resembling a compiler or interpreter
19:50
<@AnnoDomini>
EXPLAIN.
19:50
<@McMartin>
Wait, wait.
19:51
<@McMartin>
Is this sebX.py being imported as "X", sebDIAF being imported as "DIAF", etc., or is every module ever imported as "X"?
19:52
< Derakon[work]>
This is "seb.py" being imported as "X".
19:52
< Derakon[work]>
Typically, modules get imported as their single-letter suffixes, e.g. sebD.py gets imported as D, sebC gets imported as C, and so on.
19:53
<@McMartin>
Yeah, I'd figured the experiment module was named sebX.
19:53
< Derakon[work]>
The exceptions I've seen to this are sebGui getting imported as GGG, and Priithon.usefulX getting imported as Y, since X was already taken when he decided to make Priithon (which is some other monstrosity mostly used for postprocessing...I'm not touching that yet).
19:53
< Derakon[work]>
No, it's sebEx.
19:53
<@McMartin>
Praython?
19:53
< Derakon[work]>
Heh.
20:20 Derakon[work] [Derakon@Nightstar-d44d635e.ucsf.edu] has quit [[NS] Quit: Leaving]
20:22 Alek [omegaboot@Nightstar-f331ec11.emhril.sbcglobal.net] has quit [Ping timeout: 121 seconds]
20:26 Alek [omegaboot@Nightstar-087b8f09.emhril.sbcglobal.net] has joined #code
21:16 AnnoDomini [farkoff@Nightstar-71a66487.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
21:17 AbuDhabi [farkoff@Nightstar-71a66487.adsl.tpnet.pl] has joined #code
21:19 Alek [omegaboot@Nightstar-087b8f09.emhril.sbcglobal.net] has quit [Connection reset by peer]
21:25 Alek [omegaboot@Nightstar-087b8f09.emhril.sbcglobal.net] has joined #code
21:27 Derakon[AFK] is now known as Derakon
21:48 Netsplit *.net <-> *.split quits: dmlandrum, @Attilla, @Vornicus, simon`, KazWork, @Reiver, crem, @Kazriko, @jerith, @MyCatVerbs, (+4 more, use /NETSPLIT to show all of them)
21:48 Netsplit over, joins: simon`, @jerith, @Kazriko, @Vornicus
21:49 Netsplit over, joins: KazWork, Namegduf, crem, @MyCatVerbs, dmlandrum, Alek, @Attilla, ~Reiver, Pinkhair, gnolam
22:13
<@Derakon>
I was just tempted to write a comment in the sourcecode that only I would really understand.
22:13
<@Derakon>
Since I doubt that anyone else who ever looks at this code will have much experience with the way Blender handles keyframes in animation.
22:14
<@Derakon>
On the plus side: I may be able to implement a feature the biologists wanted that I initially thought was infeasible.
22:14
<@Derakon>
Yay getting more details on how experiments work under the covers.
22:15
<@McMartin>
... under the hood, surely?
22:15
<@McMartin>
Or are bio experiments friskier than that?
22:16
<@Derakon>
Well, a lot of the biologists are investigating chromosomal movements during mitosis...
22:16
<@Derakon>
(Yes, under the hood)
22:17
<@Derakon>
The specific requirement was to be able to have certain lasers trigger not on every image, but every image mod n, to avoid bleaching the dyes that are sensitive to those lasers.
22:18
<@Derakon>
...oh, wait, no, this may not be possible after all. At least, not in the way wanted.
22:21
<@Derakon>
I guess I could load the entire damn experiment into a single profile and have the DSP do one "pass" that actually goes through the entire stack multiple times...*mutter mutter mutter*
22:35
<@Derakon>
A little before-and-after for y'all: http://paste.ubuntu.com/320366/
22:37
<@McMartin>
.... "or """
22:37 * McMartin stabs him right in his Perl-twisted soul.
22:37
<@Derakon>
Yep.
22:37
<@Derakon>
This is the first time I've seen him use such a construct, mind you.
22:37
<@Derakon>
He must've seen it and thought "Boy, that's clever."
22:38
< simon`>
Perl is twisted. Python has twisted.
23:13
<@TheWatcher>
Perl is not twisted!
23:14
<@Derakon>
It is easily-kinked, though.
23:14
<@TheWatcher>
Perl is positively psrained.
23:14
<@TheWatcher>
... strained
23:14
<@TheWatcher>
I can type, really
23:16 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
23:17 Syloqs_AFH is now known as Syloqs-AFH
23:27
< gnolam>
Google Wave - theory vs practice: http://i.imgur.com/zVn91.jpg
23:27
< Namegduf>
Haha.
23:28
< Namegduf>
Well, see, just "getting an invite" is pointless.
23:28
< Namegduf>
People were supposed to give invites to people they knew and worked with so they could communicate over it and collaborate or something.
23:28
< Namegduf>
Getting an invite from someone you're not doing that with is largely useless.
23:37 AbuDhabi [farkoff@Nightstar-71a66487.adsl.tpnet.pl] has quit [[NS] Quit: Gnothi seauton, malákas.]
23:42
< dmlandrum>
I still have 18 more "nomination" to give out. I managed to get one person I know in, so at least I've been a part of one wave. :-/
23:42
< dmlandrum>
+s
23:46 You're now known as TheWatcher[T-2]
23:50 You're now known as TheWatcher[zZzZ]
--- Log closed Tue Nov 17 00:00:26 2009
code logs -> 2009 -> Mon, 16 Nov 2009< code.20091115.log - code.20091117.log >