Shivaji

I watched the superstar Rajinikanth starrer Shivaji today. It was very enjoyable—a pleasant family entertainer. Fans of the superstar will surely love it. It's a movie to watch leisurely and savor, with plenty of stylish moments and entertaining dialogues. Truly memorable!

M x viper-mode

This is a emacs, viper mode. If vim fans are threathened and forced to user emacs, then they might find this M-x viper-mode as a consolation somewhat akin to a family photo a prisoner has in jail. He will be missing his family for sure though.

:-)


its more like taking a heroin packet with u when u go to rehab.

sad!

Anonymous


power of VI

http://monster-island.org/tinashumor/humor/vi.html

Anonymous

Yet another Ubuntu Fan

I was almost about to give up on Ubuntu, because after I installed the Fiesty, I was not able to download the packages from Repositories due to some proxy authentication issue. Tried various things for a week and when could not go any step further, I had thought let me get back to Fedora and was thinking about how new users of Linux will be feeling when they dont get support on what they need to get wishes satisfied with Linux. In my case, it was a particular distribution.

After a week, I setup my box again and wanted to give a final try. Instead of going to Synaptic and meddling with Repository sources, I thought let me try Add/Remove application to Install software and see what happens.

The basic install of ubuntu (from the CD) did not have things which a regular Linux user would desire. Well, what the heck, gvim was not there! Browsing through the software list I checked Emacs 21 for Installation and pressed Apply. Something interesting started to happen. It started downloading automatically from http://archive.ubuntu.com/ubuntu/dists/feisty/main/

I felt a kind of relief that I will be able to spend more time with ubuntu now.

There is a tricky bug with Ubuntu package manager, I think. The following was my setup with package installation from repos worked.

1) Firefox configured with proxy and proxy authentication details. 2) Gnome Network Preferences, Proxy NOT configured. 3) Without adding any repos, archive.ubuntu.com which is kind of a default repo is only working thing.

If I configure, Gnome Network Preferences with proxy details, the package manager fails with Proxy Authentication message.

The following tests might help.

1) Without Firefox Proxy, try with package manager. 2) Test Gnome Network Preferences for other applications. Epiphany can be used. 3) Try other repositories.

I shall try that and figure out the exact issue.

Now that I was able to configure the package manager, I got a wealth of neatly arranged package to choose from and Install. The Installation procedure was totally homogeneous. Neat, easy is what I can say of Ubuntu. Hey, you might hear those two words from many of the Ubuntu users, but you will appreciate only when you "feel" it.

Even Picassa download in deb format was handled properly by gnome deb package installer. I had never used deb and always thought deb format is difficult than rpm.

I had transfered my camera shot movies of Bungee jump to Ubuntu machine, first surprised to see the thumbnail of avi file and next totem player played that avi file. I felt wow!. Because, its first time Totem player had worked for me (apart from the live cd demo)

Then I spent looking at all the interesting programs that default, multiverse, and universe repositories could offer. There are tons of python language packages to install directly from the repos.

But the sweetest of all surprises came, when I thought let me search for rapple and nanoblogger. I know, there were debian maintainers for these to two projects. But it was really nice, to see a the project I have contributed to as being listed from the repository and choosing them to install it!

Why settle for..

Python - why settle for snake oil when you can have the whole snake? —From Usenet posting by Mark Jackson, June 1998

Mentioned at the Python Development page. Its a good fun! :-)

Random C Stuff.

/**
 *Without using /, % or * operator, write a function to divide a number by 3.
 **/

#include



int divideby3(int);



int main(int argc,char **argv)

{

    int res;

    res = divideby3(9);

    printf("%d",res);

    return 0;

}



int divideby3(int aNumber)

{

    div_t d = div(aNumber, 3);

    return d.quot;

}

Never have explored the capablities of stdlib. Infact, with C Programming Language out of touch for so many months, I was thinking this program will seriously fail, thinking kind of how come div_t datatype, d.quote (object.property ?) etc. gcc will crib saying dont using c++. But it worked perfectly fine.


umm, structs are part of standard C.

div_t is a struct:

/* Returned by `div'.  */



typedef struct



{



int quot;                   /* Quotient.  */



int rem;                    /* Remainder.  */



} div_t;

bluesmoon


Yes , I realized about struct datatype in C and unfortunately forgot the mention that in the post. All I was thinking about is, it was so out-of-mind (due to out-of-sight) and all obj.property and obj.method was what coming up.

Senthil

N-Puzzle Problem solver using Python

I completed and submitted my project "N-Puzzle Problem Solver". I wrote it in Python, and it was a lot of fun. I learned about the similarities between Lisp and Python, and discovered why Lisp is so powerful and how quickly things come together once you understand the language.

When solving the N-Puzzle problem, I initially tried with no fundamental algorithms, and it was extremely challenging to derive a solution. However, after discovering the strategy of using Manhattan distances on Norvig's site, coding the solution became much more enjoyable. It really gave me a sense of what toy AI problems are like.


help needed

hi,

i m amazed to see that in ISSc,this problem (N-puzzle) was a one semester proj and here in my university(Goa university),our teacher has given this prob today told us do this prob till tomorrow.

can u help me ?? i have to do this in C/C++ or JAVA.

thanks

abhi (abhishek.luck@gmail.com)

Anonymous


Re: help needed

Thats one of the toy- AI problems. We started off without the algorithms and tried it as we might think to solve.. I could implement it say in a week, only after the algorithms were known. It was assignment too (or rather class discussion), but I did with some explanation and analysis as a project.

Senthil

Peter Lunblad

Lundblad is a leading contributor to the Subversion open source code project, which has produced a widely adopted code management system. He was one of five open source leaders recognized in August at the O'Reilly Open Source Conference. Unlike the others, Lundblad is blind—a fact that did not concern Google, his new employer.

I'm just amazed.