| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<_slushie_> lol you're all crazy ;) <pr3d4t0r> kinabalu: http://logcop.sourceforge.net <_slushie_> so anybody use innovation's HTTPClient? <pr3d4t0r> kinabalu: My old, old, old SourceForge account is still up. <pr3d4t0r> kinabalu: I hadn't logged on since 2001 to the shell account -- it's all still there :) <GnarlyBob> sourceforge-- <kinabalu> pr3d4t0r: heh .. i have to check, i must have an account somewhere <kinabalu> _slushie_: just use the regular API cl***es .. be a ****ing man <_slushie_> ha yeah... but i need cookie support :P <dwango> _slushie_, have you tried apache commons? <kinabalu> _slushie_: Set-Cookie: blah blah blah <dwango> _slushie_, http://jakarta.apache.org/commons/httpclient/ <_slushie_> i havent tried it yet but i did download it <_slushie_> ill give it a shot ;) <kinabalu> pr3d4t0r: hrmm .. apparently its, kinabalu <pr3d4t0r> kinabalu: He, he, he... wouldn't you know it... <pr3d4t0r> kinabalu: Let me add you to the project. <pr3d4t0r> kinabalu: User Added Successfully <pr3d4t0r> kinabalu: You're set. <pr3d4t0r> kinabalu: I'm trying to figure out how to set up the CVS repository. I haven't used SourceForge in at least four years :) <kinabalu> pr3d4t0r: don't look at me .. i didn't even know I had a username! <pr3d4t0r> kinabalu: LOL -- understood. <pr3d4t0r> kinabalu: I have a project for you :) <pr3d4t0r> kinabalu: Simple stuff. <kinabalu> pr3d4t0r: hah <pr3d4t0r> kinabalu: When you get a chance, I need the full text of the BSD license. <kinabalu> email? <jjava> email is written and ready to send <pr3d4t0r> kinabalu: Adding that to the project will be your mission :) <kinabalu> pr3d4t0r: if i choose to accept? <pr3d4t0r> kinabalu: Maybe CVS. No rush, I first need to set it up. <kinabalu> jjava, stfu! <jjava> you STFU! you *** plunging republican! <pr3d4t0r> kinabalu: Yeah. <kinabalu> pr3d4t0r: well figure out the CVS already! <pr3d4t0r> kinabalu: Working on it. <pr3d4t0r> kinabalu: Hrm... <pr3d4t0r> kinabalu: I can't put my DSA key on the server. <pr3d4t0r> kinabalu: I'm missing something. <pr3d4t0r> kinabalu: Meh. <pr3d4t0r> kinabalu: I'll **** with it tomorrow. <pr3d4t0r> kinabalu: If you have the time, email me the BSD text at some point. I <MeatwadE> hey, this is for java programming right? <pr3d4t0r> 'll **** with CVS later. <MeatwadE> *or is it coffee lol* <pr3d4t0r> MeatwadE: You must be the life of every party. <MeatwadE> >_> <_slushie_> hey dwango, youve got the apache commons? <Shawnmb> http://pastebin.com/406068 I was wondering how the catch in this code works <Shawnmb> I'm still learning so <Shawnmb> The bottom says catch (Exception e) yet above it says e1 <Shawnmb> Is catch like onError ? <FMJaguar> those are two seperate try/catch blocks <Shawnmb> When the app hits this code-section I always get the log error in catch >.> <Shawnmb> And it doesnt run the query etc <FMJaguar> well if your catch is logging the first log statement <FMJaguar> the error is in the first try/catch block <FMJaguar> if your getting nothing, it's in the second (since there is nothing in the catch) <Shawnmb> Hmmm <FMJaguar> i would change the 2nd one to do something <Shawnmb> How is catch used then? <Shawnmb> What is it's purpose ? <FMJaguar> i'm sure it's in the tutorial <Shawnmb> From reading the original code I saw it as something like "onError" <Shawnmb> In VB etc <Shawnmb> FMJaguar: How would I best correct this code segment and make it functional ? ^^ <FMJaguar> http://java.sun.com/docs/books/tutorial/essential/exceptions/ <FMJaguar> in short, 1) actually log something in your catch blocks so you know which one has the error from the log, 2) fix the error in the appropriate block <Shawnmb> Hmmm <Shawnmb> So right now my catch is in the wrong place? <Shawnmb> I just don't understand what the actual problem with the segment is, if I knew that then I could better learn :) <FMJaguar> that is the learning! staring at the log and the saying what the f*** is this problem, at least in my experience, which is less than some people here, maybe they have something different <Shawnmb> This is my first bit of java I've ever written so XD <Shawnmb> Would I even need the catch / exception ? <Shawnmb> FMJaguar: Imma cry -_- <Shawnmb> FMJaguar: So should I put the "try" in my code in a method and then call it ? <Shawnmb> FMJaguar: Would that be more efficient ? <Shawnmb> FMJaguar: I think I see, I'm reading http://java.sun.com/docs/books/tutorial/essential/exceptions/advantages.html atm <Shawnmb> FMJaguar: I still dont understand what's wrong with my code though <FMJaguar> see what exceptions can be thrown make your catch block to be more specific <Shawnmb> Well ***uming the query runs I don't need an error handler >.> <Shawnmb> Grrr could anyone have a look at http://pastebin.com/406068 <Shawnmb> >< <Shawnmb> ....... <aut> confession <jjava> For someone who once said 'I genuinely despise mentally handicapped people.', waz is surprisingly unashamed. <Shawnmb> dot dot dot <top^> for someone who keeps repeating those stupid confessions, jjava is surprisingly unashamed <Shawnmb> -_- <Shawnmb> I'm boring ? >.> <Shawnmb> top^: Do you know? ^^ <Shawnmb> Erm <Shawnmb> And top^ is abusive and spontaneous >_< <jroes> hi, does anyone know if doing an in-order traversal of a BST would verify that it is a correct BST? <_slushie_> so whos using apache commons httpclient? <_slushie_> dwango? you recommended me before so now its up to you ;) <_slushie_> meh. <Morphie> morning <Morphie> 1316, im hoping that magic will chip in on it. I take it that it behavs the same on 3.0, right? <Morphie> are you working on issue 1341 ? <kinabalu> Morphie: tf? <skipdawg> for a manifest file, how do i have the main cl*** read a txt file for input. Right now i just have: Main-Cl***: Program <skipdawg> normally i would do like: java Program < file.txt <Petie> can anyone recommend any books that would make an intermediate java programmer better? The specific area isn't necessarily relevant, I just read effective java and felt it provided a lot of tips to make me a better programmer in general... any other suggestions? <kinabalu> skipdawg: read the args parameters <kinabalu> skipdawg: in the main. <skipdawg> do i need to add somethign to the manifest file, cause need to be able to execute from just a compiled jar file like: jar -jar Program.jar <kinabalu> skipdawg: there's a ton of docs on adding the main cl*** attribute to the manifest .. or just use ant <skipdawg> cause i know the Main-Cl***: Program for the manifest but need to implement it to read in the file.txt <skipdawg> just was wondering if there was a simple way to do it <wig_> is there an alphabetical list of all java methods? <wig_> not by cl***es, but by alpha <Number-6> such a thing would be nonsense <wig_> i thought so <kinabalu> skipdawg: no, java doesn't work that way <kinabalu> skipdawg: use the main method to read in any cli attributes <kinabalu> wig_: then, why you ask? <wig_> someone asked me <wig_> i told him no <wig_> but i wanted to make sure <kinabalu> wig_: heard that one before <CnfsdKid> go astros =) <wig_> kinabalu, i don't care if you believe me or not <wig_> it's not like i asked you to make the list. o_O <kinabalu> wig_: and I don't care if you don't care that I don't believe you or not because you didn't ask me to and I'm not making a list :) <term`> if i know c and c++ it should be pretty easy to learn java right? <term`> anyone recommend some tutorials that are quite good? im checking out suns site right now <xd> tutorial <jjava> tutorial is http://java.sun.com/tutorial <term`> hey thanks <jroes> hmm, how am I supposed to cast the Object returned from ArrayList's .get() method to int? <term`> another reason i sort of avoided java was because of the confusion with microsofts java and Visual J++ or whatever. i bought visual studio 6.0 and got several versions <jroes> I tried Integer.parseInt() and just plain (int) <term`> do many people in this chan use microsofts newer java tools? <FMJaguar> term`: microsofts java or J# or whatever isn't really mainstream (from what i know), and normal java people stay far away from it. MS's comparable language is now C#. <jwzrd> jroes, what did you put into the ArrayList? <jroes_> sorry, my shell session died <jroes_> did anyone happen to answer? <jwzrd> jroes, what did you put into the ArrayList? <term`> k so does mainstream java still do a good job of being os independent? i have wondered if some of the java i see on some websites will run on other OS's <jroes_> integers <jroes_> it's a compile error - not a runtime <jwzrd> right.. but what type? <jroes_> int <jjava> int is 32 bits <jroes_> int, not Integer that is <jwzrd> using JAva 5.0? <jroes_> 1.5.0_04 <jwzrd> right <jwzrd> then cast the return value to Integer and ***ign it to an int
Return to java or Go to some related
logs:
nano ist schwul bluetooth xp can't "turn discovery on"
|
|