Hopbot log for 2008-07-08 - Helma IRC channel: #helma on irc.freenode.net

2008-07-08:

[12:21] <simono> trying to read in a file, i would like to have a byte array of file-size. but i cant do var buff = new byte[len]; since byte is reservedword :( any way to get around this?
[12:22] <zumbrunn> what is byte a property of?
[12:22] <zumbrunn> then you could do whatever['byte'][len]
[12:23] <simono> byte would be the java primitive
[12:24] <zumbrunn> where do you get that? somewhere in Packages, right?
[12:25] <zumbrunn> can't you reference it there directly
[12:25] <zumbrunn> ?
[12:25] <simono> i'm trying to write a wrapper, much like helma.File .. i could use Byte instead of byte
[12:25] <zumbrunn> ok, I see
[12:26] <zumbrunn> well, there is no way around the reseverd word restriction other than the foo['prop'] trick as far as I'm aware of
[12:27] <simono> thx i'll try working with Byte and see how that performs
[12:27] <zumbrunn> bytearray would probably be better than Byte
[12:28] <zumbrunn> since Byte looks like a constructor
[12:28] <simono> i see, makes sense
[19:04] <zumbrunn> hey decke, JFYI... your helma freebsd port worked fine in a new 6.3 jail I setup today
[19:05] <zumbrunn> still don't know why it failed in that other jail
[19:05] <zumbrunn> but I know I got the same error when I tried it on a machine still running 6.1
[19:07] <zumbrunn> so, since that 6.3 jail is one that was upgraded, maybe there are some leftovers from 6.1 ports that didn't get upgraded for some reason or something
[19:08] <zumbrunn> anyway, it was working fine for me today
[19:08] <zumbrunn> (under 6.3)
[20:17] <decke> good to hear that...
[20:23] <decke> thanks for testing it...

 

 

In the channel now:

Logs by date: