Roger's woze

August 28, 2007

latex bug report

Filed under: Uncategorized — rogerdpack @ 12:02 am

so if you get this
(/usr/share/texmf/tex/latex/misc/setspace.sty
Package: `setspace’ 6.7 <2000/12/01>
) (/usr/share/texmf/tex/latex/misc/subfigure.sty) (./thesis_rough.aux)
(./description.tex [1] [2]) (./experiment_results.tex
Runaway argument?
or, which is about 1KB/S/Peer, or our server’s bandwidth (250KB/S) d\ETC.
! Paragraph ended before \Gin@iii was complete.
<to be read again>
\par
l.7

?

! LaTeX Error: Cannot determine size of graphic in pics/200p2p-v4/downloadToSta
rtTimes_scatter.png (no BoundingBox).

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.

l.12 …00p2p-v4/downloadToStartTimes_scatter.png}
no bounding box? huh? anyway just use pdflatex instead of latex, as latex really likes bounding boxes (?) (gleaned from http://amath.colorado.edu/documentation/LaTeX/reference/figures.html)

August 16, 2007

Django faster

Filed under: Uncategorized — rogerdpack @ 11:51 pm

http://www.alrond.com/en/2007/jan/25/performance-test-of-6-leading-frameworks/ good comparison of frameworks–django about 4x the speed of Ruby, which feels about right.  In the end not as big, as DB becomes a bottleneck (and no comparison of it with php, so…hey it’s just new age stuff, right?)

August 10, 2007

mplayer bug

Filed under: Uncategorized — rogerdpack @ 10:35 pm

if mplayer doesn’t play you dvd’s, try changing the title, a la mplayer dvd://7 instead of dvd://1

RoR bug report

Filed under: Uncategorized — rogerdpack @ 12:21 am

From days past…

“ActiveRecord::RecordNotFound: Couldn’t find ListMember without an ID” means “did you include ;first, or :all” in your method?

August 9, 2007

how to compile mod_ruby

Filed under: Uncategorized — rogerdpack @ 5:14 pm

Found this from an attempt awhile ago. Enjoy!

August 8, 2007

procmailrc bug

Filed under: Uncategorized — rogerdpack @ 12:10 am

so .procmailrc just not working for ya with spamassassin?  Check /var/messages and it may say “suspicious .procmailrc” in there–if it does, then chmod og-rwx .procmailrc :)

August 7, 2007

unable to login to ssh

Filed under: Uncategorized — rogerdpack @ 11:59 pm

So…setup your ssh keys and then it still just…doesn’t work?  Scan /var/messages for sshd — it might say

stormtrooper sshd[22125]: Authentication refused: bad ownership or modes for directory /home/rpack
If that’s the case, then go to/home

and <code>chmod og-w rpack</code>. Done.

how to create a spamassassin wiki user account

Filed under: Uncategorized — rogerdpack @ 9:08 pm

There’s a question on the user account page for spamassassin that ask “asf = ?” — I think they mean (shhh) apache software found…

August 5, 2007

apache bandwidth limiting

Filed under: Uncategorized — rogerdpack @ 2:21 am

In response to my original post https://www.blogger.com/comment.g?blogID=36363111&postID=7717707930780716383 on mod_bw

One note is that  apparently mod_bw got most of its ‘code inspiration’ from an equivalent, on apache 1.3 (says in the files).  GL!

August 4, 2007

installing apache and mod_rewrite

Filed under: Uncategorized — rogerdpack @ 1:40 am

so…install apache2 and get

Invalid command ‘RewriteEngine’, perhaps misspelled or defined by a module not included in the server configuration

no matter what you do to try and compile it in?  Try doing make clean, then –enable-rewrite as your parameters to configure.  Worked for me, now to configure it…

Older Posts »

Powered by WordPress