"If you don't want to be replaced by a computer, don't act like one. — Arno Penzias
https://mayo.blogger.de/
Blogger.de
andre wisplinghoff (mailto:andre.wisplinghoff@gmail.com)
2010-03-12T17:43:26Z
en
hourly
1
2000-01-01T00:00:00Z
-
LaTeX: cannot open type 1 font file
https://mayo.blogger.de/stories/1597820/
If you encounter a strange error from pdftex saying "cannot open type 1 font file" with a reference to some pfb file, there's a good chance you are missing the appropriate font.
In my case, bchri8a.pfb was missing and a google search revealed that this file belongs to a font called "charter". Installing this font with the MikTeX package manager solved this issue for me.
Blogger.de
andre wisplinghoff
LaTeX
Copyright © 2010 andre wisplinghoff
2010-03-12T17:42:52Z
-
log4j: Log Exception with/without Stacktrace like you...
https://mayo.blogger.de/stories/1493008/
Today I had the problem that no stacktrace was printed in logs produced by log4j. Here's an important difference between the logging functions with 1 and 2 parameters:
Logger logger = Logger.getLogger(MyClass.class);
try {
someFunction();
} catch(MyException e) {
logger.error("someFunction failed", e); // prints stacktrace
logger.error("someFunction failed" + e); // one-liner with type of exception
}
So, use 2 parameters with the Throwable object...
Blogger.de
andre wisplinghoff
Java
Copyright © 2009 andre wisplinghoff
2009-09-23T15:42:03Z
-
gContextMenu Reference/Attributes
https://mayo.blogger.de/stories/1491692/
A list of handy attributes and functions of gContextMenu for Mozilla Firefox Extension development (posted because google didn't find any documentation on gContextMenu when I looked for it):
gContextMenu.target
The DOM object the user clicked on.
gContextMenu.menu
The internal object representing the popup menu.
gContextMenu.popupURL
Something internal. Yeah, I know, cool explanation =).
gContextMenu.onTextInput
Returns true if target is a text input element.
gContextMenu.onImage
Returns true...
Blogger.de
andre wisplinghoff
Firefox Extension Development
Copyright © 2009 andre wisplinghoff
2009-09-21T22:11:48Z
-
[solved] Flash slow in Linux; HD Videos unplayable
https://mayo.blogger.de/stories/1454112/
Wow I started to hate my laptop. Often I was unable to watch videos or it was so slow that I didn't want to continue. Yesterday, finally, I found what caused those problems:
I noticed that for some time when booting a message appeared saying
FATAL: Error inserting acpi_cpufreq (.../acpi-cpufreq): No Such Device
This was the culprit, no cpu frequency scaling, it seems my cores have been running on 800 Mhz for a few months. Somehow "CPU frequency scaling" was disabled in my BIOS (perhaps after...
Blogger.de
andre wisplinghoff
Copyright © 2009 andre wisplinghoff
2009-07-26T20:01:30Z
-
Watch Move Media Player Videos in Linux using Wine
https://mayo.blogger.de/stories/1457068/
I like to watch some shows from german TV channel pro7, but unfortunately their site depends on Move Media Player, which only support Windows.
In the windows version of Firefox (started from wine) you can install Move Media Player without problems, you can also start the video but there is only sound, no video (just black).
I found a workaround, though. Go to the site where you want to watch the video. Then, before it has begun playing, go to another tab in your browser. When you hear the sound...
Blogger.de
andre wisplinghoff
Copyright © 2009 andre wisplinghoff
2009-07-31T05:11:24Z
-
TwitRel: sort your twitter friends' timeline by relevance
https://mayo.blogger.de/stories/1447709/
I don't know how you are using twitter, but I like to follow friends as well as news sites and politicians. Normally, you'll see your friends' timeline sorted by date. This can be annoying if you got some spammy friends that dominate your first page and make it hard to keep up with others that don't tweet that often.
I didn't find a client that is capable of reordering the timeline - taking into account how many tweets a friend is writing - so I decided to write it on my own.
The result is a Ruby...
Blogger.de
andre wisplinghoff
TwitRel
Copyright © 2009 andre wisplinghoff
2009-07-15T20:32:33Z
-
Vim Rails Plugin
https://mayo.blogger.de/stories/1436193/
I had an issue with the quickfix functionality in Vim and the Rails Plugin.
In test failures, a path is given to the test file where there was the test failure. This path starts sometimes in my Installation (Rails 2.3.2, Ruby 1.8.7) with a '/' (only happens paths to test cases, I think). I don't now why, it doesn't really make sense and the vim-rails plugin doesn't like this, too and try's to open up a file with an absolute path instead of one relative to the rails project path.
Today I was so...
Blogger.de
andre wisplinghoff
Ruby on Rails
Copyright © 2009 andre wisplinghoff
2009-06-27T17:21:34Z
find
Search this site:
q
https://mayo.blogger.de/search