Tuesday, September 15, 2009

Vista 64bit Problem mit dem Internet

Habe also nur Probleme mit meinem Vista 64bit system.

Ich hatte schon den Rechner bei Packard Bell eingeschickt, die mir den komplett platt gemacht. Lustigerweise ging das Internet dann nicht. (Vorher hatte ich Probleme mit periodischem komplett ausschalten des Rechners vor allem beim SIMS spielen)

Ich verstehe zwar nicht wieso und warum aber folgendes hat mir geholfen:
Eine Kommandozeile mit Administratorrechten öffnen:
- Auf Start klicken
- unten im Suchfenster cmd eingeben
- STRG+SHIFT+ENTER drücken
- Die Warnmeldung bestätigen Folgendes eingeben:
netsh
winsock
reset

Den Computer neu starten. Jetzt sollte es gehen.

Zu finden in folgendem Forum Post: http://forum.chip.de/windows-vista/vista-64-bit-internet-problem-erstinstallation-1118492.html

Tuesday, September 8, 2009

Openfire login issue

I had problems logging into the admin console of openfire.

Here is solution how to fix:
Check the property admin.authorizedJIDs in the table ofProperty
and add the user name you want to be admin. For me it was cti_david@im.placetel.de

Tuesday, September 1, 2009

Swing repainting issues

I am currently developing a Call Telephony Integration Client for placetel.de on the basis of Spark Instant Messageing client and I noticed several repainting problems in spark.

After long hours researching the web I found the solution. In several component of spark there is the paintComponent(Graphics g) overriden. But they forgot to call ther super.paintComponent(g)
that is why the components always seemed just to write changes on top of the old state so it looked very messy.

public void paintComponent(Graphics g) {
//Super.paintComponent was missing and added by me!
super.paintComponent(g);
double scaleX = getWidth() / (double)backgroundImage.getWidth(null);
double scaleY = getHeight() / (double)backgroundImage.getHeight(null);
AffineTransform xform = AffineTransform.getScaleInstance(scaleX, scaleY);
((Graphics2D)g).drawImage(backgroundImage, xform, this);
}

Friday, July 3, 2009

Ubuntu 64bit, Firefox und Java plugin

Wie man java als plugin unter firefox und linux ans laufen bekommt ist hier beschrieben.

http://blogs.sun.com/joshis/entry/finally_it_s_here_java

Kurzfassung: Wenn die JRE schon installiert ist einfach ins Verzeichnis JRE/lib/amd64 gehen und einen symbolischen Link von der Datei libnpjp2.so erstellen und diesen Link in das Verzeichnis /home/mein-benutzer/.mozilla/plugins verschieben.
Browser neu starten und in der Addresszeile about:plugins eingegen.
Firefox listet alle installierten Plugins und relativ als erstes auch java auf.

Monday, June 22, 2009

Ubuntu 64bit and skype

The download for the skype for a 64bit ubuntu does not work.

Here is the correct package:
http://www.skype.com/go/getskype-linux-ubuntu-amd64

Tuesday, June 16, 2009

Ubuntu 64 bit Flash

Unter Ubuntu 64 bit läuft der Flashplayer nicht, kann aber wie folgt installiert werden.

wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.22.87.linux-x86_64.so.tar.gz && tar xvfz libflashplayer-10.0.22.87.linux-x86_64.so.tar.gz
  1. Move the file in /usr/lib/mozilla/plugins for a site-wide install (or in ~/.mozilla/plugins for a single-user install):

sudo mv libflashplayer.so /usr/lib/mozilla/plugins/libflashplayer.so
At this stage, you should restart Firefox and verify that the plugin is installed properly by typing about:plugins in the URL bar.

https://help.ubuntu.com/community/AMD64/FirefoxAndPlugins?action=show&redirect=FirefoxAMD64FlashJava

Bandbreite unter Windows drosseln

Manchmal nützlich um eine schlechte Internet Verbindung zu simulieren.

1. Start -> Ausführen und gpedit.msc eingeben.
2. Öffnen sie „Administrative Vorlagen“
3. Öffnen sie dann „Netzwerk“
4. Nun „QoS Paketplaner“
5. Nun klicken sie mit einem Doppelklick auf „Reservierbare Bandbreite einschränken“
6. Neustart

Danke an Ralf Mödder für den Tip

Friday, April 10, 2009

Eclipse: Error retrieving "feature.xml". [Error in opening zip file]

My problem:
whatever I try to do under "Help/Software Updates/Find and Install", I get this immediate Error Message:

Quote:
Error retrieving "feature.xml". [Error in opening zip file]
The same problem is described in:
http://www.myeclipseide.com/PNphpBB2-viewtopic-t-12732.html

The solution:
Just delete the site.xml file under the eclipse folder! I actually renamed it to ~site.xml and after the installation was complete I renamed it back and restarted eclipse. The reason was that the site.xml contained references to the SVN plugins that I needed. Why the site.xml causes trouble, no idea.

Background and what I am currently doing:
My current project is to help finocom write a call center software that is multi client and clustering enabled. For this I need to write some php code and rails code. I installed eclipse 3.2 with aptana studio as eclipse plugin installed. For my php coding I wanted to have some syntax highlighting for php and therefore wanted to install the php plugins of Aptana.