code logs -> 2009 -> Sun, 08 Feb 2009< code.20090207.log - code.20090209.log >
--- Log opened Sun Feb 08 00:00:51 2009
01:02 You're now known as TheWatcher[T-2]
01:14 You're now known as TheWatcher[zZzZ]
03:19 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has quit [Quit: Z?]
04:55 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Ping Timeout]
05:11 ToxicFrog [~ToxicFrog@69.171.130.ns-21592] has joined #code
05:11 mode/#code [+o ToxicFrog] by ChanServ
07:09
<@Derakon>
Thoughts on a mod DB schema.
07:10
<@Derakon>
First off, Course and Pattern tables, for people who upload either.
07:10
<@Derakon>
Columns: user, (item) name, description, filename, upload date, id. Anything else?
07:11
<@Derakon>
Second, a voting table. Columns: user, item ID, difficulty vote, quality vote, comments. Any of those last three are nullable.
07:13
<@Derakon>
The idea is to hook into the PHPBB database for users, and make it so if you aren't logged in, you can't vote. I'm not certain how easy that'll be though.
07:16 * Derakon prods McM, TF, et al.
07:19 * Derakon eyes the PHPBB database. "That's a lot of tables."
07:25
<@McMartin>
This requires some thought.
07:45
< jerith>
Derakon: What's the db for?
07:46
<@Derakon>
To store metadata on patterns and courses that users have uploaded.
07:46
< jerith>
My first question on this topic is always "is a relational database the right thing to use?"
07:46
< jerith>
In this case, it probably is.
07:46
<@Derakon>
Hell, extra graphics packs and sound effects if they want.
07:46
< jerith>
If only because you want to hook into other dbs.
07:46
<@Derakon>
(Which says to me that I shouldn't have separate course/pattern tables)
07:47
< jerith>
Do you want structured metadata?
07:47
<@Derakon>
Define "structured".
07:48
< jerith>
Stuff you can easily filter or search.
07:48
<@Derakon>
Ahh.
07:48
<@Derakon>
I suspect it'd be easier to let Google index the mod pages.
07:49
<@Derakon>
Retrieval by uploader, upload date, rating, etc, should be possible, though.
07:49
<@Derakon>
E.g. "Give me the highest-rated mods that have been uploaded in the last month."
07:49
< jerith>
I'm thinking more along the lines of pattern properties or whatever.
07:49
<@Derakon>
Oh, no, no.
07:49
<@Derakon>
At most a screenshot.
07:49
< jerith>
Show me all the frobulators that have three or more zagnorbs in them.
07:50
<@Derakon>
Given that the pattern files are basically programming in XML format, trying to intelligently come up with characteristics isn't really feasible.
07:51
<@Derakon>
At best I could run the patterns in a sandbox and say "This pattern creates X bullets per second, having an average density of Y bullets per 100 square pixels, with a deviation of Z"
07:51
<@Derakon>
But I doubt I would do that.
07:54
<@Reiver>
Idly, Derakon: If you wanted the windmill at level 20 to get harder, throw in a guided shell emitter :p
07:55
<@Derakon>
Heh.
07:56 * Derakon eyes Python clipboard modules.
07:56
<@Derakon>
I'm gonna need three.
07:56
<@Derakon>
One for Leopard, one for Tiger, one for Windows.
07:56
<@Derakon>
Or maybe I can use the Tiger one on any Mac OS.
07:57
< jerith>
Derakon: In that case, maybe just have one table that stores contributions.
07:57
< jerith>
And give it a type field.
07:57 * Derakon nods.
07:58
<@Derakon>
...ahh, I see why there's two different versions for different OSen. The Tiger-and-older version involves invoking a commandline utility to frob the clipboard.
08:02
<@Derakon>
Oop, getting late. We can pick this up some other time.
08:06 Derakon is now known as Derakon[AFK]
09:27 Vornicus [~vorn@Admin.Nightstar.Net] has quit [Quit: ]
10:05 You're now known as TheWatcher
10:53 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code
10:53 mode/#code [+o gnolam] by ChanServ
11:46 Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has quit [Quit: Rhamphoryncus]
12:37 Serah [~Z@87.72.35.ns-26506] has quit [Quit: ]
13:18 Serah [~Z@130.227.16.ns-12529] has joined #code
13:18 mode/#code [+o Serah] by ChanServ
14:16 crem [~moo@Nightstar-28703.adsl.mgts.by] has quit [Ping Timeout]
14:18 ToxicFrog [~ToxicFrog@69.171.130.ns-21592] has quit [Operation timed out]
14:33 * gnolam guffaws.
14:34
<@gnolam>
Some joker's been editing the contact information page on our Trac wiki.
14:34
<@gnolam>
"Name | Position | E-mail | Phone | Skype | IRC | Credit Card Number"
14:34 ToxicFrog [~ToxicFrog@69.171.130.ns-21592] has joined #code
14:34 mode/#code [+o ToxicFrog] by ChanServ
15:07 KBot [AnnoDomini@Nightstar-29419.neoplus.adsl.tpnet.pl] has joined #Code
15:08 NotHereMan [~farkoff@Nightstar-29175.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
15:09 KarmaBot [AnnoDomini@Nightstar-29175.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
15:10 KBot is now known as KarmaBot
15:15 UndeadAnno [~farkoff@Nightstar-29419.neoplus.adsl.tpnet.pl] has joined #Code
15:15 mode/#code [+o UndeadAnno] by ChanServ
15:24 JHalliday [~JHalliday@Nightstar-12882.in-addr.btopenworld.com] has joined #code
16:03 JHalliday [~JHalliday@Nightstar-12882.in-addr.btopenworld.com] has quit [Quit: Leaving]
16:34 Vornicus [~vorn@Admin.Nightstar.Net] has joined #code
16:34 mode/#code [+o Vornicus] by ChanServ
17:12 You're now known as TheWatcher[afk]
17:39 Derakon[AFK] is now known as Derakon
18:18 You're now known as TheWatcher
18:51
<@gnolam>
Arghl.
18:52
<@gnolam>
I'm surrounded by illiterates. :P
19:01
<@Serah>
Quick! Throw them a syllabus!
19:02
<@gnolam>
Throw them to a succubus?
19:03
<@Derakon>
Throw them a succulent?
19:03
<@gnolam>
Throw tins of saccharose?
19:04
<@Derakon>
Ooookay, that's disturbing.
19:04
<@Derakon>
The file descriptor limit on my computer defaults to 256.
19:05
<@Derakon>
I'm apparently using 255 file descriptors right now.
19:05
<@Derakon>
How?
19:05
<@Derakon>
I know this because opening another one causes my program to crash, unless I raise the limit.
19:05
<@gnolam>
Err.
19:06
<@gnolam>
Which OS?
19:06
<@Derakon>
OSX.
19:06
<@Derakon>
I'm going through and adding fh.close() everywhere I open a filehandle. I assumed they'd be GC'd once the function goes out of scope, but maybe not...
19:07
<@Derakon>
Guess not! There goes that crash.
19:07
<@gnolam>
What does ulimit tell you?
19:08
<@Derakon>
ulimit -n says 256.
19:08
<@Derakon>
Then I did 'ulimit -n 512' and the crash went away.
19:12
<@Derakon>
Okay, copy/paste implemented in OSX.
19:15
<@Derakon>
...holy cow, okay. I see where all my file descriptors are going now. O_o
19:15
<@Derakon>
One for each font size for each font.
19:15
<@Derakon>
And I have 116 font sizes each.
19:16
<@Derakon>
And two fonts.
19:16
<@TheWatcher>
ouch >.<
19:19
<@Derakon>
I'm using the extra font sizes for the text flash that occurs when your multiplier increases, you get a new bomb, etc.
19:20 crem [~moo@Nightstar-28703.adsl.mgts.by] has joined #code
19:25 JHalliday [~JHalliday@Nightstar-12882.in-addr.btopenworld.com] has joined #code
19:45
<@gnolam>
A-ha!
19:45 * gnolam figures out that the SRV-2000 intensimeter uses a 3 kHz sawtooth wave for its beeps.
19:49
<@Vornicus>
Der: Rotozoom might be a better move for that.
19:55
<@Derakon>
I'm worried it wouldn't look as smooth.
19:55
<@Derakon>
But yeah, it's probably better than having 232 extra FDs open.
19:59
<@TheWatcher>
Dera: are you using direct framebuffer blitting, or opengl?
20:00
<@McMartin>
The former
20:01
<@TheWatcher>
Ah
20:02
<@Derakon>
Yey software rendering~
20:16
<@Derakon>
Alright, that's a bit fuzzy, but I think it'll do.
20:17
<@Derakon>
Down to 10 FDs for fonts. I still have 150 FDs total, but most of those appear to be for .so files and the like.
20:17
<@Derakon>
Not much I can do about that.
20:33 Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has joined #code
20:34 * Derakon sets the program icon so it's no longer a snake eating an SNES controller.
20:38
<@Derakon>
Aside from getting copy/paste sorted out...I'm running low on things to implement for beta3.
20:42
<@McMartin>
When a problem like that comes along, you must ship it
20:42 * Derakon facepalms.
20:43
<@TheWatcher>
snrk
20:47 Vornicus changed the topic of #code to: FORTH LOVE IF HONK THEN | Have a pastebin! http://paste.ubuntu.com | Channel mode +U, ask for voice to post links. | Monologues permitted. | See #projecteuler for discussions about http://projecteuler.net | When a problem like that comes along, you must ship it
20:52 * TheWatcher eyes his resource manager, tries to decide whether he wants a single global cache for all resources, or individual caches for each resource type, is leaning towards the latter
20:56
<@Derakon>
Ahh, yes, thought of something else I should do.
20:56
<@Derakon>
Implement the various challenge modes.
20:57
<@Derakon>
Let's see. Deflector mode (reversed inflector that drains points). Locked inflector mode (always on).
20:57
<@Derakon>
High-speed mode...not sure how properly to do that one, actually.
20:57
<@Derakon>
Maybe I should just multiply the speeds of everything.
20:57
<@Derakon>
No, that would break patterns that use speeds for positioning.
21:00
<@Vornicus>
Double sim speed.
21:01
<@Derakon>
The problem there being that I run into the CPU cap.
21:18
<@Derakon>
Agh must reconfigure options page.
21:19
<@Vornicus>
Double the timestep used in sim?
21:21
<@Derakon>
That would require me to use an explicit timestamp in sim, but is probably the right answer, yeah.
21:39 Derakon is now known as Derakon[AFK]
23:05 Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has quit [Quit: Rhamphoryncus]
23:45 JHalliday [~JHalliday@Nightstar-12882.in-addr.btopenworld.com] has quit [Quit: Leaving]
23:48 UndeadAnno [~farkoff@Nightstar-29419.neoplus.adsl.tpnet.pl] has quit [Quit: Quem quer o garfo?]
23:57 Serah [~Z@130.227.16.ns-12529] has quit [Ping Timeout]
--- Log closed Mon Feb 09 00:00:03 2009
code logs -> 2009 -> Sun, 08 Feb 2009< code.20090207.log - code.20090209.log >