@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2



Comments:

<0> here's a test case..... showing how i want to p*** a boolean array as a parameter...
<1> opethian2: looking
<1> opethian2: that's not a test case. please read the explanation of what a test case is.
<0> can you not just comply with what you see?
<1> opethian2: Boolean chosen = new Boolean[8]; <- invalid
<1> opethian2: http://pastebin.com/569223
<1> opethian2: http://javafaq.mine.nu/lookup?9
<0> many thanks
<2> Can anyone help me with my encryption? http://pastebin.ca/42952
<2> It's encrypting ok, but it doesn't decrypt
<2> sorry, missed a line
<2> http://pastebin.ca/42954
<3> hello
<3> anyone here?
<4> howdy.
<5> sup kfs



<4> not much. have some questions and am looking to solicit/hire coders ;)
<5> ask your questions
<5> and ur seeking consultant developer working from home?
<5> I could be interested
<4> i am looking to have built for me a client server app.
<6> that seems like homework :P
<4> to replace a currently deployed web based system
<4> i know very little about programming and i don't need another career.
<4> but i'm trying to learn as much as possible so i can more accurately find talent
<5> oh ok
<4> so it's a client server app. highly database driven and dealing with large files
<4> a lot of people are throwing around this "web service" bull**** and i'm trying to decide if it's worth gleaning off of that or just comletely coding from scratch
<5> depends on your needs, but you are right to consider web services a buzzword for now
<4> i'm not looking to make some open thing. this is a Service i provide to people who pay a pretty decent chunk of change
<5> yes but look
<5> if you want clients on c# to be able to call your services
<5> web services would do the trick
<4> nope
<4> well that's a consideration. how the client end will work
<4> if i go pure java. it's easy
<5> if you stricly want java ones, corba/rmi would be probably more efficient, but do you need efficiency
<4> i need speed and i need to closely monitor the connecitons
<5> for the data transfer protocol
<4> we're talking about 300+ MB files being transferred. and i want resume capabilities
<4> and speed
<5> oh well
<4> so i'm pretty sure for now it's easiest to keep it strictly java
<7> hi
<7> how to get the curent date of the format dd-mm-yyyy ? and how to convert it to string ?
<5> maybe with SimpleDateFormat
<5> check it out
<7> ok :)
<8> is that deprecated?
<7> I need suggestion about a method
<7> paste site please
<7> http://www.noidea128.org/sourcefiles/15957.html
<7> any suggestion ?
<5> what's the question?
<5> what kind of suggestion
<5> DateModif shouldn't start with a capitalized letter
<7> why ?
<5> hehe just conventions
<5> fields should never start with a capitalized letter, except for constant one ( static final )
<5> (they are all capitalized and words are seperated by underscores)
<7> ok :)
<9> hmm, what is the URL for the pastebin...I'd like to have someone take a look at some code if they don't mind and help me figgure out what's wrong
<10> hi all, im having problem with -silent flags, can someone help me correct the flags? => ./jdk-1_5_0_06-nb-4_1-linux-ml.bin -silent
<11> can you access private data members of an object from outside of the cl*** w/ the . operator? or do you need an accessor
<12> question.. im tryingt to use the Math.random() to generate a lower case letter.. i figured you could set it to randomly generate any of the first 26 letters and cast it to a letter
<12> <12> but how do you cast a # to a lowercase letter?
<13> you add value of 'a' to it
<12> im not following, gilead
<12> :/
<14> ziggyy: simplest way: (char)(Random.nextInt('z' - 'a') + 'a')
<12> for some reason this practice problem says to try it with the math.random statement
<12> can it be done that way?
<14> yep, question is: how to convert numbers in range 0.0 - 1.0 to numbers in range 0-('z'-'a')
<12> yeah
<14> that's question to you, if that's not clear ;)
<12> yeah well i know to make the range from 1 - 26 for 26 letters
<12> i just have no clue how to make a lower case letter from a number, heh



<14> see above
<12> im confused, gilead
<14> ziggyy: modify what I wrote above with your code using Math.random instead of Random.nextInt and you're done
<15> Is there a way to broadcast UDP packets without using a multicast socket or sending packets individually using a loop?
<12> so all it is (char)(Math.random() * 26) +1) ??
<14> why +1 ?
<12> lol
<12> because we start with the 1st letter
<14> jeez, kids these days ;P
<12> or is 0 = a?
<14> really, ziggyy, consult nearest ASCII table for your own good
<12> gilead: 65 = a
<14> ziggyy: 1: wrong
<12> http://www.cs.mun.ca/~michael/c/ascii-table.html
<14> scratch 1, sorry
<14> no, I was right
<14> hehe
<12> oh oops
<12> 97 = a
<12> 65 = A
<14> 2: why do you think I used these funny 'a' literals etc.?
<12> because we want a char
<14> no, because using meaningful symbols instead numbers is Good Thing (tm)
<12> so all it is (char)(Math.random() * 26) + 97 ??
<14> more or less, yes
<12> heh
<12> hey gilead.. if i want to know if a string starts with a digit.. it's just
<12> String srt = sc.next();
<12> boolean ch1 = str.isDigit(0)
<12> and then use ch1 in an if statement?
<14> tias
<12> tias?
<14> www.acronymfinder.com
<12> haha
<15> Is there a way to broadcast UDP packets without using the MulticastSocket, using the 255.255.255.255 address or sending it individually using a loop?
<16> Is it possible to draw a string centered on an x, y value?
<14> yes
<16> how do I do that? I've searched around a bit in the api but didn't find a good method of doing it...
<14> see FontMetrics cl***
<16> kk, thanks. :)
<10> anyone here using tomcat?
<14> yesw
<17> ofcourse
<10> can you help me with my problem, i already installed tomcat in my linux server,
<10> however i cant view it using http://l92.168.1.2:8080 using internet explorer, is there something missing in my httpd?
<14> try 127.0.0.1
<14> or localhost (dunno if it works on Windoze)
<14> errr... linux server
<10> im using the workstation accessing the server
<14> sowwy ;)
<14> too fast reading ;)
<17> kuto: Are you sure the server is launched at 8080?
<14> kuto: first check tomcat logs then firewall/router settings
<17> kuto: When i for example use the packaged version in Debian, tomcat is set to run at 8180, so as not to conflict with more common secondary webservers.
<10> Feb 24, 2006 2:49:21 PM org.apache.catalina.core.ApplicationContext log
<10> INFO: ContextListener: contextDestroyed()
<10> thats my last log
<14> kuto: review entire log for errors, exceptions, failures etc
<14> kuto: if log is too big, stop tomcat, delete logs, restart it
<10> gilead: http://pastebin.com/569982
<14> kuto: do it yourself, you can spot errors in log files, can you?
<10> im new in tomcat..can you guide me a little?
<14> kuto: yes, words like 'error', 'exception', 'failure' means 'something wrong'
<14> s/means/mean/
<10> i dont see any error though
<14> try to access your server from terminal (links, lynx)
<14> if that works fine it must be router/firewall(s)
<10> ok< let me go straight with the server
<18> morning
<19> Hi all. I have a little question..
<20> Just ask, maybe someone will answer it
<21> really
<20> If it's Java, and not Javascript!


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #java
or
Go to some related logs:

#AllNiteCafe
hash_map dev-c++
Irish wash
#MissKitten
#linuxhelp
Manilaboys
#chatzone
#linux
Your PHP seem to lack MySQL support. Please locate your php.ini file and enable
popa3d undefined reference to `crypt'



Home  |  disclaimer  |  contact  |  submit quotes