Showing posts with label flash. Show all posts
Showing posts with label flash. Show all posts

Thursday, 16 July 2009

last post - bicycle riding: flash, airplanes and bikes

Bikes and airplanes

In spite of a couple of suggestions to bring my folding bike to Cáceres, I won't do it. For short, I care too much about my bike to let it on the careless hands of the morons handling luggage on the Otopeni airport. For a detailed reasoning, please see the comments I made on my last post.

Flash

Some people have complained that the links with images I gave in the previous post needed the proprietary flash implementation. I am sorry about that. I checked myself with gnash and swfdec and indeed neither works (or at least the Lenny versions don't). I'll report the bug against gnash and swfdec, if nobody else does it before me.

By the way, changing the flash player in Debian is as simple as using:

update-alternatives --config flash-mozilla.so

And restarting iceweasel/Firefox or epiphany. Iceweasel/Firefox has the possibility to disable a plugin (add-ons -> plugins), but that doesn't seem to reload the .so file once loaded.



So here are the images in a more accessible format as before:


U shaped bycicle crossing:

Image


High border examples:

Image

Image

Image

Image

Sometimes you can go around the high border, but you might have to wait for pedestrians to pass:

Image

Bicycle traps:

Image
Car parking on bicycle tracks:
ImagePedestrians using the tracks:

Image

Good tracks:

Image
Image

Friday, 18 January 2008

NSLU2 on flash - script +not+ broken :-D

Update: Why don't I learn my lesson and stop working too late? Making a fool of myself in public isn't something to be proud of.

Ignore this post if you're seeing it for the first time.




Martin, David, this script is broken. When trying to set kernel parameters, there should be a new line, it shouldn't be explicitly removed. I know it looks weird, but this seems to be proven by this output:


kinder:/etc/init.d# ./params4flash start
kinder:/etc/init.d# cat params4flash
#! /bin/sh

exit 0

PATH=/sbin:/bin

# Max time to wait for writeout
MAX_AGE=120
CENT_AGE=$((100 * $MAX_AGE))
# Max percent of mem to use for dirty pages
DRATIO=10
# Once we write, do so until this many percent of mem is still in use
DBRATIO=1

case "$1" in
start)
echo -n 0 >> /proc/sys/vm/swappiness
echo -n $MAX_AGE >> /proc/sys/vm/laptop_mode
echo -n $CENT_AGE >> /proc/sys/vm/dirty_writeback_centisecs
echo -n $CENT_AGE >> /proc/sys/vm/dirty_expire_centisecs
echo -n $DRATIO >> /proc/sys/vm/dirty_ratio
echo -n $DBRATIO >> /proc/sys/vm/dirty_background_ratio
;;
restart|reload|force-reload)
echo "Error: argument '$1' not supported" >&2
exit 3
;;
stop)
# No-op
;;
*)
echo "Usage: $0 start|stop" >&2
exit 3
;;
esac
exit 0
kinder:/etc/init.d# cat /proc/sys/vm/swappiness
60