Archive for August, 2007

Screw You Apple

August 30th, 2007

I now have that notebook for less than one week in use. Now the enter key that looked wanky for the first few days stopped working completely (i assume they forgot about one of those rubber things) and the space bar and another key makes strange noises when in use a higher temperatures which that notebook reaches automatically. The even warn you to not use it on your lap, that could cause burnings.

But the best part about all that is the service. Or the not service. No idea how you call that. The only chance to fix that problem is going to a certified apple partner. I’m living in Hermagor, I city in the middle of nowhere so the next on is in either 200km or roughly 450km. Or I go to Italy where I get an Italian layout and have to pay some highway toll.

I’m seriously pissed. You pay more than 2000€ for something you have to pay some more money in order to get to a store that will fix your goddamn keyboard which already is crappy (see previous posts).

Font Rendering

August 29th, 2007

The font rendering debate will never change. I’m pretty darn sure. But at least for me the font rendering results I got on ubuntu with a patched freetype was a lot better than the results I have to look at on my new macbook. Both are in my opinion better than the results you get on Windows XP, but with some ClearType customizing you can improve the Windows Rendering too.

But just to show what I mean, here two screenshots: This is what a typical TextPress post looks like on my ubuntu installation: textpress on ubuntu
And this is what it looks like on OS X: textpress on OS X

Maybe it’s just me, but I like the ubuntu one a lot more. Anyone an idea of how to get the Mac version look less blurry?

Jono’s Jacket

Jono’s jacket returns. That’s a cool story.

Keyboard Woes

August 28th, 2007

Day with the Mac the second. Mouse still accelerating but i found out that there is a application that hooks into the HID thingy and repositions the mouse. Too hackish imho, i will live with the acceleration.

But the keyboard layout still kills me. Who ever created the German keyboard layout should be waterboarded. The situation is not a problem for english keyboards i suppose, there you don’t have an alt gr key which can get lost from windows/linux to mac os x :) The best solution i found so far is changing the alt mappings to the windows alt gr mappings using a custom keyboard layout created with ukelele and map the return key to alt using doublecommand. This doesn’t give the best feeling but i can live with it for the moment. Later i guess i will use an US layout for development in os x.

So please dear apple guys: either remove the goddamn limitation that the right apple key is linked to the left one or add an alt gr key for future macbooks. The current keyboard situation is just crap.

Mac Pro and Cons

August 26th, 2007

So time or the first “switch to mac summary”. Expect more later.

So far things i like:

  • UNIX
  • awesome design
  • the hardware looks solid
  • the screen is pretty bright and non glossy!
  • nice internals, big memory
  • bootcamp

Things i don’t like

  • Finder, hmmmm. I want Konqueror
  • Keyboard, Mouse and Internationalization settings, hmmm. I want my GNOME
  • terminal. Even with iterm the keybindings have crazy bad defaults. I want my linux and keyboard
  • where in gods name is alt gr?
  • completely different shortcuts etc.
  • nearly impossible to use the german keyboard layout for development, i guess i have to use an UK layout
  • Development, i want my apt-get

Guess i’ll switch to ubuntu again for most of my development purposes, especially because i found a keyboard mapping so that the keyboard behaves like an ordinary QWERTZ one.

Macbook Pro

August 26th, 2007

Since today I’m a proud owner of an Apple Macbook Pro. Well. Proud and annoyed at the same time. I was aware that switching over to a Macbook would take me some time but It’s a whole lot harder than imagined. The hardest part is that the keyboard layout is totally different. And even if some of the keys work the same (normal letters) you still have the problem that all keyboard shortcuts are different. One the one hand because you have to use the apple sign where you would expect the control key if you’re used to linux.

The keyboard is definitively the worst part of the Macbook Pro. It’s missing a delete key and the alt gr key which you usually find on German keyboards. The Alt Gr key replaces the normal second alt key so that you can enter some of the symbols you use in programming languages (square brackets, or even the simple at sign). On German keyboards the “[” sign is on alt gr + 7. On a german macbook pro it’s on alt + 5 and not even displayed on the keyboard. While this is probably not a problem on OS X it will become a problem as soon as you try to install ubuntu on that machine.

But the keyboard is not the only annoyance. The mouse isn’t much better. I’m used to have acceleration on touchpads, but not on normal mouses. But on OS X there is no way to make the mouse movement linear, at least not a non hackish way.

Also the way windows are managed is totally new to me. I would expect that the maximize button maximizes the window. But it just makes it a bit bigger, as big as the window manager thinks it shoud be?

So far I don’t think I will install ubuntu right now, i have to much problems getting into OS X. And the problems i would have with a German mac keyboard on a linux machine are too much right now :-(

BTW: I’m back from Italy

Two Weeks Holidays

August 10th, 2007

Okay. I’m off to Italy for two weeks now. I will be offline most of the time but constantly check my emails, so if there is anything important just mail me. I’m back on Saturday the 25th of August.

Industry Versus Common Sense

I’m shocked. They needed a study to find out that baby talk is not helpful for the language development. But maybe I’m all wrong and “baba, wawa, dada” helps children to understand the words “bottle, water and father” better.

Book Review: “Learning jQuery”

August 9th, 2007

photo of the book's coverWith the Web 2.0 movement JavaScript got a a second chance to show off its abilities. And the second life of JavaScript is certainly a lot more interesting with advanced features such as XML processing, DOM modification and the possibility to send HTTP requests from a script to the server loading data on the fly. Because JavaScript still has to suffer from some of its design mistakes and browser incompatibilities a bunch of JavaScript libraries were created over the last four years that not only fix those problems but also extend the JavaScript core with new functions and objects that make it fun to work with.

One of the most interesting libraries is definitely jQuery by John Resig. Because the author of sees JavaScript as functional language and uses “chaining” of calls to make code shorter. If you don’t know jQuery already but have used Prototype or similar JavaScript libraries you should absolutely try it out, the results are stunning as jQuery’s expressive and short statements make the code easy to understand and very compact. For web applications this is a huge advantage because less code makes pages load faster which often is more important than actual runtime performance.

And more important than a working and powerful library is a good documentation or a guide that is written in a way that makes readers understand the design principles to get the best results of a library.

The book “Learning jQuery” (Packt Publishing) is without doubt the best guide to jQuery so far. The examples in the book are useful, down-to-earth and written without any side effects. Whenever an example in the book might introduce side effects you are warned and shown how alternate solutions for slightly different situations may look like.

The book is organized into 10 chapters: in the quick start the reader is introduced to jQuery, but not JavaScript itself. It’s probably a good idea to read a JavaScript book first if you haven’t worked with JavaScript so far. However jQuery is somehow a language on its own and you can get started quickly with novice JavaScript skills too. The next few chapters cover everyday problem situations and possible solutions using jQuery. It’s very likely that often occurring problems are already covered in the book and the solutins require only minor modifications to fulfil specific requirements.

AJAX is of course covered too, although most of the examples are framework and scripting language independent. The few AJAX examples that require server-side content processing are implemented PHP, unfortunately the code quality of the PHP examples is rather bad, fortunately there are few of them.

The book also covers some of the more popular jQuery plugins like Dimensions, Interface and Form and a quick introduction to jQuery plugin development.

The appendix is also worth reading because it includes a bunch of useful links to JavaScript and web-development resources, development tools and also a short introduction to JavaScript closures and how to avoid memory leakage in internet explorer.

The only real negative aspect of the book is the font used for the source code examples. There is no visible difference between an uppercased “O” and zero (0). Also noteworthy is the price of $ 39.99 is quite pricey, but on the other hand you get more than 300 pages full of useful information and some of the money goes directly to the jQuery project.

Conclusion: If you’re interested in jQuery and need a good book for the first steps you should definitively have a look at “learning jQuery”. If you’re already an advanced user and you probably don’t find that much of new information in this book.

buy the book at packt publishing

Im Übrigen bin ich der Meinung da kann man noch mehr Geld verdienen

Im Grunde sollten Mütter pauschal 200€ an die DPMA zahlen, schließlich sei das Gehirn des Neugeborenen unverkennbar dazu bestimmt sich Melodien, Filmsequencen etc. im Kopf zu behalten. Wäre eigentlich nur die logische Schlussforderung.

cogitations driven by wordpress