Thursday, February 25. 2010
Eric Brasseur explained a “bug” in the scaling algorithm of current image processing software. It’s not really a bug, technically, or mathematically. Calculating the numerical average of the surroundings of a pixel as the new color value is a pretty correct approach to scale an image down—if it’s seen as a data matrix. Rather, it’s visually not the thing you’d expect.
Technically speaking, the problem is that “the computations are
performed as if the scale of brightnesses was linear while in fact it is an exponential scale.” In mathematical terms: “a gamma of 1.0 is assumed while it is 2.2.”
Here’s an example of what might occur:
The wrong way:
- Take this image as a start:
- Simply scale it down to 50%:
Obviously, this might not be what you intended.
The right way:
Continue reading "Work around the image scaling "bug""
... you have an electronic hacker in your neighborhood. I bought the cheap Chinese solar USB charger revolt “4 Seasons” and wanted to use it to charge my Motorola Milestone/Droid or other devices while travelling by train or bike or during a hike. Unfortunately, it only provided power to “dumb” devices like not-so-smart phones or USB On-The-Go hard disks. When I connected it to my Milestone, the phone didn’t jump to the charging state. WTF? It turned out that modern smartphones like Milestone/Droid or iPhone rely on a properly implemented USB standard, what means that it’s not enough that the two outermost USB pins carry the needed voltage, but the inner pins must also provide a minimal “data voltage”. The problem is described here, and here is a DIY solution. Thanks go to my work mate Wolfi for hacking the solar charger successfully.
Tuesday, February 23. 2010
From: me To: ÖBB Date: 2010-01-26
Guten Tag!
Wird es eine native Version von ScottyMobil für Handys mit dem Android-Betriebssystem geben? Ich hatte die Applikation auf meinen vorigen Handy mit Symbian-Betriebssystem genutzt und vermisse nun eine Möglichkeit, häufig abgefragte Fahrpläne ohne Serververbindung abrufen zu können.
Das WAP-Interface (via A1.net) ist sehr rudimentär, und das normale Webinterface ermöglicht keine Speicherung häufig benutzter Verbindungen, so wie ich es am alten Handy benutzt habe.
Da es eine iPhone-Applikation gibt, erwarte ich eigentlich auch für das sich immer weiter verbreitende Android-Betriebssystem eine native Applikation von ScottyMobil. Ist etwas in dieser Richtung geplant?
Ich freue mich über Ihre Rückmeldung. mfg From: me To: ÖBB Date: 2010-02-15
Ich habe diese Anfrage schon einmal am 26.01. verschickt, jedoch noch keine Antwort erhalten. Meine Frage:
[...] From: ÖBB To: me Date: 2010-02-23
Sehr geehrter Herr Mag. Paukner,
leider ist es noch nicht möglich SCOTTY mobil auf einem mobilen Endgerät mit dem Betriebssystem „Android“ zu verwenden. Eine Entscheidung über die Weiterentwicklung und Ausweitung des Dienstes ist noch offen, wodurch keine genauen Aussagen getroffen werden können. Sobald es diesbezüglich Neuigkeiten gibt, erfährt diese der Kunde unter www.oebb.at/scottymobil
Wir hoffen, dass Sie auch weiterhin dem umweltfreundlichen Mobilitätsanbieter Bahn vertrauen.
Mit freundlichen Grüßen
Für die ÖBB Personenverkehr AG Tja, das ist Schade. Auf welche Weise sich dennoch – wenn auch nur in unbefriedigendem Ausmaß – die Fahrpläne von VOR/ÖBB/Wiener Linien auf Android-Handys abrufen lassen, erzähle ich in einem separaten Artikel.
Tuesday, February 2. 2010
I found out how to get all my calendar entries into Google: Sync the events into a single iCalendar file using OpenSync’s Sunbird calendar plugin and import this into your Google calendar. In Sunbird I exported an empty calendar into a local iCalendar file and used this as a starting point; a plain empty file was not enough. Unfortunately, there is a known annoying bug preventing entries that are older than one month from getting pushed to your Android smartphone—only noted as a “small” bug by Google, though. You’ll have to re-save those entries in the web calendar to update their modification time and have them synced to your phone. This, however, won’t work by updating their LAST-MODIFIED time stamps in the iCalendar file prior to the import.
Saturday, January 16. 2010
Two years have passed since I declared the project “Master’s thesis” accomplished. Continuing with a PhD was already unlikely at that time and became even more unlikely since then. However, O. Christensen, the author of one of my main sources, asked me a few months ago to contribute to a book chapter he was writing together with my advisor, Prof. H. Feichtinger. Parts of my thesis might thus show up in a book about imaging from a major publisher of mathematical works. We submitted our result this week. I won’t tell more at this time, except that it was fun to dig through the material again. It might take a few months until a decision is made by the publisher. Whatever the result, I don’t expect it to lead me back to academia.
Friday, January 15. 2010
As I’ll get my Motorola Milestone on Monday (W00t! W00t!) I tried to get my data from my Symbian cell to Google somehow. I made several syncing attempts: - Using OpenSync on my Debian box
- Syncing from Symbian to Gnome Evolution: That was my regular task to get contacts and calendar entries backed up to Evolution. I had to take care to never let the slow sync occur after an attempt was unsuccessful, e.g. when I forgot to turn on Bluetooth on the cell. This would have doubled all entries. I had to remove the lock file and rely on backups of ~/.opensync-0.22 and ~/.evolution quite a few times.
I also had to take care to not sync too many entries at once. The process froze when the counter reached 140 items. I had to configure a size limit (of 500 bytes) to have the process jump over that limit (and ignore some entries). I tried to use this as starting point to get things into Google, as there’s a plugin for it. - Evolution to Google: For every item that should have been synced to Google, a Python error showed up, what took 2–3 seconds for each item. Syncing my >1000 entries thus lasted forever—and froze at a certain point, apparently due to Google’s limitation of connection attempts. A retry started to create duplicates. FAIL.
- Symbian to Google: Just the same as above. FAIL.
- Files to Google: I tried to be smart by first syncing my cell to plain files on the PC and then using subsets of those to sync them to Google incrementally. But the same thing as before happened, and at each step the entries from the previous step were duplicated. FAIL.
- Building a recent SVN version from source: That was hard. I had to hack the code by myself to get it compiled. But then it FAILed at runtime.
- Symbian’s Sync: There’s a help page at Google that explains how to sync (only) contacts from Symbian to Google using on-board software. That even worked! But the contacts got synced without their birth dates—this seems to be a Symbian limitation.
- Mail for Exchange: Another help page at Google shows how contacts and calendar entries can be synced to Google using this free app by Nokia. But the name keeps up to its promise: It’s crap. When the “System error” comes up, there’s no way to get rid of it. FAIL.
- GooSync: This proprietary app finally made my day. The Lite trial version only allowed to sync a time window of −7/+30 days. So I had to get a pricey premium account to enjoy a ±365 days window. This, however, still leaves older entries at my previous places. This setup seems to work so far for calendar entries, but contacts, however, don’t get updated to Google. And tasks can only be synced to GooSync.com, not to Google.
Sigh. Luckily, not much of my data should change within those few days remaining.
Tuesday, January 5. 2010
Offenbar hatte nicht nur ich ein paar Erlebnisse, weil Debian die Sache nun von sich aus korrigiert (bzw. „workaroundet“) hat: Build identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091123 Iceweasel/3.5.6 (like Firefox/3.5.6; Debian-3.5.6-1)
Sunday, December 20. 2009
Probably.
|