and a quick note, we released a new page about the distribution of supplies. its basicly just a company profile.
Its build with CakePHP and YAML CSS framework. Highlight is the Spamprotect by Capcha.
hqt homepage
25 08 2009Kommentare : Kommentar schreiben »
Schlagworte: CakePHP, company, CSS, homepage, yaml
Kategorien : Nicht kategorisiert
news from MS
30 05 2009Green IT was yesterday, Microsoft azure is incoming and tries to build up a global IT infrastructure for Cloud Computing. Seriously i do like Cloud Computing but i dont like the way MS tries to force the economy to use there .net plattform and how they use computers as disposal stuff (we know this „f*ck the enviorment“ position already from apple
). MS wants to replace the classical setup for Mainframes with Containers of computers which will be replaced if enough percentage of the container is damaged. Basically this is very efficacy and easy to maintain (cause there is no real maintained) but it doesnt care an anything. As far as my informations go, there will be no real employees for administrative work on the „calculation containers“.
Anyway, .net is a really good framework which i really love to see whenever it opens up, but i dont think there will be any professional support from MS to the Mono project. Without the excellent work from the Mono Project there would be no Linux port.
Cloud Computing is the next big step in Computer industry, but i don’t think that a so restricted base like azure will survive. Another fail such Windows Vista would reduce the Monopole base of Microsoft again. It doesnt do enough to get MS into serious problems, but its getting closer.
The other „new“ thing is microsoft surface, the native user interface. The basic idea of a multitouch display is always good, but its a usability nightmare. How wants to sort his pictures again by himself? Didn’t we put the pictures into photobooks to order them? Why the hell should we now want to see them digital in a unsorted order? I know that its a goodie which will amuse the people, but as long as its not usable, it will wont be a real alternative to the normal keyboard (sounds like a „the mouse has no chance to be a good input device“ sentence, but for „programming“ questions the mouse IS still no good solution (except in UML, but thats not the most efficient language
) ).
I do love the new possibilities from multi pointing devices, but i don’t think that a multi-pointing system have to be from MS. Its always playware and so there needs to be a small program be written for every special task, to make it useful. There is already a multipointing support for X11 and compiz which makes i interesting for such a pointing system.
We will see whats happening in the next years, but i just hope that opensource will be in a leading situation. Closed development will only slow the progress for better software.
Sadly i didnt get any new news about the new version of .net which would be very interesting. Java needs to invest more into the development to get such a good sidefeature like XAML. The Eclipse Organisation is building up a lot but its still hard to step against a framework with such a bug resource like MS has to offer. We hope Sun will find enough resource to take this challenge.
Kommentare : Kommentar schreiben »
Schlagworte: azure, microsoft, multipointing, surface
Kategorien : Nicht kategorisiert, web
frustrating statistics
15 04 2009isn’t it frustrating that most statistics try to be a solution for a questions but can be totally wrong? There can be relation which are unseen yet or missinterpretated relations.
A funny example for the wrong context of a statitic is the following example:

Kommentare : Kommentar schreiben »
Schlagworte: statistics
Kategorien : Nicht kategorisiert
OpenERP: „code 400, message Bad request syntax (‘ 390(lp1′)“
14 04 2009if you wonder yourself why you can’t get openerp 5 up and running, and you server just gave you the message:
code 400, message Bad request syntax (' 390(lp1')
or
code 400, message Bad request syntax (' 340(lp1')
you should try to delete your .openerprc in your home directory ( rm ~/.openerprc )
It seems so run into problems whenever you want to update from openerp 4 to 5. Delete it and everthing will be okay
Kommentare : Kommentar schreiben »
Schlagworte: gtk-client, openerp-client, openerp. bug
Kategorien : Nicht kategorisiert
MyCampusLife | cool marketing done wrong
11 02 2009und noch eine kurze „review“ zu einer werbe Seite. MyCampusLife ist natürlich (offensichtlich) eine kommerzielle werbe Seite, jedoch ist sie aufgrund von mehren Faktoren unglaublich dreist:
Das Lockangebot (Fujitsu Siemens Laptop zum „Werks-Preis“) macht dann doch sogar dicke 10€ aus. Ansonsten gibt es auf der Seite mal nichts. Das Login ist einheitlich und ob ICH oder irgend wer anders sich einloggt ist ungefährt so wichtig, wie der letzten Gewinner vom Hallen Halma (der Loginname, der einem neue zugeordent wird ist auch sehr extravagant gewählt worden „campus“ wooaay, personalisierung on its best
Wofür man sich dann überhaupt anmeldet ist mehr als fraglich).
Der Registierungsvorgang (der übriges über Sieg und Niederlage einer jeden Webseite entscheidet) ist bei myCampusLife übrigens auch ein „manuelle“ Vorgang. Auf die Daten darf man dann warten, bis ein dressierter Affe diese auf ein Blatt Papier gekotzt hat.
Zu erforschen gibt es auf der Seite auch mal so rein garnichts. Selbst das Angebot der Krankenkasse (was mit dieser „Campus“ Seite dezent beworben werden soll) ist mehr als sparsam.
Ich denke diese Marketingmaßname ist einfach mal gescheitert. Die idee, war sicherlich gut, jedoch ist ohne inhalt und ohne den willen wirklich Kunden zu gewinnen, eine solche Seite total sinnlos. Da sollten die Auftraggebenden Krankenkassen doch lieber ihre Geld in Werbung bei etablierten Plattformen investieren, dass Kostet zwar auf lange Sicht mehr, aber dafür sind die Mitarbeiter dort wenigstens motiviert neue Kunden zu gewinnen.
Kommentare : 2 Kommentare »
Schlagworte: commercial, crap, MyCampusLife, warning, web, webpages
Kategorien : Nicht kategorisiert, web
Windows 7 aka vista 1.5
9 01 2009Since today the Beta version from the new Microsoft operating system windows 7 is now available (more or less
).
But if a new OS is starting up, you should ask yourself -> didnt vista failed yet? in my opinion vista failed. Yeh, its nice to have widgets on the desktop, but do they rly need to use all this CPU power? What is the basic that we really need, and what is overdosed?
Windows 7 tries to fix some „issues“ of vista. They had a straight look to the performance (good step), and they reduced the „do you really want to“ questions. Both are good steps, but especially the „do you really want to“ questions should let the people care about what they do. If you are a professional, you know what you do (so you dont need this messages) but for normal users it was a good idea -> if you do something crappy, get the warning and admit to do something you shouldn’t do.
As far as the technicals specifications are, its just the Vista core polished. Removing the name vista doesn’t make it better.
Anyway, the downloads of MS Windows 7 fail / are terrible slow till yet caused by the servers (didn’t they want to be a part of the „internet leaders“? maybe they should get a apache *joking* ). i hope so see some reviews of windows 7, but i think the most gamers stay at XP and the programming professionals are happy with linux. Windows 7 will reduce the problems of vista, but the XP core thems to be good enough for the people.
Don’t get me wrong, i’am really intressted what MS is doing there (i won’t switch, but its important to know against who you fight
), but it thems to be a „we cant do it correct so we bugfix it“ solution. Why dont they just „fix“ the issues for vista.
Ubuntu and all the other greate linux distributions have this smart „backports“. If you do something greate for a upper version, have a look at the people which can profit form your changes too. The biggest window problem is the old directory structure and the leak of a package system. MSI files are a step to the package System, but they dont use it as a open and easy to updateable system.
For all who want to try the beta, take care of your MP3 files. In this Beta is a bug which can damage your favorite mp3’s!
- save there mp3 files on a external disk
- install the latest update after you installed (KB961367)
Sry, that this articel is quite unsorted. I hope you can post some comments on the performance / installation issues on windows 7. Would be great the hear some voices about it.
Kommentare : Kommentar schreiben »
Schlagworte: fail, ubuntu, vista, windows 7
Kategorien : Nicht kategorisiert
Geekest Christmas Wishes
25 12 2008There is no Hope for people who write something like:
var happy = new Year ( fire ( "cracker" ) );
but anyway, i hope your wishes become truth
and you can image what are the next goals to reach 
Kommentare : Kommentar schreiben »
Schlagworte: geek wishes
Kategorien : Nicht kategorisiert
Engländer und Deutsche
15 12 2008Der Kontakt zwischen Deutschen und Engländern ist teilweise etwas Problematisch. Auch in Gütersloh (meinem aktuellem Wohnort) handelt es sich um eine Stadt, die aufgrund der Millitärischen situation unter Englischer besatzung steht.
Auch nach 50 Jahren der Integration, ist es aber nicht wirklich gelungen, dass angespannte und separierte verhalten zwischen Deutschen und Engländern vernünftig zu regulieren.
Ein Gütersloher Verein Kontact möchte dieses auf unkonventionelle Art und Weise lösen -> Einfach mal Treffen und alle herzlich einladen. Das Konzept geht auf und der Andrang ist enorm (auch wenn der Anteil an Deutschen Stark zu wünschen überlässt).
Das Projekt kann man nur unterstützen und ist eine Bereicherung für Gütersloh. EIn Alkoholisches erfrischungsgetränk hat schon so manche verfahrene Situation gerettet und ist international anerkannt.
Kommentare : Kommentar schreiben »
Schlagworte: Gütersloh, Kontakte, Verein
Kategorien : Nicht kategorisiert
CakePHP mit Access Listen beschleunigen
13 03 2008Ich habe mich heute wieder ein stück mit CakePHP beschäftig, da ich dieses für ein Projekt benötige.
Da ich gleich alles richtig machen wollte, habe ich mir das ACL Modul von Cake vorgenommen um meine anwendung gleich tauglich für Benutzergruppen zu machen. Dabei ist mir aber etwas unschönes aufgefallen. Cake fragt die Informationen immer wieder ab, wenn man diese nicht zwischenspeichert. Das kostet einfach massive viele SQL Queries die unnötig sind (ausser man braucht wirklich eine anwendung, wo sich alle paar minuten die Benutzerrechte ändern). Aus diesem Grund habe ich ein kleine erweiterung für den AppController geschrieben, die sicherlich für viele nützlich sein könnte.
Damit werden einfach alle Variablen in der Session zwischengespeichert. Sinnvoll wäre noch eine Erweiterung um einen statisch Klassenvariable, damit die werte nicht immer wieder (bei Nutzung mehrerer Classen die Instanzen vom AppController sind) mit dem Session wert Überschrieben werden. Spart wieder ein paar Prozessortzyklen.
Diese Funktion speichert die Access Controll Objects (ACO) in Variablen für den View, wobei jeweils ein „m_“ + Aco Name genutzt wird.
function defineRights(){
$todo = array('orders', 'uploads', 'packages', 'artnotranslates', 'articelgroups');
if($this->Session->check('User') && (true != $this->Session->read('Rights'))){
foreach($todo AS $task)
$this->writeToSession($task);
$this->Session->write('Rights', true);
}
$this->set('user', $this->Session->read('User'));
foreach($todo as $task)
$this->set('m_'.$task, $this->Session->read($task));
}
Diese Funktion schreibt alle möglichkeiten von Cake ACL’s in ein Hash. Man kann dann mit $m_ACONAME['read'] z.B. das Leserecht im „view“ erfragen.
function writeToSession($rule = null){
if($rule != null){
$this->Session->del($rule);
$dummy = array(
'any' => $this->checkBAccess($rule),
'read' => $this->checkBAccess($rule, 'read'),
'create'=> $this->checkBAccess($rule, 'create'),
'update'=> $this->checkBAccess($rule, 'update'),
'delete'=> $this->checkBAccess($rule, 'delete')
);
$this->Session->write($rule, $dummy);
}
}
Grundlage dafür ist die check Funktion von Cake. Theoretisch könnte man diese Methode auch verkürzen indem man den Rückgabewert von check direkt als return wert nimmt.
function checkBAccess($aco, $action='*'){
$user = $this->Session->read('User');
$access= $this->Acl->check($user['username'] , $aco, $action);
if($access === false)
return false;
else
return true;
}
So wäre auch wieder etwas mehr Sicherheit und Flexibilität für den Entsprechenden Designer der sich mit dem Design beschäftigen darf. Man sollte aber erwähnen, dass trotzdem eine Überprüfung im Controller für sichere Programmierung unerlässlich ist. Alternativ wäre ein zusammenspiel aus diesen Funktionen und $this->action möglich, jedoch wäre dann eine vollständige Auflistung aller Funktionen und nötig.
Die Funktion lasst ihr am besten per var $beforeFilter = array(‘defineRights’); aufrunfen.
Kommentare : Kommentar schreiben »
Schlagworte: ACL, CakePHP, Performance beschleunigung, Programmierung, Sicherheitskonzepte
Kategorien : Nicht kategorisiert, web
Hallo Welt!
30 11 2007Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!
Kommentare : Kommentar schreiben »
Kategorien : Nicht kategorisiert
Diesen Link Favorisieren bei Technorati