00:21:29  * yruss972joined
00:29:49  * yruss972quit (Ping timeout: 246 seconds)
00:33:36  * ins0mniajoined
00:43:35  * notmattquit (Remote host closed the connection)
00:45:58  * notmattjoined
00:56:14  * abraxasjoined
01:00:36  * abraxasquit (Ping timeout: 245 seconds)
01:15:01  * AlainODeaquit (Quit: leaving)
01:21:58  * yruss972joined
01:30:01  * yruss972quit (Ping timeout: 245 seconds)
02:22:29  * yruss972joined
02:28:28  * yruss972quit (Read error: Connection reset by peer)
02:29:51  * echelog-1quit (Read error: Connection reset by peer)
02:31:03  * echelog-1joined
02:50:23  * ins0mniaquit (Ping timeout: 260 seconds)
03:22:57  * yruss972joined
03:31:27  * yruss972quit (Ping timeout: 260 seconds)
03:47:37  * ins0mniajoined
03:47:37  * _Tenchi_joined
03:47:41  * ins0mniaquit (Remote host closed the connection)
04:23:32  * yruss972joined
04:29:33  * yruss972quit (Read error: Connection reset by peer)
04:58:50  * yruss972joined
05:06:51  * yruss972quit (Ping timeout: 245 seconds)
05:34:02  * yruss972joined
05:39:14  * yruss972quit (Read error: Connection reset by peer)
06:34:33  * yruss972joined
06:50:30  * marsellquit (Quit: marsell)
06:51:00  * marselljoined
06:59:44  * yruss972quit (Ping timeout: 246 seconds)
07:03:28  * yruss972joined
08:09:55  * notmattquit (Remote host closed the connection)
08:17:29  * yruss972quit (Remote host closed the connection)
08:26:22  * mamashjoined
09:05:51  * yruss972joined
09:10:31  * notmattjoined
09:17:37  * notmattquit (Ping timeout: 246 seconds)
09:22:00  * yruss972quit (Remote host closed the connection)
09:33:03  * marsellquit (Quit: marsell)
09:45:54  * yruss972joined
10:14:57  * notmattjoined
10:23:30  * notmattquit (Ping timeout: 264 seconds)
10:30:57  * mamashpart
11:03:39  * mamashjoined
11:19:45  * notmattjoined
11:33:06  * mamashpart
11:35:30  * notmattquit (Ping timeout: 264 seconds)
11:36:27  * mamashjoined
12:04:52  * yruss972quit (Remote host closed the connection)
12:31:34  * notmattjoined
12:35:21  * yruss972joined
12:36:01  * notmattquit (Ping timeout: 245 seconds)
12:40:37  * yruss972quit (Read error: Connection reset by peer)
13:48:13  * yruss972joined
13:52:22  * yruss972quit (Ping timeout: 246 seconds)
14:16:30  * chorrelljoined
14:35:13  <nahamu>would it make sense for a tweaked version of the version of explorer.js that only listens on 127.0.0.1 and launches a web browser be named mbrowse and be added to the manta tools?
14:35:24  <nahamu>*of the version that can sign urls
14:36:14  <nahamu>Would also be nice if I could get a better styling of the page...
15:07:00  * chorrellquit (Quit: Textual IRC Client: www.textualapp.com)
15:46:48  * marselljoined
16:23:21  * utlemmingquit (Remote host closed the connection)
16:23:46  * utlemmingjoined
16:37:03  <rmustacc>nahamu: What you really want there is for the server to properly return unauthorized so you can resend the request with a signature authentication.
16:39:29  <nahamu>rmustacc: I was just going to start from the code that mcavage posted:
16:39:30  <nahamu>https://gist.github.com/nshalman/6827498#comment-921993
16:40:39  <nahamu>but yes, your way probably saves on excessive signing.
16:41:08  <nahamu>but trickier to implement because instead of just linking to the Manta URL, I'd have to handle all object requests directly.
16:41:40  <nahamu>though I suppose one could point /stor/<whatever> links back to the app for a signed URL redirect.
16:58:43  * abraxasjoined
17:03:08  * abraxasquit (Ping timeout: 246 seconds)
17:05:46  <rmustacc>nahamu: Well, ideally we'll just write a browser plug in that handles that auth.
17:13:18  <nahamu>that would be cool
17:31:42  * notmattjoined
17:34:19  * yruss972joined
17:38:28  * yruss972quit (Ping timeout: 240 seconds)
17:43:41  <nahamu>in theory a browser extension could also browse manta...
18:06:25  * mamashpart
18:44:17  * AlainODeajoined
18:52:47  <AlainODea>Are there characters that mjob -m does not like? It seems if I hand a $ in (even quoted) that it will not work
18:54:12  <AlainODea>I'm trying to build a fairly simple Java example that takes a regex and outputs matches from its inputs. I know Grep exists and is faster, but this is a purposefully Java-centric example
18:56:35  <rmustacc>AlainODea: I'd guess that part of the problem is that you might not be escaping enough.
18:56:59  <rmustacc>eg. you have to escape for your shell to pass to mjob, but then that job gets execed via the shell, IIRC.
18:59:06  <AlainODea>rmustacc: Interesting point. I have to consider how many layers of unboxing there will be
18:59:45  <AlainODea>argument=$1
18:59:46  <AlainODea>echo /$MANTA_USER/stor/manta-java-job/haystacks/haystack1.txt |
18:59:48  <AlainODea>mjob create -o \ -s /$MANTA_USER/stor/manta-java-job/bin/manta-java-job-assembly-1.0.jar \ -m " java -jar /assets/$MANTA_USER/stor/manta-java-job/bin/manta-java-job-assembly-1.0.jar '$argument' " \ -r "sort | uniq"
18:59:51  <rmustacc>AlainODea: dap linked me to this the other day http://apidocs.joyent.com/manta/job-patterns.html#shell-quoting
19:00:30  <AlainODea>Right! I saw that the other day and made a mental note that staying up all night on Thursday probably shredded :)
19:01:41  <AlainODea>Shell quoting is a bit clumsy in this case because I'd need to generate a new asset for every query
19:02:17  <AlainODea>I could probably somehow encode the query and decode it in Java
19:03:09  <AlainODea>base64 might be a good workaround
19:18:03  <AlainODea>I am getting some very weird behavior now. If I echo $MANTA_INPUT_FILE from Java and try to echo my decoded base64 I get a line for each Manta input (good and expected) and only a single line with my decoded base64 (very odd)
19:20:27  <AlainODea>https://github.com/AlainODea/manta-java-job/blob/master/src/main/java/com/alainodea/NeedleFinder.java
19:20:52  <AlainODea>It prints the output for line 10 on each, but not the output for line 12.
19:25:07  <AlainODea>It turns out I'm an idiot... again. Sleep deprivation is definitely lowering my IQ. -r "sort | uniq" ... *facepalm*
19:25:49  <rmustacc>Glad you found the answer.
19:34:14  <AlainODea>rmustacc: Thank you for your help. It's resolved now. I'll have the example posted shortly. It's not minimal, but it will scale out to far more complex Java use cases easily.
19:36:35  <rmustacc>Neat.
19:36:47  <rmustacc>And you've seen the java-manta sdk right?
19:37:31  <AlainODea>I have. At the moment I'm tackling using Java as an asset and using node-manta's CLI, but I plan to take a crack at the Java SDK at some point soon
19:40:58  <rmustacc>Sounds good, just wanted to make sure you saw it.
19:42:07  <AlainODea>https://github.com/AlainODea/manta-java-job
19:42:10  <AlainODea>Done
19:43:53  <AlainODea>Have a good one Robert. Thank you for your help today.
19:43:54  * AlainODeaquit (Quit: leaving)
20:58:37  * mamashjoined
21:16:38  * notmattquit (Remote host closed the connection)
22:16:59  * mamashpart