Wednesday, May 4, 2011

Äpple eller köttkonserv - del 2

Det här är en uppföljning på mitt tidigare inlägg angående Apples eventuella kundundersökning via företaget Medallia.

Igår fick jag ytterligare ett mail från Medallia (se nedan). I mailet finns en mailadress jag kan använda om jag har problem med själva undersökningen. Det intressanta är dock följande:

Om jag skickar ett mail till angiven adress, apple_surveysupport.cd3r4bhxk8h8vm9@express.medallia.com, så får jag omedelbart ett identiskt mail tillbaka.

Än så länge har jag heller inget svar från Apples kundtjänst på Irland, även om dom påstår sig undersöka om själva undersökningen är något Apple beställt.

Just nu är min känsla att det är på riktigt, men dåligt skött från både Apples och Medallias sida. Låt oss se om jag nånsin får ett svar från Apple.

Här är mailet:
Tack för att du har kontaktat iPhone’s kundundersökning. Du har svarat till en e-postadress som inte kan ta emot inkommande meddelande och därför kommer det här automatiska svaret att dirigera dig till rätt adress så att vi kan ta hand om dina frågor eller kommentarer.

För att komma till undersökningen: Klicka direkt på länken som finns i din inbjudan eller kopiera och klistra in hela webbadressen i adressfältet i din webbläsare.

Undersökningshjälp: Om du får problem med att se eller avsluta undersökningen, kontakta Medallia på apple_surveysupport.cd3r4bhxk8h8vm9@express.medallia.com

Tack,
Apple

Friday, April 8, 2011

Äpple eller köttkonserv?

Om Apple skickar ut en kundundersökning borde man kunna förvänta sig att ena armen vet vad den andra gör. Jag bifogar mailet från Apple (?) nedan. Är det på riktigt, eller är det spam?

Några noteringar:
  • Kundtjänst i Sverige har ingen aning om företaget Medallia eller någon kundundersökning.
  • www.apple.se innehåller ingen information om någon undersökning
  • Mailet innehåller ingen information om mig eller mitt företag, såsom användarnamn hos Apple.
  • Diskussionsforumet på apple.com innehåller en fråga från 2008 angående ett liknande mail, men den saknar tyvärr svar.
  • Medallia tycks vara ett riktigt företag som gör kundundersökningar
  • Länkarna i mailet leder till medallia.com.
  • Jag väntar på svar från contactus.se@euro.apple.com angående detta mail.
Är Apple så amatörmässiga? Tja, kanske.

Här är mailet:
Kära Apple iPhone-kund:

Tack för att du har köpt en Apple iPhone . Vi skulle vilja be dig besvara några frågor om dina upplevelser med din nya telefon.

Vi har bett Medallia, Inc att genomföra undersökningen och ta hand om dina svar. Vi hoppas att du har tid att lägga några minuter på vår undersökning.

För att genomföra undersökningen behöver du bara klicka på nedanstående webbadressen (URL) eller kopiera och klistra in hela webbadressen i adressfältet i din webbläsare.  Ni kan fullfölja den här undersökningen på er iPhone.

http://survey.medallia.com?cd3r4bhxk8h8vm9&lng=sv_SE

Informationen som du lämnar kommer att användas till att förbättra vår produktsupport.  Vi kommer inte att använda dina svar för att sälja produkter eller tjänster till dig.  Om du har några fler frågor om hur vi kommer att an vända den här informationen kan du läsa om vår sekretesspolic (se nedan)

Vi värdesätter och uppskattar dina svar. Tack för att du har deltagit!

Apple

---------------------------------------------------------------------------------
Svara inte direkt på den här inbjudan

Undersökningshjälp: Skulle du ha några problem med att se eller avsluta den här undersökningen, kontakta Medallia at mailto:apple_surveysupport.cd3r4bhxk8h8vm9@express.medallia.com

För mer information om Apple’s sekretesspolicy, gå till:
http://www.apple.com/legal/privacy/

Dessutom förbinder sig Medallia att skydda all insamlad information. För att läsa mer om Medallias sekretesspolicy, gå till: http://www.medallia.com/privacy.php

För att lämna Medallia: Vi litar på information från våra kunder för att kunna vara säkra på att supporten som du får ska möte och överstiga dina förväntningar. Gå till: http://survey.medallia.com?cd3r4bhxk8h8vm9&lng=sv_SE&reject=yes om du inte vill få en liknande förfrågan i framtiden,

Saturday, January 22, 2011

Late adopter?

Suddenly I'm a late adopter of new technology: Until today I had never heard of Viber. After installing it, the app plainly says that 41 of my contacts are already Viber users. Wow. What the heck is Viber?

"Look at my new cool StoneAxe 4!" - Another late adopter(?)
Viber is a Skype killer. Skype will have to move fast not to get wiped out.

What's so great about Viber then? After all, it's just a phone app - it even looks the same as the built in iPhone phone app. So nothing is new. But still, what makes it great are three little things:
  1. You can receive phone calls when the app is not running. I tried it on my non-multitasking iPhone 3G and it worked perfectly using the notification system of iOS.
  2. Your contacts are all there. Viber lets you make normal cellular phone calls to those of your contacts that do not have Viber.
  3. Since your cell phone number is your user name, the registration process is incredibly simple and more importantly: Viber already knows which of your contacts who are Viber users, since your contact list contains their phone numbers. No need to build up a new buddy list.
Skype has none of the above features. The Viber app is how the Skype app should have worked all the time.

I have 79 Skype contacts. Twelve of those are logged in. Six of them are at or near their computer. Correction, five, I shouldn't count the Skype Test Call. I mainly use Skype as an IM client. Very seldomly I make or receive calls. Why is that? Well, even though there are right now 25+ million users logged in, only 6% of my contacts are logged in. Equally important is the fact that I prefer a little bit of privacy as I talk on the phone. Even a laptop isn't so simple to carry around, especially if it's docked into other hardware on your desk.

I want a phone when I want to talk on the phone.

Everyone knows that the telecom companies are slowest-moving, least innovative companies in the world. But then there was Skype - and Skype created a client for my HTC Windows phone. Great I thought, since I'm already paying for unlimited data. But the app was a disappointment since it couldn't use the normal speaker of the phone. It also quickly drained the battery when running, and I had to keep it running for it to be useful.

The Skype app for iPhone is better, but is mostly the same old application. Why start it up if I have nobody to call?

Viber changes that. The whole reason Skype succeeded was: It worked! MSN Messenger didn't, ICQ didn't and so on. Skype made it possible to make voice calls with an IM client. Great.

Now Viber does just that for the device that phone calls are supposed to be made on. Viber just works. On my phone.

Those are my first impressions of the app and the service. Maybe Viber will prove not to be reliable enough. Maybe Skype will strike again. Maybe the Viber company will never find a working business model (Skype seems to making money though).

Wednesday, September 8, 2010

Learning to program the iPhone

Over the last year or so I've spent more than 300 hours learning to program the iPhone. I guess I haven't studied a topic so thoroughly since my university days. Or.. maybe even before that. Anyhow, this is how I went about becoming an iPhone programmer.

Learning

As always, Stack Overflow was my friend. My primary language is Java so I searched for "learn iphone java" and found this question:

What's the best way of learning iPhone programming when coming from Java?

Then I used the top few answers as my guide:
  1. I read The Objective-C Programming Language.
  2. I watched all the lectures from CS 193P.
  3. I payed the $99 to join the developer program.
  4. I got the Hillegass book and worked my way through it.
  5. I got the Orange book and coded my way through it.
Aaron Hillegass writes "Objective-C is a simple and elegant extension to C, and mastering it will take about two hours if you already know C and an object-oriented language, such as Java or C++".

Not.

I've worked 15 years as a C++/Delphi/Java programmer so I didn't exactly start from scratch, but there is still a lot more to Objective-C than that. Just begin with memory management...

Cocoa Programming for Mac OS X by Aaron Hillegass is great book. Before each new programming exercise there is a description of what is going to be made. If one feels adventurous one could just close the book and go ahead and do it. The book is there to help you should you need it. Completing every chapter is however not necessary. Skip the parts that are relevant only for OSX.

Beginning iPhone 3 Development - Exploring the iPhone SDK by Dave Mark and Jeff LaMarche is also very good. It does however tend to be buggy towards the end, in both code samples and text. It seems they rushed the SDK 3 edition to print.

For every paper book I read it gets more mysterious why there is no wiki version of it. With a wiki there would be no errata. That alone is reason enough to move away from paper.

Xcode

As more than one Java programmer has noticed, Xcode aint IntelliJ. But it works, and version 4 seems to be a step in the right direction (but I have yet to try it out).

Suggesting new and enhanced features on bugreport.apple.com feels like throwing your ideas into a black hole. Instead of doing that I've added my feature requests to idev.uservoice.com. Even if Apple doesn't care, at least I can get some positive feedback from other developers.

In the process of penetrating the jungle of beta testing I have become the number one world authority on iPhone beta testing - at least if Google gets to decide. ;-)

Conclusion

iPhone is a fantastic platform that brings back the fun from when I took my first steps with Basic and C64 assembler. My plan is to make educational games and use my children as beta testers (there you go - I am the authority of beta testing). If you're gonna get addicted anyway, why not get addicted to learning?

Monday, September 6, 2010

Hide! Keep sending invoices. What problem?

So I updated my iPhone 3G to iOS4. Surprise surprise - it is now really slow and buggy.

What do I do? I go to apple.com/support.

Any information on the iPhone support page? No.

Let's search. Any info? No, just angry iPhone users in the support forum.

Maybe I can call Apple support? No, not outside the US or Canada.

Send an email? Not.

What the heck is wrong with Apple? Hide and the problem will go away?

So forget about Apple. Let's try my operator, Telia.

They do have email support! Wow.

By now they've had two weeks to answer my support request. Nothing yet.

Hide! Keep sending invoices. What problem?

Monday, March 15, 2010

Automatically reconnecting ssh sessions at wakeup

In order to keep the Sprend server running smoothly we use different kinds of monitoring and trouble alert systems.

A part of that monitoring system is me keeping an eye on what is going on at the moment. I keep three Terminal windows open as shown in the screenshot. Each is connected with ssh to the server itself.

The topmost window is running htop that shows the cpu and io load. The middle one is showing the log. The bottom window is logged in to an irc channel for team communication.

Every morning when my developer machine wakes up from sleep the ssh sessions have disconnected of course. So I go into each of the windows to reconnect to the server, start up htop, start up the log, and reattach to the irc session. Some mornings I'm just to lazy and stay disconnected. If only there was a way to reconnect automatically...

And yes, yes, yesterday was the day when I made it work. What was needed was simply a utility program that runs a script on wakeup from sleep that starts the Terminal which is set up to open up a group of three windows, each belonging to its own window profile that runs the ssh command when it opens, which logs in automatically via a public key stored on the server, and then opens a full terminal and runs the correct command in it.

Or, in a step by step instruction, do the following:

Step 1: Auto-login
Set up a public/private key so that ssh can log in without a password. I didn't know it was so simple to set up.

Step 2: Prepare three calls to ssh
Just logging in to the server is not enough. We need to run a command in a full terminal once we've logged in. Luckily that is only a flag away with ssh: -t.

To log in and start htop:
  • ssh -t user@server 'htop'
To log in and show the log I'm interested in:
  • ssh -t user@server 'tail -f -n500 log.txt'
To log in and reattach to a screen session with the name irssi.
  • ssh -t user@server 'screen -d -r irssi'
The screen session was previously created with screen -S irssi.

Once you have made sure the commands work as expected, move on to the next step.

Step 3: Create three window profiles in Terminal
Open the Settings for Terminal. Pick your favorite window profile and make a duplicate. On the tab Shell enter the first of the ssh commands from step 2 (see screenshot). Make two more duplicates and enter the other two ssh commands.

Now quit Terminal and start it again. At least that's what I had to do to be able to use the three new window profiles.

Step 4: Create the window group

In Terminal, go to Shell / New Window and open up one window of each of your new profiles. Position the windows to your preference on the screen. If all works, this is the configuration you want to keep; three windows displaying htop, the log, and the irc channel.

In the menu Window, select Save Windows as Group. Pick a good name and check the checkbox Use window group when Terminal starts. Quit and restart Terminal to see if it works.

You will also want Terminal to start on bootup. Rightclick its icon in the dock and make sure Open at Login is checked.

Step 5: Install SleepWatcher

The last step is making sure Terminal starts when the computer wakes from sleep.

1. Download SleepWatcher.

2. Run both install packages, sleepwatcher.pkg and SleepWatcher StartupItem.pkg.

3. Open a regular Terminal window.

4. Create the .sleep text file and add in the following:
  • ps axco pid,command | grep Terminal | awk '{ print $1; }' | xargs kill -9
Note that this is going to kill the Terminal process before going to sleep. It works for me but perhaps not for everyone else.

5. Create the .wakeup text file and add in the below commands. Note: The sleep will give the wifi time reconnect - you may not need it.
  • sleep 3s
  • open -a Terminal
6. Make the scripts executable:
  • chmod +x .sleep
  • chmod +x .wakeup
Done!

I hope somebody else will find the instruction useful. This problem has bugged me for some time and it was really nice to be able to put all the nuts and bolts together.

The version of Terminal is 2.1.

Friday, September 4, 2009

Let's get down to business!

The CIP FORUM 09 conference will take place in a couple of days in Göteborg, themed "The Future Of Innovation". There will be talks about "management of intellectual assets", "building platforms to assure innovation", "new infrastructure adapted to knowledge-driven business creation", "asset value creation process", "contract management" and more!

It's all very good. I guess. But I wish I had the guts to crash the conference, go down there and stand up at the keynote and say:

How many people in this room is a founder of a start-up? Who is actually working at a start-up now, raise your hand!

Expecting no more than a handful of hands, I'd continue:

So, who wants to keep talking about innovation, processes, assets, infrastructure, IP and all that, and who wants to get down to business and do something? Anyone? Come with me if you want to spend the next 24 hours doing just that, bringing an idea into the hands of actual customers. Think: The Apprentice with Donald Trump.

Then I'd leave with hoards of fresh entrepreneurs following me out into a bright new world.

Maybe not.

Now for a more realistic idea: Since 24 Hour Business Camp
in Stockholm is already fully booked, how about doing a Go:teborg version of that? Gothenburg cannot be all about motorized vehicles, please!

Archive