--- Log opened Thu Jul 26 00:00:14 2007 |
00:07 | | Forjadon [~Forjadon@Nightstar-17168.ue.woosh.co.nz] has joined #code |
00:07 | | mode/#code [+o Forjadon] by ChanServ |
00:13 | | Forjadon [~Forjadon@Nightstar-17168.ue.woosh.co.nz] has quit [Ping Timeout] |
00:16 | | Chalcedon [~Chalcedon@Nightstar-17168.ue.woosh.co.nz] has joined #code |
00:16 | | mode/#code [+o Chalcedon] by ChanServ |
00:27 | | Chalcedon is now known as ChalcyAFK |
00:34 | < Vornicus> | http://deadbeefbabe.org/paste/5553 <--- bezier curves, using tail recursion. |
00:45 | | ReivZzz is now known as ReivClass |
00:57 | | ChalcyAFK is now known as Chalcedon |
01:02 | | mode/#code [+oooooo EvilDarkLord jerith Raif ReivClass Syloqs-AFH Vornicus] by AnnoDomini |
01:02 | | mode/#code [+v DiceBot] by AnnoDomini |
01:37 | | gnolam [lenin@Nightstar-13557.8.5.253.se.wasadata.net] has quit [Quit: Z?] |
01:51 | | Chalcedon [~Chalcedon@Nightstar-17168.ue.woosh.co.nz] has quit [Ping Timeout] |
02:10 | | Vornicus [~vorn@Admin.Nightstar.Net] has quit [Ping Timeout] |
02:11 | | Vornicus [~vorn@64.252.105.ns-21662] has joined #code |
02:11 | | mode/#code [+o Vornicus] by ChanServ |
02:56 | | Chalcedon [~Chalcedon@Nightstar-10622.ue.woosh.co.nz] has joined #code |
02:56 | | mode/#code [+o Chalcedon] by ChanServ |
04:59 | | You're now known as TheWatcher |
06:04 | | Vornicus is now known as Vornicus-Latens |
07:09 | | Pi [~sysop@Nightstar-6875.hsd1.wa.comcast.net] has quit [Ping Timeout] |
07:11 | | Pi [~sysop@Nightstar-6875.hsd1.wa.comcast.net] has joined #code |
07:11 | | mode/#code [+o Pi] by ChanServ |
07:58 | | Chalcedon is now known as ChalcySlave |
08:00 | | ChalcySlave is now known as Chalcedon |
09:15 | | ReivClass is now known as Reiver |
10:08 | | AnnoDomini [~farkoff@Nightstar-29480.neoplus.adsl.tpnet.pl] has quit [Ping Timeout] |
10:16 | | AnnoDomini [~farkoff@Nightstar-29556.neoplus.adsl.tpnet.pl] has joined #Code |
12:29 | | MyCatVerbs [~rb6822@Nightstar-23886.cs.bris.ac.uk] has joined #code |
12:50 | | gnolam [lenin@Nightstar-13557.8.5.253.se.wasadata.net] has joined #Code |
12:50 | | mode/#code [+o gnolam] by ChanServ |
13:37 | | gnolam [lenin@Nightstar-13557.8.5.253.se.wasadata.net] has quit [Ping Timeout] |
13:39 | | Thaqui [~Thaqui@Nightstar-17986.jetstream.xtra.co.nz] has left #code [Leaving] |
13:53 | | gnolam [lenin@Nightstar-13557.8.5.253.se.wasadata.net] has joined #Code |
13:53 | | mode/#code [+o gnolam] by ChanServ |
13:55 | | Chalcedon [~Chalcedon@Nightstar-10622.ue.woosh.co.nz] has quit [Quit: Gone] |
14:50 | | gnolam [lenin@Nightstar-13557.8.5.253.se.wasadata.net] has quit [Quit: ] |
14:50 | | gnolam [lenin@Nightstar-13557.8.5.253.se.wasadata.net] has joined #Code |
14:53 | | Netsplit Blargh.CA.US.Nightstar.Net <-> DeepThought.NY.US.Nightstar.Net quits: MyCatVerbs, @Pi, +DiceBot, @Raif, +KarmaBot, @Syloqs-AFH, @EvilDarkLord, @Vornicus-Latens, @Serah, @ToxicFrog, (+3 more, use /NETSPLIT to show all of them) |
14:53 | | Netsplit over, joins: @Chalain, @Raif, @jerith, +DiceBot, @Vornicus-Latens, @Pi, AnnoDomini |
14:53 | | Netsplit over, joins: EvilDarkLord, MyCatVerbs |
14:59 | | Vornicus-Latens is now known as Vornicus |
15:00 | | MyCatVerbs [~rb6822@Nightstar-23886.cs.bris.ac.uk] has quit [Quit: Swim, swim, hungry!] |
15:29 | | Serah [~Z@87.72.35.ns-3885] has joined #Code |
15:30 | | Reiver is now known as ReivZzz |
15:44 | | ToxicFrog [~ToxicFrog@Nightstar-20147.cpe.net.cable.rogers.com] has joined #code |
16:04 | | MyCatVerbs [~rb6822@Nightstar-18501.cs.bris.ac.uk] has joined #code |
16:44 | | ReivZzz is now known as ReivSLEP |
16:47 | | MyCatVerbs [~rb6822@Nightstar-18501.cs.bris.ac.uk] has quit [Quit: Swim, swim, hungry!] |
17:02 | | You're now known as TheWatcher[afk] |
18:08 | | * ToxicFrog kills C++ in the face |
18:09 | <@Vornicus> | heh |
18:09 | < ToxicFrog> | error loading module 'xml' from file './xml.so': |
18:09 | < ToxicFrog> | ./xml.so: undefined symbol: luaopen_xml |
18:09 | < ToxicFrog> | $ nm xml.so | grep open |
18:09 | < ToxicFrog> | 00006a60 r _ZZ11luaopen_xmlE5funcs |
18:09 | < ToxicFrog> | U fopen@@GLIBC_2.1 |
18:09 | < ToxicFrog> | 00004d70 T luaopen_xml |
18:16 | < ToxicFrog> | For added wtf: |
18:16 | < ToxicFrog> | > print(package.loadlib('/home/ben/src/luaXML/xml.so', 'luaopen_xml')) |
18:16 | < ToxicFrog> | function: 0x8245d78 |
18:21 | | You're now known as TheWatcher |
18:21 | < ToxicFrog> | Hah, finally |
18:33 | | * AnnoDomini ponders. |
18:33 | | * ToxicFrog fiddles with the API for Glade |
18:34 | < AnnoDomini> | How exactly does one make an actual program in Java? I don't want to have to run RealJ every time I want to launch this thing... |
18:34 | < ToxicFrog> | What do you mean by "an actual program"? |
18:34 | < ToxicFrog> | A redistributable binary? |
18:34 | <@Vornicus> | A java program is usually packaged as .class files in a .jar (which is a zip file). |
18:34 | < ToxicFrog> | Something the JVM considers a program? |
18:35 | < ToxicFrog> | A jarball? |
18:35 | <@Vornicus> | The .jar has a manifest that defines the entry point. |
18:35 | < AnnoDomini> | Sort of. C++ compilers produce files which I can run by, well, running them. Java doesn't, and I'm perplexed as to how exactly to run this thing outside of a compiler. |
18:36 | <@Vornicus> | -- and some other things. |
18:36 | <@Vornicus> | Opening the .jar using Finder/Explorer/Nautilus/what-have-you will generally begin a Java runtime. |
18:37 | < AnnoDomini> | So I just make a .jar of the main directory where I keep everything? |
18:37 | <@Vornicus> | Um |
18:37 | <@Vornicus> | you use a jar packaging tool. |
18:37 | <@Vornicus> | specifically, "jar" |
18:37 | < AnnoDomini> | Yeah, there's one in RealJ. It wants a directory. |
18:38 | <@Vornicus> | then point it at it. |
18:38 | < AnnoDomini> | Well. There's also "Jar Main Folder" as an option... |
18:38 | <@Vornicus> | Generally you need all the .class files, and a manifest file. |
18:39 | <@Vornicus> | (you can also pack resources, like images, movies, localized strings files, etc, into the jar, and note them with the manifest.) |
18:39 | < AnnoDomini> | I'm confused why this thing apparently packages everything one directory up. |
18:48 | < AnnoDomini> | Grrr!! Why won't you find the files in the folder at which everything is pointing?! |
18:49 | < gnolam> | Because it's not a regular jar. It's Jar Jar Binks. |
18:50 | | * gnolam hides from the inevitable beating. |
18:50 | < AnnoDomini> | "Could not find main class. Program will exit." WTF? |
18:51 | <@Vornicus> | Means you haven't told it what the entry point is; use the manifest to do that. |
18:53 | < AnnoDomini> | How? |
18:53 | <@Vornicus> | By writing a manifest file. |
18:54 | < AnnoDomini> | There's one already. |
18:54 | < ToxicFrog> | (if you want to generate .exes, Java Is Not The Right Language) |
18:54 | <@Vornicus> | REad it. |
18:54 | < AnnoDomini> | I don't want exes. I want something I can run from OUTSIDE THE COMPILER. |
18:54 | < AnnoDomini> | Right, here's the manifest: |
18:54 | < AnnoDomini> | Main-Class: ChargenAide |
18:54 | < AnnoDomini> | Classpath: C:\jprog\ChargenAide |
18:56 | <@Vornicus> | gner |
18:57 | < AnnoDomini> | Does it make any sense? |
18:57 | <@Vornicus> | I am not certain what I'm looking at, I'm examining the manifest format now. |
19:10 | < AnnoDomini> | Hrm. This thing runs properly when I use Run to launch java.exe with more user friendly arguments. |
19:10 | | * AnnoDomini thinks the batch file generator is screwy. |
19:10 | <@Vornicus> | doesn't surprise me. |
19:11 | < AnnoDomini> | Right, made a batch file by hand. This one works. |
19:12 | < AnnoDomini> | ... |
19:12 | < AnnoDomini> | The jar file started to work. |
19:12 | <@Vornicus> | all right then. |
19:13 | < AnnoDomini> | But I did nothing. Nothing! |
19:13 | < AnnoDomini> | ...and it's back to errors. |
19:15 | <@Vornicus> | bad |
19:21 | < AnnoDomini> | Ha. |
19:21 | < AnnoDomini> | I've created the jar by hand, too, and this one works. |
19:23 | < AnnoDomini> | Thanks for the help, gusy |
19:23 | < AnnoDomini> | *guys. |
19:28 | | Forj [~Forj@Nightstar-10622.ue.woosh.co.nz] has joined #code |
19:45 | | Forj [~Forj@Nightstar-10622.ue.woosh.co.nz] has quit [Quit: Gone] |
20:30 | | ToxicFrog [~ToxicFrog@Nightstar-20147.cpe.net.cable.rogers.com] has quit [Ping Timeout] |
20:33 | | ToxicFrog [~ToxicFrog@Nightstar-20147.cpe.net.cable.rogers.com] has joined #code |
21:14 | | ToxicFrog` [~ToxicFrog@Admin.Nightstar.Net] has joined #code |
21:14 | | ToxicFrog [~ToxicFrog@Nightstar-20147.cpe.net.cable.rogers.com] has quit [Quit: Leaving] |
21:15 | | ToxicFrog` is now known as ToxicFrog |
21:22 | | mode/#code [-o Pi] by ChanServ |
21:22 | | mode/#code [-o Vornicus] by ChanServ |
21:22 | | mode/#code [-o jerith] by ChanServ |
21:22 | | mode/#code [-o Raif] by ChanServ |
21:23 | | mode/#code [-o Chalain] by ChanServ |
21:23 | | ToxicFrog is now known as NSGuest-3 |
21:23 | | gnolam is now known as NSGuest-22 |
21:23 | | EvilDarkLord is now known as NSGuest-40 |
21:23 | | Vornicus is now known as NSGuest-43 |
21:23 | | jerith is now known as NSGuest-47 |
21:24 | | NSGuest-43 is now known as Vornicus |
21:31 | | NSGuest-22 is now known as gnolam |
21:33 | | NSGuest-3 is now known as ToxicFrog |
21:46 | | Syloq [Syloq@Admin.Nightstar.Net] has joined #code |
21:47 | | Syloq is now known as Syloqs-AFH |
21:54 | | Netsplit Troika.TX.US.Nightstar.Net <-> DeepThought.NY.US.Nightstar.Net quits: Syloqs-AFH, ToxicFrog |
21:57 | | ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code |
21:57 | | Syloq [Syloq@Admin.Nightstar.Net] has joined #code |
21:58 | | ToxicFrog is now known as NSGuest-2 |
--- Log closed Thu Jul 26 21:58:59 2007 |
--- Log opened Thu Jul 26 21:59:04 2007 |
21:59 | | TheWatcher [~chris@Nightstar-29731.dsl.in-addr.zen.co.uk] has joined #code |
21:59 | | Irssi: #code: Total of 12 nicks [0 ops, 0 halfops, 1 voices, 11 normal] |
21:59 | | mode/#code [+o TheWatcher] by ChanServ |
21:59 | | Otto_Flick [lenin@Nightstar-13557.8.5.253.se.wasadata.net] has joined #Code |
21:59 | | Irssi: Join to #code was synced in 35 secs |
22:00 | | ReivSLEP [~reaverta@IRCop.Nightstar.Net] has joined #Code |
22:04 | | NSGuest-32 is now known as Vornicus |
22:07 | | Otto_Flick is now known as gnolam |
22:26 | | Thaqui [~Thaqui@Nightstar-17986.jetstream.xtra.co.nz] has joined #code |
22:26 | | mode/#code [+o Thaqui] by ChanServ |
22:35 | | Chalcedon [~Chalcedon@Nightstar-10622.ue.woosh.co.nz] has joined #code |
22:35 | | mode/#code [+o Chalcedon] by ChanServ |
22:38 | < Vornicus> | okay, so there's ?? syntax in regex; I know why you'd want to use it, but I never met any situations where I /would/. I'm looking for a situation where I would want to use it. |
22:59 | < NSGuest-2> | ?? being nongreedy ? |
22:59 | | NSGuest-2 is now known as ToxicFrog |
23:02 | < Vornicus> | Yeah |
23:03 | < Vornicus> | /foo?/ matches "foo"; /foo??/ matches "fo" instead. |
23:03 | < Vornicus> | (obviously it doesn't help you much at the very end of a pattern) |
23:20 | | You're now known as TheWatcher[T-2] |
23:23 | | You're now known as TheWatcher[zZzZ] |
23:25 | | NSGuest-40 is now known as EvilDarkLord |
23:25 | < ToxicFrog> | Things I love about bash: the ability to connect code blocks together with pipes. |
23:28 | | Vornotron [~vorn@69.0.80.ns-26766] has joined #code |
23:29 | | Vornicus [~vorn@Admin.Nightstar.Net] has quit [Ping Timeout] |
23:29 | | Vornotron is now known as Vornicus |
23:41 | | Netsplit Troika.TX.US.Nightstar.Net <-> DeepThought.NY.US.Nightstar.Net quits: ReivSLEP, Syloqs-AFH, @Chalcedon, ToxicFrog |
23:42 | | Netsplit over, joins: ToxicFrog, Syloqs-AFH, ReivSLEP, Chalcedon |
23:42 | | mode/#code [+o Chalain] by ChanServ |
23:42 | | mode/#code [+o Pi] by ChanServ |
23:42 | | mode/#code [+o AnnoDomini] by ChanServ |
23:42 | | mode/#code [+o Serah] by ChanServ |
23:42 | | mode/#code [+o gnolam] by ChanServ |
23:42 | | mode/#code [+o Thaqui] by ChanServ |
23:42 | | mode/#code [+o Vornicus] by ChanServ |
23:42 | | mode/#code [-o TheWatcher[zZzZ]] by ChanServ |
23:43 | | EvilDarkLord is now known as NSGuest-85 |
23:58 | | NSGuest-85 is now known as EvilDarkLord |
--- Log closed Fri Jul 27 00:00:20 2007 |