#jogamp @ irc.freenode.net - 20140311 19:30:11 (UTC)


20140311 19:30:12 -NickServ- This nickname is registered. Please choose a different nickname, or identify via /msg NickServ identify <password>.
20140311 19:30:17 * jogamp (~jogamp@anon) has joined #jogamp
20140311 19:30:17 * Topic is 'http://jogamp.org | Hacking 3D Graphics, Multimedia and Processing across Devices'
20140311 19:30:17 * Set by rmk0 on 20130116 23:58:04
20140311 19:30:17 -NickServ- You are now identified for jogamp.
20140311 19:30:55 <rmk0> https://jogamp.org/bugzilla/show_bug.cgi?id=999
20140311 19:31:00 * rmk0 works furiously
20140311 19:31:11 <rmk0> if someone wants to get bug 1000, now's the time
20140311 19:31:20 <sgothel> ahaha :)
20140311 19:31:25 <[Mike]> Well I suppose rules have to be in place. I could imagine the other situations in which case you wouldn't want them to be deleted.
20140311 19:31:26 * mikailo (~mikailo@anon) has joined #jogamp
20140311 19:31:37 <sgothel> siggraph 2014 ?
20140311 19:31:59 <sgothel> peace on earth ?
20140311 19:32:25 <[Mike]> global warming?
20140311 19:32:43 <sgothel> yeah, I guess Xerxes would like that up there :)
20140311 19:33:23 <sgothel> working fusion power, aka sun on earth ? :)
20140311 19:42:10 * mikailo (~mikailo@anon) Quit (Remote host closed the connection)
20140311 19:44:26 * neelschitre (~neelschit@anon) has joined #jogamp
20140311 19:46:26 * neelschitre (~neelschit@anon) Quit (Remote host closed the connection)
20140311 19:51:13 <rmk0> found the bug
20140311 19:51:26 * hija (~hija@anon) Quit (Quit: hija)
20140311 19:51:35 <rmk0> managed to copy the source zip over the top of the code jar
20140311 19:52:00 <rmk0> i knew a bug like this was possible, and so used cp -n everywhere
20140311 19:52:16 <rmk0> clearly -n (--no-clobber) means "sometimes quietly clobber"
20140311 19:53:02 <rmk0> ah... no, it doesn't
20140311 19:53:07 <rmk0> cp -n "$1" "$2.tmp" || exit 1
20140311 19:53:07 <rmk0> info "rename $2.tmp $2" 1>&2
20140311 19:53:07 <rmk0> mv -n "$2.tmp" "$2" || exit 1
20140311 19:53:13 <rmk0> the mv invocation wasn't using -n
20140311 19:53:17 * rmk0 kicks self
20140311 19:53:59 <rmk0> that's got to be the most obnoxious bug i've managed so far this year... and probably all of last year too
20140311 19:54:08 <rmk0> really unpleasant
20140311 19:58:37 <sgothel> fixed the zfs backup script here .. duh (prev. snapshot for incremental-backup was missing)
20140311 19:59:17 <sgothel> backing up ..
20140311 19:59:23 <sgothel> on for a walk .. laters
20140311 20:06:46 <sgothel> @Mark: .. one idea came up - those mv/cp/rm commands using a whole path w/ folder names, might be quite risky ?
20140311 20:07:09 <sgothel> I usually try to 'cd path ; mv lala dest/' .. dunno
20140311 20:07:33 <sgothel> ok .. now up to that walk :)
20140311 20:12:11 <rmk0> sgothel: you're not wrong, but the components of the paths come from "trusted" source (eg, the config files)
20140311 20:12:38 <rmk0> would be a hell of a lot more work to sanitize that in the shell, if it's even possible... would rewrite the whole pile as java instead
20140311 20:14:54 <rmk0> this bug was caused by the combination of the horrible scoping rules the shell has for variables, and missing a command line option from mv that would have prevented the error from being silent
20140311 20:30:46 * littlepavel (~littlepav@anon) has joined #jogamp
20140311 20:33:40 * hija (~hija@anon) has joined #jogamp
20140311 20:35:00 <hija> i am ever so tempted to take bug 1000 :P
20140311 20:35:25 <rmk0> DO IT!
20140311 20:42:03 * littlepavel (~littlepav@anon) Quit (Remote host closed the connection)
20140311 20:58:07 * magaio (~magaio@anon) Quit (Ping timeout: 244 seconds)
20140311 20:58:59 <rmk0> sgothel: https://jogamp.org/bugzilla/show_bug.cgi?id=999#c1
20140311 20:59:07 * magaio (~magaio@anon) has joined #jogamp
20140311 20:59:52 <rmk0> up to you what happens next, really... could replace the existing 2.1.5 on the jogamp repository and deploy a 2.1.5b to central
20140311 21:08:53 <rmk0> according to maven docs, it should be called 2.1.5-01