[Ilugc] Technical talk on perl from 9 am to 4pm on 18th Dec, 2011 Sunday

2011-12-17 Thread Shrinivasan T
Topic: Perl programming

Date: 18th December Sunday (9 am to 4 pm)

speaker – Girish Venkatachalam

Venue: TalentSprint
66 Gaudia Mutt Road
Royappettah,
Chennai

Right next to Gaudia Mutt
A little ahead of Ponnuswamy Hotel
5 minutes walk from Music Academy

Fee per head to cover expenses: Rs. 150/-

Good. Now for the other blurb.

It goes without saying that tea/coffee,biscuits will be served once in
the morning and once in the afternoon.
Lunch is on you. ;)

G3 Tech
Networking appliance company
web: http://g3tech.in
mail: girishvenkatachalam @ gmail.com

-- 
Regards,
T.Shrinivasan


My Life with GNU/Linux : http://goinggnu.wordpress.com
Free/Open Source Jobs : http://fossjobs.in

Get CollabNet Subversion Edge :     http://www.collab.net/svnedge
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] [Technical] Does 'C' language specification has 'boolean' datatype ?

2011-12-17 Thread Ashok Gautham
On Sat, Dec 17, 2011 at 11:20:30AM +0530, 0 wrote:
 
 
  Does 'C' language specification has 'boolean' datatype ?
 
 
 Nope, just define one using typedef such as,
 
 #define true 1
 #define false 0
 typedef int bool;

This is a bad thing to recommend given that there is a standard header
stdbool.h for the same purpose. And since it is C99, it should be
there on any system. 

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


Re: [Ilugc] [Technical] Does 'C' language specification has 'boolean' datatype ?

2011-12-17 Thread 0

 #define true 1
 #define false 0
 typedef int bool;

 This is a bad thing to recommend given that there is a standard header
 stdbool.h  for the same purpose. And since it is C99, it should be
 there on any system.


It was just a simple code snippet to indicate bool can be quickly added. 
I agree, it should not be used exactly as mentioned since the naming is 
too generic. OP can chose whether to use stdbool.h or add 3 lines to his 
code, to me this is just a moot point.

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


Re: [Ilugc] [Technical] Does 'C' language specification has 'boolean' datatype ?

2011-12-17 Thread Akilan R
On Sat, Dec 17, 2011 at 1:12 PM, Raja Subramanian rajasuper...@gmail.comwrote:

 Since C defines any non-zero value as true, rather than defining true as 1
 you better define true as !0. Ie, true is the opposite of false.

 This is the only way to ensure that a test against 2 true values will work
 in all cases.


If you meant to say
#define true !0

that is not going to work. Checking true against a variable with non-zero
value will still fail. [ if(a == true) is same as if(a == !0) which will
fail]

C99 booleans automatically converts all values to one or zero according to
standard rules before storing it in the variable. Therefore they should be
used in preference to defining our own and using integers as kludge.

-- 
அகிலன் (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] [Technical] Does 'C' language specification has 'boolean' datatype ?

2011-12-17 Thread Akilan R
On Sat, Dec 17, 2011 at 2:22 PM, 0 0...@0throot.com wrote:

 It was just a simple code snippet to indicate bool can be quickly added.
 I agree, it should not be used exactly as mentioned since the naming is
 too generic. OP can chose whether to use stdbool.h or add 3 lines to his
 code, to me this is just a moot point.


No, C99 and stdbool.h are much more than that. It simply defines bool to be
_Bool which is not same as integer typedef you define.
_Bool is a full fledged boolean variable that can convert other values to 1
or 0 when stored according to standard rules in a transparent way. In fact
one need not use stdbool.h if one is happy with typing _Bool. (but not
recommended)

-- 
அகிலன் (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] [Technical] Does 'C' language specification has 'boolean' datatype ?

2011-12-17 Thread Ashok Gautham
On Sat, Dec 17, 2011 at 02:22:26PM +0530, 0 wrote:
 It was just a simple code snippet to indicate bool can be quickly added. 
 I agree, it should not be used exactly as mentioned since the naming is 
 too generic. OP can chose whether to use stdbool.h or add 3 lines to his 
 code, to me this is just a moot point.

No. It is very important to stick to the standard. In C's rationale,
existing code is extremely important while existing implementations
are not. [1]. Therefore, #defines like this still work and probably
will work for eternity. 

But standards are established for a reason. They define the interface
or guarantees that are offered by the language. A language MyBreakyC
may choose to define 1 to be true and 0 false in one implementation
and the other way around in another. The programmer is expected to use
names like true and false to stay safe.


---
Ashok Gautham

[1] www.open-std.org/jtc1/sc22/wg14/www/C99RationaleV5.10.pdf 
Page 9, Line 20
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] [Technical] Does 'C' language specification has 'boolean' datatype ?

2011-12-17 Thread 0


 No, C99 and stdbool.h are much more than that. It simply defines bool to be
 _Bool which is not same as integer typedef you define.
 _Bool is a full fledged boolean variable that can convert other values to 1
 or 0 when stored according to standard rules in a transparent way. In fact
 one need not use stdbool.h if one is happy with typing _Bool. (but not
 recommended)


I suppose you mean _Bool to be a datatype (not variable). I was under 
the impression that it was all done in the headers but apparently not. 
Its nice to know there is a boolelan datatype. Although, it is wierd 
they chose _Bool instead of bool. I guess, that would break code which 
had already defined a bool macro. Talk about legacy stuff...

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


Re: [Ilugc] [Technical] Does 'C' language specification has 'boolean' datatype ?

2011-12-17 Thread 0


 No. It is very important to stick to the standard. In C's rationale,
 existing code is extremely important while existing implementations
 are not. [1]. Therefore, #defines like this still work and probably
 will work for eternity.

 [1] www.open-std.org/jtc1/sc22/wg14/www/C99RationaleV5.10.pdf
  Page 9, Line 20

Thanks for the reference link. 0. Introduction was an interesting read.

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


Re: [Ilugc] free online workflow management system for e-magazine

2011-12-17 Thread Princeyesuraj Edward
What if we use any Forum by building a bulletin using phpbb ??


E.Princeyesuraj

On 17 December 2011 11:18, 0 0...@0throot.com wrote:


  A author joins the project.
  He submits the written or translated article
  proof reader reads it and fixes it with proper images/links etc
  editor approves the article
  designer collects approved article and adds in the file for magazine
  designer releases the pdf file
  proof reader checks the file
  editor approves it
  release manager releases it.
 

 I would think, a simple bug tracker like mantisbt would just suffice,
 initially. Author could create a bug and attach his document. From there
 on, the team can jump in and do everything you have mentioned over that
 particular bug/ticket. Everyone works independently on their
 workstations and use the bug tracker as platform for integrating their
 work with the e-magazine.

 --
 0
 ___
 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] free online workflow management system for e-magazine

2011-12-17 Thread Shrinivasan T
thanks for your suggestions.

looking for a free hosted service to cut down the maintenance cost.
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] free online workflow management system for e-magazine

2011-12-17 Thread Akilan R
On Sat, Dec 17, 2011 at 5:13 PM, Shrinivasan T tshriniva...@gmail.com wrote:
 thanks for your suggestions.

 looking for a free hosted service to cut down the maintenance cost.

can't we host it as a subdomain in ilugc.in server itself?

-- 
அகிலன் (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] [Technical] Does 'C' language specification has 'boolean' datatype ?

2011-12-17 Thread Akilan R
On Sat, Dec 17, 2011 at 3:14 PM, 0 0...@0throot.com wrote:

 I suppose you mean _Bool to be a datatype (not variable).

ah, yes; my mistake.

 Although, it is wierd
 they chose _Bool instead of bool. I guess, that would break code which
 had already defined a bool macro. Talk about legacy stuff...

As someone said, a mistake in programming leads to lifelong support. ;-)
Other datatypes defined such are _Complex, and _Imaginary.

--
அகிலன் (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] free online workflow management system for e-magazine

2011-12-17 Thread Murthy Raju
On Sat, Dec 17, 2011 at 5:36 PM, Akilan R akila...@gmail.com wrote:
 On Sat, Dec 17, 2011 at 5:13 PM, Shrinivasan T tshriniva...@gmail.com wrote:
 thanks for your suggestions.

 looking for a free hosted service to cut down the maintenance cost.

 can't we host it as a subdomain in ilugc.in server itself?

If using a document management system or content management system
fits in to your plans, you may consider KnowledgeTree, which has
configurable workflows. If you are already on Drupal, you may look at
the module workflow, which lets you control various stages before an
article is published.

Since you are going to use the system for holding the articles for
publication into a pdf document ultimately, in either of the above
systems, defining a workflow state approved for publishing as the
final state, instead of published, should serve the purpose.

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


Re: [Ilugc] [OT]free hosting

2011-12-17 Thread Suraj Kumar
On Sat, Dec 17, 2011 at 12:14 PM, kenneth gonsalves
law...@thenilgiris.comwrote:

 by the end user?


If you mean by the person choosing to host with such services, partly yes -
to the extent of 'selecting' which predefined OS stack we'd like to use.

Cheers,

  -Suraj

-- 
Career Gear - Industry Driven Talent Factory
http://careergear.in/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] free online workflow management system for e-magazine

2011-12-17 Thread Suraj Kumar
On Sat, Dec 17, 2011 at 11:18 AM, 0 0...@0throot.com wrote:


 I would think, a simple bug tracker like mantisbt would just suffice,
 initially. Author could create a bug and attach his document. From there
 on, the team can jump in and do everything you have mentioned over that
 particular bug/ticket. Everyone works independently on their
 workstations and use the bug tracker as platform for integrating their
 work with the e-magazine.


+1.

non-gnu.org and sf.net perfectly fit the bill w.r.t providing a free bug
tracking system along with a mailing list.

  -Suraj

-- 
Career Gear - Industry Driven Talent Factory
http://careergear.in/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] What should be the problem?

2011-12-17 Thread Prasanna Venkadesh
Dear luggies,

One of my friend is running his laptop powered with LinuxMint 11 + dual
boot windows and he uses Reliance Broadband + USB Modem manufactured my ZTE
corporation for internet connection.

According to his Data plan when some data limit is reached, the speed of
connection will drop from 3.1 Mbps to 256 kbps.

When the speed drops, he is unable to get internet connection in linux and
he can access internet via windows in the same laptop using the Front-end
developed for the modem.

Now whats happening? What should be the problem? How can this be resolved?

He feels like just for this reason i need to switch to windows (he wants a
solution for this in linux).

Even i have tried in my laptop running fedora 16 updated till date and
modem gets detected, configuration done, yet not getting connected.

Thanks in advance :-)

-- 
Regards,
Prasanna Venkadesh

PuduvaiLUG (puduvai Linux Users Group): http://puduvailug.wordpress.com/

FOSS Jobs all over India: http://fossjobs.in
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] What should be the problem?

2011-12-17 Thread Arun Venkataswamy
On Sun, Dec 18, 2011 at 12:08 AM, Prasanna Venkadesh
prasmai...@gmail.comwrote:

 According to his Data plan when some data limit is reached, the speed of
 connection will drop from 3.1 Mbps to 256 kbps.

 When the speed drops, he is unable to get internet connection in linux and
 he can access internet via windows in the same laptop using the Front-end
 developed for the modem.

 Now whats happening? What should be the problem? How can this be resolved?


I am not sure if this is the case in your scenario, but seems logical to
put this forward:
The speed drop is not bandwidth control. It is actually because the
connection itself switches to a different technology (Broadband+ and High
speed 1x in my case). To switch the modem to connect using the lower speed
technology might be a proprietory AT command. Since the Windows front end
can do this for you, it is able to connect in low speed.

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


Re: [Ilugc] [OT]free hosting

2011-12-17 Thread Arun Venkataswamy
On Sat, Dec 17, 2011 at 12:14 PM, kenneth gonsalves
law...@thenilgiris.comwrote:

 On Sat, 2011-12-17 at 11:49 +0530, Suraj Kumar wrote:
  Not quite. VPSes, whether achieved using Paravirtualization (like Xen)
  or
  using Compartmentalization (like OpenVZ) limits / binds one to the
  same
  kernel but everything else above it can be changed.

 by the end user?


I use Linode VPS
http://www.linode.com/faq.cfm

Apart from a wide choice of distributions the end user can select, there is
an option to upload your own distribution.

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


[Ilugc] Timeline of GNU/Linux and Unix

2011-12-17 Thread 0
I came across this wonderful compilation of events in history starting 
from 1941 to 2002 which lead to the creation of linux, et al.

http://www.robotwisdom.com/linux/timeline.html

If you are a Unix/Linux enthusiast, this is a must read/know.

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


Re: [Ilugc] Timeline of GNU/Linux and Unix

2011-12-17 Thread Ashok Gautham
On Sun, Dec 18, 2011 at 02:50:07AM +0530, 0 wrote:
 I came across this wonderful compilation of events in history starting 
 from 1941 to 2002 which lead to the creation of linux, et al.
 
 http://www.robotwisdom.com/linux/timeline.html

And for (Directed Acyclic :P) Graph junkies,
http://www.levenez.com/unix/

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


[Ilugc] perl session starting at Talentsprint near Gaudia Mutt

2011-12-17 Thread Girish Venkatachalam
I think being a sleepy Sunday everyone is sleeping now. ;)

http://ae.iitm.ac.in/pipermail/ilugc/2011-November/068653.html

-Girish

-- 
G3 Tech
Networking appliance company
web: http://g3tech.in  mail: gir...@g3tech.in
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Quest updates Sudo Unix management tool

2011-12-17 Thread Suraj Kumar
On Fri, Dec 16, 2011 at 11:07 AM, Arun Khan knu...@gmail.com wrote:

 I suppose the sudoers file(s) can be distributed other ways too.


Absolutely - puppet, chef, cfengine, cfengine2, et al do a good job in free
ways.

  -Suraj

-- 
Career Gear - Industry Driven Talent Factory
http://careergear.in/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] free online workflow management system for e-magazine

2011-12-17 Thread Princeyesuraj Edward
SOURCEFORGE  allows us to use phpbb and wordpress for free with limited
features !!
-
E.Princeyesuraj

On 17 December 2011 23:07, velmurugan Moorthy velmurugan1...@gmail.comwrote:

 
  hi,
 

 I wanna join as a translator in the magazine that you are planning to
 release please tell me how to join in that ?pl
 ___
 ILUGC Mailing List:
 http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

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