--- Log opened Thu Feb 11 00:00:35 2010 |
00:33 | | Derakon[AFK] is now known as Derakon |
00:34 | | AnnoDomini [annodomini@Nightstar-fc157def.adsl.tpnet.pl] has quit [[NS] Quit: Tired.] |
00:59 | | Taki^ [Taki_@Nightstar-39d785ef.consolidated.net] has quit [Connection reset by peer] |
01:07 | | Taki^ [Taki_@Nightstar-39d785ef.consolidated.net] has joined #code |
02:52 | | Taki^ [Taki_@Nightstar-39d785ef.consolidated.net] has quit [Connection reset by peer] |
02:53 | | Attilla [Attilla@FBC920.58502B.4BF0F8.FCE0D3] has quit [[NS] Quit: ] |
02:58 | | Taki^ [Taki_@Nightstar-39d785ef.consolidated.net] has joined #code |
03:12 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [Client closed the connection] |
03:13 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code |
03:13 | | mode/#code [+o Vornicus] by Reiver |
03:26 | | Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds] |
03:29 | | Zed [Zed@Nightstar-d0088b95.or.comcast.net] has joined #code |
03:31 | | gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?] |
04:20 | | Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code |
04:39 | | Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [[NS] Quit: The world is so funny sometimes; I often forget to laugh.] |
04:40 | | Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code |
05:19 | | ToxicFrog [ToxicFrog@Nightstar-a68aafef.dsl.teksavvy.com] has quit [Ping timeout: 121 seconds] |
05:19 | | SmithKurosaki [Smith@Nightstar-a68aafef.dsl.teksavvy.com] has quit [Ping timeout: 121 seconds] |
05:21 | | celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: *hums* Can't stay now!] |
05:23 | | SmithKurosaki [Smith@Nightstar-136edb74.cable.rogers.com] has joined #code |
05:23 | | SmithKurosaki is now known as SK |
05:50 | | SmithKurosaki [Smith@Nightstar-fecd0228.dsl.teksavvy.com] has joined #code |
05:50 | | ToxicFrog [ToxicFrog@Nightstar-fecd0228.dsl.teksavvy.com] has joined #code |
05:50 | | mode/#code [+o ToxicFrog] by Reiver |
06:00 | | SK [Smith@Nightstar-136edb74.cable.rogers.com] has quit [[NS] Quit: Leaving] |
06:55 | | Derakon is now known as Derakon[AFK] |
07:37 | | Reiver [reaverta@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: I ATENT'T DEAD] |
07:42 | | JBeshir [namegduf@Nightstar-7ec84b32.bath.ac.uk] has joined #code |
07:42 | | Namegduf [namegduf@Nightstar-7ec84b32.bath.ac.uk] has quit [Client closed the connection] |
07:42 | | Reiver [reaverta@ServerAdministrator.Nightstar.Net] has joined #code |
07:42 | | mode/#code [+qo Reiver Reiver] by ChanServ |
07:46 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving] |
07:48 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code |
07:48 | | mode/#code [+o Vornicus] by Reiver |
07:54 | | JBeshir [namegduf@Nightstar-7ec84b32.bath.ac.uk] has quit [Operation timed out] |
07:55 | | Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code |
07:56 | | Namegduf [namegduf@Nightstar-7ec84b32.bath.ac.uk] has joined #code |
08:44 | | crem [moo@Nightstar-8ca3eea7.adsl.mgts.by] has joined #code |
08:47 | | You're now known as TheWatcher |
09:47 | | Rhamphoryncus [rhamph@Nightstar-8931f88f.abhsia.telus.net] has quit [Client exited] |
10:16 | | AnnoDomini [annodomini@Nightstar-fc157def.adsl.tpnet.pl] has joined #code |
10:16 | | mode/#code [+o AnnoDomini] by Reiver |
10:25 | | gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code |
10:50 | | Attilla [Attilla@FBC920.58502B.4BF0F8.FCE0D3] has joined #code |
10:50 | | mode/#code [+o Attilla] by Reiver |
11:13 | | Kazriko [kaz@Nightstar-e09690fa.client.bresnan.net] has quit [Ping timeout: 121 seconds] |
11:13 | | Kazriko [kaz@Nightstar-e09690fa.client.bresnan.net] has joined #code |
11:13 | | mode/#code [+o Kazriko] by Reiver |
11:42 | | * gnolam stabs Xubuntu. |
12:01 | | celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code |
12:04 | | Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Client closed the connection] |
12:18 | | celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: *whistles* Did you hear something?] |
12:40 | | AbuDhabi [annodomini@Nightstar-15b7eda6.adsl.tpnet.pl] has joined #code |
12:42 | | AnnoDomini [annodomini@Nightstar-fc157def.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds] |
13:48 | | * TheWatcher vaguely ponders using gtk+ for a configuration window for an SDL app, suspects he's likely to retain more sanity by just coding/reusing opengl gui stuff |
13:55 | | Tarinaky [Tarinaky@Nightstar-498cb9b2.adsl.virginmedia.net] has quit [Ping timeout: 121 seconds] |
14:09 | | Tarinaky [Tarinaky@Nightstar-5cd570d5.adsl.virginmedia.net] has joined #code |
15:29 | < gnolam> | Yes. |
15:29 | < gnolam> | Especially if you intend to make it cross-platform. |
15:29 | < gnolam> | Since GTK+ pretty much sucks on everything that isn't GNOME. |
15:30 | <@TheWatcher> | ... I'm using it quite easily on windows |
15:31 | < gnolam> | Where it looks awful and behaves even worse. |
15:32 | <@TheWatcher> | Looks no worse than any other cross-platform GUI toolkit I've seen |
15:34 | < AbuDhabi> | That's because cross-platform GUIs toolkits suck. |
15:35 | < gnolam> | Every cross-platform GUI toolkit (excepting Javas) look better. :P |
15:35 | < gnolam> | GTK looks horribly, horribly non-native. |
15:37 | < gnolam> | Qt? Looks native. wx? Looks native. GTK+? Looks like one of those awful "skinned" applications, but with a really ugly theme. |
15:37 | < gnolam> | And with half unusable dialogs - it seems even proper file open/save dialogs are beyond it. |
15:38 | <@TheWatcher> | uh-huh |
15:43 | | Reiver [reaverta@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds] |
15:47 | <@Vornicus> | Which one's the one with the folders on one side and the files on the other? |
15:47 | <@Vornicus> | (for the open/save dialog) |
15:49 | | Reiver [reaverta@ServerAdministrator.Nightstar.Net] has joined #code |
15:49 | | mode/#code [+qo Reiver Reiver] by ChanServ |
16:46 | | Gruber [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code |
16:46 | | gnolam is now known as NSGuest42552 |
16:46 | | Gruber is now known as gnolam |
16:47 | | NSGuest42552 [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [Ping timeout: 121 seconds] |
17:02 | | Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code |
18:43 | | Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Client closed the connection] |
19:30 | | Derakon[work] [Derakon@Nightstar-1ffd02e6.ucsf.edu] has joined #code |
19:31 | < Derakon[work]> | You know that text flickering issue I've been trying to solve? |
19:31 | < Derakon[work]> | I discovered today that the result of calling IsDoubleBuffered() on the canvas object is 0. |
19:31 | < Derakon[work]> | Hmmm. |
19:31 | < Derakon[work]> | So I turned on double-buffering. |
19:32 | < Derakon[work]> | And now our histogram, which was black-on-white, is red-on-black. |
19:32 | | * Derakon[work] sighs, cannot win. |
19:36 | < gnolam> | Checked your glColors and glClearColors ? |
19:36 | < Derakon[work]> | glClearColor is (1.0, 1.0, 1.0, 0.0) (and tried making it all 1.0, no difference). glColor is (0.0, 0.0, 0.0). |
19:38 | < gnolam> | Hmm |
19:39 | < gnolam> | Sounds like a color representation issue (RGB/BGR/RGBA etc), but that shouldn't really be an issue with anything other than textures. |
19:39 | < gnolam> | And now, a lesson on the futility of educating users against phishing: http://www.marco.org/383925895 |
19:44 | < Derakon[work]> | ...what the crap? |
19:44 | < Derakon[work]> | How are these users ending up on this site, anyway? |
19:44 | < Derakon[work]> | But yeah, comments are scary. |
19:44 | < gnolam> | Googling "facebook login". |
19:45 | < gnolam> | And clicking something at random, apparently. |
19:45 | < Derakon[work]> | Yeah, it's like the sixth result down. |
19:45 | < Derakon[work]> | ...sheesh, something like 95% of the comments are from people who think the site is Facebook. |
19:48 | < Namegduf> | ... |
20:06 | <@TheWatcher> | People are morons, news at 11 ¬¬ |
20:11 | | Rhamphoryncus [rhamph@Nightstar-8931f88f.abhsia.telus.net] has joined #code |
20:46 | < gnolam> | Yes. But this is stupidity of /epic/ proportions. |
21:18 | | celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code |
21:36 | < Derakon[work]> | Man, serialization/deserialization makes configuration file writing so easy. |
21:43 | <@McMartin> | Yes, but beware, for that way lies the Dark Side. |
21:43 | < Derakon[work]> | What, where programming is fun and straightforward? |
21:44 | <@McMartin> | One where someone has a slightly different version of the serialization library and suddenly you can't load old config files and everything breaks in impenetrably opaque third-party code |
21:44 | < Derakon[work]> | Ah. |
21:46 | < Derakon[work]> | Fortunately Python's pickle module has multiple specifiable protocols. |
21:46 | < Derakon[work]> | Also, the program only runs on 1 computer. |
21:47 | <@McMartin> | boost::serialization screwed me hard enough that I'm still reflexively skeptical, but |
21:56 | < Derakon[work]> | As a general rule, I trust the first-party Python libraries. |
21:57 | < Derakon[work]> | Since I've yet to run into a problem with them that wasn't clearly my fault once I figured out what I was doing. |
22:02 | < Derakon[work]> | Right, that oughta do it. |
22:02 | < Derakon[work]> | Total size of config module: 60 lines. |
22:02 | < Derakon[work]> | 11 of which are blank and a further 11 of which are comments. |
22:53 | < Derakon[work]> | Okay, the signature of getValue is (key, default) -- that is, if key isn't in the config dict, then default is returned. |
22:53 | < Derakon[work]> | Should it also create the entry if key is not present, and initialize it to default? |
22:54 | < Derakon[work]> | If not, I'd have to do that manually pretty much every time I examine config. |
22:56 | < Derakon[work]> | But it seems weird that getValue() could potentially write to the config. |
22:56 | <@McMartin> | That matches C++'s operator[] on maps. |
22:57 | <@McMartin> | But it doesn't match the find method. |
22:59 | < Derakon[work]> | Good enough for me! |
23:33 | < Derakon[work]> | Fun with vim: |
23:33 | < Derakon[work]> | :s/'\(.*\)':.*$/'\1': self.\1.GetValue(), |
23:42 | | You're now known as TheWatcher[T-2] |
23:45 | | You're now known as TheWatcher[zZzZ] |
23:54 | | Derakon[work] [Derakon@Nightstar-1ffd02e6.ucsf.edu] has quit [[NS] Quit: Leaving] |
--- Log closed Fri Feb 12 00:00:36 2010 |