New, forum for Learningcomputeros

November 17th, 2008 by admin

Hi all, i have installed a forum for computer learning @ http://forum.learningcomputer.info. If you have anything to discuss, feel free to post it @ our forum. You may also subscribe the forum’s rss feed from http://forum.learningcomputer.info/rss.php

Mono on it’s 2.0

November 12th, 2008 by admin

Mono a API for creating a NET project in Linux and other platforms is already on it’s 2.0. A lot of progress has been made. This tool will be great for writing .Net apps in a MAC or Linux world.

Interested in Mono… hurry up, visit it’s website. Many things to download and learn….

Installing MRTG

August 14th, 2008 by admin

Download the MRTG from http://people.ee.ethz.ch/~oetiker/webtools/mrtg/

extract the tarball

# tar zxvf mrtg-2.10.13.tar.gz

Enter to the directory

# cd mrtg-2.10.13

cofnigure it

# ./configure –prefix=/usr/local/mrtg –with-gd-lib=/usr/local/lib –with-gd-inc=/usr/local/include –with-png-lib=/usr/local/lib –with-png-inc=/usr/local/include

//*

** Ooops, one of many bad things happened:

a) You don’t have the GD library installed.

Get it from http://www.boutell.com, compile it and

use either –with-gd-lib=DIR and –with-gd-inc=DIR to specify

its location. You might also have to use –with-z-inc,

–with-z-lib and –with-png-inc, –with-png-lib for gd

versions 1.6 and higher. Check config.log for more

information on the problem.

b) You have the GD library installed, but not the gd.h

header file. Download the source (see above) and use

–with-gd-inc=DIR to specify where the file can be found.

c) You have the library and the header file installed, but

you also have a shared GD library in the same directory.

Remove the shared library files and/or links (e.g.

libgd.so.2.0.0, libgd.so and libgd.so.2). This is especially

likely if you’re using a recent (post 1.8.4) version of GD

and didn’t configure it with –disable-shared.

Consider following the instructions in doc/mrtg-unix-guide.txt

If you find above error, dont panci, enter /usr/local/lib and delete libgd.so,libgd.so.2.

*//

compile the source

# make

Install MRTG binary

# make install

enter /etc

# cd /etc
#mkdir mrtg

#cd /usr/local/apache/htdocs

# mkdir mrtg

run cfmaker to configure mrtg

#/usr/local/mrtg/bin/cfgmaker –global ‘WorkDir:/usr/local/apache/htdocs/mrtg’ –global ‘Options[_]: bits,growright’ –output /etc/mrtg/mrtg.cfg public@202.152.28.1 selanjutnya buat index nya dengan indexmaker

#/usr/local/mrtg/bin/indexmaker –output /usr/local/apache/htdocs/mrtg/index.html /etc/mrtg/mrtg.cfg

//*

Run MRTG

MRTG can be executed as a daemon or with crontab.

For the first option, set “RunAsDaemon= YES”.

for the second option, you could add this line on crontab (for example 5 minutes):

*//

#crontab -e

*/5 * * * * /usr/local/mrtg/bin/mrtg /etc/mrtg/mrtg.cfg

Now, execute mrtg.

#/usr/local/mrtg/bin/mrtg /etc/mrtg/mrtg.cfg

Open your browser and go to http://server_name/mrtg/

Tags:

How to add text csv on Perl

August 14th, 2008 by admin

Here’s steps you can do:
1. First, download Text CSV here

2. Extract the downloaded file
$ tar -xzvf Text-CSV_XS-0.23.tar.gz

3. Enter new directory created
$ cd Text-CSV_XS-0.23

4. Execute Makefile.PL
# perl Makefile.PL

5. Now, make it :
# make

6. Run make test
# make test

7. Run make install
# make install

Just try it, installation is completed.

References :
http://www.advokit.net/node/131
http://search.cpan.org/~jwied/Text-CSV_XS-0.23/CSV_XS.pm

Tags:

Removing Firefox on Ubuntu

August 5th, 2008 by admin

You may use this command to downgrade firefox from version 3 to version 2,

$ sudo apt-get remove firefox-3.0 && sudo apt-get install firefox-2

The already installed plugins won’t work for firefox 2. So you have to rename your firefox settings folder to other name by executing:

$ mv .mozilla mozilla.downgrade

Tags: , , ,

I have just read this, it’s a programming ratings table for 2008. At least this will helps the programming stakeholder to choose which programming language should he use while building a project.

From the table, it can be concluded that open source programming language is more preferable than closed  source and commercial programming language.

It proves that programming language for the futures is the free and open source programming languages.






Position
Jul 2008
Position
Jul 2007
Delta in Position Programming Language Ratings
Jul 2008
Delta
Jul 2007
Status
1 1 Java 21.345% +0.33% A
2 2 C 15.945% -0.42% A
3 3 C++ 10.693% +0.19% A
4 4 (Visual) Basic 10.447% +0.72% A
5 5 PHP 9.525% +0.87% A
6 6 Perl 5.131% -0.20% A
7 8 Python 4.973% +1.95% A
8 7 C# 4.000% +0.29% A
9 9 JavaScript 2.757% +0.24% A
10 10 Ruby 2.735% +0.64% A
11 13 Delphi 2.011% +0.51% A
12 14 D 1.224% -0.14% A
13 11 PL/SQL 0.736% -1.23% A
14 12 SAS 0.629% -1.23% B
15 - PowerShell 0.436% +0.44% B
16 23 Pascal 0.432% -0.05% B
17 17 COBOL 0.413% -0.17% B
18 18 Lua 0.408% -0.17% B
19 16 Ada 0.407% -0.20% B
20 15 Lisp/Scheme 0.384% -0.30% B

Tags: ,

I have written a tutorial about stardict in this blog. But stardict has released the lates version and it has a very different GUI. It has even the Google Translation feature using ( i guess usign the Google API).

Here’s a snapshot on how to install it in just few lines:

  1. $ sudo apt-get install stardict

And then you should copy the dict to /usr/share/stardict/dic. You can download the dict from here. Copy it then extract it using tar -xvf method….

PS: Stardict also available in WIndows, you may find it from it’s official site…

Tags: ,

Just like what many people already know, newspaper industry is on it’s worst condition today. Due to the advanced of internet, people is choosing a cheaper and yet more available source of news, that is website news and blogs.

If you want to illustrate this condition. it is like a parody of Dickens, Today is the best of times and the worst of times for newspapers industries.

The worst indications times:

Many layoffs (incl downsizing at some of the country’s biggest papers). For example Los Angeles Times confirmed that it was cutting 250 jobs, amongst them is 150 in the newsroom, this layoffs makes their current editorial staffs to be 700, down from 1,200 in 2001 (imagine it! almost half of it).

The layoffs also taken by the Tampa (Fla.) Tribune, the Baltimore Sun, the Hartford Courant, the Milwaukee Journal Sentinel and many others.

But newspaper today is on it’s peak performance, you may notice many newspaper company becoming a multimedia company. They provide and produce informations from many sources, eg: print, online, on air and mobile devices.

So is the glass half empty and getting emptier each day, as some news industry prognosticators believe? Or is it half full, and poised to eventually fill up again, some optimists believe?

How do newspaper company should behave on this time of tribulation? Many analysts think that they should behave just like a newbie netpreneur do. They have to perform business process reengineering, downsizing, changing direction, etc.

They have to be leaner and be innovative. Faster, smarter, and smaller. Just like what seth godin said, Small is the new big. They also have to combine more jobs, eg merging some departments into one departmen.

Tags: , , , , ,

Here’s the steps:

  1. Install dpkg-dev by $ sudo apt-get install dpkg-dev.
  2. plug in the usb flash disk and mount it to /media/disk (usually it’s automatically detected)
  3. Ciot /var/cache/apt/archieves that have .deb extension to usb flash disk by executing cd ke /var/cache/apt/archives and then sudo cp *.deb /media/disk
  4. Execute $ sudo dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz

Now your usb flash disk can be used as repository source on synaptic.

Tags: , ,

I have installing it perfectly and everything is just works…But suddenly when i see my WiFi, it’s not working….. After some browsing, i found out that HP Pressario C767 is using Antheros just like Acer 4520. So i have to use ndiswrapper to diswrap the antheros driver for windows so the wifi will be recognized in Ubuntu.

To download the Antheros driver for Linux, click the download section from here. After you have downloaded it, extract to a place on your hard disk. Then use ndisgtk:

Click System > administration > windows wireless driver, browse for the .inf driver for atheros

After that, you may configure the Wifi by clicking system > administration > network settings.

Tags : , , , , , , ,