Log in

No account? Create an account

Previous Entry | Next Entry

Of javac & #!/usr/bin/perl

Off we go tomorrow to show our Java & CGI projects. Heard its the same examiner as our Network Lab so here's praying for an Indian victory as rythm rightly pointed out. Dad's phone shall be put to good use tomorrow :)

I'm too bugged to take backups on CD as am taking the comp to college anyway. Thanks to harry & rythm (in part) I have 3 J2SDK's on Windows, 2 of 1.4.2_02 & 1 of 1.4.1_01. Two of which will go out of the comp tomorrow. Somehow, parts of our project messes up on 1.4.2, so if we want to show the thing completely..it'll have to be on 1.4.1 tomorrow.

No luck on the Date format in TB, on the verge of giving up.


( 8 comments — Leave a comment )
Jan. 5th, 2004 10:44 am (UTC)
why not modify the source?
Jan. 5th, 2004 11:01 am (UTC)
Nice option... I'll look into it. I was just trying to see if there's a setting that does it (I know there is...but can't seem to find it)
Jan. 5th, 2004 10:44 am (UTC)
oh, that should be #!/usr/bin/perl -w
and if you're doing CGI in perl, then
#!/usr/bin/perl -wT
use CGI;
Jan. 5th, 2004 11:05 am (UTC)
yup CGI in perl.

a use warnings; would have the same effect right ? Don't know what the T does though (& I have an exam tomm... ;) )
Jan. 5th, 2004 08:32 pm (UTC)
yes, -w == use warnings if >= 5.6.0

-T is to turn on taint checking (man perlsec). One should *never* write CGIs/Servers/Setuid progs without doing taint checking.
Jan. 6th, 2004 08:37 am (UTC)
okies... now that this project is done, I'll keep -T in mind the next time I do CGI with Perl
Jan. 6th, 2004 06:15 am (UTC)
(Sorry for the OT posting, just wanted to get your attention :-) )

How does one go about getting a DIAS connection. I live in BTM layout, any idea if it is available there? Who do i ask?
Btw what is the cost/bandwith for it?
I went asked touchtel, its too expensive for heavy usage... 350MB for Rs.995, 1.40 per MB then onwards. Also they have this silly USB modem which i presume wont work without a computer, which means i'll have to keep that comp switched on if i want to use multiple computers...
Jan. 6th, 2004 08:29 am (UTC)
Re: DIAS...
I really don't know if its available in BTM, but do this. Contact the Commercial Officer, BSNL one Mr. Manjunath (The office is in Yediur). He's the man incharge of DIAS. Find out if its there for BTM, if it is... he'll give you a form to fill & you'll have the thing within a couple of days.

Charges are as follows : Plan A -> Rs 2000 Initial (Payable ONLY by DD) & Rs.850/month for 500 MB (which is automatically billed, so payable with your phone bill). After 500 MB, Rs.120/100 MB. & there's a Plan B (with a 1.5 GB limit) & Plan C (unlimited). I *think* Mr.Manjunath's direct line is 6540000, or just call up BSNL & ask for him.

On the tech side, they install a DSL modem which is connected to your comp thru a Straight CAT-5 cable, so you need a NIC (they don't provide NICs). Now your phone line is plugged into the modem, which kind of ensures none of your parallel lines work (if you have any) & you can receive calls only at a phone connected to the modem.

DIAS ain't for heavy use either. In fact I don't see ONE ISP giving something for heavy use thats affordable.

( 8 comments — Leave a comment )

Latest Month

July 2009


Powered by LiveJournal.com
Designed by Lilia Ahner