Text

NTFS Write for OS X

I’ve been recently faced with the ever lasting problem - Apple, please do something about it? - of trying to connect an NTFS external hard drive to my laptop only to be surprised that I can read everything on the drive perfectly but can’t write back to it.

It turns out that it’s a very well-known thing that OS X only support reading for NTFS drives. Turning to google for a free solution, I was bombarded with a gazillion mentions of NTFS-3G and MacFUSE. Unfortunately, most of these mentions are quite outdated. I finally stumbled upon a nice way in http://fernandoff.posterous.com/ntfs-write-support-on-osx-lion-with-ntfs-3g-f and http://fernandoff.posterous.com/ntfs-3g-20120115-binary-installer.

Summing up the steps to get NTFS write up and running on - in my case - OS X Mountain Lion 10.8:

  1. Download/install Fuse4x http://www.fuse4x.org/
  2. Download/install NTFS-3G binary (special one compiled against fuse4x extracted from macports) https://github.com/downloads/fernandofig/ntfs-3g_osx_binary_image_builder/NTFS-3G.dmg
  3. In the NTFS-3G run the Switch binary and accept changing the default NTFS mounting to the new NTFS-3G

If everything went well, now, whenever you plug an external NTFS hard drive, it will be mounted with write enabled.

Text

Remember Me!

It always happens to me that someone mentions something and then all I’m left to think about afterwards is my online identity.

This time it was @bionuc who tweeted a simple question about login/registration in websites. His thought is that we should replace the 2 distinct scenarios of registration and login with just one new scenario and his question was, what should be the name of that scenario?

I replied suggesting “Remember Me”.

Why did I choose that or how? All I could think of is that right now, I have an online identity… all that I should ask a website is to remember that identity to provide me with services tailored/customized for me. In other words, I’m asking the website to Remember Me.

But the next logical question would be, what is your online identity?

Is it your OpenID? Is it your Facebook? Is it your twitter? Is it your Google ID, your Windows Live ID or what exactly?

Personally, I think Facebook and twitter are doing great jobs establishing themselves as your online ID but I don’t really think this is right.

I think that much like every single country issues some sort of a National ID for its people and it then issues a Passport to identify those people internationally, we need something like a web passport.

We need identity providers, that are independent of the services that we access on different websites. You’d think that this is OpenID but NO, it is not, we shouldn’t have urls or anything to id us, just use some meaningless id, something that’s globally unique, something to identify a person for the rest of his life.

Maybe those providers should be legal entities approved by governments? Maybe they should be the governments themselves?
An even more radical approach, maybe in the world of today, in 2010, it’s time to forget about national ids and passports and those web ids. It’s time for ID, something that’s unique for every single person born on this earth, something that we can use nationally, internationally, online, offline and everywhere. There’s only one me after all!

Some more random thoughts about this ID

  • Should people have something about.me public profiles where they announce themselves to the world and let them know certain public stuff about themselves
  • When I have my ID, Facebook as an identity provider now should know about it, I will use Facebook to login to other services but doing that will provide those services with my ID

I have no solid definition for this suggested ID, nor do I have the power to push anyone to do anything about it but it always amuses me to think about it from time to time.

Now that this post became more about identity, I’m not even sure about the “Remember Me” name but thanks to it, I wrote all that, so I think I will still stick with it for a while!

Photo
The sun is finally rising… Very blue skies! (Taken with instagram)

The sun is finally rising… Very blue skies! (Taken with instagram)

Photo
Yes, I can! (Taken with instagram)

Yes, I can! (Taken with instagram)

Text

Trustable communication between your server and the browser?

I’ve always been having this problem in mind and always went with the easier more solution of doing it on the server. However, I decided I can ask more people about it, may be one of the enlightened can help me with a reliable solution.

Problem: you’re developing a web application that servers many users. Part of the features you offer involves calling an external API. That call is done for each user. The call can be made by either your server or the browser’s JavaScript. In either cases you persist the result of processing the data from the API call in the server’s database. I would like to offload calling the API and processing the results to the browser’s JavaScript and after it finishes it will callback the server with the data to persist. The problem that I see with this approach is that anyone can modify that JavaScript’s behavior (how easy is that thnx to firebug and its likes) to persist malicious/incorrect data on the server.

How can I - the server - trust that the data coming to me from JavaScript - following the previous scenario - is correct and not altered?

stackoverflow: http://stackoverflow.com/questions/4386125/trustable-communication-between-your-server-and-the-browser