Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
72% Quality Score
Upvotes Received
17
Posts with Upvotes
17
Upvoting Members
13
Downvotes Received
7
Posts with Downvotes
5
Downvoting Members
7
4 Commented Posts
0 Endorsements
Ranked #517
~104.96K People Reached
About Me

Im pursuing my Computer Science Bachelor's degree in India. Love C++ and C#. Like Java and Ruby as well!
Wanna be a programming polyglot!

Interests
Coding Football Gaming
PC Specs
Win 7 Intel Core 2 Duo 1.8Ghz Intel 946, 2 GB Ram, 620 GB HDD Nvidia 9800 GT 512 MB Viewsonic 17"…
Favorite Tags

139 Posted Topics

Member Avatar for vegaseat

[CODE]"Lisp is worth learning for the profound enlightenment experience you will have when you finally get it; that experience will make you a better programmer for the rest of your days, even if you never actually use Lisp itself a lot." - Eric Raymond[/CODE] How many of you agree with …

Member Avatar for Reverend Jim
15
13K
Member Avatar for jeffcogswell

Nice. Im a UG student and the stuff he said about what he expects from ug grads and pg students was really useful! :D Now I know what to master! :D What to learn! Awesome guy :)

Member Avatar for Auroch
15
2K
Member Avatar for zinnqu
Member Avatar for stevanity

Hi, I am working on a problem. I have a set of advertisements that I need to print on a paper. The ads may be half page, quarter or full page. The advertiser may specify the location (geographical area - out of finite set of areas), intensity (number of flyers …

Member Avatar for rubberman
0
124
Member Avatar for asaidi

If you have your data as an .sql script, you can use MySQL's own tools to import the data. just do, mysql -u user -p database_name < data.sql on your terminal.

Member Avatar for stevanity
0
170
Member Avatar for yazz110

If you know the order of the matrix, then everything should be straight forward... Instead of using a BufferedReader, use a Scanner to "decorate" the File stream. Now you can use nextInt() method to read ints one by one. And as you do use the simple nested forloop to store …

Member Avatar for yazz110
0
285
Member Avatar for stevanity

I have been developing a rails app for a week now. I use jquery-rails gem to use jQuery and everything was working fine. But today, when I started the development server, jQuery just wasn't loading. The console gave the error `jQuery not defined` and `$ not defined` and so forth. …

Member Avatar for LastMitch
0
395
Member Avatar for stevanity

Alright. I am a beginner and I am unable to find a solution to this problem. I am developing this quizzing application. I have built the part that allows you to create and manage questions classified by difficulty and tags. But Im not able to think of a proper quiz …

Member Avatar for Taywin
0
193
Member Avatar for stevanity

Im from Chennai, India. And my university is Anna University. Our results are published in their website and in couple of others. Our college staff go into each url for each student and copy marks and do analysis stuff. Im working on a project to help them do it automatically. …

Member Avatar for pritaeas
0
249
Member Avatar for sillyboy

Roses - RPWL Progressive Rock at its best! [URL="http://grooveshark.com/s/Roses/2CdbC0?src=5"]http://grooveshark.com/s/Roses/2CdbC0?src=5[/URL]

Member Avatar for Helianthus
0
5K
Member Avatar for stevanity

Hey guys. Im designing a web app with rails for storing and analysing college students' marks. Ive come up with a database design like this: ![First](/attachments/large/3/First.png "First") Now IM not sure how to set the associations. Can you please help me? And is the design ok?

Member Avatar for stevanity
0
114
Member Avatar for NetJunkie

Been involved with programming for 5 years. Slight VB before that. I love C,C++, C# and Java. Extremely addicted to Java nowadays. Haven't done many projects. Coded Minor applications and stuff....out of enthusiasm... Want to learn some web technologies and launch a web app!!!

Member Avatar for Reverend Jim
0
965
Member Avatar for CertifiedMan

[QUOTE=jwenting;1689943]once you get into the real world, certifications are pretty much useless as professionals generally understand that most people holding them didn't study to understand the subject matter but merely crammed to pass the exam.[/QUOTE] Well, Im a college junior. IF I get a certification, say OCJP, now will it …

Member Avatar for jbennet
0
189
Member Avatar for stevanity

Hello guyz! Im conducting a debugging contest... Im writing some questions... I wrote a code implementing virtual functions.. Im not sure where to include bugs here.. Can anyone help me add bugs to this code?? Please bugs must make people think.. THey must not just be syntactical errors.. Thank you.. …

Member Avatar for Zcool31
0
111
Member Avatar for stevanity

When I compiled this program... [CODE]#include<iostream> using namespace std; class base { public: virtual void show() { cout<<"\n Base class show:"; } void display() { cout<<"\n Base class display:" ; } }; class drive:public base { public: void display() { cout<<"\n Drive class display:"; } void show() { cout<<"\n Drive …

Member Avatar for gerard4143
0
200
Member Avatar for moonstar3910
Member Avatar for LondonJava

[QUOTE=LondonJava;1697015]I have configuration properties implemented as a java.util.Properties Object with the mappings saved in a config.properties file. I have managed to update the properties in a user input panel, so the user can change any settings while the application is live. However I want any changes a user makes to …

Member Avatar for LondonJava
0
223
Member Avatar for Jaks_maths
Member Avatar for stevanity

I wanna know what type of parser is used in the gcc and turbo c++ compilers. whether a top-down or bottom-up parser is used..... ?

Member Avatar for stevanity
0
871
Member Avatar for stevanity

I wanna know what type of parser is used in the javac compiler. whether a top-down or bottom-up parser is used..... ?

Member Avatar for stevanity
0
213
Member Avatar for stevanity

I need to parse this document with email ids and convert them to a csv file... source. [CODE]xxxx@xxx.com; hello@gmail.com; John (john@hotmail.com);[/CODE] and so on.....lots of emails are there :D output: [CODE]NickName, Email ,xxxx@xxx.com ,hello@gmail.com John,john@hotmail.com[/CODE] Please help me. This aint a homework. Im trying to recover my emails... hehe. I …

Member Avatar for stevanity
0
131
Member Avatar for rotten69

ead [URL="http://www.dummies.com/store/product/Beginning-Programming-with-Java-For-Dummies-2nd-Edition.productCd-0764588745.html"]Java For Dummies[/URL]. It should give you a good headstart. Then you can look at Core Java Volume 1 (Cay Horstmann) and get yourself completely into Java. Then if you are interested you can look at Core Java Volume 2.

Member Avatar for hiddepolen
0
155
Member Avatar for programing

are u making a transition from c++?? "hehe". anyway, in Java a string is stored in a single String object and not a String array. You use character array in C++ [pre Ansi string object era]. and so donot use the "[]" and also... refer the documentation of Scanner class …

Member Avatar for stevanity
0
142
Member Avatar for stevanity

IM new to Ruby and RoR. I have very less prior experience with web techs. I know how web works and worked with pre coded php code (edited em)... and ran websites with template scripts and wordpress cms. But never built em on my own. Now I wanna learn a …

Member Avatar for stevanity
0
129
Member Avatar for stevanity

IM new to Ruby and RoR. I have very less prior experience with web techs. I know how web works and worked with pre coded php code (edited em)... and ran websites with template scripts and wordpress cms. But never built em on my own. Now I wanna learn a …

Member Avatar for Rashakil Fol
0
75
Member Avatar for Deincross

ou could use the convenience method : entering() of the Logger API [URL="http://docs.oracle.com/javase/1.4.2/docs/api/java/util/logging/Logger.html"]http://docs.oracle.com/javase/1.4.2/docs/api/java/util/logging/Logger.html[/URL]

Member Avatar for Deincross
0
388
Member Avatar for TehCPP

Well I cant understand what problem you are gonna face if you construct both apps from a same main class... could u explain how ur apps are structured and what event handling u wanna do..

Member Avatar for TehCPP
0
168
Member Avatar for riahc3

As far as I know JNI is the way to go. But I think I dont have enough experience to guide you further.

Member Avatar for riahc3
0
2K
Member Avatar for danielagaba

You can read the object first and you the following check to see if its an instance of String or Integer class. if(object instanceof String) or if(object instanceof Integer) and then you can convert using casting. String a= (String)object

Member Avatar for stevanity
0
124
Member Avatar for BenzZz

[QUOTE=BenzZz;1698290]Hi, Does anyone know a method or some code to find out whether two numbers have at least one common factor? I currently have a gcd method that finds the greatest common divisor between two numbers however an arithmetic exception is thrown if the two numbers have no common divisor. …

Member Avatar for stevanity
0
3K
Member Avatar for marifergarz

You have to read the number and find a way to extract individual digits from the number. You can do this in two ways: 1. Read the number into a string. And use String ops to extract each number and parse it to integer and test for odd or even …

Member Avatar for stevanity
0
873
Member Avatar for newbie-java

What do u mean it will not return anything? Actually IT3 is index "2". and do u have a b[2]?? {u have only b[0] and b[1] } so ull get an exception (ArrayIndexOutOfBoundsException) As stultuske says it is doing exactly what u want it to do. You are not making …

Member Avatar for stevanity
0
207
Member Avatar for JRDJ12

Algorithm: [URL="http://en.wikipedia.org/wiki/Bubble_sort"]http://en.wikipedia.org/wiki/Bubble_sort[/URL]

Member Avatar for NormR1
0
262
Member Avatar for newbie-java

A gorilla, a donkey, a cup of tea, ME, stultuske? ..... One a serious note, yeah as stultuske said please post the entire code so that we could help you out.

Member Avatar for stultuske
0
249
Member Avatar for greatcornholio

Well I cant understand a thing.. sorry... English. If you could post your entire code it would be helpful. with variables translated. But someone here may be able to help you... your choice..

Member Avatar for stevanity
0
171
Member Avatar for programing

Im sorry but the looping logics uve used doesnt make much sense at all. I suggest you come up with a proper algorithm for doing this problem and then write a pseudocode with that algorithm and then proceed to coding. When U come up with a proper algorithm post it …

Member Avatar for stevanity
0
93
Member Avatar for softDeveloper

What do u get when you call [CODE]jTextPane.getFont().canDisplay("\u0169"); [/CODE] ??

Member Avatar for stevanity
0
75
Member Avatar for Gen.Asura

If your expression contains only { (,),digits,*,+,/,- } then you can use the "Javascript" Engine. Your choice... But I do recommend what others have said. Convert the expression to Postfix and then use a stack to evaluate the expression. That way it would be a fun and joyful experience doing …

Member Avatar for Gen.Asura
0
835
Member Avatar for Ashenvale

A simple solution would be to enclose everything in a do while loop: Like this: [CODE] do{ //stuff to repeat // // // System.out.printn("Do again? [Y/N]"); choice=console.next(); } while(choice.trim().equalsIgnoreCase("Y");[/CODE]

Member Avatar for Ashenvale
0
172
Member Avatar for km2011

PLease use CODE tags to enclose your code. And please tell us what you want to do... what the program is for... etc. and whats the output and what do you want as output. Please state clearly. And your current code will only print Average of j[0] = 0 d[0][0] …

Member Avatar for km2011
0
174
Member Avatar for kelvin924

Well actually java Random class uses System.currentTimeMillis() for seeding the Random number. So you can copy that code.. Here is the source code: [CODE]int next(int bits) { seed = (seed * 0x5DEECE66DL + 0xBL) & ((1L << 48) - 1); return (int) (seed >>> (48 - bits)); }[/CODE] This will …

Member Avatar for stevanity
0
221
Member Avatar for lena1990

You need to use the unicode value for every arabic character to print the arabic characters.... check this out... [URL="http://unicode.org/charts/PDF/U0600.pdf"]http://unicode.org/charts/PDF/U0600.pdf[/URL] You could do that manually... or you can use many online arabic to unicode convertors found online... like this one.. [URL="http://www.arabunic.free.fr/"]http://www.arabunic.free.fr/[/URL] I donot know arabic... and Im giving you the …

Member Avatar for stevanity
0
2K
Member Avatar for glenak

I would also love to see someone share their experience with doing such a thing. Like Creating a DataGrid like thingy in Java....

Member Avatar for stevanity
0
100
Member Avatar for stevanity

Im a college junior. Ive got fairly good experience with C++, C#, and Java SE. But I dont have any experience or knowledge in the web application side of things. I really want to add one technology to my skill set. I donot know Php well. All I know is …

Member Avatar for Rashakil Fol
0
133
Member Avatar for anand01

So lets see each option: A: private int blipvert(int x) { return 0; } [QUOTE]Since the signature matches the one in base class method overriding comes into action. BUt the problem is you you cant lower the accessibility of a method i.e you can assign override a protected method as …

Member Avatar for anand01
0
184
Member Avatar for low1988

From what I read from the docs DES cipher needs an 8 Byte Key. If you change your pin to 8 bytes you can run without problems. Since you are gonna do this ciphering and deciphering, you can add a 0 to front or end of the pin cipher it …

Member Avatar for jwenting
0
195
Member Avatar for drameshgar1

Ok. First of all what is stored in classList String??? And also... when classList() method is called should it return the "ArrayList" or a "String array" of all the students in the ArrayList?? BTW, the reason for the syntax error is you have added a "()" after "return classList" statement. …

Member Avatar for stevanity
0
225
Member Avatar for rlhh

Well, call gameLoop() from actionPerformed() of the button and pass the cmd as argument... [CODE] statsButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e){ gameLoop("stats"); } }); [/CODE] [CODE]public void gameLoop(String cmd){ //do stuff with cmd }[/CODE] And since you say they are in two different classes, you can create an instance …

Member Avatar for mKorbel
0
220
Member Avatar for xiangzhuang
Member Avatar for javaNooblet
Member Avatar for stevanity
0
263

The End.