code logs -> 2006 -> Sun, 03 Sep 2006< code.20060902.log - code.20060904.log >
--- Log opened Sun Sep 03 00:00:06 2006
00:39 ReivZzz is now known as Reiver
00:47 Mahal is now known as MahalOut
01:07 MahalOut is now known as Mahal
01:48 Vornicus [~vorn@Nightstar-18307.slkc.qwest.net] has quit [Quit: ]
02:02 Mahal is now known as MahalAFK
02:04 David is now known as EvilDarkLord
02:27 Vornicus-Latens is now known as Vornicus
02:27 MahalAFK is now known as Mahal
02:28 Vornicus is now known as NSGuest-1094
02:28 NSGuest-1094 is now known as Vornicus
04:04 Reiver is now known as ReivOut
04:21 EvilDarkLord is now known as EvilNotHereAtAllLord
05:21 Mahal is now known as MahalAFK
05:27 MahalAFK is now known as Mahal
06:33 himi-modelling is now known as himi-coffee
07:26 MahalWork [~Mahal@Nightstar-5107.worldnet.co.nz] has joined #Code
07:26 mode/#code [+o MahalWork] by ChanServ
09:45 Vornicus is now known as Vornicus-Latens
09:59 ReivOut is now known as Rever
09:59 Rever is now known as Reiver
10:07 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
10:07 mode/#code [+o Chalcedon] by ChanServ
10:51
<@jerith>
Hey Reiver.
10:51
<@Reiver>
hihi!
10:51
<@Reiver>
wassup?
10:51
<@jerith>
I'm very upset with the S3 people,
10:51
<@jerith>
Their Ruby library is pretty crap.
10:52
<@jerith>
So now I have to write a wrapper around it.
10:52
<@Reiver>
Woe?
10:53
<@jerith>
Woe.
10:54
<@jerith>
I'm still not entirely comfortable in Ruby.
10:55 * Mahal offers sympathies from an unknowing distance.
10:55
<@Reiver>
(jerith is a dirty bloody south african.)
10:55
<@Reiver>
(Now you know distance!)
10:56
<@jerith>
But this library gives me raw XML back.
10:56
<@jerith>
And it doesn't do things like untruncate file listings.
10:58
<@Reiver>
...
10:58
<@Reiver>
That's... unhealthy...
10:59
<@jerith>
S3 will only give you back a thousand files at a time.
10:59
<@jerith>
But you can ask it for a list with an offset.
10:59
<@jerith>
So if you have 2.5k files in your bucket, you need to do three lists.
11:00
<@Reiver>
...Lovely.
11:00
<@jerith>
And check for the "truncated" bit in each so that you know where to stop.
11:00
<@Reiver>
>.<
11:01
<@jerith>
Now, it's trivial to wrap that in a loop.
11:02
<@jerith>
trunc=true; offset=0; files=[]; while(trunc) {files.append(getlist(offset)); offset += 1000}
11:02
<@jerith>
Or somesuch.
11:03
<@jerith>
(Pseudocode, obviously)
11:03
<@Reiver>
Yet it is a workaround to something that would have been nice to avoid needing at all...
11:06 * jerith nods.
11:06
<@jerith>
I can see cases where you might want a lower level library, but that's easy to solve.
11:07
<@jerith>
Expose the lower level stuff as well as the higher level stuff or just have a new wrapper object.
11:07 * Reiver nods.
11:07
<@jerith>
And this stupid terminal doesn't like my backspace key. :-(
11:07
<@jerith>
It sees it as delete.
11:07
<@Reiver>
Ow.
11:26 Mahal [~Mahal@Nightstar-5107.worldnet.co.nz] has quit [Quit: This computer just fell asleep.]
12:08 EvilNotHereAtAllLord is now known as EvilDarkLord
14:15 Reiver [~reaverta@IRCop.Nightstar.Net] has quit [Ping Timeout]
14:17 Reiver [~reaverta@IRCop.Nightstar.Net] has joined #Code
14:17 mode/#code [+o Reiver] by ChanServ
14:18 Reivlin [~reiver@Nightstar-23744.ubs-dsl.xnet.co.nz] has quit [Ping Timeout]
14:19 Reivlin [~reiver@Nightstar-28747.ubs-dsl.xnet.co.nz] has joined #Code
14:54
<@jerith>
Everyone in here needs to read "The Pragmatic Programmer". Just so that you know. :-)
15:08 Reiver is now known as ReivZzz
19:42 EvilDarkLord is now known as Thokk
20:10 himi-coffee is now known as himi-sydneying
20:54 Mahal [~Mahal@Nightstar-5107.worldnet.co.nz] has joined #code
20:54 mode/#code [+o Mahal] by ChanServ
21:59 Mahal [~Mahal@Nightstar-5107.worldnet.co.nz] has quit [Quit: FLEE TO WORK]
22:28 McMartin is now known as McMartin[adventures]
23:18 Mahal [~Mahal@Nightstar-5107.worldnet.co.nz] has joined #code
23:18 mode/#code [+o Mahal] by ChanServ
23:57
<@Mahal>
Please tell me we have somebidy around that can help me not be a complete numpty with ubuntu.
23:57
<@Mahal>
I'm fine in redhat base installs.
23:57
<@Mahal>
I know how to make what I need to go go in there.
23:57
<@Mahal>
I can't do it in ubuntu and I'm dying.
23:57
<@Mahal>
Nor do I have time to find out the normal way, because this is for work and needs done asap.
23:57
<@Mahal>
>.<
23:58
<@Vornicus-Latens>
Ubuntu uses Apt as its package manager. Administration -> Package Manager or something, or aptitude in the command line.
23:58
<@Mahal>
I can ssh out of it.
23:58
<@Mahal>
I can't ssh IN.
23:58
<@Mahal>
it's a server install.
23:58
<@Mahal>
command line only.
23:58
<@Vornicus-Latens>
okay, aptitude it is.
23:58
<@Mahal>
I have no issues with that fact, I'm used to it with redhat.
23:58
<@Mahal>
(it's doing an apt-get upgrade at this precise moment.)
23:59
<@Mahal>
Right, done
23:59 ReivZzz is now known as Reiver
23:59 * Mahal flail at not being able to SSH into a /default install/
23:59
<@Vornicus-Latens>
you're going to need ssh-d
--- Log closed Mon Sep 04 00:00:01 2006
code logs -> 2006 -> Sun, 03 Sep 2006< code.20060902.log - code.20060904.log >