[twincling] Installing a theme

2009-07-10 Thread Kartik Nayak
Hi, I tried to extend the theme Bluemarine. The .info file of the new theme was as follows ; $Id$ name = Descartes description = Theme Extending Bluemarine. version = 1.0 core = 6.x base theme = bluemarine stylesheets[all][] = style.css stylesheets[all][] = new.css new.css is the one defined in

[twincling] Re: chm viewers

2009-07-10 Thread rajkumargoel_786
--- In twincling@yahoogroups.com, manish kumar abhiman@... wrote: xchm is better in rendering the pages. it loads faster too. On Fri, Jul 10, 2009 at 9:48 AM, Saifi Khan saifi.k...@...wrote: On Fri, 10 Jul 2009, Pratik K Anand wrote: Mukund Deshpande mukund.twincling@

[twincling] Println

2009-07-10 Thread rajkumargoel_786
object lists{ def main(args:Array[String]){ val nums=List(1,2,3,4,5,6,7,8,9,0) val fruits=List(Apple,Banana,Cheekoo,Jack Fruit,Grapes,Mango,Orange,Papaya) println(nums) println((nums.tail).tail) println(fruits.head) println(fruits.tail) println(fruits) } } HOW TO WRITE ALL PRINTLN 'S IN ONE

Re: [twincling] Re: chm viewers

2009-07-10 Thread Mukund Deshpande
Hi RKG, Its a software to view .chm files on linux. kchmviewer is kde based. thanks, SMS On Fri, Jul 10, 2009 at 12:37 PM, rajkumargoel_786 rajkumargoel_...@yahoo.co.in wrote: --- In twincling@yahoogroups.com twincling%40yahoogroups.com, manish kumar abhiman@... wrote: xchm is

Re: [twincling] installing a web cam

2009-07-10 Thread Parag Shah
Dear Saifi, Thanks for your reply. I think I missed one point in the original mail. I was trying to get my integrated webcam to work, whereas perhaps the original mail was intended for an external webcam. Can I try the command on an integrated webcam as well? ffmpeg -f oss -i /dev/dsp -f

[twincling] image retrieval from database

2009-07-10 Thread sudhir ms
hi, i hav stored image into database  using servlet... but when iam retrieving  iam fcaing error .. java .lang.unsupportedoperation on executing getblob() method...     my code as follows:     import java.sql.*; import java.io.*; import javax.servlet.*; import

Re: [twincling] image retrieval from database

2009-07-10 Thread Kartik Nayak
hi sudhir, As a primary check, check if the first column of the result from select * from pic1 contains the image and not any primary key or something else. Regards, Kartik Nayak On Fri, Jul 10, 2009 at 1:31 PM, sudhir ms sudhir_251...@yahoo.co.inwrote: hi, i hav stored image into database

[twincling] Re: List[Nothing] and object Nil

2009-07-10 Thread rajkumargoel_786
--- In twincling@yahoogroups.com, Mukund Deshpande mukund.twincl...@... wrote: Hi all, scala val empty=Nil::Nil empty: List[object Nil] = List(List()) scala empty.head res11: object Nil = List() scala val empty=List()::List() empty: List[List[Nothing]] = List(List()) scala

Re: [twincling] Println

2009-07-10 Thread Kartik Nayak
On Fri, Jul 10, 2009 at 1:01 PM, rajkumargoel_786 wrote: object lists{ def main(args:Array[String]){ val nums=List(1,2,3,4,5,6,7,8,9,0) val fruits=List(Apple,Banana,Cheekoo,Jack Fruit,Grapes,Mango,Orange,Papaya) println(nums) println((nums.tail).tail) println(fruits.head)

Re: [twincling] Println

2009-07-10 Thread nikhil
Hi rkg, I dont know abt an error but I do get a warning from compiler, if I use '+', as shown below, but the program still runs( with wrong o/p) warning: there were deprecation warnings; re-run with -deprecation for details one warning found Now, 'println' requires its args to be of type

[twincling] Drupal site slow

2009-07-10 Thread Kartik Nayak
Hi, My drupal site has become very slow recently. What used to take less than a second to load some days back, takes about 6-8 seconds now. The screenshots are attached. Any help? Regards, Kartik Nayak [Non-text portions of this message have been removed]

Re: [twincling] Re: List[Nothing] and object Nil

2009-07-10 Thread Mukund Deshpande
Hi Rajkmar, Thank you...I even looked into Scala API and found that Object Nil extends List[Nothing]\ thanks, SMS On Fri, Jul 10, 2009 at 2:13 PM, rajkumargoel_786 rajkumargoel_...@yahoo.co.in wrote: --- In twincling@yahoogroups.com twincling%40yahoogroups.com, Mukund Deshpande

Re: [twincling] image retrieval from database

2009-07-10 Thread sudhir ms
create table pic1(image blob);   this is my table and i hav checked it image was storing correctly.. help me to get out of  it --- On Fri, 10/7/09, Kartik Nayak kartik1...@gmail.com wrote: From: Kartik Nayak kartik1...@gmail.com Subject: Re: [twincling] image retrieval from database To:

[twincling] Re: Println

2009-07-10 Thread rajkumargoel_786
--- In twincling@yahoogroups.com, nikhil nik_...@... wrote: Hi rkg, I dont know abt an error but I do get a warning from compiler, if I use '+', as shown below, but the program still runs( with wrong o/p) warning: there were deprecation warnings; re-run with -deprecation for details

[twincling] Zend Studio for Eclipse vs Eclipse Based IDE's

2009-07-10 Thread sam_girish
Hi Friends, I have few queries as follows 1) What is Eclipse IDE and what is the difference between Zend Studio for Eclipse and Eclipse IDE? 2) Why and what is meant by Eclipse Based IDE's ? 3) Do I have an equivalent of Visual Studio 2008 IDE for PHP ? where I can develop PHP Pages similar

Re: [twincling] Re: Println

2009-07-10 Thread nikhil m
Hi rkg, The mkString() way was cool. I found another easy way. I think all collections have a toString method. So instead we can just use that. ex: println( nums.toString + nums.tail.toString + nums.tail.tail.toString) The advantage of this method is that you can easily preserve the formatting

Re: [twincling] Re: Println

2009-07-10 Thread Mukund Deshpande
Hi nik, In your mail you say that we actually invoke + method for List and not for String. But String in scala is java.lang.String(You won't find String in Scala API)... scala val k=SMS k: java.lang.String = SMS All dataypes like int,folat...have a class in scala but not string as it was

[twincling] Re: Println

2009-07-10 Thread rajkumargoel_786
Hi Nikhil, The way you said was cool .I was playing with now and I was hit by another new observation. this is what Happened scala List(3,3) res0: List[Int] = List(3, 3) scala res0.toString() res1: String = List(3, 3) scala res0 res2: List[Int] = List(3, 3) scala res1.length res3: Int = 10

[twincling] Re: Println

2009-07-10 Thread rajkumargoel_786
Hi sms, Actually there is one more implementation of String which scala has Rich String ,RichString class is scala's implementation of a class like a String class in Java.But it is always not used it used only when certain functionalities can't be provided by Java's String class. It is a

[twincling] Re: Println

2009-07-10 Thread rajkumargoel_786
Hi sms, Actually there is one more implementation of String which scala has Rich String ,RichString class is scala's implementation of a class like a String class in Java.But it is always not used it used only when certain functionalities can't be provided by Java's String class. It is a

Re: [twincling] Re: Println

2009-07-10 Thread Mukund Deshpande
Hi RKG, I have already looked into RichString ..In Scala API RichString has only *,++ methods having special characters thanks, SMS On Fri, Jul 10, 2009 at 6:44 PM, rajkumargoel_786 rajkumargoel_...@yahoo.co.in wrote: Hi sms, Actually there is one more implementation of String which scala

Re: [twincling] Re: Println

2009-07-10 Thread Mukund Deshpande
Hi RKG, Yes Rich* classes provide extra functionality.If you peek into scala API you'll find + method is in Int class itself not RichInt ...so similarly it should have been in String class but not in RichString... And String class is not there.. thanks, SMS On Fri, Jul 10, 2009 at 6:42

[twincling] Re: Println

2009-07-10 Thread rajkumargoel_786
HI sms, String is there in scala .Since it imports java.lang package of java it has String class of Java. the complete to path in Java.lang package is java.lang.String. As far as + operator is concerned i am peeping in to the Object class of Scala seeeing whether it has a overloaded version of +

Re: [twincling] Re: Println

2009-07-10 Thread Mukund Deshpande
Hi Rkg, Yes thats what i was pointed when i said In your mail you say that we actually invoke + method for List and not for String. But String in scala is java.lang.String(You won't find String in Scala API)... scala val k=SMS k: java.lang.String = SMS Looking forward for your reply...

[twincling] Re: Println

2009-07-10 Thread rajkumargoel_786
Hi sms, What you said I didnot understand in the previous mail but however I came to know the mystery of +. For finding the answer I went to Scala channel of IRC.and here is the log. [19:20] rkg Hi [19:20] RSchulz Finally! I thought maybe the Earth was finally deserted. [19:21] rkg I've got a

Re: [twincling] Re: Println

2009-07-10 Thread Mukund Deshpande
Hi rkg, Thanks,Actually the method you adopted to get the answer...is gr8. I'll try that from nxt time..thanks a lot! SMS On Fri, Jul 10, 2009 at 7:37 PM, rajkumargoel_786 rajkumargoel_...@yahoo.co.in wrote: Hi sms, What you said I didnot understand in the previous mail but

Re: [twincling] Re: chm viewers

2009-07-10 Thread Pratik K Anand
Saifi Khan wrote: Mukund Deshpande mukund.twincl...@... Looks like all are in .chm format ...try kchmviewer thanks, SMS I found ChmSee to be betta than kchmviewer...atleast on my OS :) -- thanks for your time, Pratik K Anand Hi Pratik: How do the

Re: [twincling] Re: Println

2009-07-10 Thread Mukund Deshpande
Hi Rkg, I tried out the any2stringadd function in Predef. it worked but could'nt understand the relation between + and any2stringadd so went to #scala [21:07] SMSD yeah [21:07] SMSD got it [21:08] SMSD but how does the scala compiler [21:08] SMSD know [21:08] SMSD + is any2stringadd [21:08] SMSD