00:00:25  * AvianFlujoined
00:08:24  * trentmquit (Quit: Leaving.)
00:17:47  * yunong1quit (Quit: Leaving.)
00:23:34  * dap1quit (Quit: Leaving.)
00:40:11  <ralphtheninja>I know that I can copy/move an object by creating a link etc, but links are only allowed for objects and not directories, any ideas on what to do if I want to rename a folder?
00:42:39  <ralphtheninja>would be great with a 'mv' operation on folders and files
00:43:33  * nfitchquit (Quit: Leaving.)
00:45:00  <ralphtheninja>mcavage: ping
01:33:47  * kigsterjoined
01:39:44  <mcavage>ralphtheninja: sadly there's no easy way to do that, and there kind of can't be.
01:56:33  * ins0mniaquit (Ping timeout: 264 seconds)
02:38:49  * mcavage_joined
02:38:50  * mcavagequit (Read error: Connection reset by peer)
02:49:01  * kigsterquit (Remote host closed the connection)
02:57:41  <ralphtheninja>mcavage_: ok
02:57:42  * mcavage_quit (Read error: Connection reset by peer)
02:57:55  * mcavagejoined
02:58:10  <ralphtheninja>mcavage: can I access the local file system through a job?
02:58:20  <ralphtheninja>like say I have a node.js asset
02:58:26  <ralphtheninja>or bash or whatever
03:08:15  <ralphtheninja>mcavage: I can store that meta data myself on my side, np :)
03:24:26  <wesolows>your assets are mapped into the filesystem, yes.
03:24:51  <wesolows>you can read them, along with the objects you're acting on, but you can't modify them.
03:31:33  <ralphtheninja>wesolows: ✔
03:46:04  * AvianFluquit (Ping timeout: 264 seconds)
03:46:27  * AvianFlujoined
03:58:13  * AvianFluquit (Remote host closed the connection)
03:58:41  * AvianFlujoined
04:58:54  * AvianFluquit (Remote host closed the connection)
05:27:03  * trentmjoined
05:47:16  * mamashjoined
06:44:09  * mcavage_joined
06:44:10  * mcavagequit (Read error: Connection reset by peer)
07:04:37  * trentmquit (Quit: Leaving.)
07:18:15  * mamashpart
07:36:57  * mamashjoined
07:52:11  * mcavagejoined
07:52:11  * mcavage_quit (Read error: Connection reset by peer)
08:16:59  * yruss972joined
09:05:25  * trentmjoined
09:07:08  * natefooquit (Ping timeout: 268 seconds)
09:07:25  * natefoojoined
09:11:21  * yruss972quit (Remote host closed the connection)
09:11:53  * yruss972joined
09:15:27  * trentmquit (Ping timeout: 276 seconds)
09:16:15  * yruss972quit (Ping timeout: 245 seconds)
09:32:25  * mcavage_joined
09:32:26  * mcavagequit (Read error: Connection reset by peer)
09:58:54  * ins0mniajoined
10:22:02  * mamashpart
10:22:12  * mamashjoined
10:24:07  * mcavagejoined
10:24:08  * mcavage_quit (Read error: Connection reset by peer)
10:46:06  * mcavage_joined
10:46:09  * mcavagequit (Read error: Connection reset by peer)
10:50:39  * yruss972joined
11:38:55  * yruss972quit (Remote host closed the connection)
11:39:30  * yruss972joined
11:43:38  * yruss972quit (Ping timeout: 240 seconds)
12:54:33  * AvianFlujoined
12:58:40  * AvianFluquit (Ping timeout: 246 seconds)
13:13:28  <nahamu>ralphtheninja: in theory you could create the new directory, link in all the existing objects from the original directory, then remove the old one
13:14:05  <nahamu>doing that recursively could be very annoying if the source directory has lots of child directories
13:14:33  <nahamu>but you could script up the solution if moving the files is really critical.
13:14:58  <nahamu>mcavage_: I forget. If you have a public object, can I create a snaplink to it under my own hierarchy?
13:16:08  <nahamu>(I'd imagine that could either confuse billing, or you just charge everyone with a link and Joyent would save on actual storage costs because it would be the same underlying stored object)
13:26:08  <marsell>I recall Mark saying that only data at-rest is charged.
13:30:47  <nahamu>marsell: if you create a 1GB file, clearly you should be charged for it.
13:31:15  <nahamu>If I could create a link to your 1GB file and you delete your (original) link to it, clearly I should be charged.
13:31:30  <nahamu>If you don't delete your link, do we both get charged for that 1GB?
13:32:21  <marsell>Is it even possible to do that right now? I've never tried using a snaplink on another person's public.
13:32:36  <nahamu>I don't know, that's why I asked.
13:33:33  <marsell>I think I'll exit stage left and wait for Mark. As far as I know, ACL's are high priority items on the roadmap.
13:33:47  <nahamu>:)
13:33:55  <nahamu>nice to see you, marsell.
13:37:51  <marsell>Nice to see you too! :D
14:01:13  * mamashpart
14:50:52  * paulfryzeljoined
14:52:33  * mamashjoined
14:57:12  * paulfryzelquit (Remote host closed the connection)
14:57:47  * paulfryzeljoined
15:02:05  * paulfryzelquit (Ping timeout: 245 seconds)
15:14:51  * paulfryzeljoined
15:28:28  * trentmjoined
15:30:41  * trentmquit (Client Quit)
15:48:07  * nfitchjoined
15:48:43  <mcavage_>nzhzmu_: yes, you can snaplink to another user's object under ~~/public
15:48:54  <mcavage_>at that point, you are both charged.
15:49:05  <mcavage_>we went round and round and round and round on this, but that's the only sane thing we can do.
15:49:47  <mcavage_>nahamu: ^^
15:49:58  <mcavage_>sorry I thought you were _'d too :)
15:50:21  * dapjoined
15:59:45  * fredkquit (Quit: Leaving.)
15:59:54  * fredkjoined
16:08:45  <nahamu>mcavage_: cool.
16:09:11  <nahamu>and yes, the double charging is indeed the only sane choice.
16:20:21  * trentmjoined
16:24:06  * echelog-1quit (Ping timeout: 240 seconds)
16:27:01  * echelog-1joined
16:30:56  * paulfryz_joined
16:34:12  * paulfryzelquit (Ping timeout: 260 seconds)
16:42:53  * paulfryz_quit (Remote host closed the connection)
16:43:29  * paulfryzeljoined
16:48:30  * paulfryzelquit (Ping timeout: 276 seconds)
16:56:58  * paulfryzeljoined
17:01:13  * ins0mniaquit (Ping timeout: 243 seconds)
17:23:40  * papertigersquit (Quit: papertigers)
17:49:55  * kigsterjoined
17:59:29  * ins0mniajoined
18:44:24  * kigsterquit (Remote host closed the connection)
18:45:55  * kigsterjoined
18:57:42  <ralphtheninja>hey guys, I have a question
18:58:43  <ralphtheninja>I'd like to create thumbnails of images on manta by running e.g. ImageMagick convert on an object on manta and store the result on manta
18:58:53  <ralphtheninja>any suggestions on how to proceed?
18:59:30  <rmustacc>That sounds like a pretty straightforward map job.
18:59:40  <wesolows>How about http://apidocs.joyent.com/manta/job-patterns.html#image-conversion ?
19:00:24  <rmustacc>The biggest question to answer is really how you want to lay out the thumbnails vs. others in manta.
19:00:48  <ralphtheninja>wesolows: thanks
19:01:16  <ralphtheninja>rmustacc: yeah I've been thinking about that too, I'll probably just give them names like '.thumb.foo.jpg' or something like that
19:01:32  <ralphtheninja>given foo.jpg is the input file
19:02:16  <tjfontaine>I think it's usually best to encode a size, in case later you want larger
19:02:18  <rmustacc>That one is all just whatever convention you want. Some folks do that, some put them in its own thumb directory, etc.
19:02:23  <tjfontaine>or smaller
19:02:47  <ralphtheninja>tjfontaine: good idea
19:03:32  <ralphtheninja>ok, so .. now I'd like to to this with node and not on command line .. any pointers there?
19:03:58  <ralphtheninja>essentially I have three inputs .. the file to convert .. the name of the output file .. and the geometry string to the convert -resize command
19:05:38  * nfitchquit (Quit: Leaving.)
19:08:45  <mcavage_>any reason you really want to do that in node? Aren't you just going to be exec()'ing "convert" anyway/
19:08:46  <mcavage_>?
19:09:19  <mcavage_>ralphtheninja: if you want to do it in node, you probably want to have a look at this: http://mcavage.me/blog/2013/07/19/using-node-modules-in-manta/
19:10:04  <ralphtheninja>mcavage_: good question .. I just need to get feedback when the conversion is done .. if I can get that from cli too then np
19:10:22  <mcavage_>isn't convert exiting 0 all you need?
19:11:14  <mcavage_>i.e.,: $ convert "some args" $MANTA_INPUT_FILE && mpipe -f /path/to/converted $(echo $MANTA_INPUT_OBJECT | sed "some output name")
19:11:22  <mcavage_>that's all I'd do anyway :)
19:12:53  <ralphtheninja>would you wrap that one in a script and use as an asset on manta?
19:14:35  <ralphtheninja>oh I think you misunderstood me .. I don't want to run node on manta .. node is running on my server .. which is talkign to manta via node-manta
19:14:48  <mcavage_>oh, I did misunderstand.
19:14:51  <mcavage_>So what do you want then?
19:15:19  <mcavage_>like you just want to kick off the job from node? or something else?
19:15:36  <ralphtheninja>yes exactly
19:16:08  <ralphtheninja>just the node equivalent of doing it on the command line with mjob etc
19:16:52  <mcavage_>oh, in that case, I'd just look at the unit tests for a small example: https://github.com/joyent/node-manta/blob/master/test/client.test.js#L233-L351
19:16:59  <mcavage_>obviously you can collapse all that together.
19:17:20  <mcavage_>the node sdk docs are up on the manta site now, btw: http://apidocs.joyent.com/manta/nodesdk.html
19:17:27  <mcavage_>http://apidocs.joyent.com/manta/nodesdk.html#clientcreatejobjob-options-callback
19:18:31  <ralphtheninja>mcavage_: thanks
19:19:04  <ralphtheninja>so the general scenario is like 1. create a job 2. set keys for the job and tell it to run 3. wait for it to finish ?
19:20:11  <mcavage_>(1) create job, (2) feed keys, (3) end job, (4) wait for done.
19:21:38  <mcavage_>(3) is really "end input"
19:21:52  <mcavage_>i.e., tell manta "I'm done feeding you keys now, go ahead and run to completion"
19:24:08  <ralphtheninja>ok cool, should be enough to get me started, thanks a million
19:24:30  <mcavage_>np
19:28:12  * trentmpart
19:28:20  * bixujoined
19:40:30  * mamashpart
19:54:56  * chorrelljoined
19:58:36  * kigsterquit (Remote host closed the connection)
19:59:43  * kigsterjoined
20:16:38  * kigsterquit (Ping timeout: 240 seconds)
20:23:04  * _Tenchi_joined
20:35:41  * mamashjoined
20:48:13  * chorrellquit (Quit: Textual IRC Client: www.textualapp.com)
20:52:23  * mamashpart
22:55:26  * mcavage_quit (Remote host closed the connection)
23:08:15  * paulfryzelquit (Remote host closed the connection)
23:08:51  * paulfryzeljoined
23:13:11  * paulfryzelquit (Ping timeout: 260 seconds)