code logs -> 2009 -> Sat, 30 May 2009< code.20090529.log - code.20090531.log >
--- Log opened Sat May 30 00:00:19 2009
00:21 AnnoDomini [AnnoDomini@Nightstar-6918.neoplus.adsl.tpnet.pl] has quit [Quit: God created man, God created woman, but Samuel Colt made them equal.]
00:29 Syloqs-AFH [Syloq@ServicesAdmin.Nightstar.Net] has quit [Ping Timeout]
00:32 Syloqs_AFH [Syloq@Admin.Nightstar.Net] has joined #code
00:33 Syloqs_AFH is now known as Syloqs-AFH
00:42 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Connection reset by peer]
00:42 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
00:42 mode/#code [+o Attilla] by ChanServ
02:08 Derakon is now known as Derakon[AFK]
02:09 Namegduf [namegduf@82.25.200.ns-12231] has quit [Ping Timeout]
02:12 Namegduf [namegduf@82.25.200.ns-12231] has joined #code
02:30 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has quit [Quit: Z?]
03:53 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Quit: <Insert Humorous and/or serious exit message here>]
04:22 Studio`FM [Attention@41.251.70.ns-4354] has joined #code
04:22 Studio`FM [Attention@41.251.70.ns-4354] has left #code []
06:04 Syloqs-AFH [Syloq@ServicesAdmin.Nightstar.Net] has quit [Connection reset by peer]
07:02
<@ToxicFrog>
Ok, this is cool.
07:02
<@ToxicFrog>
'compcache' - compressing RAM swap device.
07:02
<+SmithKurosaki>
oh??
07:02
<@ToxicFrog>
Reserves a chunk of RAM as a swap device that stores pages LZO-compressed.
07:03
<@ToxicFrog>
You hit swap sooner, but said swap is much, much faster than HDD swap.
07:03
< Namegduf>
Interesting.
07:03
<+SmithKurosaki>
which is something you could probably use right about now, or not really?
07:04
<@ToxicFrog>
Leela, the laptop, has only 1GB of memory.
07:04
<@ToxicFrog>
And runs out on a regular basis.
07:04 * ToxicFrog tests it by firing upOpera
07:04
<+SmithKurosaki>
true, go opera!
07:05
<@McMartin>
For a truly heinous test, try Firefox~
07:05
<+SmithKurosaki>
ahhhhh noooooooo
07:05
<+SmithKurosaki>
opera is memory hog enough up front, ff is just plain terrible for memory usage all around
07:06 * Vornicus offers McM's unoptimized solution to Euler 79.
07:06
<+SmithKurosaki>
when i had my eeepc working, i would never use the ff because i could only sustain 4 tabs in ff versus 6+ in opera
07:06
<@ToxicFrog>
Yeah, Opera isn't being harsh enough
07:06 * ToxicFrog starts up firefox as well
07:06
<+SmithKurosaki>
wrrrryyy
07:06
<+SmithKurosaki>
you are bloody insane
07:07
<@ToxicFrog>
Wow. Opera and FF both fail comically at the acid3 test.
07:07
<@ToxicFrog>
And I need to use more memory.
07:07
<+SmithKurosaki>
fire up pidgin locally
07:08 * ToxicFrog instructs lua to allocate 100MB worth of strings
07:08
< Namegduf>
ToxicFrog: You think that'd be useful for a laptop with 256MB of RAM which is constantly in swap?
07:08
< Namegduf>
Literally constantly.
07:09
<@ToxicFrog>
Probably? People are reporting compression ratios of around 1:3 or 1:4, so dedicate 64MB of that to compcache and that stretches it from 256 to 384+ until you hit disc
07:09
<+SmithKurosaki>
nice
07:09
<+SmithKurosaki>
how do you use up the entire gb anyways?
07:10
<@ToxicFrog>
The more you dedicate, the faster you'll start getting LZO slowdown, but the longer you have before it needs to hit disk, so experiment.
07:10
<@ToxicFrog>
http://code.google.com/p/compcache/
07:10
<@ToxicFrog>
SK: running Opera for a few weeks will do it handily.
07:11
<@ToxicFrog>
Mem: 1025272k total, 1010052k used, 15220k free, 428k buffers
07:11
<@ToxicFrog>
Swap: 256312k total, 207756k used, 48556k free, 55584k cached
07:11
<@McMartin>
Also, hello, SK; I don't think I've seen you active before.
07:11
<@ToxicFrog>
The system is noticeably slower than normal, but unlike with disk swap, it is still usabe.
07:11
<@ToxicFrog>
*usable.
07:11
< Namegduf>
ToxicFrog: Well, it's sorta moot because this piece of junk is running Windows, and lacking the RAM or HDD for VMs or multibooting, it's got to stay that way, but I was wondering about it.
07:11
<+SmithKurosaki>
ahhh. (this is why i use opera through server instead of local, even though the transmission is quite slow over nets
07:12
<@ToxicFrog>
(whereas when it hits disk I basically go ctrl-alt-backspace-backspace and wait twenty minutes for it to register and X to shut down)
07:12
<@ToxicFrog>
Namegduf: ew.
07:12
< Namegduf>
ToxicFrog: Very ew, yes.
07:13
< Namegduf>
At least I get to use Chrome.
07:13
<@ToxicFrog>
Why does it need to stay windows?
07:13
<+SmithKurosaki>
program compatibilty probably
07:13
< Namegduf>
Windows software I need to be able to use, yeah.
07:13
< Namegduf>
My main laptop is out of commission for at least another week, annoyingly.
07:13
<@ToxicFrog>
Aah
07:14
<+SmithKurosaki>
i was in #fedora on fn there was a guy bitching about not being able to get f11 onto his old stinkpad
07:14
<+SmithKurosaki>
also, McMartin, i've been wanting to get back into my coding habits, and TF pointed me a bunch of ways
07:15
< Namegduf>
I was wondering as a sorta example case, because this thing struggles with RAM usage. Firefox absolutely kills it, Chrome works okay, but I actually need to keep the number of tabs open low, which is completely at odds with my normal approach to using a browser.
07:15
<+SmithKurosaki>
i need to find a java channel though, ive been out of it for a while, and the fn channel appears to be gone
07:16
<@McMartin>
I'm pretty decent with it, though not as awesome as I once was.
07:17
<@ToxicFrog>
The FN channel is still there
07:17
<@ToxicFrog>
##java
07:17
<@ToxicFrog>
Namegduf: yeah, I generally run with >100 tabs
07:17
<@ToxicFrog>
I suspect that would blow up a 256MB machine no matter what kind of memory compression trickery you use, though~
07:17
<+SmithKurosaki>
yea, i learned the basic theory a couple years ago, but that was using simple classes (i think that's the right term -> string.X etc) and a boilerplate, but i am getting back into it in the fall
07:18
<+SmithKurosaki>
also, have you tried joining it lately tf?
07:18
<@ToxicFrog>
Yes. I'm in it right now.
07:18
<@ToxicFrog>
--> You are now talking on ##java
07:18
<@ToxicFrog>
--- Topic for ##java is Welcome! Read this before participating: http://www.javachannel.net || Javascript is in ##javascript || No applets. || Paste limit is 2 lines. Use ~pastebin to list options || This channel is logged. || No one knows any more about oracle/sun than what's in the news. Stop asking.
07:18
<@ToxicFrog>
--- Topic for ##java set by cheeser at Tue Apr 21 11:20:17 2009
07:18
<+SmithKurosaki>
i have #java on autojoin, which points me to ##java which doesnt work
07:18
<@ToxicFrog>
I've said this before, and I will continue to say it --
07:19
<@ToxicFrog>
"It doesn't work" is useless. Give information
07:19
<@ToxicFrog>
, not just complaints.
07:19
<+SmithKurosaki>
damnit you threw my thought pattern there. i cant connect
07:19
<+SmithKurosaki>
i said that :p
07:19
<@ToxicFrog>
...what?
07:20
<+SmithKurosaki>
also -> * ##java :You need to be identified to join that channel
07:20
<+SmithKurosaki>
i havent reg'd with their nickserv yet
07:20
<+SmithKurosaki>
the only one ive had major connection issues with is syn
07:21
<@ToxicFrog>
Well there's your problem then.
07:21
<+SmithKurosaki>
gnar
07:21
<@ToxicFrog>
Register with nickserv and you'll be able the join, it says so right there.
07:21
<@ToxicFrog>
That's a far cry from "the FN channel appears to be gone"
07:21
<+SmithKurosaki>
yes, i know tf, dont be a douche
07:22
<+SmithKurosaki>
im used to seeing: this doesnt exist messages
07:49 AnnoDomini [AnnoDomini@Nightstar-6918.neoplus.adsl.tpnet.pl] has joined #Code
07:49 mode/#code [+o AnnoDomini] by ChanServ
07:52
<+SmithKurosaki>
im kind of jealous of all the ops in here, its essentialy a bloody op channel with random people (like me) just chilling
07:58 Namegduf_ [namegduf@82.25.200.ns-12231] has joined #code
08:01 Namegduf_ [namegduf@82.25.200.ns-12231] has quit [Quit: Restarting client...]
08:02 Namegduf_ [namegduf@82.25.200.ns-12231] has joined #code
08:05 Namegduf [namegduf@82.25.200.ns-12231] has quit [Quit: Lost terminal]
08:05 Namegduf_ is now known as Namegduf
08:17 Derakon[AFK] is now known as Derakon
08:28 Derakon is now known as Derakon[AFK]
08:31 You're now known as TheWatcher
08:34 crem_ [~moo@Nightstar-28703.adsl.mgts.by] has joined #code
08:37 crem [~moo@Nightstar-28703.adsl.mgts.by] has quit [Ping Timeout]
08:46 Vornicus is now known as Vornicus-Latens
09:04 You're now known as TheWatcher[afk]
09:08
<@AnnoDomini>
Mumble. I'm getting uncompilable source code errors from GlassFish, and don't know what's up.
09:11
<@AnnoDomini>
There. For some reason an uninitialized variable caused this.
09:30 crem_ [~moo@Nightstar-28703.adsl.mgts.by] has quit [Connection reset by peer]
09:31 crem [~moo@Nightstar-28703.adsl.mgts.by] has joined #code
09:42
<@McMartin>
Is GlassFish Java based?
09:42
<@McMartin>
Java refuses to compile code with uninitialized locals.
09:43
<@McMartin>
20 lines of code, about 7 of which are type wrangling.
09:43
<@McMartin>
Wrong channel, sorry
09:55
<@AnnoDomini>
I think so.
09:57
<@AnnoDomini>
Well, I do know that GlassFish is a Java application server, but I don't actually know if it's coded in Java.p
09:57
<@AnnoDomini>
-p
09:57
<@McMartin>
Well, it would complain while compiling your app code, yeah.
09:57
<@McMartin>
The relevant bit of the language bible is "definite assignment", but you can usually get around it by just assigning everything at declaration time.
10:54
<@AnnoDomini>
Hmm. Anyone here any good with JSF? I'm trying to find an easy way to display a record's worth of data, and not in a data table.
10:59
<@AnnoDomini>
On second thought, I suppose a data table will work.
11:03 AnnoDomini [AnnoDomini@Nightstar-6918.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
11:08 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code
11:08 mode/#code [+o gnolam] by ChanServ
11:10 AnnoDomini [AnnoDomini@Nightstar-29474.neoplus.adsl.tpnet.pl] has joined #Code
11:10 mode/#code [+o AnnoDomini] by ChanServ
11:15 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
11:15 mode/#code [+o Attilla] by ChanServ
11:29 Rhamphoryncus [~rhamph@Nightstar-7168.ed.shawcable.net] has quit [Quit: Rhamphoryncus]
11:56 You're now known as TheWatcher
12:49
<@gnolam>
So. I need a 2D software graphics library with - at a minimum - alpha blending and bitmap rotation/scaling. Suggestions?
12:50
<@gnolam>
SDL_gfx seems to be well and truly aboard the Failboat.
13:22 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Ping Timeout]
13:47 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
13:47 mode/#code [+o Attilla] by ChanServ
14:35 * AnnoDomini ponders more on uncompilable source code.
14:35
<@AnnoDomini>
It really gives me very little hint about what the problem is.
14:36
<@gnolam>
What language?
14:36
<@AnnoDomini>
Java.
15:34 Reiv is now known as OrthSleep
16:04 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Operation timed out]
16:05 Syloqs_AFH [Syloq@Admin.Nightstar.Net] has joined #code
16:06 Syloqs_AFH is now known as Syloqs-AFH
16:14
<+SmithKurosaki>
gnolam: once tf comes back online, ask him, he was working on a lua-sdl program a while back, but i dont know how far he got
16:15 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
16:15 mode/#code [+o ToxicFrog] by ChanServ
17:03
<@AnnoDomini>
http://pastie.org/494992 <- Could anyone help me with this? I don't quite understand how to do this, since List is abstract.
17:03
<@AnnoDomini>
I want to convert a List<Categories> into List<SelectItem>.
17:30 Derakon[AFK] is now known as Derakon
17:43 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Ping Timeout]
17:55 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
17:55 mode/#code [+o Attilla] by ChanServ
17:59 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has quit [Quit: ]
18:04 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code
18:05 mode/#code [+o gnolam] by ChanServ
18:41 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Connection reset by peer]
18:46 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
18:46 mode/#code [+o Attilla] by ChanServ
18:47 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Connection reset by peer]
18:48 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
18:48 mode/#code [+o Attilla] by ChanServ
19:28
<@ToxicFrog>
<mnemoc> so assert(next(t)) would abort if it's empty, right?
19:29
<@ToxicFrog>
<MattJ> mnemoc: assert(next(t) ~= nil) :)
19:29
<@ToxicFrog>
<MattJ> mnemoc: I was caught out by that once, never again... next() returns the first key, and once for me it was 'false' :)
19:39
<@Derakon>
Heh.
20:04 Rhamphoryncus [~rhamph@Nightstar-7168.ed.shawcable.net] has joined #code
20:28 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Ping Timeout]
20:33 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
20:34 mode/#code [+o Attilla] by ChanServ
21:37 Derakon is now known as Derakon[AFK]
21:48 Vornicus-Latens is now known as Vornicus
22:00 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Connection reset by peer]
22:01 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
22:01 mode/#code [+o Attilla] by ChanServ
22:10 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Ping Timeout]
22:18 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
22:18 mode/#code [+o Attilla] by ChanServ
--- Log closed Sun May 31 00:00:33 2009
code logs -> 2009 -> Sat, 30 May 2009< code.20090529.log - code.20090531.log >