Applications/tools

Journal entries about applications and tools.

one more RU clamav mirror

Submitted by mator
on August 27, 2009 - 10:01am

Just finised a clamav mirror setup and joined it to the global clamav mirrors list. It can be viewed on the clamav mirrors page as clamav.mirror.co.ru. Thanks to the clamav team for their efforts and good antivirus product.

Should a header file includes another header file?

Submitted by Eus
on July 10, 2009 - 6:12am

Now that I'd got another chance to develop a C application, whenever I crafted a header file, I always wondered whether the header file needed to include another header file such as stdio.h when there was a function prototype in my header file that spelled `FILE *'.

Kernel podcast should be included in the news area

Submitted by mariuz
on July 8, 2009 - 2:09am

Kernel podcast should be included in the news area

http://planet.kernel.org/

If no one have time i can do the postings to this site , i also i'm editor on firebirdnews.org

The Best Digital Cameras Take Magnificent Pictures

Submitted by mikez
on July 6, 2009 - 12:13pm

The best digital cameras take fantastic pictures, and pictures are memories. The best digital cameras record so many memories that will remain treasures for generations. The best digital cameras have improved so much that even the pros are using these great machines.

Logical variables in Prolog

Submitted by Greg Buchholz
on June 22, 2009 - 11:55pm

I came across this code, which was supposed to demonstrate a Prolog program that couldn't be written in Mercury. I couldn't help but rewrite that as:

rank(Xs,Rs) :- pairs_keys_values(Decorated,Xs,Rs),
               keysort(Decorated,Sorted),
               numerate(Sorted,1).

numerate([],_).
numerate([_-N|Rest],N) :- N1 is N + 1, numerate(Rest,N1).

...This computes the rank order of a list of elements. For example rank([40,20,50,10],L). unifies L with [3,2,4,1], since 40 is the third largest element, etc.

http://maximum-muscle-gain.com/info/How-to-Bodybuild

Submitted by JonathanG
on May 10, 2009 - 9:44pm

"The most exciting (well, for me personally - my life is apparently too boring for words) was how we had some stack overflows that totally corrupted some basic thread data structures. That's exciting because we haven't had those in a long time.

Hello World :o)

Submitted by rain002
on May 6, 2009 - 7:13am

Just signed up so saying hi to the world - or at least those that are here anyways :o)

internet marketing

Submitted by ficarro
on May 5, 2009 - 5:15pm

Amore Internet Marketing Corpus Christi web development & design
Contact James Ficarro jficarro@gmail.com for information.

What is "staff" and "wheel" in Linux?

Submitted by mcvasant
on April 22, 2009 - 3:00am

"Not all distributions have staff, some have "wheel" instead."

What does this mean?

What is Segmentation Fault?

Submitted by mcvasant
on April 15, 2009 - 3:33am

When I type in "vlc" on terminal in Mandriva 2009 Free, I get a message that it cannot be played and that there's some segmentation fault.

It suggests me to try "cvlc".And it works.

What is Segmentation Fault?

SIM Card Does Matter when Setting up an SMS Gateway

Submitted by Eus
on April 13, 2009 - 3:43am

One day when I tried another SIM card with the Huawei E220 modem that I told about in http://kerneltrap.org/node/17017, I got the following error message on bearerbox.log:

2009-04-11 08:19:59 [7083] [6] DEBUG: AT2[eus_smsc]: --> AT+IFC=2,2^M
2009-04-11 08:20:00 [7083] [6] DEBUG: AT2[eus_smsc]: <-- +CME ERROR: SIM failure
2009-04-11 08:20:00 [7083] [6] ERROR: AT2[eus_smsc]: Generic error: +CME ERROR: SIM failure
2009-04-11 08:20:00 [7083] [6] INFO: AT2[eus_smsc]: cannot enable hardware handshake

Setting up an NTP Gateway

Submitted by Eus
on April 13, 2009 - 2:56am

The other day when I was fiddling with JobScheduler (http://jobscheduler.sourceforge.net), I realized that my development machine's system clock lagged by about 8 seconds behind that of the server machine that hosted the JobScheduler because whenever I looked at my local machine's clock to setup a job to run at the next 10 seconds, the JobScheduler in the server machine failed to run the job due to expiration of the schedule (the JobScheduler used the server machine's system clock, of course). I had both machines running the same GNU/Linux distribution, which was Ubuntu 8.04 Desktop, and they were synchronized to ntp.ubuntu.com. But, upon encountering the lagging problem, I decided to synchronize my development machine's system clock to that of the server machine. However, I wanted the server machine to synchronize to ntp.ubuntu.com. It turned out that implementing such an idea was not easy.

Successfully Running svnsync through svn+ssh from post-commit and post-revprop-change Hooks

Submitted by Eus
on March 31, 2009 - 10:36pm

One day after I had successfully set up a subversion mirror and kept it in sync with svnsync through svn+ssh protocol as described here: http://blog.codefront.net/2007/03/31/setting-up-svnsync-ed-mirrored-svn-..., I would like to have the sync happen automatically everytime there was a commit. Oh, the blog didn't mention anything about svn+ssh protocol, but it was easily done following the subversion manual itself. So, I coded post-commit and post-revprop-change hooks as described here: http://journal.paul.querna.org/articles/2006/09/14/using-svnsync. However, as Chu Yeow mentioned in his blog that he settled with cron to do the sync because the hooks method didn't work, it also didn't work for me. Both machines were using GNU/Linux Ubuntu 8.04 Desktop.

Saving 'less' Buffer to a File

Submitted by Eus
on March 31, 2009 - 4:09am

Just today I overwrote an important file accidentally. Fortunately, I had another terminal running `less' that had been reading the overwritten file up to the state just before it was overwritten (i.e., I read the file in another terminal with `less' and kept it open after I had overwritten the file). So, I wanted to save the content of the display buffer of `less' to a file. But, how?

trac - How to Search a Ticket

Submitted by Eus
on March 23, 2009 - 12:04am

My first-time experience using trac for reporting a bug was ended with a question: How do I find a ticket based on its number?