Wednesday, December 21, 2005

debian updates Berkely DB => svn troubles...

Usually i update our linux server in periodic times. Now there was this bis security update where they also switched to Berkely DB 4.3. Subversion Users may notice that this is a little tricky, since you have to move your repository from 4.2 to 4.3.

It really can be messy, if you haven't updatet yet, look here for instructions.

Otherwise there is a good description here, how to get your old 4.2 repository to work on the new 4.3 Database when you already updated the Database.

Took me some time to backup our repository here.

clear:both margin bug?

Monday i compared a project on IE and FF 1.5 and was puzzled by a problem at FF since it worked when i programmed it. So i installed FF 1.0.7 again and "tata" everything worked as expected.

Seems like that FF 1.5 and 1.0.7 changed it s way of behaving when using on a div both: clear and minus margin.

When using minus margin and clear, FF 1.5 is ignoring the minus margin.

I created a testpage and posted it at quircksmode.

Antivirus on Windows XP 64

I posted earlier that the only free Antivirus i found was Avast, but it was working quite good.

Well on the weekend it stopped by using every ressource of my computer just after start of Windows.. i was not able to find the problem until i restarted in Safe Mode and disabled the automatic start of the Avast Services.

Now i am able to startup and even to make a manual scan, but the automatic check is not working. As soon as i start it its going mad and using everything it gets.. or so.

I posted the problem but it seems unlikely to get a solution for it, becouse they are unable to recreate the problem.

Looks to me that i finally have to drop XP64 and go back to normal XP.

Wednesday, November 30, 2005

venkman for Firefox 1.5

I just installed Firefox 1.5 and tried to update my venkman.. *shocking* it's not working!!
Without Venkman i can't work properly.. i need it, i want it, o baby, o baby...

Well i found a link in the comments of the mozilla.org page of venkman:
http://getahead.ltd.uk/ajax/venkman

Now get it ;-)

Sunday, November 27, 2005

ssh problem solved

I actually can't belive it yet.. i solved my ssh problem which was givin me some sleepless nights since april this year.

I have a debian sarge running with a chroot environment (debian etch). In etch i was not able to get ssh running after an update. It was always saying: Server was not able to allocate pty...

Now i found my mistake.. somehow the mount option was deleted and so it was never able to activate the pts..

Here is what was missing:
mount -t devpts devpts /chroot/dev/pts

Where chroot is the Directory to your chroot System. Maybe there are also some people having problems with this..

Tuesday, November 22, 2005

PHP5 reading XML using DOM

Working with XML Files in php5 you definetly want to work with DOM. Using DOM is very easy, but unfortunately the documentation is not complete and there are one or two things missing, which stop your work for several hours.

We use XML for multiple languages on websites, so our content is in the XML File written in XHTML.
If you use XML Files for different Languages like for example german, you need specific characters. This made us some troubles, but in the end it's more than easy.

First you have to tell the xml File which language you are using in the "xml" header through using encoding. For Example a german File looks like this:
<?xml version="1.0" encoding="iso-8859-1">
Next if you are using HTML Entities like or ü you have to define a DOCTYPE. Since we used XHTML Entities we used a dtd from w3.org:
<!DOCTYPE shiva SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent">
Now we get to the PHP Part:
Loading a XML File using DOM is very easy. First you have to create a new DOMDocument Object and then load the File:
$oXML = new DOMDocument();
$oXML->load(Filename with Path);
Now if you have a external DOCTYPE like we did, you have to enable a Variable or it will not work before the ->load(..) Function:
$oXML->resolveExternals = true;
This enables to read external DOCTYPE Files.
Remember: If you are just using a couple of Entities, it's quicker to just put them directly in the File or create your own File with just the entities you need and link to that File. There were some comments on php.net that enabling that Variable will slow down the load Procedure for some time.

Now the load Procedure will not send you any more Warning Messages and possible an Exception, but you will still miss the HTML Entities in your Object.
Instead of Hello World which should look like that: Hello World, you will get a HelloWorld. You are still missing the Final Variable:
$oXML->substituteEntities = true;
With that you will get your Hello World and all other Entities your DOCTYPE defines.

Addition:
We had the additional Problem that we used htmlentities in the text like "&amp;" .. but we needed it also in php this way and using a doctype from w3c converted our entity into &, so we wrote our own Doctype File where we made a little hack so we could use htmlentities.

To use "&uuml ;" for ü we wrote into the dtd File the following:
<!ENTITY uuml "&amp;uuml ;">

Thursday, November 17, 2005

Civilization 4

Playing Civilization since Civ 2, i had to buy the new version. Civ 3 did not have any multiplayer posibilities so i just played it once or twice. But with Civ 4 they have really made a multiplayer Gamers Dream come true. Not even the Hot Seat Function is a ingenious old fashion Idea, which nowadays is very rare, but also the Email and LAN Game Possibilities are good.

And they really made a good Job with the LAN Option. In CallToPower2 we always had Problems at some time where we had to save and all had to load it again becouse the LAN mode was collapsing from time to time. But in Civ 4 we had no Problems at all.. even when somebody touched the Windows Key in Error... no Problem. That's a big THANKYOU!

The new Animations are also quite nice as the Idea not having one scout, but a scout unit. That shows how much work they put on it. The new Startmusic is great and also generating a new World when you start a new game.

What i am not able to understand is the diplomatic part. I am searching for threats and so on, but can not find anything. There is also no trade part as in CallToPower, where you built camels and trucks to ship goods through the continents.

And what they completely fucked up are spies. All they can do is show you were all Units of a country are or you can sabotage the current production of a city. Wow.. really.. where the hell are the features like steel technology?
Why isn't there an option to spread false information somewhere? Why can't i start a demostration in a foreign city so they begin a revolution and join me?

I really would like to spread false information to foreign countries so they start a war against each other and i just help one of them.... that's what i am missing... more possible options on spies and foreign affairs.

In war when you are winning, you can not force a surrender so they join you, no way, you have to fight until the last man.

And one more thing about the Mulitplayer Mode: In Singleplayer you get a Window with a Video when producing a Worldwonder, but in Multiplayer there is nothing like that. I miss an option for that.

Last but not least i want to talk about Religions. I think it is good to have the Religions now, but why do i have to invent them all to get throught to the end of technology? Why can't i just find one and be like that for the rest of the game, if i wish it?

I think Civilization 4 is a great game when it comes to Grafix, stabilitiy, Mulitplayer. But they have to work more on the diplomatic and spy part again. Hopefully a new addon will make some adjustments there.

Monday, November 07, 2005

squid error maybe solved

I might have solved my squid error Problem today. It seems like i just reached the memory limit of the host, but i would have supposed to get an php error instead.. or an apache error.. but nothing at all is not ok.

I found the calculation you need for imagecreatetruecolor at: http://www.boutell.com/gd/faq.html

Of course, opening truly huge images can cause real memory problems, if several are open at once. 8,000 pixels times 8,000 pixels times four bytes for truecolor equals a walloping 256 megabytes.


So you need 4 bytes per pixel and that meant 26MB just for the source image.. and i have about 32 MB to work with ;-(

Firefox ignores http-equiv Attribute in Meta Tag?

I just solved a bug which was keeping me busy the last hours. A Form for multilingual input went crazy in IE since it always mixed up the special characters.
The funny thing was, Firefox had no Problems with it at all.. so i tested different charsets, but IE never showed any change in reaction and i almost went beserk until i found an error in typing of the meta tag:

<meta equiv="type" content="text/html; charset=iso-8859-1">

You see the failure in http-equiv, which should say Content-Type. IE is very particular here, but Firefox seems to ignore it, since it reacted to all my changes perfectly...

For those who want's to see the right meta tag, here it is:

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

Friday, November 04, 2005

squid error while Uploading Image with PHP

I have a very strange problem with Squid on a host provided by a company in vienna. While triing to upload an Image with HTTP Post (normal Form Element with input File) i get a

Zero Sized Reply

ErrorMessage from Squid. The Problem only occures only when using Images greather than 1MB.

At first we checked the Parameters for php and apache (post_max_size,..) but they were set at least at 16MB... So this is not the source of our problems.

I have to clarify one thing: The Image normally would be uploaded, resized and then saved. Becouse of the Problems i changed the upload to first upload the image to a temporary File and then work with it, same Problem, but the File has been uploaded before the Error occured.

That made me a little curious and i checked the code where the Error exactly happen to be...
Another little Info is required here:
  • First i upload the File, which works fine.
  • Then i create an object from that image, which happens to be in jpeg Format, so i use imagecreatefromjpeg.
  • After that i have some code for resizing the image and
  • then i create a new Image Object by using imagecreatetruecolor with the calculated Size and copy the image into that new Object
  • At last the Object is saved as a File.
Well i used some var_dumps and exits and found the point where everything stopped working.. imagecreatetruecolor.

Odd, i though, and tried to create a Image with a less size... worked perfectly. Then i aligned the size step by step to the one calculated... and at about 300x200 there was the end.

Ok, this meant for me: The Function has not enough Memory to acquire for the Image.. The Provider also worked on the Problem on their site and they have another Problem: It works Perfectly on their site... why is it working when they are triing and when i try it not?
They asked me to outsource the code to a single file for testing, which i did. I tested it myself first and wow, everything is working...

Now i thought: That's it, here it ends, i am completely at the end of my knowledge and went home for some sleep ;-)

The next day i thought over it again and found the reason.. i used a couple of classes for the System, which i did not use on the outsourced File. This classes also needed some Memory which now they don't, so i have more memory for the Upload.
The quickest test was to change the end Resolution to 800x600, which worked on the server at my work fine, but not on the other host. (Got Ya!)

I simplified the outsourced code, killed the calculation code (since the end Size is 800x600) and so on until i just had the basic part. While working on that i found out if i don't call session_start() at the end of the file, the Code also stopps at the same position, but no error Message was called... (no Zero Sized Reply)...

Now we are still searching for that error.

Tuesday, October 25, 2005

mysql changed format for Timestamp

As you can see on the Mysql Homepage they changed the Format for Timestamp:

From MySQL 4.1.0 on, TIMESTAMP display format differs from that of earlier MySQL releases:

  • TIMESTAMP columns are displayed in the same format as DATETIME columns. In other words, the display width is fixed at 19 characters, and the format is YYYY-MM-DD HH:MM:SS.

  • Display widths (used as described in the preceding section) are no longer supported. In other words, for declarations such as TIMESTAMP(2), TIMESTAMP(4), and so on, the display width is ignored.

Of course i searched some time for an error in my code.. ;-(

Saturday, October 22, 2005

Windows XP 64

Since my Raid Array Failed and my Windows Installation just died, i had to reinstall my PC ... and becouse i have a Athlon 64 i decided to install Windows XP 64...

First some word about the Windows Recovery Console... my old Windows XP (normal) CD does not have an option to start the Console.. the XP 64 CD showed it.. that's a good start.
The Problem with the damn thing is: You can not change anything on other Directories than in the Windows Directory...
So if you wish to backup some very important File from your My Documents Directory, which concidential happen to be, you get a "Access Denied" Message ... WHAT THE %&$*%!!! How am i suppose to backup any files so i can reinstall Windows?

The Answer: You have to get into regedit and change it there... well without windows (which still was not able to start, what a coincidence) there is no possible way.... good work microsoft... really ;-(

Finally i found a Bootdisk for Dos, with a driver which is able to read ntfs partitions, and copied the files by hand (and with Norton Commander 5.0... still great tool)

Then i installed the new Windows without formating the harddisk, which i would have done if i could backup the files in the Recovery Console... the Problem.. dos is only able to work with Filenames which have a length of 8....

Ok, i installed the OS, i downloaded the newest drivers for my mainboard an graphic card (which were still Beta) and voila i had windows installed..

After some Windows Updates the next part for me is installing Antivirus Software.. and well look at that, Symantec is currently not having Antivirus Software for noncomercial People for Windows XP 64.. ok, what now? I mean what the hell should i do without an Antivirus Software? My first ideas of reinstalling the old windows were coming... but i finally installed the Freeware Antivirus Software from Avast.

I do not know if the Software is good or not, but if i find anything out i will probably write it down.

My Mouse (a razer diamondbback) is still not working with the razer drivers.. becouse i could not find any razer drivers for windows xp 64... they are still developing those and tuneup is also not working...

So it may be that XP 64 has some advantages, but you will definetly have problems installing your drivers and applications to it...

Friday, October 21, 2005

Raid? What for?

A couple of months ago i had a terrible Harddisk crash and lost all my data. Therefore i buyed 2 SATA Discs and build a RAID Array for more protection.

Yesterday i thought it is about time to make a Backup (which means burining all sensitive Data on CD)....

As i went home and started the computer my Raid Controller said good Evening and i have a critical Error in the Array.... WHAT THE *%/§)%"!!!

I mean 3 months and already problems is not a good way is it? I am now triing to save as much as i can, but why had i build the damn array if it fails so soon?

Friday, October 07, 2005

Fable incompatable to WindowBlinds

I just got Fable and wanted to play it... but as soon as it starts it crashes...
Then i tried multiple things until i found out: it has a Problem with windowblinds...

You have to thing about it: A microsoft programmed game does not work on a microsoft operating system with an in coporate with microsoft prgrammed styling tool....

Damn microsoft, another reason they don't know what they are doing!

Fortunately you can unload windowBlinds any Time and play fable...

As for Fable: The Intro is nice.. but has no real Story.. and What the hell with that BIG microsoft logo?? If the Title of the Game is that Big ok, but for microsoft?

I know. . it already says in Fable narcism is perfectly normal.. seems like microsoft thought of themselves...

Sunday, October 02, 2005

DbDesigner Problems with MySQL

When working with Databases i use DbDesigner, since it is a free tool and is working great although they have stopped working on it a long time ago. The whole development team is working for MySQL now and are working on MySQL Workbench, but there is only an alpha yet.

So the only open source solution is still DbDesigner..
A couple of days ago i come up with a big problem .. DbDesigner on my PC was not able to connect to my Servers Database... i was looking over an over again and found the Problem...

Since i am using Debian, my MySQL Version was updatet a couple of times now and now there is a new adjustment in the my.cnf File called bind-address.

If you use:
bind-address 127.0.0.1
only the localhost can access the database. Since i am using a Server behind a FireWall and only for development purpose i just had to disable the Line and now everything is working again.

Thanx for this tipp to a good friend of mine ;-)

Thursday, September 29, 2005

css3 multi-column layout with javascript

I just got a link from a friend with an ingenous code. It provides the posibility to change normal Text plots into a multiple columns layout.

The cool thing, it is a javascript providing the possibility to use the new css3 features for multi-columns in css.

check it out!
http://www.csscripting.com/css-multi-column/

Friday, September 23, 2005

Webdesign Tools

Just for info for people having trouble getting mails in the last time ;-)

Opera is now freeeeeee... no banners noting more: http://www.opera.com

And then there are some Toolbars which are making our lives a little bit less complicate:

WebDeveloper Toolbar for Firefox:
Web Standards Project BUZZ post
Download the extension here

Finally there is something really great.. a WebDeveloper Toolbar for IE... all those hours of searching the damn problem in IE while everything looks ok in Firefox... now you have the tool!
Web Standards Project BUZZ post
Download link to microsoft

Thunderbird Attachment Problems

Since i had a Harddiskcrash and reinstalled my System new, i also changed my local Email Program to Thunderbird.

But now i have serious Troubles getting Attachments from Outlook Sender... the Attachments i receive all are called Part1.2 ..

I am having a gmail Account and therefore i also checked it over the Browser.. the Attachments look all very good.

In the web i just found the following:
Actually it's a compatibility issue between Outlook and Thunderbird (Mozilla). It is because Thunderbird cannot decode the MS-TNEF MIME format HTML or Picture which was composed into the mail body by Outlook. You can find the MS-TNEF BASE64 encoding part in the mail source, and Thunderbird regards this part as an attachment named Part1.2.
------_=_NextPart_000_01C4E756.ED7E9F5E
Content-Type: application/ms-tnef
Content-Transfer-Encoding: base64
since that Post was written December 21, 2004, i hoped there is already a fix or something for it.. but i am unable to find one...

any ideas?

Saturday, September 10, 2005

FireFox 1.5 Beta and Extensions

As everywhere posted the beta of Firefox 1.5 is out. I have to say, the new handling of the tabs is ingenious..
Unfortunately some extensions are not working with the beta.. now i hope there will be updates to them or the final of Firefox will be able to work with them...

I mean, the last update from Venkman was in August 11, 2004... so i don't think there will be a new one in the next days... and without Venkman javascript coding will get as ugly as before Venkman ;-(

Monday, August 22, 2005

FireFox and Flash Player 8 Beta

If you have found this link http://www.macromedia.com/software/studio/experience/ to macromedias demo for studio 8 you will have to install the new Flash Player 8 Beta...

My advice: don't! After installing the damn thing no flash file was working any more until i found a post in a forum where they said that add block does not work with the new Player ... i tried to install Flash Player 7 but it will not work.. so i had to disable Add Block in my Extensions...

Hopefully they will have an update soon.. or i have to reinstall Firefox ...

bad holidays

What is the best argument that you had bad holidays.. if you think that it would not have mattered if you stayed in the office and worked the whole week...

I mean i like my work, but from time to time you have to get somewhere else just for a couple of days.. but there is something that can kill the best ideas ... rain ;-(

hope you had better days.

Monday, August 08, 2005

CSS vertical-align and images

For webdesigners aligning images vertical in a div is a problem which could be easily solved if IE would support the full display posibilities like "table" (CSS 2.0).. but as usual it does not work that way.

Since i don't like to use tables in a css design until it is really necessary (like information in table design or forms) i searched further more to find a solution that did not need a table i found one way that worked.

You have to use position relative and absolute for it. In short you have 3 different div's and you use 2 different ways, one for IE and one for the rest which have full CSS 2.0 support ;-)

Here the links:
http://www.jakpsatweb.cz
http://workingbath.com/

Wednesday, July 27, 2005

found then lost?

I forgot to tell a really funny story.. well it starts a little weird.

To be short my mother's car was stolen.. but let's start at the beginning.
My sister, who is a teenager, went home at about 4:00 am on a borrowed bike without light. As she rode a police car followed her, about 2 Minutes before she got home. Of course she started to ride faster and went home as quick as possible..

The door just closed when the police ring on that door and when she opened the door they wanted to talk to our mother. I think she that was the most afraid time of her life ;-)

She woke my mother up to get informed they found her car about 300 km away. At first they thought the police must be joking.. but the car was not were it should be.. the next thing was to check if i borrowed it without telling anyone... as unlikely as it sounds...

Since she woke me up at home, which is about 50km away, (in the other direction) they know it must have been stolen. So she had to go to a police station to report her car as missing, since the police found it ;-)

For those who want to know how exactly it could be that the police asked my mother in the first place: My mothers car was just aside to an other car which some people tried to steal. Somehow they must have been scared away... my mother did not know the status of her car becouse they did not know it until morning.

Monday, July 18, 2005

Bad weekend

As murphy's law says: if something bad happen, it will probably be just the beginning of getting much worse.

This weekend we planed to go camping with a group of roleplaying friends. The Idea was to play the whole weekend in the nature to get a better feeling for the game and of course we did not want to get disturbed by anything or anyone. A friend of mine who organised everything, first talked about 20 People or so which should come. On Firday he told me that we should be at least 12 People... in the end it was just our group of 5 plus one.

The small size of the group was a problem since the story my friend prepared for the weekend needed at least 10 People.
And nature itself did not like us, since we had more rain than anything...

So we stopped the whole thing at Saturday evening and drove home, where we all enjoyed a good hot shower and played another story at my place... since we still wanted to do some roleplaying...
But we all were really tired from the whole day and it did not went really good, so we ended the game early.

On Sunday i woke up and my girlfriends told me: The computer crashed and now nothing works anymore... shi* ... ok, i looked over it ... harddisk will not boot... even the bios has problems with it... i downloaded a service tool from the harddisk manufacturer.. (it is a quantum fireball so i used maxtors powermax).. and after booting from a disk and entering: Quick Check it immediately showed a Number and told me to contact support... Yipeee... i hate sundays....

Of course i had some serios work on that disk and my girlfriend kills me if i am unable to get her data of the disk... did i mention i hate sundays?...

All i could do is find a company which is able to retrieve the data of the disk and pay possilbe a horrific prize for it... i hope they are able to get the data or i am in serious trouble!

For what its worth, i think i will install a raid system on my computer...

Tuesday, June 21, 2005

running PHP4 and PHP5 parallel

I have installed both versions on my development server and am running two instances of apache, one for each. Now this is running since last year and i have got no problem what so ever.

Now i have got this new Project, which is a relaunch of a website. The site, as you can imagine, is written in php4, and is pretty big. So they decided a step by step relaunch, beginning with its shop system.
Naturally i decided to write the new shop module in php5, because the data is too sensitive to handle it just in php4, no offense intendend.

Now we have got the Problem, the administrator of their server is not really a technical genius.. in other words, he is able to keep the machine going, but has abolutely no idea how to install php5 parallel to php4.

While my solution (2 instances of apache) works fine for me, i don't think it is the solution for the customer, so i looked into the net and found a real cool solution. (in a matter of seconds ;-)

This solutions works like this: They install both PHP versions (one, php5, from source) and configured apache that it will use php5 in the directory you like, by enabling mod_action.

Real cool! Here is the link

Friday, June 17, 2005

Hitchhikers Guide

Yesterday i saw the movie. Well i have to admit i have not read it fully, i am currently in the end of book four, but that does not matter for anybody could see the mix they have made.

I did not expect to see a complete movie with all content from the book inside it, but i did thought they will at least try to avoid changes in the story.

Although i already was a bit startled about Arthur Dents moves in the book (for example: Why he left the Heart of Gold to be on Krikket), and i liked that Arthur and Trillian got together.. but they completely blowed Zaphrods Character by given him this dump quest about Deep Throat...

What did they do with Zaphrods Heads anyway, i mean they should be side by side and not one below the other... And why did they have to mumble so in the beginning.. if i had not read the book, i would not have known what the hell they have talked about...

To summarize all: The Beginning was ok, but in the middle you know that it will not be like you hoped for and at the end it was a little weak. But i did like marvin!

MySQL relevance in FULLTEXT Search

While searching for a way to implement a Textsearch Engine into a clients website, a friend of mine told me about MATCH .. AGAINST().. and the relevance output.

Here the MySQL Reference Manual for it.

Good for us, all texts where in a mysql database and i added the needed index to all tables we wanted to search through. Then i programmed a php algorithm which searched all databases using the match against statement and put them all into one Array, sorted by their relevance.

Our Result Algorithm then took the Array, and prepared the text for output by cuting it and highlighting the searched word. (using css ;-)

Naturally i wanted to add a Percentage to it, but was not sure how to calculate the right one.
After searching a while in the Internet i found that source.

In Short:
a = the relevance of the current Array Value.
b = highest relevance of the search

percentage = (a / b) * 100

The first one gets 100 Percent, and then it drops in direct proportion...

Tuesday, June 14, 2005

Battlefield 2 Demo

I just downloaded and installed the demo. Since i first saw some footage, i definately wanted the game.
This morning i was able to test the Demo for some minutes, enough to get a first impression: WOW! I mean, i thought the game will be cool and so, but i definetly thought although my computer is not the weakest, i will have to lower some details, or it will at least bucking or laggin....

no way, it runs as smooth as btf vietnam...

And for that i am really glad. They did their homework and i will buy the game as soon as possible.

Monday, June 13, 2005

OpenOffice vs. MsOffice

Matt did a performance test between Word and Writer.. it is kind of interesting since Microsoft decided some time ago to save the data also in the XML Format.

Here is the Site.

Friday, June 10, 2005

CSSBug macIE: space in classname

If there are Spaces in classnames, macIE uses an internal css class called .infobox.
So if your document contains a css class called .infobox, macIE will use it ;-))

Here is a TestPage.

Tuesday, June 07, 2005

debian sarge released stable

After several years and a week later they finally managed to release sarge as stable....
My first action was to update my woody/stable debian installation to sarge...

Error?? ... ok .. look into the sources.list... ahh.. some servers are not up to date.. ok change it... all worked fine!!! ;-)

Then i did something i don't like.. i let them update everythink... waited and then rebooted the server..

If everythink worked fine it should get up without problems, if not, i will not get any sleep today...

And then everythink worked just perfect....

Today i will update my sarge/testing chroot installation to etch...

Monday, May 23, 2005

rise

Yesterday we had a Epsiode day. First we have seen Epsiode 1 and 2 at my place, and then we went to the cinema for Epsiode 3.

Well i have to admit that i am pretty impressed by the movie. They have managed closing the gap between the old and the new trilogy real fine.

If you like Star Wars, you have to see it.

Friday, May 20, 2005

bye bye good old anonymity

A thing so obscure and so brutal to the internet communitiy, that i could not even imagine it, just happend. Austrian citizans are now required to give their real names and address on their private Homepage, even if it is just a Site with photos from their 6 month old child!

Hello??? Where is the privacy in that? It is also unlikely that they will now start to search for sites without proper data. So what is it then for?

Another point for the police state without privacy..

Wednesday, May 11, 2005

DOM Inspector

The DOM Inspector is a very good Tool, and needed desperately while programming websites. FireFox for instance has it's own and you can install it with FireFox for free.

Internet Explorer on the other hand has nothing shipped with it. Now i read at IE Blog that there will not be any Inspector, because "3rd Parties have already programmed it"... and you can download it ... or better say B U Y it from them...

What the hack ... buy????

Well, again one point for FireFox.. they are not as lousy programmers as at microsoft ;-)

Monday, May 09, 2005

never change a running system

This is the first rule every technician learn. But what if the server will not work anymore... After about 8 months our Debian Server run without big problems.. but today when i got to work, nor ssh or samba was working. Only apache still ran without any problems.
I went to the server room and triied to start ssh by hand.. but nothing happend...

So i took a good breath.. waited a little time and then entered this magical words... shutdown...-h...now .... and stared shocked at the monitor if anythink bad happend and wondered if i did the right thing...

Then i waited .. it must have been hours.. but it was surely not more than some seconds... boot screen... linux starting up... no error message.. good..initilizing... ok... login prompt...wow.. nothing happend?... i logged in to check further... samba is running, ssh is runnning.. apache ...and everythink else...

I got up and back to my workstation and checked again.. everythink is working fine.. i checked the log files.. nothing reported between the 4 of Mai and today after i rebooted the server.. strange very strange..

although everythink works probably normal, i don't know why it did not work in the first place.

loong weekend

I used some of my overtime and rode away last Wednesday until i got back on Sunday. I have to say, although it have been 5 days, i usually will need additional two weeks ;-)

And naturally the weather was as bad as it could be.. rain, cold temperature.. but it did not matter... i had enough to reed and relax.

Thursday, April 28, 2005

new Handies and Technologies

This week i bought a new Handy... it is a SonyEricsson K700i. After charging the phone about a day (i was at work) i finally was able to install the PC Software. Then i connected my phone with the PC through Bluetooth. After that i started downloading all Sounds and Videos for backup reasons... well i started it yes... but it did not end...

After a couple of hours i was able to backup everythink.. the problem: the phone froze and nothing worked.. that happend a couple times and it was really going to be anoying...
I could only finish the job by using my old infra-red connection .. what's that all about?? Hello.. bluetooth did not come to life yesterday... it is now some years old...

well i contacted today the support and will try to get this thing to work.

Next Problem: Software
I want to manage my address book through my pc as i did with my old nokia handy. But all i could find is a sync tool for Outlook... HELLO? Who the hell has Outlook installed on a private Computer? Is there nothing else? Someting Open Source?

Tuesday, April 26, 2005

ssh Problems after upgrade

My development server at home runs with debian. At First i installed debian woody with a chroot sarge environment. Then i bought a 200 GB Harddisk and was forced to upgrade my woody kernel to 2.6.10. I managed to get woody to work with the new Harddisk and everythink else, but in my sarge chroot environment my ssh will not work anymore.

It says: could not allocate tty or stdin: is not tty.

I checked the usual thinks, /dev/pty are more than enough, mtab and fstab are ok for an chroot environment. The sshd_config is also allright. The only version how i managed to get ssh to work was from linux typing: ssh root@localhost -p sh -i

Uninstalling and then reinstalling ssh again will not work. And i could not find anythink on the net. I will not give up, but i do not know what option i have to try?

Friday, April 22, 2005

Poem

Yesterday i have heard this poem and i love it, although i do not know who wrote it:

Dear White Fella,

Why do you call me colored?

I am Black
I was born Black
When I'm scared, I'm Black
When I'm sick, I'm Black
When I'm in the sun I'm Black
When I die, I will be Black

White Fella,
You are White
You were born Pink
When you're scared, you're Blue
When you're sick, you're Green
When you're in the sun, you're Red
When you die, you will be Gray
So, why do you call me colored?

Thursday, April 21, 2005

The Incredibles

I also did not make it into the cinema for this movie, but i bought the dvd because it is a pixar movie and they never did a movie i did not like... one moment.. ok there is actually one movie i never saw... A bugs life.. because i have seen ants and did not want to measure them i thought i had to make a pause before watching that one...

But to get back to track i wanted to say something about the Incredibles. Well at first i thought ok, lets see it, but i don't think they can top nemo. But i have to say it started low, but it actually get real better and better. I love this analogy to James Bond.. really cool. The sounds, the Camera settings.. wow..

Some of my friends actually thing they have managed to top nemo.. i don't know.. i think you can't see it quite that way. I think of course both are good, but i can not decide which one is better.. they are so different in many ways.

Tuesday, April 19, 2005

Adobe bought Macromedia

When i did read this message i thought: "Oh my goodness...." now it is over. Then i looked to the comments and i agreed with all of them: "Why can't Adobe remain in the Photoshop, Premier, Acrobat,... business... i mean Go Live was a criminal act, now they got Dreamweaver and Flash to work on..

I hope we are exaggerating, but if not, then we are doomed.

hide and seek

Yesterday we went to the cinema for "hide and seek" with Robert DeNiro. We got free tickets and did not know what will await us there. But i was able to see the trailer before the movie, so we were a little prepared.

The beginning was tragic, as you can gess, and then the director let you belief something mystical is going on... it got a little bit from stephen king.

But the second Plot Point then was ingenious. I mean, i have not seen such a good Plot Point since Sixth Sense.
I mean, you sit there in the cinema and are making thousands of different versions who the bad guy is, and then finally it all come to one person in the end.

It is really a good movie, although i will not buy the dvd. It is not my genre.

Thursday, April 14, 2005

ebay

I am a little late for the Hype for ebay, but i also am late for the bloggin hype ;-)
Today i finally got my first Peace, bought over ebay. I am suprised how good it worked. Everythink was as it should be, we mailed, agreed on the shipping costs and i payed the fees from the bank and everythink else.

All i got to learn now is to use the IBAN so the fees would not get that high (50% of the costs were the fees)... but next time i am a little wiser.

Wednesday, April 13, 2005

Ocean's Twelve

Yesterday the DVD of Ocean's Twelve was released (in Europe) and i finally got to see the movie. (I was unable to see it at the cinema).

To say it in one word, the movie is cool! If you liked the first one with the cool guys having everything under control even when it does not look so, you will like this one.

The only difference i could make out, is that this movie is a little more complicated. If the complicate part of the first one was how Mr. Ocean got his wife back (through being arrested and so on), in this Part it's a little more to that.
Next, I thing Mr. Garcia is a better Bad Guy than this Nightfox Guy, he has not the charisma of Mr. Bennedikt ;-)

And i am a little dissapointed that they did not make another thing with Mr. Bennedikt.. that would have been cool, but .. maybe in the third movie ?

Paramount Says Enterprise Cancellation Is Final

Now it's final, but we all know they would not do it. Paramount declared, they will not be accepting any amount of money from fans to continue to produce Star Trek Enterprise.

Some Part of me is sorry about that, because i was beginning to like the characters... and the other Part is glad, because the stories were not as good as they could be.. or should be..

now the question is: what will come next? I hope they make a pause to let the people get back on track.. i mean, i was completely sated with all Star Trek Shows...

for the article click here: http://slashdot.org/article.pl?sid=05/04/12/2115227&from=rss

Tuesday, April 12, 2005

IE position relative - absolut container bug

Another IE Bug, or better, one that is old but still problematic..
Today i built a side where i needed one element to be positioned absolute.. so i made a structure like this: (I have changed to round brackets)


(div class="headline")(/div)
(div class="container")
(div class="logo")(/div)
(div class="content")
content
(/div)
(/div)


Then i have to add the follwing css attributes:
.container {
position: relative;
}
.logo {
position: abolute;
}
.content {
margin: 0 50px;
}

Actually there where more, but i want to keep this short.
On Firefox everythink looks great, but when i looked in IE i got a different view.
IE positioned the logo not at the left border, the one of container, it positioned it at the left border of content... it added the whole 50px margin..

Workaround:
The problem is, that the .container has no content in it, only the div .content, so IE just ignored it. You have to add content to it. In my case, i just positioned headline into the container, since container has no other attributes than position relative, it did not make any difference and volia everythink works perfect.

oGame or the FBI?

oGame is one of these realtime Games with it's own Universe. To make things short: it is all about ressources.
Friends and I played it from September 2004 until 3 weeks ago. Then our accounts were disabled due "multi user". Which means we got the same IP Address from Time to Time and so we are one Person in real.. or that's what the Administrators of oGame decided.

The real Version is: we are different people which often meet at my place to hang out, play some multiplayer games, look dvd or do something crazy. I happen to have a router to use one Internet Access for multiple computers.

But the real Problem is, you are not allowed to know the password of another user and you definetly are not allowed to check the account of others while they are at work, or in the university or somewhere else.

I only do not understand why? What's the big Idea? (quotation from singin in the rain)
I mean it is only a game.. there is nothing depending on it... we have not used our accounts to push us... you may think it's like an Federal Bureo and if you use not the one IP where you created your account, policemen will swarm at your place and get you arrested...

ok, that's a little excessive.. but i really do not understand the Problem.
That's why i wrote an email to the administrators to ask if they can enable our accounts.. but at first they did not give us any chance and relayed us further to a toplevel administrator.. (what a bureaucracy) .. and he told us he will look over it... on Monday .. that was about three weeks ago..

Now we are patient people.. but three weeks??? Ney, whatever these administrator decides, the game is done for us.

First Post

Now it starts, now you won... i finally got blogged ;-)
But never or less, you will get my revenge. I will start bloggin more than you can read .. ok, that will never happen, but i had to try ;-)

To get serious i will start my first entry with a problem in svn:
ever got an error while checkout, like this one:

svn: Checksum mismatch on rep '2k9c':
expected: aa79aa544453b7bd3bdd49e6c1440184
actual: 29299c7a197e774584ca96ede8f2e154

That's a bad one, because you don't know how to compensate so you may work further...
I don't have a good solution for it, only a link to: http://www.jroller.com/page/dunpanic

and my approach: since i got all files in another directory and just wanted to get a clean checkout so i may add the new files and make a commit, i deleted every single file where the error occured, made a commit and started the checkout again..

as i said, it is not a clean or good solution, but i hope it will work.