@# Quotes DB     useful, funny, interesting





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



Comments:

<0> He must think he's the only one on >1 network :)
<0> I warned him about that **** before, porn-spam in that case.
<1> tunnel vision, focussed on solving his problem via irc
<0> Learn to Research, ****er.
<1> and he even could, afterall he got a google url to java console input :)
<0> Heheh. I'm sure it's totally a FAQ, and ... frequently answered.
<1> all he needed was look at the result which was spilling over with articles about exactly that. well, obviously.
<1> bye bye
<2> have fun and a nice day/night Clackwell
<3> Hiyas, is there any way to have a scripting environment in a java app so you can run javascript (and provide that environment with some objects)? I have a java app and would like to have a scripting engine to perform logic on some objects.
<4> Can I use javac on host platform to compile for an embedded?
<5> yes use the wireless toolkit , download it from java.sun.com
<4> so I don't need another java compiler, just the runtime cl***es?
<5> melfar a jad file and a jar file in the end
<6> Good morning.
<7> Clackwell: jak2000 was asking me if I knew why he got /banned here in Undernet #java. I tried pinging you in the private channel -- let me know if you can respond to that.



<7> Clackwell: He may also ask you about it in ##java.
<5> tell his sensitive a$$ to keep off irc:) irc isnt for him clearly
<7> xtravaga: Ah! Was he being a whiny byotch?
<5> no clue
<4> xtravaga: which jad and jar do you mean? do they belong to JRE?
<7> xtravaga: He, he, he... funny. He seems to take plenty of abuse on Efnet #java and keeps coming back :)
<7> xtravaga: He, he, he... OKi. Thanks mate.
<8> http://rafb.net/paste/results/b6t3z144.html, i get a deprecated message on the line 31 for in.readLine(), what should i use instead?
<5> melfar its like this, the source code, goes through the java compiler, the bytes coded are fed trough whats called a pre verifier and the WTK creates a jar file for you auomatically
<5> WTk also created a jad file which gives a description about the jar file, info like midlet version , where the jar file can be located as a URL etc etc
<5> BufferedInputStream bf = new BufferedInputStream(new InputStreamReader(fstream)); use bf.readLine() and dont use available
<8> okay thanks
<5> created = creates
<4> xtravaga: today I've been dealing with an "embedded" JRE (or dedicated to the embedded) called siege, and actually I could run the code with the desktop JVM. Will it also run on an embedded? Or maybe I just didn't compile it right (I used -bootcl***path to override the default ) ,
<4> that was: the default JRE) ,
<5> siege?
<5> never heard of it
<5> i stick to j2me standard
<4> that's how the executable is called, the acronym is something like CEE J
<4> (the executable of their jvm)
<5> sorry there
<4> recalled it, Skelmir CEE-J
<4> the question is, should the application run everywhere as long as you have all the cl***es it requires?
<5> not the System cl***es, and platform dependent cl***es, java.net for example uses native sockets
<9> does anyone have some concrete implementations of CORBA ServantActivatorPOA cl***?
<5> eu_neo googled?
<9> yes
<9> for 2 hours :)
<4> xtravaga: those specifics reside in jvm, or in the cl***es?
<5> cl***es can have native methods and native method can loads shared libraries
<9> I don't think so....this are cl***es to be defined by user who want to tweak POA machinery
<5> loads=load
<4> ah I see
<9> I have src.zip in JAVA_HOME ...if what are you sugesting is to look in java code provided by SUN ...but there isn't any mentioned implementation in the javadoc of the specified cl***
<9> *concrete implementation
<5> eu_neo the comment about native methods was meant for melfar
<5> eu_neo you wanna use that cl*** or find the source of it?
<9> xtravaga: I want to view a cl*** that extends abstract cl*** ServantActivatorPOA ... I have to do a prj...and I need it quick
<9> :(
<5> googling got me this http://72.14.203.104/search?q=cache:GZkX_mk0TToJ:www.cs.ucl.ac.uk/staff/W.Emmerich/lectures/Z23-04-05/poa/poaLabSession.doc+CORBA+ServantActivatorPOA&hl=en&client=opera
<5> i dont do corba, so sorry there
<10> General TCP Question: I have written and application that sends a request and then receives a responce(small chunk)>> this repeats itself until done(when user stops); but the Round Trip Time is Slow and thus my "speed" experience is slow; yet when i surf the web I receive data at a much higher rate. what is wrong with my design ?
<9> how do u read the inputstream?
<9> byte by byte?
<10> eu_neo let me check one sec; it has been months since I last checked my project code.
<9> localvar: see if you use read() method for reading
<10> eu_neo yes it is a read : iStrm.read(Constants.ImageBuffer, pos, avaliable);
<10> eu_neo here is what the help says: Reads up to len bytes of data from this input stream into an array of bytes. This method blocks until some input is available.
<10> so it reads x amount of bytes
<9> and x is little?
<10> I have checked this via a TCP Monitor and what I could gather was that most of the times DATA chucks came through as 4K Blocks; but what I have not checked wa how much was read;
<10> I will have to test that over the network when I can; cant at the moment
<9> try to read a bigger chunk with read(4096)
<9> is.read(4096)
<10> eu_neo would you not say it is because of the design; request responce request repsonce... as to apposed request receive receive receive close socket(end of data:request size = received size).
<10> the later being say a http download
<9> how do u make multiple requests?
<9> when you want a page of 100K you make multiple requests?
<10> no only 1 request per page
<10> push(request) pull(receive) mechanism - one push and one pull to get the file; in some cases because of networking only a half a page is received and waits then for the rest of the data before sending the next request(push)
<10> say the server just receives one request:(start sending 1000 files) and the client opens a port and starts receiving file 1 then file 2 etc.; what will happen if the server sends data faster than what the client can receive data ? I quess I dont understand too much about tcp



<9> this is handled for you automatically
<10> Or is it in the Design of TCP
<10> eu_neo so data will leave the server as fast as what the client can receive the data ?
<9> yes :) ...that's it
<9> the server can face the problem that you presented...but not the client
<10> thanks : i think I have solved my problem then thanks
<9> np
<9> you help the others when you can :)
<10> initially this how the application worked but then : we got *clever* and wrote the push pull and performance just went for a loop; i have optimized and otimized but never touched the design
<7> Have a nice day, Everyone.
<11> anyone here use j2me or develop a java midlet for a cellphone?
<10> burninitup i
<11> i'm having a problem with nokia's midlet
<10> what is the problem ?
<11> it keeps saying that it does not exist even though i installed the sdk
<11> package com.nokia.mid.ui does not exist
<10> burninitup check your jar file of your application; it should be in there I presume; I have not tried using nokias ui package
<11> it's killing me because i've spent 2 days on this already and google isn't helping
<11> no jar file, it doesn't even compile
<10> take your jar and unzip it
<10> ok no jar file;
<10> so it will not compile; it says it can not find the nokia ui package; what ide are you using ?
<12> what is an easy way to programing the type double, using integer and string?
<13> claydy?
<12> yes
<11> for 2 days i tried netbeans. now i'm trying j2me wireless toolkit
<13> are you asking homework questions here?
<12> no... i m trying to programm in j2me but there is no double in j2me and i need doubles for my programm to work
<12> there is no float either ;)
<13> you could use a String
<12> and then?
<13> and write your own calculation methods
<13> like add, sub, etc
<13> but it depends on the j2me profile you use weather doubles are available or not
<12> mh... nah... there's probably an easier way... takes up to much space on a mobile phone doing it that way...
<13> cldc 1.1 should support doubles
<11> localvar any ideas?
<12> i thought the problem was with midp 1
<14> is there any way to 'destroy' an object in an Object array ? or will removing the reference to the object and set it to 'null' to the trick ?
<13> claydy, midp2 has doubles
<10> burninitup you have to add it to you cl***path of the project in the IDE
<10> i dont use netbeans so i can not be specific
<13> if you want to write a midp 1 compatible program you need to work around the problem
<12> yes.. but sadly not all mobiles are midp2 capable
<11> have you used j2me wireless toolkit?
<12> yes
<11> how do i add it there?
<12> but i prefer netbeans
<13> you can ofcourse also use 2 integers
<11> not you :-p
<13> one for the decimals
<10> i might have it installed let me check
<12> ah? mh... but how do i do the calculations then? for example if i want to divide A (which consists of 2 integers)
<13> you need to program those functions yourself
<12> mh...
<12> k anyhow tnx
<10> burninitup i have just read that the Nokia toolkit does not provide compiling so you will need to do the compileing with a JDK (javac and use the cl***path switch)
<10> burninitup i suggest u use eclipse 3.1 and the eclipse me plugin or netbeans should also do just fine for j2me purposes
<13> or notepad
<11> i'm using notepad
<11> and to compile i'm trying to use j2me wireless toolkit
<13> you need to download the java development kit
<11> i've done that
<11> it's installed and working
<13> you can compile with that
<11> yeah, i can
<13> great
<11> not great
<13> what not?
<11> package com.nokia.mid.ui does not exist
<11> that's my problem. no matter where i copy the cl***es.zip it keeps saying that it's not found
<13> well its probably not included in the wireless toolkit
<11> correct, it's included with nokia sdk


Name:

Comments:

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






Return to #java
or
Go to some related logs:

#london
XIZZU DOG
pinoy chatzone
girll
ahorcado netbeans
#AllNiteCafe
cure for hicups
Can't rename localhost_2.log
steamaccountgenerator
fgdfgfd



Home  |  disclaimer  |  contact  |  submit quotes