Re: [Ilugc] How to convert the fonts in Rich Text?

2014-11-26 Thread Natarajan V
Sorry for re-cycling an old email... I read this pretty late.


On Thu, Oct 30, 2014 at 3:10 AM, Shrinivasan T 
wrote:

> On working http://FreeTamilEbooks.com project, we get many books in
> non-unicode text.
>
> We are converting the text using open-tamil library.
>
> https://github.com/arcturusannamalai/open-tamil
> https://github.com/arulalant/txt2unicode
>
> It is a python script and runs in terminal.
> It can convert only the plain text.
>

This is a nice initiative.

The authors gives their works as MS word doc,
> with lot of formatting like Bold/Italic/Tables/Headings etc.
>

Is it .DOC or .DOCX or something else?


> We convert them to plain text and then convert to unicode.
> Now, it becomes a tired job to reformat them all the text
> as previous formatting.
>

Formatting of the text is a "meta data". Once you convert the entire WORD
into  TEXT, you loose the meta data. You will not be able to put it back.



> Looking for ideas on how to convert the encoding with the rich text
> without losing any formatting.
>

1. When you try to convert the WORD to HTML, the resultant HTML is UGLY.
You might end up with a hundred tags between two letters in the same word.
It is simply horrible :(.


For .DOC
2. I have tried to do this in the past. Read the Word Document using Apache
POI (Java). This would return each paragraph/ sentance with the same
formatting as a chunk. The next format would be in a different chunk (and
so on).You can read it this way, and convert it using your txt2Unicode and
put the text back. This way it would be easier.

WORD of Caution: If your MS Word Documents contains embedded images, we
were not able to read the exact order of the images in it. So, if there are
10 images, we do not know which image would stay where.


For .DOCX
3. If you are able to get the document in DOCX format instead of .DOC, then
do this:
--> Rename the DOCX to .ZIP and then unzip it. You will find a
"document.xml" inside. Happy converting :-)


--
Natarajan.
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines


Re: [Ilugc] Payment Gateway

2014-10-13 Thread Natarajan V
On 13 Oct 2014 10:58, "RadhikaGB GB"  wrote:
> I am asking how to send money internationally.?

Credit cards usually work. Did you try an instant electronic credit card
that can be used only online, by SBI?

PS: I have used a similar service from icici and i have a credit card.

--
Natarajan
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines


Re: [Ilugc] website opens a blank page from HTTP, it works correctly from HTTPS

2013-07-25 Thread Natarajan V
> I used firefox and chrome. In both the same issue.
> What is the solution for this ?
>
Does it work on opera with turbo enabled?

Did you try reducing your MTU ?

~
Natarajan
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines


Re: [Ilugc] 1D1C - du

2013-07-16 Thread Natarajan V
On Wed, Jul 17, 2013 at 8:54 AM, Madan U Sreenivasan wrote:

> On Wed, Jul 17, 2013 at 6:30 AM, Dhana Sekar 
> wrote:
>
> > command: du
> > purpose: du - estimate file space usage
>
> du - I think is short for 'disk usage'. Not sure if thats the intended
> acronym, but this helped me memorize the commands easily.
>

 From the BSD MAN pages:
 du -- display DISK USAGE statistics
so, I think, you are right :-)

--
Natarajan
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines


Re: [Ilugc] Open Source Alternates to Adobe Softwares

2013-06-24 Thread Natarajan V
On Mon, Jun 24, 2013 at 4:21 PM, Shrinivasan T wrote:

> > DreamWeaver  
>
> For HTML/CSS/JavaScript/PHP development, any plain text editor is enough.
>
> Ask them to come out of Dreamweaver and to use any other text editors
> even in windows.
> It will make the shift to GNU/Linux easier.
>
> If you want bulkier IDE for easier tasks, you can try eclipse too.
>
Quanta Plus for KDE.
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines


[Ilugc] International Space Station making laptop migration from Windows XP to Debian 6

2013-05-12 Thread Natarajan V

The International Space Station has decided to switch dozens of laptops
running Windows XP over to Debian. What Linux fans have been saying for
years—that Linux delivers greater stability and reliability for public and
private computing environments—resonated with Keith Chuvala, the United
Space Alliance contractor manager involved in the switch. The change at the
International Space Station is all about the replacement of dozens of
laptops with XP being switched over to Debian 6.

Read more at:
http://phys.org/news/2013-05-international-space-station-laptop-migration.html#jCp



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


Re: [Ilugc] Inputs solicited for a story

2013-03-12 Thread Natarajan V
On Fri, Mar 8, 2013 at 12:10 PM, Karthikeyan A K  wrote:
> I haven't seen a non junk certificated candidate yet. But there should
> be some people who are worth to pay for the certification they have got.

All Charted Accountants, ICWA Grads are also certified professionals
only, who just got certified.

On the IT front, I have seen people who have finished their
certifications for the sake of it, and there are those which have real
value. One of the real value certifications is Oracle Certified Java
Enterprise Architect. A certification that becomes junk if not
properly done is - Oracle Java Application Developer Certification.
Both of them from the same stable. These are just examples. There
should be tonnes of others out there. There are others, which only
when you cross, would you under the concept at all. You don't have to
write the certification, but once you learn it - why not? Eg: TOGAF.

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


Re: [Ilugc] SQL Injection vulnerability in Ruby on Rails forces websites to close down

2013-01-10 Thread Natarajan V
On Jan 10, 2013 11:50 AM, "Arun Khan"  wrote:
>
> On Thu, Jan 10, 2013 at 10:49 AM, Natarajan V  wrote:
> >
> > As I was telling Karthick during my session, you can never assume that
> > your code is secure just because you are using some framework. You
> > should always do your home work, and whatever measures that the
> > framework takes, can be broken by a very very stupid programmer :D
>
> ^^^
>
>
> I did cursorily look at the referred links and did not come across any
> mention about the flaw being attributed to "stupid programming"
>
> If a bug is a way to judge our programming abilities, then all of us
> are "very very stupid programmers"
>
> -- Arun Khan
>

Context: during my session on security, some one told me that since RoR
takes care of security, they care the least about it and code at will. My
point is you will make a mistake if you really don't worry about security.
Sorry for the miscommunication.

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


[Ilugc] SQL Injection vulnerability in Ruby on Rails forces websites to close down

2013-01-09 Thread Natarajan V
Hi,

A major security vulnerability found in RoR has forced a government
website to close down. The vulnerability exists in ALL versions of RoR
unless you upgraded in the last two days.

Some Links:
http://blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-here-are-the-facts/
http://it.slashdot.org/story/13/01/09/1557235/ruby-on-rails-sql-injection-flaw-has-serious-real-life-consequences
https://groups.google.com/forum/?fromgroups=#!topic/rubyonrails-security/61bkgvnSGTQ

As I was telling Karthick during my session, you can never assume that
your code is secure just because you are using some framework. You
should always do your home work, and whatever measures that the
framework takes, can be broken by a very very stupid programmer :D


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


Re: [Ilugc] My old slides

2012-12-03 Thread Natarajan V
On Tue, Dec 4, 2012 at 11:18 AM, Girish Venkatachalam
 wrote:
> Someone I think Natarajan V had asked about the slides of my ILUGC
> seminar on Sep 11, 12 2010.
>
> I found them.
>
> http://spam-cheetah.com/ilugc2010septalk/

Thank you sir.

> I am so quick after all. I think Natarajan asked it more than a year ago.


It's never too late.


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


[Ilugc] Application Security - Further Reading

2012-11-17 Thread Natarajan V
Hi,

In continuation to the yesterday's session, you can find extra reading
material in the following sites:

https://www.owasp.org/



Also, I mentioned that I don't remember the Open Source
implementations for the SSO/ Revers Proxy. The complete list is here:
http://en.wikipedia.org/wiki/List_of_single_sign-on_implementations


HTH.

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


Re: [Ilugc] Video Streaming Youtube

2012-11-04 Thread Natarajan V
On Sat, Nov 3, 2012 at 7:48 PM, Balasubramaniam Natarajan <
bala150...@gmail.com> wrote:
> When I try to watch a video on my ipod touch the video never takes time to
> buffer and the quality is also really good,

This is because your ipod touch and other smart phones have much lesser
pixels.

> However when I try to do the
> same with my laptop on the same internet connection it takes lots of time
> for buffering, When I reduce the picture quality to less than 360 then it
> work fine however the quality of the picture is lost.

That's because you are trying to extrapolate lesser pixels onto a larger
number of pixels.

> How can I get to
> play the same video on my lapi without the buffer time ?

Option 1. Upgrade to a faster internet connection.
Option 2: try using a lower resolution monitor
--
Natarajan

PS: This post should have been [OT]
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] MySql data vanishes when tomcat is restarted

2012-09-04 Thread Natarajan V
On Tue, Aug 28, 2012 at 6:08 PM, Raju s  wrote:
>> We have found that MySql is going to autocommit=false mode and storing the
> data in buffer.
> This we checked thro' other connection. When we made con.commit then the
> data is stored in MySql
> We have not initiated any transaction or set autocommit=false. How MySql
> switches to that mode?


If I understand correctly, you loose data when you have simultaneous
users. If that is so, then, please check if you have any static
classes / singleton objects / Enum Singletoms? It might not be a MySQL
problem, but a Java coding issue.

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


Re: [Ilugc] [ILugC] XML processing

2012-06-20 Thread Natarajan V
On Wed, Jun 20, 2012 at 12:33 PM, Yogesh Girikumar
 wrote:
> Which is better to process streaming XML? (e.g. RSS)  SAX or DOM? Why?
Is your XML of unlimited size and keeps streaming in? Or is it a tiny
XML such as those RSS in news websites?

If it is continous and non-stop/ huge (of the order of 1 Mb), shy away from DOM.

> I read up a bit on SAX and here's what the Wikipedia article says;
> "Where the DOM operates on the document as a whole, SAX parsers
> operate on each piece of the XML document sequentially."
>
> Does it mean that DOM reads the whole document before processing it?

Yes, DOM reads the entire XML, converts it into objects, and is very
often implemented using a nested hash-map. It is quite heavy on
memory. BUT, it is quite usefull in terms speed of development and the
ability to enrich (edit) the XML. SAX on the otherhand is read only.

DOM and SAX are not the only options. There is a StAX parser as well.

DOM is object oriented
SAX works on Tag events (read only)
StAX is a "pull" parser (read only)

Also note, now a days, there are tools, at least in the Java & .NET
world, where you supply a XML Schema, and the tool would create a
corresponding object representation (Similar to a Struct in C). You
can then import the generated code into your application and use a
list [array] of the generated objects. It can read as well as create
the XML. There won't be any code in your application to read the XMLs.
These would be externalized into those XML libraries. Eg. JAXB.


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


Re: [Ilugc] linuxpert baskar at kalaignar tv

2012-04-16 Thread Natarajan V
On Mon, Apr 16, 2012 at 12:23 PM, Yogesh Girikumar
 wrote:
> On a side note, I'm also wondering what's so "creative" about presenting
> news! :)

Try being a journo for a day.. Take care of people's sentiments, and
prepare yourself backlashes... Decide what you want to censor and what
not to. Read about how the news was presented on the day "Mahatma" was
killed. And always be politically correct.

There you go. you have now become very very creative :-)


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


Re: [Ilugc] [OT?] Many sites not opening - BSNL BB

2012-04-01 Thread Natarajan V
On Sun, Apr 1, 2012 at 8:08 PM, Girish Venkatachalam
 wrote:
> On Sun, Apr 1, 2012 at 8:01 PM, Natarajan V  wrote:
>> On Sun, Apr 1, 2012 at 12:48 PM, Akilan R  wrote:
>>> On Sun, Apr 1, 2012 at 11:33 AM, Natarajan V  wrote:
>>> Set MTU to 1452 and check if the sites load.
>>>
>>
>> Great! That worked. Now, let me try to find out how that happened :-)
>> Thanks a lot!

Well, this documentation seems to be concise enough:
http://www.dslreports.com/faq/695

The following is what *think* might have happened.
MTU is largest size of each packet. The default value is 1500. But
seems like this size is too big for some networks. When I observed
more closely, some sites just didn't load at all. The othersites (such
as thehindu & slashdot), start to load, and they keep waiting for
ever. The site has been waiting indefinitely for some content to be
loaded from other domains whose routes accept smaller than 1500.
That's why some sites stopped loading midway, while others never
loaded at all.


>
> I see. Such pointed tech answers are rare in LUG.

Don't you remember that iLugC is one of those rare LUGs where you do
get such answers :-)

> However this is bad advertisement for Linux.

No it isn't. It's just a good documentation for others who might also
face a similar problem.

> How can something so silly bite you?

:(
1. Am not a network-admin, but more of an App Developer
2. I couldn't relate the symptoms with the cause.


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


Re: [Ilugc] [OT?] Many sites not opening - BSNL BB

2012-04-01 Thread Natarajan V
On Sun, Apr 1, 2012 at 12:48 PM, Akilan R  wrote:
> On Sun, Apr 1, 2012 at 11:33 AM, Natarajan V  wrote:
>
>> I have a BSNL BB connection connected to a PC and a Laptop through an
>
> [snip]
>
> Set MTU to 1452 and check if the sites load.
>

Great! That worked. Now, let me try to find out how that happened :-)
Thanks a lot!


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


Re: [Ilugc] [OT?] Many sites not opening - BSNL BB

2012-04-01 Thread Natarajan V
2012/4/1 "ம. ஸ்ரீ ராமதாஸ்" :
> On 04/01/2012 11:33 AM, Natarajan V wrote:
>> Is there a
>> way to confirm this? If that is the problem, is there a way to
>> circumvent the same?
> set google nameservers (8.8.8.8, 8.8.4.4) or some other credible in
> /etc/resolv.conf
>

Thanks. I don't have issues with name servers. Infact, I have Google
nameservers added. Routing seems to be troublesome. Infact some sites
without any names, but just IP addresses (some BSNL Directory lookup
sites) also dont work.


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


[Ilugc] [OT?] Many sites not opening - BSNL BB

2012-03-31 Thread Natarajan V
Hi,

Am not very sure if it is an OT. But potential
solutions/troubleshooting guide could be of help.

I have a BSNL BB connection connected to a PC and a Laptop through an
ADSL router NATed to a NETGEAR WiFi router. The PC runs on Kubuntu
10.04 64 bit and the laptop runs on Kubuntu 9.04 32 bit. The browsers
that I tried are FireFox 11, Opera 11.62 for Linux, Google Chrome,
Konquerer, links, lynx, etc...

Some of the sites such as icicilombard, slashdot, some of my corporate
sites, hotmail, yahoo mail, the hindu, etc.. aren't accessible. Some
of these sites stop loading midway, while someothers do not respond
(timeout). I ran a traceroute to these sites and the response is
similar to the results from www.tracert.com. When I try to connect to
the internet through my Airtel 2G (laptop connected to cellphone),
these sites open up. I tried to open these sites from my brother's
place, which has BSNL BB (different telephone exchange)  connected to
Kubuntu 32 Bit 11.10. These sites open without issues. I also verified
if there are issues with the DNS servers, and confirmed that it isn't.

This makes me think that there is some problem with the routing of the
BSNL routers in my exchange, or an issue with my router.. Is there a
way to confirm this? If that is the problem, is there a way to
circumvent the same?


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


Re: [Ilugc] when does kernel send SIGHUP

2012-02-17 Thread Natarajan V
On Fri, Feb 17, 2012 at 2:27 PM, kumaresan chandran
 wrote:
> Actually i am not running in Terminal mode. I have script running in back
> ground mode.
>

SIGHUP stands for SIGnal HangUP. It means that the connection between
the terminal and the server has been disconnected. It could also mean
that the terminal that you have running is closed (explicit / timeout/
something else)
Ref: http://en.wikipedia.org/wiki/SIGHUP

You get the signal, if your process is "tied" to a particular terminal
and the terminal is terminated (pun intended). This happens even if
the process is in the BG. To avoid this, you can try one or more of
the following:


$ nohup hello.sh &


$ nohup hello.sh
^z
$ bg


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


Re: [Ilugc] Call for Speakers

2012-02-03 Thread Natarajan V
On Fri, Feb 3, 2012 at 7:18 PM, Shrinivasan T  wrote:
> We have our feb month meet on feb 11, 2012
> Please give your support on getting speakers.
> Give the topic, description, duration, links to read, about speaker.

A sugestion/ Request:

Can we have someone who can explain how they are "using" their linux
desktop for their day today operations? The more novice and
non-technical it is, the better. Infact, it would be good if you can
explain how you use your Linux for non-programming/ non -
experimenting purposes, but for more "normal"(Read: non-techie)
desktop purposes - such as browsing, gamming, chat/mail, watching
movies, accounting, DTP,keeping the system updated,  a little
"Advanced" photo/video/audio editing, etc?

Any takers? Perhaps, you can encourage your siblings/parents who were
"forced" to use your Linux box and has started liking it in the long
run to present this.

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


Re: [Ilugc] impress.js - javascript based presentation tool

2012-01-03 Thread Natarajan V
On Tue, Jan 3, 2012 at 8:15 PM, Pratap Chakravarthy  wrote:
> I have written a wiki processor eazytext to translate wiki-text
> to HTML whose rendering, look and feel, is fully customisable with CSS skins.
> I was kind of wondering, if we apply both JS and CSS, as a theme, on the
> generated HTML can we make the HTML to behave like a presentation.



Have you had a chance to look at Tiddly Wiki? Works completely in
HTML/JS/CSS. Converts Wiki to HTML,  comes as a single HTML File
:-)


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


Re: [Ilugc] [TIP] perl tutorial VII (perl tricks)

2011-12-10 Thread Natarajan V
On Sat, Dec 10, 2011 at 3:16 PM, Balachandran Sivakumar
 wrote:
>> An illiterate will (almost always) write horrible poetry. This is a highly
>> subjective (and highly inflammable ;) ) bait. Perhaps you're judging perl
>> by your (or your peers') inability to write elegant code? A sword, to a
>> Samurai, is more elegant than a pistol.

Warning: ThreadJacking :-)
A related article in SlashDot recently...
http://developers.slashdot.org/story/11/12/09/1533252/java-apps-have-the-most-flaws-cobol-the-least

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


Re: [Ilugc] Connect to Oracle database from linux command line ?

2011-12-05 Thread Natarajan V
On Tue, Dec 6, 2011 at 9:37 AM, Mohan L  wrote:
> On Tue, Dec 6, 2011 at 7:28 AM, Karthikeyan S  wrote:
>> Is it possible to connect to Oracle database from Linux command line ?

Yes. SQL*Plus and SQL*LDR are the Oracle command line tools available
on all platforms including Linux. The command names would be "sqlplus"
- for normal query and results and "sqlldr" for bulk data loads from
flat files(AKA  ETL) .

> Read the following post.
> 1). Shell Scripting for the Oracle Professional  :
> www.dba-oracle.com/Shell-Script-sec.pdf
> 2). Unix Shell Script to Execute Oracle SQL Query :
> http://www.thegeekstuff.com/2010/07/unix-shell-script-to-execute-oracle-sql-query/

Good documentation. It describes how to access Oracle from a Shell
Script. If you just want to use it as querying tool, you can skip the
script and use the SQLPLUS directly.


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


Re: [Ilugc] Comparing programing languages [was: perl OO]

2011-12-04 Thread Natarajan V
I think, this thread is slightly moving away from Linux and moving
towards programming skills and hiring. Should we tag it as [OT]?

On Sun, Dec 4, 2011 at 10:42 AM, Suraj Kumar  wrote:
> Measuring one's language skills is of use only for gauging if the
> candidate might be useful to fulfill, also, the short term needs (which,
> usually, is to maintain/extend/fix an already developed solution).

Agreed.

> Measuring based on language skills is of only a cosmetic use from the point
> of view of hiring a long-term asset for a company.

+1

> Perl (or C, for that matter) doesn't lay out things on a plate. Perl
> requires understanding of core OS concepts before one can build real world
> applications for use in a production environment.

I Agree, and agree to disagree as well :-)
I agree that you need to get your OS fundamentals strong if you really
need to code well in C/PERL. The disagreement is on the fact that when
I want someone to be strong in Fundamentals, OS Concepts are NOT the
only fundamentals. Linking back to your homepage - System Thinking is
a good example of fundamentals.

> PHP, Java, etc., OTOH,
> makes it infinitely easy for anybody to program and build seemingly real
> world applications, allowing all sorts of people to write all sorts of
> things and still get away with it. In Java, it is the VM that externalizes
> problems, as though, it is someone else's to handle.

Again, Agreed and disagreed. I agree that Java, .NET and to some
extent PHP, and others as well, do hide the OS implementations. This
doesn't mean that I can write rubbish and expect the VM to take care
of everything. A well experienced Java (or .NET) guy can guide you
though how a memory leak could occur in a Java program, how to use a
profiler to debug the memory leak, how threads get tangled causing
deadlocks, etc... Sounds familiar?

As I said earlier, we try to solve a different set of problems with
different tools. We don't necessarily take care of freeing up the
memory in Java, as we do in C. But, this doesn't mean that you can
create anything you want. We still need to make sure that the Garbage
Collector (GC) will be able to handle the memory on it's own, by
coding correctly. A bad programmer will be the same across all
languages.

> I meant to say, thus, if you come across a perl programmer who has built
> real world applications, chances are their fundamentals will be strong
> (which, of course, you'd be testing in the interview). Their fundamentals
> are strong because the language forced them to rethink their approach at
> every juncture of their own skill development.

The definition of what you mean by fundamentals makes a difference
here. I would go down to "Systems Thinking" for example as a
fundamental. OS Concepts, ... well an extremely added advantage?
Unfortunately, *Nix and other "time shared" scheduling OSs are not the
only one type lying around.


> That said, likewise, one
> also comes across a whole bunch of "perl scripting" people who have not
> written anything more than 300 lines of relevant code... but then, again,
> it is very easy to spot them.

Spot on. Agreed +1

How come the candidates who come for interviews, never even realize this?

>> IMHO, the problem isn't with Java/Perl, its a problem with your
>> question paper / interview panel.
>
> Absolutely agree. But tell me, from your experience, do you have a perfect
> interview panel who all ask relevant, core testing questions? :)

pass :-)
Actually, I have had identifying good panelists for myself.

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


Re: [Ilugc] [TIP] perl tutorial II (conditionals and looping)

2011-12-03 Thread Natarajan V
On Sun, Dec 4, 2011 at 7:50 AM, Suraj Kumar  wrote:
> it depends on the program's
> context... and program's context is entirely dependent on the programmer.

++1000... :-)

> More than raw language skills, good practices make good programmers.

+1
I think, I should have combined this statement in my other mail with
the subject - "Comparing programming languages".

In my definition, A good programmer is one who, with the given
circumstances, writes a code that optimizes readability, time and
space complexity and maintainability.

Anyone who tries to showoff their skills, by writing cryptic logic, is
surely a villain in my team.

There would be trade offs at some situations. For example, if you try
to look at the Kernel Source Code (Linux of course), there are a
few^H^H^H many places where the code is written in ASM. But, the
comments above it would give the "C" equivalent of the ASM code. That,
my friends is a one great programmer :-)

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


Re: [Ilugc] Comparing programing languages [was: perl OO]

2011-12-03 Thread Natarajan V
> On Sat, Dec 3, 2011 at 9:15 PM, Suraj Kumar  wrote:
> > On Sat, Dec 3, 2011 at 4:52 PM, Girish Venkatachalam <
> > girishvenkatacha...@gmail.com> wrote:
> I would partially agree with you that object oriented programming (the way
> it is done in Java) makes it possible for anybody and everybody to "get
> their job done" -

I think, we are comparing Apples and Oranges here.  (See below)

> which is also bad from the point of view of building
> teams and organizations

I beg to disagree here. Perl, C++ and Java were created for different
purposes/problem spaces. It would be better if we choose the right
tools for the right purpose. PERL/ C++ / Java have inbuilt libraries
and constructs for different purposes. So if in their solution space,
they find that "A" is very repetitive, they build a library/construct
for that. If PERL thinks "A" is not the problem, but "B" is, you get a
different building block in PERL. So, when you use PERL/Java/C++ you
should know what building blocks are available, and what aren't. Then
fill the gaps with your brains.

A house can be constructed using wood, clay, clay bricks, hollow block
bricks, steel and glass, etc... The problem is same. The solution
space is different. The problem that needs to be addressed by the
developer differs. He will have a different set of problems to solve
in each of the solution spaces.

As I said in one of my previous mails, A language is just a language.
Its your ideas that become programs. If I allow any North Indian
Politician to contest in elections in Tamil Nadu, would s/he not talk
a few words in Tamil? Frankly, its not very different in programming
languages.

Each language has its own nuances and abilities. A "good" programmer
will try to utilize the tools to the best possible extent.
//வல்லவனுக்கு புல்லும் ஆயுதம்//

From a hiring perspective, am not sure why people are obsessed with
the mastery over the syntax of the languages. This also creates a
problem, when you frame a question that is applicable for PERL and not
very applicable for Java. We have to understand that programmers are
not a single breed. Everyone specializes/has interests in particular
areas.You can't compare a OS programmer, with a Game developer, with
an enterprise application developer, with a mashup developer (What is
a Mash up?). Am sure the Mashup developer would have the least clue of
what it takes to sort objects in Java/ Perl.

> (very difficult to gauge one's programming /
> analytical capabilities). Perl, that way, is a very useful tool for
> filtering out and hiring the best.

IMHO, the problem isn't with Java/Perl, its a problem with your
question paper / interview panel. As I said earlier, a language is
independent of analytical skills. Why not frame your questions in such
a way that they don't have to write programs, but provide you with
algorithms instead?

>> But in perl it is nice and simple.
Let me fix it for you, "But PERL is nice and simple " :-)

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


Re: [Ilugc] problem in connecting internet via terminal

2011-12-01 Thread Natarajan V
On Thu, Dec 1, 2011 at 7:13 PM, Shrinivasan T  wrote:
> On Thu, Dec 1, 2011 at 7:01 PM, Dinesh Infotech  wrote:
>> thanks for all who replied for my mail regarding installation error
>> today only I found that some problem in connecting internet via terminal,
>> eventhough  proxy address and port no. is correct..

In a corporate setup, the port used for ping is usually blocked in the firewall.

> Is it possible to browse internet from browser using the proxy settings?
> If so, the proxy/firewall admin may blocked the ping.
>
> try an console based browser like lynx or links.

If you couldn't get lynx installed, try "links" or "wget". infact wget
would be easier, as you can set the proxy settings easily through the
command line.

For lesser beings, like me, who are stuck with M$, with no
links/lynx/wget/ping, what we do is this:

telnet  

if there is a proxy inbetween

telnet  
and then use it to connect to the actual term. (WGET is far easier)


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


Re: [Ilugc] Audio is not clear in ubuntu 11.04

2011-07-30 Thread Natarajan V
On Sat, Jul 30, 2011 at 2:02 PM, Elango Rangan  wrote:
>         I am using Ubuntu 11.04. Audio is not clear while playing any music, 
> videos etc., I also tried alsamixer in terminal to adjust the settings, but 
> still the problem exists.
> If i watch any video clips online the sound is not working. Is there any 
> solution? I know that Ubuntu doesnt want to install any sound drivers, its 
> all built-in.
>
> Solution please!

More details please!

What's your hardware? Processor, RAM, Audio/motherboard?

Is it a kind of static that you are listening or is it crackling? Try
out a different set of speakers (headphones,) and check if they
are alright.

Also, I have noticed that having your mic, front mic and line in
unmuted also causes static... try muting them.

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


[Ilugc] Slides from the networking seminar of 2007 - anyone?

2011-07-28 Thread Natarajan V
Hi,

Back in 2007, Girish gave a very detailed session on networking for
two days. Though I wasn't able to attend the seminar, the slides that
Girish had prepared ( I thik T Srini also gave a helping hand) was
very deatiled and helpfull.

I was talking about this session to some of my friends and there is a
renewed interest in the topic. I was searching for the slides from
that session and hit a dead end, except for this:
http://article.gmane.org/gmane.org.user-groups.linux.ilugc/41725/

But, unfortunately the 200 odd slides presented on those days are not
accessible anymore. Does anyone - Girish/ Shrini / Others still have a
copy of the same? It would be wonderfull, if it could be shared again.


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


Re: [Ilugc] Which is best IDE

2011-07-15 Thread Natarajan V
On Fri, Jul 15, 2011 at 6:35 PM, Nataraj S Narayan  wrote:
> HI Natarajan
>
> On Fri, Jul 15, 2011 at 12:42 PM, Natarajan V  wrote:
>> Well, when I said that statement, I had already worked on VB, VC++,
>> Macros, eMbedded VC++,  Unix C++, PHP, PERL, Java, Delphi, Oracle
>> PL/SQL, DB2, MS SQL SP, SCHEME, Unix Shell Scripts, and a few names
>> that I forgot. All this across various OSs (DOS, Windows, AIX, HP UX,
>> Solaris, Various flavours of Linux, Windows for Mobile, etc..)

Forgot Mainframes and COBOL as well.


> You ought to be pretty old guy by now! In your seventies?

well.. am old enough for being one of the earliest members of the LUG.
But am at least 40 years younger than what you expect me to be :D

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


Re: [Ilugc] Which is best IDE

2011-07-15 Thread Natarajan V
On Fri, Jul 15, 2011 at 3:52 PM, ashwin kesavan  wrote:
> On 15 July 2011 14:01, Natarajan V  wrote:
>> . In fact, if you learn to code properly, even the language is not a barrier 
>> :D (Do
>
> syntax of language Y when asked to switch to language Y. So in the end
> he would not have utilized real stuff behind language Y.


Well, when I said that statement, I had already worked on VB, VC++,
Macros, eMbedded VC++,  Unix C++, PHP, PERL, Java, Delphi, Oracle
PL/SQL, DB2, MS SQL SP, SCHEME, Unix Shell Scripts, and a few names
that I forgot. All this across various OSs (DOS, Windows, AIX, HP UX,
Solaris, Various flavours of Linux, Windows for Mobile, etc..)

I repeat, when you learn to code properly, you don't have a language
barrier. But, you are more worried about the syntax.

Consider a carpenter. a Good one. If he is well versed in his skills,
would the tools, electric/ CNC/ manual stop him completely? He
wouldn't bother. He might strugle a bit, but evantually he will get
along. Polititians who make public speachs in various langugages are
also a good example. They might not be perfect, but they get the job
done. At the end of the day, thats what matters more.

Let me tell you a story that I heard long ago:

A ship was caught in a storm. The captain was old and weak. Each of
his subordinates boasted that they could tie a particular type of knot
and they are very good with it. And each one of them took turns to try
their luck, in vain.

Finally, the captain put a knot and saved the ship. He then said that
he is not as strong as others and the knot that he tied wasn't as
strong as the others might have been capable of. But his version
worked. By knowing what works where, and applying the logic correctly
actually helped him to save the ship :-)


Learn to code, Syntax is secondary.

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


Re: [Ilugc] Which is best IDE

2011-07-15 Thread Natarajan V
On Fri, Jul 15, 2011 at 11:36 AM, ashwin kesavan  wrote:
> true linux geek feel commnad line is lot better than GUI. I think you
> are a or aspiring Linux geek which is why you are asking in this M/L.
> So one more reason to use vim.

I don't care if someone is a geek or not. But, I do care if someone is
productive enough. For being extreemly productive, it would be nice if
the person can learn to use whatever tool that comes their way. Even
if nothing fancy exists, you should still be able to do the job.

Vim is a great tool. I agree. But, don't disregard the IDEs. I don't
use IDEs for just syntax highlighting and auto indentation. these have
a lot more features. To start with, how do you like to know your
compilation errors, bad coding practices (static code review), dead
code etc.. as you type (even before you could save it).


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


Re: [Ilugc] Which is best IDE

2011-07-15 Thread Natarajan V
On Fri, Jul 15, 2011 at 11:08 AM, srinivasan kadn
 wrote:
> I am new to JAVA Application developer.

Welcome to the club :-)

> Either NETBEANS or ECLIPSE.

I would suggest that you learn the language and "proper" programming
first. An IDE is just a tool.

With almost 10 years into Java, I care the least about which IDE I/ my
people use. I go with whatever is available at that particular moment.
This includes Eclipse and variants of Eclipse, NotePad++, Kate, VI,
sed, grep, spreadsheets (!), Netbeans, and so on...

If you are clear in what you want to develop, the tool is just an aid.
And, switching between Eclipse and Netbeans is not a big deal at all.
So don't worry much about the tool. Just learn to code. In fact, if
you learn to code properly, even the language is not a barrier :D (Do
politicians hesitate to speak in a new language that they have never
learnt?)

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


Re: [Ilugc] Is it legal to host a webserver in domestic broadband plan

2011-07-11 Thread Natarajan V
On Thu, Jun 30, 2011 at 1:43 PM, Kenneth Gonsalves
 wrote:
> if you do not use version control, it is not software.

+1


Problem is with the Indian way of Schooling:

In a train the trainer program, a "professional trainer" asked us,
what is Source Control? why should we use it? Why do you guys mandate
it?



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


Re: [Ilugc] web testing

2011-06-15 Thread Natarajan V
On Wed, Jun 15, 2011 at 3:34 PM, RAKESH KUMAR  wrote:
> it would be grateful if some1 could help me with manual web testing
> methods,test cases, etc.,

It would be good if you could spend a little more time in your email,
and make it formal. You shouldn't be using SMS/Chat language in this
kind mailing lists. Rest assured, you will be ignored/ banned when you
try again.


On testing; there isn't anythign specific to manual testing (aka
Functional testing) of web applications. For testing any application,
web/ native, you start with a Test Strategy and a test plan followed
by a test case for every possible scenario. Each test case will have a
collection of steps. These steps indicate every action that you do.
For example (user logon):
1. Open the home page of the applicaiton in FireFox
2. Enter XYZ as the user name
3. Enter ABC as the password
4. Validate that the application refuses to log you in
5. Validate that when you type this URL <>, it refuses to show the page,as you are not logged
in.

You pick up the scenarios from your requirements documents (Use cases,
user stories, etc..) and make sure that you have covered all the
scenarios.


if you are a part of an existing team, they will already have a
template for each of the aforementioned documents. if you are looking
for guidelines for acadamic purposes, you have a tonne of search
engines, that can help you out.

HTH

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


Re: [Ilugc] Could not connect to internet in debain 6

2011-05-18 Thread Natarajan V
On Wed, May 18, 2011 at 8:54 PM, sri vats  wrote:
> internet.Do i have to configure anything to connect.Any help would be
> appreciated.

By providing more detailed information, you will help us to help you.

1. How do you want to connect to the internet? - Dialup, Broadband
using PPP over Ethernet, Broadband using ethernet (password on
router), Broadband using USB Modem/ USB Router, Wireless?

2. What have you tried to do so far?

3. What is the Windowing system are you using? (GNOME/ KDE/ ...?)

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


Re: [Ilugc] jboss usage

2011-04-28 Thread Natarajan V
On Thu, Apr 28, 2011 at 7:52 PM, Raajhesh Kannaa
 wrote:
> Primary : How far is the usage of 'jboss' in the industry.

Rephrase: What is JBOSS?
JBOSS is one of the many implementations of a Java Application Server.
The Java Application Server is a "Open Standard" and there are many
implementations to the same. JBOSS, Glass Fish, TomCat, etc.. are a
few open source implementations, while WebSphere and WebLogic are
examples of a closed source implementation. If you know one, you
automatically know about 80% - 90% of the others.

> 1) Just wanna know if its worth doing the certification as of now. (I
> know its worth doing any cert) I am mentioning at this time.

Do you want to be a JBOSS administrator or do you want to be a JBOSS developer?
If you are a Developer, you need SCJP, SCWCD and SCBCD.
Either way, a certification without actual hands on, is worthless.
Having been in many interview panel my self, its very easy to
differentiate a person with a certificate created out of the "dumps"
and actually knowing nothing.

> 2) Which or who are the organizations and for what 'jboss' is used.
See my first answer. It doesn't matter if JBOSS is used or not. Your
expertise can be used in any organization where a Java Application
server is used.

> 3) How will the opportunities be once i have done the cert.
See my answer to 1.

HTH,

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


Re: [Ilugc] too much policing?

2011-04-27 Thread Natarajan V
On Wed, Apr 27, 2011 at 6:54 PM, Guruprasad  wrote:
> person to use the correct posting style, I guess it would be read, as
> it is a reply to *their* post. We try to remind people about the
> mailing list guidelines so that they can learn from their mistakes,
> instead of the ideal 'learn from others mistakes'.

I have been trying a lot, not to get into this thread. But here goes  :-)


I use GMail, both through web, as well as through KMail. I am a member
of this group since 1998 or 99 albeit mostly silent.


I appreciate the efforts made by a few to have this list as clean as
possible and also educate the new joiners. Good work.

Having said this, I should also say that, it gets plain
boring/considered Spamming/ Irritating, to see the same reply of
"Follow the rules" in 10 different threads, on the same day!
Sometimes, out of personal experience, some people send such "follow
the rules" mails, without even reading the context or checking if the
mails are really following the guidelines.

When a newbie comes and asks a (stupid) question, we generally ask him
to go and search. --> This is GOOD.

When someone else, with not so good experience in moving with the
group, particularly when the language is not up to the mark, we ask
him more questions and help answer the same. Sometimes, the tone is
harsh, but its still acceptable, as we are still helping him/her.

When the same person (as described above), forgets to follow the
rules, we just jump on him/her and scare him/her from asking
questions. Or otherwise, we just irritate them. This IMHO, is not a
good idea.  The best option would be to leave that "policing" (for
want of a better word), to the person who is genuinely trying to
answer the question.


Scenarios:
A, B and C ask some stupid questions/ top posts
P, Q and R are the responders.

P sends a reply to all the 3 threads started by A, B and C, asking
them to follow the rules, without even reading the contents of the
email.

Q Sends a private email with the same "follow the rules"

R sends a genuine reply to the query sent by C, but also advices that
he will stop responding if C doesn't follow the rules in his/her
reply. R does not care about A and B.

In my personal opinion, I consider P as more of Spamming, Q a bit more
OK, but still a "Big Brother", while R to be a "good friend". And, I
think, "R"'s approach would be more healthy than P's. Q's approach is
less irritating to others, but, people have filters :-).

There is one more reason, why P's approach is a bad idea and in fact a
SPAM. When I search for similar queries before asking, I see this
thread X, with 1 reply (in a threaded view). I get excited and open
it, and only to find that it is a "follow the rules" mail. which is
really frustrating, amounting to trolling/spamming.

Now, there is a "D" who is a repeat offender. Kicking him/her out of
the list is a "good idea".

No personal offences meant. Request you to kindly take it in a healthy sense.

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


Re: [Ilugc] Quoting own mail Deployment of java key store

2011-04-18 Thread Natarajan V
On Mon, Apr 18, 2011 at 1:35 PM, Guruprasad  wrote:
>
> Why are you quoting your own reply?

Well, I had replied to Zico on his ID alone, and then realized that
the group was not in copy. So, i forwarded the same mail, with a note
on the top. I guess, you did not notice my note.


Did not notice that the group wasn't copied. Pls find my reply:

Zico: Please avoid "Reply To All".



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


Re: [Ilugc] Deployment of java key store

2011-04-17 Thread Natarajan V
Did not notice that the group wasn't copied. Pls find my reply:

Zico: Please avoid "Reply To All".

On Mon, Apr 18, 2011 at 11:04 AM, Natarajan V  wrote:
> On Mon, Apr 18, 2011 at 12:35 AM, Zico  wrote:
>> On Sun, Apr 17, 2011 at 12:39 PM, Natarajan V  wrote:
>>>
>>> I think, you should explain the problem a little bit more in detail.
>>> What exactly is the server running on?
>
> I am going to repeat the question. What is your server? TomCat?
>
>> I new to renew the cert of my server, which I renewed from CAcert.org. Here,
>> I want to add one that, java is there in that server anyway.
>
> Java will be in almost every server. Are you using a Java based
> server, such as TomCat/ JBoss/ SunOne/ Websphere/
> Weblogic/GlassFish/?
>
>> Now, I have new jks which consists of newer data and time and address of
>> this server. I have generated jks, now I need to deploy these jks there in
>> that server, may be I have to use "keytool" or something like that. I am not
>> sure.
>> My question is: I have those jks which consists of latest data,time, private
>> key of that domain and cert certificate. Now, I need to deploy this jks
>> there in that server ( which domain name has been renewed ). I am not sure
>> how can I do that, so any kind of help regarding "jks implementation" is
>> needed.
>
> Now that you have a JKS file, you need to tell your Server to use the
> JKS file for all SSL connections. How exactly you do that depends on
> what server you are using.
>
> Some links through a popular search engine:
>
> Generic:
> http://download.oracle.com/javaee/1.4/tutorial/doc/Security6.html
>
> TomCat:
> http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html
>
>
> If you are using any other server, just search for "install ssl
> certificate java "
>
>
> hth,
>
> Natarajan
>
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Deployment of java key store

2011-04-16 Thread Natarajan V
On Sat, Apr 16, 2011 at 8:53 PM, Zico  wrote:
> Hi, I am in a little bit "unknown" condition! I have created one jks ( java
> key store ) for one of my server, with which I need to update that server's
> keystore. I have that jks file. But, that server is not a web server, that's
> why it does not have any java, apache or tomcat!

I think, you should explain the problem a little bit more in detail.
What exactly is the server running on?

Apache is not a Java WebSerer, and so has nothing to do with JKS.

Tomcat, JBoss, etc... are all Java based webservers and require a JKS
for the security.

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


Re: [Ilugc] Google Earth on Linux Gui for python

2011-04-05 Thread Natarajan V
On Wed, Apr 6, 2011 at 10:10 AM, senthilraja P  wrote:
> start with..  i think google earth is developed in wxPython.. Can some one
> pls confirm this?

I had downloaded googleearth 64 bit today.  And from the below thread,
I think, it has nothing to do with Phython. I Found no Phython scripts
in the installation.

http://www.google.com/support/forum/p/earth/thread?tid=144696eab7d5a9c7&hl=en

[OT]
Picassa on Linux runs on an embedded wine
[/OT]

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


Re: [Ilugc] java program

2011-03-26 Thread Natarajan V
On Sat, Mar 26, 2011 at 9:20 AM, kani mozhi  wrote:
> the modules are full of java source code i download it from free java online
> projects website it shows some error while executing .

Are you in your college / in-house training of a company?

Anyways, I think, you should do a little more homework and explain it
more accurately for us to help you.

1. If am not wrong, you are working on a J2EE Application. What is the
app server that you are using? (TomCat, JBOSS, GlassFish, ...?)
2. Have you ever tried writing a Hello World Web Application with that
server? (If NO, first do that before you attempt this).
3. How are the modules organized? What does each module do? Is it a
helper class or a set of JSP/JSF pages? What exactly are there in
these modules?

If you can get some answers to these, your actual question would be a
little bit more accurate. We are at a loss of what exactly do you want
us to help you in.


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


Re: [Ilugc] Counting single & multiple comment lines in java

2011-03-26 Thread Natarajan V
On Sat, Mar 26, 2011 at 9:20 PM, d.rajkamal  wrote:
> Sir/Madam,
>      my actual problem, i need to calculate metrics of java program, (i
> getting java source code as input), i need to count comment lines n java
> program(both single and multiple), and in multiple comment to count how many
> lines in it, is there any specific class in java for this purpose or any
> idea about it??

Raj,

There is a tool called Java NCSS[1] ( which will do exactly the same
thing that you want to do. It's a open source tool and you can get the
sourcecode of the same and see how it is done. There is also a mailing
list and a source repo. so you can start contributing by fixing a few
defects for them :-)

1. Java Non Commented Source Statements - http://javancss.codehaus.org/


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


Re: [Ilugc] Minites of Meeting - Feb 2011 Meet

2011-02-24 Thread Natarajan V
On Thu, Feb 24, 2011 at 5:44 PM, Yogesh Girikumar  wrote:
> Do we have the slides of the photography session. Or a small writeup on what
> is what. I regret for not having attended this one.
>
Well, I was not using any Slides. I did the presentation using Gimp
directly. Apparently, did not do a good job of it as well ;-)

Shrini suggested that we can organize a Gimp Workshop. We would
require more volunteers as well.


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


Re: [Ilugc] Minites of Meeting - Feb 2011 Meet

2011-02-24 Thread Natarajan V
Thanks for the nice MoM Shrini.

On Tue, Feb 22, 2011 at 10:30 PM, Shrinivasan T  wrote:
> Friends.
>
> The Feb month meet was a mixture of Photography,GSoC and OpenERP.
> Natarajan explored the GIMP.
> He shared the basic concepts of Digital Photography.
> He explained about
> Resolution, File Formats, Levels, Histogram, Layers, Depth, 3x3 rule,
> RAW format, CMYK, RGB etc.

3x3 rule is actually called as "Rule of Thirds"
http://en.wikipedia.org/wiki/Rule_of_thirds

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


Re: [Ilugc] digital camera

2011-02-14 Thread Natarajan V
On Mon, Feb 14, 2011 at 5:47 PM, Kenneth Gonsalves
 wrote:
> hi,
>
> can anyone recommend a decent linux compatible digital camera?

Most modern digital cameras (not WebCams) have two modes of
connectivity to the PC -> Semi-proprietery P2P mode and USB Disk mode.
I think, its almost the same on most mobile phones as well.

You can connect your camera directly to your USB port and if your
camera model is supported by your photo software of choice, it will
automaticaly start downloading the same. If it is not detected
automatically, then you can always change the mode to USB Disk and use
the same software to download the pics.

The third option is to remove the memory card and directly to your
PC's card reader. Most cams use SD or Memory Stick Pro. Hence all of
them are generally compatible (FAT 32 File system).

And yes, Raja's sugestion of using dpreview.com is a good idea to
choose a good cam.

Note: I have never had any problems connecting Nikkon (SLR), Sony
(Point and Shoot) or Cannon (Point and shoot) cameras. Never tried
other models.

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


Re: [Ilugc] learning a new language

2011-02-08 Thread Natarajan V
On Wed, Feb 9, 2011 at 12:00 PM, Salvadesswaran Srinivasan
 wrote:
> On 9 Feb 2011 11:49, "Arun SAG"  wrote:
>>
>> I'd suggest lisp http://www.landoflisp.com/ or haskell.
>>
>
> +1 for LISP

I got an intro to LISP from iLUGc .. on emacs LISP. It helped me to
scrpit in GIMP, as GIMP uses a variant of LISP (as well) for scripting
:-)


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


Re: [Ilugc] learning a new language

2011-02-08 Thread Natarajan V
On Wed, Feb 9, 2011 at 11:36 AM, Sathishkumar Duraisamy
 wrote:
> On Wed, Feb 9, 2011 at 11:13 AM, Kenneth Gonsalves
>  wrote:
>> new language. Not a scripting language - something else. So far my
>> research indicates either C or C++ - recommendations?
>
> C++ is good. But I personally feel, learning UML gives good insight
> into oops concept, software engineering  and so increases programming
> skills. And after that when you learn other languages such c, c++, you
> can easily switch between the languages for your applications.

+1

For a person who already knows some amount of programming, I would
recomend that you should first learn UML. UML is nothing but a
pictorial representation of your code and how they interact with each
other. When you first do this, you will be able to pictorially
visualize how your pieces of code are going to interact with each
other and create a loose coupling.

Out of personal experience, after knowing UML, switching between C++,
Visual C++, Java, Objective C and C# was trivial. You start thinking
in OOPS, and the language becomes just a language and your idea/ logic
is in OOPS. The translation becomes trivial, to about 90% of the work.

Just got reminded, since you already know Python, learning UML would
put your thinking in terms of Syntax to in terms of pure logic alone.
Implementing the same logic in Py/Java/C++ will then be a question of
looking up the syntax for each of the languages.

PS: I know that, some of the listed languages are proprietery, but
knowledge helps :-)

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


Re: [Ilugc] Long text to multiple PNGs: pointers

2011-02-03 Thread Natarajan V
On Thu, Feb 3, 2011 at 11:12 AM, Natarajan V  wrote:
> On Thu, Feb 3, 2011 at 1:00 AM, kish  wrote:
>> I'm looking at Python Imaging Library.
>
> Not sure of a Python lib, but GS has the following tools that you can
> use from a shell script:
>
> text2ps --> convert a text file into a PostScript file
> ps2png --> Convert a PostScript file into PS.

Padorn the typo:
ps2png --> Convert a PostScript file into PNG.
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Long text to multiple PNGs: pointers

2011-02-02 Thread Natarajan V
On Thu, Feb 3, 2011 at 1:00 AM, kish  wrote:
> Hi,
>
> I'd like to write an application that will
> convert a novel spanning multiple pages to multiple PNG files of specific
> size say 480 x 272 each.

Are you sure you want to use PNG? PNG is an image format, and
converting a Text to image actually reduces the quality of output and
increases the file size. It will also prevent people from using it for
copy+paste, etc.. IMHO, a PDF would be better.

> I'm looking at Python Imaging Library.

Not sure of a Python lib, but GS has the following tools that you can
use from a shell script:

text2ps --> convert a text file into a PostScript file
ps2png --> Convert a PostScript file into PS.


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


Re: [Ilugc] Alternate GIMP classes instead of PhotoShop

2011-01-31 Thread Natarajan V
On Mon, Jan 31, 2011 at 5:54 PM, krish  wrote:
> On Sun, Jan 30, 2011 at 7:48 AM, Kumaran R  wrote:
>> then I think we should have at-least 1 computer training institute, where
>> GIMP is taught.
>> If you know of any such place, please let me know.
>
> You probably won't find any.

+1

> Btw, Gimp can very well be self taught.
> I've pretty much used gimp manuals and done it .. and I use Gimp and
> Inkscape both for my webcomic and other
> drawings/pinups/business-cards/..almost everything that I draw digitally.

+1


Generally, I get *irritated* if someone tells me, I don't know this
because, someone did not teach me. Not everything in life can be
taught.


The best way to learn anything is to get your hands dirty. If someone
has a starting trouble, they can seek help from someone who can offer
a one hour session. beyond that, there are tonnes of tutorials
available in many places, including YouTube. Infact, many of the
tutorials targeted at PS, also works for The Gimp, if you know where
to find the same filter in the menus a little bit of
experimentation would help.

The fundamentals of Photoshop, Corel Draw, Gimp, Paint .NET
(Opensource!), etc.. are all the same. If you learn to use one tool,
you learn the concept. You can now apply the concept in any other
tool.

The driving school usually teaches you driving on a Tata Indica or a
Maruthi 800 or a Hyundai Santro - all of them with 4 gears. When you
buy a car with 5 gears, you don't necessarily go to the driving school
again to learn to use the 5th gear. How about auto-gears then? Its
like that. Learn to use any of the aforementioned tools, and you will
find your way through any other tool. If you find classes only for PS,
so be it. Learn it there and apply it in The Gimp :-)


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


Re: [Ilugc] Alternate GIMP classes instead of PhotoShop

2011-01-31 Thread Natarajan V
On Mon, Jan 31, 2011 at 5:49 PM, Swapnil  wrote:
> If you start using GIMP, stop using Photoshop there will be a slew of
> designers expert in GIMP, since they ONLY use GIMP, they will demand
> features and will be added.

I beg to differ. Its good to hear. But nothing here. :(. There are
forces acting against you.

1. Software patents used in PS. A *lot* of features of PS, which the
pros like are patented. - That is a separate fight altogether. (Use a
separate thread if someone wants to discuss this, please).

2. The Gimp code framework, in its original form couldn't support many
features (32 bits, lossless processing, CMYK to name a few). Hence,
they are currently trying to revamp the code and bring in a new GEGL
framework that will form the base for a refreshingly new code base,
that is faster, cleaner and expandable. Gimp 3.0 where are you?

3. Third party plugins. This is where you and I should contribute.
There are hundreds and thousands of plugins available for PS, which
make the life of a studio guy/ doctor/ anyone else easy. PS has a
separate version for Radiologists(!). It has a well integrated image
management solution as well.  There are a lot more, that I don't know.


AFAIK, we have a pretty long way to go before we can say we are
serious competitors. as of now, we are competing in a place where PS
is way to good, and Gimp is (still) just a new kid in the block.

If you are really serious about what you said in your email, be the
example. Study DSP and Fourier transforms, and start writing code, and
not just heated words.


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


Re: [Ilugc] Alternate GIMP classes instead of PhotoShop

2011-01-31 Thread Natarajan V
On Mon, Jan 31, 2011 at 10:59 AM, Kenneth Gonsalves
 wrote:
>  as a start you could think of presenting a hands on
> demo at the coming LUG meet.

Good Idea. I will confirm my participation by next weekend please

Note: The presenter will be an amateur ;-)

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


Re: [Ilugc] Alternate GIMP classes instead of PhotoShop

2011-01-30 Thread Natarajan V
On Mon, Jan 31, 2011 at 5:44 AM, Kenneth Gonsalves
 wrote:
> if you are in Chennai you have just volunteered yourself for the
> forthcoming workshop ;-)

Well.. I will be happy to.. provided my office dosen't pull me into to
office on weekends I will be able to do the "Photo editing" stuff
but not drawing stuff... Hence, can't do it alone.


The most useful stuff that I have ever used Gimp is available in this blog :-)
http://natarajv.blogspot.com/


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


Re: [Ilugc] Alternate GIMP classes instead of PhotoShop

2011-01-30 Thread Natarajan V
On Sun, Jan 30, 2011 at 4:46 PM, Natarajan V  wrote:
> But, a little searching on the net would tell you what Gimp lacks from
> a PRO point of view.
> 3. Support for CMYK has just now been introduced. - I remember a
> conversation in iLUGc, regarding printing something from Gimp. The
> professional printers wanted something in CMYK, which wasn't available
> in Gimp then.

Discussion in iLUGc in 2000 on Gimp:
http://thread.gmane.org/gmane.org.user-groups.linux.ilugc/2408/focus=2420

Further discussions in 2003:
http://thread.gmane.org/gmane.org.user-groups.linux.ilugc/11358


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


Re: [Ilugc] Alternate GIMP classes instead of PhotoShop

2011-01-30 Thread Natarajan V
On Sun, Jan 30, 2011 at 3:45 PM, Arun Venkataswamy  wrote:
> On Sun, Jan 30, 2011 at 2:20 PM, Swapnil  wrote:
>> On 01/30/2011 03:37 AM, Girish Venkatachalam wrote:
>> > Even by a long mile I don't think gimp will match Photoshop.
>> What made you think so? What's in PS that's not in GIMP? We use GIMP for
>> all of our graphics. Please state the reasons.
>
> IMHO the difference between GIMP and Photoshop is just  the difference
> between Linux and Windows. Geeks will use GIMP and an non geek graphics


I am a Linux User from the days of RedHat 6.0, having nothing but
Linux on my PC and Laptop. I am also an amateur photographer, heading
my company's Photography Club. Though not a pro, I do some amount of
photo editing for in-house online publications and corporate blogs.

With this premise: The following are my observations:
"The Gimp" is great. I have been able to script it and customize it
for my use. I have been using it for about 7 years now. Its good
enough for most of the work that people use PS for.

But, a little searching on the net would tell you what Gimp lacks from
a PRO point of view.

1. 32 bit processing is just about in it's infancy in Gimp. The GEGL
library is still not complete.
2. because of (1) above, the processing done by Gimp are not loss-less.
3. Support for CMYK has just now been introduced. - I remember a
conversation in iLUGc, regarding printing something from Gimp. The
professional printers wanted something in CMYK, which wasn't available
in Gimp then.
4. Adjustment layers - is still not found in The Gimp as yet. - I
missed this feature a lot, when I had to isolate a child's photo from
the background, particularly around his hair.

I repeat, if you are not a PRO, you wouldn't need any of the above. If
you are using it for some, less serious stuff or initial learnings,
its enough.

There are times, (just search in the internet, you will find), where
people suggest that you should use Krita (from erstwhile K-Office),
instead of Gimp for CMYK and lossless processing. I still love the
Gimp, but it has a long way to go before it becomes a serious
competitor to PS. Its way ahead.

I am eagerly waiting for Gimp 3.0, which promises to have most of
these loopholes plugged, including complete lossless processing and
support for CMYK.

Note: I do not have PS and have never worked on PS and don't have
plans of doing so either.

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


Re: [Ilugc] graphical view of postgresql database

2010-12-13 Thread Natarajan V
On Tue, Dec 14, 2010 at 12:00 PM, Kenneth Gonsalves
 wrote:
> can anyone suggest a neat tool for a graphical view of a postgresql
> database?

If you are looking for the equivalent (more or less) of Toad for
Oracle / SQL Develoer for Oracle, then SquerrilSQL comes to mind
(http://squirrel-sql.sourceforge.net/).

You will have to download the Java Driver JAR file (JDBC Driver) from
http://jdbc.postgresql.org/ and add it to the list of drivers before
configuring your database. Ofcourse, you need java to be installed on
your PC.



>[schemaSpy_5.0.0.jar]/net/sourceforge/schemaspy/dbTypes/pgsql.properties
>java.lang.ClassNotFoundException: org.postgresql.Driver
>
>Failed to load driver 'org.postgresql.Driver'
>This entry doesn't point to a valid file/directory: 
>[/whereever/postgresql-8.0-312.jdbc3.jar]

Download the JDBC JAR (Java Database driver JAR file from
http://jdbc.postgresql.org/download.html. Add it to the class path
like this:

$export CLASSPATH=$CLASSPATH:



HTH.

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


Re: [Ilugc] Re: How to run java WAR file in command line

2010-08-20 Thread Natarajan V
On Sat, Aug 21, 2010 at 8:25 AM, Natarajan V  wrote:
>> On 8/20/10, Ranjith Kumar  wrote:
>>> Hi Bala
>>> I want to execute this unicorn project in console application instead of
>>> running it on tomcat server
> I have
> not gone through the source code of Unicorn, since it's open source, I
> am sure, you can write your own commandline interface for it.

I was wrong. I went through the architecture. It uses the JEE
framework for it's workflow. Hence, it can not be run from
commandline. you will always need  a small server.

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


Re: [Ilugc] Re: How to run java WAR file in command line

2010-08-20 Thread Natarajan V
On Fri, Aug 20, 2010 at 3:01 PM, Rajagopal Swaminathan
 wrote:
> On 8/20/10, Ranjith Kumar  wrote:
>> Hi Bala
>> I want to execute this unicorn project in console application instead of
>> running it on tomcat server
> I invoke the right to be wrong.
>
> How can anybody expect the WAR file to run on command line?
>
> I could be absolutely wrong, but IMHO .WAR file is supposed to be Web ARchive.
>

Mr. Rajagopal, you are absolutely correct. A WAR file is a WEB
Archive, and it needs a JEE/J2EE Application server such as Tomcat or
JBOSS or Websphere or Weblogic or SunOne or Jetty to run.

You can NEVER run a WAR from commandline. You need some J2EE Server to run it.


Technical Details:
For a Java program to run from the command line, you need atleast one
Java Class with a MAIN function.

A WAR file is essentially a collection of Java classes . JAR files and
property files (along with CSS, JS and IMG files),  These Java files
do not have a MAIN method. Instead these are invoked by the
"container", which can be any JEE server such as TomCat.

Question:
Why do you want to run UniCorn from command line? You can always run
it as a server and invoke it from the commandline, isn't it? I have
not gone through the source code of Unicorn, since it's open source, I
am sure, you can write your own commandline interface for it.

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


Re: [Ilugc] .-. . --.- ..- . ... - / - --- / - .- -- .. .-.. / - . .- -- / ..-. --- .-. / - .- --. --. .. -. --. / - .... . / .--. --- ... - / .-- .. - .... / [- .- -- .. .-.. ] / - .- --. .-.-.-

2010-07-14 Thread Natarajan V
On Thu, Jul 15, 2010 at 2:27 AM, siva moorthy  wrote:
> 2010/7/14 Thyagarajan தியாகராஜன் 
>> for those who do not understand it.tamil team,kindly respond with
>> courtesy.thanks and regards,thyagarajan shanmugham.ps: apologies for not
>> tagging it as [morse code ].
>
>
> Sir, above link http://shanmugham.ps/ is not working for me.
>

Hmm.. Problem with Gmail. :-)

Thiagarajan's indentation should have been like this:

>> courtesy.
>> thanks and regards,
>> thyagarajan shanmugham.
>> ps: apologies for not tagging it as [morse code ].

now, you won't get any more hyper link to click on. the PS was
supposed to mean Post Script and it wasn't a URL.

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


Re: [Ilugc] Development of Reporting tool

2010-07-03 Thread Natarajan V
On Sat, Jul 3, 2010 at 8:31 AM, Girish Venkatachalam
 wrote:
> I also never understood what you mean by reporting tool.
>
> Can you elaborate please?

Reporting tools are the class of tools that specialize in only one
thing - Reporting. it can generate reports in PDF, Email, HTML, CSV,
charts, etc.The underlying principle  is that all the data required is
available as-is in the database, and the developer has made a
template. The end user "invokes" this report to get it with the latest
data. You can think of a SQL view versus a normal SQL Query. Hence,
reporting tools are generally coupled with BI (Business Intelligence)
and Data Warehousing (DWH) softwares.

To answer the original question: My first choice would be Jasper
Reports for web applications and Eclipse BRIT framework for a local
setup.

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


Re: [Ilugc] Disabling the refresh and back button in browser

2010-06-01 Thread Natarajan V
On Wed, Jun 2, 2010 at 11:25 AM, Raju s  wrote:
> I have done an online examination application in jsp.
> I want to disable the back and refresh button.
> When googled there are many scripts and none of them are working in all the
> browsers.

Good that you did your homework :-)

> The advice from the experts is that you should not do the disable.

Very true.

> My problem is when the user clicks refresh or alt+ or back the time gets
> reset to the beginning.

What you can do is open up a new window without the toolbar. This way,
the most obvious way of clicking the refresh button or the backbutton
will be out of reach.

The user can still do a Ctl+R, F5 or Alt+Left key strokes. You will
not be able to control it, and even if you do control it, it will not
be foolproof. there will always be a way to circumvent it.

The first step in achiving this is put up a huge banner which says
that the test will become invalid if the user tries to refresh or go
to previous page. Then, hold a random number in the "user session" as
well as in a  hidden field. keep checking this variable and make sure
that it is the latest. If the user tries to do a back button or
refresh, the numbers won't match and you can tell him that he has just
did the wrong thing and failed the exam :(. Or, if you have coded it
smartly, you can go back to the previous question.

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


Re: [Ilugc] any one can tell which is better php vs java or ruby on rails ?

2010-04-10 Thread Natarajan V
On Sat, Apr 10, 2010 at 8:51 PM, Kenneth Gonsalves
 wrote:
> On Saturday 10 Apr 2010 8:53:54 am Natarajan V wrote:
>> Python forces you to write neater code, but if you are bad, it can't help
>
> wrong

wrong in what sense?

>> It depends on where you want to run your server and for what purpose.
>> Java might require higher resources to start with, but can scale to a
>> huge data center.
>
> wrong

How?


>> Finally, I would prefer anything that separates logic from
>> presentation (MVC / MVC2).
>
> MVC  is a rails buzzword - it does not mean anything


MVC is not a RAILS buzz word. it has been around even before RAILS.
MVC, MVC2 are the basics of separating presentation layer from
business layer. Infact, if you have this feature, you already have
some kind of MVC with you. You should seriously look at MVC/MVC2. For
all you know, you might already be using MVC/MVC2 ;-). Most *plain*
PHP programmers will never know it.


>> Choose something that you are already comfortable with. Stick to
>> standards and make sure that there is a community to support you.
>> Learn programming basics first and be very clear about it. This is the
>> most important part. Programming basics is language independent.
>>
>
> if you know programming - otherwise go for python

As I said... everyone have their choice. If you don't know to code,
anyone can write a bad code in any language. infact most people write
bad code for the first 3 - 5 years of their work exp. :(

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


Re: [Ilugc] Re: any one can tell which is better php vs java or ruby on rails ?

2010-04-10 Thread Natarajan V
On Sat, Apr 10, 2010 at 10:49 AM, K.C. Ramakrishna
 wrote:
> This is going to be so much fun !!!
>
> 1. The comparison itself is not really fair. php and Java are languages while 
> RoR is a language+framework combo. The correct comparison will be php vs. 
> Java vs. Ruby. My order of preference here is 1st Ruby, then Java and then 
> php.

As I said earlier, every one have their choice.

> 2. php and Java have MVC frameworks too which compete with Rails. php has 
> 'Symfony' and Java has 'Struts'. Hence you can have Rails vs. symfony vs. 
> struts.

Java has more than Struts. JSF, Spring MVC for example in the
presentation layer. EJB3, Hibernate, Spring ORM in the back end, and
TONNES of other frameworks... may be Java has the maximum number of
frameworks? ;-).



> 3. The nitty-gritty
>
> 3.a. php + symfony - good to excellent for small projects. php started as a 
> procedural language and is not fully OO. Hence, code gets increasingly 
> difficult to maintain as proj size grows.

++1

> I personally detest php due to the inline html part. Also the language/syntax 
> is not 'elegant'. php is also aged - parallel will be that php took up a lot 
> of space where initially PERL was used. Similarly, ROR is eating into php 
> territory.

++1



> 3.c. Java/Struts - This is for 'industrial strength' projects. Java has a lot 
> of good stuff going for it but I really don't think you can compare 
> Java/Struts with RoR/symfony - they are aimed at different categories of 
> applications altogether. Java is more resource hungry. Java is a bit of a 
> pain to develop and test due to the building+deploying latency and unless you 
> need Application Server features, you really don't need Java/Struts. Java 
> also requires more effort to deploy and maintain.
>
 Hmm I haven't seen RoR. But Yes Java app servers have a lot of
security features built into them, along with caching frameworks,
schedulers, business components, webservices, and the list doesn't
end. I agree; the turn around time might be slower. But you need to go
to java only when you want the App Server features


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


Re: [Ilugc] how to ban specific keywords

2010-04-09 Thread Natarajan V
On Sat, Apr 10, 2010 at 5:56 AM, Raman.P  wrote:
> --- On Thu, 8/4/10, Saravanan S  wrote:
>>           How do i ban specific
>> keywords while typing in Linux?
>
> Probably modifying keyboard driver should help.
>
> But how to prevent copy+paste is a different problem.

+1.

and +1 for Srinivasan's note on banning the word "ban".


There was a huge problem reported in a bank and that caused flutter
all around. The SPAM filter in their email was blocking anything with
a $ symbol in the subject line. End result was that a bank staff sent
a message, a very very important and urgent message to some one else
inside the bank and they never received it.

So, pls re-consider what you are exactly trying to achieve. Try to
solve the problem and not a solution. Ask "why" and consider "is there
any other way" and most importantly, "will this affect me adversely?"

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


Re: [Ilugc] any one can tell which is better php vs java or ruby on rails ?

2010-04-09 Thread Natarajan V
On Fri, Apr 9, 2010 at 8:26 PM, kiran kumar
 wrote:
> these are open source technologies which is the best way for developing web
> development and application oriented ?
>
> can any one tell please?
>
> php or java or ruby on rails ?
>
> which one is best ?


There is nothing which is best or worst. Its on how much expertise
that you have yourself on which language. each have it's own
advantages and disadvantages. If you ask me, I would vote for Java. KG
would vote for python, others might vote for RoR.


But I found the following (my own observations)

PHP does not enforce good programming techniques. Hence a lot of
programmers tend to write ugly code that is hard to maintain.

Python forces you to write neater code, but if you are bad, it can't help

It depends on where you want to run your server and for what purpose.
Java might require higher resources to start with, but can scale to a
huge data center. PHP needs lesser resources to start with and faster
to initially develop. I am sure Python will also have something
similar.

Recently Twitter moved away from RoR , because it wasn't scalable
enough. Facebook wrote their own PHP pre-compiler to make their pages
faster (scale up).

Finally, I would prefer anything that separates logic from
presentation (MVC / MVC2).

Choose something that you are already comfortable with. Stick to
standards and make sure that there is a community to support you.
Learn programming basics first and be very clear about it. This is the
most important part. Programming basics is language independent.

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


Re: [Ilugc] Executing Linux Commands with Java GUI

2010-02-15 Thread Natarajan V
On Tue, Feb 16, 2010 at 8:56 AM, Ravi Jaya  wrote:
> On Tue, Feb 16, 2010 at 8:52 AM, Ramesh Jothimani 
> wrote:
>> > I have Googled it already but I was unable to get the proper solution!

No you havent.

> Please don't top post.

+1



The idea is simple. Don't look for ready made answers. First look for
how to execute a native process from Java. You will find this:

http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html

so, you can do something like Runtime.getRuntime().exec("command")

Now, you want to pipe the input and output. Lets see how we can do that.
Looking at the method signature of "exec()"

public Process exec(String command)  throws IOException

The method returns an object of the class "Process". What does Process
have? It has a getInputStream() and getOutputStream(). Use these to
read the inputStream which is actually the output of the process and
you can write to the outputstream, which is actually the input to the
process.
READ: http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Process.html

I did not understand one part of the question. What does java GUI have
to do with executing the command here? The above mentioned stuff can
simply execute a command. Java GUI has nothing to do with this. you
are welcome to write GUI code using AWT, SWT or SWING, and use the
above classes.


BUT, do you really want to do this? The main purpose of writing a
program in Java is to make it cross platform. The moment you start
using "exec()" with hardcoded Linux commands inside it, you just
defeat the purpose of the Java. You can very well rewrite your code in
C/C++? can't you? Sometimes, you might even be using native commands,
just because you don't know enough of Java? may be?

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


Re: [Ilugc] UML Tool

2010-01-25 Thread Natarajan V
On Mon, Jan 25, 2010 at 1:09 PM, Suresh Kumar Subramanian
 wrote:
>>http://argouml.tigris.org/
>>http://sourceforge.net/projects/classbuilder/
>>http://sourceforge.net/projects/bouml/
>>http://staruml.sourceforge.net/en/
>>http://live.gnome.org/Dia/
>>http://www.koffice.org/kivio/
>>http://uml.sourceforge.net
> Thanks gauvrav.
> I feel, uml ,staruml,argouml are quite close my expectations. I will explore 
> these and share my experience.


If you are in the Java world, there are lots of UML Plugins available
in Eclipse. I have also used Jude (Community edition) extensively for
my "official work".
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] how to install safari browser in ubuntu9.10?

2010-01-05 Thread Natarajan V
On Tue, Jan 5, 2010 at 10:36 AM, kannan kesavan  wrote:
> hi guys
>  i need help of installation of safari on ubuntu 9.10

Did you try installing Safari for Windows on Linux using wine? ( i
havent tried it yet).

Konquerer (KDE) and Google - Chrome For Linux (beta) use the same
rendering engine as Safari (WebKit). So you won't miss Apple Safari
much.

But, if you are looking for Safari for benchmarking your application
on how it works in each browser, let me share my experience. We made
our application work on Safari 4 on Windows. But, when some one tried
to use it in Safari for Macintosh, it was a total catastrophe. It
worked well on FireFox for Mac. We had to literally go out of our way
to ask sorry and asked the user to wait for a few more days to make it
work correctly on Mac/Safari.

One good learning was that, if your application is W3C standards
complaint, it might mostly work correctly. But, I wouldnt say that
about Javascript, CSS and Strictness checking.

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


Re: [Ilugc] webscrapping ringcentral.com using mechanize

2009-12-17 Thread Natarajan V
On Thu, Dec 17, 2009 at 9:47 PM, Siva Chandran P
 wrote:
> though its like running a full blown browser but it does the

Now, lets talk about sites that aren't that very cross browser
compatible. Say for example sites that were developed exclusively for
MSIE.
--
Natarajan
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] How to secure Linux server from hackers

2009-11-30 Thread Natarajan V
On Mon, Nov 30, 2009 at 2:52 PM, Hrishikesh Murali  wrote:
> 1) Maintain a log of what is going on and watch it regularly.
> 2) Have only required services running, disable all other services.
> 3) Use secure services like SFTP instead of plain text FTP, and https
> instead of http if possible and if necessary, so that MITM attacks are
> minimized.
> 4) Provide authentication in whatever service you are providing.
> 5) Have proper and secure input processing wherever possible (to prevent
> SQLi and XSS, etc).
> 6) Use firewalls and make sure you are secure against DOS and DDOS.

+1

Also, having a reverse proxy in a readonly server to interface with
the world and putting the actual webserver in DMZ is also one of the
many ways (in addition to firewalls).
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Which Web Server is good?

2009-10-29 Thread Natarajan V
On Thu, Oct 29, 2009 at 11:37 AM, Mano  wrote:
> Or, as a previous post suggested, push all chart rendering to the browser
> using jQPlot, a jQuery plugin.

It uses the HTML 5  tag. Will work only on new browsers. Will
not work in *old* browsers.
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Which Web Server is good?

2009-10-28 Thread Natarajan V
On Tue, Oct 27, 2009 at 6:42 PM, Ramkumar  wrote:
> Hi Friends,
>   we have a application developed by java.we have mysql DB.our

1. RedHat JBOSS (lighter)
2. Apache TomCat (lightest)
3. Sun GlasFish (light)
4. commercial products -> Weblogic, Websphere (Heavy)

But if you are creating a J2EE application, the choice of server can
even be at deployment time. you can develop in tomcat and deploy in
jBoss. There might be small tweeks that you might have to do though.

If you are thinking of using any EJB, then you can't use Tomcat.

> application  is dynamically shows charts

1. JFreeChart
2. http://teethgrinder.co.uk/open-flash-chart/


> and images depends upon data stored

Apache Webserver.

> on mysql DB(through query).which web server is good to use in this stage.how

All servers are good enough. they follow standards.

> to make our application work as fast. Thanks in advance

1. Follow good coding practices (use prepared statements, avoid query
in loops, etc...)
2. Use PMD, Check style
3. if the load is more, add more hardware (Clustering, dividing static
and dynamic content into webserver and app server)


hth
Natarajan
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] .a-tip-a-day (firebug - web development debug console Firefox plugin)

2009-10-12 Thread Natarajan V
On Tue, Oct 13, 2009 at 8:00 AM, Kenneth Gonsalves
 wrote:
> On Tuesday 13 Oct 2009 7:46:08 am Girish Venkatachalam wrote:
>> On Tue, Oct 13, 2009 at 7:35 AM, Kenneth Gonsalves
>>  wrote:
>> > On Tuesday 13 Oct 2009 6:59:05 am Girish Venkatachalam wrote:
>> >> Firebug is very very very powerful. ;)

I totally agree with this. I have been using it, with my team for
quite some time. It has saved me a lot of trouble.

>>
>> Apache logs only tell you traffic stats and referrers and
>> of course 404 errors and web server problems. Problems
>> with configuring Apache.

Apache server logs can give only 404 errors. And if you are saying
that it is more than enough to find out why your page isn't showing up
correctly or not, is just because of 404 errors, it clearly shows that
you were, more often than not, using only off the shelf JS and CSS.
This is not the case for most of the applications "others" do. We do
develop custom JS and CSS for our own applications. 404 is rarely a
case in these situations.



>> But firebug is a javascript development and CSS development
>> tool.

What it can do for you is something like gdb/ Turbo C debugger for JS
and CSS (if you have ever used anything of that sort).

>> Have you done serious web development with javascript?
>
> no - as mentioned above, this is my personal point of view

As mentioned above, firebug is not a tool to install and check off the
shelf JS and CSS, but for building custom JS. Quite complicated ones,
Complete Rich UI for example. Infact, even for checking off the shelf
products, its easier to see the graph at the bottom of firefox than to
open appache log files and grep for 404 errors and run through pages
of it.


>> It can be really painful since it is as rich a language as C
>> in certain ways.

Out of my 8 years exp in web-programming, most serious and difficult
problems come only in JS and CSS.

>> You most definitely need a friend like firebug.
>
> I do not - others may do

JS and CSS programmers need it. If you are using off the shelf
products, it is still useful, you never gave it a try.


with regards,
Natarajan.
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Configure HP Pavilion dv6000 laptop keyboard layout in fedora

2009-10-12 Thread Natarajan V
On Mon, Oct 12, 2009 at 10:10 PM, balachandar
 wrote:
>   I m using HP Pavilion dv6000 (HP Pavilion Entertainment PC).

I use one too, but on Kubuntu.

>My
> alphabets are working fine.But the symbols are altered.

What do you exactly mean by this? Are you getting a pound/ euro sign
instead of a dollor? Make sure that you use a Generic 101/104 keyboard
layout (US). Check your Locale settings as well. If you had set it to
en_GB, you might start getting Pound symbols.

HTH

with regards,
Natarajan.
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
"unsubscribe  "
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] SFD2009-T.Shirts

2009-09-05 Thread Natarajan V
On Thu, Sep 3, 2009 at 8:16 PM, Raman.P wrote:
> Dear luggies,
>
> I am dropping the idea of preparing Kurta as there is no response.
> Enquired about T-Shirts - Cost Rs.90-100 for round neck, 125-135 for collared 
> one. Minimum order 30.
>

Can I order a Collared XL size?


with regards,
Natarajan
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Server Installations

2009-08-07 Thread Natarajan V
On Fri, Aug 7, 2009 at 3:56 PM, Rajesh Kumar wrote:
> Dear Ilugu
>
>        How to configure Tomcat Server and how to install Self-Signed
> Certificate for Tomcat. What is the Self-Signed Certificate.
>

Did you try this?
http://www.google.com/search?q=create+certificate+tomcat

I got
http://www.digicert.com/ssl-certificate-installation-tomcat.htm
http://tomcat.apache.org/tomcat-3.2-doc/tomcat-ssl-howto.html (Official)
http://users.skynet.be/pascalbotte/art/ca.htm  (Self signed
certificate  - tutorial)

But before you go ahead with this, I strongly suggest that you should
understand the basics of SSL, what a certificate is, who a CA is
(Certifying Authority) etc... Wikipeida is a good source.


with regards,
Natarajan
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
"unsubscribe  "
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Talk

2009-08-04 Thread Natarajan V
On Tue, Aug 4, 2009 at 11:01 AM, Bharathi
Subramanian wrote:
> Dear All,
>
> This month ILUGC Meet is scheduled on Sat Aug 8th 3PM 2009. If anyone
> willing to give a talk in this meet, Plz mail back to me.


A request for a talk:

I have been observing that most newbie programmers who are used to he
doze world do not know about "using the computer" from a usage
perspective. I have observed that they do a line by line analysis,
which can be done by a one or more RegEx find and replaces. They know
RegEx to some extent and they would have used it in their code, but
didn't realize that it can be used in the editors as well. This is not
restricted to just RegEx.

Consider the piece of code that reads more than 30 columns from a
database and assigns it to some variables. This could very well be
simplified by using regex/sed/ cut/ etc... or if you have some GUI
editors such as Kate, just keep using find and replace

Would it be nice, if we can organize a talk on "improving productivity
by better utilizing the tools available", with a lot of times for
Question and Answers? Any takers? (I might not be able to attend the
session myself, due to my office timings).


with regards,
Natarajan.
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] website monitoring tool wanted

2009-07-29 Thread Natarajan V
On Tue, Jul 28, 2009 at 10:13 PM, Raja
Subramanian wrote:
> On Mon, Jul 27, 2009 at 8:49 PM, Natarajan V wrote:
>> Would CRON + WGET + DIFF + SENDMAIL solve the problem?
>
> Put together the following solution:
>
> Cron + wget to fetch all the watched urls (with the http headers).
>
> Check in all watched files into a svn repo.  Subversion is intelligent
> enough to commit only if the file content is modified.
>
> Setup a post-commit hook on the svn repo which emails me the
> diffs whenever a successful commit is done.

Great. Thanks for sharing how it is done.


> As an added bonus I get to keep multiple versions of the
> website as an offline backup.


So, you keep checking-in whatever is there in the website. Might be a
labeling might also help?

Do you plan to  have a "cleanup job" to clean Very very old data?


Regards,
Natarajan.
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
"unsubscribe  "
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] website monitoring tool wanted

2009-07-27 Thread Natarajan V
On Mon, Jul 27, 2009 at 2:29 PM, Raja Subramanian wrote:
> Seems like the only solution for my problem is to put together my
> own solution, though I find it unlikely that I'm the only one with such
> a requirement!

Would CRON + WGET + DIFF + SENDMAIL solve the problem?


--
Natarajan.
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] AES in Javascript and JCE

2009-07-26 Thread Natarajan V
On Sun, Jul 26, 2009 at 9:00 AM, Vishnu
Vijayaraghavan wrote:
> On Sat, Jul 25, 2009 at 6:13 PM, Natarajan V wrote:
>> On Sat, Jul 25, 2009 at 5:01 PM, Vishnu
>> Vijayaraghavan wrote:
>>> Dear Luggies,
>>>
>>> I am trying to write an application which encrypts data in javascript
>>> and decrypts them back in Java JCE.
>>
>> A very out of topic doubt!
>> Why do you want to do this? If you are using normal SSL, this is done
>> automatically for you right?
>>
>
> A very perfect question. But, our clients can't afford SSL. They don't
> want to have a dummy certificate (I think we are unable to convenice
> them) . I know a dummy certificate is still secured than without SSL.
> So, we have no other go.

If I am not wrong, AES uses a symmetric key encryption.
Well, if you are using a JavaScript based encryption, that is going to
encrypt your data on the browser, using a symmetric key encryption,
you are effectively sending the key to the browser. This means that
you offer ZERO security. A security that cannot even been viewed as a
security.

You better convince your clients that, SSL, atleast by using a self
signed certificate is better than using a "false" security.

Does any one know the cost of SSL certificates provided by Indian
Signers, such as TCS?

> Btb. yesterday I tried without padding and ECB mode (I know it is not
> very secure) and I got them to be matching (jsaes and JCE). So, there
> is some way out.


Its good that you are able to progress. Good work, and am sure it will
be a good learning.


with regards,
Natarajan.
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] AES in Javascript and JCE

2009-07-25 Thread Natarajan V
On Sat, Jul 25, 2009 at 5:01 PM, Vishnu
Vijayaraghavan wrote:
> Dear Luggies,
>
> I am trying to write an application which encrypts data in javascript
> and decrypts them back in Java JCE.

A very out of topic doubt!
Why do you want to do this? If you are using normal SSL, this is done
automatically for you right?


Regards,
Natarajan.
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] https config help needed

2009-07-18 Thread Natarajan V
On Sat, Jul 18, 2009 at 6:34 PM, K.C.
Ramakrishna wrote:
> 1. Application is Liferay (running in tomcat without Apache) which also has 
> Web Services.
> 2. There are clients (.NET, ruby..) which access these services after logging 
> is as a special user.

What kind of WS authentication are you using in this scenario? Is it
Basic HTTP authentication or  SOAP authentication ?


> 3. Currently both authentication and data transfer between Liferay and 
> clients is also on https (for the web services part).
> 4. I want to configure so that clients authenticate using https but the data 
> transfer is over http.

For webservices, using Basic HTTP authentication, there is only one
request that goes between the client and the server. It cannot be
split into two requests.


Client: Hi I am "Client" with password as "password" can you please
give me the response for this soap request message?

request



Server: OK. Valid user. here is the response

 response.


As you can see, there is only one request going between the client and
server. You cannot split the Webservice request into two request, one
in HTTPS and the other in HTTP.

Also, HTTP sessions are generally not maintained across webservices
(not recommended). You loose the basic purpose of a webservice in this
case. You also looseout on the basics of security in a webservice.

> I read somewhere that https is approc 30% overhead compared to http.

How does it matter?
The 30% overhead mentioned is just at the protocol level. The actual
time taken by the webservice is because of your code.

 Make sure that
1. Your service is atomic (following the rules of a "service")
2. Is your code, particularly the DB hits properly fine tuned?
3. Have you avoided unnecessary object creation, loops, etc?
4. Check your code using PMD, Checkstyle, FindBugs, etc... and FIX all

By the way, what is the peak traffic that you are expecting? will that
30% network overhead be an issue?
AFAIK, this 30% HTTPS overhead might become an issue, if you are
transacting data more than a couple of hundred MB over a SINGLE
service request. And if that is the case, your service architecture
needs to be revamped and re-written.


> a. Can we do this with just tomcat? What configurations should I make in 
> tomcat and/or apache? Can we do this without Apache in the picture?
> b. What changes do we need to make in the clients?

See above.
1. No Point doing this.
2. Make sure that your service is cleanly defined and the code is
properly written


with regards,
Natarajan
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Re: [OT?][Humour] RMS's mail to "A Word A Day" service

2009-07-13 Thread Natarajan V
Natarajan V  writes:
> 
> Richard M Stallman has written back to the sender, and it was featured
> in the weekly summary email, and here it goes

PermaLink: http://wordsmith.org/awad/awadmail367.html




___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] [OT?][Humour] RMS's mail to "A Word A Day" service

2009-07-13 Thread Natarajan V
Hi,

I have subscribed to "A word a day" service from http://www.wordsmith.org/

Last week, the theme was "Words with three letters in alphabetic
sequence " and the first word to be featured on monday(last monday),
was "defenestrate".
Link: http://wordsmith.org/words/defenestrate.html
PRONUNCIATION: (dee-FEN-uh-strayt)
MEANING: verb tr.: To throw someone or something out of a window.
ETYMOLOGY: From Latin de- (out of) + fenestra (window).
USAGE:
"When someone in a Joe Lansdale novel is defenestrated, you feel like
shaking the glass shards out of your lap."
Jeff Salamon; The Further Adventures of Hap and Leonard; The Austin
American-Statesman (Texas); Jul 4, 2009 .


Richard M Stallman has written back to the sender, and it was featured
in the weekly summary email, and here it goes:-)

From: Richard Stallman (rms gnu.org)
Subject: Re: A.Word.A.Day--defenestrate
Def: To throw someone or something out of a window.

To "defenestrate" a computer also means to install some other
operating system, such as GNU/Linux, in place of Microsoft Windows.


-



--
Natarajan
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Web designing tools

2009-07-06 Thread Natarajan V
On Tue, Jul 7, 2009 at 5:10 AM, Kenneth Gonsalves wrote:
>> http://en.wikipedia.org/wiki/Quanta_Plus
>
> I have been using it for the last 4-5 years. AFAIK it is not WYSIWYG

Did you try the VPL Mode? (F9, Ctrl+Shift+F9, Alt+F9 or otherwise
available in the View Menu).

http://quanta.kdewebdev.org/screenshots//shot1.png
http://quanta.kdewebdev.org/faq.php#kde_version

QuantaPlus uses KHTML rendering engine fore WYSIWYG

with regards,
Natarajan
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Share Some Linux Interview Tips here

2009-05-28 Thread Natarajan V
On Thu, May 28, 2009 at 2:43 PM, Shakthi Kannan  wrote:
> --- On Thu, May 28, 2009 at 2:25 PM, Ramkumar  wrote:
> | Share Some Linux Interview Tips here.
> \--
>
> Why do you think the interviewer is not in this list?

I do take interviews... But in Java and a little bit of Linux. I don't
refer any "interview questions" to ask the candidates. I ask them to
describe some practical scenarios- those that  they have experienced
and also some approaches to the "problems" that i have faced. Do these
constitute "interview questions"?


> ---
> | Because which is
> | very useful for our Interview related process...
> \--
>
> No, it is not. It doesn't really tell if you are *capable* of doing any work.
>
> Either you get your basics right, your skills polished, and prove
> yourselves with your *work* (through FOSS projects, for example), or
> it will be a really, really rough ride for you.

Actual hands on experience has no alternative. Work, work and keep working :-)

> There are _no_ shortcuts in life.

++1
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] help: Sound problem in my compaq laptop

2009-05-07 Thread Natarajan V
On Fri, May 8, 2009 at 2:12 AM, SATHISH KUMAR  wrote:
> I own a compaq cq40 317tu laptop.
>
> After installing ubuntu 9.04, I see that there is no sound output in my
> system.
>
> I configured ALSA mixer and all other sound settings seems to be fine.
>

I installed Kubuntu 9.04 on my HP laptop and faced the same problem. A
little googling, i found this.

1. Run ALSAMIXER from command prompt and you will find that the master
volume is MUTED !
2.   https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/326896

and the way i made it work was adding this to /etc/modprobe.d/alsa-base
options snd slots=snd-hda-intel
options snd-hda-intel enable_msi=1 model=hp-m4
alias snd-card-0 snd-hda-intel


I did both. and now its working fine for me.

PS:  I have got KUBUNTU 9.04 DVD with me. If any one wants a copy,
please reachout to me. But, I don't think I will be able to come to
the meet on Saturday as its a working day for us.

with regards,
Natarajan
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] re: how to use python as a testing tool

2009-05-07 Thread Natarajan V
On Thu, May 7, 2009 at 1:10 PM, Kenneth Gonsalves
 wrote:
> selenium for web

I agree 100%. Many of the fortune companies, now demand Selenium for
their web-application - automation testing.


> desktop python has its own unittest module. In OSS programming, we usually
> build our tests as we code rather than finishing the coding and handing it 
> over
> to some third party to test.

I agree and also beg to partially disagree. We write Unit test suites
(JUnit was one of the  first one to come up with the idea). They are
really great and save us a lot of time in identifying bugs caused in
development of applications that span more than one week (pun
intended). It also brings out and help identify problems associated
with some one else changing our code.

But Unit tests are just unit test. They don't fully address
functionality. You can write a unit test to verify if a configuration
file is read correctly. But a manual/ a third person (second eye) is
mandatory to certify that the application works as it should work. We
call this as "System testing".

Even for web-applications we can write unit-tests for the back-end
functionality  (say the database access layer, provided your
architecture is neatly layered). But you will still need a 3rd person
manual tester/ something like Selenium to verify that the application
works as expected.

In the corporate world, an application tested by the developer alone
is rarely accepted for general use.

with regards,
Natarajan.
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] XSL 2.0 Editors

2009-03-27 Thread Natarajan V
On Tue, Mar 24, 2009 at 1:16 PM, Venkatraman S  wrote:
> Hi,
>
> Am hunting for some good XSL 2.0 editors/IDE , as none of the modern
> browsers are xsl 2.0 compliant.
> Oxygen happens to be good, but is not 'free' - suggestions?
>

My favorite has always been the ones that gets plugged in into Eclipse
IDE. Try any of them.

with regards,
Natarajan
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Recording a sermon translation.

2009-01-31 Thread Natarajan V
On Fri, Jan 30, 2009 at 8:51 PM, Muralidhar Kamidi  wrote:
> 1. Play the sermon with *Audacity*.
> 2. Pause it at the end of a sentence.
> 3. Record my voice (Telugu translation of that sentence) into *Audacity*, at
> that point.
> 4. Continue to play the English sermon till the end of the next sentence.
> 5. If not the end of the sermon, go back to step 3

I don't think you got better alternatives I have tried doing
something similar. Basically got a multi hour recording and split them
into tracks. I haven't found a better way.

with regards,
Natarajan
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] how to toggle between shell prompt and GUI desktop in Ubuntu?

2008-11-28 Thread Natarajan V
On Tue, Nov 25, 2008 at 5:02 PM, S.Mahalingam <[EMAIL PROTECTED]> wrote:
> Balachandran Sivakumar wrote:
>> On Tue, Nov 25, 2008 at 4:30 PM, S.Mahalingam <[EMAIL PROTECTED]> wrote:
>>>
>>> Could anyone suggest the shortcut key by which one can toggle between
>>> shell
>>> prompt(CLI) and GUI Desktop in Ubuntu 8.0.4 LTS Server Edition?
>>>
>>Normally the toggle key is Ctrl+Alt+F1(F1 to F7 will work
>> by default. F7 is the GUI).
>>
> Sorry, I had to contact the forum only after making futile attempt  with
> Ctrl+Atl+F1F7 keys.
>
> Any other method in sight?
>

When you do a "ps -ef | grep getty", do you see anything like this??

root  4427 1  0 06:47 tty4 00:00:00 /sbin/getty 38400 tty4
root  4428 1  0 06:47 tty5 00:00:00 /sbin/getty 38400 tty5
root  4431 1  0 06:47 tty2 00:00:00 /sbin/getty 38400 tty2
root  4433 1  0 06:47 tty3 00:00:00 /sbin/getty 38400 tty3
root  4434 1  0 06:47 tty1 00:00:00 /sbin/getty 38400 tty1
root  4435 1  0 06:47 tty6 00:00:00 /sbin/getty 38400 tty6
___
To unsubscribe, email [EMAIL PROTECTED] with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] wrong url in firefox redirects to searchportal.information.com

2008-09-16 Thread Natarajan V
On Tue, Sep 16, 2008 at 11:54 PM, Abhishek Amberkar [अभिषेक]
>>> http://searchportal.information.com/
>>> I didn't find any info on google regarding how to stop this.
>>
>> Reset google as your default search engine in Firefox.  In your about:config
>> ensure browser.search.defaultenginename is set to Google.
>>
> browser.search.defaultenginename
> browser.search.order.1
> are both already set to Google by default
>
> I will surely try this, but is this a solution for this problem?

The anti-phishing firefox plugin (www.mywot.com) that I have reportes
this information.com as a phishing website. I guess, the default
search engine has been altered.


with regards,
Natarajan
___
To unsubscribe, email [EMAIL PROTECTED] with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Debian Lenny Live CD problem

2008-09-02 Thread Natarajan V
On 9/2/08, indianathan n <[EMAIL PROTECTED]> wrote:
> Sir,
> I downloaded Debian Lenny live (Gnome).It's size is 734MB. I tried to
> burn it in CD using K3B ( i also enabled over flow burning option), But it
> burn until 728MB and failed to write the image.
>
> Anyone experienced this.
>

I wasted 3 CDs, before running a Memory check on my RAM. I ran the
memory checkker that comes along with Ubuntu Install CD (old one). I
used to have to DIMMs of RAM - a 512MB and a 1GB. The memory check
revealed a lot of errors. I removed the 512 and all the errors were
gone.

PS: Infact, even the downloads were corrupted for me

Simpler answer: Run a memory check on your RAM.


With regards,
Natarajan
___
To unsubscribe, email [EMAIL PROTECTED] with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Azureus Installation failure

2008-07-31 Thread Natarajan V
On Thu, Jul 31, 2008 at 10:16 PM, Kunchana Mathota Arachchi
<[EMAIL PROTECTED]> wrote:
> Hey guz ..!
>
> I tried to install Azureus using synaptic in my Debian lenny system. but I
> got following error and the installation  failure.
>
> azureus:
>  Depends: libswt-gtk-3.3-java  but it is not installable
>


Azureus is a full and full Java Application. But it uses the SWT
library - which depends on a few .so files under Linux (.dll under
Windows).

Am not sure about the Debian packages, but you can download the
libswt-gtk from www.eclipse.org and add it to the LD_LIBPATH (Did I
spell the variable name correctly?).

ofcourse you can download the Azrues jar file directly from the site
and run it -  if you have Java already installed.



hth,
Natarajan
___
To unsubscribe, email [EMAIL PROTECTED] with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Java api to send syslogs

2008-07-25 Thread Natarajan V
On Fri, Jul 25, 2008 at 1:48 AM, VenkataRavikanth
<[EMAIL PROTECTED]> wrote:
> Hi,
>
>   Apart from log4j, is there any java api for constructing and sending
> syslog messages.


Starting with JDK 1.4, Sun has introduced java.util.logging framework.
Its packaged along with the JDK and is available in all JVMs. Even
with this, most of the applications use only log4j. But instead of
using it directly, people generally create a wrapper over it (and very
often fail misserbly) or they use commons logging.

Apache's Commons Logging is a logging framework wrapper. It will try
to use whichever logger is available at runtime in its classpath.

hth,
Natarajan
___
To unsubscribe, email [EMAIL PROTECTED] with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] PHP in Enterprise Organizations

2008-07-11 Thread Natarajan V
On Fri, Jul 11, 2008 at 4:17 AM, senthilraja P <[EMAIL PROTECTED]> wrote:
> I feel, when techies of open source raise above programming and concentrate
> on architecture, we can certainly match commercial vendors..

++1 :-)


Cheers,
Natarajan
___
To unsubscribe, email [EMAIL PROTECTED] with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] PHP in Enterprise Organizations

2008-07-10 Thread Natarajan V
On Thu, Jul 10, 2008 at 10:11 AM, senthilraja P <[EMAIL PROTECTED]> wrote:
> /** What about Job Opportunities for PHP in Enterprise Organizations? **
> I am working in an MNC, and i am working on Wordpress..  We implemented
> wordpress multi user in our company, and my career was based on it for the
> past two years..  and believe it, out of all internal portals, the blog
> portal is heavy success..


Hi Senthil,

I think I know what you are talking about. I agree that "our company"
has "some" operations. But how many are customer facing? Out of the
1000s what % would be FOSS? Just curious.

Sorry for being pessimistic, The consulting companies do what it gets
to get paid by the customers. The internal blogging and stuff are not
customer rewarding, and so it has been built on PHP. But Knowledge
Management portals can win projects (a similar implementation at a
client site would be a good example), so we got some of our KM tool in
MS Sharepoint. We (including me) do a lot of POCs on open source stuff
but when the customer asks for a particular product, we use the
equivalent of the OSS stuff

PHP will aid in getting a seat into a company which has a lot of job
openings. So will any programming skill as a fresher. The more
programs you have written, the better. It would be better if you have
worked on larger programs instead of a many smaller ones. The "Unix"
experience is of course valued highly at many places. But if you want
to stick to OSS, be prepared not to work for such consulting
companies,but concentrate on some others.


with regards,
Natarajan
___
To unsubscribe, email [EMAIL PROTECTED] with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


  1   2   >