code logs -> 2007 -> Sat, 28 Jul 2007< code.20070727.log - code.20070729.log >
--- Log opened Sat Jul 28 00:00:26 2007
00:36 Lerhir is now known as AnnoDomini
01:02 gnolam [lenin@Nightstar-13557.8.5.253.se.wasadata.net] has quit [Quit: Z?]
03:52 bourneFree [~nsJChat@Nightstar-325.dhcp.kgpt.tn.charter.com] has joined #Code
03:56
< bourneFree>
Anyone willin' to point a newbie towards a couple of JAVA 'Sockets' tutorials?
03:56
< bourneFree>
Other than 'Sun'.
03:57 bourneFree [~nsJChat@Nightstar-325.dhcp.kgpt.tn.charter.com] has quit [Quit: Nightstar JavaChat http://www.nightstar.net/ Where IRC meets the Universe!]
03:59 * ToxicFrog eyebrows
04:57 Vornicus is now known as Vornicus-Latens
05:44 You're now known as TheWatcher
07:07 ReivOut is now known as Reiver
08:07 gnolam [lenin@Nightstar-13557.8.5.253.se.wasadata.net] has joined #Code
08:08 mode/#code [+o gnolam] by ChanServ
08:10 You're now known as TheWatcher[swim]
10:42 You're now known as TheWatcher
11:05 gnolam [lenin@Nightstar-13557.8.5.253.se.wasadata.net] has quit [Quit: *grumble grumble*]
11:07
<@AnnoDomini>
Hm. Is there any component in AWT or Swing that acts like a multiline Label?
11:11 Chalcedon [~Chalcedon@Nightstar-10622.ue.woosh.co.nz] has quit [Quit: Gone]
11:12
< Reiver>
I forget: Can you put newlines in a Label?
11:13
<@AnnoDomini>
No.
11:13
<@AnnoDomini>
Well. You can, but they won't be parsed.
11:20
< Reiver>
Hm.
11:20
< Reiver>
...There is a ... no, that's text wrapping.
11:20
< Reiver>
I'm not sure.
11:20
< Reiver>
Then again, my Java is extremely rusty.
11:46 Forj [~Forj@Nightstar-10622.ue.woosh.co.nz] has quit [Quit: Gone]
13:22
<@ToxicFrog>
There probably is, but I have no idea what it is.
13:42
<@ToxicFrog>
Argh
13:42
<@ToxicFrog>
There's lots of info on building an OSX hosted, Linux targeted cross-compilation environment.
13:42
<@ToxicFrog>
But I can't find anything on building a Linux hosted, OSX targeted one.
14:17
<@Vornicus-Latens>
OSX is rather wacky, when you are used to Linux and wind32.
14:41
<@ToxicFrog>
This makes me sad.
14:42
<@ToxicFrog>
(the windows one was actually surprisingly easy, thanks to one of the SDL devs who wrote a set of scripts to automatically download and install the necessary parts)
15:01
<@Vornicus-Latens>
mainly because it's packaged a bit differently - header files and .so-oids for any individual framework are kept together.
15:02
<@ToxicFrog>
Kept together in what sense?
15:03
<@Vornicus-Latens>
instead of putting things in lib and include...
15:03
<@Vornicus-Latens>
you get a special folder with the suffix .framework, and the header files and so files are in there.
15:03
<@ToxicFrog>
Aah.
15:03
<@ToxicFrog>
That's not a big difference, though.
15:04
<@ToxicFrog>
Hell, windows keeps its DSOs in the equivalent of /bin and /sbin
15:04
<@Vornicus-Latens>
you still /can/ do the *nix way
15:04
<@Vornicus-Latens>
but usually prebuilt stuff comes the Framework way
15:04
<@ToxicFrog>
Furthermore, this is largely irrelevant when setting up a cross-compilation environment, as long as gcc can find the necessary headers and libraries.
15:05
<@Vornicus-Latens>
I know Apple modded their gcc so it handled this properly.
15:06
<@ToxicFrog>
Will I be using their gcc, though? Or will I be using Linux gcc, only configured with --target=ppc-apple-osx?
15:06
<@ToxicFrog>
These are the questions I'm trying to answer, but I can't find any documentation.
16:04
< EvilDarkLord>
SQL question #2 from yesterday which did not get an answer yet . Given tables a, b, c with b and c having a many-to-one relationship with a, can I join a with both tables and get a rowcount of a*max(b,c) instead of a*b*c?
16:04 * EvilDarkLord specifically prods Vorn about this hopefully.
16:06 Reiver is now known as ReivZzz
16:28
<@AnnoDomini>
Ah. Finally found it. I'm supposed to use JLabel, and feed it a HTML string with <br>s.
16:29
< jerith>
...
16:29
< jerith>
That is *horrible*!
16:30
<@AnnoDomini>
Yeah, pretty much.
16:31
<@AnnoDomini>
But I didn't want to import a third-party custom multiline Label class.
16:32
<@ToxicFrog>
jerith: it's Java, and more so, it's AWT. This shouldn't be surprising.
16:32
<@Pi>
Ewww. Java.
16:32
<@AnnoDomini>
JLabel is Swing, though.
16:32
<@AnnoDomini>
AWT doesn't support multiline Labels at all.
16:33
< jerith>
Does the Pibot have a Java trigger?
16:33
<@AnnoDomini>
I suspect it will now.
16:35
<@Pi>
Maybe not today, maybe not tomorrow.
16:35
<@Pi>
But soon.
16:35
<@Pi>
And for the rest of your life.
16:35
<@AnnoDomini>
I suspect that's a quote.
16:35 * Pi suspects the same.
16:36 * jerith cries havoc.
16:36 * Pi consoles jerith.
16:37 * Pi accidentally lets slip the dogs of War.
16:37 * jerith grins.
16:37
<@Pi>
Sorry, my bad. Wasn't holding the leash well enough.
16:38
<@Pi>
Oh well, they'll come back when they've had enough genocide and destruction.
16:38 AnnoDomini [~farkoff@Nightstar-29136.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
16:39
< jerith>
Do not cry havoc, where you should but hunt with modest warrant.
16:39
<@Pi>
Havoc is more fun.
16:46 AnnoDomini [~farkoff@Nightstar-29599.neoplus.adsl.tpnet.pl] has joined #Code
17:05 You're now known as TheWatcher[afk]
17:19 * Vornicus-Latens examines EDL's thing.
17:20
<@Vornicus-Latens>
I don't know about that, really; it's not good practice, to say the least.
17:20
<@Vornicus-Latens>
the java thing wouldn't be so bad if you could use HTML-likes for the entire gui.
17:20 Vornicus-Latens is now known as Vornicus
17:54 Pi [~sysop@Nightstar-6875.hsd1.wa.comcast.net] has quit [Quit: There is no justice. There is only me.]
18:12 You're now known as TheWatcher
18:30
<@ToxicFrog>
Meanwhile, in #nesvideos: Bisquit uses a program to brute-force Rockman 2's physics.
18:34 * AnnoDomini raises an eyebrow.
18:34
<@Vornicus>
Madness
18:39 AnnoDomini is now known as Yahir
19:41 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Operation timed out]
20:10 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
20:10 mode/#code [+o ToxicFrog] by ChanServ
20:12
< Yahir>
Hrm. How do I detect an EOF when using a BufferedReader?
20:19
<@ToxicFrog>
The API docs don't say?
20:20
< Yahir>
Nevermind. Found it.
20:46
< Yahir>
Argh. Why won't this button show?
20:47 * Yahir flails. And maces.
21:04 ReivZzz [~reaverta@IRCop.Nightstar.Net] has quit [Ping Timeout]
21:12 DiceBot [~Reiver@Nightstar-3527.ubs-dsl.xnet.co.nz] has quit [Client exited]
21:13 ReivClass [~reaverta@IRCop.Nightstar.Net] has joined #Code
21:13 DiceBot [~Reiver@Nightstar-3527.ubs-dsl.xnet.co.nz] has joined #Code
21:21
<@TheWatcher>
Yahir: it's Java.
21:22
<@TheWatcher>
worse, I expect you're using Swing, too
21:23
<@TheWatcher>
that way lies madness
21:29
<@ToxicFrog>
Yes, he is.
21:32
< Yahir>
I'm using mainly AWT. Swing, if I need something AWT cannot do.
21:32
< Yahir>
((Like multiline Labels.))
21:36 Forj [~Forj@Nightstar-9938.ue.woosh.co.nz] has joined #code
21:58 * Yahir likes what he's accomplished so far. This program has sped up his NPC creation rates by up to 600%.
22:01 Chalcedon [~Chalcedon@Nightstar-9938.ue.woosh.co.nz] has joined #code
22:01 mode/#code [+o Chalcedon] by ChanServ
23:19
< Yahir>
Hm. Does anyone know how to make a component not selectable with the keyboard? I don't want a certain TextArea to be selected when cycling through TextFields with Tab...
23:55 Forj [~Forj@Nightstar-9938.ue.woosh.co.nz] has quit [Quit: Gone]
--- Log closed Sun Jul 29 00:00:32 2007
code logs -> 2007 -> Sat, 28 Jul 2007< code.20070727.log - code.20070729.log >