Switch to DuckDuckGo Search
   September 16, 2005  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | >


NOTICE: This channel is no longer actively logged.

Toggle Join/Part | bottom
[00:22:25] <Mazon> adam, I host it myself - I just want it placed somewhere official :) - jgf or jgo I dont care
[00:22:46] <Mazon> but the script has to proxy a script of mine since the log files are local
[00:24:05] <Mazon> basically I do:
[00:24:07] <Mazon> get_file("http://matzon.dk/brian/lwjgl/stats/lwjgl_browse.php?date=$date");
[00:24:14] <Mazon> where date = unix timestamp
[00:24:27] <Mazon> and get_file is implemented as:
[00:24:28] <Mazon> function get_file($file) {
[00:24:28] <Mazon> $ch = curl_init($file);
[00:24:28] <Mazon> curl_setopt($ch,CURLOPT_ENCODING , "gzip");
[00:24:28] <Mazon> curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
[00:24:28] <Mazon> $body = curl_exec ($ch);
[00:24:30] <Mazon> curl_close ($ch);
[00:24:32] <Mazon> return $body;
[00:24:34] <Mazon> }
[00:24:55] <Mazon> the whole curl stuff was to enable gzipped transfers
[00:25:06] <Mazon> no sense in waisting my BW :)
[00:25:28] <Mazon> the above is ofcourse the lwjgl script - but it basically has to do the same
[00:26:43] <ircsucks> OK, have emailed that to myself :)
[00:26:49] <ircsucks> I'll have a look over the w/e
[00:26:57] <Mazon> w/e ?
[00:27:16] <ircsucks> it would be cool to centralise stuff liket his, far too few people use/know about/appreciate #lwjgl for starters
[00:27:19] <ircsucks> weekend, sorry :)
[00:29:15] <Mazon> I might change the script a bit, currently it outputs log and a list of links to more the previous and next days
[00:29:26] <Mazon> ideally you'd only want log output
[00:30:02] <Mazon> ofcouse we could also setup a cron job to upload log files each night
[00:31:08] <Mazon> http://matzon.dk/brian/jgostats/ :)
[00:31:20] <ircsucks> yeah
[00:31:47] <ircsucks> frankly, the preferrred thing for me is to avoid running shell scripts as much as possible ;) since I have to exec them from java, or else do them entirely on the OS
[00:31:50] <ircsucks> I dont mind
[00:31:55] <ircsucks> I do unix admin often at work
[00:32:04] <ircsucks> juts feels ... cleaner ... to do as much as possible in java :)
[00:32:20] <Mazon> true, but it would me that ftp'ed them to you
[00:32:32] <Mazon> or rsync or whatever
[00:32:55] <Mazon> alternatively I just make a custom script for jgf
[00:33:00] <Mazon> that wouldn't be a problem
[00:33:03] <ircsucks> that would be kind of you
[00:36:56] <Mazon> do note that it's not like I need hosting of the log files, it would only be because you would think of them as an asset to jgf
[00:37:06] <Mazon> so if you back out, its fine my me
[00:37:52] <ircsucks> sure. I think it would be great :).
[00:48:38] *** Mazon is now known as mazon
[02:02:06] *** divzero has joined #javagaming
[02:11:02] <AskHL> Hey, do any of you use paintImmediately for rendering?
[02:11:16] <AskHL> Normally it's either "the swing way" with repaint events
[02:11:17] <AskHL> OR
[02:11:27] <AskHL> active rendering with createBufferStrategy and show() and all that stuff
[02:12:15] <AskHL> but paintImmediately seems to me as an incredibly easy way, given that swing will take care of the double buffering, and the thing will go on without any events being dispatched and thus outside the EDT
[02:41:27] *** hammon has quit IRC
[02:58:37] *** kappaOne has joined #javagaming
[02:59:28] *** kappaOne has left #javagaming
[03:20:44] *** divzero has quit IRC
[04:40:40] *** AskHL has quit IRC
[04:45:15] *** divzero has joined #javagaming
[06:41:47] *** divzero has quit IRC
[08:18:03] *** SWPalmer has quit IRC
[09:33:04] *** mazon is now known as Mazon
[09:46:05] *** ArneM has joined #javagaming
[10:40:22] *** ArneM has quit IRC
[11:29:02] *** hammon has joined #javagaming
[11:49:10] *** divzero has joined #javagaming
[13:03:56] *** DarkProphet has joined #javagaming
[13:41:13] *** divzero has quit IRC
[14:01:15] *** pokkeli has joined #javagaming
[14:16:52] *** AskHL has joined #javagaming
[14:24:15] *** AskHL has quit IRC
[14:30:10] *** kevglass has joined #javagaming
[14:39:29] *** DarkProphet has left #javagaming
[15:47:38] *** aho has quit IRC
[16:00:12] *** Mazon is now known as mazon
[16:18:44] *** aho has joined #javagaming
[16:38:07] *** mazon is now known as Mazon
[16:51:32] *** kevglass has left #javagaming
[16:58:50] *** AskHL has joined #javagaming
[18:15:08] <AskHL> nice with the bot and all
[18:22:46] <Mazon> yeah, now we just need 100 people in here :)
[18:52:22] *** ArneM has joined #javagaming
[19:09:54] <aho> hu arne
[19:10:11] <aho> got your 3 emails... heh ;>
[19:10:34] <ArneM> ohh yeah ;)
[19:11:45] <aho> and as i mailed back... that bit will be clearer in the future :>
[19:12:20] <ArneM> yeah the response dialog to the image didn't show up the first time
[19:12:29] <ArneM> I tried to write the comment
[19:13:57] <aho> it only shows up if you're logged in
[19:14:28] <aho> so if you arent logged in... there should be some text like "login or register to add a comment" or something to that effect
[19:16:09] <ArneM> yeah, but I logged in and then, when I was at the site for the picture I was logge off again
[19:16:14] <ArneM> I don't know why
[19:16:32] <ArneM> and then somehow later it worked
[19:16:50] <aho> maybe it was cached on your side
[19:17:09] <ArneM> mmh it could have been
[19:17:32] <aho> btw upgrad firefox 1.0.6 fixes some rather critical vulns ;>
[19:17:38] <aho> +to
[19:18:09] <ArneM> ok this could also be the problem (I've only got 1.0.4)
[19:18:16] <aho> i know :)
[19:18:37] <aho> the feedback formular adds things like referrer, ip and agent to the mail :>
[19:18:47] <ArneM> ahh
[19:24:25] <ircsucks> /me capers
[19:24:28] * ircsucks even
[19:24:56] <ircsucks> Starting to run system tests against our proprietary XML fine-grained caching website server
[19:25:00] <ircsucks> and it's pretty fast
[19:25:04] <ircsucks> although plagued with problems
[19:25:13] <ircsucks> But it's nice, making XSL go *fast*...
[19:27:05] <ArneM> \me will be away for some time
[19:27:29] <aho> /me
[19:27:30] <aho> :>
[19:27:35] <ircsucks> /me ?
[19:27:40] <ircsucks> ah. forgot about that
[19:28:33] <aho> and if you want to write something with a / at the beginning you can put either /say infront or use a double slash instead (eg //me -> /me)
[19:28:34] <aho> <;
[19:28:54] <ircsucks> yeah. the //me was what I suddenly remembered
[19:29:23] <aho> ahwell... time to take a nice shower ;)
[19:52:40] *** kevglass has joined #javagaming
[20:00:11] *** kevglass has left #javagaming
[21:28:53] <ircsucks> yay! treasure island dizzy on pczone!
[21:28:53] <ircsucks> :)
[21:31:41] <aho> whats that? :>
[21:33:33] <ircsucks> damn it, too hard, cant remember how to play, cant remember keys
[21:33:42] <ircsucks> very old game used to play when young, a "classic"
[21:34:55] <aho> ah
[22:12:12] *** ircsucks has quit IRC
[23:29:19] *** ArneM has quit IRC
top

   September 16, 2005  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | >