Search Results: "ag"

29 May 2008

Riku Voipio: blog moved

Buch of quickies:

MJ Ray: Getting Linux InfraRed Beaming to a Palm III with a Belkin USB Device

I lent someone my old Palm IIIe as a data entry device for an exhibition this week. I don't use it much since I got a Samsung K608i last year. They weren't comfortable with using their smart phone as a data entry device. I can understand that: I'm still pretty slow at phone-typing and it corrupted data when its memory filled recently. The batteries had been removed from the Palm to avoid them leaking, so it needed reloading with useful Palm free software for data entry. The first problem was that I decommissioned bouncing a while ago and that was the last machine to sync with the Palm. I wasn't keen to pull it out of the store cupboard and connect all the wires, but my current desktop machine nail doesn't have a 9-pin serial port for the cradle and that's the only connector on the Palm. Actually, it's not the only connector: the Palm has an InfraRed emitter and I have a Belkin F5U230 USB-IrDA dongle thing. I don't use it that often, but it worked enough to connect nail to the internet through my old mobile phone. That was a while ago and I forgot the specifics, but eventually I noticed the key phrase in the irattach man page:-
"Note that there is another USB driver for those devices called ir-usb which is NOT compatible with the IrDA stack and conflicts with irda-usb. Because it always loads first, you have to remove ir-usb completely."
Sure enough, I checked the lsmod output and found ir-usb there, screwing stuff up. A few modprobe -r commands, then I simply ran
"irattach irda-usb"
and saw the irda0 network device appear. Still one thing to do: beam the actual applications. This was pretty easy because I remembered reading that obexftp defaulted to IRDA sending when I was getting bluetooth working. All I had to do was enter a command like
"obexftp --irda --put db.prc"
and the Palm asked if I wanted to accept it! Yes! First test with obexftpd for receiving files wasn't encouraging, though and I can't see how to use sobexsrv for this: I'll probably write next week whether we get any data off the Palm! The Palm IIIe is too old to hotsync over infra-red, as far as I can tell. I've got a roundabout route through the K608i but it doesn't seem to be very reliable. Anyone got any expert tips?

28 May 2008

Dann Frazier: Retrieving a NIC's permanent address

I needed to query a card to get its permanent mac address (the value programmed into the card, even if the admin has ifconfig'd it differently). This can be done with the linux kernel's ethtool API, but the ethtool command doesn't currently support it and google didn't know how either. I had to figure it out myself. Now google, you no longer have an excuse - I expect you to know next time I ask.

Erich Schubert: Openstreetmap

Joachim drew my attention to Openstreetmap.org. So I thought I'd give it a try. Unfortunately the don't seem to have the hardware or bandwidth resources yet for everyday use.Search results for "M nchen":
City M nchen [en:Munich], about 70km south of Ingolstadt
Village M nchen, about 4km south-west of Bad BerkaRegion M nchen, about 1km north of Unterbiberg, UnterhachingM nchen [en:Munich], less than 1km south of M nchen[...] Very funny. M nchen (Munich) itself has 1.3 Million, Ingolstadt about 120k inhabitants. The region around M nchen totals to about 3-5 Million inhabitants, depending on what you consider to be part of the region. But Unterbiberg (13k) and Unterhaching (22k) are officially part of the district of Munich.The best specification however is the fourth one: If Munich is south of Munich, Munich is also north of Munich, right? So Munich is everywhere, right?Other search highlights include a Footway "train platform direction Munich".Nevertheless, the search results make sense, the first result is what I had in mind, and I really like the references they give for each search result.I wonder if when you type in "San Francisco" it will be like "San Francisco, north of South San Francsico" (no, it's "north of Daly City")

Michal Čihař: Time for change, time for DebConf?

Okay I did thing I considered already for several months - I decided to quit my current job at SYSGO, make one month holidays in summer and find some new job meanwhile. So I'm looking forward to free August, which I will probably spend travelling somewhere :-). This brought up again question whether to go or not to go to this year DebConf. The only problem with this is distance - flight to Buenos Aires will be something around 2000 USD and it means lot of money for me. I applied for sponsorship for half of the price (well I'm not sure if I can really pay the other half, but I would feel really bad for asking that much money) and let's see how it turns out. On the other side, I'd love to visit Argentina, but that would probably require much more time and money. Let's see how it all turns out, there is still time to decision... PS: If you have some interesting job offer, just contact me at michal@cihar.com.

MJ Ray: Kewstoke Annual Village Meeting

Tomorrow (Thu 29th) at 7.30pm is the Kewstoke annual village meeting. That should be my first meeting as a councillor, if I get back from London in time. (I hope I do - councillors who miss meetings get this sort of criticism but at least village councillors aren't paid that much: I think expenses for all 12 or so councillors totalled under 60 last year.) Apart from the two reports, the agenda is a good summary of the challenges affecting the village this year: Cygnet Liaison, Sand Bay Management and the Toll Road.

Ingo Juergensmann: Moving m68k buildds to a new data center

Well, yesterday I spent most of my day to drive to Hamburg, deliver a new m68k (elgar.buildd.net) and relocate crest.debian.org and kullervo.debian.org to their new data center (same sponsor, but different data center location).

Everything went basically fine. Crest and Elgar needed some refitting of expansion cards, but that was expected and known. What was not expected was Crest doing some loooong fsck runs on its ext2/3 partitions. This lasted some hours and resulted in lots of stuff in lost+found. Sadly, XFS is not a real option for m68k buildds, I believe, although it works. But that showed me again why I don't like ext2/3... :)

Anyway, all three machines are working and accessible again. Thanks to NMMN for sponsoring and Andreas from NMMN for staying that long!

Sune Vuorela: playing with plasma

Now that kde4.1 is beginning to really take shape, I have also upgraded all my computers to kde4. Bye bye kde3. I can’t live without a few kde3 apps though, particularily amarok. But my amarok usage was mostly controlled by the kicker media applet. So I needed something that behaved similar to the kicker media applet. Plasma && dcop command line to the rescue. It still needs some polishing, especially getting the buttons closer together. But it works. It wasn’t that hard to get started, although the plasma docs still haven’t the quality of Qt documentation. Here is how it looks:
My first plasmoid And if anyone wants it, well - it is here: http://elvira.killmulehill.net/~sune/plasmaamarokcontrol-2008-05-27.tar.gz - at least for now.

Russell Coker: Xen Hosting

I’m currently deciding where to get a Xen DomU hosted. It will be used for a new project that I’m about to start which will take more bandwidth than my current ISP is prepared to offer (or at least they would want me to start paying and serious bandwidth is expensive in Australia). Below is a table of the options I’ve seriously considered so far (I rejected Dreamhost based on their reputation and some other virtual hosts were obviously not able to compare with the prices of the ones in the table). For each ISP I listed the two cheapest options, as I want to save money I’ll probably go for the cheapest option at the ISP I choose but want the option of upgrading if I need more. I’m not sure how much storage I need, I think that 4.5G is probably not enough and even 6G might get tight. Also of course it depends on how many friends I share the server with. Quantact has a reasonable cheap option for $15, but the $25 option is expensive and has little RAM. Probably 192M of RAM would be the minimum if I’m going to share the machine with two or more friends (to share the costs). VPSland would have rated well if it wasn’t for the fact that they once unexpectedly deleted a DomU belonging to a client (they claimed that the bill wasn’t paid) and had no backups. Disabling a service when a bill is not paid is fair, charging extra for the “service” of reenabling it is acceptable, but just deleting it with no backups is unacceptable. But as I’m planning on serving mostly static data this won’t necessarily rule them out of consideration. It seems that linode and slicehost are the best options (Slicehost seems the most clueful and Linode might be the second most). Does anyone have suggestions about other Xen servers that I haven’t considered? XenEurope seems interesting. One benefit that they have is being based in the Netherlands which has a strong rule of law (unlike the increasingly corrupt US). A disadvantage is that the Euro is a strong currency and is expected to get even stronger. Services paid in Euros should be expected to cost more in future when paid in Australian dollars, while services paid in US dollars should be expected to cost less. Gandi.net has an interesting approach, they divide a server into 64 “shares” and then you can buy as many as you want (up to 16 shares for 1/4 of a server) for your server. If at any time you run out of bandwidth then you just buy more shares. They also limit bandwidth by guaranteed transfer rate (in multiples of 3Mb/s) instead of limiting the overall data transferred on a per-monthly basis (as most providers do). They don’t mention whether you can burst above that 3Mb/s limit - while 3Mb/s for 24*7 is a significant amount of data transfer it isn’t that much if you have a 200MB file that will be downloaded a few times a day while interactive tasks are also in progress (something that may be typical usage for my server). Of course other providers generally don’t provide any information on how fast data can be transferred and will often be smaller than 3Mb/s. Also if anyone who I know wants to share access to a server then please contact me via private mail.
ISPRAMDiskBandwidth (per month)Price $US
Linode360M10G200GB$20
Linode540M15G300GB$30
Slicehost256M10G100GB$20
Slicehost512M20G200GB$38
VPSLand192M6G150GB$16
VPSLand288M8G200GB$22
Quantact96M4.5G96GB$15
Quantact128M6G128GB$25
rimuhosting96M4G30G$20
XenEurope128M10G100G$16 (E10)
XenEurope256M20G150G$28 (E17.50)
Gandi.net256M5G3Mb/s$7.50 or E6

27 May 2008

Christian Perrier: Reading blog summary

During the last 4 days, I didn't read Planet. So I started an interesting exercise and wanted to comment very briefly on a few entries I just read quickly to catch up. My Planet premium, so to say..

John Goerzen: More Reasons To Like Obama

Ars has an article Previewing McCain and Obama on geek issues that is a thoroughly good read. I find myself agreeing with Obama on everything from net neutrality to privacy rights. I find it interesting that Republicans like to run as advocates of individual liberties but are the ones pushing laws that restrict them the most.

One gripe though: these are issues that are important to everyone. To call them "geek" issues implies that they are only of interest to some, and thus cheapens them. Ars ought to have a better title for their article.

Sandro Tosi: Update pbuilder on a slow internet connection

On a slow line (like mine, @56k) even updating pbuilder could be a problem (or a really boring task):

[host]$ sudo pbuilder update
[...]
Get:4 http://debian.fastweb.it unstable/main Packages [5302kB]

5Mb are enough to do this trick (NOTE: it will work only if you machine and the pbuilder use the same mirror). First, update your box apt packages list with

[host]# apt-get update

once done, you'll find in /var/lib/apt/lists/ the packages list we need. Let's copy those files in a new location:

[host]# cp -arp /var/lib/apt/lists/ /tmp/

then, login into the pbulder chroot with:

[host]$ sudo pbuilder --login --bindmounts /tmp/lists/ --save-after-login

(/tmp/lists/ will be mounted inside the chroot with the files we've just copied, and --save-after-login will save our changes once done). Now

[chroot]# cp /tmp/lists/*astwe* /var/lib/apt/lists/

to copy the lists for Fastweb mirror only (the one I'm using), now

[chroot]# apt-get update
Get:1 http://debian.fastweb.it unstable Release.gpg [189B]
Get:2 http://debian.fastweb.it unstable Release [86.4kB]
Get:3 http://debian.fastweb.it unstable/main Packages/DiffIndex [2038B]
Fetched 88.7kB in 12s (6962B/s)
Reading package lists... Done
[chroot]#

now only few files are downloaded.

I used this trick earlier, in cases where creating or updating the apt packages list for pbuilder was a problem, since the files always resulted corrupted.

Erich Schubert: Fitness

When people think of computer scientists, they think of someone with bad health, a bad skin color and no fitness at all. While there probably are some like that, I actually don't know many. Instead I know people who do things like fighting with sword and rapier. My main sports is advanced lindy hop dancing (which does include occasional aerials and such, but mostly involves 'jumping' around at high speeds). I like dancing most because of the social aspects of it.Myselfi, I can claim to be the very opposite: I just came back from 5 hours of sports, and I'm not even exhausted, just very hungry. The 5 hours include riding about 13 km in half an hour through the city (and we're suffering from a heat wave these days, with winds from the sahara desert reaching germany), then two full training sessions (that really used to stress me when I started), then the ride back of 13 km again.My body mass index is 18.something, so I'm slightly underweight, but I actually eat a lot - but I also eat healthy and diverse. Most of my food I cook myself, so I know it's fresh and where I got it from. I'm not vegetarian, I do eat meat about two times a week. I also try to have some variety there, pork, beef, lamb, deer, chicken, ... I don't drink much alcohol and I do not smoke.So don't stick to that prejudice that computer science people or geeks are physically in a bad shape. You can be both a geek, soical and athletic. The people I know how are in really bad shape actually watch too much TV and such, they neither engage their body nor their mind, nor leave their house much to meet other people.

Michal Čihař: My cycle computer got crazy

After today short ride, I just wanted to look at how fast I was (well rather slow as my body is slowly getting used to usual travel distances). There was nothing surprising in most values, but maximal speed did really impress me: 171 km/h on bicycle I just hope that it is really mistake of the computer and I did not really go that fast at some point ;-).

Stefano Zacchiroli: debian ocaml news

Catching up: some OCaml in Debian news Hei, it looks like I stopped giving updates about OCaml news in Debian, time to catch up. 2 hot news basically:
  1. OCaml 3.10.2 transition is ongoing. Release managers did not forget about our old request of transitioning OCaml to 3.10.2 in time for Lenny, and as soon as the last Perl transition was other they pinged us about the transition. Together with Luk we are now working on it. After some initial issues on arm which was unable to run docbook2html on our poor little policy document without segfaulting(!), it now looks like is not going too bad ... get ready for OCaml 3.10.2 in Debian Lenny!
  2. the "core" OCaml library by Jane St Capital (which I consider a really good replacement for the legacy standard library FWIW) has entered testing a few days ago. It will be released with Debian Lenny, no matter if with 3.10.1 or 3.10.2
Stay tuned!

Joachim Breitner: My first OpenStreetMap Contribution

Yesterday I was visiting the Open Source Expo Karlsruhe, a new, quite small conference, at which the guys from OpenStreetMap hat a booth. I was amazed by the progress of OpenStreetMap while I wasn t looking (which is just a few months, I guess); their level of detail in some places like Karlsruhe is astonishing.Anyways, I got hooked and started to try out some of the tools and websites and finally, by tracing the Yahoo satellite image, added my first way to the map: A small footpath in Herrenberg that I know quite well:
The live data can also be seen on the OpenStreetMap map, of course.Unfortunately, there is not much to map around where I live in Karlsruhe, even the driveway to my dorm is included, but maybe I can do some proper mapping (with a GPS device) in Herrenberg someday.

MJ Ray: Fuel Price Bleating and Biking

[Photo of Cyclists]
England swings like a pendulum do! There's another fuel price protest and the coverage in the London press is pretty biased, with occasional balanced reports and very rare dissenting opinion. One of the favourite whines on news-and-nutters phone-ins is "waah, I live in a village, I need my car". While that's true for some people, most villagers could switch to bicycles for many journeys without problems. At the moment, the biggest problem with cycling to town is the number of cars on the small lanes, followed by the number of potholes. Switching to cycling or walking will have a triple benefit: fewer cars on the road will free up space for cycling, wear the roads out less and reduce fuel demand (so petrol should become cheaper for those who really need it). Over the last few days, I've been happy to read Bike The Drive 2008 [Dirk Eddelbuettel], Mountainbike, By Joerg Jaspert and How to Start Bicycling to Work, by John Goerzen. A couple of tweaks to that last one: in England, I don't think that a cycling helmet is necessary. I've not worn one for the last few months (it went mouldy after a rain storm) - I find I can hear traffic better and many drivers seem to give me more room on the road. I wonder if helmet-wearing "dehumanises" cyclists to drivers? The safety data seems rather confused, but it's a personal choice. If you feel safer with a helmet, wear one. I also wear ordinary business or casual clothes, relying on a good quality commuter saddle rather than cycling shorts. I suspect that drivers here are developing a sort of blindness to the "screaming yellow" hi-vis jackets, so I don't wear those - but sometimes I wear hi-vis reflective armbands if I'm wearing black in the dark. I agree completely with the comments on that page about being predictable, Cateye lights and pannier bags. Finally, Bike Week 2008 starts on 14 June, which would be an ideal time to try a group ride - or just get a free breakfast for cycling into town.

Norbert Tretkowski: 5 years backports.org

Exactly 5 years ago, on the 27th May 2003 after a discussion with my former boss an some colleagues, the domain backports.org was registered. I originally planned to write a detailed article about the last 5 years, but unfortunately didn't found the time. I'll try to catch up on this as soon as possible.

26 May 2008

Jaldhar Vyas: We Are At War With Eastasia. We Have Always Been At War With Eastasia.

John Goerzen reminds me of what from my perspective is one of the most amusing parts of watching the Democrats squabble over whether estrogen or melanin is more important in a presidential candidate. Apparently, the same people who just a few short months ago were the progressive vanguard of the peoples struggle to speak truth to the fascist power of Bushitlerburton are, in fact, STUPID EVIL RACISTS!1!!! Of course on August 25, they will magically turn back into audacious hope changers but until then I LOL.

Christian Perrier: Yet more news from the lenny l10n NMU campaign

Some more progress on debconf l10n...during a week-end where I was away. I like that..:-) Maintainers are still very cooperative. I still have to discover who changed debconf templates while I was away, though... Moreover, some things are currently broken on i18n.debian.net (indirect consequences of the OpenSSL breakage) and I begin to wonder if our current stats (which depend on scripts that are run on that machine) are really representing the real debconf l10n status.

Next.

Previous.