Thursday, April 02, 2020
Saturday, August 24, 2013
selenium
when trying to call a function on the webpage in e.g. assertEval use
this.browserbot.getUserWindow().myfunction()
This will work both in selenium IDE and via selenium-server.
this.browserbot.getUserWindow().myfunction()
This will work both in selenium IDE and via selenium-server.
Monday, March 11, 2013
three.js picking
when experimenting with three.js I had abit of a problem getting picking to work with a model loaded via the THREE.OBJMTLLoader loader.
the solution was to pass true in raycaster.intersectObjects( scene.children ,true);
so picking would recurse over the child objects as well.
the solution was to pass true in raycaster.intersectObjects( scene.children ,true);
so picking would recurse over the child objects as well.
Monday, March 04, 2013
php apache segfault
Had some weird segfaults in an apache/php segfaults. used to work.
"child pid 1551 exit signal Segmentation fault (11)" in the logs,
connection reset by peer or only half a page getting transmitted etc.
The problem was that somehow both php-pecl-memcache and php-eaccelerator got installed.
"child pid 1551 exit signal Segmentation fault (11)" in the logs,
connection reset by peer or only half a page getting transmitted etc.
The problem was that somehow both php-pecl-memcache and php-eaccelerator got installed.
selenium "Couldn't delete cookie"
Selenium is a great tool for testing websites. Ran into one little problem though: It doesn't like cookies without a name - those cause it to fail deleteAllVisibleCookies with "Couldn't delete cookie".
Took me a bit to figure out about the unnamed cookie. Helped me find another bug there.
Took me a bit to figure out about the unnamed cookie. Helped me find another bug there.
Sunday, August 28, 2011
android SkImageDecoder::Factory returned null
getting that error message and the xml drawable not showing up?
here it was just a case of the file having an .yml extension instead of xml.
took me a while ... it was late ...
here it was just a case of the file having an .yml extension instead of xml.
took me a while ... it was late ...
Labels: android
Friday, May 06, 2011
fedora upgrade
if your rpmfusion nvidia drivers don't work after an upgrade from fedora 13 to 14 because it couldn't load the kernel module: ("NVIDIA: Failed to load the NVIDIA kernel module.")
running
/usr/sbin/akmods --force
might solve that.
that will rebuild the kernel module.
running
/usr/sbin/akmods --force
might solve that.
that will rebuild the kernel module.