Quite a week ago, I upgraded my ubuntu 12.04 to much awaiting 13.04 with much more expectations and possibly more enhanced libraries and advancements. Even though I’m a UNIX believer since years but this time I have to admit that I faced so many bugs and irritating issues after switching to latest version. I reported many of them, and quite a lot fixed as well. Some of them I’m mentioning in this post as a fix.

Bug: Unsupported Graphics for AMD chipset and HP Pavilion Notebook
 
Fix: After promising fix in graphics panel and support for cloud comuting and mobile environment, the support for old systems has still some flaws which are continuously occurring since previous versions as well. Though, the linux headers and amd64 source has been resolved in recent update, but still for hp pavilion users, the complete brightness dim is still there at startup.

A common fix for that is updating grub:


Bug: Unable to install Google Chrome (and other third party .deb apps like Dropbox)

Error message: Dependency is not satisfiable: libudev0 (>=147)

Fix: Install the missing library package for libudev0 using Software Center from here and then install Chrome from .deb file from official website.

Bug: White background in Ubuntu desktop

Fix: This is actually overwriting in nautilus and gnome3 packages which have some files overwritten while upgrade and hence, result in missing dependencies.

Use following terminal command to update (however it maybe fixed after new updates in upcoming ppa packages for gnome)

Back in a while, I came across a situation where I needed to populate stored array values in the API to the form id. The issue was, it sometimes goes messy when you try too many different arguments to get the data.

I somehow evaluated the easy access to inner attributes and values inside the JSON schema, which makes it easier to access almost everything you need to get into your application data requirement.

This code sort of worked for me:

Using ‘?full=true’ PATCH will give access to all the ids, attributes and nested resources inside the JSON database storage, and then you can easily call you function inside single callback method as depicted above.

Couple of days ago I stumbled upon quick code for listboxing in Javascript for ordering input values either to move up or down accordingly.

Following is the snippet I used in one of my application:

Furthermore, you can check the live working demo in this fiddle here.

Back in a while, I was playing around with server config and somehow messed up when I installed multiple apache servers (one manually and other using XAMPP). It was difficult to guess which configuration is possibly using which server. So after having long testing and bug fixing, a simple terminal command which does it all for me is:

sudo apt-get remove —purge ^apache.* ^libapache.* ^mysql-server.*

After this, automatically my XAMPP start working with PHP5 modules. If you are looking for advanced configuration regarding Apache, MySQL and PHP5 then find out here in ubuntu documentation.

(via flybykite)