| xand | scissors |
| __Ace__ | like, say I have this: [ 1.334 2.3255 3.225 4.3235 5.14 6.729 7.75 8.6535 0] [ 9.334 8.3255 7.225 6.3235 1.14 2.729 0 0 0] [ 0 0 0 0 19.334 18.3255 17.225 14.3157 0] |
| xand | don't paste |
| __Ace__ | sorry, thought it was easier that way |
| rindolf | __Ace__: isn't there a slice method or module? |
| __Ace__ | yea, slice but I dont get it.. |
| ayrnieu | don't get what? Ask a question. |
| __Ace__ | well, Im having trouble to slize out say row 0, col 3 to row 3, col 5 all I get with slice is rowwise |
| ayrnieu | you don't slice with x,y coordinates, anyway. You can only slice out rows at a time? Then rotate the matrix, perform any slices, and rotate it back. |
| rindolf | __Ace__: it is possible - I'm sure of it. __Ace__: let me see. |
| __Ace__ | rotate? |
| dazjorz | BinGOs: there? |
| __Ace__ | that cant be effective rindolf: that would be awesome! with: slice("1:3,0:1"); I get: [2.3255 3.225 4.3235] [ 7.75 8.6535 0] |
| integral | Transpose should be constant time... |
| dazjorz | I want to change somebody's mode, but POE::Component::IRC's explanation is a bit vague |
| __Ace__ | so yes, no x,y slicing :) |
| dazjorz | "Request a mode change on a particular channel or user. Takes at least one argument: the mode changes to effect, as a single string (e.g., "+sm-p+o"), and any number of optional operands to the mode changes (nicks, hostmasks, channel keys, whatever.)" |
| ayrnieu | ace - it "can't be effective"? If you plan to deal with vectors much, you should learn an APL. |
| dazjorz | "Or just pass them all as one big string and it'll still work, whatever. I regret that I haven't the patience now to write a detailed explanation, but serious IRC users know the details anyhow." |
| xand | dazjorz: you can't change other peoples modes usually |
| dazjorz | xand: My bot is an op in several channels, I want to learn it the }op command for i.e. myself. |
| xand | that's a channel mode |
| dazjorz | xand: /mode +o dazjorz |
| xand | that's a channel mode |
| dazjorz | xand: how can that be a channel mode? :/ |
| ayrnieu | no, /mode +o #channeel dazjorz |
| dazjorz | ah |
| xand | because |