@# Quotes DB     useful, funny, interesting





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



Comments:

<0> Can the size of an incoming udp packet be determined before it is recieved so that I can create an exact fit buffer?
<1> growlieRa: allocate a buffer with what the web says is the max size of an udp packet?
<1> xtra
<2> hi clackwell
<3> rob left
<4> can someone help me setup SSL? i created the certificate with keytool.. and here's the portion of my code http://www.rafb.net/paste/results/6YTApK99.html, i'm getting
<4> javax.net.ssl.SSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled.
<0> That wouldnt be an exact fit clackwell, that would be the exact opposite of what I was thinking, allocating 64KB for every packet recieved is silly
<1> growlieRa: allocated buffer. keep reusing it.
<1> allocate, rather
<0> k, ty
<1> k, np
<4> welp?
<1> wince
<4> hi Clackwell
<4> my code ain't working well :\



<4> ;p
<1> b0r3d: consider creating a complete test case for people to play with. if you give people snippets they have to complete the snippets just to get to play with them.
<4> Clackwell, all my arguments form a good test case.. i properly stated the problem..
<1> to play with your code i need to complete it to be able to compile it.
<1> i am not going to invest that effort. if you invest it, i'll possibly play with the resulting test case.
<1> (snippets are not test cases.)
<4> Clackwell, just when I call Start() it throws that exception..
<1> you don't seem to understand my problem.
<1> shout when you have a test case, until then i am not able to do anything.
<1> b0r3d: What is a test case? Why would you write one? See http://javafaq.mine.nu/lookup?22 (to see what you are *really* doing) Paste test case and any error messages to http://papernapkin.org/pastebin or another pastebin
<3> wow
<3> I just realized that a person should ***never**** use a wider open level of encapsulation than necessary
<3> it was like a revelation !!
<3> lol
<5> is there an easy way to implement a exit confirmaton dialog , lke in delphi/vb, or will i have to make a gay new cl***
<6> Czu_ZzZ: JOptionPane. See http://java.sun.com/docs/books/tutorial/uiswing/components/dialog.html
<7> hi all
<7> i just instaled mono on my fedora core 4 box, is it possible to write a simple dll using mono? (note: i am java developer, and .NET is new for me)
<7> i know this is not suitable channel but ppl from c# didn't respond... :-(
<8> definitly not the right channel
<8> try #cl***icalmusic
<7> :-))
<9> I use new PrintStream(new FileOutputStrem(...)) to write to a file but I don't see any methods which allows me to start writing at a specific location in a File
<9> anyone?
<10> you can
<10> have a look in the Constructor
<10> its all in there
<9> constructor of which cl***?
<8> use a random access file
<9> hi calchas
<8> hi
<9> how do I use a random access file? :) All along I've ony worked with text files
<0> http://java.sun.com/docs/books/tutorial/essential/io/rafs.html
<8> tell it where you want to write to and write
<9> didn't javaq told me to look in one the constructors of one of the cl***es I've mentioned
<8> I believe they did, I certainly did not as I can't understand why they told you that
<9> calchas: I like the Runtime tutorial u have on your site. I checked it out a while back. :)
<8> good, glad it helped
<8> whay are you storing in this file?
<8> what
<9> calchas: I'm just writing a simple program that formats a text file. Ex: A text file may have contain lines that exceeds 80 characters long, I will reformat it so that each line in the file is less than or equal to 80 chars long.
<10> that's hard
<8> is there a max sixe of the file
<9> It just require a bit of thinking.
<8> I'd read it line by line and re write it from a buffer (re fill the buffer if it contains less than a new line)
<9> ah... is that why u ask me what the max size of the file is?
<8> if the max size is small enough, just read it all in
<9> how big can the buffer hold?
<8> how much ram do you have
<10> buffer is inifinite
<8> is not
<10> can hold anything
<8> can not
<8> now stop being silly
<9> this guy is so misleading... kekek
<8> borderline troll IMO
<9> anyways,much thx cal and growlieRa for that link
<8> np goodluck
<9> Its saturday night, I'm going to play some hold'em with my friends



<9> Cya
<11> java is sux
<11> .net is r0x
<11> C# is a JAva better than Java
<11> J2EE is a joke
<12> salam
<13> Is Set a full fledged cl***, or just an interface? HashMap TL = FO.getTokenList(); HashSet KeySet = TL.keySet(); This gives me an incompatible type error, as does TreeSet KeySet = TL.keySet(); Set KeySet = TL.keySet() works fine, though.
<8> it's an interface
<8> see the api
<13> calchas: I thought as much. But then should HashSet KeySet = TL.keySet() work?
<8> no
<8> Set KeySet = TL.keySet()
<8> should
<0> (new Thread(new Runnable(){public void run(){ while(live){processLaggedData();try{Thread.sleep(10);}catch(Exception e){}} }})).start();
<8> don't paste code
<8> use the FAQ
<14> what does "javac: target release 1.1 conflicts with default source release 1.5" mean?
<8> never seen it
<8> what are you doing to cause it
<8> the meaning is fairly clear
<14> I am following a tutorial on the sun website for making a j2me app. when i try to Build with KToolBar i get this error
<15> Android_D, you're compiling with --source 1.5 --target 1.1
<15> can't do it
<8> have you done and J2SE before trying this?
<15> --source 1.5 is your default, so you need to explicitly say --source 1.1
<14> calchas: I am not sure of J2SE, but I have coded and compiled applications before
<8> you should learn some standard appliccation java before playing with J2ME
<8> but it's upto you
<14> what counts as standard application java?
<8> J2SE
<8> see www.thejavatutorial.com
<14> yeah, I am familiar with J2SE then
<8> yeah right
<14> I just call it JAVA
<14> I am familiar with making UI and GUI and graphics among other things
<8> that suggests you don't have much familiarity, and especially not with compiling and running etc
<8> which is why I suggested it
<14> I have used JCreator to compile
<16> is anyone in here cause i would love some help on a homework project
<17> alguem pode me ajudar por favor, euto criando um objeto e logo abaixo da erro olhem por favor me ajudem
<17> public void leituraDasVariaveis(){
<17> System.in.read();
<17> System.in.read(altura);
<17> System.in.read(imc);
<17> opa
<17> mandei a parte errada
<17> mas tb da erro
<18> English please
<17> public void objetos (){
<17> Calculo obj1 = new Calculo();
<17> obj1.peso = Peso1;
<17> obj1.altura = Altura1;
<17> obj1.imc = imc;
<15> MAruoto, speak english, don't paste.
<14> Is "String icon = (display.isColor()) ?
<14> "/icons/JavaPowered-8.png" : "/icons/JavaPowered-2.png";
<18> never though about it, but wonder how good the popular translators are at translating code?
<14> a kind of special if statement
<14> if display is color, then icon = "/icons/JavaPowered-8.png", else icon = "/icons/JavaPowered-2.png" ?
<14> this is my first encounter of this syntax
<18> Android_D: all I see is a random declaration and then two blocks representing unknown characters...i don't see a question anywhere
<15> Android_D, yep
<14> ok cool, thanks talios
<15> 'lo Bryin`
<15> Android_D, google on "ternary statement java" or something like for info
<15> or is it ternery
<14> alright, thanks again. seems like it could be very useful
<19> Queen27 is a spammer
<15> ta
<20> morning everyone
<20> Anyone have clearcase knowledge?
<15> 'lo - an no :(
<20> ewmins mw rto mke clearcase friends


Name:

Comments:

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






Return to #java
or
Go to some related logs:

Markos Bagdadis
#chatzone
#AllNiteCafe
#MissKitten
#linuxhelp
msdn removenode deletenode
#linux
#AllNiteCafe
country was the victim of a Russian invasion in 1956
#london



Home  |  disclaimer  |  contact  |  submit quotes