--- Log opened Thu Dec 18 00:00:15 2008 |
01:00 | | Derakon[AFK] is now known as Derakon |
01:02 | | You're now known as TheWatcher[T-2] |
01:13 | | You're now known as TheWatcher[zZzZ] |
01:16 | | Derakon is now known as Derakon[AFK] |
01:23 | <@Consul> | Well, /me is off to run memtest. BBIAB |
01:23 | | Consul [~consul@Nightstar-4909.dsl.sfldmi.ameritech.net] has quit [Quit: Leaving] |
01:27 | | gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has quit [Ping Timeout] |
01:27 | | gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code |
01:27 | | mode/#code [+o gnolam] by ChanServ |
01:28 | | AnnoDomini [~farkoff@Nightstar-29304.neoplus.adsl.tpnet.pl] has quit [Quit: I Make Stuff Up. From the moon. Made by mooninites. They wear moonboots.] |
01:29 | | * gnolam once again curses Windows Update. |
01:31 | <@McMartin> | Oh yeah. There's a high-priority update going through today. |
01:31 | <@McMartin> | Zero-day sploitz! |
01:33 | <@gnolam> | Windows Update's UI designers shall be first against the wall when the revolution comes. |
01:33 | <@gnolam> | Wait, scratch that. Second. |
01:33 | <@gnolam> | Its dependency checker coders shall be first. |
01:34 | <@gnolam> | Microsoft, here's a free hint: You don't need to patch programs /I don't have/. |
01:34 | | gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has quit [Quit: Reboot] |
01:35 | | Derakon[AFK] is now known as Derakon |
01:36 | | gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code |
01:36 | | mode/#code [+o gnolam] by ChanServ |
01:36 | | gnolam is now known as Scary |
01:37 | | Scary is now known as gnolam |
02:07 | | Consul [~consul@Nightstar-4909.dsl.sfldmi.ameritech.net] has joined #code |
02:07 | | mode/#code [+o Consul] by ChanServ |
02:08 | <@Consul> | memtest86 showed no errors. Should I let it do 3 or 4 more passes? |
02:22 | | GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has quit [Quit: Praise "BOB"!] |
02:31 | | GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has joined #code |
02:31 | | mode/#code [+o GeekSoldier] by ChanServ |
02:51 | | Consul [~consul@Nightstar-4909.dsl.sfldmi.ameritech.net] has quit [Ping Timeout] |
02:57 | | gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has quit [Quit: Z?] |
03:05 | | Consul [~consul@Nightstar-4909.dsl.sfldmi.ameritech.net] has joined #code |
03:05 | | mode/#code [+o Consul] by ChanServ |
03:05 | <@Consul> | I am getting really, really tired of these sudden shutdown issues. |
03:07 | <@Consul> | They were gone for a while, suddenly they're back. |
03:07 | | * Consul mutters under his breath. |
03:08 | <@Consul> | I'm calling Zzounds tomorrow and asking to exchange the sound card. |
03:11 | <@Derakon> | I got your chords working, Vorn. |
03:13 | <@Vornicus> | sweet |
03:17 | <@Derakon> | Basically amounted to moving the call to score matches from right after doMatches (and sending, as an argument, all of the blocks that had been matched in that round), to within doMatches (and sending just one set of matches at a time). |
03:17 | <@Derakon> | That, and more cleverly not matching blocks twice. |
03:18 | <@Derakon> | Also, the scoring is slightly nicer now since blocks can be counted twice (if they're used in a horizontal and a vertical match). |
03:58 | <@Derakon> | And now the game tells you how many points each match is worth. |
03:58 | <@Vornicus> | ...woot some more! |
03:58 | <@Derakon> | I'm a bit annoyed because Pygame's Font class doesn't appear to support rendering of partially-transparent fonts, so the text doesn't fade out, merely disappearing after 10 frames. |
03:58 | <@Derakon> | But it works. |
04:00 | | * Derakon makes a legitemate 8-combo, no luck involved. Woot. |
04:04 | <@ToxicFrog> | Derakon: font to a seperate surface, alpha blit that? |
04:04 | <@Derakon> | That's how all font blitting works in Pygame, TF. |
04:05 | <@Derakon> | It's just that Font :: render does not pay attention to the A part of RGBA. |
04:05 | | Consul [~consul@Nightstar-4909.dsl.sfldmi.ameritech.net] has quit [Quit: Leaving] |
04:05 | <@ToxicFrog> | Right. |
04:05 | <@ToxicFrog> | My point is, don't use font::render directly. |
04:06 | <@ToxicFrog> | Render it to an intermediate surface. |
04:06 | <@ToxicFrog> | Make that surface partially transparent as needed. |
04:06 | <@Derakon> | font.render returns a surface. |
04:06 | <@Derakon> | Ahh. |
04:06 | <@ToxicFrog> | And blit that surface to the screen. |
04:06 | <@Derakon> | That would appear to be what http://www.mail-archive.com/pygame-users@seul.org/msg04323.html does. |
04:06 | <@Derakon> | It has a dependency on Numeric, which I don't have installed ATM (and I'd rather not bloat the dependency tree if possible) |
04:15 | | Consul [~consul@Nightstar-4909.dsl.sfldmi.ameritech.net] has joined #code |
04:15 | | mode/#code [+o Consul] by ChanServ |
04:25 | | Vornicus is now known as Vornicus-Latens |
04:32 | | * Derakon gives up on semitransparent text for the moment. |
05:11 | <@ToxicFrog> | Why would it require Numeric? |
05:18 | | crem [~moo@Nightstar-28703.adsl.mgts.by] has joined #code |
05:18 | | crem_ [~moo@Nightstar-28703.adsl.mgts.by] has quit [Connection reset by peer] |
05:20 | <@Derakon> | Because it uses surfarray, I think. |
05:25 | <@ToxicFrog> | ? |
05:25 | <@ToxicFrog> | (1) what is that? |
05:25 | <@ToxicFrog> | (2) doesn't pygame support PSA? |
05:26 | <@Derakon> | Look at the link I pasted. |
05:26 | <@Derakon> | And PSA? |
05:37 | <@ToxicFrog> | Per-Surface Alpha |
05:39 | <@ToxicFrog> | Ok, so the surface array is the array of bytes that make up the surface...don't see where Numeric gets used there |
05:39 | <@ToxicFrog> | Oh, Numeric.UInt8 |
05:39 | <@Derakon> | Also trying to use surfarray at all gives you an error if you haven't first imported Numeric. |
05:42 | | * Derakon makes a legitemate 9-combo, thereby covering the entire scale. Woot! |
05:52 | | * Derakon sets things up so that blocks that will match when you click the button cycle their animations. |
06:28 | <@Derakon> | New animations are 34 frames long and very pretty, but the default is too dark. Damn. |
06:30 | | Alek|gone [~omegaboot@Nightstar-25985.dsl.emhril.sbcglobal.net] has quit [Quit: reboot. :(] |
06:30 | | Derakon is now known as Derakon[AFK] |
06:43 | | Alek [~omegaboot@Nightstar-25985.dsl.emhril.sbcglobal.net] has joined #code |
08:09 | <@ToxicFrog> | Die, windows |
08:09 | <@ToxicFrog> | DIEEEEEEEEEEEEEEEEE |
08:10 | <@ToxicFrog> | tmp> lua.exe |
08:10 | <@ToxicFrog> | Lua 5.1.4 blah blah blah |
08:10 | <@ToxicFrog> | > os.exit(0) |
08:10 | <@ToxicFrog> | |
08:10 | <@ToxicFrog> | tmp> lua.exe test.lua |
08:11 | <@ToxicFrog> | "lua.exe" is not recognized as an internal or external command blah blah blah |
08:17 | | * Serah PatPats ToxicFrog. |
08:54 | <@MyCatVerbs> | Serah: I didn't realize that was capitalized. |
08:55 | <@Serah> | -.^ |
08:55 | <@Serah> | ` |
08:55 | | * MyCatVerbs rewrites that as (Serah `patPat` ToxicFrog). :) |
08:56 | <@Serah> | That just look silly. |
08:56 | <@Serah> | Form before function. |
08:56 | <@Serah> | If it's not pretty, it's not worth it. |
08:57 | <@MyCatVerbs> | Well, it's applying (patPat Serah ToxicFrog). Putting a function name in backticks is Haskell's way of making it act infix. |
08:57 | <@Serah> | But I'm not coding sympathy onto TF. |
08:57 | <@MyCatVerbs> | Unless of course PatPat is a data constructor, but who's constructing a term algebra on affection, anyway? |
08:57 | <@MyCatVerbs> | No, you're *applying* it. =D |
09:06 | | AnnoDomini [~farkoff@Nightstar-29035.neoplus.adsl.tpnet.pl] has joined #Code |
09:06 | | mode/#code [+o AnnoDomini] by ChanServ |
09:27 | | You're now known as TheWatcher |
09:33 | | * Serah applies data constructors on MyCatVerbs. |
09:33 | <@AnnoDomini> | o/` A kiedy mi smutno, statyczny konstruktor... utworz?... w edytorze... o/` |
09:47 | <@McMartin> | 00:22 <@John> I think I've located the awesomest game of Mafia theoretically possible. |
09:47 | <@McMartin> | 00:22 <@John> http://forums.koalawallop.com/viewtopic.php?f=19&t=3700 |
09:47 | <@McMartin> | He's not kidding. |
09:58 | <@AnnoDomini> | SPACE VIKINGS. :D |
10:04 | <@ToxicFrog> | With CHAINSAW AXES the size of FOALS |
11:06 | | Syloqs-AFH [~Syloq@Admin.Nightstar.Net] has quit [Connection reset by peer] |
11:22 | <@AnnoDomini> | "Shut up, I'm infallible! Also, you're dead!" |
11:22 | <@AnnoDomini> | XD |
11:32 | | gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code |
11:32 | | mode/#code [+o gnolam] by ChanServ |
11:34 | <@AnnoDomini> | <McMartin> 00:22 <@John> I think I've located the awesomest game of Mafia theoretically possible. |
11:34 | <@AnnoDomini> | <McMartin> 00:22 <@John> http://forums.koalawallop.com/viewtopic.php?f=19&t=3700 |
11:37 | <@gnolam> | Heh. |
11:37 | <@gnolam> | It's been too long time since I last played Mafia... :( |
11:38 | | * Vornicus-Latens has never played Mafia. |
11:39 | <@AnnoDomini> | I played on summer camp once or twice. |
11:45 | <@gnolam> | I used to play on a regular basis a couple of years ago. |
11:46 | <@gnolam> | We played often enough to develop some informal rules... like "On the first turn, lynch Björn". ;D |
11:47 | <@AnnoDomini> | Why Bj?rn? |
11:49 | <@gnolam> | It's the only way to shut him up. |
12:07 | <@C_tiger> | AnnoDomini: That's prety epic. |
12:08 | <@AnnoDomini> | Uh, McMartin was the original quoter. |
12:08 | <@C_tiger> | Also, I wanted to say that when you next the ?: operator, things get ugly fast. |
12:08 | <@C_tiger> | *nest |
12:09 | <@C_tiger> | I think I need some parentheses. |
12:09 | <@C_tiger> | and advil. |
12:09 | <@C_tiger> | right, McMartin... who cares if I'm too lazy to read up more than two lines. |
12:12 | <@gnolam> | When you're nesting the ternary if, you're usually doing something wrong... |
12:16 | <@AnnoDomini> | This thread is so awesome. |
13:07 | | grossroot[idle] is now known as grossroot |
14:02 | <@AnnoDomini> | Yeah, so awesome. :D |
14:24 | <@AnnoDomini> | "Your code will crash mysteriously if you do not do this." ;) |
14:25 | <@Serah> | ;) ? I that a new way to end your lines? |
14:26 | <@AnnoDomini> | It's a smiley. |
14:26 | <@Serah> | I know. |
14:27 | <@AnnoDomini> | Then why are you asking? |
14:27 | <@gnolam> | AnnoDomini: Ah, I see you've received the mandatory C++ "athame and black chicken" package. |
14:27 | <@Serah> | An obviously ill-concieved attempt of humour. |
14:28 | <@Serah> | Or rather, it is now obvious to me, that it was ill-concieved. |
14:29 | <@AnnoDomini> | gnolam: Well, I find this thing superior to using MFC. |
14:32 | <@gnolam> | ... you've touched MFC?Without gloves, suit and SCBA? |
14:32 | | * gnolam slams the red alarm button. |
14:32 | <@gnolam> | WE NEED A DECON TEAM HERE, STAT! |
14:34 | <@Vornicus-Latens> | Sorry, all we've got today is vicars. |
14:35 | <@AnnoDomini> | Not so much 'touched' as 'being thrown at it directly after last semester's experience with only Borland 3.0 and only basic algorithmic preparation, and being expected to come out victorious.' |
14:35 | <@gnolam> | Borland 3.0? |
14:35 | <@AnnoDomini> | I think I did relate this in the past. |
14:35 | <@AnnoDomini> | Yes. |
14:35 | <@gnolam> | Man, you really are a glutton for self-punishment, aren't you? |
14:35 | <@AnnoDomini> | That's what my Uni uses. |
14:36 | <@gnolam> | Yeah, your Uni seems unusually sadistic. |
14:37 | <@gnolam> | They even chose a nasty architecture for your assembly stuff, IIRC. |
14:38 | <@AnnoDomini> | We had TASM on the last semester of assembly programming. It was like 'whoa, this is easy!' |
14:40 | <@AnnoDomini> | Other than that, rare compilers for ancient processors, without easily accessable documentation. And in one case, we were simulating a processor's actual process of deciding what to do when reading commands from memory, in a simulator of a different processor, which was some student's homebrew application. |
14:41 | <@gnolam> | \o/ |
14:42 | <@Vornicus-Latens> | Sweet. |
14:42 | <@gnolam> | We did our basic assembly on the 68k, which is a sweet, sweet piece of architecture. |
14:43 | <@gnolam> | And the microcode basics were on a fictional architecture, with a pretty neat emulator. |
14:43 | <@gnolam> | As for C/C++, it's GCC all the way. |
14:44 | <@AnnoDomini> | It doesn't help that when you ask the teacher, "who doesn't this work?" the typical answer is, "I don't know, figure it out." |
14:44 | <@gnolam> | Ouch. |
14:44 | <@gnolam> | We had the opposite problem. :) |
14:45 | <@AnnoDomini> | Why does this work? |
14:46 | <@gnolam> | More like "Why doesn't this wo..." "$1020 - change the BNE to a BEQ." |
14:47 | <@gnolam> | They have some... eccentrics in that department. |
14:52 | <@AnnoDomini> | Our Uni struggles somewhat to keep status of being able to give out advanced doctorates. This leads to keeping personnel essential for that, because of requirements coming from above, despite said personnel many a time being completely unsuitable for a teaching position. Unfortunately, this discourages students from becoming faculty, since they see some major problems in associating themselves wit |
14:52 | <@AnnoDomini> | h the troublesome elements. |
14:54 | <@gnolam> | Ah. So is that why we have so many Poles in our Department of Information and Computer Science? :) |
14:55 | <@AnnoDomini> | And we have many Russians. |
16:32 | | You're now known as TheWatcher[afk] |
16:42 | | Genoside [~Iceg@41.209.95.ns-4180] has joined #Code |
16:58 | | Genoside [~Iceg@41.209.95.ns-4180] has left #Code [«Daniela Script»] |
18:29 | | You're now known as TheWatcher |
22:04 | | grossroot is now known as grossroot[idle] |
23:25 | | AnnoDomini [~farkoff@Nightstar-29035.neoplus.adsl.tpnet.pl] has quit [Quit: "... Why are you smiling? I just beat you!" "Did you? Look at yourself. Look at what you've /become/."] |
--- Log closed Fri Dec 19 00:00:26 2008 |