Why “Open” matters

Be it computer science, data, government, science or NASA the importance of open is becoming pervasive. Openness, in all the various fields, implies community effort. A community of people that are passionate about something and open to contribute time and effort to experience a feeling of accomplishment. I’ve been using Linux and open tech for years now and only lately I started thinking about this. It was just something I took for granted, and the problem was, I assumed everyone else knew and understood what I did.

But many people with both technical and non technical background don’t understand or even know how important it is to resist completely closing down to a corporate mindset that is selling, having little transparency and keeping the knowledge “secure” because the competition will beat or steal from ‘us’. This closed tradition is the reason many companies do things that have already been done over and over again. Think about this and it becomes apparent that this way is extremely inefficient. It greatly slows progress and innovation.

Through cooperation and inclusion, we significantly increase our resources. Through secrecy and exclusion we have to reinvent and learn things other people may already know and may be very good at. In a nutshell, that’s all there is to openness. Accept other people’s gift of knowledge and work so we don’t repeat the same mistakes and work many times.

When “Open” has no alternative

So, does this mean I think closed stuff is bad? Like Microsoft or Apple? Not really. Closed also works and in some cases even better. There’s nothing that is as shiny or can be made to look as shiny as apple products. Also, they work for what they’re built for. And really well it seems. But there are things where open simply has no alternative. Science, education and government. These are the main areas where we should have no alternatives to openness.

These are also activities that push the world forward, activities that unify and develop communities and can achieve real long lasting progress! When you think of any of these, the first thing that comest to mind actually are communities – scientists, educators and students, countries – people connected in achieving common goals. I don’t think I know a person that would say they love the fact that everything is a product for the consuming masses. And some things don’t have to be. We who understand there are viable alternatives are bound to promote them and educate others until mainstream is the right stream. Croatia seems to be starting on that way, and I hope to get a chance to contribute and witness true success!

Direct rendering with OpenSUSE 12.1 and official Radeon driver (fglrx)

Installation of the official ATI (fglrx) driver with 1-click install link on the openSUSE wiki, or by adding the repository also listed on the wiki, seems not to work properly, that is, direct rendering seems to stay disabled after installation. The fix is quite simple, as root, copy paste this into terminal:

cd /usr/lib64
rm /usr/lib64/libGL.so
rm /usr/lib64/libGL.so.1
rm /usr/lib64/libGL.so.1.2
ln -s /usr/X11R6/lib64/fglrx/fglrx-libGL.so.1.2 libGL.so
ln -s /usr/X11R6/lib64/fglrx/fglrx-libGL.so.1.2 libGL.so.1
ln -s /usr/X11R6/lib64/fglrx/fglrx-libGL.so.1.2 libGL.so.1.2

Optionally, backup the original libGL.so.1 and libGL.so.1.2 files in /usr/lib64. If the system is not 64bit, remove the 64 part of lib64 everywhere. That’s it. After log out – log in, direct rendering should be working. Fire up a terminal and execute glxgears. If it doesn’t complain in the terminal there is no direct rendering, everything works, like in the pic below.

How glxgears start when direct rendering works

Source

Linux is finally ready for the desktop? Maybe, with Android.

A year have I lived with Android, and after going through a period of disillusionment and disappointment that is inevitable for an Android device owner (Samsung Galaxy S and S2 phones), I can safely say – Android is not the great kill-all Linux platform yet, but it is getting there. Over the last year I read a lot excited comments and blogs from Linux lovers about Android, and it seems they have been partly right. I say partly because, most of them saw the success of Android as a proving of Linux, after which success of existing Linux desktop offerings would follow. But the only real possibility for Linux to succeed on the desktop, and that would be, say, 20% desktop users, is actually Android.

Now, of course, not in the form how it is today. But in a year or two, certainly. There are three main reasons why I believe that: Windows 8, Asus Transformer (Prime) and Motorola’s Atrix with Webtop. All of those are attempts to unify 2 different experiences: Laptop / desktop computers and tablets. In addition, all the Linux desktop environments are trying to prepare for the touchscreen too. Unity, KDE (plasma active), Gnome 3.. all are more or less ready and have pretensions to be touch friendly. The reason for this: people want compact and powerful tablets that, when docked, become full grown desktop or laptop computers.

A few other indices that Android is capable of inciting adoption of Linux on the desktop is the vast array of companies that are trying to battle and subdue it legally. None do it because they’re evil. Not Microsoft, not Apple. They do it because they fear it. They fear the possibilities. Android by itself is slowly prevailing, and the possibilities for evolution and growth are truly to be feared. I don’t think it would be impossible to expect from Ubuntu to create their own Android tablet, that when docked, provides the full desktop/laptop experience? Or even Google could do something like that with Android 6 or 7 in a couple of years…

So, to end this post in a cheesy fashion by quoting Ghandi, and I think Android phones really have gone through this progression: “First they ignore you, then they ridicule you, then they fight you, then you win”. Legal battles are still being fought, but with popularity Android phones already have, none will give up on them and victory can be proclaimed. With tablets, Android didn’t achieve the same success, but with ICS and Amazon Kindle Fire, 2012 seems to be the year Android tablets show their teeth.  And after that the next goal will have to be laptops and desktops. Only time will tell.

Gnome 3 and how to make open source radeon driver play quitely

Gnome 3, or Gnome Shell apparently makes the worst in proprietary ATI Radeon drivers (fglrx) come out. Just tried to use the couple together in the new openSuSe 12.1 with grave consequences. There seems to be no hope with fixing that for now.

But, there is a way to fix fan speed control with the open source driver, if it’s not working for you… The only reason why I installed fglrx was because “radeon” open source driver was making my HD 4850 noisy. As it turns out, it’s relatively easy to fix that.

As root enter: echo “auto” > /sys/class/drm/card0/device/power_profile

Add that line to execute on boot, and the problem is solved…

Source: http://www.x.org/wiki/RadeonFeature

Google destroys another service for Opera users. This time, it’s Reader.

Well, thank you Google, once again for making another one of your incredible upgrades. This time, I can no longer use Google Reader because the frickin’ links don’t work! The funny thing is, there’s nothing much new functionality-wise going on. All the things that were still are, apart from a few new buttons, and mostly it’s about cosmetic change. And yet, things no longer work in Opera.

I can’t say I’m really surprised. Apparently, Google lately optimizes its applications not to work with Opera. It started with Google Plus, and the new Google Web toolbar, which displayed no notifications. There’s no fancy new technology that would justify it not working in Opera. The only reason it doesn’t work I can think of, is Google doesn’t want it to work.  Here’s what I’m talking about:

The right side of Google toolbar in IE

The right side of Google Web toolbar in IE

The right side of Google toolbar in Opera

The right side of Google Web toolbar in Opera

And this is not because Opera does something bad. Google actually identifies it, and then sends a completely different page to the browser. So it’s not because they didn’t think about Opera. They did, and this is what they choose to do, times over and over again.

I’m honestly surprised I can still access my Gmail. I think Google should look into that too, they must have forgotten some nice feature to disable Opera.

References

How to run Microsoft Office 2007 in Linux using Wine

Many times have I done this, but never quickly. The reason – never wrote it down, thus forcing myself to have to search through loads of pages again and again… The secret is knowing which Windows libraries to install using winetricks, after that, it’s a simple process:

  •   Install latest Wine and cabextract
    ubuntu:
    sudo apt-get install wine
    sudo apt-get install cabextract
  • Get winetricks:
    wget http://www.kegel.com/wine/winetricks
  • Install Windows libraries usin Winetricks:
    sh winetricks dotnet11
    sh winetricks gdiplus
    sh winetricks vb3run
    sh winetricks vb4run
    sh winetricks vb5run
    sh winetricks vb6run
    sh winetricks msxml3
    sh winetricks msxml4
    sh winetricks msxml6
    sh winetricks riched20
    sh winetricks riched30
    sh winetricks vcrun6
    sh winetricks vcrun2005sp1
    sh winetricks vcrun2008
    sh winetricks dotnet20

That’s it! Microsoft Office can now be installed by running the setup.exe from the installation CD… (wine setup.exe from console, or right click from file manager -> open with wine).

Tips to improve KDE 4 compositing performance

Before 4.0 i loved KDE. Since 4.0 I switched to Gnome. But lately, after half a year of exposure to Unity and Gnome 3 and jumping from one to the other, I could no longer resist the temptation to try and see if KDE has been fixed. And the reason is I could never really say Unity was good, and.. Gnome 3 sucks.

The point is, KDE is good again, and the only thing that can ruin the experience are all the effects that are enabled by default when using 3D compositing. Probably not noticeable with powerful processors, but on netbooks or older ones like my Athlon x2 4800 things can get really choppy, even more so with ATI graphics. Good news is, you can significantly improve the performance without noticeable eye candy loss.

  1. Disable Blur in System Settings -> Desktop Effects -> All Effects
  2. Uncheck “Use VSync” in System Settings -> Desktop Effects -> Advanced
  3. Set Scale method to Smooth or Crisp in System Settings -> Desktop Effects -> Advanced
  4. In System Settings -> Application appearance -> Style -> Fine tuning tab -> Set graphical effects to “Low display resolution and low CPU”.
Additionally, disable widget animations and window decorations’ animations:
  1. Press alt+f2 and enter oxygen-settings
  2. In Widget style -> Animations unselect “Enable animations”
  3. In Window decorations -> General unselect ”Enable animations”
After all this, KDE with compositing will be noticeably faster and usable… Hope it helped!
Found this info in a few places on different occasions:

A trip to the ITI 2011 conference

Two weeks ago, with a couple of colleagues, I made a trip to Cavtat, a small town near Dubrovnik, where the ITI 2011 conference was held. The conference was nice and my talk for the paper “Nested componentization for advanced Web portal solutions” went fine. Most notable occurrences were the keynote by Richard D. De Veaux titled “The Seven Deadly Sins of Data Mining – and How to Avoid Them” and a workshop on presentation skills by George S. Nezlek. And of course my own appearance, which was the reason, no doubt, the conference room got filled to the last seat. Nezlek’s workshop didn’t introduce nothing really out of the ordinary or more than common sense would drive someone to try at the presentation (or not to try), but it was a set of really good and structured advice on how to perform and create presentations that no one else before him gave. Also, the man was an example of what’s a good presentation performance.

But, of course, more interesting than the conference were a few days before and after it, which we used to explore the Dubrovnik surrounding area. Read on

Continue reading

Adding almost any language autocorrect and prediction to Android

I have a Samsung Galaxy S phone. I bought it, was happy about it several days until i installed a few apps and then it started lagging, courtesy of Samsung’s RFS. I had to install a custom ROM to replace RFS with EXT4, and now the phone works great. But that’s another story.

The thing i missed the most after installing Darky’s Rom is Croatian auto-correct and it took me months to discover MultiLang Keyboard. It supports many languages in the form of installable plug-ins. And everything is nice and beautiful again in my Android world… :-)

Check it out: https://market.android.com/details?id=com.klye.ime.latin&feature=related_apps

Fixing slow Unity 3D in Ubuntu 11.04

I tried Unity the day Ubuntu 11.04 was launched on my Lenovo edge 13 packing a 1.3GHz Athlon Neo. I upgraded from Ubuntu 10.10 and the result was really bad. Suddenly desktop became slow and laggy, parts of the interface would constantly get corrupted, so a Fedora installation was called upon to purge the crappy new Ubuntu. A month later, I upgraded my desktop Ubuntu hoping I wouldn’t have to replace it with some other distribution, and as it turns out, it’s usable now. It can still be slow on Radeon hardware and after a little amount of googling these things came up:

  • From CCSM composite: disable Detect Refresh Rate
  • From CCSM OpenGL: disable Sync to Vblanc and set texture filter to fast
  • From Catalyst Control Center in display options disable Tear Free

Immediately after tweaking these settings, performance should be boosted noticeably.