Sep 30 2009

Webmardi: Google Wave

Manfred Pürro @ 10:26

Hey Folks, do not miss the next webmardi on Google Wave. Surely a product you shouldn’t miss if you are in the internet business.
It is on the 6th of October in the Liip Offices at Fonderie 7 in Fribourg…

More on webmardi and on Google Wave

Cu there

  • Share/Bookmark

Tags: , , , , ,


Sep 10 2009

UMTS Ubuntu vs. Orange Switzerland

Manfred Pürro @ 17:05

I have here a tiny Acer AspireOne with integratet UMTS Chip.

Actually EVERYTHING runs out-of-the-box with Ubuntu netbook remix… Even the 3G Module gets detected correctly, a wizard is there to grab your location, provider and PIN.

The 3G Connection then shows up in the network manager. Unfortunately unable to connect… Long Story short… go to the Preferences (right click in network manager applet) and fill Username and Password with dummy values “mp”, “mp”. Actually these values are not needed, but not providing them causes authentication to fail… this workaround has been reported to work for other providers as well.

So long, everything works!

Perfect Laptop for on the road linux experience, even every special button works as intended… Ubunto netbook remix interface is perfect for the screen.

Big+ from me

enjoy…

  • Share/Bookmark

Tags: , , ,


Apr 08 2009

Gnu/Linux with a MS Natural Ergonomic 4000 Keyboard

Manfred Pürro @ 13:58

Hello folks. Just some little Infos und how to get the special keys of the Microsoft Natural Ergonomic 4000 Keyboard running under linux. There is a handy tool called xbindkeys to do such things. with xbindkeys you can find out the keycodes for every button you like… Just type “xbindkeys -k” into terminal and press the button you want to know the keycode for… The code then gets printed in the Terminal…

All you have to do now is to extend the .xbindkeysrc file in your home directory (create it if it’s not already there).
In this File you put in the Command you want to launch an associate it with the keycode.
Like this:

What? Example of Line in .xbindkeysrc
Comment ;-) # Microsoft Ergonomic 4000 Web/Home Button
Command “firefox”
Keycode m:0×10 + c:180

now start xbindkeys in your terminal… and voila… key bound to your custom command :-D

If you use Gnome you could now add xbindkeys to autolaunch (Its in System->Settings->Session).
For your convienience i’ll provide you my custom .xbindkeysrc. It has also a binding for the ThinkVantage Button on a Thinkpad T400 (it launches a terminal now ;-) )

put the following into .xbindkeysrc in your home directory!

#
# Custom .xbindkeysrc
#
# .xbindkeysrc from http://www.puerro.net/2009/04/linux-ms-natural-ergonomic-4000-keyboard/

# Microsoft Ergonomic 4000 Favorite 1
"emacs"
m:0x10 + c:192

# Microsoft Ergonomic 4000 Favorite 2
"thunar"
m:0x10 + c:193

# Microsoft Ergonomic 4000 Favorite 3
"gnome-terminal"
m:0x10 + c:194

# Microsoft Ergonomic 4000 Favorite 4
#"gnome-terminal"
# m:0x10 + c:195

# Microsoft Ergonomic 4000 Favorite 5
"gnome-terminal"
m:0x10 + c:196

# Microsoft Ergonomic 4000 Web/Home Button
"firefox"
m:0x10 + c:180

# Sroll Lock becomes Screen Lock ;-)
"gnome-screensaver-command --lock"
m:0x10 + c:78

#mp 04.01.2008 thinkpad button
"gnome-terminal"
m:0x0 + c:156

# see http://www.puerro.net/2009/02/thinkpad-t400-switching-monitors/
#automatic xrandr yai... Alt+F6
"/home/mp/scripts/detectvga.sh"
m:0x18 + c:72

Have Fun! :-D

  • Share/Bookmark

Tags: , ,


Mar 03 2009

Cebit 2009

Manfred Pürro @ 8:04

Once again, cebit is the place to presents some cool new gadgets for the European market… For once it isn’t Apple with cool new shiny products. This time it’s Microsoft and Asus.
First, we hear all about it: Microsoft’s Surface seems to be ready for the market. If it’s able to do what it does in marketing videos, i’m pretty sure it’s a huge success. Not at home for the beginning, the price Tag of 5000 Euros is a bit hoigh for that… But we’ll see it in showrooms…

I hope Jeff Hahn gets some of the money :-D

Next some cool Stuff from Asus:
A PC in a Keyboard (with wireless hdmi), A NAS for Home Users , a tiny MediaPC and some prototype of a keyless laptop (unfortunately the model they have at cebit is broken…) All shiny white or out of Aluminum and pretty good looking… Hell the NAS even has a built-in battery to prevent data damage on a power cut…

Some cool stuff…. Sorry for the German Golem Videos, but hey, if comes to Cebit, they are the first to have the news :-D
This week we’ll surely see more Stuff from Cebit… Great we have an occasion like this in Europe..
Have a nice day.

  • Share/Bookmark

Tags: , ,


Feb 21 2009

Thinkpad T400 – switching monitors

Manfred Pürro @ 16:48

With Ubuntu most of the Things work right out of the Box…. Once you solved the two graphic cards problem trough the BIOS (enable on card only!). I choose the internal intel graphics because it uses less power than the ati and has support for the RandR Extension. (Which comes in handy if you plug and unplug external monitors/projectors).

Problem is that you have to reconfigure (you can do clickingly in gnome) every time the monitor setup changes. Some problem appeared at work where i have a huge 1920×1200 screen. “Viewport is to small for both” it says. So no problem, i disable the laptop monitor and go with the external … so far so god. But in the evening i get lazy unplug my lap and go home… at home laptop screen is still disabled… black… no (comfortable) chance to switch it on again… Pretty annoying, i have to reconfigure before unplugging, disabling the external and enabling the internal again…

I don’t want to do that.

excursus: Viewport can be fixed like this, just add the following to your xorg.conf Screen section:

SubSection “Display”
Depth 24
# Just set it high enough for
# every combination of Monitors
# There is a known issue that DRI doesn’t work on pre-965 if maximum is larger than 2048×2048.
Virtual 2048 2048
EndSubSection

EndExcursus

So let’s start

First we need some info:

mp@mp-t400:~$ xrandr -q
Screen 0: minimum 320 x 200, current 3120 x 1050, maximum 3360 x 1200
VGA connected 1680×1050+1440+0 (normal left inverted right x axis y axis) 434mm x 270mm
1680×1050 60.0*+
1600×1024 60.2
1400×1050 70.0 60.0
1280×1024 75.0 60.0 60.0
1440×900 59.9
1280×960 60.0
1360×768 59.8
1152×864 75.0 75.0 75.0 70.0 60.0
1024×768 75.1 75.0 70.1 60.0
832×624 74.6
800×600 72.2 75.0 60.3 56.2
640×480 75.0 72.8 75.0 60.0 59.9
720×400 70.1
LVDS connected 1440×900+0+0 (normal left inverted right x axis y axis) 303mm x 190mm
1440×900 60.0*+ 59.9 50.0
1360×768 59.8
1152×864 60.0
1024×768 60.0
800×600 60.3 56.2
640×480 59.9

So here we see two outputs LVDS for the internal one and VGA for the external monitor.

LVDS is left of the VGA one. i configured this graphicaly (thanks to xrandr).

bildschirmfoto-bildschirmeinstellungen

(And yes my monitor at home has a different size than the one at work…). The above picture illustrates the manual fiddling arround i was complaining about :-D
I want to have the internal screen on the left because it’s size is unlikely to change and the viewport is counting from top-left… (had to switch to a above/under setting, more later)

If i unplug the external monitor i get the problem. Menus and the like keep sticking tho the now inexistant external screen… pretty annoying.

Now we come to the point why i want RandR Extension support for my graphics. With the xorg tool xrandr – i can now automatically configure my external screen on the Fly. Without restarting X.
As we know from the output before it has the identifier VGA. I now auto-detect the VGA Port with xrandr and set this monitor above the first one (only works if one is here of course :-D ): (PS: I choose above LDVS because mode DRI only support 2048 in width, and i want DRI for the Compiz crap)

$> xrandr –output VGA –auto
$> xrandr –output VGA –above LVDS

So that does the trick. i do not want to type that in every time, so i write a little script and bind it to a key a never use :-D

First the script in ~/scripts/detectvga.sh

#! /bin/sh

xrandr –output VGA –auto
xrandr –output VGA –above LVDS

Don’t forget to

$> chmod +x ~/scripts/detectvga.sh

Now let’s start that script with a special key. I use xbindkeys to do such tricks… (because it works for every windowmanager and it’s easy). First i need the keycodes:

$> xbindkeys -k

Keycode for F6 is “m:0×10 + c:72″

so i add the following to mi .xbindkeysrc

#automatic xrandr yai…
“/home/mp/scripts/detectvga.sh”
m:0×10 + c:72

FINISH!

More info:

$> man xrandr
$> man xbindkeys

  • Share/Bookmark

Tags: ,


Feb 16 2009

Useless Compiz Mouse Plugin

Manfred Pürro @ 23:37

Schaut euch dass an :-d
compiz "mousepointer" plugin

herrlich…. Ihr seht die Konfigurationen… Das Ding ist irr… sieht geil aus und ist komplett unbrauchbar… aber lustig :-D

bildschirmfoto-compizconfig-einstellungs-manager

oh and it spins around… :-D

  • Share/Bookmark

Tags: ,


Dec 16 2008

New Wordpress 2.7

Manfred Pürro @ 19:19

Das neue Wordpress 2.7 hat viele Interface Neuerungen mitgebracht… OK hier auf dem Frontend sieht man nichts davon, das Admin-Interface ist jedoch verdammt sexy geworden!

Wordpress 2.7 Admin Interface

Wordpress 2.7 Admin Interface

Im Bild gibts auch einmal einen Blick auf die puerro.net internals… 123 Posts habe ich bisher veröffentlicht… Ich hoffe einige davon waren interessant :-D

Update war wieder mal völlig problemlos. max 5 Minuten
- alte Files sichern
- DB dump
- neue files rauf
- config.php
FERTIG!

Check it out!

  • Share/Bookmark

Tags: , , , , ,


Oct 28 2008

CrossOver für Linux und Mac gratis

Manfred Pürro @ 12:34

CrossOver lässt Windows Programme auf Linux und Mac laufen. Dabei hadelt es sich nicht um eine VirtualMachine sondern um einen Nachbau der Windows API für *nix Architekturen. Das ganze basiert auf Wine, welches OpenSource und immer gratis zu haben ist.

der Vorteil von CrossOver besteht darin, dass man nichts konfigurieren und basteln muss. Profile für Photoshop, Word, ein paar Games usw… sind vorhanden und funktionieren einwandfrei :-D

Also looos zugreiffen, ab und zu gibts ja so ein WindowsProgramm dass man ausführen möchte. SkiChakllenge anyone? hehe

Also abholen marsch marsch :-D

CrossOver lameduck campaign sign

http://lameduck.codeweavers.com/free/

Der Registrationsserver ist momentan down, die Zeit zum registrieren wurde aber um 48 Stunden verlängert… Gültige Gratis SerienNummern gibts aber nur HEUTE!

  • Share/Bookmark

Tags: , , ,


Sep 25 2008

Blogging OpenExpo Winterthur – Tag 2

Manfred Pürro @ 9:55

9:30 OpenSource in der Bundesverwaltung

  • über 3000 E-Gov Produkte
  • ???’000 Prozesse

Offene Standards sollen gefördert werden, um den Datenaustausch zwischen den verschiedenen Ämtern zu erleichtern.

E-Governement und OpenSource
offene Standards

Einmal Entwickeln – mehrfach verwenden

OpenSource eignet sich gut dazu. Code ist offen, kann frei weitergegeben werden usw…
Erleichterte Wiederverwendung
Alternativen zu marktbeherschenden Lieferanten
Wirtschafts- und Innovationsförderung in der Schweiz (OpenSource durch CH Firmen weiterentwikeln lassen)

Im Einsatz

  • Apache
  • Bundesgericht: OSS Fachanwendungen und StarOffice
  • Solothurn 2000 Linux Desktops
  • forge.sik.ch Förderung von OSS der CH Informatikkonferenz
  • www.ch-open.ch (Initiativen)

Ausschreibungs-Bedingungen müssen noch angepasst werden, damit OSS bei Software Beschaffung die gleichen Chancen erhält.

SIK beitet GPL angepasst an Schweizer Recht!

.

10:00 OpenSource als Microsoft Alternative

Microsoft hat offene Standards für Hardware definiert! Dies muss man anerkennen, denn sonst währen Computer immer noch viel teurer.
Microsoft war der Motor für die Verbreitung der PC’s in Privathaushalten.

Wieso eine Alternative?

  • Die Entwicklung ist bei MS durch Kunden nihct beinflussbar
  • Quellcode ist nicht einsehbar (Sicherheit, Flexibilität, Unabhängigkeit)
  • Ausserhalb von MS ist kein Entwicklerwissen verfügbar
  • Es gibt keinen Markt
  • Die Lösungen sind in vielen Fällen zu teuer
    weil Microsoft eben alles selber entwickeln muss
    weil es keinen Markt gibt
  • Administration, Patch- und UpdateManagement zu umständlich/unflexibel

Linux undOpenSource

  • viele unterschiedliche Player
  • KnowHow ist verteilt und Oft auch vor Ort verfügbar
  • jede änderung ist machbar
  • oft günstiger
  • höhere sicherheit durch “Viele Augen Prinzip”
  • oft ist OSS strategisch und finanziell interessanter
  • … und es macht mehr Spass (da man selber mitmachen kann)

.

10:40 Linux Desktop im Kanton Solothurn by SyGroup

politischer Entscheid im 2001
Umstellung aller Server und Desktops

ca. 2500 Desktops
Clients

  • 80% Thin Clients
  • 10-15 % Laptops
  • 5-10% PC’s

ca. 150 Sever von 10 technischen Mitarbeitern betreut!

Stand heute:

  • Server Migration seit Jahren abgeschlossen
  • 1600 Benutzer auf Linux Desktop
  • Exchange wurde durch Scalix ersetzt
  • 80-100 Nutzer pro Terminalserver (war bei windowsbasierten viel weniger)

Anforderungen waren:

  • Zentrale Administration aus LDAP
  • Applikationszuweisung
  • Drucker
  • Softwareverteilung
  • Server Deployment
  • Files
  • Oberfläche
  • Aussehen wie NT4 Desktop
  • KDE
  • Einschränkungen im Profil
  • …. und mehr… war leider zu langsam

Univention Admin Tool ermöglicht komplette Verwaltung von Usern (Gruppenzuweisung, mail, Desktop, Einschränkungen, Shares, usw…)

SingleSignOn (Auch für Sap über TerminalServer)

Verbleibende WindowsApps werden über TerminalServer integriert. Die integration ist so realisiert, dass der Benutzer keinen Unterschied zu native Applications feststellen kann.

Erfolgsfaktoren

  • Langjährige, konsequente Strategieverfolgung
  • Univention Corporate Server
  • Sanfte Migration
  • Benutzer verliert keine Funktionalität
  • Gute Kommunikation, Intranet, Demos, Testgeräte

Hürden

  • wenig technische Hürden
  • Spezielle Fachanwendungen erfordern spez. Windowsfunktionen

Kosten

  • pro Client 150.- SFr Erparnis pro Jahr
  • 2000 Clients 300′000 pro Jahr
  • Migration auf Vista wäre mit 4-6 mal höheren Kosten verbunden

.

11:13 OpenOffice 3

  • PDF Hyprid möglich (OpenOffice Dokument Embedded in PDF)

probierts selber aus, nichts revolutionäres neues in OOo 3. Etwas besseres Desig, und mehr Funktionen.

..

… updates den ganzen Tag durch

  • Share/Bookmark

Tags: , ,


Sep 24 2008

Blogging OpenExpo Winterthur – Tag 1

Manfred Pürro @ 13:24

12:30 wollte eigentlich Vortrag zum ERP ADempiere anschauen, falscher Raum :-D Also Mercurial DCVS Sehr interessanter Ansatz von verteilter Versionskontrolle, also bleib ich sitzen. Mozilla und Lanuchpad von Ubuntu nutzen es beispielsweise…

Kurz:
CVS bisher

lokale Arbeitskopie <–> Server

DCVS
lokale Arbeitskopie <–> lokales Archiv <–> Server Archiv

Vorteile:

  • Test-Branches bleiben lokal
  • Man kann über das lokale Hauptarchif greppen, um z.B. de Werdenshergang einer Konstante (oder so) zu verfolgen.
  • Fördert gute Commits (kleiner, fokussiert … keinen dumen tippfehler, vergessene datein usw…)
  • immer und überall ad-hoc branches möglich
  • starke merge funktionalität

Ähnliches:

  • git
  • Bazaar

. 13:15 Opensource @ SAP Wo kann man freies den in SAP integrieren? Enterprise Services Repository

  • WSDL, WS-Policy
  • OASIS

Wollen Interopreabilität über Open Standards (z.B. OASIS) unterstützen. Opensource CMS von Alfresco kann mit SAP genutzt werden (dank Standard Schnittstelle) SAP liefert zu jedem Produkt den Sourcecode! (Zur Nutzug sind allerdings Lizenzen von Nöten) SAP läuft auch auf Linux, Solaris und mit offenen Datenbanken (z.B. MySQL) Interoperabilität mit Opensource:

  • durch SAP Java GUI
  • Firefox wird unterstützt
  • ODF wird durchgehend angeboten!
  • Grails kann benutzt werden um SAP WebDynpro Apllikationen zu schreiben
  • Java Entwicklungsumgebung basiert auf Eclipse (und arbeiten aktiv daran mit (Haben den “Memory Analyzer” gestiftet)
  • Stellen teilweise auch Risikokapital zur Verfügung

. 13:56 Erfahrungen mit OpenSource Groupware by Puzzle ITC Allgemeine Anforderungen (kurzversion)

  • Web Client
  • Teamfunktionen
  • Import/Export
  • Synchronisation
  • LDAP Auth

Grundfunktionen (kurzversion)

  • Mail
  • Contacts
  • Calendars
  • Tasks
  • Memos

Puzzle ITC setzte bei konkretem Kundenprojekt auf “ScalableOGo Project”, weil da Standard-Schnittstellen am besten unterstützt werden. Sync mit mobile devices ist über funambol erreichbar. FatClients lassen sich dank den Schnittstellen problemlos benutzen. Was fehlt?

  • Teamkalender (OpenGroupware hat das)
  • Ressourcenkalender
  • Standardkonfiguration für neue Benutzer
  • Adressverwaltung in CRM

Will man ein produkt aus einem Guss kann Zimbra verwendet werden (Wurde von Yahoo aufgekauft, zukunft unsicher) Fazit

  • Anforderungenmüssen genau erhoben werden
  • Weiterntwicklung gut beobachten
  • Viele versch. lösungen möglich
  • …für den rest war ich zu langsam…

.

14:32 KOffice im Produktiv Einsatz

Die erste Frau als Speaker… und auch noch eine hübsche :-D
bin mal gespannt…

Alles neu in KOffice 2! (Beta wurde heute released) (sauberere CodeBasis) alle wurde auf qt4 portiert, keine Abhängigkeiten mehr auf qt3

Mix von Text und Grafik Editoren (in jedem Programm dasselbe ToolSet)

Plugins (Backend)
FlakeShapes
(Frontend) (einfach zu erstellen, sauberes API)
–> In allen Applikationen zu verwenden und zu bearbeiten Beispiel: Textverarbeitung im Grafikprogramm usw…
FlakeShapes teilen gewisse Eigenschaften: Bearbeitbar, Skalierbar, Rotierbar….

Pigment Farbverwaltung, in allen Programmen nutzbar (Farbräume, Effekte, Konversionen, mischungen) volle PDF Unterstützung

  • Transparenz
  • echtes Einbetten der Fonts!
  • angepasste Seitenmasse
  • verbesserte Integration von Print Preview Techniken

Portabilität (läuft ab 2.0 also auf allen Plattformen (auch auf mobiles), setzt auf ODF)

Plugins

Architektur für individuelle Lösungen

volle Integration von Plugins Dritter (bereits mitgelieferte Plugins benutzen diesselbe API)

sehr einfache CodeBasis

Kross Scripting

(Phyton, Ruby, Java usw….)

Integration von externer Software

Automation

Fazit

Der neue modulare Ansatz passt KOffice an jede erdenkliche Situation an, vom SimpleOffice bis zu hochkomplexen und/oder spezialisierten Anwendungen.

.

15:13 Apache Hadoop… das letzte für heute…

Distributed Computing Ansatz von Apache

klassisch ist 3-tier (Database /Application / View)

  • mehrere single point of failures
  • begrenzt skalierbar

Dagegen der distributed computing Ansatz von Apache

  • Jeder Rechner hat nur einen Teil der Daten, alle Daten sind aber mindestens 2mal verfügbar (redundant)
  • Client fragt Name-Node nach dem Ort der Daten (Skaliert super)
  • redundante daten sind alle zugreifbar (traditionelle backups überflüssig)
  • name node hat replication policy (z.b. redundanz auf 2 versc. racks od. data-center verteilen)
  • verteiltes Filesystem (Google File System als Vorbild) Softwarebasiert (Linux)
  • verteilte Datenbank HBase (Vorild Googles BigTable) schema frei, keine fremdschlüssel
    Keine typisierte Datenbank
    Jede Zelle ist versioniert!
    jeder Schreibzugriff erzeugt neue Zeile mit Zeitstempel
  • Map/Reduce
    Vorbild: googles Map/reduce paper

….ständig am updaten …..

  • Share/Bookmark

Tags: , ,