[Ilugc] FW: rsync download problem

2011-02-28 Thread ramesh kumar










rsync -avz 
rsync://rsync.mirrorservice.org/download.fedora.redhat.com/pub/fedora/linux/releases/14/Everything/i386/os/
 /opt/f14/

i am all ways working in wifi only in my laptop

flow error message

rsync: failed to connect to rsync.mirrorservice.org: Connection timed out (110)
rsync error: error in socket IO (code 10) at clientserver.c(122) 
[Receiver=3.0.7]

please help  


  
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] factorial

2011-02-28 Thread Saravanan Selvamani
Hi,
   Anyone knows how to find the factorial of a number without
using loops , arithmetic operator,case structure.I guess that this has to be
done by using bitwise operator.but i dont know how.

Ragards,
P.S.Saravanan.
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] factorial

2011-02-28 Thread Shrinivasan T
Hi,

>               Anyone knows how to find the factorial of a number without
> using loops , arithmetic operator,case structure.

You can use paper and pen. haha.

Here is the code for factorial in c, python, perl and ruby.
http://adammonsen.com/post/173



-- 
Regards,
T.Shrinivasan


My Life with GNU/Linux : http://goinggnu.wordpress.com
Free/Open Source Jobs : http://fossjobs.in
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] factorial

2011-02-28 Thread Debayan Banerjee
On 28 February 2011 18:22, Shrinivasan T  wrote:
> Hi,
>
>>               Anyone knows how to find the factorial of a number without
>> using loops , arithmetic operator,case structure.
>

You can use recursion naa?


-- 
Debayan Banerjee
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] factorial

2011-02-28 Thread Varadharajan Mukundan
Hi,

>
> You can use recursion naa?
>

recursion without involving arithmetic operators?

-- 
Thanks,
M. Varadharajan



"Experience is what you get when you didn't get what you wanted"
               -By Prof. Randy Pausch in "The Last Lecture"

My Journal :- www.thinkasgeek.wordpress.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] factorial

2011-02-28 Thread Kumar Appaiah
On Mon, Feb 28, 2011 at 06:05:11PM +0530, Saravanan Selvamani wrote:
> Hi,
>Anyone knows how to find the factorial of a number without
> using loops , arithmetic operator,case structure.I guess that this has to be
> done by using bitwise operator.but i dont know how.

One way is to use recursive function calls. Just search online for
"factorial recursion" for details.

Kumar
-- 
:
[ GNU/Linux One Stanza Tip (LOST) ]###

Sub : /etc/nologin   LOST #517

If the file /etc/nologin exists, login will allow access only 
to root users. Other users will be shown the contents of this 
file and their logins will be refused.

[ajitabhpandey (at) users.sourceforge.net]
:
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] factorial

2011-02-28 Thread Balachandran Sivakumar
Hi,

On Mon, Feb 28, 2011 at 6:05 PM, Saravanan Selvamani
 wrote:
> Hi,
>               Anyone knows how to find the factorial of a number without
> using loops , arithmetic operator,case structure.I guess that this has to be

 But really, why would we need to do such a thing ? Is there a
real scenario where we would be forced not to use mathematical
operators ? Thanks


-- 
Thank you
Balachandran Sivakumar

Arise Awake and stop not till the goal is reached.

Mail: benignb...@gmail.com
Blog: http://benignbala.wordpress.com/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] factorial

2011-02-28 Thread Varadharajan Mukundan
Hi,

>     But really, why would we need to do such a thing ? Is there a
> real scenario where we would be forced not to use mathematical
> operators ? Thanks

I think, he was working out some C aptitude questions :)

-- 
Thanks,
M. Varadharajan



"Experience is what you get when you didn't get what you wanted"
               -By Prof. Randy Pausch in "The Last Lecture"

My Journal :- www.thinkasgeek.wordpress.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] factorial

2011-02-28 Thread Abishek Goda
Hi,

> Hi,
>               Anyone knows how to find the factorial of a number without
> using loops , arithmetic operator,case structure.I guess that this has to be
> done by using bitwise operator.but i dont know how.

extremely long drawn, but possibly something along the asm lines?

you could increment using the or/xor operation, multiply by repeated
addition (which again is xor) operations. subtract with xor
operations. essentially, you would be rewriting every arithmetic is
the least arithmetic way possible.

but do keep this thread posted if there really is a simpler such
solution. would love to know :)

abishek
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] factorial

2011-02-28 Thread Shrinivasan T
Here is the answer in python

   from math import factorial  # Batteries included!
   print factorial(6)



-- 
Regards,
T.Shrinivasan


My Life with GNU/Linux : http://goinggnu.wordpress.com
Free/Open Source Jobs : http://fossjobs.in
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] factorial

2011-02-28 Thread Varadharajan Mukundan
Hi,

>
> you could increment using the or/xor operation, multiply by repeated
> addition (which again is xor) operations. subtract with xor
> operations. essentially, you would be rewriting every arithmetic is
> the least arithmetic way possible.
>
> but do keep this thread posted if there really is a simpler such
> solution. would love to know :)

I think this should help http://www.go4expert.com/forums/showthread.php?t=3095

-- 
Thanks,
M. Varadharajan



"Experience is what you get when you didn't get what you wanted"
               -By Prof. Randy Pausch in "The Last Lecture"

My Journal :- www.thinkasgeek.wordpress.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] factorial

2011-02-28 Thread Akilan R
On Mon, Feb 28, 2011 at 6:34 PM, Varadharajan Mukundan  wrote:

>
> I think this should help
> http://www.go4expert.com/forums/showthread.php?t=3095


This is helpful only if the multiplier is in powers of 2.

@OP: Is this some sort of homework/aptitude question? I hate people who ask
students to answer horrific questions like this in the name of testing their
knowledge.

-- 
அகிலன் (Akilan R)
[ blog.akilan.in ]
*I should have no use for a paradise in which I should be deprived of the
right to prefer hell.*
  --Jean Rostand
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] factorial

2011-02-28 Thread Abishek Goda
>
> I think this should help http://www.go4expert.com/forums/showthread.php?t=3095

yeah. one of the first few lessons after boolean arithmetic. but you
need to multiply with numbers that are not 2^n which is why the
repeated addition mention.

abishek
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Bid ByeBye to Google Search, say DuckDuckGo!

2011-02-28 Thread Guruprasad
Hi,

On Sat, Dec 18, 2010 at 11:30 AM, Kenneth Gonsalves
 wrote:
>> Also refrain using psuedo
>> product names like M$ etc. It just shows folks are more interested on
>> less positives :)
>
> I feel the word M$ accurately reflects the aims and methods of that
> particular company.

Not sure how many know about this but DDG FAQ says:

"From over 30 sources, including DuckDuckBot (our own crawler),
crowd-sourced sites (in our own index), Yahoo! "BOSS", "embed.ly",
"WolframAlpha", "EntireWeb", "Bing" & "Blekko". For any given search,
there is usually a vertical search engine out there that does a better
job at answering it than a general search engine. Our long-term goal
is to get you information from that best source, ideally in instant
answer form." (http://duckduckgo.com/faq.html#results)

Though I value my privacy very much, I am very skeptic about using
Microsoft's Bing in anyway. :-S

Thanks & Regards,
Guruprasad
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] factorial

2011-02-28 Thread Raja Subramanian
On Mon, Feb 28, 2011 at 6:40 PM, Akilan R  wrote:
> @OP: Is this some sort of homework/aptitude question? I hate people who ask
> students to answer horrific questions like this in the name of testing their
> knowledge.

And what about those who pass on their assignments to this list?

- Raja
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] factorial

2011-02-28 Thread Varadharajan Mukundan
Hi,

> yeah. one of the first few lessons after boolean arithmetic. but you
> need to multiply with numbers that are not 2^n which is why the
> repeated addition mention.

I mean to use this to calculate product maximum powers(of 2) and had
the rest of the numbers, so that number of  repeated additions can be
minimized.


-- 
Thanks,
M. Varadharajan



"Experience is what you get when you didn't get what you wanted"
               -By Prof. Randy Pausch in "The Last Lecture"

My Journal :- www.thinkasgeek.wordpress.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Making a Career in FOSS [New Business]

2011-02-28 Thread arunthe...@gmail.com
Hello All,

I am a final year BE student. While most of my mates are sincerely
searching for a spot in the corporates, me and two of my friends
cherish a dream of creating a business for ourselves. We got something
like a few website development offers and that has motivated us
further. But we are not really going to stick to web development as
such and want to get into customized application development and
software deployment.

I recently saw a message in the "NCR Python Users Group India"
discussing Data Mining tool for collecting data from Excel Documents
and displaying them on web pages. I think these are some untapped
areas of software deployment, at least here in India.

So, now the questions in my mind are:
1. Can we really survive as a company creating application specific or
customized software for situations like the one I have mentioned
above?
2. Is there really market for such software and services in India?
Kindly keep in mind FOSS.
3. If there is a possibility to survive. Are we going to be judged by
the work we do or by the industry experience we have or supposed to
have? (Remember I am still at college)
4. At last, how much are we going to be paid for these kind of jobs?
Keeping in mind that depends on the quality of work we do and our
ability to negotiate, I would like to know the scale where I would be
starting.

I request whoever reading this mail to give your views and ideas.

P.S: If possible repost this mail in the mailing lists you prefer
appropriate. I do not know anyone in the field of software or startup
as of now.


-- 
Regards
P.Arunmozhi
Twitter: @tecoholic
Website: http://arunmozhi.in
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] PHYTHON App Creation

2011-02-28 Thread thoufi .racer46
Hi

  I am Thoufiek .i merely completed the basics of the PHYTHON
..Require help from u to proceed further

for how to create an application by having  an algorithm and create a
console application..
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] PHYTHON App Creation

2011-02-28 Thread Girish Venkatachalam
On Mon, Feb 28, 2011 at 7:03 PM, thoufi .racer46
 wrote:
> Hi
>
>          I am Thoufiek .i merely completed the basics of the PHYTHON
> ..Require help from u to proceed further
>
> for how to create an application by having  an algorithm and create a
> console application..

I think by console you don't mean an nCurses UI?

If you want to write a simple read input from user by presenting a
menu, select an item
 and print some results then it is just like any other language like perl or C.

Is Python the first language  you are learning?

On the other hand if you mean nCurses then I do know Perl nCurses. I
am sure there
must be something for Python as well.

I do not believe that GUI needs bitmapped displays. You can build
perfectly usable and
friendly GUI with console.

-Girish


-- 
Gayatri Hitech

http://gayatri-hitech.com
gir...@gayatri-hitech.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] [Ncr-Python.in] Making a Career in FOSS [New Business]

2011-02-28 Thread satyaakam goswami
 On Mon, Feb 28, 2011 at 6:47 PM, arunthe...@gmail.com  wrote:

> Hello All,
>
> I am a final year BE student. While most of my mates are sincerely
> searching for a spot in the corporates, me and two of my friends
> cherish a dream of creating a business for ourselves. We got something
> like a few website development offers and that has motivated us
> further. But we are not really going to stick to web development as
> such and want to get into customized application development and
> software deployment.
>

good

>
> I recently saw a message in the "NCR Python Users Group India"
> discussing Data Mining tool for collecting data from Excel Documents
> and displaying them on web pages. I think these are some untapped
> areas of software deployment, at least here in India.
>

No and yes to your presumption


> So, now the questions in my mind are:
> 1. Can we really survive as a company creating application specific or
> customized software for situations like the one I have mentioned
> above?
>

Yes


> 2. Is there really market for such software and services in India?
> Kindly keep in mind FOSS.
>

Yes

3. If there is a possibility to survive. Are we going to be judged by
> the work we do or by the industry experience we have or supposed to
> have? (Remember I am still at college)
>

No


> 4. At last, how much are we going to be paid for these kind of jobs?
> Keeping in mind that depends on the quality of work we do and our
> ability to negotiate, I would like to know the scale where I would be
> starting.
>

This variable depending on  Demand and Supply , you cannot be sure on this
one.

I request whoever reading this mail to give your views and ideas.
>
> P.S: If possible repost this mail in the mailing lists you prefer
> appropriate. I do not know anyone in the field of software or startup
> as of now.
>

you need not know also at this stage  , cherish your dreams "just do it"

-Satya
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Making a Career in FOSS [New Business]

2011-02-28 Thread amit sharma
 hi
  Good and Interesting post.
 I am also in the same situation.


 Thanks & Regards,
Amit Sharma
   MCA (2008-11)
University Of Jammu
+91-9797432772(Jammu)
+91-9811242001(Delhi)
+91-9803655892(Chd.)



On Mon, Feb 28, 2011 at 6:47 PM, arunthe...@gmail.com
wrote:

> Hello All,
>
> I am a final year BE student. While most of my mates are sincerely
> searching for a spot in the corporates, me and two of my friends
> cherish a dream of creating a business for ourselves. We got something
> like a few website development offers and that has motivated us
> further. But we are not really going to stick to web development as
> such and want to get into customized application development and
> software deployment.
>
> I recently saw a message in the "NCR Python Users Group India"
> discussing Data Mining tool for collecting data from Excel Documents
> and displaying them on web pages. I think these are some untapped
> areas of software deployment, at least here in India.
>
> So, now the questions in my mind are:
> 1. Can we really survive as a company creating application specific or
> customized software for situations like the one I have mentioned
> above?
> 2. Is there really market for such software and services in India?
> Kindly keep in mind FOSS.
> 3. If there is a possibility to survive. Are we going to be judged by
> the work we do or by the industry experience we have or supposed to
> have? (Remember I am still at college)
> 4. At last, how much are we going to be paid for these kind of jobs?
> Keeping in mind that depends on the quality of work we do and our
> ability to negotiate, I would like to know the scale where I would be
> starting.
>
> I request whoever reading this mail to give your views and ideas.
>
> P.S: If possible repost this mail in the mailing lists you prefer
> appropriate. I do not know anyone in the field of software or startup
> as of now.
>
>
> --
> Regards
> P.Arunmozhi
> Twitter: @tecoholic
> Website: http://arunmozhi.in
> ___
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
>
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Making a Career in FOSS [New Business]

2011-02-28 Thread Girish Venkatachalam
You got a very nice reply. I am not sure what value I can add.

It will sure be colored by my pessimism and feeling of failure but
still I will try. ;)

On Mon, Feb 28, 2011 at 6:47 PM, arunthe...@gmail.com
 wrote:
> Hello All,
>
> I am a final year BE student. While most of my mates are sincerely
> searching for a spot in the corporates, me and two of my friends
> cherish a dream of creating a business for ourselves. We got something
> like a few website development offers and that has motivated us
> further. But we are not really going to stick to web development as
> such and want to get into customized application development and
> software deployment.

Good.

> I recently saw a message in the "NCR Python Users Group India"
> discussing Data Mining tool for collecting data from Excel Documents
> and displaying them on web pages. I think these are some untapped
> areas of software deployment, at least here in India.

Well well. What should I say?

> So, now the questions in my mind are:
> 1. Can we really survive as a company creating application specific or
> customized software for situations like the one I have mentioned
> above?

No.

> 2. Is there really market for such software and services in India?
> Kindly keep in mind FOSS.

Whether you like it or not, whether you accept or not, FOSS is the driver
for every company; regardless of what they are into. FOSS is all over.

Just that many will not be open about it.

But as a biz I suggest that you keep tight lipped about FOSS. People know it
anyway; being open about it cannot help you in any way. Or even hurt.

But companies want support, companies want something real. There
 are many ways to make money but make sure you choose something you
really enjoy.

Choose something where you can learn a lot , have fun and struggle.

No point in picking low hanging fruits. If Arun can so can Girish.

It is pointless. Pick up some area where you have something special.

> 3. If there is a possibility to survive. Are we going to be judged by
> the work we do or by the industry experience we have or supposed to
> have? (Remember I am still at college)

You are judged by several factors many of which you have no control over.

Why even think about it?

When I first started writing articles many years ago I never thought. I had
knowledge which I wanted to share. I gave a very small writeup to my boss
in pencil and he did not even care to comment.

I did not lose hope. Two years later I found that everything I wrote
got published.

I was not a newsmaker or an opinion maker and even today am not. But I made
 quite a lot of money in writing.

It is all about confidence, knowledge, hard work and what you feel within.

No external entity can instill that confidence.

It comes from within after worldly success which comes from out.

Now to answer your question, certainly your reputation and credibility
will count.

Today nobody wants to know whether I am a fresher or not. Perhaps it is due to
my grey hair or appearance or whatever. Or people just know that I have nothing
to do with any college. ;)

I think this is not even a point of consideration. What people think.

Now as a company you sure need to manage perception.

Coming to that you need a very professional looking website, very high quality
brochures and so on. You need very high degree of professionalism and diligence.

Get well wishers, God fathers and good friends who can guide you. Without all
these things nothing is possible.

Get helpers. Get helpers. People who will help either for money or otherwise.

Either way get them.

And build contacts. Good ones. Not fools. I just stay away from people
who I think
are not sensible.

Their contacts will cause you pain.

On the other hand good people, smart successful people tend to know other such
 souls and they will  help you. Think about it.

> 4. At last, how much are we going to be paid for these kind of jobs?

In the beginning peanuts. But once you get more work and show customer
references
and once you get some name in the market and word of mouth you will start
seeing some cash. But it is going to be tough for the first two years.

> Keeping in mind that depends on the quality of work we do and our
> ability to negotiate, I would like to know the scale where I would be
> starting.

Scale? What scale? How much cash you need? 2L? 10L?

Or 50k?

Who knows. Even today as I speak I don't have cash to pay the rent. That is biz.

It is the fire within that counts.

What do you mean by ability to negotiate? There is no such thing.

I always find that I take up deals where I win and the other party
wins. If not it does not
work out for either of us.

No use trying to negotiate out of business. Once again a lot of
factors are at play many
of which you have no control over. Just don't think of it.

I am not good at negotiating; I am bold and know what I want and am
explicit about it.

That is my idea of negotiation. I have knowledge and I know what the
customer wants 

Re: [Ilugc] Making a Career in FOSS [New Business]

2011-02-28 Thread Manokaran K
On Mon, Feb 28, 2011 at 6:47 PM, arunthe...@gmail.com
wrote:

> Hello All,
>
> I am a final year BE student. While most of my mates are sincerely
> searching for a spot in the corporates, me and two of my friends
> cherish a dream of creating a business for ourselves. We got something
> like a few website development offers and that has motivated us
> further. But we are not really going to stick to web development as
> such and want to get into customized application development and
> software deployment.
>
>
> So, now the questions in my mind are:
> 1. Can we really survive as a company creating application specific or
> customized software for situations like the one I have mentioned
> above?
>

Yes


> 2. Is there really market for such software and services in India?
> Kindly keep in mind FOSS.
>

Yes


> 3. If there is a possibility to survive. Are we going to be judged by
> the work we do or by the industry experience we have or supposed to
> have? (Remember I am still at college)
>

On the work you do. Specifically, your timeliness and reliability.


> 4. At last, how much are we going to be paid for these kind of jobs?
> Keeping in mind that depends on the quality of work we do and our
> ability to negotiate, I would like to know the scale where I would be
> starting.
>
>
This you'll have to explore and find out. Try something like assembla.org


My advice is just jump into it. At worst, after a year or two, you would've
have found concrete answers to all your questions! And you would be way
ahead of your corporate classmates in terms of knowledge ans skills. I call
it the MBA from the University of Life :-)

Best of luck.

mano

-- 
Computers are useless. They can only give you answers.
-- Pablo Picasso
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] factorial

2011-02-28 Thread Girish Venkatachalam
On Mon, Feb 28, 2011 at 6:05 PM, Saravanan Selvamani
 wrote:
> Hi,
>               Anyone knows how to find the factorial of a number without
> using loops , arithmetic operator,case structure.I guess that this has to be
> done by using bitwise operator.but i dont know how.
>

Some college question eh?

I remember answering this question in a new method which my teacher
did not understand
in my second semester Fortran course in 1995.

Anyway you cannot solve without using arithmetic operators.

How will you use bitwise operators?

It is messy.

Do it the simple way.

-Girish


-- 
Gayatri Hitech

http://gayatri-hitech.com
gir...@gayatri-hitech.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] FW: rsync download problem

2011-02-28 Thread Girish Venkatachalam
nc -v rsync.mirrorservice.org 873

It should report success

On Mon, Feb 28, 2011 at 5:36 PM, ramesh kumar  wrote:
>
>
>
>
>
>
>
>
>
>
> rsync -avz 
> rsync://rsync.mirrorservice.org/download.fedora.redhat.com/pub/fedora/linux/releases/14/Everything/i386/os/
>  /opt/f14/
>
> i am all ways working in wifi only in my laptop
>
> flow error message
>
> rsync: failed to connect to rsync.mirrorservice.org: Connection timed out 
> (110)
> rsync error: error in socket IO (code 10) at clientserver.c(122) 
> [Receiver=3.0.7]
>
> please help
>
>
>
> ___
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
>



-- 
Gayatri Hitech

http://gayatri-hitech.com
gir...@gayatri-hitech.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] PHYTHON App Creation

2011-02-28 Thread thoufi .racer46
> I think by console you don't mean an nCurses UI?
>
> If you want to write a simple read input from user by presenting a
> menu, select an item
>  and print some results then it is just like any other language like perl
> or C.
>
> Is Python the first language  you are learning?
>
> On the other hand if you mean nCurses then I do know Perl nCurses. I
> am sure there
> must be something for Python as well.
>
> I do not believe that GUI needs bitmapped displays. You can build
> perfectly usable and
> friendly GUI with console.
>
> -Girish
>
>
>
>
>
>  
> ___
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

 S in open source language this is first programming language ..I'm eagerly
waiting to know about perl nCurses also.

My only specification is that to develop a friendly GUI with console..
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] SCILAB at university

2011-02-28 Thread Suraj C.R.
All right, although I've been in iLUGc for a while, this is my first thread.
So bear with this silent listener.
I guess I raised this issue to srini some time back in the last couple of
meets, but I'd like to take all your help on this.
I have some how persuaded my department (ECE) in college to conduct a
lecture and/or workshop on "SciLab as an alternative to MATLAB" some time
this march. I'd love it if someone could actually come and conduct this
lecture. Our department uses MATLAB for a lot of things and I'd like them to
see that there are viable alternatives to MATLAB.

Thanks in advance y'all.

Cheers,
Suraj C.R.
2nd Year, B. TECH, ECE,
SRM University.

-- 
A *KEYBOARD* is mightier than a sword.
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] SCILAB at university

2011-02-28 Thread satyaakam goswami
 On Mon, Feb 28, 2011 at 8:00 PM, Suraj C.R. wrote:

> All right, although I've been in iLUGc for a while, this is my first
> thread.
> So bear with this silent listener.
> I guess I raised this issue to srini some time back in the last couple of
> meets, but I'd like to take all your help on this.
> I have some how persuaded my department (ECE) in college to conduct a
> lecture and/or workshop on "SciLab as an alternative to MATLAB" some time
> this march. I'd love it if someone could actually come and conduct this
> lecture. Our department uses MATLAB for a lot of things and I'd like them
> to
> see that there are viable alternatives to MATLAB.
>
> Thanks in advance y'all.
>

check out this site http://scilab.in/ and get in touch with Prof Kannan for
further help.

-Satya
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] apt-get is not working

2011-02-28 Thread Thyagarajan தியாகராஜன்
Hello ,

For some reasons,  apt-get is not working in my laptop , i am running
on ubuntu 9.10 .. i have illustrated my problem at
http://paste.ubuntu.com/573571/
any pointers, thanks in advance..

regards,
Thyagararajan
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] apt-get is not working

2011-02-28 Thread arunthe...@gmail.com
After seeing your output in the Paste I think the issue is not with
apt-get but something else.
I could only find out that far. I donot know what the exact problem
is. You are looking at the wrong place I think.

On 2/28/11, Thyagarajan தியாகராஜன்  wrote:
> Hello ,
>
> For some reasons,  apt-get is not working in my laptop , i am running
> on ubuntu 9.10 .. i have illustrated my problem at
> http://paste.ubuntu.com/573571/
> any pointers, thanks in advance..
>
> regards,
> Thyagararajan
> ___
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
>


-- 
Regards
P.Arunmozhi
Twitter: @tecoholic
Website: http://arunmozhi.in
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] apt-get is not working

2011-02-28 Thread Kumar Appaiah
On Mon, Feb 28, 2011 at 11:41:46PM +0530, Thyagarajan தியாகராஜன் wrote:
> Hello ,
> 
> For some reasons,  apt-get is not working in my laptop , i am running
> on ubuntu 9.10 .. i have illustrated my problem at
> http://paste.ubuntu.com/573571/
> any pointers, thanks in advance..

Could you please try running /usr/bin/ruby? It could be that /usr/bin
is no longer in the $PATH.

Kumar
-- 
:
[ GNU/Linux One Stanza Tip (LOST) ]###

Sub : Enlarging font size on xterm   LOST #252

To enlarge/ reduce the font while in xterm (under X windows),
Press Ctrl+[Rt mouse button] while  the  mouse  is inside the
xterm. A menu of the vt fonts is displayed ... Choose ...  

[usmbish (at) users.sourceforge.net]##
:
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] how to send EOF

2011-02-28 Thread Raja Subramanian
On Mon, Feb 28, 2011 at 7:38 AM, Kenneth Gonsalves
 wrote:
> this is one of the examples in K&R

In my college days, counting lines was used as an example to
demonstrate the difficultly of writing Software Requirements Specs.
Even for a simple line counting program, the SRS becomes
unexpectedly complicated as one starts considering the boundary
cases.

If SRS is defined as "count all new line chars in the file", then what
about files which do not end with a new line character on the last line?

If we then modify the spec as "count all new line chars in the
file, and EOF unless preceded by a new line", then what about
files which have no text, only a single EOF char.  Is that considered
as a file with 0 lines or with 1 line.

Interesting exercise for any developer creating requirement specs.

- Raja
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] factorial

2011-02-28 Thread Vijay Kumar B .
Saravanan Selvamani  writes:
>Anyone knows how to find the factorial of a number without
> using loops , arithmetic operator,case structure.I guess that this has to be
> done by using bitwise operator.but i dont know how.

Use lookup tables. If you are using 32 bit ints to store numbers, you need a
lookup table till 12.

uint32_t factorial_lut[] = {
1,
1,
2,
6,
24,
120,
720,
5040,
40320,
362880,
3628800,
39916800,
479001600,
};

uint32_t factorial(uint32_t n)
{
if (n < 13)
   return factorial_lut[n];
else
   return -1;
}

I could think of one reason why you would ever want to do this is - speed.

Regards,
Vijay


___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Netgear WG111v2

2011-02-28 Thread Roshan George
Hello,

Does this USB wi-fi dongle (RTL8187L chipset) work any better under
ndiswrapper? Under the native drivers, it stops communicating after a
few seconds of use. Disconnecting and reconnecting to the network will
allow it to work for another few seconds.

Is there any hope on this front or should I ditch this for another
dongle? If so, does anyone have any recommendations?

All the ndiswrapper posts I've found so far are pre-2010.

Regards,
-- 
Roshan George

___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc