Friday, September 15. 2006D is for DAAPAmarok recently received support for the music sharing protocol known as DAAP, as part of our Google Summer of Code entry, thanks to developer Ian Monroe. Every week or two my sister and I prod each other about what new music we have managed to stumble across, but previewing it, and then copying it to our machines can be a small chore. Sharing our collections over the local network allows us to manage our own collections independently of each other. It’s as simple as connecting to the share and browsing the collection. ![]() Since we like a fair amount of the same genres of music, it can be difficult to locate tracks which I don’t have in my collection already. I decided that it would be cool if Amarok would show me only the files which I did not have already in my local library, and it has become really quite useful. ![]() Notice how many of the albums I already have are filtered out by the daap client. Neat! Whilst it isn’t working to my complete satisfaction (it does an exact match on tags in the database, and can be a little slow for large daap shares), I think it’s a cool feature that will be really neat to have. The next feature will be a “Copy to collection” option. The other thing I really like about DAAP is that it isn’t limited to the local network. I can connect to a server on the other side of the world and stream music like it were a pick-your-own radio station. Thoughts on Qt sql, anyone?For Amarok 2.0, one of the issues which came up at the multimedia meeting, was the abstraction of database backends to a proper object oriented architecture. This also included the possibility of using plugins, or using the inbuilt Qt SQL classes. I’ve noticed that they support a wide range of databases, which would be handy. When this discussion came up originally, some concerns were voiced about the efficiency and flexibility of the classes, but primarily for the 3.3 release - that they were inefficient and difficult to work with. Since we need to optimise our database queries, because they can be quite database intensive, it would be interesting to know if anybody has had any sort of experience with these classes in the reworked Qt4. Is the convenience of generic Qt sql classes outweighed by the flexibility and robustness? Thursday, September 14. 2006Do _not_ order at sonystyle.comI'm so angry. What the fuck is up with the UK and ordering stuff. Are you guys unable to handle a single order properly?! I ordered at dabs.com, they fucked it up big time (products arrived after several weeks), I ordered at amazon.co.uk (they didn't reach me when delivering and decided to not leave me a notification card, so I can have some fun hunting my package and talking to strange persons on the phone) and now I ordered something at sonystyle.co.uk. I chose the First Class Delivery (13 extra quid, yay) to avoid any fuckup this time. Result? Sony sent my package the very same day (respect!), but to the wrong address. So now my package is somewhere, but not here and Sony tells me they can't look up the tracking ID since they only store them till the package has been delivered (it has not, morons). And UPS? Well, they can't look it up without a valid tracking ID, since that would be against their Data Protection Act. Now Sony offered me to find out the tracking ID till monday. Great. Sum-up: I paid an extra 13 quid so that I have to wait longer and get disgusted by the people on the phone? Great, next time I'll just go to a store. It' cheaper and it's quicker. And if anyone dares to react like the Sony-guy on the phone I'd at least have the chance to punch him in the face right then and there. Sony GPS-CS1 - on its wayOh by the way, even though Sony officially only claims it's compatible with CyberShot and other Sony cameras, I can assure you that it's actually compatible with any camera / JPEG files in general. When you plug in the device, you can simply mount it as a disc. You'll find proper NMEA GPS logs which you can import in most GPS mapping software. Short specs: - Runs on standard AA batteries. - Aprox. 86.400 (360h) position records per battery. - Stores one record every 15 seconds. Cameras used by flickr usersFound a nice site today, which generates charts of cameras that are currently being used by flickr.com users. It samples between 1% and 2% percent of flickr's daily uploads (about 10.000 images per day) and analyzes their EXIF metadata. Certainly not 100% accurate, but statistically it should be rather close to the real data. Interesting. Wednesday, September 13. 2006Sony-Ericsson K610i + HBH-DS970, a Linux users experienceThis isn't a full review of either the phone nor the stereo Bluetooth headset, for a detailed report with pictures and the works read: mobile-review.com k610i and bengalboy about the HBH-DS970 headset
The K610i is 3G candybar feature-phone (not smartphone) with Bluetooth 2.0 , 2 MegaPixel camera and a low-res. camera in the front for video calls. The kind of phone I was looking for should have:
It came without headphones. I didn't bother buying a wired, and pretty expensive, Sony-Ericsson stereo headphone, but ordered the HBH-DS970 A2DP stereo Bluetooth headphones from Expansys. A quick explanation about A2DP:I've been using both devices for over a month now, mostly for listening to podcasts. So far I'm very pleased with them. The headsets battery last a least a full day with about 3 hours of listening, half an hour of talking and the rest in stand-by. I wasn't expecting anything more of a small necklace like device weighing only 27 grams. The mediaplayer application on the K610i is definitely more geared towards music and doesn't support podcasts at all, neither does the windows software that came with it. You can create playlists on the phone but those are not saved as files. In good Sony-Ericsson style the phone is fully standard compliant, supporting the OBEX Object Exchange protocol over Bluetooth, Infrared (IrDA) and USB connections. Among the supported OBEX methods is ObexFTP, obex push and SyncML over OBEX. This is good news for us Linux users since it insures compatibility with free and opensource software. Browsing files on the phone can be done in 2 ways, Mass-storage device mode or OBEX transfer. Both have advantages and disadvantages. The mass-storage mode is fast, using the phone as a USB2.0 card reader for the Memory Stick Micro inside. The biggest problem with this approach is that none of the phone functions are available while in mass-storage mode, so no phone-calls or listening to music. Also, on time of writing, the USB mass-storage driver in the ubuntu 6.06 shipped kernel fails to write all blocks to the MSMicro card, resulting a data loss and preventing safe unmounting. This will probably be fixed in more recent kernels. I use a recent version of OpenObex to transfer podcast episodes to the phone with ObexFTP over USB2.0. This allows all phone functions to be used while transfering files. It is the same method used by the File Manager that's part of the windows software suit. Transfers over OBEX are slower though, just over 1 MB per second. Meaning a 30 MB file, quite common for a podcast would take almost half a minute. This is no problem for me because I use the USB cable to charge the phone and letting it transfer the files while doing other things. But I can imagine the frustration when you would like to quickly transfer a few files before leaving. I automated the transfer of podcasts to the phone using a Python script [link to script]. In Amarok I copy the files to a temporary folder using the generic mediadevice plugin, after which the script is used as the post-disconnect command (see screenshot). Transfered files are deleted from the tmp folder. On my todo list is a Java 2 Mobile Edition application for playing audio files that maintains a playlist and a supporting mediadevice plugin. The idea is that played files are removed from the playlist. The Amarok plugin can then delete the old episodes from the phone and mark the as listened in the database. If anyone want to volunteer for writing the J2ME player, the mediadevice plugin or improving the transfer script, send me a mail at bart [.] cerneels [@] gmail [.] com. Suggestions are welcome in the comments (moderated for SPAM reasons). Tuesday, September 12. 2006Come2Linux Expo - My Trip Report
This weekend a KDE delegation attended the Come2Linux expo in Essen, a city in western Germany. I was one of the KDE booth babes, along with Harald (from Austria), Carsten (Germany), Eckhart (Germany), and Benoit (France).
From left to right: A visitor, Benoit, Eckhart, Harald, Mark. I met up with Harald and Carsten on Saturday morning at the central station in Essen. There I also had the honor to meet Bernhard Reiter, one of the leaders from the FSF Germany, who had coincidentally taken the same train as Carsten. The four of us (and 200 Kubuntu CDs) then travelled to the expo location at the university of Essen. When we arrived at the location, things looked promising. There was a nice huge room with glass walls, sunlight streaming in (the weather was wonderful!), and many exhibitors had already set up their booths. We talked to the organizers and were given our badges and information material. Then we learned that our booth would not be in this room, but actually in another building on the campus. Oh well, so we took our gear and walked to this building. Turned out it was actually quite far away, maybe half a kilometer from the main building. Arriving at our building, we found that our booth location was in a corner at the end of a long corridor. Scattered along this corridor were booths from the FSF, FreeBSD, a Linux gaming group, and a number of other exhibitors. We set up our booth, explored the location and then settled behind our booth table. After some hours we began to realize that our booth location wasn't exactly ideal. As opposed to the folks in the main hall, we had no sunlight, no internet, no waffles, and no visitors. Well, not very many visitors at least. Some found us simply by chance while searching for the talk rooms, which were located in the same building. On saturday night we went for beers in a nice restaurant in the city. Afterward we wanted to visit the Gnome release party, but couldn't find the location. Instead we ended up in a heavy metal club. Five geeks and a laptop among the crowd of grim looking, long haired heavy metal dudes, I'm sure that was quite the sight to behold. We didn't mind and had some fun anyway, and many more beers. On our way back to the hotel we pondered what to do about our frustrating booth situation. We were not looking forward to sitting another day in our dark corner in that corridor. So we decided, if things would not improve, we would simply pack all our stuff and sit at a table outside of the building. As we didn't have internet anyway, we could at least enjoy some sunlight, we reckoned. And indeed, on the next day things did not improve. No internet, even less visitors. Sigh. As we prepared to move our table outside, a friendly guy from LW Systems made the generous offer to share their booth space in the main hall with us. We gladly accepted this offer and moved our booth. Now we could also enjoy internet access, waffles, and sunlight. Quite the improvement! What rocked:
What did not rock so much:
Summary: I did enjoy this event and would do it again, but the organizational troubles and low attendance flawed the experience somewhat. However, I'm sure some of these issues can be overcome the next time. Thursday, September 7. 2006New SemesterI returned to class just this last week and its already feeling normal. The surprise of this semester has been the Parallel and Distributed Processing class, I find it really interesting. I'm not sure how useful it will be for Amarok, the race conditions in Amarok are far more intricate then anything we'll deal with in class. I turned in my application for graduation today. Using this online system thats somewhat hidden I already determined that I should have marked myself as taking two 300/400 electives next semester, but I suppose they'll tell me that. But anyways the bottom line is that I'll be graduating May 07 easily and that I don't need any more Computer Science classes. I very well might take one next semester to fulfill the one of the elective spots, though Truman is a Liberal Arts university so taking Spanish Conversation and Ancient Roman History (I was assured by a history major that it is an easy class, but you learn a lot) is sounding appealing as well. New spiegel.de layoutWednesday, September 6. 2006Why do we keep on using C++?
Well, I don't know why you're doing it. I keep on using C++ because Amarok is written in it, which can't be changed easily. And that's about the only reason.
This morning I intended to review a code change in amarok.h, one of Amarok's central headers files. Accidentally, I pressed :w in vim, touching the file although it was not modified. The following build cycle left me ample time to shower, have breakfast, and write most of this blog entry! Just changing a single line in one of Amarok's C++ sources (heck, a single character), means a whopping 10 minutes of compiling and linking, until you actually get to see the result. Made a mistake? Oh well, fix it, and wait another 10 minutes. To summarize: Compiling is driving me nuts. I've wasted enough time for it in my life. Life's too short to wait for a freaking compiler. Alas, there is no need for this madness. We have been given two wonderful tools, that present a true alternative for KDE application development. One is Ruby, given to us by Yukihiro Matsumoto, and the other is Korundum, by our very own Richard Dale. Using these tools, we can create applications and actually have fun doing it! Why bother with endless compile times, when we can have the same result in a much shorter time? Ruby is less performant than C++, but many programmers don't realize that this is utterly irrelevant for GUI applications, which spend 99% of their time in library calls, waiting for an event. Two days ago I had this wonderful encounter with Gregor Karzelek in our new IRC channel #kde-ruby. He told me this: "It is unbelievable how fast you can develop with ruby and how easy and fast you can create GUIs with korundum. i started a project for my brother a week ago and have done already about 80% of the functions and 90% of the gui. when i think how long it took my to create such things in java.." I think this speaks for itself. I, for one, don't plan to create another KDE application in C++. I have better tools now Did this blog spark your interest? If so, join us in #kde-ruby to learn more about Ruby and Korundum. Tuesday, September 5. 2006Porting to Windows (part 2)A little while ago I wrote a small post explaining why Amarok was not going to be ported to windows for the time being. At the Amarok HQ, we like to increase publicity by submitting our stories to digg and other news sites. Keeping track of the comments shows that there is plenty of discussion as to why we should or should not release a Windows port of the application. Since writing that post over 12 months ago, the situation has become a little clearer and we understand the direction which will be taken. It has been discussed at length, both at our meeting and on IRC, that there should be a windows release at some point in the future. Amarok 2.0 will be based on Trolltech’s Qt4 framework, which provides the required GPL license under windows (which was previously unavailable). If a working kde-libs port exists, the release should nearly write itself. In the case that kde-libs is not available under windows, it is also feasible to produce a Qt only version of the application, but would require a lot of work and risk our currently excellent status within the KDE community. The only remaining factor would be a developer to do the job. Although the transition should be rather transparent, since Qt4 is platform independant, everybody knows that this is hardly ever the case. We don’t see this as too large a hurdle because there is plenty of support in the community and a high demand to get the job completed. Estimated time of arrival? This is a question we cannot answer just yet, because 2.0 development has not yet started in full swing. We all hope that it can be released concurrently with Amarok for linux. The reality of life is, that some of us do need to use Windows, and it would be great to be able to rock out with Amarok on that exotic, unknown platform. For comments, please visit: the original post Amarok 1.4.3 released!For a number of weeks now we have strived to settle down the ever excitable codebase around Amarok. The result: a spectacular release, which is stable and will allow you to continue rediscovering your music. The major highlights of this release include: We hope you all enjoy this release and will support us by digging our story! Amarok 1.4.3 ReleasedWe were planning on holding off on 1.4.3 until the aKademy. However there were a few pretty serious bugs with 1.4.2; people were unable to build collections in some circumstances. Post-1.4.2 has been a very good development cycle overall - to turn a development release into a stable release all I had to do was turn off the DAAP Music Server and hide the Moodbar feature. And Moodbar is in-fact quite stable now, it just isn't finished so we wanted to hold off on releasing it publicly. (The DAAP music server still doesn't work with iTunes due to the weird HTTP requests that iTunes makes which causes problems with Mongrel HTTP library its using). So... please digg us. Monday, September 4. 2006security methods and lifeThis evening I read an article about using an appealing car as bait in order to catch criminals carjacking. The report quotes that there is nearly 100% success rate in convicting the theif because there is live footage from within the car. I noticed that this type of strategy was very familiar to the honeypot, a term in computer security which describes a setup to entrap a would be attacker. I know how the media likes to exaggerate on tech issues, but is this really such a cutting edge breakthrough? It would surprise me if it was, because these concepts have been around for a long time. Furthermore, we know that there are security concepts which are modelled from real life, such as Intrusion Detection Systems, analogous to a house alarm, but what other adaptations have been taken from the computing world? Perhaps there are still even more methods which haven’t been used by the police and other authorities to catch criminals, but are common practice within the IT community. Is There One Sane DSL Router?Saturday night our DSL router died. The LEDs simply went off and even loud cursing and bashing against the wall didn't reanimate it. I'd like to forget about this piece of hardware as soon as possible anyways, so R.I.P Belkin. But please, never buy a Belkin router. I had to reboot mine every now and then, since I simply couldn't ping or reach it anymore. Also, the reallife bandwidth of this 54mbit wave-lan access point was a joke and competed with good old 10mbit coax. So off to PC World and just get a new DSL router, right? That's what I thought. At first I came home with a shiny new Linksys WRT54GS. Luckily RJ discovered that a broadband router isn't necessarily able to connect via broadband before we opened the box. Their concept of broadband routing is to connect this Linksys to your DSL/Cable Modem - which we don't have. It was supposed to be in the router, that's why it's called broadband router. So back to PC World, returned the Linksys and bought a D-Link DSL-G624T. It features a real DSL-modem, that's the upside. It even runs a proper Linux kernel and BusyBox. That's another plus on my checklist. It even comes with proper QOS and ADSL2+ support. I'm impressed. But then it started... already the installation was weird. First of all, half of the D-Link's web-interface is not functional with Firefox. It is slightly better with Konqueror and Opera seems to work for 90% of (the really extensive and featureful) web config. Seems to be a case of "Designed for Windows XP". Amusing when you know that it's driven by Linux Sigh.
« previous page
(Page 2 of 3, totaling 31 entries)
» next page
|
Amarok LinksCalendarQuicksearchArchivesCategoriesSyndicate This BlogBlog Administration |

