code logs -> 2010 -> Mon, 05 Jul 2010< code.20100704.log - code.20100706.log >
--- Log opened Mon Jul 05 00:00:41 2010
00:07
<@ToxicFrog>
Derakon: I've got nothing, sorry.
00:13 TarinakyKai [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Connection closed]
00:23 Attilla [Attilla@Nightstar-77ac2f34.threembb.co.uk] has quit [[NS] Quit: ]
00:38 AnnoDomini [annodomini@Nightstar-0315d967.adsl.tpnet.pl] has quit [[NS] Quit: Zzz.]
01:02 * Derakon makes a small standalone program that demonstrates his problem. http://paste.ubuntu.com/459269/
01:25
<@Derakon>
Okay, got it working.
01:25
<@Derakon>
I was missing a glLoadIdentity() call.
01:25
<@Derakon>
#OpenGL on Freenode was able to help me out.
02:14 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection closed]
02:38 RichardBarrell [mycatverbs@Nightstar-689c9c54.cable.virginmedia.com] has quit [Ping timeout: 121 seconds]
04:18 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Connection reset by peer]
04:18 * Derakon sighs happily at the FSP indicator, which is now reading 245.
04:18
<@Vornicus>
Much better.
04:19
<@Derakon>
Indeed.
04:25
<@Derakon>
And there's text alignment back.
04:26
<@Derakon>
Now I just have to add coloring and make the rendering not look like ass.
04:26 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
04:26
<@Derakon>
http://derakon.dyndns.org/~chriswei/temp2/fuzzytext.png
04:27
<@Derakon>
I assume this is it getting scaled, for some reason.
04:27 Syloqs_AFH is now known as Syloqs-AFH
04:40 * Derakon screws up some blending logic, makes the terrain slightly transparent. Dude. http://derakon.dyndns.org/~chriswei/temp2/transfloor.png
05:47 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
06:09 Stalker [Z@2C3C9C.B2A300.F245DE.859909] has quit [Ping timeout: 121 seconds]
06:56 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
07:28
<@Derakon>
And now the console has its blue background back! <3
07:28
<@Derakon>
I've made good progress today.
07:28
<@Derakon>
All that's left is to make the font rendering sharpep.
07:28
<@Derakon>
Er, sharper.
07:42 Alek [omegaboot@Nightstar-c5f3565b.il.comcast.net] has quit [[NS] Quit: ]
08:01 AnnoDomini [annodomini@Nightstar-0315d967.adsl.tpnet.pl] has joined #code
08:01 mode/#code [+o AnnoDomini] by Reiver
08:05 Derakon is now known as Derakon[AFK]
08:27 You're now known as TheWatcher
08:49 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds]
10:10 Vornicus is now known as Vornicus-Latens
10:58 AbuDhabi [annodomini@Nightstar-ec60b8fe.adsl.tpnet.pl] has joined #code
11:01 AnnoDomini [annodomini@Nightstar-0315d967.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
11:31 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code
11:39 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection closed]
11:42 TarinakyKai [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code
11:45 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Ping timeout: 121 seconds]
12:16 Rhamphoryncus [rhamph@Nightstar-bbc709c4.abhsia.telus.net] has quit [Client exited]
12:21 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
13:37 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Reboot]
13:42 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
14:16 * gnolam flails at svnserve.
14:40 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
14:52
< gnolam>
Yay. Finally got everything sorted, it seems.
14:54
<@TheWatcher>
\o/
14:58
< gnolam>
Now the question becomes if I should start working with code cleanup or the new requested features first...
15:23
< gnolam>
Aww shit.
15:24 * gnolam is going to have to try to edit the skeletal animation of existing models.
15:31
< gnolam>
AAAAAARGH
15:32
< gnolam>
Note to self: after nuking the conf files, make sure to lower the audio /before/ testing.
15:35
< gnolam>
I had forgotten just how deafening dose rate alarms could be. :P
15:38 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds]
15:52
< PinkFreud>
gnolam: what?
15:52
< gnolam>
Hmm?
15:52
< PinkFreud>
sorry, couldn't make that out. some ass forgot to lower the volume, and now I'm deaf.
15:52 * PinkFreud ducks
15:53
< PinkFreud>
:P
15:56
< gnolam>
:P
16:57 Derakon[AFK] is now known as Derakon
17:25 Attilla [Attilla@Nightstar-ba23b3a1.threembb.co.uk] has joined #code
17:25 mode/#code [+o Attilla] by Reiver
17:45 simon_ [simon@Nightstar-a12ff716.gjk.dk] has quit [Ping timeout: 121 seconds]
17:53 simon_ [simon@Nightstar-a12ff716.gjk.dk] has joined #code
18:38 cpux [Moo@Nightstar-20a84089.dyn.optonline.net] has quit [Connection reset by peer]
18:39 cpux [Moo@Nightstar-20a84089.dyn.optonline.net] has joined #code
18:48 Attilla [Attilla@Nightstar-ba23b3a1.threembb.co.uk] has quit [Client closed the connection]
18:58 Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code
19:07 aoanla [AndChat@Nightstar-076cf744.range217-42.btcentralplus.com] has joined #code
20:06
<@Derakon>
textWidths = [sum([self.charSizes[c] for c in t]) for t in texts]
20:09
< AbuDhabi>
What is this?
20:09
<@Derakon>
Given a list of strings, finds the horizontal size of each string.
20:10
< AbuDhabi>
I see.
20:10
< AbuDhabi>
Anything wrong with it?
20:10
<@Derakon>
It has a nested list comprehension.
20:11
<@Derakon>
Other than that, no.
20:17
<@ToxicFrog>
Why list comprehensions rather than map/fold? Not criticizing, just wondering.
20:19
<@Derakon>
Because they come to the same thing, but list comprehensions are easier for me to read.
20:19
<@ToxicFrog>
Aah.
20:19
<@ToxicFrog>
(I've started seeing map/fold/reduce/filter etc everywhere, and find them easier to read than list comprehensions)
20:20
<@Derakon>
Reason being that there's only one list comprehension, whereas map/fold/reduce/etc each have their own definitions that I can never keep straight.
20:20
<@Derakon>
Well, I can remember map. That one's easy.
20:21 * ToxicFrog fiddles. texts map { str => str map { c => charSize(c) } foldLeft(0) { _+_ } }
20:21
<@Derakon>
O_o
20:21
<@Derakon>
This is Scala?
20:24
<@ToxicFrog>
Yes.
20:25
<@ToxicFrog>
Actually, I'm not sure if that last bit with foldLeft(0) is legal; might need some punctuation in there.
20:25 * ToxicFrog goes to test it
20:29
<@Derakon>
I wish I knew why my font rendering was so fuzzy.
20:30
<@ToxicFrog>
Why the O_o?
20:30
<@ToxicFrog>
Also, scaling settings + upscaling from tinyfont perhaps?
20:30
<@Derakon>
Because it's syntax I haven't seen before.
20:30
<@Derakon>
Shouldn't be a matter of scaling. I'm working in a 1:1 unit:pixel setup.
20:30
<@ToxicFrog>
Aah.
20:30
<@Derakon>
Also, all of my translates are by integers.
20:30
<@ToxicFrog>
That was going to be my next question.
20:31 * ToxicFrog had all kinds of fun, once upon a time, with telling OGL to draw text at (0.5, 0.5)
20:31
<@Derakon>
Here, have a paste. http://codepad.org/HkmVDGb6
20:32
<@Derakon>
Hm. I just tossed in a fiddle factor that increments by .1 every 100 frames, and there are definitely sections where it's a lot sharper than usual.
20:33
<@ToxicFrog>
scala> texts map { str => str.map(charSize _).foldLeft(0)(_+_) }
20:33
<@ToxicFrog>
res11: Seq[Int] = ArrayBufferRO(3, 3, 5, 4)
20:33
<@ToxicFrog>
That's the version that actually works.
20:33
<@ToxicFrog>
It still feels like I should be able to use foldLeft(0) as an infix op, though.
20:34
<@ToxicFrog>
Oh hey, here's a better version: texts map { str => str map (charSize _) reduceLeft (_+_) }\
20:34 * ToxicFrog always forgets that reduce exists
20:35
<@ToxicFrog>
Probably because I learned fold first.
20:36
<@ToxicFrog>
Derakon: my GL-fu is insufficient to follow that, but if you're adjusting it by .1 every 100 frames and it's shifting between fuzzy and sharp, it does indeed sound like it's not actually being drawn at integer coordinates.
20:36
<@Derakon>
The question is, why? ¬.¬
20:37
<@ToxicFrog>
A good question!
20:37
<@ToxicFrog>
But not one that I can answer.
20:37
<@Derakon>
Bah.
20:38
<@ToxicFrog>
Thinking more on list comprehensions vs list methods (is there a better term for stuff like map?), I think I prefer the latter because they behave like a pipeline - list | map foo | map bar | reduce baz...
20:38
<@Derakon>
Makes sense.
20:38
<@Derakon>
Though generally I suspect that I wouldn't like any code that chains too many list comprehensions/list functions togethre.
20:38
<@Derakon>
Er, together.
20:39
<@ToxicFrog>
Especially considering how early I started using the Bourne shell.
20:39
<@ToxicFrog>
Python's list comprehensions in particular bug me because they usually (always?) seem to be written as 'expression for var in list', which reads back to front to me.
20:40
<@ToxicFrog>
But even Scala's (for (var <- list) expression) I don't like.
20:41
<@ToxicFrog>
It's interesting, I think, how much the choice of language influences how one approaches problems.
20:41
<@ToxicFrog>
I've found myself leaning much more heavily on list methods and treating the program as a pipeline of data transformations rather than as a list of instructions, as I become more comfortable with Scala.
21:09 Zed [Zed@Nightstar-e4835f03.or.comcast.net] has quit [Client closed the connection]
21:09 Zed [Zed@Nightstar-e4835f03.or.comcast.net] has joined #code
21:30 cpux [Moo@Nightstar-20a84089.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
21:33 Alek [omegaboot@Nightstar-c5f3565b.il.comcast.net] has joined #code
21:45
<@jerith>
Does anyone know any Eclipse devs?
21:45
<@jerith>
I need someone to eviscerate.
21:47
< AbuDhabi>
No, although I don't like eclipse either.
21:48
<@jerith>
A few versions ago, they actually had a usable plugin management UI.
21:48
<@jerith>
I'm rapidly reaching the point where I'd rather download jars and put them in the right places by hand than deal with the abortion that they replaced it with.
21:52 Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds]
22:02 Vornicus-Latens is now known as Vornicus
22:18 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
22:23 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
23:07 Rhamphoryncus [rhamph@Nightstar-bbc709c4.abhsia.telus.net] has joined #code
23:10 aoanla [AndChat@Nightstar-076cf744.range217-42.btcentralplus.com] has quit [[NS] Quit: ]
23:24 Zed [Zed@Nightstar-e4835f03.or.comcast.net] has quit [Client closed the connection]
23:24 Zed [Zed@Nightstar-e4835f03.or.comcast.net] has joined #code
23:36 TarinakyKai [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Connection closed]
23:39 Attilla [Attilla@Nightstar-677fc296.threembb.co.uk] has joined #code
23:39 mode/#code [+o Attilla] by Reiver
--- Log closed Tue Jul 06 00:00:42 2010
code logs -> 2010 -> Mon, 05 Jul 2010< code.20100704.log - code.20100706.log >