# IRC log for #pdl, 2013-03-26

All times shown according to UTC.

Time Nick Message
02:16 MeierM joined #pdl
05:17 dummy_jb joined #pdl
08:47 Meiermann joined #pdl
10:40 Meiermann joined #pdl
10:48 MeierM joined #pdl
11:54 Molaf__ joined #pdl
14:25 run4flat joined #pdl
14:28 jberger run4flat, o/
14:28 run4flat jberger, did you figure out your question: http://pastie.org/7115929
14:28 run4flat ?
14:29 jberger not really, I fixed Tie::Array::CSV and now I can use it to do this for me
14:29 jberger all I really needed was to be able to wcols
14:29 run4flat oh, ok
14:29 * run4flat marks the issue as solved
14:29 run4flat :-)
14:29 jberger but the columns are of uneven length
14:29 jberger sorry, I should have pinged you
14:30 jberger if you already had a solution, I would be happy to hear it, but if not don't worry
14:31 run4flat I didn't have a solution per se
14:31 run4flat actually...
14:33 run4flat this should do it:
14:33 run4flat \$c = pdl(\$a, \$b)->mv(-1,1)->clump(2)
14:33 run4flat pdl(\$piddle1, \$piddle2) acts as a relaxed version of "cat
14:33 run4flat "
14:34 jberger hmmmm, interesting
14:34 * jberger looks up what the rest does
14:36 jberger ok, can you explain the mv command here
14:37 jberger I was stepping though the methods and I dont get it sry
14:39 run4flat sure
14:39 run4flat try mv on sequence(4, 5, 6)
14:39 run4flat for example, in the shell
14:39 run4flat p sequence(4, 5, 6)
14:40 run4flat then p sequence(4, 5, 6)->mv(1, 0)
14:40 run4flat you'll see which index is run over "first"
14:40 run4flat that's the zero index, and we just moved something else into the "first" slot
14:40 run4flat though, hmm
14:40 jberger sounds like xchg
14:40 run4flat I probably should have said mv(-1, 0) instead of mv(-1, 1)
14:41 run4flat very similar to xchg
14:41 run4flat xchg swaps two
14:41 run4flat mv moves on and shifts the others
14:41 jberger gotcha
14:42 jberger and no, you were right, mv(-1,1) is what I wanted
14:42 jberger or it gives me the result I wanted
14:42 jberger hmmmm
14:43 * jberger thinks my example might be faulty
14:44 jberger ok, my example is correct
14:44 jberger it gets more clear by saying \$b=xvals(2,10)+2
14:45 run4flat good
14:45 run4flat alright, off to work. o/
14:45 jberger o/
14:45 jberger thanks
14:46 * jberger checks time, wonders if run4flat is on spring break time? :-)
14:46 run4flat postdocs know no spring break
18:25 _vicash_ joined #pdl
18:31 _vicash_ joined #pdl
20:17 _vicash_ joined #pdl
22:02 Meiermann joined #pdl
22:10 _vicash_ joined #pdl