Roger's woze

January 27, 2011

CNA certified nursing assistant/aide class in orem, ut

Filed under: Uncategorized — rogerdpack @ 2:51 pm

Looks like the state has a funded one:

http://www.mlatc.edu/areas-of-study/programs.html

January 26, 2011

oracle error trace

Filed under: Uncategorized — rogerdpack @ 9:56 am

java.sql.SQLException: Io exception: Got minus one from a read call

meant “the DB machine was reset while you were doing a call” (I think? or maybe the box was down, from a previously connected connection)

January 24, 2011

mplayer needs help to use EDL’s with DVD’s

Filed under: Uncategorized — rogerdpack @ 6:02 pm

Currently it appears that mplayer doesn’t always play EDL’s with DVD’s right [1].

Basically, as it is playing through a DVD, at certain points (DVD-specific) it will “reset” the time clock.http://betterlogic.com/roger/2011/01/mplayer-counter-resets-while-playing-a-dvd/

So after minute 50, suddenly you’re at minute 0 again.

To fix this for sensible-cinema, you need to specify where these “resets” occur so that it can correctly munge the numbers before feeding them to mplayer for playback (i.e. if you want to play back the DVD through mplayer, you’ll need these, or if you want to use mencoder -edl to splice your file, you’ll need these).

To discover the numbers, play the DVD back in smplayer, and note carefully where it seems to reset.  Add these to your decision list, like this line (if you had two resets, one at 59:59 and one 10 minutes after that)

“mplayer_dvd_splits” => ["59:59", "10:00"],

Note that you can also "find" these more precisely by running your dvd through mplayer:

$ mplayer -benchmark dvd://1/e: -vo null -nosound 2>&1 > output.txt

let it play, then afterward, you can parse through it, and find where it resets to zero quite precisely.

Now SC will munge the numbers correctly for you.  You’ll have to do math to setup the delete lists right, if this is your only edit method (recommend using the other method–the normal “grab” then edit, instead, or playback in a real DVD player, then convert your timestamps using 30fps -> 29.97).

If there are “too many” resets, then you’ll probably have to grab it to a file and work off of that instead, or use a real DVD playback and convert timestamps.

[1] http://nextsprocket.com/tasks/fix-mplayer-dvdnav-counter-resets

wp-comments.php is blank

Filed under: Uncategorized — rogerdpack @ 2:43 pm

this typically means that you’ve been filtered out as spam,by say the akismet spam filter.

January 22, 2011

jruby woe

Filed under: Uncategorized — rogerdpack @ 11:46 pm
yo:1:in `require’: no such file to load — date (LoadError)
from yo:1
meant “with 1.5.6 you cannot run jruby with jruby-complete .jar in a path with spaces in it…” with 1.6.0 it seems to work all right…

January 21, 2011

installing a programs something overwrites the system path environment variable with a single path

Filed under: Uncategorized — rogerdpack @ 11:43 am

https://github.com/oneclick/rubyinstaller/issues#issue/51

This appears related:

http://forums.winamp.com/showthread.php?s=af27e53891780bc8fb1ac115528bf7db&threadid=313298&highlight=PATH

I’ve had it happen to me before….though it’s been awhile…

Appears some others have run into it before, as well:
http://www.no.adeptnordic.com/kb/article/CDAE http://subversion.wandisco.com/forums/4-windows/504-windows-binaries-issue-path-overwriting.html http://embdev.net/topic/132417 (this is where I got the original link to the NSIS installer issue)
http://www.rhinocerus.net/forum/lang-ruby/65464-ann-one-click-ruby-installer-186-26-release-candidate-1-a.html (search for 256)

Thanks for looking into it.

open source bounties

Filed under: Uncategorized — rogerdpack @ 9:57 am

My favorite place is this: http://nextsprocket.com/

(Just doing my part for googles’ sake)

January 20, 2011

jaffl pointer

Filed under: Uncategorized — rogerdpack @ 1:14 pm

want a void * pointer in jaffl?

here’s how:
Pointer tmp = MemoryIO.allocate(Pointer.SIZE / 8);
if (Pointer.SIZE == 32)
tmp.putInt(0,0xdeadbeef);
else
tmp/putLong(0,0xdeadbeef);

Thanks Wayne Messier for the tip.

Pointer ptr = tmp.getPointer(0);

January 19, 2011

windows unlocker

Filed under: Uncategorized — rogerdpack @ 9:31 pm

real url is http://cedrick.collomb.perso.sfr.fr/unlocker/ (for google’s sake)

Unfortunately I’m not sure if I can recommend his product anymore, since it’s adware…

convert midi to musicxml

Filed under: Uncategorized — rogerdpack @ 3:15 pm

I believe the “zong player” does this:

http://zongmusic.wordpress.com/2011/01/17/zong-0-4-released/

Older Posts »

Powered by WordPress