Floating Sun » rants http://floatingsun.net Mon, 07 Jan 2013 02:53:26 +0000 en-US hourly 1 http://wordpress.org/?v=3.5.1 Whats with __MACOSX in Zip files? http://floatingsun.net/2007/02/07/whats-with-__macosx-in-zip-files/?utm_source=rss&utm_medium=rss&utm_campaign=whats-with-__macosx-in-zip-files http://floatingsun.net/2007/02/07/whats-with-__macosx-in-zip-files/#comments Wed, 07 Feb 2007 22:16:26 +0000 Diwaker Gupta http://floatingsun.net/blog/2007/02/07/793/ Related posts:
  1. Whats up people?
  2. Whats next?
  3. Whats up with PageRank?
]]>
More and more people are using Mac’s for development these days. As an example, a lot of the core developers from some of the leading web frameworks use Mac as their primary development platform. Several plugin and theme authors for WordPress also develop on Mac. While this is a good thing, there is one particular side effect of this development that annoys me beyond relief.

It seems that the easiest way to archive something on Mac is to right click on your directory of choice in Finder and select “Archive as…”. This creates a Zip file, which then the developer can distribute to users. The problem is that Apple, like many other software giants, tends to twist and bend the user’s will and interpret what the user wants to mean something else. In this case, the natural thing for the OS to do is pack up that directory, and ONLY that directory in a Zip file. But no sir, how can that be? How can Apple “transparently” embed some metadata in the Zip file so that if some other Mac user opens it in Finder, he/she can benefit from this metadata.

Apple does this by creating another folder suspiciously named ”%%__MACOSX%%” at the root of your Zip archive. Here’s an example (its the Cutline theme):

0 02-02-07 12:37 Cutline 1.1/
12292 01-31-07 17:16 Cutline 1.1/.DS_Store
0 02-02-07 12:38 __MACOSX/
0 02-02-07 12:38 __MACOSX/Cutline 1.1/
82 01-31-07 17:16 __MACOSX/Cutline 1.1/._.DS_Store
82 01-31-07 00:12 __MACOSX/Cutline 1.1/._ie6.css
238 01-30-07 23:59 Cutline 1.1/ie7.css
82 01-30-07 23:59 __MACOSX/Cutline 1.1/._ie7.css
0 09-13-06 17:30 Cutline 1.1/images/
12292 09-13-06 17:30 Cutline 1.1/images/.DS_Store
0 02-02-07 12:38 __MACOSX/Cutline 1.1/images/
82 09-13-06 17:30 __MACOSX/Cutline 1.1/images/._.DS_Store
65705 09-11-06 15:55 Cutline 1.1/images/header_1.jpg
34365 09-11-06 15:55 __MACOSX/Cutline 1.1/images/._header_1.jpg
62867 09-11-06 15:59 Cutline 1.1/images/header_2.jpg
33224 09-11-06 15:59 __MACOSX/Cutline 1.1/images/._header_2.jpg
82708 09-11-06 16:01 Cutline 1.1/images/header_3.jpg
34855 09-11-06 16:01 __MACOSX/Cutline 1.1/images/._header_3.jpg
59780 09-11-06 16:03 Cutline 1.1/images/header_4.jpg
33555 09-11-06 16:03 __MACOSX/Cutline 1.1/images/._header_4.jpg

This folder contains, among other things, thumbnails for images in the original archive. Now, this kind of unwanted, undesirable outcomes just really really annoy me. But I’ll try to keep my cool, and present a systematic analysis of not only why what Mac OSX does is wrong, but also stupid and unnecessary:

  • No surprises: As a user, I don’t like surprises, specially of the bad kind. If I request to archive a directory into a Zip file, thats exactly what I want. If I later unarchive that zip file, I should get my original directory back. Nothing more, nothing less. Any kind of unintended behavior is BAD.
  • We are not stupid: If I wanted you to stick in an extra folder named ”%%__MACOSX%%” in my archive, I’d let you know. Your users are a smart group, don’t insult them like this.
  • I hate clutter: In my WordPress themes directory, I unzip Cutline. If each theme starts creating its own ”%%__MACOSX%%” folder, then my themes directory would soon get cluttered with needless garbage.
  • It breaks things: If MacOSX did something harmless, like embed some metadata (like Zip file creator) into the Zip file itself, I might have been OK. But creating an entire tree structure in the archive just breaks things, in ways more than one. As an example, if like Cutline, each WordPress theme started creating ”%%__MACOSX%%” folders in the root of the archive, then later if I install another theme, I’ll get lots of errors and file name collissions because the new theme will also try to extract in the ”%%__MACOSX%%” folder. Not only this, some programs (like Gallery and WordPress) have the ability to load plugins/images directly from Zip files. As a result, I’ll end up with unwanted images, themes and plugins in my setup. Not only this, it might actually just break your installation. Since you did not create the ”%%__MACOSX%%” folder yourself, you don’t know what is in it, and it might not always obey the expecations of the software.
  • Security: Again, you did not explicitly create that folder. What if someone creates a virus, that just modifies the default zip program on Mac to sneak in malicious payload via the ”%%__MACOSX%%” folders in any new Zip archives you create? Apart from the security risk, its a time sink. Why should I go around cleaning up mess that I did not create? Software is supposed to make my life easier, not harder.
  • Redundant: From the looks of it, it seems that all of the data inside the ”%%__MACOSX%%” folder is created from the original directory. No external information is used/needed. If thats the case, why oh why would anyone EVER need this stupid new folder? If some metadata is needed, it can always be reconstructed from the original on demand. This seems downright stupid to me.

Would someone, anyone, please explain Apple’s intent and motivation behind this “feature”? What are the benefits (if any)?

]]>
http://floatingsun.net/2007/02/07/whats-with-__macosx-in-zip-files/feed/ 58
Why bharat1 sucks? http://floatingsun.net/2006/08/16/why-bharat1-sucks/?utm_source=rss&utm_medium=rss&utm_campaign=why-bharat1-sucks http://floatingsun.net/2006/08/16/why-bharat1-sucks/#comments Thu, 17 Aug 2006 05:59:46 +0000 Diwaker Gupta http://floatingsun.net/blog/2006/08/16/724/ Related posts:
  1. Lifestream: whats the big deal?
  2. Google Reader dumbness
  3. Show some love to the fuzzy orange icons
]]>
Desicritics had a glowing review of bharat1.com. I don’t have anything specifically against it, but I think the review is a bit biased. So to play the devil’s advocate, let me point out why this so-called “preimer news aggregator” is not as great.

There are many ways a website can distinguish itself — user experience, content, functionality, presentation etc. I don’t think bharat1 excels in any of these areas. Really, the only think bharat1.com has done is pre-select a bunch of feeds. I don’t know why that is good, unless they have demonstrated that their feed selection is really great.

No new functionality: The author himself points out, Netvibes has similar features. Thats actually incorrect. Netvibes is a lot more than just a news aggregator — they are essentially trying to build a web based desktop replacement. In some senses Netvibes is a portal. And Netvibes is not alone — there are several others (Google IG, Goowy, Nowsy, Pageflakes etc etc).

In particular, all of these already let users move around content — so thats nothing new. They also offer a whole bunch of news feeds, and let users add their own news feeds — so thats nothing new either. Pre-selecting some news feeds is not that great — anyone can put up their OPML file to share and thats it.

What about “tags”? Thats not new either. Gregarius has tags. Technorati always had tags. Since you can get feeds for tags from Technorati and a whole bunch of other places, its not that great a deal. I think Google News does a much better job of “clustering” news — I wouldn’t rely on tags to represent “News Topics”.

Not only this, Netvibes et al. are more like platforms. They have open APIs, that let people build on top of the framework. They use community to build up traction. In its present form, bharat1.com is a one way road — there is absolutely no community involvement. They don’t even talk about how they discover tags, or a list of news sources they track.

Remembering the positions of the blocks? Are you kidding me?! That is so not new, or impressive in any which way. People have been stuffing things into cookies for the past decade or so. And that is the “most important part of the site”?

How does the ability to add my own blog to the site make it unique? If you can add any feed (as with Netvibes and friends), your blog is just another feed. I’m sorry, I don’t see the distinction. On the other hand, bharat1.com is probably the only aggregator which doesn’t offer its own news feed. What good is an aggregator if I can’t puts its RSS feed somewhere else?

What they call a “News Map” is better known as a [[wp>Tag_cloud]]. And if you find that impressive, check out News.com‘s hot news interface. As for the “minimalist” interface, nothing beats Google IG.

Finally, the site is not “ready”. There is no proper “About Us” page. The Policy page is linked to the “Contact” Page.

Like I said earlier, I have nothing against bharat1.com. I just felt that the author of the review had not done his homework. Perhaps bharat1.com will become all that and more, but in its current state, I think the review does more harm to it than good. All that glorification (“employs a unique combination of technology and creativity and brings to you the best of the web in a nice little package.”) just builds up false expectations, and in this fast moving market, don’t expect disappointed visitors to come back.

]]>
http://floatingsun.net/2006/08/16/why-bharat1-sucks/feed/ 6
Image management in KDE http://floatingsun.net/2006/01/31/image-management-in-kde/?utm_source=rss&utm_medium=rss&utm_campaign=image-management-in-kde http://floatingsun.net/2006/01/31/image-management-in-kde/#comments Wed, 01 Feb 2006 04:35:22 +0000 Diwaker Gupta http://floatingsun.net/blog/2006/01/31/486/ Related posts:
  1. Riya
  2. checkoutvim.png (PNG Image, 1440×900 pixels)
]]>

Why can’t KDE have a **single** photo management solution? I’ve often been a proponent of the “Choice is Good (TM)” philosophy, but I have to admit, when it comes to image management in KDE (or Linux, in general), I really feel lost. For KDE to emerge as a strong contender in the desktop arena, it needs to be focused and tightly integrated. It needs to //endorse// SOME image management package. Let me talk briefly about the various tools available to give you an idea of the situation:

* [[http://www.digikam.org/|digikam]]: From the website //digiKam is a simple digital photo management application for KDE, which makes importing and organizing digital photos a “snap”. The photos can be organized in albums which can be sorted chronologically, by directory layout or by custom collections. An easy to use interface is provided that enables you to connect to your camera and preview, download and/or delete your images.// Digikam also includes its own photo viewer.
* [[http://www.jalix.org/projects/showimg/|ShowImg]]: From the website //ShowImg is a feature-rich image viewer for KDE including an image management system. It is highly configurable and supports numerous image formats.//
* [[http://ktown.kde.org/kphotoalbum/|KPhotoAlbum]]: This is basically a tool to help you tag your page (people, places, events, dates) and later, find them.
* [[http://gwenview.sourceforge.net/|Gwenview]]: From the website — //Gwenview is a fast and easy to use image viewer for KDE.//
* [[http://kde-apps.org/index.php?xcontentmode=222x223x224|Several other]] [[http://kde-apps.org/index.php?xcontentmode=224|editors]], [[http://kde-apps.org/index.php?xcontentmode=222|viewers]] and [[http://kde-apps.org/index.php?xcontentmode=223|tools]]

So, what should I use? Digikam seems to be a one stop shop — capture, tag, search — all in one package. But why does it have its own viewer? Why can’t it just use ShowImg or Gwenview? Why doesn’t KPhotoAlbum integrate with Digikam? Why do they all have to use different backends? Why don’t //any// of them have built in support for flickr? [[http://extragear.kde.org/apps/kipi/|Kipi]] is great, but lets make it a strength and not a weakness. Don’t reinvent the wheel for routine tasks — instead, fill in the niches.

I actually feel bad about ranting like this, in case someone is about to suggest that “this is open source, if its your itch, you should scratch it”. I would, except that I don’t have the time/skill/experience to get into image management/editing at this point. Even the GNOME world is not much better. There is F-Spot, GPhoto, GQview, GThumb and plethora of others.

So KDE folks, try to streamline KDE’s image mangement offerings in time for KDE4 — it will go a long way in making it the best desktop ever!

]]>
http://floatingsun.net/2006/01/31/image-management-in-kde/feed/ 0
Konqueror Wishlist http://floatingsun.net/2006/01/26/konqueror-wishlist/?utm_source=rss&utm_medium=rss&utm_campaign=konqueror-wishlist http://floatingsun.net/2006/01/26/konqueror-wishlist/#comments Fri, 27 Jan 2006 03:52:45 +0000 Diwaker Gupta http://floatingsun.net/blog/2006/01/26/485/ Related posts:
  1. Konqueror hidden goodies
  2. Konqueror
  3. A more extensible KDE
]]>

I have talked about my [[http://floatingsun.net/blog/2005/10/10/240/|dabblings]] with Konqueror [[http://floatingsun.net/blog/2005/10/11/244/|earlier]]. However, there are still a lot of things I find missing in Konqueror, as a result these days I end up running one instance of both on my desktop :-( Here are some of the things I //really// wish Konqueror had:

* **[[http://del.icio.us]] integration**: Bookmark management in Konqueror is great (I specially love the Kopete bookmark plugin that integrates with Konqueror), but come on, a modern browser **without** social bookmarking support? You gotta be kidding me!
* **Extending Konqueror**: Make Konqueror scriptable, or extendible. Keeping the binary tight and bundling the best features with the core are great ideas, but you can’t please all the people all the time right? So let people extend Konqueror — write plugins, extensions and so on. You know what, just support XUL and Firefox plugins — that way you reduce the barrier to entry for noobs significantly :-)
* **Better multimedia support**: KDE has always been great at doing multimedia stuff. I routinely use kaffeine over mplayer. KDE has also been great at re-using components, and embedding applications. The entire KParts framework is awesome. So why, oh why, is it so hard to view multimedia in Konqueror? Why does it try to use my Firefox Mplayer plugin when it can just potentially embed a Kaffeine part? I want Apple Trailers, Google Video, You Tube, Raaga.com — everything to work **out of the box**.
* Talk to Google: I’m not sure if this is a problem at Konqueror’s end or Google’s, but Konqueror still has a really hard time handling GMail. It just doesn’t look and feel as nice as it does in Firefox. And Maps? My disk starts thrashing, the memory hits the swap and everything just crawls to a grinding halt. Please, Google, KDE folks, talk to each other. Lets see some synergy! :-)

I’ll add more as I think of them.

]]>
http://floatingsun.net/2006/01/26/konqueror-wishlist/feed/ 3
Google and Urchin http://floatingsun.net/2005/11/15/google-and-urchin/?utm_source=rss&utm_medium=rss&utm_campaign=google-and-urchin http://floatingsun.net/2005/11/15/google-and-urchin/#comments Tue, 15 Nov 2005 20:29:17 +0000 Diwaker Gupta http://floatingsun.net/blog/2005/11/15/414/ Related posts:
  1. How Google killed Urchin
  2. Google Analytics — the deep web
  3. Google galore
]]>

I was talking to Asim yesterday and he seemed to be having a hard time understanding exactly what my problem was, vis-a-vis the Google/Urchin/Analytics fiasco. He couldn’t imagine why anyone would get pissed if they were paying for some product and now that product comes for free.

I guess I didn’t communicate well. Perhaps, the [[http://onotech.blogspot.com/2005_11_01_onotech_archive.html#113200904055483341|this story]] from [[http://zevents.com|Zevents]] will help — its a good example of what has happened to many Urchin customers. And this was just for Urchin 6. The older, Urchin 5 customers have had to deal with even worse customer support.

Here’s one quote from a Mr. Scott Crosby, supposedly at Urchin in response to [[http://simplicio.com/index.php?id=4|this post]]:

>Urchin certainly isn’t “killed” a la Keylime, quite the opposite – it’s going absolutely gangbusters. Perhaps the best analogy is that being part of Google is like trying to drink water from a fire hose – not easy to keep up with the volume. We are rapidly ramping up staff and resellers to accommodate the flood of inquiries, have massively expanded our infrastructure, and have cut the price in half (on demand). Not sure how that’s evil, but I can appreciate customer frustration. We’re doing our best to keep up, but there are only so many hours in the day. That said, please try sales@urchin.com or http://www.urchin.com/support/ – many improvements have been made and response times are much better.

To which, Nathan said:

> There’s one thing that continually surprises me, and what I think Mr. Crosby missed:

> Not only is TextDrive itself upset at Urchin’s poor response and customer service, TextDrive’s customers are taking the company to task for how Google has handled their acquisition!

> Pissing off your customers is one thing. But pissing off your customer’s customers? How many other hosting companies have been left in this kind of situation, and what do their users think about Urchin now?

I think that sums up the situation quite nicely. While everyone is going gaga over Google Analytics, clearly a lot of people are not very happy with how the entire transition has been dealt with.

]]>
http://floatingsun.net/2005/11/15/google-and-urchin/feed/ 0
ToI http://floatingsun.net/2005/11/13/toi/?utm_source=rss&utm_medium=rss&utm_campaign=toi http://floatingsun.net/2005/11/13/toi/#comments Sun, 13 Nov 2005 22:20:47 +0000 Diwaker Gupta http://floatingsun.net/blog/2005/11/13/411/ Related posts:
  1. Sex, lies and videotape
  2. ToI sucks
  3. The heat is on
]]>

I just noticed today that the [[http://timesofindia.com|Times of India]] website has a new look. Haven’t been there in a while so don’t know if this is a recent development. Nonetheless, I can see that has definitely been //no// improvement in the quality of the content. Here are some of the headline stories from the front page:

* [[http://timesofindia.indiatimes.com/articleshow/1294023.cms|Bollywood Stars: all Don's girls]]
* [[http://timesofindia.indiatimes.com/articleshow/1294108.cms|In secular Paris saree is scary]]
* [[http://movies.indiatimes.com/quickies/msid-1292128.cms|Rani the sex kitten]]

and many more.

The interested reader might want to take a look at [[http://www.cs.cmu.edu/~mahim/|Mahim's]] ToI [[http://www.cs.cmu.edu/~mahim/toi/|rant page]].

]]>
http://floatingsun.net/2005/11/13/toi/feed/ 0
Groupware rant http://floatingsun.net/2005/10/19/groupware-rant/?utm_source=rss&utm_medium=rss&utm_campaign=groupware-rant http://floatingsun.net/2005/10/19/groupware-rant/#comments Thu, 20 Oct 2005 01:36:34 +0000 Diwaker Gupta http://floatingsun.net/blog/?p=277 Related posts:
  1. Finally, stable groupware!
]]>

Why is [[http://en.wikipedia.org/wiki/Groupware|groupware]] so hard to do, especially for a small-scale environment (less than 10 users, lets say). Let me explain.

I typically use my laptop at home and my lab machine at work. Naturally, I like to keep my working environment similar on both my machines. In the same spirit, I would like to be able to access my contact list, my todo’s, my notes, my calendars etc from wherever I am. Now the straight forward way of doing is this the way I do it currently — just shove all shared data under a directory, and then synchronize that directory across machines (I use [[http://www.cis.upenn.edu/~bcpierce/unison/|unison]] currently, but if James cracks it, I might eventually move to something like [[http://tsyncd.sourceforge.net/|Tsync]])

Anyways, this works pretty well actually. But there are a number of small little gripes:

* this method works best if you only work from one machine at a time. At times I forget to shut down my calendar at one place and later when I open my calendar at another place, the subsequent synchronization may get messy (since there might have been pending updates on both ends)

* Infact, for things like events, todos, contact updates — I want them to happen in **real time**. If I have my addressbook open on both machines and I change the contact on one machine, the addressbook on the other machine should automatically update itself

* similar issues with notes, browser bookmarks

Clearly, some kind of server based solution seems necessary (since I’m looking at small user bases, umm that is a //single// user, centralized servers are ok. Enterprises already have distributed systems). Now part of the problem is that parts of the problem are being solved by different people: we have IMAP for email, del.icio.us for bookmarks, tadalist for TODO lists and so on.

However, I want everything in //one// place. Further, I want full control over it — so I need to be able to download and run it as a server on any machine. In 5 years perhaps I’ll be ready for “all my data on the web somewhere”, but not yet. So I went ahead and tried a lot of different groupware solutions out there. My main resource was the [[http://kontact.kde.org|Kontact]] [[http://kontact.org/groupwareservers.php|support groupware servers]] page. I’ll briefly mention the two I tried:

* [[http://www.opengroupware.org/|OpenGroupware.org]] — this one looked promising but turned out to be overly complicated to install and manage, even for me. The Kontact connector was not working at the time I tried. I don’t know the current status, but it was just //so// hard to even get started with.
* [[http://www.egroupware.org/|eGroupware]] — this was one that actually worked for me. I could synchronize my addressbook, notes and calendars with ease. However, one **big** problem: it uses XML-RPC for communication, and not something designed with groupware in mind (such as [[http://www.groupdav.org/|GroupDAV]]). So basically what happens is that everytime I make a change, a //HUGE// XML file is fetched from the server, updated locally and then sent back remotely. I found it to be extremely time consuming, and waste of resources. There were other minor quirks — since the data model used by Kontact (vCards and ICS etc) is different from the datamodel in eGroupware (some database schemas), a lot of information is lost/can not be maintained. For instance, all of KAddressbook’s nice integration with Kopete will break down because I can’t store photographs or IM screen names in eGroupware.

There are a couple of more interesting options out there: one is the [[http://www.hula-project.org/Hula_Project|Hula Project]] and the other is the [[http://citadel.org/|Citadel]] project. Hoola is interesting because its a mature product, backed by Novell, and a very nice web frontend. Citadel is interesting because it stores data natively in vCard and ICS formats, thus avoiding the data model mismatch problem faced by other groupware suites. However, Hoola uses its own IMAP server and doesn’t support [[http://groupdav.org|GroupDAV]] yet. Citadel has the concept of “rooms” and is really meant for community use.

So, basically I’m back to using Unison to keep my files in sync. In some ways I think its actually a good solution, since it works for all kinds of files. But still, I don’t like having to quit all my applications before I leave for school just so that the applications can start in a clean state when I get back. If the files get updated when the apps are running, apart from email, everything else (calendar, todo, contacts) behaves in a weird manner.

]]>
http://floatingsun.net/2005/10/19/groupware-rant/feed/ 2