code logs -> 2010 -> Tue, 12 Oct 2010< code.20101011.log - code.20101013.log >
--- Log opened Tue Oct 12 00:00:17 2010
00:02 kwsn [kwsn@31356A.5FD175.2259B6.DFACD4] has joined #code
00:02
< Tarinaky>
Eeexcept the numbers don't work. Brilliant.
00:02
< Anno[Laptop]>
Brillant.
00:13 RichardBarrell [mycatverbs@Nightstar-3b2c2db2.bethere.co.uk] has quit [[NS] Quit: ERC Version 5.3 (IRC client for Emacs)]
00:13
< Tarinaky>
Ahah! I found my missing quarter!
00:15 Orthia [orthianz@Nightstar-3f4b75fb.xnet.co.nz] has joined #code
00:16
< Tarinaky>
So... It sortof works but there's a fudge factor that shouldn't really be there :/
00:16
< Tarinaky>
Bah.
00:19
< Tarinaky>
Night.
00:19 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Connection closed]
00:22 Attilla [Some.Dude@Nightstar-d16971dc.threembb.co.uk] has quit [[NS] Quit: ]
00:26 You're now known as TheWatcher[T-2]
00:30 You're now known as TheWatcher[zZzZ]
01:22 Derakon[AFK] is now known as Derakon
01:31 Kaura [kaura@Nightstar-fd82400d.snfc21.sbcglobal.net] has quit [Client closed the connection]
01:35 Kaura [kaura@Nightstar-fd82400d.snfc21.sbcglobal.net] has joined #code
01:41 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
02:02 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?]
02:07 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
02:09 Orthia [orthianz@Nightstar-3f4b75fb.xnet.co.nz] has quit [Client closed the connection]
02:22 Anno[Laptop] [annodomini@Nightstar-ad8ab9cf.adsl.tpnet.pl] has quit [[NS] Quit: leaving]
02:24 Orthia [orthianz@Nightstar-3f4b75fb.xnet.co.nz] has joined #code
02:24 Orthia [orthianz@Nightstar-3f4b75fb.xnet.co.nz] has quit [Client closed the connection]
02:24 Orthia [orthianz@Nightstar-3f4b75fb.xnet.co.nz] has joined #code
02:25 Orthia [orthianz@Nightstar-3f4b75fb.xnet.co.nz] has quit [Client closed the connection]
02:27
<@Vornicus>
Kaura!
02:29 Rhamphoryncus [rhamph@Nightstar-473f8685.abhsia.telus.net] has quit [Client exited]
02:30 Orthia [orthianz@Nightstar-bad8b684.xnet.co.nz] has joined #code
02:31
< Kaura>
Vorn: Haven't made any progress since last night, sorry. Still working on sending stuff out.
02:32
<@Vornicus>
No worries. I didn't expect you to be able to do it without help.
04:48 Orthia [orthianz@Nightstar-bad8b684.xnet.co.nz] has quit [Client closed the connection]
04:56 Orthia [orthianz@Nightstar-bad8b684.xnet.co.nz] has joined #code
05:04 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!]
05:22 Bobsentme [aa47fc23@Nightstar-992d69e3.mibbit.com] has joined #code
05:23
< Bobsentme>
Be there any Xcode coders here?
05:23 * Bobsentme is searching for references, or any helpful sites regarding iPad development.
05:24
< Bobsentme>
Trying to build a simple gui for school.
05:26
<@McMartin>
Don't you use IB for that, not XCode per se?
05:28 Orthia [orthianz@Nightstar-bad8b684.xnet.co.nz] has quit [Client closed the connection]
05:32
< Bobsentme>
I'm not sure, actually.
05:33
< Bobsentme>
Never coded for anything Mac related.
05:34
<@Vornicus>
Intrface Builder is for building the interface, it works like QT Designer or what-have-you.
05:34 Orthia [orthianz@Nightstar-bad8b684.xnet.co.nz] has joined #code
05:35
< Bobsentme>
Ah.
05:36
< Bobsentme>
Well, we're using the apple development kit, which has the gui builder in it. I'm just not finding much in the way of tutorials.
05:47
< Bobsentme>
and after some more googling, I think I'm in over my head. Nevermind.
05:48
<@McMartin>
Yeah, programming GUI in general isn't easy and doing so for embedded is Lots Of Extra Pain
05:59 * Bobsentme nods
06:00
< Bobsentme>
Never really built a GUI app before. I've tried to stay away from them in all walks of programming.
06:01
<@Vornicus>
honestly right now the nicest GUI system out there is html+javascript.
06:10
< Bobsentme>
Which I posed as an option, but was informed they'd rather have an app.
06:10
< Bobsentme>
All the app has to do is navigate a couple of directories on the iPad and open files. That's it.
06:11
< Bobsentme>
well, list, then provide a link to open the files.
06:11
< Bobsentme>
(Have I mentioned I am dealing with silly, silly people on this project?)
06:13 Derakon is now known as Derakon[AFK]
08:10 kwsn [kwsn@31356A.5FD175.2259B6.DFACD4] has quit [Ping timeout: 121 seconds]
08:11 Ortiha [orthianz@Nightstar-b0c0be59.xnet.co.nz] has joined #code
08:12 Orthia [orthianz@Nightstar-bad8b684.xnet.co.nz] has quit [Ping timeout: 121 seconds]
08:26 Vornicus is now known as Vornicus-Latens
08:41 Ortiha [orthianz@Nightstar-b0c0be59.xnet.co.nz] has quit [Connection reset by peer]
08:49 Orthia [orthianz@Nightstar-b0c0be59.xnet.co.nz] has joined #code
09:02 Ortiha [orthianz@Nightstar-5f9a4976.xnet.co.nz] has joined #code
09:03 Orthia [orthianz@Nightstar-b0c0be59.xnet.co.nz] has quit [Ping timeout: 121 seconds]
09:09 You're now known as TheWatcher
10:03 Bobsentme [aa47fc23@Nightstar-992d69e3.mibbit.com] has left #code []
11:18 Ortiha [orthianz@Nightstar-5f9a4976.xnet.co.nz] has quit [Connection reset by peer]
11:24 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code
11:24 Orthia [orthianz@Nightstar-5f9a4976.xnet.co.nz] has joined #code
11:31
< Tarinaky>
Morning all.
11:39
< Tarinaky>
I think I found the source of my rogue fudge factor.
11:39
< Tarinaky>
But I'm not sure how to eradicate it without breaking something else :/
11:40
<@TheWatcher>
Refactor Mercilessly?
11:41
< Tarinaky>
That's not the problem.
11:41
< Tarinaky>
Let me show you...
11:42
< Tarinaky>
http://i53.tinypic.com/k9hzic.png << I've got them to line up.
11:42
< Tarinaky>
The problem is now in hexagon.py
11:43
< Tarinaky>
Basically, the very edge is -just- out of bounds of the texture.
11:43
< Tarinaky>
And I'm not sure how to 'fudge' it back in without breaking the tessilation.
11:46
< Tarinaky>
Is it possible to do something like 'Vertices = [if a == Size[0] then a-1 for (a,b) in Vertices]' ?
11:46
< Tarinaky>
IDK :/
11:47
< Tarinaky>
Nm.
11:47
< Tarinaky>
I think I spotted my fix.
11:49
< Tarinaky>
Bingo.
11:51
< Tarinaky>
http://i54.tinypic.com/2qd7fyd.png
11:52
<@TheWatcher>
Wewt!
11:52
<@TheWatcher>
'grats
11:53
< Tarinaky>
I had to make hexagon.py allocate a larger surface.
11:54
< Tarinaky>
Although bizarrely it has to be 3 pixels larger rather than 2 - which I don't quite 'get'.
12:00 Anno[Laptop] [annodomini@F67919.F326B3.98D923.BDA7B6] has joined #code
12:07
< Tarinaky>
So, lunch. Then I can start thinking about Picking.
12:21 cpux is now known as shade_of_cpux
12:21 shade_of_cpux [chatzilla@Nightstar-c978de34.dyn.optonline.net] has quit [[NS] Quit: ChatZilla 0.9.86 [Firefox 3.6.10/20100914125854]]
12:27 Orthia [orthianz@Nightstar-5f9a4976.xnet.co.nz] has quit [Connection reset by peer]
12:33 Orthia [orthianz@Nightstar-5f9a4976.xnet.co.nz] has joined #code
12:40 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection closed]
12:49 Orthia [orthianz@Nightstar-5f9a4976.xnet.co.nz] has quit [Connection reset by peer]
12:56 Orthia [orthianz@Nightstar-5f9a4976.xnet.co.nz] has joined #code
12:59 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
13:00 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!]
13:09
< Tarinaky>
Okay. So. Pixel collision:
13:09 Orthia [orthianz@Nightstar-5f9a4976.xnet.co.nz] has quit [Connection reset by peer]
13:09
< Tarinaky>
First I check to see if the point is in a bounding box.
13:11
< Tarinaky>
If it is: I get the pixel-value at that point on a mask with the same shape.
13:11 Anno[Laptop] [annodomini@F67919.F326B3.98D923.BDA7B6] has quit [[NS] Quit: I'll be back in several hours. RRAG will likely be late an hour, I as said.]
13:12
< Tarinaky>
Do I understand this correctly?
13:16 Orthia [orthianz@Nightstar-5f9a4976.xnet.co.nz] has joined #code
13:32 kwsn [kwsn@31356A.5FD175.2259B6.DFACD4] has joined #code
13:32 Rhamphoryncus [rhamph@Nightstar-473f8685.abhsia.telus.net] has joined #code
13:49
< Tarinaky>
http://i56.tinypic.com/2193nyf.png
14:09 You're now known as TheWatcher[afk]
14:14 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
14:37 * gnolam ponders efficient particle systems.
14:37
< gnolam>
Specifically: is it worth it to frustum cull particles?
14:39
< Orthia>
derwhut
14:47
< gnolam>
The frustum is a small furry animal in the rodent family. Once a year in areas where the frustum lives, villages gather for a "frustum cull" where (traditionally) the men of the village stand in a line with their spiked frustum clubs while the women try to drive the herds of frustum towards them with loud noises.
14:56
< Namegduf>
Sounds like a slow algorithm if you used it at the wrong time of year.
14:57
< Namegduf>
Have to wait until the next one.
14:57
< Tarinaky>
o.o
14:57
< Tarinaky>
I can't tell who's being serious and who's being sarky.
14:59 kwsn [kwsn@31356A.5FD175.2259B6.DFACD4] has quit [[NS] Quit: fooooooooooood]
15:07 Kaura [kaura@Nightstar-fd82400d.snfc21.sbcglobal.net] has quit [Ping timeout: 121 seconds]
15:09 Kaura [kaura@Nightstar-fd82400d.snfc21.sbcglobal.net] has joined #code
15:12
< Tarinaky>
Hmm. :/ This isn't, quite, working properly.
15:17
< Tarinaky>
Oh wait. Derp.
15:18
< gnolam>
A frustum is a volume created by truncating a solid (usually a pyramid or a cone) between two parallel planes.
15:18
< gnolam>
In 3D graphics, the viewing volume (the stuff that's in camera) is a frustum.
15:20
< Tarinaky>
Oh derp. I've figured out what I was doing wrong.
15:20
< gnolam>
So when frustum culling, you use reasonably inexpensive sphere-plane tests to cull objects that could not have any part within the current viewing volume.
15:22
< Tarinaky>
http://i52.tinypic.com/5nlnr8.png << Yay, got my bounding box working.
15:27
< Tarinaky>
Awesome.
15:28
< Tarinaky>
Picking works aside from the fact that there's a -very- small area where two hexes overlap.
15:33
< Tarinaky>
Done! It works. ^^
15:50
< Tarinaky>
So. Now what :/
16:16 TarinakyKai [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code
16:19 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Ping timeout: 121 seconds]
16:28 * ToxicFrog glares at GTK
16:31
< TarinakyKai>
Hey TF.
16:38 Anno[Laptop] [annodomini@Nightstar-f97b6537.adsl.tpnet.pl] has joined #code
16:44 You're now known as TheWatcher
16:52
<@ToxicFrog>
Hey, Tarinaky.
16:52
<@ToxicFrog>
And Anno.
16:52
<@ToxicFrog>
And TW.
16:53
< Anno[Laptop]>
Hello.
17:22
< TarinakyKai>
I dunno really what to do now :/
17:22
< TarinakyKai>
I've gotten picking working and stuff >.<
17:27 Attilla [Some.Dude@Nightstar-38139b5e.threembb.co.uk] has joined #code
17:27 mode/#code [+o Attilla] by Reiver
17:30
<@TheWatcher>
TarinakyKai: battle isle clone!
17:30
< TarinakyKai>
I don't know Battle Isle :/
17:31
< gnolam>
Panzer General!
17:31
< gnolam>
Attack Vector: Tactical!
17:31
<@TheWatcher>
Go forth and educate thyself! http://en.wikipedia.org/wiki/Battle_Isle_(series)
17:34
< TarinakyKai>
I meant more in a "what's the next step/thing I should be doing" way though.
17:34
< TarinakyKai>
Than a goal :/
17:34
<@TheWatcher>
I suggest having a goal and working towards it, otherwise you'll find yourself directionless
17:35
<@TheWatcher>
But if you want something
17:35
<@TheWatcher>
map scrolling
17:42
< TarinakyKai>
Nah. I've done map scrolling before. It's boring :/
17:42
< TarinakyKai>
And frequently difficult to test >.<
17:44 * TheWatcher blink
17:48 * TarinakyKai blinks back at TheWatcher.
17:51
< gnolam>
... difficult to test?
17:54
< TarinakyKai>
Well, intensively.
17:54
< TarinakyKai>
Although sometimes you have issues where one block of pattern looks exactly the same as the rest of the pattern.
17:54
< TarinakyKai>
So you've no idea if it's actually working or if you've got a very Fun bug.
18:01
<@TheWatcher>
so you stick the grid coord as text in the middle of each hex
18:08
<@ToxicFrog>
Ideally, map scrolling should be one line to set the TM~
18:09
< TarinakyKai>
TM?
18:14 Anno[Laptop] is now known as ST
18:19
<@ToxicFrog>
Transformation matrix.
18:20
<@ToxicFrog>
To expand on this - a lot of drawing systems permit you to set a scale/rotation/offset that's applied to all drawing operations.
18:21
<@ToxicFrog>
My current project features a scrollable, zoomable field; this is just a matter of setting the translation/scale values before drawing the contents of the field.
18:21
<@ToxicFrog>
And then it draws normally.
18:24
<@ToxicFrog>
Or would if GTK's redrawing mechanism would stop fucking me about~
18:30
< TarinakyKai>
Heh.
18:41 KM [---@Nightstar-4764665d.tbcn.telia.com] has joined #code
18:42 KM [---@Nightstar-4764665d.tbcn.telia.com] has quit [Client exited]
19:11
<@ToxicFrog>
Fuck youuuuuuuuuuuuu, gtk
19:14
< TarinakyKai>
<gtk> Message received. *fap-fap-fap*
19:34 Orthia [orthianz@Nightstar-5f9a4976.xnet.co.nz] has quit [Ping timeout: 121 seconds]
19:35
<@ToxicFrog>
...whoops, I'm an idiot
19:35
<@ToxicFrog>
Forgot that I implemented client-server communication
19:35
<@ToxicFrog>
Old event flow:
19:35
<@ToxicFrog>
- receive event
19:36
<@ToxicFrog>
- update world model
19:36
<@ToxicFrog>
- redraw
19:36
<@ToxicFrog>
New event flow:
19:36
<@ToxicFrog>
- receive event
19:36
<@ToxicFrog>
- message to server
19:36
<@ToxicFrog>
- redraw
19:36
<@ToxicFrog>
- reply from server
19:36
<@ToxicFrog>
- update world model
19:40
<@Vornicus-Latens>
Heh
19:46
<@ToxicFrog>
Yeah.
19:46 * ToxicFrog hacks in something that redraws automatically every 100ms
20:33 Attilla [Some.Dude@Nightstar-38139b5e.threembb.co.uk] has quit [Ping timeout: 121 seconds]
20:34 Attilla [Some.Dude@Nightstar-38139b5e.threembb.co.uk] has joined #code
20:34 mode/#code [+o Attilla] by Reiver
20:56 Kaura [kaura@Nightstar-fd82400d.snfc21.sbcglobal.net] has quit [Ping timeout: 121 seconds]
20:57 [1]kaura [kaura@Nightstar-fd82400d.snfc21.sbcglobal.net] has joined #code
21:38!Deepthought.NY.US.Nightstar.Net *** jerith invited froztbyte into the channel
21:38 froztbyte [froztbyte@Nightstar-dc394964.za.net] has joined #code
21:39
< froztbyte>
you shouldn't ambush my mind like that
21:39
<@jerith>
Why not?
21:39
<@jerith>
Namespace collisions are fun.
21:39
< froztbyte>
haha
21:40
< froztbyte>
I'm going to guess /this/ Stalker isn't /that/ stalker ;)
21:40
< Stalker>
-.^
21:40
<@jerith>
froztbyte: This Stalker is still here, isn't he?
21:40
< froztbyte>
jerith: well summarised
21:41
< froztbyte>
Stalker: let's just say your namesake is not deserving of the oxygen they use
21:41
<@jerith>
Oh, right. That's who Stalker is. :-)
21:41
<@jerith>
(This one, not that one.)
21:41
< froztbyte>
win 67
21:41 * froztbyte loses 67
21:41
<@jerith>
No, 69 is the win.
21:42
<@jerith>
And you have even more windows than I do.
21:42
< froztbyte>
this one is 72
21:42
< froztbyte>
I could probably kill 20 or so..
21:43 Attilla [Some.Dude@Nightstar-38139b5e.threembb.co.uk] has quit [Ping timeout: 121 seconds]
21:44 ST is now known as AnnoDomini
21:47
<@ToxicFrog>
Confusion
21:50
<@jerith>
No, Confusion just joined that other channel.
21:50
< TarinakyKai>
froztbyte: Is Win 67 somewhere between 3.1 and 95?
21:51
< froztbyte>
it's a dev build
21:52
< TarinakyKai>
I'm going to sleep. Later.
21:52 TarinakyKai [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Connection closed]
22:00 Attilla [Some.Dude@Nightstar-e21c6ae9.threembb.co.uk] has joined #code
22:00 mode/#code [+o Attilla] by Reiver
22:04 Attilla_ [Some.Dude@Nightstar-66af5a5f.threembb.co.uk] has joined #code
22:06 Attilla [Some.Dude@Nightstar-e21c6ae9.threembb.co.uk] has quit [Ping timeout: 121 seconds]
22:09 Attilla [Some.Dude@Nightstar-3b29d7e0.threembb.co.uk] has joined #code
22:10 mode/#code [+o Attilla] by Reiver
22:12 Attilla_ [Some.Dude@Nightstar-66af5a5f.threembb.co.uk] has quit [Ping timeout: 121 seconds]
22:18
< gnolam>
Huh. The Gmail non-HTTPS XSS attacks are still going strong, I see.
23:26 [1]kaura is now known as Kaura
23:51 You're now known as TheWatcher[T-2]
23:53 You're now known as TheWatcher[zZzZ]
23:55 Orthia [orthianz@Nightstar-fade0449.xnet.co.nz] has joined #code
23:57 shade_of_cpux [chatzilla@Nightstar-c978de34.dyn.optonline.net] has joined #code
23:57 shade_of_cpux is now known as cpux
--- Log closed Wed Oct 13 00:00:18 2010
code logs -> 2010 -> Tue, 12 Oct 2010< code.20101011.log - code.20101013.log >