@# Quotes DB     useful, funny, interesting





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



Comments:

<0> which returns a list, you convert the articles to text messages and send them over the socket back
<0> thats it
<0> and dbManager.getArticles is synchronized
<1> sorry i'm on a flakey wireless connection
<0> [21:07] <0> you have a serversocket listening for sockets, when you accept a socket you create a thread, open the socket and start listening
<0> [21:08] <0> a message 'getArticles' comes in, you call some database cl*** like dbManager.getArticles();
<0> [21:08] <0> which returns a list, you convert the articles to text messages and send them over the socket back
<0> [21:08] <0> thats it
<0> [21:08] <0> and dbManager.getArticles is synchronized
<0> there
<1> yeah i get that
<1> what i am saying is
<1> if dbManager.getArticles is called and is already in use
<1> what happens
<0> the call blocks
<1> do i have to create a queue of the threads that need to use it and call each one as the method becomes available



<1> or will they do that themselves
<0> the call blocks
<0> try it in a test case
<1> ok
<1> also
<0> create 2 threads, let them call a synchronized method
<0> make it so the method pauses the thread for a few seconds
<1> does the system ***ign a different port to each socket or do i have to do that ?
<0> lol
<1> i have a server socket on port 4444
<1> that listens
<0> thats all you need to care about
<0> the clients connect on port 4444
<1> and that creates sockets
<0> wether they communicate over a different port later on doesn't matter
<1> but then can only one connect at a time
<1> ?
<1> or does it ***ign it a different port once its connected ?
<0> try it
<0> type netstat -a -o on the command line to see what happens
<1> i can't really as i don't have the client working yet
<2> hello again, i missed ya a lot
<0> an input port and output port are negotiated between server and client
<1> ok
<0> Lion-O
<2> Rob_uknow
<3> Hi Rob_uknow
<0> wolfey
<2> :)
<0> got euro's?
<2> yeah
<2> Rob_uknow: http://en.wikipedia.org/wiki/Slovenian_euro_coins
<2> take a look
<2> 2 EUR is most famous poet, author of song that became national anthem
<4> I LOVE JAVA
<0> you have 1 cent coins?
<2> on 1 EUR it's author of first printed book in slovene, protestant bible in 16th century
<2> yes
<0> don't think we have them
<0> the 5 cent coin looks best
<2> on 50 cent is famous old song of 'sacred' mountain of Triglav (Three-Head), highest in Slovenia
<2> Oh Triglav my home, how wonderful you are
<2> on 20 cent is special breed of white horse originating in slovenia, used also in ridding school in Vienna Austria
<2> called Lipicanec (fro Lipica)
<2> from
<2> on 10 cent is proposed parlament by most famous architect Plecnik (also worked in Austria and Czech republic), never built
<2> and so on
<2> :)
<2> lovely stuff
<2> 5 cent is inspired by famous impressionist painting
<2> originally depicting farmer throwing grain
<2> here he throws stars of europe
<0> you sow what you reap
<0> or something
<0> you reap what you sow
<2> Rob_uknow: http://img.rtvslo.si/upload/Kultura/likovna%20umetnost/ivan_grohar_sejalec_show.jpg
<2> this is original
<0> ok
<2> it's funny with coins
<0> what is tradional slovenian food?
<2> http://en.wikipedia.org/wiki/Potica this is one



<0> looks good
<2> and sausage like this http://img.rtvslo.si/val202/upload/vnews/klobasa_big.jpg
<2> http://24ur.com/media/images/213xX/Jan2005/6029366.jpg
<2> or this http://www.eat-online.net/images/cookbook/slovenia/zganci1.jpg
<0> for some reason the saucases don't look that tasty
<2> bad pictures
<2> :)
<0> zganci wouldn't be my first choice either
<2> http://www.lendava-turizem.si/img/gibanica01.jpg this is Gibanica
<2> in region near hungary
<0> that looks nice
<0> whats slovenians greatest tourist attraction?
<5> hello
<5> i want to avoid very large java files
<5> so i put some java cl***es into a new file
<5> but i am not able to access clases from the old file
<0> normally I put all my java cl***es in seperate files
<5> yes
<0> relik, make sure the cl***es are public
<5> but how do i access cl***es from other files
<0> if you put multiple cl***es in one file you can only have 1 public
<0> maybe thats the reason why you can't access them
<0> and make sure to delete all .cl*** files
<5> public cl*** Meandu extends PircBot
<5> i cannot access this cl*** in another file
<5> :|
<0> whats the compiler error message?
<3> relik: sounds like you need some basic java experience..
<5> yes
<5> i am new
<3> Two very good books on Java: The Sun Java tutorial (http://java.sun.com/books/tutorial/) and Bruce Eckel's "Thinking in Java" (http://www.mindview.net/Books/TIJ/). Both are free and available for download.
<5> hahah
<0> aren't you a relik?
<3> that would be my recommendation on the subjects.
<5> i am just reading tutorials
<5> and i am programming some samples
<2> Rob_uknow: http://en.wikipedia.org/wiki/Bled this is most famous
<2> Rob_uknow:
<2> http://en.wikipedia.org/wiki/Postojna_Cave
<6> gah.. I can't read those texts without it beeing red out loud in that accent tom hanks has in the terminal..
<7> what's everyone coding at the moment?
<0> nothing
<0> you?
<7> stupid video codec for j2me
<7> one supporting streamin cos the poxy media api doesn't
<6> I'm trying to stop singing along to yhe playlist
<7> wlfshmn, whats in ur playlist?
<6> CCR at the moment, which tends to trigger my "singing"
<7> throw new ChannelException("Crappy Channel For God's Sake...");
<0> hehe
<2> :)
<2> last deadline is tuesday:P
<0> make me a j2me app
<0> that makes a photo when I call the mobile
<2> i dont do vendor-specific api
<0> call the program 'cheap remote webcam'
<0> you can make lots of money with that
<2> well j2me is like applet, sandboxed, more or less
<2> so generally it is not possible, it might be on some specific platforms, using vendor-specific lib
<0> too bad making pictures and movies isn't part of the j2me api then
<2> taking pictures and movies is optional, only best newest phones support
<2> but you generally dont 'hook onto call'
<2> or call from java
<2> at least i didnt see it yet
<2> for example 3rd generation of nokia 40 series support audio recording from java
<2> while 2nd generation (3220 for example) dont
<0> hm
<2> Rob_uknow: so you could take picture, display it... but you cant call from java, generally
<2> Rob_uknow: perhaps some vendor-specific api supports it
<0> i don't want to call
<2> symbian phones are more promising than cheap
<0> I want to initiate an action when being called


Name:

Comments:

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






Return to #java
or
Go to some related logs:

#chatzone
convert dbi to vga
DD-WRT adsl router
porno romnesc
#AllNiteCafe
cum se da flood din putty
#linux
#MissKitten
delivernece
nenasas



Home  |  disclaimer  |  contact  |  submit quotes