@# Quotes DB     useful, funny, interesting





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



Comments:

<0> VIVA ITALIA
<1> no thanks, enough pasta for today
<2> gah..
<2> of all IDE's, I didn't expect IDEA to add itself to the list of ones that doesn't allow me to do things my own way ;)
<2> ah well.. that is one EAP I'll have to skip
<1> just get netbeans and be done with it :)
<1> don't everyone run away at once; undernet can't take it :)
<3> what won't it let you do
<2> calchas: It complains that my JSF variable-resolver lacks a default constructor, and flags this as an error and refuses to proceed with building my project
<2> err, s/JSF/Spring/
<3> isn't that configurable
<2> and it's a default Spring resolver at that which worked fine yesturday ;)
<2> calchas: perhaps.. somewhere in there
<2> I havn't seen any "leave my JSF-stuff alone, damnit!" checkboxes yet though
<3> there is a don't worry about default constructors though
<3> at leaset there is in 3.0



<2> where? I havn't found it yet
<3> just a tick I'll look
<2> calchas: that would be great, thanks
<3> may not include that error, but options -> ide settings -> errors is a start, will look further in help
<3> are you using JDK 1.5 / 5.* ?
<2> Yes, I'm using 1.5
<3> it may be the compiler
<4> how to specify in a method that a parameter is an INPUT ? (like we do in C++ with 'const': void MyMethod(const OneCl*** & my_input)
<4> in JAVA ?
<2> calchas: It may, but it would supprised me if there isn't a way to use JDK 1.5 with JSF + spring ;)
<5> Axan: try to find a c++ to java cheat sheet maybe.
<2> Clackwell: hang on, I'll try to swtich to 1.4, the changes should be small
<5> Axan: i don't know c++, so i don't know what you mean.
<3> what does INPUT do, please describe?
<4> In C++, when you specify "const" keyword, you are SURE that the parameter can't be modified.
<4> (like a "final")
<4> but, just within the method
<3> we java can't change the var either, it's p***ed by value
<3> so you have complete control of it in your method (don't you trust yourself :) )
<3> we = well
<4> !?? your object are p***ed by refernces... not by value.. (except primitives types)
<5> Axan: possibly related: http://www.yoda.arachsys.com/java/p***ing.html
<3> Axan objects are not p***ed
<3> object references are p***ed by value
<4> lol, ok, we agree
<3> the difference is important
<4> but, with the reference, you ACCESS the object.
<4> whereas in C++ if you specify "const", the object is read-only
<3> access is a poor description IMO
<4> the reference is p***ed by value, the object isn't p***ed, but CAN be modified thru the reference, we agree ?
<5> Axan: you can declare a parameter "final", but i am not sure that's the same for references.
<5> Axan: possibly related: http://www.yoda.arachsys.com/java/p***ing.html
<4> (i'm reading it)
<4> i just did a try with "final" keyword for parameters but seems doesnt work (it change nothing)
<4> :(
<5> "does not work" is always problematic.
<5> A.java:6: final parameter args may not be ***igned
<5> "works" for me it seems.
<2> calchas: ah, never mind, I can't switch to 1.4.. I forgot I was using hibernate-annotations ;)
<4> i mean something like: MyMethod(final OneCl*** the_input_object) { the_input_object.attribute = 3; /* <= Should CRASH */ }
<3> k
<4> and it crash ?
<5> Axan: crash?
<5> Axan: modifying a reference != modifying an object by way of a (read-only or not) reference.
<6> one of the areas lacking in Java, imo
<2> calchas: I guess I'll have to worry about it tomorrow instead
<5> Axan: yes, it lacks everywhere where it is not c++.
<5> heard that before.
<5> Axan: the notion of "read-only" is flawed, isn't it?
<5> readOnlyReference.getNextCounterValue() could modify the object internally.
<4> if i do: the_input_object.attribute = 3; i do modify a primitive attribute of the object pointed by the reference, ok ? (i do not modify the reference itself)
<5> Axan: yes, you do.
<4> ha?
<5> "if i do, then i do, right?" "yes, you do."
<4> oh.. sry ;)
<4> so, is it possible to specify that the paramater of the method shouldn't be modified this way ?
<6> alas not
<5> wow, a farmer developed a heating system which is fired with crop. it's allegedly 60% cheaper than other energy carriers.
<5> the biggest problem seems to be the moral discussion. even the church is strongly opposed to the idea. :)
<5> see you later



<2> calchas: hmm, I can build through ant. It's IDEA insisting on p***ing my faces-config through some sort of p*** of it's own choosing (it's outside my source folders), that triggers the problem...
<4> Clackwell: ok i read all the http://www.yoda.arachsys.com/java/p***ing.html, it's interesting and clearly define what i need "readonly sementic", but did not says if it's possible in JAVA (wich mean it's not ?)
<4> the problem can be moved to another question, if we ***ume that all cl***es use encapsulation (no public attributes, only getters and setters), than the only way to modify an object is calling the setters
<4> can we specify that a method won't modify the current instance (this) ?
<4> (as we do in C++ using the "const" keyword at the end of method prototype)
<4> er.. wait a minute.. it's stupid.. sorry ;)
<2> calchas: the manually (well, ant) built and deployed war works fine btw. seems the current IDEA EAP is a bit confused, thats all
<7> Good evening all...
<8> is it ethical to reproduce/post an article on your website, whose source you don't know?
<7> Tough question... I guess it would depend on the article.
<9> sup
<10> morning
<11> tries to think of a good way to say "ability to do hard programming".
<12> hi, does anybody know how to get the referrer in a Servlet?
<13> Should be a request header, no?
<5> ISeeMP: see servlet api docs?
<12> clackwell, i was doin' just that :)...MaggieL, u were right...it's a req.getHeader("Referer") indeed
<12> thnx
<12> is it just me or are there not many tutorials addressing Servlets and databases (JSP)?
<5> ISeeMP: jsps are servlets, mostly. servlets are java. using databases with java has been covered well since years.
<5> learn to do it in java, then you know how to do it in servlets, applets, jsps, etc. to some extent.
<12> that makes sense
<5> http://video.google.com/videoplay?docid=-464697376783183629
<14> is that real?
<14> :O
<2> It's the Guardian. I would be shocked if they wrote the truth.
<5> given yesterday it surely looks authentic ;)
<14> yeah
<2> I couldn't care less about sports ;)
<2> and I have the girth to prove it.
<5> same here, but the wm stuff got me a little.
<15> lol its a 2004 advert
<15> was quite popular here for a while
<15> but just as apt now
<16> hey can somebody help me, i'm loading an japplet in a web browser, it says that it started , but nothing shows up
<16> any idea??
<5> `th3_f10w: see faq site for how to debug applets.
<16> Clackwell, can you please give me the url?
<5> `th3_f10w: got it?
<16> Clackwell, debuggin i found out that it's a security issue
<16> java.security.AccessControlException: access denied (java.awt.AWTPermission setAppletStub)
<5> `th3_f10w: on what operation though?
<16> java.lang.reflect.InvocationTargetExceptio
<16> at java.awt.EventQueue.invokeAndWait(EventQueue.java:851)
<16> at WebForm.init(WebForm.java:21)
<16> at sun.applet.AppletPanel.run(AppletPanel.java:378)
<16> at java.lang.Thread.run(Thread.java:595)
<5> please use internet pastebins for such pastes.
<16> sorry
<5> look at line 21 of WebForm.java?
<16> java.awt.EventQueue.invokeAndWait(new Runnable() {
<5> <shrug> i don't understand that code.
<5> typically people do stuff like accessing the local filesystem, connecting to computers the applet did not get loaded from, etc.
<5> what is that code supposed to achieve? what is the applet supposed to achieve?
<16> fill a form and insert data into a DB
<1> `th3_f10w: you really want a servlet for that, not an applet. It basicly means you're opening up the db to everyone capable of running the applet.
<17> hi
<18> hello?
<18> does anybody know how to do double buffered rendering to multiple JInternalFrames at the same time?
<4> Hi
<4> is this a deadlock: synchronized(this) { throw new Exception("Did it unlock the mutex ?"); }
<4> ?
<18> cant help u
<19> hey im running a Java program on a linux terminal and it runs fine until I try to use String functions (such as indexOf or substring). It happened before I imported java.lang.* and java.lang.String as well as after I added the imports. Once it hits a line of code that tries to use these functions it just stops, but I never get a compile error. What could be wrong
<1> icenyne: the jvm. Make sure you're using a Sun JVM and not some gnu pos variant. That stuff isn't compatible.
<19> java sdk 1.4.2
<20> how do you know it's "stopping" on those lines?
<1> check the api docs and make sure your methods aren't 1.5+ only
<1> and checking your code also helps :)
<20> he would get deprecation errors on compile if he was
<19> i add println statements before and after those lines. guess which ones show up
<20> warnings
<1> sabre: unless he's using methods in a wrong way, thus giving him results he didn't count for.
<19> if(ftpServer.indexOf("sftp") != -1)


Name:

Comments:

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






Return to #java
or
Go to some related logs:

how to learn lnguge
cheechy girls
phatlib syntax
suse linux waiting for device /dev/hda1 to appear
disable warning vc8
#AllNiteCafe
#linux
#chatzone
#javascript
12HOW MANY POINTS DOES IT TAKE TO WIN A CRIBBAGE GAME ?



Home  |  disclaimer  |  contact  |  submit quotes