Thursday morning at 5am I woke up, had a quick breakfast and traveled via Nürnberg to Berlin for LinuxTag 2010. I arrived around 12:00 at the fair and was surprised to see it the back occupied by around 7 persons. We had a small booth, so it was full. They were taking part in the workshop “Build your own multi-distro package” held by Michal. The openSUSE boosters had organized these workshops as practical hands-on experience sessions.
Archive for 2010
Zippl – a Lightweigth Presentation Tool
June 11th, 2010 by Klaas FreitagRecently people played around a lot with a new kind of presentations. The pages in the classical presentation tool sense seem to lie around on a large canvas and while the presentation running, the focus moves over the canvas and stops by interesting points. Zooming allows to go more in detail and other cool graphics effects make it fun to watch these presentations.
This week was the fifth Hackweek at Novell where we can pick an interesting topic and work on it. I am always interested in cool applications and I wanted to investigate a bit on Qts GraphicsView anyway so I decided to go for a proof of concept implementation of a lightweight but cool presentation tool following these concepts.
The tool is called Zippl (for no specific reason). It is implemented in C++ with Qt 4.6. Via a XML file the user can specify so called spots on the Zippl-canvas. During a presentation one after the other canvas is displayed with an animated move from one to the other.
Spots can consist of text in various fonts and sizes, geometric forms and images. Colors and line widths and stuff can be specified for each item. It is amazing what can already be done with these few elements.
But decide yourself by checking the following out, its the first little presentation done with Zippl:
With Qt its again fun to work on this kind of applications and the GraphicsView framework is awesome. If you want to see code, it is in the KDE svn, module playground/office.
What do you think? Is that something to investigate more on? You can give me feedback in openFATE about it if you want and rate it.
Guest Blog: Rares Aioanei – Weekly Kernel Review (openSUSE Flavor)
June 11th, 2010 by Sascha MannsGuest Blog from Rares Aioanei
Welcome to another edition of openSUSE’s kernel weekly news!
This week sees the launch of 2.6.35-rc2, plus other goodies, so let’s dive into it!
-Takashi Iwai pushed sound fixes for -rc2, mainly for the USB audio stack, v4l/dvb fixes were pushed by Mauro Carvalho Chehab (-rc1), Len Brown has patches for the SFI and ACPI trees targetting -rc1 and openSUSE’s Greg Kroah-Hartman also posted multiple fixes for USB, driver-core, staging and TTY and serial targetting 2.6.35-git.
-Grant Likely has fixes for the sparc architecture : “This patch moves SPARC architecture specific data members out of struct of_device and into the pdev_archdata structure. The reason for this change is to unify the struct of_device definition amongst all the architectures. It also remvoes the .sysdata, .slot, .portid and .clock_freq properties because they aren’t actually used by anything.
A subsequent patch will replace struct of_device entirely with struct platform_device and the of_platform support code will share common routines with the platform bus (but the bus instances themselves can remain separate).
This patch also adds ‘struct resources *resource’ and num_resources to match the fields defined in struct platform_device. After this change, ‘struct platform_device’ can be used as a drop-in replacement for ‘struct of_platform’.
This change is in preparation for merging the of_platform_bus_type with the platform_bus_type.”
-Al Viro posted fixes for the vfs tree targetting -rc2, while Ryusuke Konishi and David Miller posted patches for the nilfs2 and networking trees, respectively. Alex Elder updated the XFS tree for -rc2, Jens Axboe updated block for -rc1, Michal Simek updated the arch/microblaze tree with fixes targetting 2.6.35-rc3 and Jeff Garzik updated the libata tree with some quirk fixes.
-Jeffrey Merkey announced Merkey’s Kernel Debugger 2.6.34 : “Have not tested the APIC IPI calls yet but should work. Let me know if there are problems. I disable the hw_breakpoints interface with MDB is loaded because it is not well designed and to be honest, virtualizing DR6 and trying to handle these types of events outside of a debugger core causes a lot of problems. Has support for x86_64 and works under it however, I have not completed the dissassembler with the newer x86_64 instructions, so some of them do not display properly and do not detect the 64 bit flag, but will finish this at a later date as I need it. I do most of my work on 32 bit anyway and will work on it as I have time. Someone else is welcome to add it and send me back the changes since this is the only thing missing for full
x86_64 features — finished everything else.”
-Mr. Torvalds, Linus Torvalds, announced the release of 2.6.35-rc2 thusly :
“So -rc2 is out there, and hopefully fixes way more problems than it introduces. I’m slightly unhappy with its size – admittedly it’s not nearly as big as rc2 was the last release cycle, but that was an unusually big -rc2. And I really hoped for a calmer release cycle this time.
In fact, for once I’m going to enforce -rc3 being sane, because the upcoming week is the last week of school for my kids. And when the kids get out of school, I’m going be offline for a while. And as a result, I _really_ don’t want to pull anything even half-way scary in the next week for -rc3.
So any pull requests had better be obvious fixes only, and this time I’m not going to let things slide.
Anyway, the biggest patches in -rc2 are some staging drivers (70% of the patch is just that), so while it’s still biggish, at least most of it is clearly staging.
Of the remaining non-staging 30%, half of _that_ is just the regular drivers (drm: i915 and radeon, along with some dvb updates is a noticeable chunk), with a new Core i7 EDAC driver that I had gotten a pull request for before -rc1, but just hadn’t had the energy to pull until -rc2 (same goes for a build system update – the pull request predated -rc1).
And some late powerpc changes that I do _not_ think predated -rc1. Tssk. I’m really not going to let things like that slide next -rc, as mentioned.
But the most important part is obviously the regression fixes, which tend to be small and not show up much in the patch statistics. A number of reverts, a number of fixes, hopefully things are all rosy.
And it really isn’t _that_ bad – the -rc2 shortlog is almost never small enough to be worth posting on the mailing list, but I think it’s doable this time, even if it’s borderline. So ShortLog appended if people care
about the (summary of) details.
Linus ”
-Dave Airlie updated the drm tree with some fixes as he explains in his mail : “3 regressions fixes, one radeon loading on IGP, one i865 loading, one and an evergreen userspace interaction workaround.
It adds hwmon support for a temperature sensor on r600 cards, later PM patches were build on this and Alex had tested them in one so I didn’t want to cherry-pick around it. Also its useful to report the gpu temp to check if power management is helping cooling it down.”
-Stefan Richter came up with a single update/fix for Firewire, Martin Schwidefsky posted three bug fixes and a defconfig update for the s390 architecture targetting-rc2, Tejun Heo has also some fixes, this time for sched/core and Frederic Weisbecker updated the perf and tracing trees with various fixes.
-Karel Zak of Redhat announces util-linux-ng version 2.18-rc1, posting also the release notes, stating the updates, fixes and improvements specific to this version.
-Artem Bityutskiy posted a pull request for the UBI tree targetting -rc3, David Miller pushed another series of networking updates, Jesse Barnes updated the PCI tree, while Takashi Iwai targeted -rc3 with updates to the sound tree; other updates include perf (Ingo Molnar), perf for 2.6.36 (Arnaldo Carvalho de Melo) and block/io (Jens Axboe).
-Rafael Wysocki posted a list of reported regressions from 2.6.33.4 (related to-rc2-git2), comprised of 15 regressions, from which 13 are pending and 10 are unresolved.
-Thomas Gleixner announced 2.6.33.5-rt23, a new kernel from the preempt-rt series – changelog to be found in the lkml archive.
-Avi Kivity has updates for the kvm tree targetted at -rc2, Jeff Garzik updated the libata tree with some fixes, Sage Weil, as usual, updated the ceph tree (for -rc3) and Steven Rostedt updated the perf tree (2.6.35).
That would be it for this week, take care and enjoy your weekend!
Guest Blog: Rares Aioanei – Weekly Review from PostgreSQL (openSUSE Flavor)
June 11th, 2010 by Sascha MannsGuest Blog from Rares Aioanei
Hello everyone and welcome to this week’s Weekly PostgreSQL News, served openSUSE-style!
-As usual, we start with some insight of this week’s mailing list events, then we will focus on the Planet PostgreSQL posts and news.
-Jon Schewe posted on perform@ an interesting comparison of various filesystems under Linux (OpenSUSE64) , how do they perform and under what circumstances. I ain’t gonna spoil
it for you, so go grab a read.
-Peter Eisentraut, on hackers@, posted a quite interesting idea titled Functional dependencies and GROUP BY : “I have developed a patch that partially implements the “functional dependency” feature that allows some columns to be omitted from the GROUP BY clause if it can be shown that the columns are functionally dependent on the columns in the group by clause and therefore guaranteed to be unique per group. The full functional dependency deduction rules are pretty big and arcane, so I concentrated on getting a useful subset working. In particular:
* When grouping by primary key, the other columns can be omitted, e.g.,
* CREATE TABLE tab1 (a int PRIMARY KEY, b int);
* SELECT a, b FROM tab1 GROUP BY a;
This is frequently requested by MySQL converts (and possibly others).
Also, when a column is compared with a constant, it can appear ungrouped:
SELECT x, y FROM tab2 WHERE y = 5 GROUP BY x;
For lack of a better idea, I have made it so that merge-joinable operators qualify as equality operators. Better ideas welcome.
Other rules could be added over time (but I’m current not planning to work on that myself).
At this point, this patch could use some review and testing with unusual queries that break my implementation. 😉 ”
-This week, The San Francisco Bay Area PostgreSQL Meetup Group will have a meeting on June the 15th; here are the details : http://postgresql.meetup.com/1/calendar/13675701/
-In Planet-related news, Leo Hsu and Regina Obe write about what’s new in PostgreSQL 9.0, since the 2nd beta was released this week : “PostgreSQL 9.0 beta 2 just got released this week. We may see another beta before 9.0 is finally released, but it looks like PostgreSQL 9.0 will be here probably sometime this month. Robert Treat has a great slide presentation showcasing all the new features. The slide share for those on Robert Treat’s slide share page. We’ll list the key ones with our favorites at the top:
Our favorites
The window function functionality has been enhanced to support ROWS PRECEDING and FOLLOWING. Recall we discussed this in Running totals and sums using PostgreSQL 8.4 a hack for getting around the lack of ROWS x PRECEDING and FOLLOWING.
No more need for that. This changes our comparison we did Window Functions Comparison Between PostgreSQL 8.4, SQL Server 2008, Oracle, IBM DB2. Now the syntax is inching even closer to Oracle’s window functionality, far superior to SQL Server 2005/2008, and about on par with IBM DB2. We’ll do updated compare late this month or early next month. Depesz has an example of this in Waiting for 9.0 – extended frames for window functions Ordered Aggregates.
This is extremely useful for spatial aggregates and ARRAY_AGG, STRING_AGG, and medians where you care about the order of the aggregation. Will have to give it a try. For example if you are building a linestring using ST_MakeLine, a hack you normally do would be to order your dataset a certain way and then run ST_MakeLine. This will allow you to do ST_MakeLine(pt_geom ORDER BY track_time) or ARRAY_AGG(student ORDER BY score) This is very very cool. Depesz has some examples of ordered aggregates. Join removal — this is a feature that will remove joins from the execution plans where they are not needed. For example
* where you have a left join that doesn’t appear in a where or as a column in select. This is important for people like us that rely on views to allow less skilled users to be able to write meaningful queries without knowing too much about
* joins or creating ad-hoc query tools that allow users to pick from multiple tables. Check out Robert Haas why join removal is cool for more use cases. GRANT/REVOKE ON ALL object IN SCHEMA and ALTER DEFAULT PRIVILEGES. This is just a much simpler user-friendly way of applying permissions. I can’t tell you how many times we get beat up by MySQL users who find the PostgreSQL security management tricky and tedious to get right. Of course you can count on Depesz to have an example of this too Waiting for 9.0 – GRANT ALL”
-From the PostgreSQL Weekly News from the 6th of June we find out some local news, such as the Italian Conference for Free Software (Cagliari, Sardinia) and the talks, sessions and workshops related to our fav database, we also find news about the release of ChronicDB v2.2.2, plus the usual patchlist.
There you go, that’s all for this week. Enjoy. 🙂
Road to 11.3 : when pattern are not your friend, pre selection can be a trap
June 10th, 2010 by Bruno FriedmannSo it’s time to take some hours to test our future version.
Today I start a fresh M7/Factory install : booting from pxe. The test case is build quickly a minimal server text mode.
Just uncheck the auto configuration, we are after all linux admin. Choose your partition keyboard, language (en recommanded for server) etc … normal.
Just before starting the install check software : click on installation resume . You will discover that base-system-pattern would like to install a kernel-desktop, wtf why we want a server !
So there’s a new ticket about that : https://bugzilla.novell.com/show_bug.cgi?id=613216
I express the fact that it would be nice to have a new pattern selected when we choose minimal install server text mode.
And you what about your opinion about pre-selection or having a base-system-server pattern … Please comment, & vote on bugzilla
A pattern guru wanted to build a patch for that.
Happy 15th PhP
June 9th, 2010 by Bruno FriedmannDid you remember the June 8th 1995 ?
There was a annonce here
http://groups.google.com/group/comp.infosystems.www.authoring.cgi/msg/cc7d43454d64d133
Announcing the Personal Home Page Tools (PHP Tools) version 1.0.
These tools are a set of small tight cgi binaries written in C.
They perform a number of functions including:
. Logging accesses to your pages in your own private log files
. Real-time viewing of log information
. Providing a nice interface to this log information
. Displaying last access information right on your pages
. Full daily and total access counters
. Banning access to users based on their domain
. Password protecting pages based on users’ domains
. Tracking accesses ** based on users’ e-mail addresses **
. Tracking referring URL’s – HTTP_REFERER support
. Performing server-side includes without needing server support for it
. Ability to not log accesses from certain domains (ie. your own)
. Easily create and display forms
. Ability to use form information in following documents
Here is what you don’t need to use these tools:
. You do not need root access – install in your ~/public_html dir
. You do not need server-side includes enabled in your server
. You do not need access to Perl or Tcl or any other script interpreter
. You do not need access to the httpd log files
The only requirement for these tools to work is that you have
the ability to execute your own cgi programs. Ask your system
administrator if you are not sure what this means.
The tools also allow you to implement a guestbook or any other
form that needs to write information and display it to users
later in about 2 minutes.
The tools are in the public domain distributed under the GNU
Public License. Yes, that means they are free!
For a complete demonstration of these tools, point your browser
at: http://www.io.org/~rasmus
—
Rasmus Lerdorf
ras… @io.org
http://www.io.org/~rasmus
Now 15 years after, great way. And daily basis work with it. Thanks Rasmus, Thanks PhP dev’s, thanks openSUSE packagers … For those who need php applications, framework, lib and so just have a look at this long list of what is ready to use on your favorite distribution
http://packages.opensuse-community.org/index.jsp?searchTerm=php&distro=openSUSE_112
Hackweek 5 – LXDE
June 8th, 2010 by Josef ReidingerHi,
as hackweek continue I want to present my contribution for this year event. My plan is to support our the youngest supported desktop environment LXDE. So I contact our LXDE guy Andrea Florio and he ask lxde developers. Then we communicate directly and I found as the most intersting idea to replace gnome gvfs which is needed to have usable gio interface in glib ( geek-deserialization: allow easy access remote systems, zip archives in file manager like it is part of filesystem). Motivation for replacement is quite big gvfs dependency and system resource requirements. It choose it because I can learn something new, can return to programming in C from Ruby on Rails which is used for webyast and last not least I think it is usable also for another lightweight environment xfce4.
Code can be located in pcman git repository. Idea of implementation is quite simple. Don’t use daemons and special code to handle different backends. Instead use fuse and its already written fs based on fuse. As first I start with ftps and its sshfs implementation. Code for single fs is simple and short. Today I finish first working proof of concept of gvfs extension and its gfile extension. It can query and copy file on gvfs as you can see in file gfusevfs.c where is testing program. Main problem which I still see is that fs is not umounted so it takes some sources, but umount it after file operation can lead to annoying behavior like passing password on each file operation.
I welcome any comments and ideas about this project.
Hacking for Freedom
June 7th, 2010 by Alexander NaumovHi developers!
These are first hours of hackweek. A lot of people in Novell and in the community are starting to work on different projects. What can I give for free software in this week? Sure, my favorite project is NetworkManagement.
As you can see, NetworkManagement don’t work well. For example, it can’t see WiFi connection and don’t show wired connetcion. Yes, right now we have one bug with module “networkmanagement”.
This module must be loaded after start NetworkManagement, but this is not happening 🙁
If you check it, you will see:
anaumov@pizza:~/plasma/networkmanagement> qdbus --system org.freedesktop.NetworkManagerUserSettings Service 'org.freedesktop.NetworkManagerUserSettings' does not exist.
Why it’s happening? Problem is in connection between plasmoid and deamon NM (via DBus).
anaumov@pizza:~/plasma/networkmanagement> qdbus org.kde.kded /kded loadModule networkmanagement true anaumov@pizza:~/plasma/networkmanagement> qdbus --system org.freedesktop.NetworkManagerUserSettings / /org /org/freedesktop /org/freedesktop/NetworkManagerSettings /org/freedesktop/NetworkManagerSettings/0 /org/freedesktop/NetworkManagerSettings/1 /org/freedesktop/NetworkManagerSettings/2 /org/freedesktop/NetworkManagerSettings/3 /org/freedesktop/NetworkManagerSettings/4 /org/freedesktop/NetworkManagerSettings/5 /org/freedesktop/NetworkManagerSettings/6 /org/freedesktop/NetworkManagerSettings/7 /org/freedesktop/NetworkManagerSettings/8 anaumov@pizza:~/plasma/networkmanagement>
So, now we can see WiFi interface:
And WiFi interface can see WiFi connections:
Good, but this works not automaticly. It’s first what I want to hack on this week.
And what do you want to do on this week? 😉
Qt Developer Days 2010
June 4th, 2010 by Alexander NaumovToday I got a email about registration for “Qt Developer Days 2010”. This conference will be in Munich (October 11-13) and in San Francisco (November 1-3). I think this is the biggest and best Qt-event. Last time there was more than 700 people. It’s very interesting for me as the KDE developer, but it’s not free like FOSDEM or openSUSE Conference 🙁
For example, 3 days in Munich cost 499€ (if you pay befor 15th september and 699€ if you pay after). Ok, I know that Qt/Nokia makes very good coffee, but anyway this event is very costly for students like me 😉
I will wait for the openSUSE Conference and meet the Qt/KDE hackers there.
Guest Blog: Rares Aioanei – Weekly Review of the PostgreSQL Project with openSUSE flavor
June 4th, 2010 by Sascha MannsHello all, and welcome to this week’s edition of the PostgreSQL Weekly News, openSUSE-style!
As accustomed, we’ll start with news picked from the mailing lists, then we’ll move on with news from the PostgreSQL Planet. Here we go…
-We start off this week with Mark Hills’ announcement of the release of pgnotifyd, which, if we listen to Mark, ” connects to a PostgreSQL database, listening for the named asynchronous notification. When notification is received it executes the given command.
It is typically a cleaner and more efficent alternative to polling a PostgreSQL database for changes (using a crontab(5) or similar.)
I’ve been using it successfully to synchronise passwords and mailing lists. This is an initial release in the hope others can benefit from it.”
You can find out more here : http://www.pogo.org.uk/~mark/pgnotifyd/ .
-Oleg Bartunov announced he posted pictures from PgCon 2010; you can watch here : http://www.flickr.com/photos/obartunov/sets/72157624042768831/ .
-Giuseppe Maxia announced OpenSQL camp 2010; I will try to copy the most relevant stuff from his announcement, in order not to make this article too big :
“OpenSQL Camp is a free conference of, by, and for the open-source database community of users and developers. The OpenSQLCamp 2010, European Edition (http://opensqlcamp.org/) will take part in parallel to the Free and Open Source Conference 2010 (http://froscon.org/) on Saturday 21st and Sunday 22nd August in St. Augustin, Germany, which is located close to Bonn and Cologne.[…] We would like to invite your project to participate in this event.
We’ve set up a call for participation (http://opensqlcamp.org/Events/2010/Call_for_Participation) – the deadline for submitting your proposal is July 11th.
We are seeking talks related to Open Source Databases of all kind, not just relational databases! Submission about tools and technologies related to OSS databases (e.g. connectors/APIs) are also welcome.
Some ideas and for submissions:
* A how to presentation, showing how to solve a common problem in the database field.
* An introduction/overview about a certain database project/product or related tool
* Providing “best practices” information for administrators
* A deeply technical and developer-centric session about some project’s internals or an API used to connect to a database.
We look forward to your contribution! Please don’t hesitate to contact us via IRC (#opensqlcamp on FreeNode) or our Discussion Group (http://groups.google.com/group/opensqlcamp) ”
-Bruce Momijan announced the timetable for the release of 9.0, which would be as follows : “Assuming we want a release Postgres 9.0 by mid-August, here is how the timetable would look:
Need RC release to be stable for 1-2 weeks before final
RC must be released by August 1
Beta must be stable for 2-3 weeks before RC
Stable beta must be released by early July
So, we have 5-6 weeks to get a stable beta. Looking at the open issues: http://wiki.postgresql.org/wiki/PostgreSQL_9.0_Open_Items#Resolved_Issues
it looks like we are doing OK, but we must continue progressing.”
-The ChronicDB release team announced version 2.2.2 ; ChronicDB is a live DB schema update system, allowing DBAs to minimize the downtime of their servers. More on their website, http://chronicdb.com/
-On the Planet , we have Christophe Pettus posting his slides from the Open Bridge 2010 conference, called Introduction to PostgreSQL, here : http://thebuild.com/presentations/intro-to-postgresql-osb2010.pdf.
-The PostgreSQL Weekly News this week offers some local events info, as well as, as usual, the submitted patches list. Check out the news here : http://www.postgresql.org/community/weeklynews/pwn20100531.
There you go, this was the news this week. Enjoy your weekend.