--- Log opened Sat Aug 04 00:00:21 2012 |
00:25 | | You're now known as TheWatcher[T-2] |
00:29 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code |
00:29 | | mode/#code [+o himi] by ChanServ |
00:36 | | iospace is now known as cityspace |
00:39 | | You're now known as TheWatcher[zZzZ] |
00:52 | <&ToxicFrog> | real2m29.983s user0m7.452s sys0m0.472s |
00:52 | <&ToxicFrog> | WHAT THE FUCK IS GOING ON HERE |
00:53 | <&Derakon> | Massive I/O bottleneck? |
01:08 | <&ToxicFrog> | Derakon: I'd assume so, except that the only difference between this and hello world, iowise, is that this loads a single 30k from disk |
01:08 | <&ToxicFrog> | *a single 30k file |
01:08 | <&ToxicFrog> | And hello world runs in like ten seconds with a cold block cache and instantly otherwise |
01:09 | <&Derakon> | Some kind of resource lock contention, then? |
01:11 | <&ToxicFrog> | That |
01:11 | <&McMartin> | The file being re-read 47 million times? |
01:11 | <&ToxicFrog> | 's what I'm wondering |
01:11 | <&ToxicFrog> | Can't imagine what, though |
01:14 | <&McMartin> | dtrace? |
01:15 | <&ToxicFrog> | McMartin: not familiar with that one |
01:52 | | Derakon is now known as Derakon[AFK] |
01:54 | <&ToxicFrog> | Derakon[AFK]: I found the problem! |
01:55 | <&ToxicFrog> | That long delay is the XML parsing library fetching the DTD and all of the files it includes from the apallingly slow W3C servers |
02:25 | <~Vornicus> | |
02:26 | <&McMartin> | \o/ |
02:26 | <~Vornicus> | w.t.f. |
03:12 | < Namegduf> | Haha, wow. |
03:12 | <&McMartin> | Which library is this? |
03:13 | < Namegduf> | That teaches you for using opaque libraries for a language whose parsing rules are too complex to understand the impact of. :P |
03:13 | <&McMartin> | They aren't that complex |
03:13 | <&McMartin> | There's a URL at the very top of the document that says "this is the DTD of this document" |
03:16 | < Namegduf> | Doesn't seem like it was particularly easy to get from that to "the library will retrieve this and all dependencies", though. |
03:16 | < Namegduf> | (Also that's one specific rule out of about a million) |
03:16 | < Namegduf> | (The XML spec is absurd) |
03:20 | <&ToxicFrog> | Namegduf: well, if it doesn't do that it can't validate the document, as required by the spec |
03:21 | <&ToxicFrog> | McMartin: clojure.xml |
03:21 | <&ToxicFrog> | Really the takeaway here is "fuck xml" |
03:23 | <&McMartin> | "fuck DTDs"~ |
03:23 | <&McMartin> | There's gotta be a way to get rid of that behavior, because that's silly |
03:23 | | Kindamoody is now known as Kindamoody[zZz] |
03:24 | <&ToxicFrog> | There is. It involves bypassing clojure.xml to adjust half a dozen poorly documented configuration flags in the Java XML parser itself. |
03:29 | <&ToxicFrog> | It is in fact vastly more concise to just rewrite the XML as it's read to omit the DTD |
03:37 | | Attilla [Obsolete@Nightstar-ac56e080.as43234.net] has quit [Ping timeout: 121 seconds] |
04:25 | | celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has joined #code |
04:43 | < cpux> | XML is nice. But I can't help but think, it's salad dressing. |
04:44 | <&McMartin> | whut |
04:54 | <&ToxicFrog> | XML is nice for its originally intended purpose, which no-one on earth uses it for. |
04:54 | <&ToxicFrog> | Or rather, would be nice, if it weren't hideously overspecified and a parsing nightmare. |
04:55 | <&McMartin> | Certain subsets of XML are handy if what you are primarily doing is generating large amounts of marked-up text. |
04:57 | | Vash[CoH] is now known as Vash |
04:59 | <&ToxicFrog> | Yes. |
04:59 | <&ToxicFrog> | My point is that no-one uses it for that. |
05:00 | <~Vornicus> | Um |
05:01 | <&ToxicFrog> | (Yes, I am parsing XHTML, but at this point XHTML is a complete typesetting and document description format that incidentally contains small fragments of marked-up text) |
05:33 | < cpux> | Aaaand......I use it to store data on an overloaded server. Because ISO standards demand it. o_O |
05:59 | | Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has joined #code |
06:24 | < Rhamphoryncus> | yasttc.cpp:243:8: error: non-const lvalue reference to type 'Globe' cannot bind to a |
06:24 | < Rhamphoryncus> | temporary of type 'int' |
06:24 | < Rhamphoryncus> | Globe &globe(7); |
06:24 | < Rhamphoryncus> | ^ ~ |
06:25 | | * Rhamphoryncus 's brain twists |
06:25 | < Rhamphoryncus> | Wait, nevermind :P |
06:32 | | Kindamoody[zZz] is now known as Kindamoody |
06:56 | | Kindamoody is now known as Kindamoody|gaming |
07:05 | | Vash [Vash@Nightstar-e8057de2.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!] |
07:20 | | Derakon[AFK] is now known as Derakon |
07:22 | | cityspace is now known as iospace |
07:24 | | celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
07:29 | | iospace is now known as iospacedout |
07:36 | | Derakon is now known as Derakon[AFK] |
08:40 | | Moltare [Moltare@583787.FF2A18.190FE2.4D81A1] has quit [Ping timeout: 121 seconds] |
08:40 | | Moltare [Moltare@583787.FF2A18.190FE2.4D81A1] has joined #code |
09:19 | | Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code |
09:19 | | mode/#code [+ao Derakon Derakon] by ChanServ |
09:21 | | Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds] |
09:21 | | Kindamoody|gaming is now known as Kindamoody |
09:28 | | Kindamoody is now known as Kindamoody|brunch |
09:34 | < Rhamphoryncus> | gee, this would be easier if I already had some matrix and vector types with examples of rotation OWAIT |
10:02 | | Kindamoody|brunch is now known as Kindamoody |
10:12 | | You're now known as TheWatcher |
10:20 | < Rhamphoryncus> | ... oi, it's simpler than I realized. I already had everything I needed to figure this out >.> |
10:20 | < Rhamphoryncus> | Specifically the dihedral angle |
10:24 | | Kindamoody is now known as Kindamoody|chores |
10:46 | < Rhamphoryncus> | Grrrr. Ask qalculate for acos(-1/sqrt(5))) in degrees and I get ~116.6?. Ask for pi - acos(-1/sqrt(5))) and I get.. -113.4? |
10:48 | < Rhamphoryncus> | I have no idea what that could mean or if it's a bug |
10:53 | | You're now known as TheWatcher[CATT] |
11:17 | < Rhamphoryncus> | Damnit, my brain is just going in circles. Can anybody help me straighten this out? |
11:34 | | Attilla [Obsolete@Nightstar-ac56e080.as43234.net] has joined #code |
12:41 | | iospacedout is now known as iospace |
12:56 | | Kindamoody|chores is now known as Kindamoody |
13:26 | | Kindamoody is now known as Kindamoody|out |
14:19 | < froztbyte> | ask wolframalpha? |
14:19 | < froztbyte> | my brain is entirely useless to advanced thinking of any kind today |
14:19 | | * froztbyte has slept 3 hours |
14:23 | < Rhamphoryncus> | I have it open at the moment, but I have no idea how to get what I need |
14:24 | < froztbyte> | just throw the formula at it |
14:24 | < Rhamphoryncus> | Which formula? |
14:24 | < froztbyte> | it should give you a few options for interpretation if it reckons there are multiple answer types |
14:24 | < froztbyte> | or you could ask it for attributes of the thing you want to figure out |
14:24 | < froztbyte> | and it'll spew facts it can find about that thing |
14:25 | < Rhamphoryncus> | geometric properties for the pentakis dodecahedron doesn't include the vertices |
14:25 | < froztbyte> | http://www.wolframalpha.com/input/?i=vertices+for+a+pentakis+dodecahedron ? |
14:26 | < Rhamphoryncus> | hrm |
14:26 | < froztbyte> | http://www.wolframalpha.com/input/?i=pentakis+dodecahedron&lk=1&a=ClashPrefs_*Po lyhedron.PentakisDodecahedron- also has some info that appears like it might be useful |
14:28 | < Rhamphoryncus> | I think that's rotated |
14:29 | < Rhamphoryncus> | And unfortunately it's more of a dump of hardcoded values than a method for computing them |
14:30 | < froztbyte> | ah |
14:31 | < froztbyte> | it seems like it might be possible to get something out of those geometric properties |
14:31 | < froztbyte> | but that's just a guess |
14:51 | | celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has joined #code |
14:56 | | You're now known as TheWatcher |
16:18 | | Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Operation timed out] |
16:20 | | Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code |
16:20 | | mode/#code [+ao Derakon Derakon] by ChanServ |
16:42 | | iospace is now known as cityspace |
17:28 | | Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Connection closed] |
17:37 | | Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code |
17:41 | | Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Client closed the connection] |
18:04 | | Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code |
18:13 | | Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Client closed the connection] |
18:25 | | Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code |
18:34 | | Attilla [Obsolete@Nightstar-ac56e080.as43234.net] has quit [Ping timeout: 121 seconds] |
18:45 | | Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Client closed the connection] |
18:45 | | Kindamoody|out is now known as Kindamoody |
18:49 | | cityspace [Alexandria@Nightstar-e67f9d08.com] has quit [[NS] Quit: Lost terminal] |
18:53 | | iospace [Alexandria@Nightstar-e67f9d08.com] has joined #code |
18:59 | | Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code |
19:36 | | Kindamoody is now known as Kindamoody[zZz] |
20:16 | | Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has quit [Client exited] |
20:27 | | Attilla [Obsolete@Nightstar-ac56e080.as43234.net] has joined #code |
20:47 | | rms is now known as Masako |
22:08 | | celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has quit [Operation timed out] |
22:08 | | celmin [celticminst@Nightstar-05d23b97.cable.rogers.com] has joined #code |
22:11 | | celmin is now known as celticminstrel |
22:36 | | Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Connection closed] |
22:54 | | Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code |
22:57 | | Masako is now known as rms |
23:01 | | Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds] |
23:14 | | Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code |
23:53 | | Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Client closed the connection] |
--- Log closed Sun Aug 05 00:00:35 2012 |