BlogKontaktTagcloud

Xobni - Pulic beta



xobni the Outlook-Plugin, which turns your Outlook into a mini social network, is now in public beta. Everybody how is using (or is forced to use) outlook should give it a try and download it. It does make the eMail experience in outlook much more pleasant. Congratulation to Gabor and his team for this step.
Ähnliche Beiträge:
All new webtuesday
Zend Framwork 1.5 is out
My Top 10 Shell Commands
Coding Contest addicted
Coding Contest
Comments (0)  Permalink

All new webtuesday

Looks like spring give us not only very nice weather but also a lot of cool new tech-events here in zurich. The webtuesday (un-)organizer anounced two new events lately.

First of all the regular monthly webtuesday meeting on Tuesday 13th May 2008 at 19:30. New this time is the location - we hang around at the big cablecom offices - and the speaker - day's CTO David Nüscheler. David is talking about "ujax in 30 minutes" where microjax "is a client sided javascript persistence layer that leverages the symbiosis of a (JCR compliant) Content Repository and the agile patterns of browser based ajax development". David is a great and experienced speaker and also the topic might give you some new insights about handling data in your application. It's all free, just add your name to the wiki. So see you there...

The second event might be even cooler. On Saturday 24th May 2008 you all are able to join the usually webtuesday crowd (great hackers from here, here and well erhm here) to hack some new stuff together or help the php community with new tests (or do both). If you have any great plans for a hack just enter your idea to the wiki. If you're a php developer you might help the community with giving some test back to your programming language. Writing tests for PHP should be easy enough for everyone (look at this presentation from Sebastian).
Ähnliche Beiträge:
Peter Zaitsev in Zurich
Last Minute Call for webtuesday
Ajax vs. Flash
Xobni - Pulic beta
Zend Framwork 1.5 is out
Comments (0)  Permalink

Zend Framwork 1.5 is out

I know, that's definitely old news. But still it's worth to mention that the Zend Framework 1.5 is out since some weeks. It's a big jump from Zend 1.0 but also they have a lot new features in there (and probably some Zend Developers drink too much Java). They have also a new and cooler website for the project now.

In my point of View specialy the improvment in Zend MVC makes the framework now usable for companies with a lot of developers working on the same project (without patching the code over and over again).

The full list of improvments:
  • New Zend_Form component with support for AJAX-enabled form elements
  • New action and view helpers for automating and facilitating AJAX requests and alternate response formats
  • Infocard, OpenID, and LDAP authentication adapters
  • Support for complex Lucene searches, including fuzzy, date-range, and wildcard queries
  • Support for Lucene 2.1 index file format
  • Partial, Placeholder, Action, and Header view helpers for advanced view composition and rendering
  • New Zend_Layout component for automating and facilitating site layouts
  • UTF-8 support for PDF documents
  • New Nirvanix, Technorati, and SlideShare web services
Ähnliche Beiträge:
Coding Contest addicted
Coding Contest
Array instead of switch-case in php
A eventfull PHP-Week
PHP Programming Contest
Comments (0)  Permalink

My Top 10 Shell Commands

Mirko published his Top 10 Shell Commands, so do I.

104 svn
79 cd
58 vi
46 wget
42 global_search
36 ls
24 php
21 grep
11 tail
11 ssh
This is the list from the development server I use at work (called pluto, one of the seldome one that is not named by a model or actress). The history file is only 500 entrance. global_search is a company specific search tool.

It seam that I used wget for debugging lately quite often. Tools in the list I use also regularly (and are usfull too) are among others: mysqldumpslow, scp and pmap.
Ähnliche Beiträge:
Xobni - Pulic beta
All new webtuesday
Zend Framwork 1.5 is out
Coding Contest addicted
Coding Contest
Comments (0)  Permalink

Coding Contest addicted

As I allready mentioned I can't let my finger from coding contest. Unfortunately Bob found in a comment in my blog more nasty stuff about links in html comments which makes parsing even harder.

I trimed my script again under the size of the original script (ok, nearly the original), but I think if my regex skills would be a bit better, I could still squeeze some bytes out of it. But as I go finaly to holiday tomorow I will send my script to Paul and hope to get some points for the shortest script, as it will definitely not win any price for speed or beauty (did not wrote so ugly code since ages).

BTW: If you still trim you script, I brought up a new testfile. You should still come up with the same 11 links. This testfile is so ugly that my old konqueror is not able to parse it correct (but the comments are absolutly valid, according to the documentation and the validator).
Ähnliche Beiträge:
Zend Framwork 1.5 is out
Coding Contest
Array instead of switch-case in php
A eventfull PHP-Week
PHP Programming Contest
Comments (0)  Permalink

Coding Contest

Unfortunatly I can not resist if somebody brings up a coding contest. This time Travis and Paul wrote about the coding contest of php architect at planet-php. I did not invest a lot time into it, but still ways more then I planed.

The problem is that the ranking is once by speed and once by size of the script. Two parameters which usually not go well together. After having some great ideas for speeding up my code (even parallel processing, shared memory and map-reduce came to my mind) I decide to let this race to others and fully concentrate to the size. I not even run benchmarks anymore.

Unfortunatly some nasty html special cases (whitespace, case independence, single- and double-quoting, various attributes and so on) blow my perfect sized script a bit. But with some nasty php method tricks it's hopfully still the shortest possible script that gets all valid cases.

Just to let you feel not to save, I wrote a littel nasty html example that might break your own script. (You should get exactly 10 11 links out of it.)
Ähnliche Beiträge:
Zend Framwork 1.5 is out
Coding Contest addicted
Array instead of switch-case in php
A eventfull PHP-Week
PHP Programming Contest
Comments (11)  Permalink

Is Dalvik the better J2ME?

Androide the "gPhone" software stack

There was a lot buzz around when Google launched Android, there mobile platform. A lot of newspapers write a lot of articles about it, but technical insides are really rare. Even on the official android-page it's hard to find a good written architectural overview. Probably the best start to understand how Android works is probably this video from google. If you don't can or want to watch a video there's also, as I think a bit a short, explanation on the google code site.

The architecture view

Let me give you a short overview. Android is basically a layered architecture for mobile phones. At the bottom there's a Linux kernel 2.6 that basically handle the drivers to access the hardware. That's really nothing new there; there are already some phones out there that use Linux as a foundation. The most famous one of the Linux mobile Phones are probably the Nokia Internet Tablet or the OpenMoko.

On the next layer there are c-written libraries that bring some basic stuff to the phone. Although this layer is mainly internet-computer and not phone related (Google PC anyone ;-)). There are libraries to display stuff ("Surface Manger", "Open GL|ES", "SGL", "FreeType"), WebKit to display web pages (the same engine that is used in the iPhone and KDE), a SSL library for secure communication, SQLite to simple store stuff and libc as basic c layer.

Then there's the Android runtime, that’s the layer where a programmer can start building there own application on the top. It consists out of a virtual machine that can execute byte code that’s build out of the "Java Programming Language" and a core API that have a very big similar to sun's java package (in fact Google is using part of Apache Harmony, a open source implementation of the Java class library). Let this be enough for now, we go back to this part later on.



On the application framework is the stuff that makes programming a phone easy with android. There are classes to access resources and creating windows. Some stuff here is still in development, there is no MMS or HSPA support yet.

On the top there are the applications of a phone, they are all written in Java and use exactly the same system, no matter if they are written by Google, the phone company, the network carrier or you.

Java or not to Java

Google always talks and writes about "Java Programming Language" and not Java, why comes that? Well what's running on Dalvik, the virtual machine of android, is not really Java bytcode. You program as every Javaprogram just as usual in Java and compile them to bytecode. After that you need to transform your bytecode with the "dx" tool to a .dex file. What you get is now Dalvik bytecode.

Ok!? Why the hell so complicated? Well there may be a few reasons for that. As you still use Java until just before delivering you App, you can easily use your usual tool chain. Eclipse, JUnit, Cruisecontrol or more exotic stuff - it's all no problem! But why they don't just use Java then, you may ask. Well, for mobile phones you still have not the resources like on a pc. So Dalvik-Bytecode is well optimized for the CPU and hardware you will typically find in a mobile phone. And there's another fact which is no secret: Google don't like to pay license few to Sun. So that's the reason why Google is using the "Java Programming Language" and not "Java". It might be a not too big difference for technical guys, but for the lawyers it definitely is.

Smart decision

After all Android, and therefore also Dalvik looks like a smart idea to me. As Sun tried to run Java with J2ME on every device, Android will never run on today’s low coast phones. You just need some basic CPU power to run it. As J2ME is not really a strong framework, you have a single programming language, but it's up to the vendor which functionality he likes to integrate, every single phone is different. That makes porting J2ME to a real pain. As it looks now, the open handset alliance is putting on some standards on library and functionality that needs to be implemented by every vendor. This will make developing an application for every Android phone easy. As the vendor needs to use the same libraries and framework to develop his own applications it's pretty much "eat your own dogfood" and this will give a little security that Android will be useful.

Android will hopefully be a strong platform until we have enough CPU power on the mobiles to just run some standard operating systems on them. And yes, Dalvik is the better J2ME for me, less compromise and more technical possibilities to the programmer.
Ähnliche Beiträge:
Google Open Source Jam Zürich
MySQL drinks java
SCJP, now!
ROFL Prog 1
Java Bug: Process.waitFor() hangs
Comments (3)  Permalink

Google Open Source Jam Zürich

The Google guys just organize there second Open Source Jam in there Zürich offices. The event take place on the Thursday, February 28, 2008 in there new offices. Everyone is invited to join in. You have just to file the online form. You can get more Information about the Open Source Jam at the site of the Open Source Jam Zürich Google Groupe.

(I'm not there this time. I will enjoy my holidays far away from Zürich.)
Ähnliche Beiträge:
Is Dalvik the better J2ME?
OpenExpo 2008 Bern
Ohloh - Social Network für Open Source
Fertig!
OpenExpo lang lebe LOTS!
Comments (0)  Permalink

My new villa

I slept in a real villa over the weekend.


Ähnliche Beiträge:
Xobni - Pulic beta
All new webtuesday
Zend Framwork 1.5 is out
My Top 10 Shell Commands
Coding Contest addicted
Comments (0)  Permalink

OpenExpo 2008 Bern

Am 12. und 13. März findet in Bern erneut die Openexpo statt. Die eine Menge interessante Einblicke in die Schweizer Open Source Szene bieten wird. Mit dem Kernel Entwickler Alan Cox  konnte diesemal ein hochkarätiger Keynote-Speaker gewonnen werden. An zahlreichen Vorträgen und Ständen hat jedermann die Möglichkeit sich selber ins Bild zu setzen. Für Besucher die sich ängstigen von den anwesenden Nerds mit Fachchinesisch zu getextet zu werden, werden täglich Jungle Tours durch das Messegelände angeboten.

Mehr Infos unter http://www.openexpo.ch/openexpo-2008-bern/
Ähnliche Beiträge:
OpenExpo lang lebe LOTS!
Google Open Source Jam Zürich
Ohloh - Social Network für Open Source
Fertig!
Events für Computerinteressierte
Comments (2)  Permalink
Next1-10/402