Ended up buying an Apple...

I have an Acer laptop for about 5 years. It includes a generously 512MB of RAM, Intel Centrino 1.6Ghz (M730 processor to be more precise), ATI Mobility Radeon x600 64MB VRAM, 80GB HDD, yada yada yada. The battery is in an awesome shape if we consider the age and the usage I put on it during this time - previously 3 hours fully charged and now around 2 hours, so... I couldn't have asked for better. Nevertheless, the laptop has an 15.4" display and weighs 3Kg with battery plus the charger which I have to take always with me otherwise the battery would ran out quickly. All this factors led me to buy a new laptop with the main features to consider and give more priority on the weight, battery and size. I didn't want to buy again a new 15.4", up to 4 or 5 hours of battery, and weighed laptop. Basically the requirements were: 12" or 13" screen, up to 2Kg, battery that lasted at least 7 or 8 hours (wireless and reasonable screen brightness), 4GB of RAM or more, and obviously a "good" brand (Sony, Lenovo, Apple, Dell, and HP were on top of the list), not to mention a decent price I could afford. A few hours/days later I decided to pick an Apple Macbook Pro 13" 2.4GHz, not because of the Mac OS X as some might be imagining by now but because of the hardware itself.

The Apple Macbook Pro 13" I bought Tuesday includes an Intel Core 2 Duo 2.4Ghz, 4GB of 1066MHz DDR3, battery up to 10 hours (wireless and 50% screen brightness), and weighs 2.04KG. It cost me 1.149€ but had an (indirect) discount of 5% plus 10€ on the FNAC client card (costs 5€ per year but worths it since it also gives you other discounts and benefits). Here is a short list of highlights regarding the hardware itself and the Mac OS X operating system which, by the way, I have to mention I have never used it until now:

Pros:
  • Laptop is solid rock and its aluminum unibody makes it truly fresh (I don't fell any heat, except in the fan area where the air flows out obviously, while the Acer laptop is more like a heater than a laptop (I bet I could fry an egg on it));
  • Touchpad pretty flexible e practical;
  • Battery lasts up to 10 hours, meaning I don't have to carry the charger wherever I go;
  • The charger has two cables: the charger with the cable to plug in the laptop and another one to extend the length of the cable to the wall socket. This means for, most of the cases, I can leave that extra cable aside or at home;
  • Auto brightness (think a little and you will find how useful it can be);
  • OS X is functional, intuitive, and has a clean UI overall.
Coins:
  • I'm used to have the Ctrl key switched with the Fn key (something I want to get used);
  • At least for the Portuguese keyboard, the square brackets as well as the curly brackets aren't shown in the keyboard and the key combination for the curly brackets isn't easy and convenient: alt+shift+8 for { and alt+shift+9 for } (keys 8 and 9 are where the parentheses are located at). Imagine how great will it to code, not!
  • No "Cut" on files?!
  • "exit" in the Terminal doesn't close the tab, but logs out and stays there opened;
  • If running the OS in Portuguese, cmd+w doesn't close the tab as expected since the shortcut isn't associated and seems there is no way to do so. If running in English, the shortcut is there and do the job;
  • Expected iChat to support the MSN protocol. Using Adium, which is way better;
  • The file (un-)compressor included by default lacks lots of features such has the capability to uncompress split files. Using BetterZip, but still missing Ark from KDE!
  • People advised me to use VLC instead of QuickTime for watching videos, specially those in HD since it seems the codecs used by QuickTime consumes more CPU than it should and that VLC consumes. I would have installed VLC anyway since I'm already used to it being the best video player out there in my opinion.

For those concerned about my devotion to the FOSS world and specially my openSUSE and KDE eccentricity, than there is nothing to you worry about! I'm still the very same guy you used to know. I just needed a laptop with the features I have stated above and that ended up to be an Apple Macbook. That's it, folks!

Technical Preview of PySide-Shiboken


Marcelo Lira (PySide developer) announced moments ago on the PySide mailing list the technical preview of PySide-Shiboken:
Hello folks,

today we got the Shiboken generated PySide bindings in a good enough
shape to do a proper release
with tarballs and all the required niceties, instead of rough git
urls. Keep in mind that this is an alfa release,
or a "technical preview" as the kids in my lawn are used to say, some
modules are missing and bugs are not
hard to find.

This PySide release contains bindings for the following modules:

* QtCore
* QtGui
* QtNetwork
* QtWebKit
* QtSvg
* QtXml
* QtTest
* QtOpenGL
* QtSql

Feel free to try your Python code with this version of PySide. You
know how it works: more users == less bugs.
As long as you guys tell us about the bugs: http://bugs.openbossa.org

A noteworthy fact is the first release of the Shiboken C++ binding
generator. Yay!
We strongly encourage it's use to produce non-Qt C++ bindings for
Python, it will make your life easier.
If it turns out to be not so easy, come and talk with us on #pyside
channel (Freenode).

Here follow everything needed for this release, in order of compilation.

API Extractor, version 0.4.0
http://www.pyside.org/files/apiextractor-0.4.0.tar.bz2

Generator Runner, version 0.4.0
http://www.pyside.org/files/generatorrunner-0.4.0.tar.bz2

Shiboken, version 0.2.0
http://www.pyside.org/files/shiboken-0.2.0.tar.bz2

PySide, version 0.3.0
http://www.pyside.org/files/pyside-qt4.6+0.3.0.tar.bz2

You will notice that the size of the generated bindings for the Qt
modules in no way resemble the figures from the Boost.Python version.
And talking about Boost: packagers, be aware that no component depends
on Boost::Graph anymore. Yay^2!

P.S.: cgoncalves, thanks for all the code. And to everyone else that
provided bug reports, patches, beers, etc.


And I followed by adding the usual pos-release-announcement announcement:

Don't want to get your hands dirty and have headaches due to compilation
issues? That's bloody easy! Get this very same release version already
packaged for your distribution from the openSUSE Build Service! Packages
(32bit and 64bit) available for the following distributions:

- openSUSE 11.0, 11.1, 11.2 (for both Qt 4.5 and Qt 4.6 version available),
and Factory
- Fedora 11 and 12
- Mandriva 2009.1 and 2010

You can install PySide package by adding the proper repository from
http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/shiboken/
to your package manager (zypper, yum, urpi, smart or any other rpm-md
compatible) followed by the installation of package 'python-pyside'.

But (!) in case you are all a bleeding-eye person, or simply if you want to
take an extremely important role on the development by testing it and
reporting back to developers, you can even get the regularly snapshots taken
from PySide's Git mainline by adding the devel repository[1].

Or if you happen to be from the old-school and love PySide Boost based you can
still install and use it[2].

I would like to take the opportunity to congratulate and thanks the PySide
team for their magnificent effort given to the project. You guys rock!


[1] http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/devel/
[2] http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/boost/

Stable versions of PySide packaged


Heads up! I'm glad to inform you all that now stable/released versions of PySide are also available for Mandriva and Fedora besides for openSUSE and snapshots as previously announced. I've updated the download page to reflect this change.

Fedora and Mandriva users: please give me feedback about these packages.

PySide packages for openSUSE, Mandriva and Fedora


As some are already aware of, I've been packaging PySide (including apiextractor, generatorrunner, and boostpythongenerator) for openSUSE since the project has been publicly announced.

Not only stable/released versions have been packaged, but also snapshots taken from mainline git repository with both built and hosted on the openSUSE Build Service in my home dir there (home:cgoncalves:pyside and home:cgoncalves:pyside:devel).

Yesterday I took some time updating the snapshots (ie. home:cgoncalves:pyside:devel) to now build against shiboken instead of the not-yet former boostpythongenerator. Apiextractor, generatorrunner and shiboken built successfully, while PySide did not because I've tried to build it with Qt 4.6 but due to bug #124 it failed, and in the meantime I've switched it back to Qt 4.5.

Moreover, I'm expanding this packaging work to other distributions namely Fedora 11, Fedora 12, Mandriva 2009.1, and Mandriva 2010 sharing the same specfile with openSUSE 11.1, openSUSE 11.2, and openSUSE Factory that already live there for quite some time.

Everything have been built okay for these distributions, except on Mandriva 2009.1 and openSUSE 11.1 where PySide (only) is failing (older gcc version version issues I suppose) and on Fedora 11 i586 and openSUSE 11.2 i586 with PySide failing, too, but due to bug #111

So, in case you are interested in testing these non-openSUSE packages, which I didn't I may add, please do so and report back to me whether they are okayish or not.

Finally, keep in mind that for now I'm only referring to repository home:cgoncalves:pyside:devel (snapshots) and not to stable versions. Plus, you won't get yet a full featured Python bindings for Qt since the PySide team is under heavy work on completing the QtCore module first with Shiboken before moving forward to other modules.

Please refer to [PySide] PySide packages for openSUSE, Mandriva and Fedora for further discussion.

Announcing ENOS 2009

(See the announcement in English bellow)




Pelo terceiro ano consecutivo, toda a comunidade portuguesa de openSUSE reúne-se num só espaço com o intuito de dinamizar o projecto openSUSE em Portugal.

O ENOS 2009 (acrónimo para "Encontro Nacional de openSUSE 2009"), organizado pela comunidade portuguesa de openSUSE e pela Associação de Informática de Castelo Branco, decorrerá na magnífica cidade de Castelo Branco, Sábado 26 de Setembro, tendo como ponto de encontro o Instituto Português da Juventude de Castelo Branco pelas 10 horas.

O objectivo do ENOS é dar a oportunidade aos utilizadores portugueses de openSUSE de se juntarem assim como dar aos participantes uma visão introspectiva dos últimos desenvolvimentos do projecto openSUSE e estimulá-los a participarem na comunidade, tudo num ambiente bastante informal e aberto.



Para além do convívio, troca de ideias e discussões dos mais diversificados temas possíveis, também decorreram durante o dia apresentações e BoF's tais como:

  • O projecto openSUSE desde à 365 dias (Carlos Gonçalves, openSUSE)
  • Integração de Open Source vs Software Proprietário (Engº João Batista, Novell Portugal)
  • Linux na pós-produção áudio (Ricardo Antunes, UrbanaFM)
  • BoF: Moonlight (Andreia Gaita)
  • BoF: Packaging com o Build Service (Carlos Gonçalves)

Também este ano será possível submeter-se aos exames de certificação LPI, através da empresa nacional DRI, Master Affiliate do LPI em Portugal, com um desconto de 50% nas certificações - os interessados deveram informar a organização com pelo menos 8 dias de antecedência da sua intenção.

Assim, convidam-se todas as comunidades, associações e instituições, empresas e individuais a participarem.

Embora o encontro seja totalmente livre, agradece-se o registo na página do evento ou por email para eventos () opensusept () org por forma a ter uma ideia do número expectável de participantes.

Para informação mais detalhada, queira por favor consultar a página oficial do evento em http://pt.opensuse.org/Eventos/ENOS


Com os melhores cumprimentos,
A organização do ENOS 2009



English Version (note: it differs slightly from the above in Portuguese)




For the third consecutive year, all the Portuguese openSUSE community users will be meeting will the main goal of boosting the openSUSE project in Portugal.

ENOS 2009 is the third yearly edition of the event and will be held in the Institudo Português da Juventude (IPJ), Castelo Branco, Portugal on Saturday, 26 September.

  • About
The acronym ENOS stands for ‘Encontro Nacional de openSUSE‘, a Portuguese expression which can be translated to ‘National openSUSE Meeting‘, an event meant to unite the Portuguese openSUSE users, as well as provide the participants an inside view into the latest developments in the openSUSE project and stimulate them to take an active part in the community itself.

  • Schedule
The current schedule, subject to changes, defines the following (GMT timezone):
  • 10:00 - Gathering at Institudo Português da Juventude
  • 11:00 - ENOS kicks off
    • 11:15 - 11:50 - The openSUSE project since 365 days ago (Carlos Gonçalves)
    • 11:50 - 12:00 - Coffe Break
    • 12:00 - 12:45 - Open Source vs Proprietary Software Integration (Eng. João Batista) Batista)
  • 13:00 - 14:30 - Lunch
  • 14:30 - 17:00 - IPJ
    • 14:30 - 16:00 - Audio post production on Linux (Ricardo Antunes)
    • 16:00 - 16:30 - (pending talk)
    • 16:30 - 16:45 - Coffe Break
    • 16:45 - 17:30 - Birds of a Feather
      • 16:45 - 17:10 - BoF: Moonlight (Andreia Gaita)
      • 17:10 - 17:30 - BoF: Packaging with Build Service (Carlos Gonçalves)
    • 17:30 - 18:30 - Activity (suprise)
    • 18:30 - 19:30 - Ideas & Discussion ; openSUSE Install Party ; LPI Certification
  • +19:30 - Castelo Branco at night biggrin



  • LPI
The LPI (Linux Professional Institute) seeks to become recognized as the global leader in the certification of Linux professionals while advancing the Linux and Open Source movement through strategic partners, sponsorships, innovative programs and community development activities.

The ENOS organization has the pleasure to announce that we agreed with the LPI Master Affiliate DRI to allow interested people to certificate themselves with the LPI certification during the ENOS meeting (50% discount), which is a really good opportunity to everyone get their own LPI certification!

  • Invitation
Anyone interested in attend should sign in or email eventos () opensusept () org so we can have a better idea of how many people we should expect (tip: you will not leave the event without some openSUSE goodies! wink).

For more detailed and up-to-date information please see the official event page.

  • The Community

  • Thanks To
Big thanks to Associação de Informática de Castelo Branco, Novell, IPJ, and Castelo Branco City Council for the support!

Looking forward to see you there!

More on Smolt

Minutes after I posted The new shiny Smolt client I've received lots of feedback via email, IM and Novell Bugzilla. The most annoying bugs were:
  • Bug 525324 - [home:cgoncalves:playground] the Privacy Policy window has not scrollbar
  • Bug 525322 - [home:cgoncalves:playground] smolt does not display special chars
All known bugs were fixed and Smolt 1.3.2 tagged.

Q: So, what's really new?!
A:
  1. Smolt KDE4 popup made by Thomas Goettlicher:


  2. The notification will be shown automatically upon KDE startup (X-KDE-autostart-phase=2)

  3. Qt.ToolButtonTextBesideIcon (the text appears beside the icon) is now default per Nuno Pinheiro's suggestion:


  4. Window size auto-adjusting:


    As you can also see BNC #525322 is indeed fixed.

I'm preparing a Smolt RPM update to submit to openSUSE Factory to get included in time for openSUSE 11.2, though you can try it already by using my home:cgoncalves:playground repository:

openSUSE 11.1:
# zypper ar http://download.opensuse.org/repositories/home:/cgoncalves:/playground/openSUSE_11.1/ home:cgoncalves:playground
openSUSE Factory:
# zypper ar http://download.opensuse.org/repositories/home:/cgoncalves:/playground/openSUSE_Factory/ home:cgoncalves:playground

# zypper ref home:cgoncalves:playground
# zypper in smolt-snapshot smolt-popup

As always, please give us feedback!

The new shiny Smolt client

It has been a long since I last blogged (last dating from January)... I haven't blogged since then mostly because I'm not that good when it comes to write more than 5 lines of text and also because I've been busy with my studies/exams which have finished 2 weeks ago. So... what I've been up to in these last 2 weeks?! Well, first week was dedicated to random useless stuffs like catching up on new movies, going out with friends (lots of drinks involved, obviously!) and, most of all, sleeping (yesterday when I woke up and looked at the clock it was 4pm!) - it fells so good sleeping with nothing to worry you about, doesn't it?! wink

Since end of last week I restarted working on my Smolt Qt Client, which was born during first semester exams (nothing to do in that boring and meaningless period, right?). But before I continue, let me quote what the Smolt project is all about:

Smolt is, very simply, a hardware reporting tool for Linux based systems. It was originally written for Fedora and now also supports SuSE, Debian and Ubuntu. It gathers information from users, and stores them in a queryable database with a web frontend that produces statistics.


More information about Smolt here. The original Smolt client was written in GTK but the Smolt maintainer decided to replace it by mine - "With great power comes great responsibility".
The client is quite a straightforward port of the GTK one as you can see:

Smolt GTK client


Smolt Qt client

Noticed the new "Distribution" tab? In a near future it will provides distribution specific information such as installed packages. It has been developed by Sebastian Pipping as a Google Summer of Code 2009 project to support Gentoo, though support for other distributions are currently under development (openSUSE/SUSE Linux, Fedora and Debian):


I will be fixing last bugs found to then push a new release version out late this week, so before openSUSE 11.2 feature/version freeze. In the meantime if you want to try it and even report bugs, checkout my home:cgoncalves:playground repository for the smolt-snapshot package:

openSUSE 11.1:
# zypper ar http://download.opensuse.org/repositories/home:/cgoncalves:/playground/openSUSE_11.1/ home:cgoncalves:playground
openSUSE Factory:
# zypper ar http://download.opensuse.org/repositories/home:/cgoncalves:/playground/openSUSE_Factory/ home:cgoncalves:playground

# zypper ref home:cgoncalves:playground
# zypper in smolt-snapshot

Please, give us feedback! We want to know your opinion about Smolt!
top