@# Quotes DB     useful, funny, interesting





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



Comments:

<0> does anyone know how to specify a certain number of blank spaces between strings printed, I know for tab \t and one space, but what if we want specific number of consecutive character to be printed between strings?
<1> Lotus7: daabz, is that you? :)
<2> System.out.print( ' ' );
<3> you should be able to use the fomratted output to do it, no?
<2> I believe so in 1.5 (5.0)
<3> right
<0> you put single quotes?
<4> as in use printf() in 1.5
<2> so what, you're an adult aren't you?
<4> in c you can specify the number of characters before the format specifier
<0> I tried putting consecutive spaces between " " and it does not work
<2> in what way does it not work
<2> what is the purpose of this output (html ?)
<0> well, I can not control exactly the number of spaces, if I put 3 spaces " ", it would display as if I put 10 spaces
<2> I doubt that, can you give a test case
<5><font style=Courier>foo foobar foo</html>") recently, and couldnt understand initially why it didnt form columns



<3> you guys ever play with Sun hardware before?
<0> ok, I've found the problem, I had spaces before a tab, so it was " \t", now I put "\t " and I can control it
<6> (of course, there was a logical explanation)
<1> get the length, add as many space chars as required to get to the desired length, move on.
<1> if longer than desired length, truncate.
<2> k
<3> Lotus7, this is because \t won't always give the same sized gap, it will jumpt to the next tab stop
<2> Lotus7 for column wise pretty format I use StringBuffer, init it to width* spaces, then write fields to the colums I want
<2> it may work for you
<0> ok, good to know
<7> yo
<6> hey funkular
<2> hi funky
<7> wtahcihg final destination on ch4
<7> scar
<7> scary
<2> calendar girls on tv in sus***
<8> hi, is there a way to get a printscreen of my windws desktop inside my java program (to do image processing on it...) ???
<2> maybe look at cut and paste (or drag and drop) but that may not work well
<2> otherwise I doubt it
<9> i'd google for screencapture
<9> this is what i found http://www.rgagnon.com/javadetails/java-0489.html
<9> enjoy
<8> oky thx :) lol
<8> better than to put a webcam looking at my screen :P
<2> it will only get your java client GUI area
<2> afaik
<8> :/
<9> if you only need to monitor your screen, why not use vnc?
<8> maybe I look further in that direction
<8> thx
<10> Hi I need help my java app is complaining it cant find mysql connector file the code states its location as "conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/?user=root");" where should i palce the connector file ?
<9> calchas: it actually captured my whole screen
<2> cool
<2> Javvaaaa do you have the jar file with it in ?
<10> calchas I have one jar file which I downloaded off mySQL website it came as a rar file once extracted I took the exectutable jar file out the file name of it is "mysql-connector-java-3.0.16-ga-bin" Im not sure where to put it
<2> sorry you losy me
<2> lost
<10> sorry
<2> DO you have a jar file that includes the mySQL driver cl***
<10> calchas yes I have it
<10> where would i put this
<2> either place it in the jre ext dir (including your jdk jre) or use the cmd line cl***path and include the jar file in that
<2> jar file fullpath and filename
<10> oh ok thanks for the help
<2> np
<11> salut tout le monde
<12> hi all
<12> i have heard of http header reader... which reads what headers are sent and received by my browser.... im wondering... is it possible to see whats sent and received by java applets?
<13> Maybe firefox Live Http Headers plugin
<13> http://livehttpheaders.mozdev.org/
<12> i have htt headers.
<13> No good?
<12> only works for normal sites. not stuff inside java applets.
<13> I guess you need to either (a) capture the network traffic, or (b) do something wierd with a http proxy
<13> (a) is pretty easy, use ethereal
<13> filter out everything except the site in question, and you should get a nice, complete capture.
<12> thanks..downloading now.
<12> if this works ur a genius.
<12> thanks man!
<13> np, it's a cool program



<13> You can apply filters, either at capture time, or at view time.
<13> And you can click on a packet, and go "follow tcp stream", and it'll decide the protocol (eg: http) if it understands it
<13> Which it does
<13> supernoob: talk in channel
<12> well i can see msn
<12> and irc on there
<13> Okay, take a step back.
<13> You probably want to filter it to just port 80, if that's what it's using?
<12> can i add the site to watch
<12> yeah
<12> ok
<13> Yeah, you can add arbritrary filters
<13> Either at capture time, or display time
<12> so how do i filter only port 80
<13> Probably easiest to capture everything, and filter it when viewing
<13> So set it capturing, perform the operation you're interested in, then stop the capture
<12> i see 31 items. its a little hard to spot.
<13> Save the file somewhere, just in case.
<13> Only 31?
<13> packets?
<12> yeah
<13> That's not much
<12> :s
<13> In the filter box at the top, type: tcp.dstport == 80
<12> u got this progam?
<13> of course
<12> midn going to a website?
<12> to see if u can spot anything?
<13> uh, okay
<12> http://www.jippii.com/games/gameframe.jsp?prop=pool3
<12> put a nick and ur in.
<13> Hmm, I don't have java plugin installed. Just a sec.
<12> ok
<13> Okay, I've captured the applet download, and login.
<13> What are you interested in?
<13> I get a bunch of pastel coloured boxes
<14> Hey guys
<12> im interested in what is being sent when someone sends a message in the room.
<12> login with a nickname
<12> theres a chat applet there
<13> Is the room hardcoded?
<12> dont know try and see what you get :P
<13> The applet doesn't show any users or any convesation, I guess it's not joined to a channel
<12> try pool1
<12> http://www.jippii.com/games/gameframe.jsp?prop=pool1
<12> room is full wont connect u.
<12> anything yet LLyric?
<13> It doesn't seem to connect properly
<13> I don't get join messages or a list of users
<12> oh
<12> wot does it say
<12> try another room
<12> http://www.jippii.com/games/gameframe.jsp?prop=pool1
<12> http://www.jippii.com/games/gameframe.jsp?prop=pool2
<12> http://www.jippii.com/games/gameframe.jsp?prop=pool3
<12> just reload and type nick
<13> Just a bunch of pale pastel coloured boxes
<12> hmm
<12> works fine for me and so many users inside already.
<13> I get the "enter your nick" bit, but nothing much except boxes after that
<12> ur java problem?
<13> java seems to work fine, I get the login box np
<4> hello
<12> hmmm
<12> well im getting this
<12> stream content
<12> 4.dE6wiF>M"z-Nn@oz.ds{SO
<12> V",3*-6F+[M"owOa}j!v
<12> weird things like that
<13> Of course, it will be using some private data-format talking back to it's server
<12> yeah
<12> do you think it would be possible for me to know what to send, i can use mirc to communicate with their servers
<12> using sockets.


Name:

Comments:

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






Return to #java
or
Go to some related logs:

sexytrans.it
romanian slappers
#MissKitten
asshold meaning
#linux
#c
sormok
figure.nize
#chatzone
fedora 5 screensavers



Home  |  disclaimer  |  contact  |  submit quotes