OpenOffice or LibreOffice?

Since my new MacBook Air was a fresh install I noticed when opening MS Office documents in emails that also Apple’s Pages can handle a broad range of formats, and so I was happy and didn’t install any other Office software. Apple so finally got me to use their suite also for creating new documents (as long they were just for myself or to produce PDFs).

But now I got into a situation where I got an important document to sign which looked totally messed up when opened in Pages.

So I wanted to install OpenOffice additionally although I had been using LibreOffice all the years before, but I thought in the meantime OpenOffice should also have become something useful. But a friend of mine reacted immediately: “do yourself a favour and install LibreOffice instead.”

I asked why, what’s the significant difference? And here’s the answers:

Ok. I was convinced. LibreOffice is the better choice because it should be more bugs free and better developed.

But does it open my document correctly?
Well, it looked better although not completely correct. But I can live with that.


Firefox also allows different profiles with the help of a plugin

Since someone once showed me this feature in Chrome where you can set up different profiles and so you can have different browser sessions open in parallel I’m really using it a lot and it helps a lot!

But, Chrome is still not my primary browser, just because it’s Google… (and you can never be sure if something you’re experiencing is again some new special Google way of handling it…).

My primary choice for browser still is Mozilla Firefox and so it’s really great news that I learned recently that there’s also the possibility to use different profiles to have parallel sessions. It’s the “Multifox” plugin that helps you with that:

The cross origin resource sharing (CORS) solution

Trying to implement an AJAX based service on node.js with allowing connections from web clients with their content loaded from another domain I came across the cross origin problem with Javascript and XMLHttpRequests. So I searched the Internet for a solution and read about CORS (cross origin resource sharing) which looked really promising because I figured out that I just have to send the right headers and everything should work.

But it didn’t.
There are many examples that can be found that don’t really work.

The only one that worked for me is the solution that Ben Nadel postet on his blog:

I guess the difference is that he also sends the CORS header data with every regular response (HTTP code 200) and not only as answer to the OPTIONS request.

Found blog that helps if you want or need to write plain Javascript

Todays web development on client side is almost all just about using this or that framework or parts of it. And mostly it’s jQuery when talking about Javascript. I guess many web developers aren’t able to do many tasks without the help of for example jQuery any more.

Ok, it is really useful and not only if it’s about the different behaviours of different browsers when you try to do plain Javascript. But, of course there’s many situations where you probably not really need it.

So why add a whole framework if it can be done with avoiding to load all the additionally required files from the net and into the memory? And you’re also very dependent with every foreign piece of software that you include into yours.

There’s a really good blog that I recently found and now wanted to share here that addresses exactly this issue:

The author is now even working on a book about that topic called “Beyond jQuery“: “Beyond jQuery aims to educate you (a web developer), reveal the magic behind jQuery, and give you the confidence to abandon the crutch that is jQuery and embrace the power of the web API and JavaScript. It will focus on teaching you about the most important concepts surrounding web development by demystifying jQuery.”

I currently work on a Javascript project where I really try to do all in plain Javascript and yes, it’s challenging, but I like it!

Do you know CoffeeScript?

As one already might guess because of the name of it, CoffeeScript is a scripting language. But it’s not just any new scripting language. It’s a language on top of Javascript that translates into pure Javascript (with no need of any libraries!).

So what’s it about?

Wikipedia says: CoffeeScript is a programming language that transcompiles to JavaScript. It adds syntactic sugar inspired by Ruby,Python and Haskell to enhance JavaScript’s brevity and readability. Specific additional features include list comprehension and pattern matching.

Somewhere I read: It just improves the good parts of Javascript. 🙂

Well, I at least really do like it!
I like functional programming languages and like the style of Ruby, Python and Haskell. And all that syntactic sugar where you can omit many “unnecessary” keywords or symbols. Just look at the examples at or start reading The Little Book on CoffeeScript and start coding in CoffeeScript (whereas you would write plain Javascript).

I agree with some saying that it reads just like pseude code, and I think this is a good thing! Look at the following example (from 10-CoffeeScript-One-Liners-to-Impress-Your-Friends):

console.log "Happy Birthday #{if i is 3 then "dear Robert" else "to You"}" for i in [1..4]


But even it’s only with jQuery that you deal with Javascript, have a look at this post:

Annoying Windows 7 behaviour: automatically full screen expanding windows

Since recently I have to work a little more with Windows 7 again (it’s the system of my new job’s workstation laptop).

So I discovered something really annoying: when I was moving windows from one screen to the other (I currently use the internal laptop screen and an external monitor with extended desktop) sometimes the window got automatically expanded to full screen.

Searching the Internet on how to turn this “feature” off I learned to know that this happens when you move the mouse to the edges of the screen, and I found the answer (but it couldn’t be hidden more):

You have to open Control Panel / Ease of Access Center / Make the Mouse easier to use where you can then check mark in the Prevent Windows from being automatically arranged when moved to the edge of the screen option.

Mac App Store Login Problems with Old Credentials

Now I even changed the title of this blog into “& a lot of Mac” because it seems that I post more entries about issues on my Mac than about anything else.

But, there are really so many little annoying things when working on my Mac (still running OS X 10.8)…
Today I just wanted to run some updates that were indicated in the Mac App Store and I got asked to enter the password to log in into the App Store. I recently had changed the credentials of my Apple ID, both the Apple ID itself and the password. But in this dialog the input field for the Apple ID was disabled and showed the old ID in gray.

I couldn’t see any way to change the Apple ID there. So I searched a little bit on the net and found out that you can also set the Apple ID in the user preferences of the system preferences. But doing so didn’t change anything with my special situation.

Then I found and looked into the “Store” menu of the App Store Application and tried the “Login…” from there. And hey, suddenly the same login dialog appeared but this time with a normal editable field for the Apple ID showing the old ID that I now could change!

I always thought Apple is really good in usability but recently I’m discovering all these little things that are really annoying and are just complicated without any reason.