code logs -> 2012 -> Thu, 23 Feb 2012< code.20120222.log - code.20120224.log >
--- Log opened Thu Feb 23 00:00:57 2012
00:31
< maoranma>
There is the problem that Philip is a super fast coder and has a beta done before I get any input in X_X
00:32
< maoranma>
But, I guess my goal would be to move resources into files, create a loader function, and fix the elif ladder into something better
00:33
< maoranma>
And do some input sanitation
00:54 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
01:02
<~Vornicus>
Okay home
01:06 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
01:06 mode/#code [+o himi] by ChanServ
01:21
< ToxicFrog>
what is this shit
01:21
< ToxicFrog>
when a Pile creates a new item from scratch, the constructor for that item is never called
01:21
< ToxicFrog>
idkwtf
01:26
< ToxicFrog>
I can see it calling the ctor right here!
01:26
< ToxicFrog>
augh
01:30
< ToxicFrog>
...
01:30
< ToxicFrog>
Ok, now I see why it isn't working here.
01:30
< ToxicFrog>
Given that, how can it possibly work at- oh.
01:36
< ToxicFrog>
How the hell do I fix this?
01:43 Kindamoody[zZz] is now known as Kindamoody
01:53 Derakon[AFK] is now known as Derakon
02:12
< ToxicFrog>
Fixed!
02:18
< ToxicFrog>
And pushed.
02:25
<~Vornicus>
wtf happened
02:31 Attilla [Obsolete@Nightstar-36422e6e.as43234.net] has quit [Ping timeout: 121 seconds]
02:53
< Rhamphoryncus>
ToxicFrog: I have no idea what you were on about, but you do give good pain. ;)
03:02
< ToxicFrog>
Vornicus, Rhamphoryncus: game is created. Client connects. Client takes action that causes a new object to be created. Client crashes because object is missing vital components.
03:02
< Rhamphoryncus>
heh
03:02
< ToxicFrog>
Analysis shows that this is because the object is being transmitted to the client before all of its constructors have run.
03:03
< ToxicFrog>
(specifically, it gets sent after Object.__init and game.felt.Object.__init run, but before game.felt.Entity.__init and game.chess.Piece.__init)
03:03
< ToxicFrog>
This turns out to be because all of the ctors are structured like this:
03:03
< ToxicFrog>
function __init(self, ...) super.__init(self, ...); ...do stuff...; end
03:03
< ToxicFrog>
And in game.felt.Object.__init, "do stuff" includes server.game():addObject(self), which transmits it to the client.
03:06
< ToxicFrog>
So the sequence of events was:
03:06
< ToxicFrog>
- Object ctor
03:06
< ToxicFrog>
- felt.Object ctor
03:07
< ToxicFrog>
- send object to client
03:07
< ToxicFrog>
- ctors for subclasses that set up things the client-side code depends on
03:07
< ToxicFrog>
(and the solution is "transmit the object the first time a message referring to it is sent to the client, not as soon as it's created")
03:07
<&McMartin>
This is also why making virtual method calls in ctors is dangerous
03:25
< ToxicFrog>
Quite.
03:26
< ToxicFrog>
The best part is? This problem with object creation arises as a result of a fix I made to object deletion, causing objects to be serialized as soon as a message containing them is queued (rather than when the message is actually sent)
03:27
< ToxicFrog>
So, previously, this wasn't an issue, as you are guaranteed that no queued messages will be sent until the ctor returns.
03:41 * Vornicus writes prime factorization, and now prepares to instrument the hell out of it.
03:58 iospace [Alexandria@Nightstar-635d16fc.org] has quit [Ping timeout: 121 seconds]
04:04 iospace [Alexandria@Nightstar-635d16fc.org] has joined #code
04:05 mode/#code [+o iospace] by ChanServ
04:31 * Vornicus tries to figure out what instruments he needs.
04:34
< Rhamphoryncus>
ToxicFrog: quite a lot of bugs are produced in fixes. Not just an anecdote, it's actually true.
04:49 Derakon is now known as Derakon[shower]
05:12 Derakon[shower] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds]
05:14 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
05:14 mode/#code [+ao Derakon Derakon] by ChanServ
05:49 * jerith hands Vornicus a lute and a shawm.
05:54
<~Vornicus>
...thank you.
05:55
<@jerith>
Are those suitable instruments?
05:57
<@jerith>
I have a sackbut and a hurdy gurdy as well, if you want those instead.
05:58
<~Vornicus>
GOt a theremin and a jawharp?
06:00
<@jerith>
My theremin's still under construction. My brother (the rabbi) has the jewharp.
06:00
<~Vornicus>
SPeaking of which I wanted to hunt up those "/fantastic/" a capella versions of Thriller that Mahal mentioned but Vash is netgaming so not now
06:04
<@jerith>
Vornicus: Toss links my way when you find them. :-)
06:04
<~Vornicus>
Of course.
06:05
<@jerith>
But for now, I must find pants and then breakfast. (In that order.)
06:06
<~Vornicus>
I recommend not accidentally getting those in the wrong order.
06:07
<~Vornicus>
For one thing, pants aren't very tasty, and for another thing, cheerios will not protect you from an indecent exposure charge.
06:07
<@jerith>
I'm going to start hunting in my bedroom, which is unlikely to contain breakfast.
06:08
<@jerith>
And the fried chicken place down the road does not contain patns that are not already wrapped around legs.
06:08
<~Vornicus>
fried chicken for breakfast?
06:09 * Vornicus hunts around for jerith's newsletter so he can add it to his feed reader.
06:11 eckse [eckse@Nightstar-086443b9.dsl.sentex.ca] has quit [Client closed the connection]
06:11
<@jerith>
I frequent the coffee-and-sandwich place more frequently, but I need to go past the fried chicken place to collect the rest of my prescription this morning.
06:32 Vash [Vash@Nightstar-cdeba41f.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!]
06:33 Derakon is now known as Derakon[AFK]
07:00 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Client closed the connection]
07:14 You're now known as TheWatcher
07:41 Reivles [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
07:43 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
08:04 You're now known as TheWatcher[afk]
08:05 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has quit [Client exited]
08:06 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
08:20 Kindamoody is now known as Kindamoody|out
08:30 Janus [NSwebIRC@Nightstar-27138e8c.res.rr.com] has joined #code
08:34
< Janus>
Are 2D vector fields a thing? That's what I would call a thing that might describe a windy thing, right? I want to do the windy thing, but I wonder if there's already a windy thing floating around, all free to reference and good
08:35
< Janus>
I got a thing that's like a 2D vector field. But I somehow forgot I need to make it simulate too, which is a little beyond me. Everything else seems squared away!
08:44 * Janus finangles. minces. Oh hey. It works slightly!
08:49
< Janus>
It's probably not very accurate, but if I just look at each 2x2 group of vectors, and try to split them evenly over time, it works like wind sorta
08:50
< Janus>
Even typhoon-ish stuff happens. Hotdog!
08:52
< Janus>
... at least, I assume looking at the numbers. *tries to convince opengl to render it*
09:18 Attilla [Obsolete@Nightstar-7627bdfe.as43234.net] has joined #code
09:50 thalass [thalass@Nightstar-07b2245e.bigpond.net.au] has joined #code
09:50 * thalass stabs eric python IDE
09:51 Janus [NSwebIRC@Nightstar-27138e8c.res.rr.com] has quit [[NS] Quit: Page closed]
09:52
< thalass>
never mind. It decided to behave.
09:56
< gnolam>
jerith: you have a hurdy gurdy? Lucky bastard!
09:56
<@jerith>
gnolam: I have a hypothetical one that I can give people over the internet.
09:57
<@jerith>
(The only real musical instrument I have is a trombone, which is close enough to a sackbut that I can fake it.)
09:57 You're now known as TheWatcher
09:58
< gnolam>
Bah
10:07
< gnolam>
(A friend and I have plans to build ourselves one each, see)
12:38 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
12:41 * TheWatcher snerks as a couple of co-workers finally work out his version tagging system
12:56 You're now known as TheWatcher[d00m]
13:05 * thalass glees
13:06
< thalass>
i have successfully written my first python program. Though it's ugly as hell. whee!
13:07
< thalass>
Or, rather, i have successfully made a QT GUI for it. I wrote the code a couple of weeks ago. Getting the gui and the code to match was a bit tricky (keep in mind i'm a noob haha)
13:15 You're now known as TheWatcher
13:51 gruber [lenin@Nightstar-202a5047.priv.bahnhof.se] has joined #code
13:53 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has quit [Ping timeout: 121 seconds]
13:56 gruber [lenin@Nightstar-202a5047.priv.bahnhof.se] has quit [Ping timeout: 121 seconds]
14:14 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has joined #code
14:20 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has quit [Ping timeout: 121 seconds]
14:38 Stalker [Z@Nightstar-5aa18eaf.balk.dk] has joined #code
14:43 You're now known as TheWatcher[afk]
15:06 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
15:06 mode/#code [+o Syloqs_AFH] by ChanServ
15:07 Syloqs_AFH is now known as Syloqs-AFH
15:10
< ToxicFrog>
thalass: congrats
15:12 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has joined #code
15:21
<~Vornicus>
2d vector vields are a thing
15:21
<~Vornicus>
div works normally; curl is weird and gives you a density field
15:39 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
17:39 Kindamoody|out is now known as Kindamoody
18:00 ShellNinja is now known as Number3
18:00 Tarinaky is now known as Lowpass
18:02 Vash [Vash@Nightstar-cdeba41f.wlfrct.sbcglobal.net] has joined #code
18:02 mode/#code [+o Vash] by ChanServ
18:02 Kindamoody is now known as Kindamoody[zZz]
19:29 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has joined #code
20:07 eckse [eckse@Nightstar-086443b9.dsl.sentex.ca] has joined #code
20:07 mode/#code [+o eckse] by ChanServ
20:14
<&McMartin>
thalass: GUI programming is a separate skill, and props are due for getting it to work *at all*.
20:14 * jerith concurs.
20:18 Derakon[AFK] is now known as Derakon
20:22 You're now known as TheWatcher
20:38 ToxicFrog [ToxicFrog@2D9871.E3DD81.3BE9E7.8E3843] has quit [Operation timed out]
20:47 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds]
20:47 Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
20:47 mode/#code [+ao Derakon Derakon] by ChanServ
20:54 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
20:54 mode/#code [+o ToxicFrog] by ChanServ
21:34 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
21:36 Reivles [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
22:17 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Connection reset by peer]
22:18 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
22:18 mode/#code [+o ToxicFrog] by ChanServ
22:26 Alek [omegaboot@Nightstar-efc8dc53.il.comcast.net] has quit [[NS] Quit: ]
22:28 Number3 is now known as ShellNinja
22:35 Alek [omegaboot@Nightstar-efc8dc53.il.comcast.net] has joined #code
22:35 mode/#code [+o Alek] by ChanServ
23:16 Alek [omegaboot@Nightstar-efc8dc53.il.comcast.net] has quit [[NS] Quit: ]
23:21 Alek [omegaboot@Nightstar-efc8dc53.il.comcast.net] has joined #code
23:21 mode/#code [+o Alek] by ChanServ
23:21 Alek [omegaboot@Nightstar-efc8dc53.il.comcast.net] has quit [[NS] Quit: ]
23:25 Alek [omegaboot@Nightstar-efc8dc53.il.comcast.net] has joined #code
23:25 mode/#code [+o Alek] by ChanServ
23:59 You're now known as TheWatcher[T-2]
--- Log closed Fri Feb 24 00:00:13 2012
code logs -> 2012 -> Thu, 23 Feb 2012< code.20120222.log - code.20120224.log >

[ Latest log file ]