@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7



Comments:

<0> flees?
<1> open wound ?
<2> thread-problem
<0> ah
<1> Ah
<1> Buy a toup !
<1> The threads will run even
<2> got it working now tho. was scary there a moment but my superglue and my logitech mouse solved it
<1> That was too much for Rob_Uknow , apparently
<3> Bouncy : what's wrong? the swing crap confusing you ?
<2> no
<3> but ?
<2> it just didnt "work as intended"
<4> Anyone have any experience with tomcat? I'm running simple jsp pages on a tomcat server that gets about 200,000 hits a day. Works fine, humming away at about 1% CPU. Then, after a week or so is around 8% or so CPU. Finally, it was end up crashing with an out-of-memory error. Are there any known memory leaks in tomcat?
<2> known memory leaks are probably displayed on their site



<5> not unless it's on winblows heh
<4> Nope, gentoo
<5> HitchHikr: is the memory consumption by tomcat going up?
<4> That's what I thought but no...
<5> jvm?
<4> 1.4.2.10
<4> Someone mentioned to kill the process the next time it happens with a SIGQUIT and see if there are a lot of locked up or waiting threads
<4> Seems reasonable
<5> well yes that would say for sure that it's tomcat
<5> but i doubt it is
<4> Ha! As if right on queue I just saw it jump up to 30% twice. It won't be long until we know :)
<3> Bouncy : haha
<2> I wonder if its hard to implement Gecko in a java application :)
<5> HitchHikr: that shouldn't matter if it jumps to that level as long as it doesn't constantly stay there
<4> It's a pre-cursor
<4> It starts out for about 2 days just staying at 1%
<4> Then you'll see small spikes up to 8-10 % every 30 seconds or so
<4> Then 40% every 10 seconds (like now)
<4> Then pretty much stays 20-50%
<4> Then in a bit, 99%, out of memory, all sockets hung, SRuns building
<4> And my pager goes off... and my girlfriend hates me just a little more for it.
<5> are you sure your timing your sessions out?
<4> Yup, 30 minutes
<5> cuz that would be my first guess...it's something to do with session
<5> maybe i'm just used to IBM crapola these days :/ :|
<5> well good luck...i'm off to gitter lessons
<3> Bouncy : the gecko browser/rendering engine ?
<3> Bouncy : very hard
<2> :)
<2> Gecko written in.. c?
<2> c++?
<3> i think so
<3> but i'm just guessing from available java html browsers
<2> java browsers not successful?
<3> they are mostly performing poorly and the better ones are commercial products (so most likly not quickly/easily reprogrammed)
<2> heh, true.
<3> Bouncy : they usually fail to provide accurate mozilla/IE(konqueror/opera compatibility
<3> and since almost every important side uses javascript and dynamic stuff these days
<2> i think the web as it is today, ****s.
<2> well, not ****s. just.. it could be better.
<6> hi
<2> I wish there was only one realtime web language.
<2> or something.
<6> anyone has some free time ? :P
<2> dont ask to ask.
<6> is it ok if i ask to ask to ask ? :)
<2> no
<6> anyway. - what I'm trying to do is to ) Write a method int[][] convertSequencesToDoubleSizedArray (int[] arr, int n) that creates an array of the tuples (as arrays of integers) and returns it as its result.
<6> Example: parameters 3 (n=3) and 1 2 3 4 5 5 1 3 2 3 6 9 8 7 1 9
<6> result {{1,2,3},{2,3,4},{9,8,7}}
<6> Write the main method: define suitable arrays in the main method to call and test your methods from main and show the outputs of the methods on the screen. The first line of the output should be your name and student ID.
<6> oops
<6> ahhhhhhh
<2> sounds like school.
<6> it's the student ID, is it
<2> you have to think about how to solve that. involves a for-loop im sure.
<6> 4 ?
<6> for loop ?
<2> you dont know what a for-loop is?
<6> no :/



<7> A who what?
<2> Kakl :) ask your teacher.
<7> Kakl: http://java.sun.com/docs/books/tutorial/java/nutsandbolts/for.html and ask your teacher.
<6> :)
<7> Bouncy: That's cause you can't.
<6> how basic is it ? I mean, in your opinion, if I didnt know JAVA at all, how long would it take until I do this ?
<2> rickety: i have done, at a university even.
<2> an*
<7> "a" was right.
<7> Kakl: A for loop is some basic syntax, just go and learn it.
<2> :/ got fooled by my own brain. hurts.
<8> salam
<8> good night
<2> what do you call a Databace/Server interface for a better name? need a good cl*** name for a cl*** that acts like a stub (interface) of a db
<6> hmm
<4> I like "Stubby"
<6> hello
<9> Bouncy: DAO?
<10> re
<6> hey
<11> I want to write a script/program that can access a website and put data in some fields automatically. Any ideas to what is the best way to go about this?
<3> tpp : in java : write in applet, but if you html fields/forms it look like a javascript problem
<3> tpp : or use servlet/jsp if you want to create it on the server side
<11> thanks
<12> what can be used to cycle through the keys of a LinkedHashMap ?
<7> keySet()
<12> thanks
<13> hey
<13> to write java i need a compiler and the sdk from sun's site, correct?
<14> yep
<14> or at least a java compiler/sdk ( Apple ship their own)
<13> k thanks
<15> if i have a parent cl*** with a constructor that doesn't take any parameters
<15> and a child cl*** constructor that doesn't take parameters
<15> how do i copy the constructor from the parent cl*** to the child cl***?
<15> super(); ?
<16> yes
<16> it's not a copy
<16> you are calling ig
<16> iit's inherited anyway
<16> ig = it
<15> inherited.. yes
<15> my brain is half asleep :P
<3> lol
<3> super dooper
<15> hey kmh
<17> Hello. I want to able to send numbers to a server calculate there summary and return it in binary form using UDP. I have done it with the use of TCP where i send the numbers as strings to the server, turn them into integer with java.lang.Integer.parseInt and then calculate their sum and binary. When i do the same in UDP i get a at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
<17> java.lang.NumberFormatException: For input string: "45 (end of line) the weird is that i can print the string as a string with system.out.println(name_of_string) and will appear as a normal string but when i try the java.lang.Integer.parseInt it gives me the error i mention
<3> post a testcase
<17> i used for(int i = 0; i < s.length(); i++){System.out.println("\"" + s.charAt(i); + "\"");} (where s is my string and the outcome was)
<17> ok
<17> http://rafb.net/paste/results/hmTLqh38.html
<3> well the string is ok as a string, but not as a number
<17> http://rafb.net/paste/results/GUUzDC46.html this is the client code
<17> what exactly do u mean by that, how does it affects me, what can i do to change it and how? :D
<3> there's no line 48
<3> well "xef" is ok as a string but not as a number
<3> so Integer.parseInt("xef"); will throw such an exception
<3> i guess you have a more subtle error of that kind
<17> but in the paste for instance i typed 45
<17> and that's what i got
<3> there might invisible or special characters
<17> :S
<17> Is there a possibily i can send integer through Datagrams instead of strings?
<3> yes
<3> i ***ume you write into a stream
<3> like datainput or something
<3> it gives you the option to write int, double, float,byte etc as well
<17> BufferedReader inFromUser = new BufferedReader(new InputStreamReader(System.in));
<3> well check for dataimput/datainput steam


Name:

Comments:

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






Return to #java
or
Go to some related logs:

#linux
mag lt916s manual
#linux
#php
#ubuntu
#mirc
#AllNiteCafe
vagnetic
#php
#linux



Home  |  disclaimer  |  contact  |  submit quotes