Thursday, June 11, 2009

Technology eats up your identity

Do you have that yourfirstnamelastname.com URL? Or maybe even yourlastname.com? Or if you were really early on yourfirstname.com??!?!?

If so, keep it! And use it! If used properly it is your real identity. Too many people hand out their identities to third party service providers without giving it any thoughts.

Seriously, when was the last time you received an email from anybody with their own domain and not just @gmail, @hotmail, @yahoo and alike? I guess over six months ago, if you are not subscribed to some neo-techno-punk-hippie mailinglists like the one from noisebridge.

When was the last time you were at an event in the city and you did not at least get a hand full of business cards with nothing but a phone number and something like @maex242 or @lemmk on them? Probably some time in 2007.

Do you have business cards that have a LinkedIn profil link on them? What about your MySpace profile? Flickr? I guess you see where I am going.

I just read a blog post at ReadWriteWeb about thinglabs and their "super secret new product".
Well that sounds exciting. I honestly have nothing against anybody from thinglabs! Why would I? I never met these people. We (the royal one) like new and innovative and unique and glittery and shiny ideas. I just hope that the product is more innovative and unique than how they provide information about their team on the front-page of http://www.thinglabs.com.

Really; nowadays it has become so easy to register and use your own domain to represent you and your identity. Hell, every freaking house on our street that was for sale in the last months has it's own domain! Register it at a provider of your choice and use gmail
to send and retrieve messages with your personal touch. Maybe set up a simple website! Even if it's only a picture of you or some links to the different online (or maps to the offline) places that you frequent. Heck, just create a forward from yourname.com to your twitter profile. At least then YOU have the power to change your identity whenever and to whatever you like! Don't want to be known by the twitter handle @douchebag3000 anymore? Tough luck when it's on all your business cards. Don't want to have all your pictures, videos and messages of the last vacation to Switzerland on Facebook anymore? Have fun getting everything completely erased from there.

Of course there is a reason why we use these services that allow us to 'manage our identities' and our 'digital lives' - it's easy and convenient. I am only saying that if you really want to own your identity, you have to put a little bit of effort into it. Just like the houses on our street.


By the way; hit me up at linkedin, twitter, facebook. Or just fucking bing me.

Thursday, January 1, 2009

The speed difference between the different types of Strings in Groovy and Grails

For everybody who wondered why the hell you should use other strings than single quoted strings in Groovy and Grails:
It's faster!
A lot!
Really?

Update: I started a thread on the Groovy user mailinglist in regards to this topic and I got some great explanations on how the Strings/GStrings work and behave. Check it out on the list at nabble.

Why is this interesting?
bobbytek asked the other day in #groovy on freenode which strings one should use when doing "dsl stuff". Single quoted or double quoted?

After going a back and forth with him and after we have been talking about PHP double quoted/single quoted strings and their performance differences I wrote a small script to check out if the single quoted strings are faster in Groovy than the double quoted strings.


The test
So I simply had to try out which strings are REALLY faster. The script I came up with for this purpose forges some single quoted, double quoted, slashy, multi line single and multi line double quoted strings in some loops. The script includes three test. First a simple static string without any substitutions. Second a substitution inside the string with another 'static' string. And last a substitution with an always changing variable (the loop index)

I ran the script with Groovy (1.0 and 1.5.6) on the console and also in Grails (1.1beta2) on Jetty.
Guess what: The results were very different!

I don't think the actual execution time is the main importance here but much rather the differences between the single tests and string types.

I didn't test it with Grails on any other application server besides Jetty with the standard configuration that comes with Grails. If somebody wants to run the script on Tomcat etc - please do so and let me know what the results are there!

Here are the results (click images for larger display):






Conclusion
After running the test, I think I will stick to the double quoted Strings in Grails when defining my domains etc. - I think I always did that as I am more used to the " than the ' due to the standard usage of " in the German language...
I don't know why the double quoted strings are seeming to be faster (without using closures etc) than the single quoted ones and I honestly didn't expect these results. However, I hope someone out there can confirm that this is not only my computer taking on my personal preference for using "! Btw: The results for the script when running Groovy 1.0 show that it actually makes sense to upgrade! ;)

If you have anything to add or if you find any mistakes please (!) let me know. Thanks for reading anyways.

You can download the results as PDF
You can download the script as .groovy file

Thursday, November 20, 2008

QR Codes appear in CSI New York

I usually don't watch TV. Mostly because there is just crap running all the time anyways and I am working or on the road to do more interesting things.

However, I am glad that some people watch that stuff! In the CSI New York episode 'Dead Inside' the clue which lead to the victory of law enforcement was a QR Code. Yay!
Whoever wrote the dialog (while they stand there with the coffee cup) should get an award for promoting the technology! See (and hear) for yourself



I wonder who came up with the QR Codes for that episode... Daniele Nathanson or Pam Veasey

Friday, November 7, 2008

Touch! Stupid! TOUCH!

As November weather arrived in San Francisco, I have been riding the bus more frequently when I was cruising around the city for various meetings, meetups, events and such.

Since my first bus ride I found it very interesting that you actually pull on a string, which runs on the sides of the bus (on the windows) to signal that you want to exit at the next stop. After 'the pull', a light in the front of the bus turns on and an audible signal lets you and the other people on the bus know, that something is going to happen. The bus stops, you push that bar on the bus' door to get out - door opens - walk outside. Done.

So there is a really 'hard' physical and mechanical process going on to tell the driver to halt and wait for you to get your ass off the bus. And there is another physical process when you actually push the bar to open the door.

I am sure everybody rode the bus once or twice but here is a picture to show how that bar, which opens the door, looks.


You can push it, smack it, lean on it, hold your backpack against it - Whatever you do, the door opens. As you are already moving towards the exit this usually goes in one movement.

So.

For a little bit more than a year now (and I have really no idea if that time estimate is correct) there are some new buses rolling around the city. They are supposed to be more comfortable to sit in. Of course they are a bit cleaner. The windows are not yet that scratched by some dumbasses etc. The new buses also have a string, which you pull to indicate that you want to exit at the next stop. There also is an audible and visual signal to inform about the next halt. In addition to that, they have nice red 'STOP' buttons which you can push with one finger. The strings however are about a foot higher than the strings in the old buses and I have seen people reaching, in their trained motion to stop the bus, above their head and not finding the string with the first or second try. After looking up though, seeing the new yellow string and pulling it, usually everything goes OK.

However, when it comes to exiting the bus, the real problems start! The bar on the door is gone! Instead there is a big yellow sticker saying 'TOUCH HERE TO OPEN DOOR'. It has a stylized hand and below that, the spanish translation of 'TOUCH HERE TO OPEN DOOR'.


What the fuck? Who the fuck came up with that idea? I was on the bus for about ten blocks that night and 6 times the bus driver had to yell 'Don't push it! TOUCH!'. He had to come back twice and help people to exit. The problem? The door doesn't open if you push it. No matter what you do (pushing, smacking, leaning, backpack, etc) it won't let you out. So you go from a bar, which you could treat any way, and it would let you out, to a yellow sticker, in the same place, with the same dimensions, which only lets you out when you gently put your fingertips on it. (And even then it only works in 40% of the tries).

Yes, I must admit, the sticker says 'TOUCH' and why can't people just fucking do what the signs tell them?

First of all: What the hell does 'TOUCH' mean? This is a really different thing to different people. It's not like 'Click' and 'Right-Click'! Man... oh man. When I was a child, we had a carpentry (it's still there, but I am not). If you let the Russian guy, Sergej, who worked there, 'touch' something and compare it to the 'touch' of my granny - Two totally different worlds! How can you assume that a user will know exactly how to touch the door to open it? 'Open sesame'!?!?

Second of all: Do you really think anybody reads the stupid sticker and does anything different than he or she is used to do? The sticker has the same place and same dimensions as the old-school handle. It also has the hand-symbol on it. Why would anybody assume that it functions differently and that you have to carefully follow some new instructions? After all we are on a bus! Not a NASA mission.

How stupid can a designer be to really think that this works? During the bus ride of ten blocks, I have seen more user-frustration, than I saw in the last year when I was watching people figuring out how to connect their laptops to a beamer and display the same image on both, their laptop-screen, and the white surface at the end of the meeting room. I am not a haptic interface designer, and I am not a bus driver either, but somebody came up with this concept of replacing the bar with a touchable door + sticker and I think it's the most stupid thing I have ever seen while sitting in a bus in San Francisco. And I have not seen few of them there!

Thanks for reading anyways.

Thursday, October 23, 2008

If I had a hammer

HammerI am glad. I am really glad.

I am glad that everything goes to hell. Finally our own perverse games turn around and smack us in the face. OK, in some cases the people who caused the issues are not the ones who are bleeding now (sorry!) but as most of the time, I want to talk more about the tech-side of things anyways.

man... I am glad...

Finally all that unnecessary software crap, which has built up within the last years, online and offline, will die off and I am already looking forward to the day on which I will read the news (on bloglines - yes, I save trees) and will not be spammed with information about companies and software who solve an already solved problem yet again (and getting millions of dollars for it).

man oh man... I am glad.

Of course it is now not the very best time to search for funding and money might be tight if you need to bring your own startup to the next (or first) level. However, I found it always unbelievable that a software startup (startup!) needs more than computers, coffee, the internet and some smart minds to kick off something great. And if you are kicking off something really great it usually works - Even in bad times.

In a conversation earlier today about the current situation on the (tech) market we were talking about 'Darwinism'. And it's true. It will be the 'Survival of the fittest' and I am glad about it. So glad.

You could almost say 'excited'.


Thanks for the hammer

Tuesday, September 30, 2008

Developing with 1D and 2D Barcodes

QR-Code www.snappr.netIt is always nice to integrate easy to use APIs into your own site or software. When you are working in this area, it is especially nice is to have an integration with 1D Barcodes and 2D Codes where you don't have to take care of rendering or decoding of images. If you are not working with Barcodes yet, this might be the time to start exploring the possibilities of 2D Codes as a real-world entry to online information.

Snappr.net just opened an API for encoding and decoding of Codes. By easily accessing their webservices one can create and 'read' 1D and 2D Barcodes.

This Code for example, which encodes the URL to the mobile version of my blog is created by simply calling the service via
http://service.snappr.net/encode.php?Icon=www&Data=http%3a%2f%2fm.thinkoutsidethebubble.net&Response=direct&Version=100

Thursday, September 25, 2008

Scanning 1D Barcodes with your iPhone

QR-Code www.snappr.netAs the first of it's kind, Snappr.net has a video out with a demo on how to scan 1D Barcodes and shop mobile with your iPhone. It works pretty well, as long as you have a steady hand and enough light for the camera.
But see for yourself.




More info about the iPhone App on the Snappr.net website