Thalif's Blog – A blog to share my knowledge

My other blog: http://mohammadthalif.wordpress.com

2011 in review

The WordPress.com stats helper monkeys prepared a 2011 annual report for this blog.

Here’s an excerpt:

A San Francisco cable car holds 60 people. This blog was viewed about 3,000 times in 2011. If it were a cable car, it would take about 50 trips to carry that many people.

Click here to see the complete report.

A Test blog written using scribefire

A Test blog written using scribefire

* opkg_conf_init: Could not lock /usr/lib/opkg/lock: Permission denied.

I had the following issue when running a boot time optimized kernel

# opkg-cl configure
Collected errors:
* opkg_conf_init: Could not lock /usr/lib/opkg/lock: Permission denied. /tmp/lock #

Then after debuging I found that I have disable CONFIG_FILE_LOCKING. After enabling this It worked fine.

-> File systems
[*] Enable POSIX file locking API

How to install Chandler on Ubuntu 10.10 Meerkat

How to install Chandler on Ubuntu 10.10 Meerkat

Steps for Installing chandler on Ubuntu 10.10.

sudo apt-add-repository ppa:owenmorris/ppa
sudo apt-get update
sudo apt-get install chandler

Chandler is an open source Note-to-Self Organizer.

Chandler is an open source Note-to-Self Organizer. It features calendaring, task and note management and consists of a desktop application, web application and a free sharing and back-up service called Chandler Hub.

URL: http://chandlerproject.org

According the Chandler project website.

Our goal is to serve the way people actually work, independently and together, particularly in small groups, a market segment we believe is undeserved. Our belief is that personal and collaborative information work is by nature iterative and that the existing binary Done/Not-Done, Read/Unread, Flagged/Unflagged paradigm in productivity software poorly accommodates the reality of how people work.

We are also committed to breaking down technological barriers that prevent effective collaboration. Chandler Desktop and Chandler Server are cross-platform and standards-based because we realize that collaboration can’t and shouldn’t be trapped within a single system. Chandler Server provides web access to shared information that makes it easy for collaborators to hook into Chandler work flows without having to download the Desktop application.

Maqetta – an open source WYSIWYG visual authoring of HTML5 user interfaces.

Visual authoring of HTML5 user interfaces – in the browser!

Maqetta is an open source project that provides WYSIWYG visual authoring of HTML5 user interfaces. The Maqetta application itself is authored in HTML, and therefore runs in the browser without requiring additional plugins or downloads.

URL: http://maqetta.org/

WaveMaker – WYSIWYG development studio for developing Java applications.

WaveMaker is a rapid application development environment for building, maintaining and modernizing business-critical Web 2.0 applications.

1. WaveMaker eliminates Java coding for building Web 2.0 applications, allowing developers to focus on solving business problems.
2. WaveMaker’s visual, WYSIWYG development studio was built using WaveMaker!

URL: http://www.wavemaker.com

How to turn off specific optimization flags in gcc

How to turn off specific optimization flags in gcc

For example I want to compile with optimization -Os, but -Os optimization turns on -ftree-dce. How do I turn it off -ftree-dce alone?

There is usually an equivalent ‘no’ flag. For example, -ftree-dce can be turned off by -fnotree-dce. Check the gcc docs for more flags.

How to turn off specific optimization flags in gcc

How to turn off specific optimization flags in gcc

For example I want to compile with optimization -Os, but -Os optimization turns on -ftree-dce. How do I turn it off -ftree-dce alone?

There is usually an equivalent ‘no’ flag. For example, -ftree-dce can be turned off by -fnotree-dce. Check the gcc docs for more flags.

Extracting the address of parallel port using bash script.

cat /proc/ioports | grep “parport” | awk -F- ‘{print $1}’ |cut -c3- | sed ‘s/./’0x’/’1

Follow

Get every new post delivered to your Inbox.