--- Log opened Sun Mar 23 00:00:28 2008 |
00:43 | | AnnoDomini [AnnoDomini@83.21.18.ns-3061] has quit [Quit: Kill the interloper! Rip out its life!] |
01:59 | | Reiver [~reaverta@Nightstar-11274.xdsl.xnet.co.nz] has quit [Quit: Changing servers] |
02:00 | | Reiver [~reaverta@Admin.Nightstar.Net] has joined #Code |
02:00 | | mode/#code [+o Reiver] by ChanServ |
02:12 | | * McMartin adds TADS support to Blorple/ |
02:12 | <@McMartin> | s/\//./ |
05:34 | | Mango [~Mango@24.86.9.ns-26788] has quit [Quit: Trillian (http://www.ceruleanstudios.com] |
06:44 | | GeekSoldier|bed [~Rob@Nightstar-7365.dip.t-dialin.net] has joined #code |
06:46 | | GeekSoldier|bed is now known as GeekSoldier |
06:52 | | Vornicus is now known as Vornicus-Latens |
07:25 | | Kaz [~kaz@72.174.26.ns-12779] has quit [Quit: Leaving] |
08:27 | | Chalcedon [~Chalcedon@203.211.121.ns-21733] has joined #code |
08:27 | | mode/#code [+o Chalcedon] by ChanServ |
09:53 | | AnnoDomini [AnnoDomini@83.21.18.ns-3061] has joined #Code |
09:53 | | mode/#code [+o AnnoDomini] by ChanServ |
10:11 | | Chalcedon [~Chalcedon@203.211.121.ns-21733] has quit [Quit: Gone] |
10:16 | <@AnnoDomini> | Hm... Can one catch more than one type of exception? I mean, like, try {} catch (ExceptionX e1) {} catch (ExceptionY e2) {} finally {}? |
10:19 | <@jerith> | Yes. |
10:19 | <@jerith> | I have a piece of code that acts as an exception switch block. |
10:20 | <@AnnoDomini> | Cool. |
10:26 | <@McMartin> | Very important to be able to do that, in general. |
11:02 | | GeekSoldier [~Rob@Nightstar-7365.dip.t-dialin.net] has quit [Ping Timeout] |
11:11 | | * AnnoDomini wonders how to do that so a drop-down list's contents would be grabbed from a database. |
11:14 | <@AnnoDomini> | What component would I want to use? I can't seem to find the one that displays a list of options when you click on a little "v" button on the right of the field. |
11:17 | <@McMartin> | ListBox or ComboBox |
11:17 | <@McMartin> | The latter lets you type in a new value if desired. |
11:20 | | GeekSoldier [~Rob@91.18.80.ns-27083] has joined #code |
11:20 | | mode/#code [+o GeekSoldier] by ChanServ |
11:23 | | Kazriko [~kaz@Nightstar-26352.gdj-co.client.bresnan.net] has joined #code |
11:27 | <@AnnoDomini> | Hrm. There doesn't appear to be any such... Well, Swing has JComboBox, but neither AWT nor Swing have ListBox, only List - and I'm not sure it's the thing I want. Lack of good screenshots. :/ |
11:28 | <@jerith> | Try it and see? |
11:29 | <@AnnoDomini> | I am. |
11:30 | <@McMartin> | I think you might also be able to make ComboBoxes noneditable |
11:40 | <@GeekSoldier> | I know that Swing allows you to make ComboBoxes noneditable. |
11:40 | <@AnnoDomini> | That works, even though the styles will be mismatched... Any way to make the visualization of Swing components look like AWT components? |
12:20 | | AnnoDomini [AnnoDomini@83.21.18.ns-3061] has quit [Ping Timeout] |
12:27 | | AnnoDomini [AnnoDomini@83.21.9.ns-26932] has joined #Code |
12:27 | | mode/#code [+o AnnoDomini] by ChanServ |
13:01 | | Kazriko [~kaz@Nightstar-26352.gdj-co.client.bresnan.net] has quit [Client exited] |
13:27 | | Kazriko [~kaz@Nightstar-26352.gdj-co.client.bresnan.net] has joined #code |
14:45 | | Vornicus-Latens [~vorn@ServicesOp.Nightstar.Net] has quit [Connection reset by peer] |
15:14 | | Vornicus-Latens [~vorn@Admin.Nightstar.Net] has joined #code |
16:13 | <@AnnoDomini> | Damn it. Garbage Collection apparently closes my ResultSet, even if I don't specifically do it myself, so I cannot access it beyond the method. |
16:37 | <@ToxicFrog> | That shouldn't happen |
16:44 | <@AnnoDomini> | I get an exception telling me that the ResultSet is already closed, even when I haven't closed it yet. |
16:54 | <@AnnoDomini> | Funny. I have a place where catching a null pointer exception means everything is fine. |
16:58 | <@AnnoDomini> | Hm. I have two combo boxes that would get their content from the database. Is it a good idea to get the content when the user clicks the drop-down button on a combo box, or should I make a separate LoadComboBoxes button for filling them in? |
17:27 | | * AnnoDomini is trying to figure out how to deal with databases, asynchronous inputs, and potentially humongous amounts of data. |
17:28 | <@AnnoDomini> | Well, maybe not asynchronous inputs. |
17:28 | <@AnnoDomini> | This looks to be only superficially similar. I'm mostly worried about the delay of getting the data, and whether the user would have to -- Aha! |
17:29 | <@AnnoDomini> | Yeah, LoadComboBoxes it is. |
17:29 | <@AnnoDomini> | Can't have the user unintentionally abuse the database via multiple clicks. |
17:32 | | * AnnoDomini hopes to get this project done quickly. The other two are of lesser complexity and can, if in desperation, be done overnight. |
19:17 | | Chalcedon [~Chalcedon@203.211.121.ns-21733] has joined #code |
19:17 | | mode/#code [+o Chalcedon] by ChanServ |
20:16 | | Vornicus-Latens is now known as Vornicus |
21:50 | | GeekSoldier is now known as GeekSoldier|bed |
21:53 | <@ToxicFrog> | Stuff what is awesome: |
21:53 | <@ToxicFrog> | Visiting the family for easter weekend, and while you're there, sitting down with your sister who is studying UI design and working out a GUI for spellcast on a table napkin. |
21:54 | <@AnnoDomini> | :D |
21:56 | <@McMartin> | Nice |
22:01 | <@ToxicFrog> | And then tossing together a mockup in Glade before going to bed! |
22:03 | <@ToxicFrog> | <3 Glade |
22:07 | | Vornicus [~vorn@ServicesOp.Nightstar.Net] has quit [Ping Timeout] |
22:11 | <@jerith> | o |
22:11 | <@jerith> | Oops. |
22:16 | <@ToxicFrog> | ? |
22:16 | <@jerith> | I have my laptop balanced on my belly in bed. |
22:17 | <@jerith> | I had to catch it suddenly, which resulted in unintentional utterances. |
23:15 | | You're now known as TheWatcher |
23:33 | < AFKSkull> | didn't spellcast have a gui? |
23:35 | <@ToxicFrog> | Yes. |
23:36 | <@ToxicFrog> | However, Plotkin's spellcast had a multidisplay X11 GUI, which means it assumes (1) everyone involved is running an X server, (2) everyone involved is on a LAN and (3) everyone involved is cavalier about security |
23:36 | | * AnnoDomini wishes he had a laptop. The one he had has its LCD broken - the upper half functions only if the angle is right, certain pressure points are depressed, and the planets are in alignment. |
23:36 | <@ToxicFrog> | And my netspellcast had a hacked-together GUI that did it by hand in SDL. |
23:37 | <@ToxicFrog> | And neither of them scaled well to more than three or four players. |
23:37 | | Vornicus [~vorn@Admin.Nightstar.Net] has joined #code |
23:37 | | mode/#code [+o Vornicus] by ChanServ |
23:37 | <@ToxicFrog> | I am currently working on a rewrite of netspellcast, starting with the client, which will - among other things - have a more usable and scalable GTK-based GUI. |
23:39 | <@AnnoDomini> | Ah, the wonders of holidays. I may work on projects and such without having to care much about sleeping at the right times to go to classes and loll about unproductively. |
23:40 | | * AnnoDomini wonders... |
23:40 | <@AnnoDomini> | out 42h,al |
23:40 | <@AnnoDomini> | mov al,ah |
23:40 | <@AnnoDomini> | out 42h,al |
23:41 | <@AnnoDomini> | Why not just MOV 42H,AL // MOV 42H,AH? |
23:42 | <@AnnoDomini> | I'm not sure why but this example code is insanely convoluted and there is much I don't understand why it's there - particularly in places where it could have been done much simpler. |
23:43 | <@ToxicFrog> | OUT talks to port numbers, not memory addresses or registers. |
23:43 | <@ToxicFrog> | You can't replace OUT with MOV. |
23:43 | <@AnnoDomini> | Err... oops, yeah, meant OUt. |
23:43 | <@AnnoDomini> | *OUT |
23:43 | <@AnnoDomini> | OUT 42H,AL // OUT 42H,AH <- Why not? |
23:43 | <@ToxicFrog> | As for why it's not OUT 42h,AH, I'd suspect some kind of addressing restriction on that register-instruction combo |
23:44 | <@AnnoDomini> | Ah, you're right. |
23:44 | <@ToxicFrog> | Most processors have constraints on what addressing modes you can use with what instructions; x86, I know, has constraints on what registers you can use as well. |
23:48 | | * ToxicFrog flails at gtk |
23:52 | <@McMartin> | That's because the x86 is an accumulator-based architecture. |
23:52 | <@McMartin> | It just pretends it isn't. |
23:52 | <@McMartin> | (And finally stopped being one once it got flat addressing, IIRC) |
--- Log closed Mon Mar 24 00:00:38 2008 |