Category SoftDev

Software Engineering and Development

Fast ID3 tagging

This is solely for my friend saper who was recently telling me how much he loves it when people post snippets of code that they come up with during their everyday lives, even if they are relatively pointless in the grander scheme of things. Well, today I was listening to a few old mp3 files while coding more important stuff and realised that some had no id3 tags, which was a good excuse to put good ol' PERL and some shell magic to some use to tag them all, fast. Here's the two-minute script for tagging files based on the filename (note the '[trackno] - [title].mp3' regex). I ran the script twice, once for the trackname and once for the track number (not shown below, is trivial and left as an exercise for the reader). Hope this is useful to someone, although I guess it mostly serves as proof as to how much you can do with one line of PERL/shell scripting magic. Enjoy =)
ls *.mp3 | while read f; do TRACKNAME=`echo "$f" | perl -e '$a = ; $a =~ /(\d\d) - (.*).mp3/; print $2;'`; id3 -t "$TRACKNAME" "$f"; done

For a hacker, the Pre is incredible

Great stuff. Perhaps I should start looking at the Pre as one of the candidate platforms for the Geo|Ads platform and the apps it is currently featured on. Since AthensBook 1.0.0 came out in early March we've been focusing on way too many things and looking at what Palm has to one of them --- besides registering for the early SDK access back in April, there were few reasons to focus on the Pre: it is only available stateside for now, and we're already focusing on providing current releases of our apps and ad SDK on iPhone/Android and Blackberry. Still, with Android still featuring a decade-old UI and no devices not being available in Hellas in any sort of mainstream way yet [soon that's bound to change of course] and with the BlackBerry OS seeming increasingly dated, perhaps the Pre should be getting some more developer love from us. If only we could get a device in this part of the world. =)

Google Wave First Impressions

Google Wave, a new API/protocol and platform was presented on Google I It’s a hosted, embeddable communications and collaboration platform that introduces quite a few interesting features that are currently either not available or require multiple service vendors It was written in Java Google has made it clear that the protocol is going to be […]

Moblin: Proof that Corporate Support Needed.

If anything the sudden appearance of Moblin 2.0 Beta and its excellent User Interface has proven, beyond any doubt, that corporate support is essential if linux — and the open source community — is going to survive beyond a very very small niche. Linux on the server has been doing well despite Microsoft’s pretty good […]

Why Desktop Linux Sucks

“…And what can we do about it”. Linux usability (and the sorry state of desktop linux) has become a staple of this blog, but bear with me for a bit. Here’s a video by Bryan Lunduke from the Linux Action Show with reasons why the linux desktop still sucks for many (most) users. This comes […]

Benchmarks

When OS X first made its appearance in 2001 and for many years afterwards, the performance of xnu, its kernel, and many of its subsystems was ridiculed as it was way slower than its competitors. Elitism, slower development cycle, closed source etc. aside, Apple has managed to make Mac OS X much faster than the leading linux distributions in the span of a couple of years, while at the same time the desktop linux projects and companies struggle with reinventing the wheel and fixing regressions. The situation on the desktop today for linux users is --- comparatively --- worse than it was a decade: traditional strongholds are gone [e.g. performance] while usability, stability and features are more or less unchanged for many years. Sad for Open Source, sad for competition.

iPhoneOS 3.0

Ανακοινώθηκε αργά μέσ’την ημέρα (ώρα Ελλάδος) προχθές, γρήγορα έφτασε στα χέρια χιλιάδων εγγεγραμμένων προγραμματιστών για iPhone. Το νεο λειτουργικό προσφέρει πολλά, τόσο σε χρήστες όσο και στους ανθρώπους που σχεδιάζουν και αναπτύσσουν εφαρμογές για τη συσκευή. Για τη χώρα μας ιδιαίτερου ενδιαφέροντος φυσικά αποτελεί το ελληνικό πληκτρολόγιο, το οποίο περιλαμβάνει την ίδια τεχνολογία αυτόματης διόρθωσης […]

Service Unavailable.

Service Unavailable More or less what happens when you've got the hottest device around, you just announced a major OS upgrade and you decide to not use a CDN =)

The AthensBook.

The AthensBook — Commemorative 1.0.0 Poster
Μετά από μερικούς μήνες part-time δουλειάς, αρκετό ψάξιμο, πολύ coding, ακόμη περισσότερο design, άπειρο data acquisition, data mining, quality assurance και δοκιμών αλλά προ πάντων με πολύ μεράκι, το AthensBook σήμερα βγήκε από το καβούκι του και περνά από τα χέρια δυο ανθρώπων στα χέρια όλων σας. Τα πολλά λόγια είναι φτώχεια --- αν έχετε iPhone μπορείτε να το εγκαταστήσετε άμεσα από το AppStore. Εαν όχι, και μένετε στην Αθήνα, μάλλον θα θέλετε να αποκτήσετε ένα iPhone (ακόμη περισσότερο απ'ότι θέλατε πριν). Ή όχι. Όπως και να έχει: Enjoy! Αυτό είναι μόνον η αρχή! =)

Developer G1 Phone

This, unlocked, sim-free phone sells for $399.
Participating markets include US, UK, Germany, Japan, India, Canada, France, Taiwan, Spain, Australia, Singapore, Switzerland, Netherlands, Austria, Sweden, Finland, Poland, and Hungary.
Naturally, Hellas could not have been a 'participating market', simply because there are no developers here. Sigh. [Relevant Google page]