| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8
Comments:
<0> i still think its because the statement object is destroyed <1> 00:D <1> :D <1> hi all <2> hi preach <1> :) <3> hi <1> hi calchas <1> qaj have a major problem :'( <1> swing staff problems <4> Sounds more like trollish problems. Thats the kind of staff I'd expect gnomes and trolls to carry. <1> exactly tollish mc flurry broblems :'( <1> trolish* <2> :/ <1> let me type it correctly cause im excited <2> lol @ excited
<1> exactly trollish mc flurry problems :'( <3> Lion-O please calm down a bit an give people a chance <1> tel him calchas <1> cause he is rude with me <1> :'( <3> Preach21m, what is your actual problem <4> calchas: Oh I am calm. If I wouldn't he wouldn't be here anymore. <1> my problem is that i dont have an actual problem :/ <3> Preach21m and you should keep out of it and not inflame <3> cool, tem be sensible <1> Lion thank you i appreciate lets start a new year <4> calchas: besides; I think you forgot the last year where he was spamming the channel with that annoying crap for half a day. I have my reasons here. <1> now we are okay? <1> a new year? <1> i just came here 1 time <1> when i had a problem <1> now i have a problem and i am here again <3> Preach21m, quiten down unless you have something sensible to say, else you will anger regulars and disrupt the channel, is that a sensible request to you ? <1> disrupt who? <1> its so quit here <1> however <1> i have a problem <1> i think you noticed that! <1> :D <3> state it of be removed <1> removed what? <3> from the channel <1> wb mr <1> i said welcome back mister <1> 0_o <1> not even a thank you? <3> do you have a real java problem? <1> yes i do have a real java problem <3> what is it <1> java problem i just said it :/ <3> hi Rob_uknow <5> calchas <5> hi <6> hi, i just figured out i made a terrible mistake .. im using doubles and found out a problem with precision <5> you did? <6> pretty stupid of me :/ <6> yes heh <6> only after googling i discovered the problem <3> what sort of app is this <3> doubles have a fairly high resolution <6> numerical <6> well i have a division <6> and im comparing to other doubles <6> but now i noticed that for example i get 5.0000000000000005 <6> so when i compare to 5 <6> obviously i dont get what i want :/ <6> of course now i discovered BigDecimal <3> strange thing to do anyway <6> why ? <6> i mean i have e.g. two vars <3> as long as you can afford BigDecimal <6> the problem is converting to BigDecimal :/ <3> equality testing of true reals is usually an issue (uncountably infinite sets and all that) <6> this is >= and <= <3> what are you trying to do with the comparison
<6> im comparing the two values, e.g. if they're less then i do something .. etc <3> maybe do a subtraction and test for a difference less that some small number (the binary quantisation for example) <6> hmm <3> >= and <= should pose little to no problem <3> == is in general a problem <6> but if one var is 5.0000000005 and the other is 5.0 <6> then it is a problem :/ <3> why <3> <= will yield a result <6> if ((x >= x3) && (x <= x4)) <6> in this particular case <6> x3 and x4 are both 5.0 <3> thats just a replacement for == <6> while x is 5.00000000005 <6> yeah, when both x3 and x4 are both the same <3> so what real problem are you trying to solve <6> hmm yeah that's the problem <7> Hello <6> i have a lot of functions, which im quantising <6> and then use them to control my light sensor <6> eventually <6> i think i'll end up switching to bigdec :/ <3> it's pretty expensive to use <7> Could anyoen please help me <7> I have this problem <3> Pichi ask and see <5> why use BigDecimal? <7> When i push a button i the button that i just pussed to take a certain caption <7> I want sorry <7> SetText thrown errors <6> Rob_uknow: to get rid of that annoying problem? (i'm ending up with 5.00000000005 instead of 5, after some calculations) <6> i only realised about the floating point arithmetic after coding it with double <5> why not do what calchas said? subtract, if difference bigger then x then its not equal <3> Pichi at runtime or compile time <5> or convert to int if you don't need that much precision when comparing <6> int is not good for me <6> so i subtract from a treshold value? <6> sorry subtract, and compare to a treshold ? <7> At runtime <7> When i press the button i get errors <5> what errors Pichi? <3> on the rare occasions I've needed that (always due to db behaviour never java) I use 100000th of the largest in absolut magnitude of the 2 operators <3> Pichi which exception <7> Hold on <5> take your time <7> I can't cut it <5> then copy it instead <7> :) <7> Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException <7> at Joc.sus_stActionPerformed(Joc.java:134) <7> at Joc.access$000(Joc.java:32) <7> at Joc$1.actionPerformed(Joc.java:122) <7> at java.awt.Button.processActionEvent(Button.java:388) <7> at java.awt.Button.processEvent(Button.java:356) <7> at java.awt.Component.dispatchEventImpl(Component.java:3955) <7> at java.awt.Component.dispatchEvent(Component.java:3803) <7> at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) <7> It make no sence <3> is the object you are calling setText on null ? <3> check with a System.out.println statement before the call <7> Button sus_st = new Button(" "); <7> sus_st.setBounds(0,0,70,70); <7> add(sus_st); <7> And <3> don't paste code <3> check with a System.out.println statement before the call <7> When i'm presing this button i want it's label to be set to "X" <3> see my previous comment <7> Thank you <8> hey guys need serious help can anybody help me <4> Undefined: not unless you ask a question. <5> the question is Undefined <8> lolz <8> the question
Return to
#java or Go to some related
logs:
sudo mount -t smbfs -o username c++ eqstr hashmap #chatzone #linux #networking #AllNiteCafe #AllNiteCafe trafalgar graveyard gdb ignore sigpipe #c++
|
|