Roger's woze

October 31, 2011

ffmpeg windows –enable-memalign-hack

Filed under: Uncategorized — rogerdpack @ 3:43 pm

I don’t think windows needs this anymore *ever* (now it uses always av_alloc which is already aligned…I guess…yeah) libraries you separately compile might though…or other programs, etc.

mplayer mingw woe

Filed under: Uncategorized — rogerdpack @ 10:10 am
vidix/mga_vid.o:mga_vid.c:(.text+0xdda): undefined reference to `__chkstk_ms'
vidix/mga_crtc2_vid.o:mga_crtc2_vid.c:(.text+0x10ea): undefined reference to `__chkstk_ms'

meant "do a make clean then make again, you're using a different gcc which must be different somehow"

wikimedia/mediawiki allow comments

Filed under: Uncategorized — rogerdpack @ 7:52 am

http://www.mediawiki.org/wiki/Extension:Comments is what you want, I think.

October 28, 2011

wordpress compromised/hacked

Filed under: Uncategorized — rogerdpack @ 9:50 pm

keep getting it so that google reports it as “buy difoclenac without prescription”

 

wget -U "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.htm" yourwebsite.com
or
curl -A "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.htm" betterlogic.com/roger/
and search for title.
Temporary fix is to reinstall wordpress.
Not sure how the compromise occurred.

Buy Diclofenac Without Prescription

or

Buy Diovan Without Prescription

were symptoms.  Man this sucks it just keeps coming back…

wikimedia set logo size

Filed under: Uncategorized — rogerdpack @ 5:09 pm

you can’t I don’t think–resize the image to 135×135 or so, re-upload :P

undefined reference to `faacEncOpen’

Filed under: Uncategorized — rogerdpack @ 4:32 pm
libmpcodecs/ae_faac.o:ae_faac.c:(.text+0x8e): undefined reference to `faacEncOpen'
libmpcodecs/ae_faac.o:ae_faac.c:(.text+0xd6): undefined reference to `faacEncGetCurrentConfiguration'
libmpcodecs/ae_faac.o:ae_faac.c:(.text+0x1ab): undefined reference to `faacEncSetConfiguration'
libmpcodecs/ae_faac.o:ae_faac.c:(.text+0x2d2): undefined reference to `faacEncGetDecoderSpecificInfo'
libmpcodecs/ae_faac.o:ae_faac.c:(.text+0x39b): undefined reference to `faacEncEncode'

for me meant
meant "you need this patch, for it to use the dynamic library instead"

http://oss.netfarm.it/mplayer/patches/xx_faac_dynload.diff

it “might” mean you need -lfaac in your configure

mplayer woe

Filed under: Uncategorized — rogerdpack @ 3:53 pm
g:/downloads/mingw/include/stdlib.h:137: warning: redundant redeclaration of '_errno'
g:/downloads/mingw/include/errno.h:91: warning: previous declaration of '_errno' was here
libavcodec/libx264.c: In function 'convert_pix_fmt':
libavcodec/libx264.c:258: error: 'X264_CSP_I422' undeclared (first use in this function)
libavcodec/libx264.c:258: error: (Each undeclared identifier is reported only once
libavcodec/libx264.c:258: error: for each function it appears in.)
libavcodec/libx264.c: In function 'X264_init':
libavcodec/libx264.c:317: warning: 'crf' is deprecated (declared at libavcodec/avcodec.h:2464)

I think this meant "your ffmpeg is too new, compared to your libx264, you need to update your libx264, or disable it"

October 27, 2011

ruby create thread object without starting it

Filed under: Uncategorized — rogerdpack @ 2:31 pm

Here’s how:

a = proc { Thread.new { # your code here } }

# hasn’t started yet

a.call

# now it has!

pwait for windows/linux/cygwin

Filed under: Uncategorized — rogerdpack @ 2:18 pm

see https://github.com/rdp/after for my attempt :)

ruby open-uri woe

Filed under: Uncategorized — rogerdpack @ 12:19 pm

RuntimeError: redirection forbidden: https://sourceforge.net/projects/mplayer-edl/files/mplayer.exe -> http://sourceforge.net/projects/mplayer-edl/files/mplayer.exe/download

meant “start at http so it can redirect, I guess” (doesn’t like redirecting from https to http)

Older Posts »

Powered by WordPress