code logs -> 2009 -> Sun, 19 Apr 2009< code.20090418.log - code.20090420.log >
--- Log opened Sun Apr 19 00:00:34 2009
00:35 You're now known as TheWatcher[T-2]
00:38 You're now known as TheWatcher[zZzZ]
01:47
< Rhamphoryncus>
Vornicus: actually, it's usually 80 bit on x87, although SSE2 apparently has some tricks to get real 64-bit
02:00
< Rhamphoryncus>
ahh, finally found an explicit claim. It is indeed the mantissa that x87 can reduce down, and the exponent that's permanently the larger size
02:02
< Rhamphoryncus>
Double precision actually gets you 1+15+52=68 bit, rather than 1+11+52=64 bit
02:59 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has quit [Quit: Z?]
03:59
<@Derakon>
Mmph...I've solved about 15 PE problems today. I think I'm about done. ¬.¬
06:02 Syloqs-AFH [Syloq@ServicesAdmin.Nightstar.Net] has quit [Connection reset by peer]
06:22 GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has quit [Ping Timeout]
06:50 GeekSoldier [~Rob@Nightstar-8573.midstate.ip.cablemo.net] has joined #code
06:50 mode/#code [+o GeekSoldier] by ChanServ
07:43 Derakon is now known as Derakon[AFK]
08:22 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Ping Timeout]
08:22 SmithKurosaki [~jess@Nightstar-24858.acanac.net] has quit [Ping Timeout]
08:29 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
08:29 mode/#code [+o ToxicFrog] by ChanServ
08:56 AnnoDomini [~farkoff@Nightstar-29746.neoplus.adsl.tpnet.pl] has joined #Code
08:56 mode/#code [+o AnnoDomini] by ChanServ
09:30 Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has quit [Quit: Rhamphoryncus]
10:06 You're now known as TheWatcher
10:11 Reiver [~reaverta@Admin.Nightstar.Net] has quit [Quit: Reblooting.]
10:18 Reiver [~reaverta@Admin.Nightstar.Net] has joined #Code
10:18 mode/#code [+o Reiver] by ChanServ
10:19 Vornicus [Vornicus@Admin.Nightstar.Net] has quit [Quit: ]
10:38 SmithKurosaki [~jess@Nightstar-24858.acanac.net] has joined #code
11:00 mode/#code [+o TheWatcher] by Reiver
11:34 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code
11:34 mode/#code [+o gnolam] by ChanServ
13:13 crem [~moo@Nightstar-28703.adsl.mgts.by] has joined #code
15:45 * TheWatcher arghs vaguely at session code
16:04 Syloqs_AFH [Syloq@Admin.Nightstar.Net] has joined #code
16:05 Syloqs_AFH is now known as Syloqs-AFH
17:03 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Operation timed out]
17:33
<@TheWatcher>
Ah, sod. I'm going to have to rewrite all this from scratch...
17:46 Derakon[AFK] is now known as Derakon
17:47 You're now known as TheWatcher[afk]
18:00 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
18:00 mode/#code [+o ToxicFrog] by ChanServ
18:12 Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has joined #code
18:26 Netsplit DeepThought.NY.US.Nightstar.Net <-> Troika.TX.US.Nightstar.Net quits: MyCatVerbs, EvilDarkLord, KarmaBot, Rhamphoryncus, @gnolam, @C_tiger, @AnnoDomini, @jerith, @Reiver, PinkFreud, (+2 more, use /NETSPLIT to show all of them)
18:29 Netsplit over, joins: MyCatVerbs
18:29 mode/#code [+o MyCatVerbs] by ChanServ
18:34 Reiver [~reaverta@Nightstar-22465.xdsl.xnet.co.nz] has joined #Code
18:34 mode/#code [+o Reiver] by ChanServ
18:39 AnnoDomini [~farkoff@Nightstar-29746.neoplus.adsl.tpnet.pl] has joined #Code
18:39 mode/#code [+o AnnoDomini] by ChanServ
18:40 C_tiger [~cheng@Nightstar-5625.hsd1.ca.comcast.net] has joined #Code
18:40 PinkFreud [~WhyNot@Admin.Nightstar.Net] has joined #Code
18:40 KarmaBot [AnnoDomini@Nightstar-29746.neoplus.adsl.tpnet.pl] has joined #Code
18:40 SmithKurosaki [~jess@Nightstar-24858.acanac.net] has joined #Code
18:40 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code
18:40 EvilDarkLord [~jjlehto3@Nightstar-9591.cs.hut.fi] has joined #Code
18:40 ServerMode/#code [+o C_tiger] by Blargh.CA.US.Nightstar.Net
18:40 mode/#code [+o gnolam] by ChanServ
18:40 ServerMode/#code [-oooooo AnnoDomini Reiver MyCatVerbs ToxicFrog GeekSoldier Consul] by Blargh.CA.US.Nightstar.Net
18:40 ServerMode/#code [-oooo Doctor_Nick Derakon TheWatcher[afk] McMartin] by Blargh.CA.US.Nightstar.Net
18:40 mode/#code [-o C_tiger] by ChanServ
18:40 mode/#code [+o AnnoDomini] by ChanServ
18:40 mode/#code [+o Reiver] by ChanServ
18:40 mode/#code [+o MyCatVerbs] by ChanServ
18:40 mode/#code [+o ToxicFrog] by ChanServ
18:40 mode/#code [+o GeekSoldier] by ChanServ
18:40 mode/#code [+o Consul] by ChanServ
18:40 mode/#code [+o Doctor_Nick] by ChanServ
18:40 mode/#code [+o Derakon] by ChanServ
18:40 mode/#code [+o McMartin] by ChanServ
18:41 EvilDarkLord is now known as NSGuest-558
18:41 C_tiger is now known as NSGuest-560
18:51 Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has joined #code
19:17 Alek [~omegaboot@Nightstar-5734.dsl.emhril.sbcglobal.net] has joined #code
19:28 You're now known as TheWatcher
19:29 mode/#code [+o TheWatcher] by ChanServ
19:30 You're now known as TheWatcher[afk]
19:31 You're now known as TheWatcher
19:46
<@AnnoDomini>
How do you set boolean fields using SQL?
19:46
<@AnnoDomini>
TRUE and FALSE?
19:47 Vornicus [Vornicus@Admin.Nightstar.Net] has joined #code
19:47 mode/#code [+o Vornicus] by ChanServ
19:49
<@TheWatcher>
TRUE/true/1/FALSE/false/0 should work
19:51 * AnnoDomini tries to remember the date format now.
19:51
<@TheWatcher>
ISO8601 should work normally
19:51
<@AnnoDomini>
YYYY/MM/DD should work, rite?
19:52
<@TheWatcher>
YYYY-MM-DD HH:MM:SS
19:52
<@AnnoDomini>
Thank you.
19:55
<@gnolam>
There is no date format but YYYY-MM-DD, and ISO 8601 is its prophet.
19:56
<@AnnoDomini>
I am intrigued and would like to subscribe to your newsletter.
19:57 * AnnoDomini thinks. What's the probability that any software I make now will still be used in 3000 AD?
19:58
<@AnnoDomini>
Though, no. I don't think that will work.
19:58
<@Vornicus>
What are we working on here?
19:59
<@AnnoDomini>
I don't want to revise my database again, so I've got to figure out how to say "the book has been borrowed but hasn't been returned yet" with just when_out, when_in, and when_expected.
19:59
<@AnnoDomini>
Maybe set when_in to Jesus' birthday? :P
19:59
<@Derakon>
when_out IS NOT NULL and when_in IS NULL
19:59
<@AnnoDomini>
Hmm.
20:00
<@AnnoDomini>
Thanks, that works better, I think.
20:00
<@AnnoDomini>
I think I let that field be null, anyway, so it's all good.
20:05
<@AnnoDomini>
I'm sorta glad this thing is done with Java. I won't have to fuck around so much with making sure dates are handled correctly.
20:08
<@AnnoDomini>
Figuring out what the hell I'm doing will be a pain. I don't really like having stuff handled automatically that I don't understand, and here pretty much everything but writing methods will have to be.
20:41
<@gnolam>
Pah!
20:41
<@gnolam>
Silly image handling programs.
20:41
<@gnolam>
They choke on a little 21600x21600 bitmap.
20:41
<@Derakon>
Use ImageMagick~
21:04 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has quit [Quit: Reboot]
21:06 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code
21:06 mode/#code [+o gnolam] by ChanServ
22:35
<@ToxicFrog>
What Derakon said.
22:43 Consul [~consul@Nightstar-1864.dsl.sfldmi.ameritech.net] has quit [Connection reset by peer]
22:55
<@McMartin>
12:05 <@AnnoDomini> I'm sorta glad this thing is done with Java. I won't have to fuck around so much with making sure dates are handled correctly.
22:55
<@McMartin>
12:08 <@AnnoDomini> Figuring out what the hell I'm doing will be a pain. I don't really like having stuff handled automatically that I don't understand, and here pretty much everything but writing methods will have to be.
22:55
<@McMartin>
Java's Calendar class is insanely awesome, and IIRC also handles lunar calendars and pre-Gregorian.
22:56
<@McMartin>
(I'm not sure about the lunar calendars, but it *does* have a defined constant for Undecimber, which is Month 13.)
22:56
<@AnnoDomini>
Those two lines are, uh, unrelated. I can understand what is happening in the date class, even if I can't see the specifics.
22:56
<@McMartin>
OK.
22:57
<@McMartin>
Well, almost.
22:57
<@McMartin>
Date isn't quite as awesome as Calendar.
22:57
<@McMartin>
And in fact I thought Date was deprecated for exactly that reason, unless I'm confused...
22:57
<@McMartin>
Which I might be, since it's been over a year since I've done that kind of data processing with it.
22:57
<@AnnoDomini>
The second line was aimed at using a Java IDE for a multi-part project.
22:58 * AnnoDomini has to make a multi-level database-using thingie that has a JSF user interface.
22:58
<@McMartin>
Aha.
22:58
<@McMartin>
JSF is a buzzword I don't know
22:59
<@AnnoDomini>
Java Server Faces.
22:59
<@AnnoDomini>
It's like JSP Plus or something.
22:59
<@McMartin>
Also, Date is for system times/timestamps/etc, it looks like, while Calendar is for representing actual days and human-scale times.
22:59
<@McMartin>
Aha.
22:59
<@McMartin>
JSPs were the wrong answer to the right problem and they make a handy component for better solutions.
23:00
<@McMartin>
And even being wrong they're still a thousand times better than the most popular solution.
23:00
<@McMartin>
I'll take a JSP nightmare over a PHP app any day. >_<
23:01
<@AnnoDomini>
Anyways. This thing takes running the application server, the web server, the database server; is distributed into three subprojects; and it's full of things I don't begin to understand.
23:01
<@AnnoDomini>
Nonetheless, reverse-engineering from an example from a programmer's personal wiki, I managed to get my own project to compile and start.
23:02
<@McMartin>
You *should* be able to treat Tomcat and friends as if they're "the OS" for something like this, I think.
23:02
<@McMartin>
There's going to be voodoo, but these days there's voodoo for setting up a DirectX application or whatnot too, so =/
23:02
<@AnnoDomini>
Now if I'd only understand how to format the persistence.xml file, which seems to be wrong...
23:02
<@AnnoDomini>
Yeah, Netbeans does the legwork for me.
23:03
<@McMartin>
One of the things IE is actually good at is making XML look sensible.
23:03
<@AnnoDomini>
This is what I object to - I have precious little clue what's happening behind my back.
23:03
<@McMartin>
Yeah. I'm saying that's not limited to fancy IDEs anymore.
23:03
<@AnnoDomini>
Mhm.
23:04
<@McMartin>
I program Windows at the Kernel32.dll/user32.dll level and I have the same experience.
23:04
<@McMartin>
(Oh god, CreateProcessExW)
23:26 You're now known as TheWatcher[T-2]
23:35 You're now known as TheWatcher[zZzZ]
23:39
<@AnnoDomini>
This has got me stumped. I'd like to use my own database from the gods-damned PostgreSQL server that took so long to set up. But I can't, because I don't understand how the persistence.xml file works - using one from the tutorial, I'm able to use a sample database pre-installed into NetBeans.
23:39
<@AnnoDomini>
Grrr.
23:41
<@McMartin>
Blar. I know how to do that with raw JDBC, but that doesn't really help you.
23:44
<@AnnoDomini>
The data source is identified as 'jdbc/sample'. I assume it's some name (JNDI?) for the full JDBC setup somewhere else. How do I set a similar thing for my own connection (I have it in the services tab).
23:44
<@AnnoDomini>
*?
23:45
<@AnnoDomini>
http://pastie.org/451816 <- Here's the file that works with the sample database.
23:46
<@McMartin>
OK, I'm used to there being some class that is "The JDBC driver" and passing that class name as a string to an initializer.
23:47
<@McMartin>
I see nothing equivalent there, sorry. =/
23:48
<@McMartin>
In other news, Parsec continues to be awesome. Too bad I don't have anything actually worthwhile to do with it.
23:48
<@AnnoDomini>
I'll go look at the services thing more. Maybe there's some kind of submenu where I can set things.
23:48
<@Vornicus>
Parsec? What's that, a Lua-based parser library?
23:49
<@McMartin>
Haskell-based.
23:50
<@Vornicus>
ah
23:50
<@McMartin>
Monadic Parser Combinators.
23:50
<@Vornicus>
I think my favorite language project name is still "unladen swallow"
23:50
<@McMartin>
?
23:51
<@Vornicus>
It's a project to vastly increase the speed of the Python terp.
23:51
<@McMartin>
A...ha.
23:51
<@McMartin>
And yeah, I'm given to understand the python terp is pretty terrible.
23:52 * AnnoDomini wonders how to stop a running project in NetBeans. So far I've been closing and opening whenever I need to modify things.
23:56 KBot [~karma.bot@Nightstar-29619.neoplus.adsl.tpnet.pl] has joined #Code
23:56 AnnoDomini [~farkoff@Nightstar-29746.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
23:58 KarmaBot [AnnoDomini@Nightstar-29746.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
23:59 KBot is now known as KarmaBot
--- Log closed Mon Apr 20 00:00:49 2009
code logs -> 2009 -> Sun, 19 Apr 2009< code.20090418.log - code.20090420.log >