Perl 6 - the future is here, just unevenly distributed

IRC log for #pdl, 2013-07-21

| Channels | #pdl index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:10 jberger Mithaldu, I'm not sure how big the rewrite is, but yes at least one of the things that people (especially run4flat) are working on is imports
01:12 jberger for now, you can use PDL::Lite and then import only those function you want from their actual namespaces
01:41 jberger__ joined #pdl
01:42 Mithaldu jberger: good to hear, and thanks, i'll look at PDL::Lite :)
01:56 Meiermann joined #pdl
02:02 Mithaldu and more questions: i see there is PDL::Transform, but is there also any way to easily generate transformation matrixes that combine translation, rotation and scaling?
02:39 jberger sorry I've never really worked with those features of PDL, I can't help you there
02:58 Mithaldu it's ok, i'll make a little wrapper of my own :)
02:58 Mithaldu just asked in case i overlooked something
03:01 jberger there may be something, I'm just not the one to ask
03:01 jberger :/
03:01 Mithaldu well, PDL::Transform is there
03:01 Mithaldu but sadly it does the transforming on its own, but doesn't give me matrices
03:02 Mithaldu and i need to dump those matrices into OpenGL shaders
03:02 jberger if there are ways to generalize, I'm sure we would consider patches
03:03 jberger it sound like useful functionality
03:03 * Mithaldu nods
03:03 Mithaldu i can try reading ::Transform to see if i can change it
03:03 jberger then again, just whip up something if you need it right now
03:03 Mithaldu if not, you get a wrapper module anyhow :D
03:03 jberger indeed
03:05 jberger word to the wise, when running an OS from an external hard drive, don't drop the drive :-(
03:05 jberger disk full of errors, nothing running correctly
03:05 jberger reinstalling now
03:05 Mithaldu you love living dangerous, huh?
03:06 jberger I have reasons that this is the least bad thing
03:07 Mithaldu i bet :)
03:07 Mithaldu also, it was a rotary, right?
03:07 jberger vs ssd, yeah
03:08 jberger esata so its as fast as an internal rotary
03:08 Mithaldu vs ssd?
03:08 Mithaldu never heard of that
03:09 jberger I was asking if you meant "is it a disk or an ssd"? to which I reply "its a regular spinning disk drive"
03:09 Mithaldu yeah, ok, i thought you were saying it was a specific type of ssd
03:10 Mithaldu that explains the random errors then
03:10 Mithaldu demagnetization by shock
03:10 jberger right
03:10 jberger realinstall seems to be working fine
03:10 jberger re-install
03:10 jberger latex takes to darn long to install though
03:11 jberger *so
03:11 Mithaldu never used that
03:11 jberger <3 LaTeX
03:12 jberger actually its easy to get started now
03:12 jberger latex in the cloud!!
03:12 Mithaldu and all i hear is people going "nobody actually reads this thesis, but it's sure damn pretty"
03:12 jberger sharelatex.com
03:12 Mithaldu i have nothing to write about ;)
03:12 Mithaldu i do most of my writing on irc
03:12 jberger well that's a different problem :-P
03:13 jberger but you can imagine preferring to use a proper markup language (darn-near full language in fact) to produce documents rather than Word though right?
03:14 Mithaldu honestly?
03:14 Mithaldu i want fucking both
03:14 Mithaldu i want to be able to click together a rough sketch
03:14 jberger thats LyX
03:14 Mithaldu then refine it in detail :P
03:15 Mithaldu now that's interesting
03:15 Mithaldu will have to remember
03:15 jberger or not, refining the generated LaTeX produced by LyX probably hurts more than just using LaTeX in the first place
03:15 jberger just a guess
03:15 Mithaldu well, that's a problem with the software then :P
03:15 jberger who knows, I haven't tried it
03:15 Mithaldu right
03:15 jberger but I know some people who love it
03:15 jberger I just don't know if they inspect the source or not
03:17 Mithaldu best time to ask :)
03:17 jberger I've gotten good enough at the raw stuff to just do it, personally
03:17 jberger I'll see if I can track someone down and ask to see some results
03:18 Mithaldu :)
03:18 jberger something else to get you <s>hooked</s> started:
03:18 jberger mathb.in
03:19 jberger http://mathb.in
03:19 Mithaldu i grew up believing that the best way to do things is to have BOTH gui and command line
03:19 Mithaldu that's how i'm better at git than most people i know
03:19 jberger git+github is so excellent
03:19 Mithaldu nah, tortoisegit, msysgit :)
03:19 jberger (where github IS my gui)
03:20 Mithaldu and git gui
03:20 jberger the project I'm working on now is CVS
03:20 jberger so I'm having to come to grips with THAT
03:20 Mithaldu my condolences for the brain cells you are undoubtedly losing
03:20 jberger oh well
03:21 * jberger rakes out the dead brain cells
03:22 * jberger <3 git even more now
03:22 Mithaldu what happened?
03:22 jberger $work
03:22 Mithaldu ah, forced you to learn it?
03:22 jberger yep
03:23 jberger and the more I learn, the more I see why git is so much better
03:23 Mithaldu good stuff
03:23 Mithaldu hint
03:23 Mithaldu when making commits
03:23 Mithaldu try git gui
03:23 jberger ok, I'll give it a go
03:23 Mithaldu it forces you to do a code review on your code while you commit
03:23 Mithaldu and makes it much easier to make smaller and focused commits
03:27 jberger well as it happens, I had to be up at 4am (local) this morning
03:27 jberger and though 10:30 is pretty early for me, I'm beat
03:27 jberger ttyl
03:27 jberger o/
03:27 Mithaldu haha, have a good night :)
03:27 jberger you too (or morning probably)
03:28 Mithaldu eh, i'm a night owl :)
10:59 pdurbin Mithaldu: hmm, I may well do most of my writing on IRC too :)
12:45 jberger_ joined #pdl
12:58 Mithaldu pdurbin: i think most do :)
12:58 Mithaldu is there a way to get the byte count in a piddle without doing $v->nelem * howbig( $v->get_datatype )?
13:18 chm joined #pdl
13:19 chm pdl> $a = sequence(13)
13:20 chm pdl> use PDL::Core qw( :Internal )
13:20 chm pdl> p $a->nelem * howbig( $a->get_datatype )
13:20 chm 104
13:20 chm pdl> p length ${ $a->get_dataref }
13:20 chm 104
13:21 chm Of course, this assumes that there are no holes in the data.
13:41 Mithaldu grumble grumble
13:41 Mithaldu i was hoping for something less unwieldy :)
13:42 Mithaldu espcially since i already need to go ->transpose->get_dataref all the time
16:52 drrho joined #pdl
19:48 chm joined #pdl
19:49 chm What about sub PDL::sizeof { return length ${ $_[0]->get_dataref } ?
19:49 chm That would be just $pdl->sizeof
19:50 chm I've often wondered why it is so difficult to get type info out of PDL (or a piddle)
19:50 chm Something that would be nice to clean up a bit.  Even adding a sizeof method would be nice.  :-)
20:04 chm The downside of the above implementation is that you usually don't want to make_physical your
20:05 chm piddle unless you need to---more efficient that way.
20:37 jberger__ joined #pdl

| Channels | #pdl index | Today | | Search | Google Search | Plain-Text | summary