11 October 2012
The story of Nokia Meego, the phone platform with root access.
10 October 2012
My favourite reference guide for setting up Apache with SSL/TLS is this Van's Apache SSL/TLS mini-HOWTO. With the Apache2, couple of extra commands are required.
# a2enmod ssl
# a2ensite default-ssl
09 August 2011
Getting started with using GlobalSat ND-100S as a reference clock for NTP daemon.
Use options:
Restart services and have a cup of coffee.
After a couple of more cups of coffee, the synchronisation should be well under its way.
Note that the local box just became Stratum 1 time server. When compared with an industry heavy-weight, it is doing just fine.
Done. Now what's next?
# apt-get install gpsd ntp
# dpkg-reconfigure gpsd
Use options:
GPSD_OPTIONS="-n"
and DEVICES="/dev/ttyUSB0"
(check /etc/default/gpsd
). Then modify /etc/ntp.conf
as follows.
server 127.127.28.0 minpoll 4 maxpoll 4
fudge 127.127.28.0 time1 0.420 refid GPS
Restart services and have a cup of coffee.
# /etc/init.d/gpsd restart
# /etc/init.d/ntp restart
After a couple of more cups of coffee, the synchronisation should be well under its way.
# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
*SHM(0) .GPS. 0 l 7 16 377 0.000 -9.734 1.985
# /usr/sbin/ntpdate -q localhost
server 127.0.0.1, stratum 1, offset -0.000012, delay 0.02568
9 Aug 23:31:55 ntpdate[19385]: adjust time server 127.0.0.1 offset -0.000012 sec
Note that the local box just became Stratum 1 time server. When compared with an industry heavy-weight, it is doing just fine.
# /usr/sbin/ntpdate -q time.asia.apple.com
server 17.83.253.7, stratum 2, offset -0.391850, delay 0.03418
server 17.82.253.7, stratum 2, offset -0.391019, delay 0.12320
9 Aug 23:35:31 ntpdate[19405]: adjust time server 17.83.253.7 offset -0.391850 sec
Done. Now what's next?
27 April 2009
Some camcorders and compact digital cameras (e.g. Panasonic Lumix DMC-TZ7), are capable of recording HD video which is saved in MTS files. Most of the video editing applications, such as the Apple's iMovie, can not read these files directly but a conversion is required. Fortunately, the free ffmpeg converter can take care of the conversion process. The prerequisite is that you have a recent ffmpeg version (e.g. April 2009) compiled and installed. See these instructions for details how to do it in Linux or Mac OS X. Then the MTS files can be converted conveniently to MPEG-4 as follows.
ffmpeg -i 00001.MTS -sameq 00001.mp4
24 April 2009
The free ffmpeg video converter is a very powerful command-line tool for converting and down-sampling videos. However, the latest development version is not provided in binary form and building it with the necessary codecs can be rather challenging and frustrating. Because the tool is of great use value for me, I set myself a task to automate the compilation with a reasonable set of codecs. Using the build-ffmpeg as a starting point, I created a GNU Makefile which I maintain within jpgind source code snapshot. Now compiling and installing ffmpeg in Linux is as simple as follows.
The binary ffmpeg is statically linked to the codecs. This works in Mac OS X as well (tested with 10.4.11) but you must install the GNU Make and the GNU Wget from the Fink project.
curl -O -L http://kamedata.googlecode.com/files/jpgind.tar.bz2
tar jxf jpgind.tar.bz2
cd jpgind
make -f ffmpeg.mk
cp ffmpeg ~/bin
The binary ffmpeg is statically linked to the codecs. This works in Mac OS X as well (tested with 10.4.11) but you must install the GNU Make and the GNU Wget from the Fink project.
14 April 2009
Cooking without a sharp kitchen knife is rather dull and uninspiring. In Japan, knife sharpening service, naturally for a small fee, is sometimes provided in conjunction with local neighbourhood festivals and flee markets. Yet once I saw an entrepreneur outside a supermarket providing knife sharpening while you waited. Ran home, took my chef's knife and had it sharpened for 600 yens in about ten minutes. The knife feels like a new now; it was well worth the investment.
12 December 2008
Summary how to revive Konica Autoreflex TC (aka ACOM-1) alive without obsoleted mercury batteries.
WeinCell MRB625 (which replaces PX625 and PX13) zinc-air battery is very convenient solution, but they deplete even if not used. The first and only pair lasted operational almost six months. You can purchase those from their web site or from Mediajoy in Japan. It was a reasonable investment to verify that my old Konica works (it did).
Kanto Camera Service's MR-9 adapter for SR-43 (silver oxide 386) batteries is a longer term solution. Available from their web store in Japan and from C.R.I.S. in the US. Scan of the sales package and instructions is here.
WeinCell MRB625 (which replaces PX625 and PX13) zinc-air battery is very convenient solution, but they deplete even if not used. The first and only pair lasted operational almost six months. You can purchase those from their web site or from Mediajoy in Japan. It was a reasonable investment to verify that my old Konica works (it did).
Kanto Camera Service's MR-9 adapter for SR-43 (silver oxide 386) batteries is a longer term solution. Available from their web store in Japan and from C.R.I.S. in the US. Scan of the sales package and instructions is here.
11 December 2008
Nokia is running their annual holiday-season campaign to help children in need. They make a donation to UNICEF for each card that is opened by the receiver. You are invited to create your own greeting cards here.
Subscribe to:
Posts (Atom)