--- Log opened Sun Jun 07 00:00:49 2009 |
00:13 | <@Derakon> | Argh, writing documentation is dull. |
00:14 | < ToxicFrog> | Yes. |
00:15 | <@Derakon> | Lessee...I've done animation, block, camera, line, and map. |
00:16 | <@Derakon> | That leaves environmentaleffect, jbrl, managers, player, polygon, prop, quadtree, sprite, treenode, util, and zone. ;.; |
00:17 | | * TheWatcher patpats Dera, notes it is worth it in the long run |
00:17 | < simontwo> | hehe |
00:17 | <@Derakon> | Oh, and constants. |
00:17 | <@Derakon> | I'm really dreading constants and managers, really, since they're...well, they work, but they aren't really OO. |
00:17 | <@TheWatcher> | (although, I note, I would cheerfully like to Have Words with people over pod.) |
00:18 | <@Derakon> | And managers should really be split up into a bunch of different files, considering it contains 6 class definitions. |
00:18 | <@Derakon> | "people over pod"? |
00:18 | <@TheWatcher> | Perl's 'plain old documentation' stuff |
00:18 | <@Derakon> | Ahh, which you disliked enough to hack Doxygen to work on Perl instead. |
00:20 | <@TheWatcher> | Well, I didn't hack doxygen to do it - http://www.bigsister.ch/doxygenfilter/ this guy did - but yeah, I deeply dislike pod. |
00:25 | < ToxicFrog> | Oh goddamnit |
00:25 | < ToxicFrog> | I have a ComboBox here that crashes Glade rather impressively when I attempt to manipulate the list of contents from inside Glade. |
00:25 | < ToxicFrog> | And attempting to manipulate them from code doesn't appear to work at all. |
00:26 | < ToxicFrog> | ...indeed, attempting to manipulate any ComboBox in Glade causes it to blow up. |
00:27 | < ToxicFrog> | Wtf, this was working earlier today! |
00:35 | < ToxicFrog> | Oh wait |
00:35 | < ToxicFrog> | Earlier today I was using Orias, which is two minor versions ahead~ |
01:02 | | You're now known as TheWatcher[T-2] |
01:11 | | You're now known as TheWatcher[zZzZ] |
01:14 | | * Derakon finishes documenting util.py, having left 7 of 24 functions undocumented because they have names like 'getNormalizedVector', 'projectPointOntoVector', 'realspaceToGridspace', 'pointPointDistance', etc. |
01:15 | <@Derakon> | ...scuse me, 17 functions without comments. |
01:19 | <@Derakon> | Hm. It occurs to me that if I do open-source this code, it'll include an open-source Python implementation of SAT. |
01:19 | <@Derakon> | It'd be interesting to see if that got any attention. |
01:30 | < ToxicFrog> | SAT? |
01:30 | | * ToxicFrog grabs GTK and shakes it until its head falls off |
01:30 | <@Derakon> | Separating Axis Theorem, a collision detection algorithm for convex polygons. |
01:33 | < SmithKurosaki> | tf, whats wrong now? |
01:39 | | Consul [~dmlandrum@Nightstar-2808.dsl.sfldmi.ameritech.net] has quit [Quit: Leaving] |
01:42 | | Consul [~dmlandrum@Nightstar-2808.dsl.sfldmi.ameritech.net] has joined #code |
01:42 | | mode/#code [+o Consul] by ChanServ |
01:42 | < ToxicFrog> | Sorted! |
01:43 | < ToxicFrog> | It would help if I were calling :show() rather than :showAll() |
01:44 | < SmithKurosaki> | oops |
01:44 | < ToxicFrog> | (show() shows a widget and its children. showAll() shows a widget and all its children, including those which were formerly marked hidden.) |
01:44 | < ToxicFrog> | (cue a bunch of widgets that are meant to be invisible on startup showing up) |
01:48 | < SmithKurosaki> | well, good that you figured out what happened |
01:51 | <@Derakon> | Right, 9 of 22 classes documented. ¬.¬ |
01:52 | < SmithKurosaki> | yay? |
01:53 | <@Derakon> | (Man, I only have 22 classes?) |
01:53 | < ToxicFrog> | Well, it's ready for testing. |
01:53 | < ToxicFrog> | Apart from the whole dependencies mess. |
01:56 | | * ToxicFrog sets to work installing the GTK build dependencies in his cross-compiler's environment |
02:03 | < SmithKurosaki> | cross compilers? |
02:05 | < ToxicFrog> | A compiler that runs on one system, but outputs code for a different one. |
02:05 | < ToxicFrog> | In this case, linux host, win32 target. |
02:55 | | gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has quit [Quit: Z?] |
02:55 | < SmithKurosaki> | ahh |
02:59 | | * ToxicFrog murders windows DLL dependency resolution in the face |
03:00 | < SmithKurosaki> | oh, how i wish i could do that |
03:02 | < ToxicFrog> | ...you are SHITTING ME |
03:02 | < ToxicFrog> | 18 DLLs later: |
03:02 | | * SmithKurosaki hugs |
03:03 | < ToxicFrog> | GTK-ERROR: Incompatible build! The code using GTK+ thinks GtkBox is of a different size than it actually is in this build of GTK+. On windows, this typically means that you compiled using gcc without the -mms-bitfields switch, or that you are using an unsupported compiler. |
03:03 | <@Vornicus-Latens> | ... |
03:04 | <@Derakon> | Hm. No TW. |
03:05 | < SmithKurosaki> | gaaah |
03:07 | < ToxicFrog> | Ok. That's sorted. |
03:07 | < ToxicFrog> | Recompiling lgui with -mms-bitfields did indeed fix it. |
03:10 | < SmithKurosaki> | :) |
03:10 | < ToxicFrog> | Now it's complaining about "unknown widget class GtkAboutDialog" (which means that the About window manifests as a GtkLabel and then explodes when I try to attach signals to it) |
03:16 | < ToxicFrog> | Son of a WHORE |
03:16 | < ToxicFrog> | These libglade windows binaries are v2.4.0 |
03:16 | < ToxicFrog> | That is to say, a little over four years old. |
03:16 | < ToxicFrog> | Wait, no. |
03:16 | < ToxicFrog> | Five years. |
03:16 | < ToxicFrog> | And GtkAboutDialog support was introduced four years ago. |
03:17 | <@MyCatVerbs> | Wow. Impressive. |
03:17 | < SmithKurosaki> | >.< |
03:17 | <@MyCatVerbs> | This means that you are using binaries that are older than at least one person whom I care about. |
03:22 | < ToxicFrog> | Oh hey there are official Glade binaries for the latest version that I only found by RANDOMLY BROWSING AROUND IN THE FTP SERVER, because they aren't linked anywhere! |
03:23 | < ToxicFrog> | FINALLY |
03:23 | < ToxicFrog> | WORKING |
03:23 | < ToxicFrog> | At least I don't have to worry about the import libraries and manifests like those poor bastards using msdev~ |
03:24 | < SmithKurosaki> | w00t |
03:32 | <@Vornicus-Latens> | Yay |
03:37 | | * Vornicus-Latens examines git. |
03:37 | | Vornicus-Latens is now known as Vornicus |
03:51 | < ToxicFrog> | \o/ git! |
03:51 | <@Vornicus> | I really, really wish I could just get something to go "oh look, your file changed. I'll just hang on to that..." |
03:52 | < SmithKurosaki> | o/ |
03:52 | <@Derakon> | It'd be difficult to do intelligent versioning with something like that though. |
03:54 | < ToxicFrog> | Vornicus: what do you mean? |
03:54 | < ToxicFrog> | Some sort of daemon that automatically makes commits when things change? |
03:55 | <@Vornicus> | TF: yes. |
03:57 | <@Vornicus> | Or if that doesn't work, put a little notification somewhere. |
03:57 | < ToxicFrog> | Well, there's already stuff like tripwire to watch for file changes |
03:57 | < ToxicFrog> | Tie one of those into git commit -a and you're good to go |
03:58 | < simontwo> | sounds like something that is better off as a filesystem feature. |
03:58 | < ToxicFrog> | True, there's also versioning filesystems |
03:58 | <@Vornicus> | Yeah, I thought the same thing, so I looked into TIme Machine (not what I want) |
03:58 | <@Vornicus> | (because it remembers /everything/) |
04:00 | < ToxicFrog> | Oh right, this has to target OSX. |
04:00 | < ToxicFrog> | Well, you could always bodge something together using ls -l, cron, and git. |
04:01 | <@Vornicus> | OSX does have event hooks for file and directory changes. |
04:03 | <@Vornicus> | I'm not sure where they are, but I know they exist because many programs use them - if I move a file while it's open in TextWrangler, it knowsthat it's moved. |
04:10 | <@MyCatVerbs> | Vornicus: could be POSIX inotify(), or maybe they have their own interface for it. |
04:11 | <@MyCatVerbs> | Wait, inotify isn't in POSIX? Hrmn. |
04:11 | <@Vornicus> | I don't see it, no. |
04:12 | <@MyCatVerbs> | Damn, I thought it was wider than that. Actually it's Linux-specific. |
04:13 | <@Vornicus> | kevent and kqueue, apparently, on Mac. |
04:13 | <@Vornicus> | does git have an equivalent to svn status? |
04:14 | < SmithKurosaki> | you mean like git status maybe? (i havent used svn_ |
04:15 | <@Vornicus> | svn status: tells you about (non-ignored) file changes in your working directory. |
04:15 | < SmithKurosaki> | yea, same thing |
04:15 | < SmithKurosaki> | its just git, not svn :) |
04:15 | <@Vornicus> | Perfect, thank you. |
04:16 | < SmithKurosaki> | np :) i think im learning well from tf :) |
04:18 | | * Vornicus thinks he knows what to do now: A widget that watches svn status. |
04:18 | < SmithKurosaki> | w00t :) |
04:19 | | * ToxicFrog tries to figure out how to scroll a GtkTextView |
04:19 | <@Vornicus> | or whichever. If I can get git to install this time, I'll try it. |
04:20 | < SmithKurosaki> | :0 |
04:20 | < SmithKurosaki> | i didnt have that much trouble, but i only did the client (on windows :p) |
04:21 | < SmithKurosaki> | tf, i wish i could help you |
04:29 | <@Vornicus> | Hey look, a binary installer. |
04:29 | | * Vornicus uses. |
04:29 | < SmithKurosaki> | what kind of drugs? |
04:30 | <@Vornicus> | binary installers. |
04:31 | < SmithKurosaki> | those ones dont do it for me, i like my rpms more |
04:36 | | Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Quit: <Insert Humorous and/or serious exit message here>] |
04:40 | | Orthianz [~Orthianz@Nightstar-8852.xdsl.xnet.co.nz] has joined #Code |
04:40 | | Orthia [~Orthianz@Nightstar-23039.xdsl.xnet.co.nz] has quit [Ping Timeout] |
04:48 | <@Consul> | Hey, that ext2 driver for Windows works a real treat! Thanks... ToxicFrog, was it? |
04:49 | <@Vornicus> | git - the stupid content tracker |
04:51 | < ToxicFrog> | Consul: could have been me, could have been someone else |
04:54 | < ToxicFrog> | Consul: sampling my logs, it was SK |
04:54 | <@Consul> | Eh, I can't remember. Either way, it works a treat. |
04:55 | < SmithKurosaki> | ^5 |
05:00 | <@Consul> | Ah, okay |
05:00 | <@Consul> | Thank you, SmithKurosaki *hugs* |
05:04 | <@Consul> | Sorry, I'm kinda here and away at random... |
05:05 | | * SmithKurosaki hugs |
05:06 | < SmithKurosaki> | same here, dealing with housemates and visitors who are about to go out drinking, also providing music atm |
05:08 | <@Consul> | So far, Windows is stable and is not crashing at all as I copy bunches of stuff from disk to disk. |
05:08 | <@Consul> | Linux from the command line kept locking up. |
05:08 | < SmithKurosaki> | :( |
05:09 | < SmithKurosaki> | are you using an xserver or strictly terminal (like tty1-6)? |
05:11 | <@Consul> | Pure terminal, but it didn't matter. It just kept locking up. |
05:12 | <@Consul> | Had the same issues with Fedora, though not nearly as bad. |
05:12 | < SmithKurosaki> | :( |
05:12 | | * SmithKurosaki hugs |
05:12 | <@Consul> | I'm thinking I have some piece of hardware that the kernel module went bad for at some point. |
05:12 | <@Consul> | Could it be that I do have a failing mobo and that Windows can deal with it easier? |
05:12 | <@Consul> | Somehow, I doubt that, but it's worth asking. |
05:13 | | * Consul hugs back |
05:14 | < SmithKurosaki> | Consul: i would expect to act the opposite way from my experience. while linux is more modable etc, windows is much more fragile |
05:14 | <@Consul> | Well, I'm going to run Windows for a while and see what happens. |
05:15 | <@Consul> | I need to reinstall it, since I had some hardware changes since last installing it that I never resolved, because Linux was working for the most part |
05:15 | < SmithKurosaki> | uggh |
05:16 | <@Consul> | You know, it doesn't bother me. |
05:16 | <@Consul> | The Linux audio dev community is in a deplorable state right now. |
05:16 | < ToxicFrog> | s/right now// |
05:16 | <@Consul> | The tools I have on windows for making music actually work better. |
05:17 | < ToxicFrog> | Audio on linux is hell. |
05:17 | < SmithKurosaki> | yup |
05:17 | <@Consul> | I really, really wanted to contribute some special things to the Linux world. I was studying all that DSP and math stuff for it/ |
05:17 | < SmithKurosaki> | mmmm my ginger cookies are awesome |
05:18 | <@Consul> | But the fact is, Reaper already has everything I was going to have to code myself. |
05:18 | <@Consul> | And it also is a platform in and of itself for some interesting experiment. |
05:18 | <@Consul> | +s |
05:18 | < SmithKurosaki> | oh? |
05:19 | <@Consul> | Factor in that Puredata, Csound, and Faust all work on Windows as well as they do on Linux, and I really don't see the need in torturing myself anymore. |
05:19 | <@Consul> | Reaper has a built-in pseudocode-like language for DSP plugins. |
05:19 | <@Consul> | It works very well, and can make plug-ins as good as any VST is capable of, including oversampling and other such advanced routines. |
05:20 | | * SmithKurosaki is lost |
05:20 | < SmithKurosaki> | im not sure what most of those things are |
05:20 | <@Consul> | Hehe |
05:20 | < SmithKurosaki> | im also kinda tired |
05:20 | <@Consul> | Suffice it to say, even though it's closed-source, Reaper is opened up enough for me to do some interesting things codewise and make a difference. |
05:21 | < SmithKurosaki> | cool |
05:21 | <@Consul> | It even has an SDK for extending the features of Reaper itself. |
05:21 | < SmithKurosaki> | cool |
05:21 | <@Consul> | Reaper is a digital audio workstation, by the way. Equivalent in functionality to Protools or Cubase or Sonar and the like. |
05:22 | < SmithKurosaki> | none of which i use |
05:22 | <@Consul> | Real-time multitrack audio recording and MIDI sequencing, etc. |
05:22 | < SmithKurosaki> | :( |
05:22 | <@Consul> | It can also host software synths and various audio effects. |
05:22 | < SmithKurosaki> | o ok, so a more robust audacity? |
05:22 | <@Consul> | And it includes its own language for writing ones own effects and synths. |
05:22 | < SmithKurosaki> | nice |
05:23 | <@Consul> | And it includes its own language for writing ones own effects and synths. |
05:23 | <@Consul> | Farts! |
05:23 | < SmithKurosaki> | o |
05:23 | < SmithKurosaki> | :o* |
05:23 | <@Consul> | Sorry, the up-arrow on my keyboard is right below the enter key. |
05:23 | < SmithKurosaki> | yea, i understand |
05:23 | <@Consul> | I was saying... |
05:24 | <@Consul> | Audacity actually fills its own niche that Reaper doesn't extend to, so I'll likely use both. |
05:25 | < SmithKurosaki> | cool |
05:25 | <@Consul> | But Audacity can do multitracking stuff, so in that sense, it works. |
05:25 | < SmithKurosaki> | :) |
05:25 | <@Consul> | Either way, my point is, as far as making music is concerned, I think I'll be happier in Windows. As much as it pains me to say that. |
05:26 | < SmithKurosaki> | well, there are some things that are not suited for doing in linux, so. |
05:27 | < SmithKurosaki> | or at least not only linux |
05:27 | <@Consul> | I really wanted to be able to say my album was done all with open source, though. I was hoping it would be a good selling point. :-) |
05:27 | < SmithKurosaki> | hmm |
05:27 | <@Consul> | But to be honest, I doubt enough people would care. |
05:28 | <@Consul> | Between sampling sounds in the wild with my field recorder, collecting public domain recordings, and building strange musical instruments in my basement, the album will be homemade enough. |
05:28 | < SmithKurosaki> | probably not |
05:29 | <@Consul> | In fact, I'm aiming to use no synths at all. Just samples and recordings, processed in various ways. |
05:31 | < SmithKurosaki> | w--t |
05:31 | < SmithKurosaki> | w00t( |
05:33 | <@Consul> | I want to build one of these: http://www.youtube.com/watch?v=Z3b1bz_9gEo |
05:36 | <@Derakon> | Consul: nice. |
05:42 | <@Consul> | Except mine is going to be a solid-body with piezo pickups. :-) |
05:42 | <@Consul> | Largely because it would be easy to use a large cutting board as a platform. |
05:52 | < ToxicFrog> | w00t! |
05:52 | | Doctor_Nick [~nick@Nightstar-7517.tampfl.dsl-w.verizon.net] has quit [Connection reset by peer] |
05:52 | < ToxicFrog> | [ui] text-entry: Testing, testing... |
05:52 | < ToxicFrog> | [lots of debugging info snipped] |
05:53 | < ToxicFrog> | tcp{client}: 01756F78 says, "Testing, testing..." |
05:55 | < SmithKurosaki> | yay! |
05:57 | | Doctor_Nick [~nick@Nightstar-7517.tampfl.dsl-w.verizon.net] has joined #code |
05:58 | | mode/#code [+o Doctor_Nick] by ChanServ |
06:05 | | Syloqs-AFH [Syloq@ServicesAdmin.Nightstar.Net] has quit [Connection reset by peer] |
06:07 | <@Consul> | ToxicFrog: What are you working on? |
06:08 | < SmithKurosaki> | casting cyber spells on people |
06:08 | <@Consul> | Hehe |
06:08 | < SmithKurosaki> | oh yea, toxic, have you found how plotkin dealt with the actual castings yet? |
06:15 | < ToxicFrog> | Consul: Spellcast. Specifically, a GTK version of Plotkin's X11 version of Bartle's classic pen-and-paper game Spellbinder. |
06:15 | <@Consul> | Cool |
06:16 | < ToxicFrog> | It's a kickass game, but the X11 version requires everyone have an X server and give you xhost permission, the SDL version (an earlier effort of mine) is extremely fragile, and the wx version is, well, wx. |
06:19 | < ToxicFrog> | So, I'm working on a version that's robust, allows for both hosting and joining games, has a decent UI, and is usable on Linux, OSX, and Windows. |
06:19 | < SmithKurosaki> | :D |
06:23 | < ToxicFrog> | At the moment it works on linux and windows (and should run on OSX without modification, once I have binaries for the necessary libraries), and can be used as a primitive chat program. |
06:25 | <@Consul> | Sounds interesting. |
06:26 | < ToxicFrog> | Interested in helping test? |
06:26 | | * ToxicFrog grins |
06:26 | | GeekSoldier_ [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has joined #code |
06:26 | | GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has quit [Ping Timeout] |
06:26 | <@Consul> | Not tonight. It's too late. |
06:27 | <@Consul> | When will you have something to test? |
06:28 | < ToxicFrog> | Tonight or daytime tomorrow. |
06:28 | < SmithKurosaki> | i can help, yes? |
06:28 | < ToxicFrog> | At the moment there isn't much testing to be done, though; it's mainly "does it work on computers other than mine" |
06:28 | < ToxicFrog> | SK: certainly |
06:28 | < SmithKurosaki> | :) |
06:29 | <@Consul> | Tomorrow, I'm going to try to get my main machine up and running again. I'll let you know when I'm done. |
06:31 | <@Consul> | I really should go to bed, but for some reason, I don't want to. |
06:31 | < SmithKurosaki> | throw it in my home dr ill grab it fro,m orias |
06:33 | <@Consul> | Oh well, I guess I'm off for the night. Be back tomorrow. |
06:33 | < ToxicFrog> | SK: when it's in a testable state, you'll be able to git clone it. |
06:33 | < ToxicFrog> | 'night, Consul |
06:33 | < SmithKurosaki> | kk, also i cant get onto orias... |
06:33 | | * Consul waves |
06:33 | < SmithKurosaki> | bye :) |
06:33 | | Consul [~dmlandrum@Nightstar-2808.dsl.sfldmi.ameritech.net] has quit [Quit: Leaving] |
06:33 | < SmithKurosaki> | (thru stfp) |
06:41 | < ToxicFrog> | Man. Testing this has gotten so much more painless since I implemented autoexec.lua |
06:42 | < SmithKurosaki> | :) |
06:56 | | Orthianz is now known as Orthia |
06:57 | < ToxicFrog> | Hmm. Handling disconnects: all network IO is handled by the event manager. Ergo, that's where disconnects will be detected. |
06:58 | < SmithKurosaki> | right. |
06:58 | < ToxicFrog> | It should be able to just look up the function associated with that socket, and call it passing it the dead socket and an "iofail" event. |
06:58 | < ToxicFrog> | And then it's up to the client and server to implement client.event.iofail and client.server.iofail respectively. |
06:58 | < SmithKurosaki> | o/ |
07:21 | | Derakon is now known as Derakon[AFK] |
07:22 | < ToxicFrog> | Ok, it's definitely time to go to bed when I start inventing words like "robustificated" |
07:22 | < ToxicFrog> | ...and using them in commit messages. |
07:22 | < ToxicFrog> | On the plus side, the netcode is now heavily robustificated~ |
07:29 | | * Vornicus returns from a session of steampunk maintenance drone blasting, examines his code. |
07:30 | < ToxicFrog> | You know, when classes are in session, or I'm working full time, I often don't have the time or the inclination to work on my own programming projects. And after a while of that, I start to wonder if I've lost the enjoyment of programming, or at least the mojo. |
07:31 | <@Vornicus> | But the moment you have two hours to drop on coding for fun, you say "oh god this is fun" |
07:31 | < ToxicFrog> | And then I have days like the last few, when the code burns across my mind and flows out across the keyboard almost as fast as I can compose the program in my head, each line turning the computer towards a new purpose - my purpose - until the program is up and running and it's the coolest, sweetest high you can imagine. |
07:31 | < ToxicFrog> | And then I remember, yes, this is why I became a programmer. |
07:34 | | * Vornicus joins that club. |
08:03 | | * Vornicus ponders overarching design. |
08:04 | | * Orthia envies TF massively, for he cannot code. ;_; |
08:05 | <@Vornicus> | Reiver: like, you don't have time, or you just don't know how? |
08:08 | <@Vornicus> | or should my question be "Orthia, why do you refer to yourself as male?" :P |
08:08 | < Orthia> | Vorn: Reiver has a habit of nicking Orthias machine, especially when eating dinner at her place and she's enjoying the Sound Of Music in the living room :P |
08:08 | <@Vornicus> | *snrrrrk* |
08:08 | < Orthia> | (Not that I mind it, but she's been ill, and this is the third time it's been played this weekend~) |
08:09 | <@Vornicus> | So the hills have been Quite Alive, then. |
08:09 | < Orthia> | ((Granted, this is the first time she's not slept through 2/3rds of it. So it's not like she's actually noticed anything.)) |
08:09 | < Orthia> | ((Err. s/noticed/seen/)) |
08:10 | < Orthia> | Oh, very much so. |
08:10 | < Orthia> | (The run through with developers commentary was very interesting, actually.) |
08:11 | < Orthia> | (The opening scene in the hills? She had to work /hard/ to smile that much - the helicopter doing the flybys kept knocking her over just after the camera lost tracking on her...) |
08:11 | < Orthia> | (She was, uh, sore, bruised and Very Cranky by the end of the day~) |
08:11 | < Orthia> | Anyway. |
08:11 | <@Vornicus> | (ow.) |
08:12 | < Orthia> | A little bit of lacking time, but mostly the lacking the time to ever properly learn a language. So I keep getting stuck on the details, which becomes endlessly frustrating. |
08:14 | <@Vornicus> | gner. |
08:15 | | * Vornicus sends you some of /his/ time, because he appears to have too much this summer. |
08:16 | | * Orthia wishes it worked like that ;_; |
08:18 | <@Vornicus> | Technically it /does/, but what happens is you need to give someone tasks. And usually money. |
09:34 | | You're now known as TheWatcher |
09:39 | <@TheWatcher> | Reiv: Why don't you try learning a /sane/ language, something like C, python, perl, or the like? Learn a weirdo language like Haskell once you have your coding legs. |
09:39 | <@TheWatcher> | (yes, I did just call perl sane, shaddup) |
09:44 | <@McMartin> | I thought part of the goal here was to learn a functional language |
09:44 | <@TheWatcher> | Oh |
09:45 | <@TheWatcher> | Well, if he's going to set out to do something crazy~ |
09:56 | | * Vornicus needs sleep. also needs design sanity checking, but the sleep comes first. |
10:07 | | Vornicus is now known as Vornicus-Latens |
11:02 | | You're now known as TheWatcher[afk] |
11:04 | | UndeadAnno [AnnoDomini@Nightstar-29033.neoplus.adsl.tpnet.pl] has quit [Ping Timeout] |
11:06 | | Rhamphoryncus [~rhamph@Nightstar-7168.ed.shawcable.net] has quit [Quit: Rhamphoryncus] |
11:09 | | UndeadAnno [AnnoDomini@Nightstar-29880.neoplus.adsl.tpnet.pl] has joined #Code |
11:09 | | mode/#code [+o UndeadAnno] by ChanServ |
11:57 | | gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code |
11:57 | | mode/#code [+o gnolam] by ChanServ |
12:42 | | Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code |
12:42 | | mode/#code [+o Attilla] by ChanServ |
13:00 | | You're now known as TheWatcher |
14:28 | | Alek [~omegaboot@Nightstar-29499.dsl.emhril.sbcglobal.net] has quit [Connection reset by peer] |
14:35 | | Alek [~omegaboot@Nightstar-24547.dsl.emhril.sbcglobal.net] has joined #code |
14:59 | | * TheWatcher bleghs at terminal graphing |
15:00 | | Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Connection reset by peer] |
15:00 | | Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code |
15:00 | | mode/#code [+o Attilla] by ChanServ |
15:30 | | * ToxicFrog gnaws on Reiver |
15:40 | < SmithKurosaki> | o.0 tf? |
15:40 | | Tackleberry [Tackleberr@Nightstar-19450.pool.mediaWays.net] has joined #code |
15:40 | < Tackleberry> | http://mein-erstes-mal.net/?id=5276568 |
15:40 | < Tackleberry> | http://mein-erstes-mal.net/?id=5276568 |
15:40 | < Tackleberry> | http://mein-erstes-mal.net/?id=5276568 |
15:40 | | Tackleberry [Tackleberr@Nightstar-19450.pool.mediaWays.net] has left #code [] |
15:50 | < jerith> | Why spam the same link three times? |
15:51 | < SmithKurosaki> | bot like? |
15:52 | <@TheWatcher> | Maybe it's the spam equivalent of exclamation marks? |
15:52 | <@gnolam> | http://www.corrupted-files.com |
16:06 | | Syloqs_AFH [Syloq@Admin.Nightstar.Net] has joined #code |
16:07 | | Syloqs_AFH is now known as Syloqs-AFH |
16:09 | < ToxicFrog> | ...why would you need to buy corrupted files? |
16:09 | < SmithKurosaki> | thats kinda sad |
16:10 | < SmithKurosaki> | theres a amaarket im sure, but why are they trying to hack people if they that lazy |
16:11 | <@TheWatcher> | .... great, now I have the mental picture of some kind of weird fetishist getting all excited because now he has /corrupt/ files on his machine, the naughty things. |
16:12 | < SmithKurosaki> | lol |
16:13 | | Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Ping Timeout] |
16:14 | < ToxicFrog> | Oh, I can see the use case, but seriously - dd if=/dev/urandom of=foo.odt |
16:14 | | Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code |
16:14 | | mode/#code [+o Attilla] by ChanServ |
16:16 | < SmithKurosaki> | o damn |
16:16 | | GeekSoldier_ is now known as GeekSoldier |
16:40 | | Alek [~omegaboot@Nightstar-24547.dsl.emhril.sbcglobal.net] has quit [Quit: bah. system needs to cool down. especially before I try installing FFVII again.] |
17:13 | | Consul [~dmlandrum@Nightstar-2808.dsl.sfldmi.ameritech.net] has joined #code |
17:13 | | mode/#code [+o Consul] by ChanServ |
17:19 | | Derakon[AFK] is now known as Derakon |
17:46 | <@gnolam> | So again. Graphics library with support for alpha channel bitmaps, scaling and rotation, and rendering to memory bitmaps. Suggestions? |
17:53 | | Syloqs-AFH [Syloq@ServicesAdmin.Nightstar.Net] has quit [Connection reset by peer] |
18:00 | | Syloqs_AFH [Syloq@Admin.Nightstar.Net] has joined #code |
18:02 | | Syloqs_AFH is now known as Syloqs-AFH |
18:03 | | * TheWatcher eyes this script |
18:06 | <@TheWatcher> | Okay, so now it recursively scans directories looking for files that match normal perl extensions, loads them, uses PPI to determine function lengths and counts, regexps to obtain comment and whitespace counts, and then dumps stats on average file lenth (loc and bytes), percentage that is comment, percentage that is whitespace, min, max, and average function length, and histograms of function lengths and line lengths. Now for |
18:06 | <@TheWatcher> | command line processing... |
18:08 | <@Derakon> | ... |
18:08 | <@Derakon> | What is this for? |
18:09 | <@TheWatcher> | Mainly, I was curious |
18:14 | <@TheWatcher> | There seems to be a complete lack of code statistics programs for perl, and I wanted to see some stuff about my code *shrug* |
18:15 | <@TheWatcher> | http://paste.ubuntu.com/190389/ is some example output ATM |
18:16 | <@Derakon> | You have a 400-character-long line. :( |
18:17 | <@TheWatcher> | yeah, it's a hideous array of regexps. |
18:17 | <@TheWatcher> | But now, I must cooks, so we can actually have dinner tonight >.> |
18:18 | <@Derakon> | Dinner is good. |
18:35 | | UndeadAnno [AnnoDomini@Nightstar-29880.neoplus.adsl.tpnet.pl] has quit [Ping Timeout] |
18:40 | | UndeadAnno [AnnoDomini@Nightstar-29880.neoplus.adsl.tpnet.pl] has joined #Code |
18:40 | | mode/#code [+o UndeadAnno] by ChanServ |
18:44 | < ToxicFrog> | gnolam: SDL. |
18:47 | <@gnolam> | That would require SDL_gfx, which is Broken. |
18:47 | < ToxicFrog> | Broken how? |
18:50 | <@gnolam> | As in "cannot be built". |
18:51 | <@Derakon> | What about binaries? |
18:51 | < ToxicFrog> | Built fine for me. |
18:51 | < ToxicFrog> | Linux native and linux-host, windows-target gcc cross compile. |
18:52 | <@gnolam> | I took one look at the Visual Studio (7) project file and found out that the level of QA is, apparently, zero. |
18:52 | <@gnolam> | RelativePath="..\..\..\Documents and Settings\James\Desktop\SDL_gfx-2.0.3\SDL_framerate.c" <- I mean, seriously. |
18:53 | < ToxicFrog> | ...so use the Makefile. |
18:56 | < ToxicFrog> | IIRC, I just did a env CC=/mingw/bin/gcc LD=/mingw/bin/ld ./configure --prefix=mingw --host=mingw && make and it Just Worked; it should work with just ./configure && make in mingw or cygwin. |
18:56 | < ToxicFrog> | Or, hell, I have the DLL right here. |
18:59 | <@gnolam> | The makefile is also broken, I won't touch Cygwin with a 10 ft pole, and I gave up on MinGW once it became clear to me that the developers were in fact /never/ going to get their shit together again. |
18:59 | < ToxicFrog> | Funny, it works just fine for me. |
19:00 | < ToxicFrog> | Case in point, the fact that it took basically no effort to build SDL_gfx. |
19:01 | < ToxicFrog> | Also, googling "sdl_gfx win32" returns various premade ones. |
19:04 | | Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Connection reset by peer] |
19:05 | | Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code |
19:05 | | mode/#code [+o Attilla] by ChanServ |
19:07 | <@gnolam> | <ToxicFrog> Case in point, the fact that it took basically no effort to build SDL_gfx. |
19:07 | <@gnolam> | ... but not with MSVS, which is what I'm using. |
19:08 | < ToxicFrog> | My point was "MSYS clearly does work, as I have Results" |
19:08 | < ToxicFrog> | Not "SDL_gfx builds fine in MSVS", as I never use MSVS, because it's a pain in the ass. |
19:08 | < ToxicFrog> | (seriously, fuck import libraries in hell, forever) |
19:27 | <@gnolam> | And my point is that on the system /I/ am using, SDL_gfx is broken. |
19:27 | <@gnolam> | And with the level of care that's gone into its build system, I'm not sure I want to trust the rest of it. |
19:34 | | Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Quit: <Insert Humorous and/or serious exit message here>] |
19:57 | <@TheWatcher> | Learn DirectX then :P |
20:21 | <@McMartin> | Or create your own project file. |
20:22 | <@McMartin> | It's all of four GUI actions. |
20:24 | <@McMartin> | Hm, yes, looked like I used prebuilt libs for it when I uses it. |
21:05 | | * TheWatcher vaguely wonders if there's a style guide for man pages out there |
21:08 | <@gnolam> | McMartin: For all I know, it could require any number of arcane configuration options. |
21:09 | <@McMartin> | This is unlikely, though not impossible. |
21:10 | <@McMartin> | I say unlikely because back when I was first using it, you had to add the source files to your build system by hand; it was for direct incorporation and didn't build into a library at all. |
21:10 | <@gnolam> | All I know is that I'm not going to wade through that train wreck of a build system to find out. |
21:11 | <@McMartin> | Building *any* library in MSVS requires a little arcana to get the declspecs right, of course, and I don't know if they did that. |
21:11 | <@McMartin> | You have pretty frail standards for "train wreck", I must admit. |
21:14 | <@gnolam> | I think any system that obviously has never been tested on a single other computer counts. |
21:14 | <@McMartin> | I've repeatedly run into professionally-released open source for which this is clearly true. |
21:15 | <@McMartin> | Most recently, VirtualBox, which required some hacking of custom build systems to get running binaries, and which also looked for prerequisites in consistently wrong places... on both Mac and Windows, because it's evident the only part that's regularly used is cross-compiling on one person's Solaris account. |
21:17 | <@McMartin> | If the only problem with it is that absolute paths are being used instead of relative ones, that's a pretty trivial fix. |
21:17 | <@McMartin> | Where's the source? I'm vaguely conversant in vcproj files. |
21:17 | <@TheWatcher> | Uh, gnolam. I have built SDL and several of it's sublibraries on 4 or 5 different systems, under three OSes. Several other people in this channel have either done so, or used precompiled versions without issue. |
21:18 | <@McMartin> | He's referring to a specific, independent sublibrary here. |
21:19 | <@McMartin> | That said, reading the description of said sublibrary, it makes no claims of being compilable in MSVS. |
21:19 | <@McMartin> | He uses a Win32 crosscompiler to build the Win32 binaries and targets VC6 with them. |
21:24 | <@TheWatcher> | http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-2.0.19.tar.gz McM |
21:25 | <@McMartin> | I see two errors in the unsupported VCProj file. First, its paths are off, as you noted; second, it does not include "BUILD_DLL" in the preprocessor definitions for the project, which it needs to export its symbols right because he's not using the LIBNAME_EXPORTS convention. |
21:25 | <@McMartin> | BUILD_DLL appears to be their own convention, or possibly the convention of the cross-compiler, so you'd need to replicate that with the preprocessor section of your own build system. |
21:28 | <@McMartin> | I'd also grouch about how it clearly does not default on POSIX to hiding its symbols, which cross-platform DLLs can basically do for free and which is better, but that's a personal grouch. |
21:30 | <@McMartin> | But, you know, yeah. Shock, the unsupported build system is unsupported. |
21:31 | <@McMartin> | The official Open-Source response to that is "great, send us a patch", and since I can, I might as well. Though not for VC7, since I only have access to VC8. |
21:40 | | Vornicus-Latens is now known as Vornicus |
21:46 | | crem [~moo@Nightstar-28703.adsl.mgts.by] has joined #code |
22:35 | <@gnolam> | http://code.google.com/p/sdlbilinear/ <- minimal, but seems to do what I want. |
22:45 | | Derakon is now known as Derakon[AFK] |
22:46 | | * TheWatcher updates his perl stats program somewhat, so it now outputs stuff like http://paste.ubuntu.com/190507/ |
23:06 | < ToxicFrog> | Configuration subsystem working. |
23:06 | < ToxicFrog> | It now remembers your name and gender, and will probably remember other things once I remember what I wanted it to remember. |
23:19 | | Derakon[AFK] is now known as Derakon |
23:24 | | You're now known as TheWatcher[T-2] |
23:30 | <@Vornicus> | heh |
23:33 | < ToxicFrog> | So, what's left? |
23:33 | < ToxicFrog> | - questions. The ASK and ANSWER events; ui.ask_question() |
23:33 | | You're now known as TheWatcher[zZzZ] |
23:34 | < ToxicFrog> | - question text and event message handling, ie, the whole lc.* subsystem. That needs some thought as to how the API will work, too. |
23:34 | <@Derakon> | This is for Spellcast? |
23:34 | < ToxicFrog> | Yes |
23:34 | <@Derakon> | Oh, questions, like "Do you want to cast Summon Goblin or Summon Elemental?" |
23:34 | < ToxicFrog> | - player status. Player status displays in the client; player status storage in the server; status update messages. |
23:34 | < ToxicFrog> | Yeah. "Who do you want to cast Shield on (with the left hand)?" |
23:35 | < ToxicFrog> | - gesture entry and commission. |
23:35 | < ToxicFrog> | And once all that is done, all that's left is the game rules engine itself. |
23:35 | < ToxicFrog> | Which I'm still trying to figure out how to write~ |
23:37 | < GeekSoldier> | Remind me, Spellcast is the one where you cast spells by gesturing your hands? |
23:38 | <@TheWatcher[zZzZ]> | And then you need to write the code to allow gestures with a wiimote connected to the computer~ |
23:38 | < SmithKurosaki> | GeekSoldier: yea |
23:38 | | * TheWatcher[zZzZ] flrrrd to bed |
23:38 | < GeekSoldier> | Fun game. |
23:38 | < SmithKurosaki> | TheWatcher[zZzZ]: oh, that would be awesome, but how many people have ir ports? |
23:38 | <@Derakon> | You don't need IR for the gesturing system. |
23:38 | <@Derakon> | The Wiimote communicates via bluetooth, IIRC. |
23:39 | < SmithKurosaki> | nivr |
23:39 | < SmithKurosaki> | *nice |
23:39 | < SmithKurosaki> | (doesnt know much about wiimotes really) |
23:40 | <@Derakon> | The "sensor bar" on the top of your TV has two IR emitters. |
23:40 | <@TheWatcher[zZzZ]> | yeah - the bar you connect to the WI is just a pair of IR leds on the end of it. The actual work is done in the remote, which senses where the leds are, and talks to the wii via bluetooth |
23:40 | <@Derakon> | The Wiimote has an IR detector in its head, which it can use with the emitters to triangulate and determine point direction. |
23:40 | < SmithKurosaki> | cool |
23:40 | <@TheWatcher[zZzZ]> | It's pretty nifty |
23:40 | <@Derakon> | It's basically just triangulation and accelerometers. |
23:40 | <@TheWatcher[zZzZ]> | SmithKurosaki: http://johnnylee.net/projects/wii/ - have a look at some of these |
23:41 | < SmithKurosaki> | cool :_ |
23:41 | < ToxicFrog> | TW: nice idea, but you need to be able to distinguish finger positions, so... |
23:41 | < SmithKurosaki> | ill bbiab though, i crave foods |
23:42 | <@Derakon> | TF: not necessarily. |
23:42 | < ToxicFrog> | (although the wiimote will probably handle both "wave" and "shiv" well~) |
23:42 | <@Derakon> | The pointing finger could involve thrusting the Wiimote forwards, for example. |
23:42 | <@TheWatcher[zZzZ]> | (or you could use the finger tracking system at the top of the linked page ¬¬) |
23:42 | <@Derakon> | Heh. |
23:42 | <@TheWatcher[zZzZ]> | AAANYway |
23:42 | <@Derakon> | Go to bed. |
23:43 | <@TheWatcher[zZzZ]> | Yes, good idea ;) |
23:49 | < ToxicFrog> | Well, the complete gestureset is, let's see, point snap clap wave fingers palm shiv nil |
23:54 | < SmithKurosaki> | actually, thrusting would be better mapped to stab |
23:54 | <@Derakon> | Stab could be a forward swing instead, though. |
23:54 | <@Derakon> | Not exactly a stabbing motion, but it'd get the idea across. |
23:55 | < SmithKurosaki> | uppercut? |
23:55 | <@Derakon> | Shoryuken! |
--- Log closed Mon Jun 08 00:00:04 2009 |