@# Quotes DB     useful, funny, interesting





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



Comments:

<0> is everyone in here addicted to coffee like the name suggests?
<1> yes
<1> java coffee
<1> starbucks rulez
<2> is it true that every java cl*** has 'CAFEBABE' in hex as first bytes?
<0> what about Substance D? (A Scanner Darkly)
<2> D? dope?
<2> i'm about to smoke some yes
<1> thats bad for you
<2> Rob_uknow: i know. i was heavily addicted. then i didnt smoke NOTHING for 4 months and a bit more.. now i smoke once a week
<2> dunno it's like cherry on top now
<2> i smoke and go shoot online:)
<2> i really enjoy it
<2> "I'm gonna kill you m***f****
<1> hm



<2> hell i do oscommerce php maintainance for dope ;)
<3> morning
<4> morning MbGone
<3> hi SAnDAnGE
<5> whats wrong with that line please ? if(System.out.println(myScan.hasNext("yes")) == true)
<6> println doesn't return a boolean
<5> well.. if i just put the line without the if, i get a printout of true
<6> If you print hasNext and it's true then yeah, you'll get a printout of true.
<6> What exactly are you trying to achieve?
<5> i want some task to be proccessed only if a user typed "yes" in
<5> other wise it skip that task.
<5> dave, wana see my whole code maybe ?
<6> And myScan.hasNext() takes a string and checks if that string equals what the user typed in, yeah?
<5> yes
<5> supposed to ;)
<5> but as you can see the if statement does not work properly with hasNext();
<6> It does it's just you've written it wrong.
<6> if(myScan.hasNext("yes")) { do the stuff }
<5> without == true ?
<6> == true is just redundant...
<5> this is wrong, what if i wanted to do the stuff if it is anything but "yes" ?
<6> myScan.hasNext already returns a boolean, so you're doing if(true) or if(false) already.
<6> if(!myScan.hasNext("yes")) { do stuff }
<5> oh ok
<6> or... if(myScan.hasNext("yes")) { do stuff if it's yes } else { do stuff if it's not yes }
<5> i noticed that java is very alike C sharp, did ms stole the concept from sun ?
<7> it's not a new concept...for either language
<6> They're similar, but then so are a lot of languages.
<5> well, it is, becouse they are both far more visual than C++
<5> you can track your objects at real-time.
<5> when i used C++ it has a big mess, but i used it in the borland days
<7> not sure what you mean by that
<6> That's an IDE you're talking about rather than the language.
<7> C++ is a mess, yes...but it has nothing to do with whether it's "visual"
<5> ok
<5> can i control hardware with java the same as i could control using C/C++ ?
<8> SHM1L: Typoically not directly
<9> that the ...
<6> Hey calchas, how's the wonderful world of statistics?
<10> not too bad
<6> And as you can tell, I'm using wireless at the moment
<6> heh
<10> same here, wireless home network (to all boxes) and a wireless broad band connection, which isn't bad but not as good as wired
<10> bbiab
<3> i have a wireless network at my house, its pretty good, got the linksys WRT54GL which is based on linux
<5> while(x >= 48 && x <= 57 || && x >= 91 && <= 96) what is wrong with this condition ?
<11> SHM1L: http://www.thejavatutorial.com/ would be a good idea I think.
<5> i mean this one: while(x >= 48 && x <= 57 || x >= 91 && <= 96), sorry..
<5> Lion-O, i read enough about conditions, so i guess this time it would be better if some human could explain me what wrong and not static books which i can not ask questions
<11> SHM1L: sure you did.
<11> you should learn to break down your problems into smallers parts so that you can easily disect the cause of the problem instead.
<5> well, when i remove the || it works fine
<5> so i dont get it
<11> ofcourse it also helps to define "doesn't work" instead of dumping something in the channel and ask the people to sort it out for you :P
<11> still, I'd say its an issue of knowing your basics with regards to operators.
<11> Howdy Dave
<5> Lion-O, i get compiling error, and i am sorry for being non-english native speaker so it is harder for me to think they way you want me to think :)
<5> the*
<11> you could even break this down to a simple "switch() { case ...; }" routine.
<5> Lion-O - can i paste on some url my code so you'll see what i am trying to accomplish ?
<11> http://java.sun.com/docs/books/tutorial/java/nutsandbolts/expressions.html



<11> and ofcourse: http://java.sun.com/docs/books/tutorial/java/nutsandbolts/if.html
<3> once again, you scared him
<11> I guess so.
<11> But on the positive side I picked up some new parts in that tutorial myself 8)
<4> he typed: x >= 91 && <= 96)
<4> <= 96
<5> been disconnected, sorry.
<11> SAnDAnGE: but then again, if he simply removed the || things still couldn't have worked.
<4> maybe he removed everything after the ||
<11> possibly. Wouldn't be the first time people leave you to guess ;)
<4> :))
<4> SHM1L: while(((x >= 48) && (x <= 57)) || ((x >= 91) && (x <= 96)))
<4> try this one maybe it'll work ;)
<3> buah, i am late for a meeting
<6> And by typing that you're now even later.
<4> lol
<5> can i compile .java to exe somehow ?
<11> there are cl*** compilers which can do that. Still; if you need that functionality you should also ask yourself if Java is actually the right tool for the job at hand.
<5> Lion-O , i want the code to be supported by multi-os ,so i guess java is the best tool to run under multi os type computers ?
<11> SHM1L: if you want that then you shouldn't be compiling it as .exe :P
<5> Lion-O: well i want only my specific file to be .exe not the one that i give away :)
<11> Anyway, a mere google search on "java exe compiler" gives you plenty of options... http://www.excelsior-usa.com/articles/java-to-exe.html
<5> ok, cool
<12> THIS is my java cmdline on unix. how it looks on windows?
<12> java -cl***path CL***PATH:cl***es:lib/taems.zip:lib/utilities.zip -Dhostname=`hostname` simulator.Simulator $*
<11> about the same.
<12> yes.. i get no such cl*** "simulator.Simulator"
<12> lion-o please write it how you think it should be
<6> You neeed ; instead of : in the cl***path
<12> ok. that's the only change? and what about $* what does it mean?
<6> No idea
<10> %CL***PATH%;cl***es;lib\taems.zip etc
<10> what did you intend it to mean
<6> It's weird that the unix version just has CL***PATH there and not $CL***PATH
<11> indeed. thats not going to work.
<10> emanuel___ did you write and run this under *nix ?
<12> it is $cl***path
<12> your're right
<8> meh.. called in to fix two new bugs before tomorrow while hungover..
<3> well then, youd better not drink tomorrow night, becuase you'll probably be called to fix 10 new bugs the day after tomorrow :)
<8> meh, if this and tomorrow goes alright, I should take another day off
<8> what I really want to do though is break a few bones of the MS engineer that decided that Exchange URLs shouldn't actually follow the URL rfc
<11> Hmm, I really enjoy netbeans' UML capabilities. Granted; they're not fully stable but oh so usefull..
<6> I didn't realise anyone actually used UML
<11> well, then you do know ;)
<11> err, now ;)
<11> dave-e: with more complex projects it can really be usefull to visualize your work a little... And I also like - to some extend - the support for code generation. For example; once you setup a cl*** diagram then it can create the cl***es, interfaces and elements automaticly.
<8> I'm not much for code generation myself..
<11> Not always usefull though, they even messed with that a little so that it didn't work on the fly and such. So right now I simply use basic UML modelling; use case, activity and cl*** diagrams mostly.
<11> wlfshmn: well, as long as it only includes the skeleton of a program I can live with it.. For example; you create 2 cl***es, set a relationship and create some elements then I don't mind it creating the actual cl***es.
<8> Lion-O: I would be much more intrested in a tool generating a UML model from my code ;)
<11> wlfshmn: hehehe... Well, depending on the kinds of diagram I both agree and disagree ;-)
<7> wlfshmn: tools like that ain't free
<11> wlfshmn: but yes, that too can be done to some extend.
<7> or even cheap
<8> smsie: I know, and I'm not interested enough in it to pay for crap like Rose ;)
<11> smsie: that might soon change the moment they manage to stabilize these routines ;)
<7> personally I find UML to be far too fussy. But I can see why it would be a good thing on a large multiple developer project
<11> well, as usual there is also a bit too much hype surrounding it. it has its uses (IMO) but certainly plenty of disadvantages as well.
<7> oh, it's not a panacea, certainly
<11> ah, learned a new word there ;) /me pats dict.org
<7> work asked me to produce UML for my code
<7> I told them that I would as soon as they bought me Rose
<7> they haven't mentioned it since :)
<7> it's too fussy to want to be arsed producing it by hand
<11> HA HA HA.. smsie++. absolutely, that would really go way beyond the whole purpose.
<7> bloody hell!
<7> 12 minutes to unzip the 1.5 API docs...
<7> that's insane!
<11> whoah.. yeah, and I thought my box was slow ;)
<7> this box *isn't* slow. I guess running netbeans, skype and the TV at the same time is killinh it somewhat
<11> lol.. yeah, thats bad :)
<7> if I were sadistic, I'd run Idea too...but I can't bring myself to like it
<11> smsie: I know that feeling all too well.


Name:

Comments:

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






Return to #java
or
Go to some related logs:

#chatzone
#linux
t
#MissKitten
#MissKitten
dipdowel
#MissKitten
#apache
netgear ap
cocomo firewall any good?



Home  |  disclaimer  |  contact  |  submit quotes