greptilian logo

IRC log for #sourcefu, 2013-06-25

http://sourcefu.com

| Channels | #sourcefu index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
00:22 onder` joined #sourcefu
14:15 pdurbin joined #sourcefu
14:21 pdurbin1 joined #sourcefu
14:44 sivoais joined #sourcefu
14:44 pdurbin TheBigDB :: The open facts database - http://thebigdb.com
14:53 sivoais joined #sourcefu
14:57 codex joined #sourcefu
15:40 pdurbin ah ha, FileUtils.forceDelete(dir) from http://commons.apache.org/proper/commons-io/ is an `rm -rf` for Java
15:40 * pdurbin upvotes http://stackoverflow.com/questions/3987921/not-able-to-delete-the-directory-through-java/3988189#3988189
15:51 semiosis pdurbin: apache commons \o/
15:52 pdurbin yeah, i'm using their stuff to implement support for tarballs: https://redmine.hmdc.harvard.edu/issues/3075
15:56 semiosis there's not already a java tar library?!
15:58 pdurbin semiosis: is there? please tell me!
15:59 semiosis http://commons.apache.org/proper/commons-compress/
15:59 pdurbin semiosis: right. that's what I'm using: https://redmine.hmdc.harvard.edu/issues/3075#note-3
16:00 semiosis oh gotcha
16:00 pdurbin I mean, I can use java.util.zip.GZIPInputStream for the .gz part of tar.gz
16:01 pdurbin but nothing in stock Java for the tar part, that I can tell
16:20 pdurbin oh, this was helpful. voted it up: http://stackoverflow.com/questions/315618/how-do-i-extract-a-tar-file-in-java/7556307#7556307
16:34 aditsu joined #sourcefu
17:10 semiosis pdurbin: are you using java7?
17:11 semiosis well, in either case, check this out: https://truezip.java.net/
17:11 semiosis looks like it might save you some time
17:11 semiosis i'm really interested in this NIO.2 Filesystem SPI introduced in java7
17:12 semiosis was chatting with the guys in #gluster yesterday about making a glusterfs provider
17:23 pdurbin joined #sourcefu
17:27 semiosis pdurbin: looks like s/truezip/truevfs/ -- https://truevfs.java.net/
17:28 pdurbin hmm, I saw some apache vfs thing
17:29 * semiosis looks
17:29 pdurbin anyway, here's my code, if you're interested: give option for .tar and .tar.gz ingest: #3075 · 443b2d5 · IQSS/dvn - https://github.com/IQSS/dvn/commit/443b2d5
17:29 semiosis http://commons.apache.org/proper/commons-vfs/ since you like links in the channel
17:29 pdurbin yeah, that one
17:30 semiosis i wonder if that is antiquated now that java7 has support for VFSes natively
17:30 semiosis the NIO.2 Filesystem SPI i mentioned earlier
17:30 pdurbin hmm
17:30 pdurbin well, we're on java 6
17:30 semiosis ah
22:03 rruma joined #sourcefu
23:45 onder` joined #sourcefu

| Channels | #sourcefu index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

http://sourcefu.com