@# Quotes DB     useful, funny, interesting





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



Comments:

<0> well?
<0> no simple answer to this one huh?
<1> IIronnick: http://java.sun.com/j2se/1.5.0/docs/api/java/text/NumberFormat.html
<2> java.sql.Date is adirect subcl*** of java.util.Date but it only handles the Date part
<3> IIronnick: actually there is.
<0> you really know your java!
<3> still, I wonder if the Double() cl*** doesn't provide a method for this as well.
<1> IIronnick:
<1> http://java.sun.com/docs/books/tutorial/i18n/format/decimalFormat.html
<1> IIronnick: second link should be more helpful
<0> Double doesn't have a thing about that
<1> Lion-O: Double.round(doubleValue*100)/100
<0> thanks guys
<1> Lion-O: i asked about rounding or printing
<2> well c has a way of doing decimal manipulations so i guess java has
<3> wolfey_: aaah, roger. Yeah, gotcha.



<0> interesting solutions
<1> Lion-O: which is the same as Double.ceil(doubleValue*100 + 0.5)/100 (in J2ME you dont have round for example)
<1> nope
<1> Double.floor
<1> bah
<4> yikes, j2me that was not fun
<3> well, I should play about with Double's sometime. So far I hardly had any use for it.
<2> IIronnick try %2$d
<1> MbGone: cmon j2me is awesome
<1> lately im playing with blackberry, that **** is more powerful than pentium 120 mhz
<4> well, i havent played with it much, but when i did (like 2 or 3 years ago) i didnt quite like it :)
<1> well MIDP1.0 ****s
<1> MIDP2.0 is quite good
<1> MIDP1.0 doesnt even have float/double
<4> yea i remember it lacked alot of things
<4> hehe
<1> the ****ty thing about j2me is that it doesnt have Java(TM) Tutorial
<4> i am happy with j2ee
<3> wolfey_: well, IMO you don't really need it. Once you grasped your Java basics you can do j2me. The whole difference is the setup (from frame to frame kind of way) but thats made easier with an IDE :)
<1> Lion-O: as someone said before: There's no documentation for J2ME. People just try long enough until they figure it all out.
<3> wolfey_: hmm, I don't think I agree with that 8)
<1> Lion-O: lately i had headache cause phones used shared VM. so you actually need to clean threads and static fields or else...reboot
<1> oh and if you dont close sockets, you get connection problems
<3> eew
<4> closing input streams is always a must
<1> MbGone: naaah:)
<4> grr i m ean streams
<1> MbGone: well i mean, you should yes.
<1> :)
<4> :P
<1> streams for noobs: you actually need to flush() output streams
<4> recently i found out that SocketInputStream does not have close in its finalize method
<1> so it stays open?:)
<4> god only knows what happends with it :)
<4> we had some problems in our application with un closed streams, it one hell of an headache
<2> double dub = 123456789.987654321; System.out.printf ("dub = %3.2f%n", dub); :P like c
<1> FA|R_MUT3X: yeah that's fairly new
<1> 1.5 or perhaps 1.4
<2> cool i like c's specifiers
<1> FA|R_MUT3X: you can use regex too:)
<1> if you like
<2> compact code
<2> i did :P
<4> dont use System.out ... use log4j
<2> i used regex to check for correct email format
<2> but since i didnt ask here u dont know lol :P
<2> pcre is good
<1> i forget about string.replace("?","!") and used regex to replaceAll
<2> replace takes longer i guess
<4> replace is from 1.4.2 i believe
<1> MbGone: regex is new, replace was there all the time
<2> well u can do ur own regex if u want
<2> http://www.gnu.org/software/flex/ http://www.gnu.org/software/bison/
<2> one is produces a lexical analyser and the other produces a parser
<1> great
<2> all u need is to write ur bnf
<1> i will be forced very soon:)
<2> well there are tutorials



<2> u r a student wolfy ?
<1> yeah. back to study.
<1> i had long pause
<2> me 2
<1> FA|R_MUT3X: http://www.feri.uni-mb.si/podrocje.aspx?id=5 this is mine
<2> one problem
<1> where i study
<2> i cant read that lol
<1> oh
<2> looks like spanish or mexican
<1> click on english flag top right
<2> or russian
<1> it's Slav (eastern european)
<1> russian
<2> ok 3rd guess
<2> lol mine is
<1> well it's as close to russian as german is to danish
<2> www.um.edu.mt
<5> Romanian?
<5> Er. Nvm.
<5> Just ignore me.
<1> Resonator: give us your links
<1> we want your soul
<5> My soul has already been claimed
<5> I sold it for a candy bar.
<1> were you stoned?
<5> No, just hungry.
<2> sell ur soul to java lol
<4> oh, 24 is starting on sunday
<4> well, monday morning here, sunday in the US
<5> Yay.
<5> Time to get horribly addicted again.
<5> My fiance hates that show.. because she can't stop watching it.
<6> how to display text inside a content pane?
<1> add JLabel to it?
<1> or you mean custom painting?
<1> hey Rob Sir!
<7> evening wolfey_
<6> no not custokm painting
<6> just displaying string inside a frame
<1> Brody: getContentPane().add(new JLabel("Text"),BorderLayout.CENTER) ?
<8> hi ppl
<1> hi
<8> can a computer outside my intranet connect to me using only my 192.168... ip addr?
<7> no
<1> no
<7> you need to have an ip on the internet
<8> that's what i thought
<1> jMan: you can use 'port forwarding' on your router
<3> sure. if you have an open wireless router.
<6> tnx wolfey im tryin that
<8> well, first of all, it's not "my router"
<7> just open port 80, see what ip adres you have online
<8> i'm on a lan
<7> and use that
<7> 195.28.184.214
<1> jMan: most routers allow to forward some port from outside to certain IP in intranet
<8> aham
<8> how can i see my ip addr online?
<3> jMan: do you also have any java related problems to share?
<7> type /dns jMan
<7> or visit a website which shows your ip adres
<8> oh... thanks guys
<1> jMan: GEMENII-NETWORK Fast Service Import Export SRL Teiul Doamnei nr. 1, Bloc
<1> 8 IRTA, sc. B, et.10, ap. 49, Sector 2, Bucharest Asociatia
<1> Navigatorilor pe Internet GEMENII.RO - Romania
<4> well, its time to start the weekend :) later all
<1> njoy
<5> See ya
<9> Hi guys
<7> heh
<9> I did a search with .indexOf(String) and it seems that it finds only standalone words
<9> Is that true


Name:

Comments:

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






Return to #java
or
Go to some related logs:

Putty screen disappears
sfinnija
#linux
#chatzone
#mirc
#chatzone
hi asl lol how r u
#AllNiteCafe
#linux
language of swizertland



Home  |  disclaimer  |  contact  |  submit quotes