code logs -> 2010 -> Thu, 08 Jul 2010< code.20100707.log - code.20100709.log >
--- Log opened Thu Jul 08 00:00:44 2010
00:02 Rhamphoryncus [rhamph@Nightstar-bbc709c4.abhsia.telus.net] has quit [Client closed the connection]
00:03 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds]
00:10 Rhamphoryncus [rhamph@Nightstar-bbc709c4.abhsia.telus.net] has joined #code
00:18 Derakon [Derakon@Nightstar-1ffd02e6.ucsf.edu] has quit [[NS] Quit: Leaving]
00:44 Derakon[AFK] is now known as Derakon
01:14 AbuDhabi [annodomini@Nightstar-45f85d01.adsl.tpnet.pl] has quit [[NS] Quit: leaving]
01:16 Attilla [Attilla@Nightstar-98edf1c7.threembb.co.uk] has quit [[NS] Quit: ]
02:34
< celticminstrel>
Derakon: Methods in Python have a different type than free functions, as I recall, so that's why it works. :)
03:48 Zed [Zed@Nightstar-e4835f03.or.comcast.net] has joined #code
04:36 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
04:56 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?]
05:05 * Derakon eyes Jetblade.
05:05
<@Derakon>
How does adding a method to my Range1D class which is called by nothing cause my physics to break?
05:06
<@Derakon>
(The method is named "size" and just gives me the difference between the top of the range and the bottom)
05:06 * Derakon reverts the change, the bug goes away.
05:06 * Derakon restores the change, the bug does not return.
05:06
<@Derakon>
WTF.
05:54 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:43 Namegduf [namegduf@Nightstar-5c10d129.beshir.org] has quit [Operation timed out]
06:44 Namegduf [namegduf@Nightstar-5c10d129.beshir.org] has joined #code
07:00 Derakon is now known as Derakon[AFK]
07:12 cpux is now known as shade_of_cpux
09:45 Rhamphoryncus [rhamph@Nightstar-bbc709c4.abhsia.telus.net] has quit [Client exited]
09:49 RichardBarrell [mycatverbs@Nightstar-689c9c54.cable.virginmedia.com] has quit [Ping timeout: 121 seconds]
10:04 AnnoDomini [annodomini@Nightstar-45f85d01.adsl.tpnet.pl] has joined #code
10:04 mode/#code [+o AnnoDomini] by Reiver
10:06
<@AnnoDomini>
jerith: Is there a way to move an irssi window to another position? (For some reason, the networks I'm connecting to have switched turns, and now I'm getting a channel at window 2 that should have been at window 8.)
10:07
<@AnnoDomini>
I've been dealing with this by /window close and /join, but that's annoying.
11:01 AnnoDomini [annodomini@Nightstar-45f85d01.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
11:03 AnnoDomini [annodomini@Nightstar-99d588cc.adsl.tpnet.pl] has joined #code
11:03 mode/#code [+o AnnoDomini] by Reiver
11:07 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
11:20
<@AnnoDomini>
C++. I'm having trouble imagining something. I want a matrix of classes/structures that are connected by way of their inputs and outputs. I want them, when I trigger update() for any of them, to take the results from another one they are connected to. I'm thinking of doing it with pointers somehow.
11:22
<@AnnoDomini>
I want to make something vaguely FPGA-ish.
11:26
<@AnnoDomini>
Is it possible to pass pointers to members of classes?
11:27
<@Vornicus>
good god, message passing in C++
11:31
<@AnnoDomini>
Well, sanity damage aside, can it be done?
11:43
<@Vornicus>
I don't know, but C++ really isn't built for it!
11:56 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code
12:40 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds]
13:24 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
13:32 AttWork [NSwebIRC@Nightstar-f1a8b3aa.in-addr.btopenworld.com] has joined #code
13:32
< AttWork>
Time to learn to use Expression Web oh yeahhh
13:43
<@ToxicFrog>
AnnoDomini: Yes it is possible, although it's probably better for each node to point to other nodes, not to parts of other nodes.
13:43
<@ToxicFrog>
That said, :gonk:
13:45
<@AnnoDomini>
Gonk?
13:46
< AttWork>
Everyone loves the :gonk:
13:46 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
13:47
<@ToxicFrog>
http://i.somethingawful.com/forumsystem/emoticons/emot-gonk.gif
13:47
< AttWork>
Damnit I was about to link to that
13:47
< AttWork>
It's in my buffer or whatever it is called where you copy to and everything
13:48
<@ToxicFrog>
Clipboard, or possibly kill ring.
13:55
< AttWork>
That was it, clipboard.
14:11 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection closed]
14:17 Zed [Zed@Nightstar-e4835f03.or.comcast.net] has quit [Ping timeout: 121 seconds]
14:50 Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code
16:38
<@jerith>
AnnoDomini: /window move <number>
16:39
<@jerith>
AnnoDomini: Also /window move {up,down,left,right,<whatever>}, but I never use those.
16:44 AttWork [NSwebIRC@Nightstar-f1a8b3aa.in-addr.btopenworld.com] has quit [[NS] Quit: Page closed]
16:45
<@jerith>
http://paste.ubuntu.com/460687/ -- Latest iteration (haha) of a function I have to rewrite frequently enough to be annoying, but infrequently enough that I have to figure it out every time.
17:21 Attilla [Attilla@Nightstar-ce1961ab.threembb.co.uk] has joined #code
17:21 mode/#code [+o Attilla] by Reiver
17:47 Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds]
17:54 Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code
18:06 Attilla [Attilla@Nightstar-ce1961ab.threembb.co.uk] has quit [Client closed the connection]
18:32 You're now known as TheWatcher
19:28 Rhamphoryncus [rhamph@Nightstar-bbc709c4.abhsia.telus.net] has joined #code
19:44 * Alek wonders if he's ambitious or just insane.
19:45
< Alek>
I'm thinking of bidding to provide the all-in-one program and tool(something like an ipad) for the 2020 census.
19:46
< Alek>
I mean, I know one person can do it. the one person being me, theoretically. and do it better than they did for this census.
19:46
< Alek>
but what does that make me?
21:08
<@jerith>
A wannabe government contractor?
21:25
<@Vornicus>
gah, hate this. Need to turn this mutable: list of lists of sets, into an immutable in such a way that I can "modify" it and get another immutable that represents the result of the modification.
21:34 RichardBarrell [mycatverbs@Nightstar-689c9c54.cable.virginmedia.com] has joined #code
21:52 Derakon [Derakon@Nightstar-1ffd02e6.ucsf.edu] has joined #code
21:52 mode/#code [+o Derakon] by Reiver
21:53
<@Derakon>
Man, having an extra half-million pixels or so makes laying out GUI elements much easier. Yay no space constraints!
21:59
<@jerith>
:-)
22:01
<@AnnoDomini>
Now you can put the PETE button just where you want it!
22:02
<@Derakon>
Heh.
22:02
<@Derakon>
That button got changed to "Logout" ages ago. :p
22:03
<@Vornicus>
"pete"?
22:03
<@Vornicus>
why on earth was it called "pete"?
22:03
<@Derakon>
http://derakon.dyndns.org/~chriswei/temp/omxscreenshot.png
22:03
<@Derakon>
To tell you who you were currently "logged in" as.
22:03
<@Derakon>
Oh wow, I keep forgetting how horrible the old UI aws.
22:03
<@Derakon>
Er, was.
22:03
<@Vornicus>
what's it look like now?
22:04
<@AnnoDomini>
Like Google. :P
22:04
<@Derakon>
I've made some significant changes even from this, but this is moderately recent: http://derakon.dyndns.org/~chriswei/temp2/omxscreenshot20100427.png
22:05
<@Derakon>
(It predates the acquisition of the new third monitor, hence the big black spot)
22:11 Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds]
22:48
<@Derakon>
...heh. The changes I'm making currently involve taking some existing UI widgets and moving them to a new window with a different visual design.
22:48
<@Derakon>
I've removed 272 lines from an existing module, and created a new module that's 501 lines long.
22:57 RichardBarrell [mycatverbs@Nightstar-689c9c54.cable.virginmedia.com] has quit [Ping timeout: 121 seconds]
23:00 Zed [Zed@Nightstar-e4835f03.or.comcast.net] has joined #code
23:03 Attilla [Attilla@Nightstar-966c7ba6.threembb.co.uk] has joined #code
23:03 mode/#code [+o Attilla] by Reiver
23:14
<@Derakon>
activateAction = lambda objective = objective: objectives.setObjective(objective)
23:21
<@Vornicus>
wheee
23:32
<@Vornicus>
Oh that's ugly. Pass around, instead of the structure, a simple serialization of the structure.
23:35
<@Derakon>
:(
23:35
<@Derakon>
What is this?
23:36
<@Vornicus>
I'm building a logic game. The game state needs to be copy-on-write, which means, generally, immutability.
23:37
<@McMartin>
JSON
23:37
<@Vornicus>
(copy on write makes undo chains actually plausible - there are technically more interesting ways I could do it, but they're too complicated in general.)
23:38
<@Vornicus>
McM: almost precisely.
23:42 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
23:43 Derakon [Derakon@Nightstar-1ffd02e6.ucsf.edu] has quit [[NS] Quit: Leaving]
23:45
<@Vornicus>
Which leaves only one question as far as data store goes: I need to tell the difference between given positions (the yellow house is at position 3 by definition) and deduced positions (the yellow house is at position 3 because I figured that out). Currently "yellow house" is actually abstracted away to "item 2 of type 4", so.
23:52
<@Vornicus>
hng. Best i can think of is to use negative numbers (n - board.columns) to do it.
--- Log closed Fri Jul 09 00:00:45 2010
code logs -> 2010 -> Thu, 08 Jul 2010< code.20100707.log - code.20100709.log >