@# Quotes DB     useful, funny, interesting





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



Comments:

<0> It's stopping right before the last part of registry_phase_3.txt
<0> stops @ "2004-01-00328","",""
<1> because you have -1
<0> yes, but if I don't put that, I get indexoutofrange..
<0> becuase I use x+1 within the code, to tell it to match with the next line (for duplicates)
<1> which line are you talking about now?
<1> the loop that removes duplicates?
<1> btw, 'registry_line.split("\n");' has no effect, so you can remove it. even if you did use it properly, .readLine() separates by \n (being read _line_, after all)
<0> Ok, thanks
<0> It's working 100% now
<0> VERY appreciated
<0> I've been spinning my wheels on this..
<0> All it took was you to show me that my code was working =)
<1> heh, np
<0> I'm going to idle here =
<0> =)



<0> I'll help people out when I can
<0> Even tho i'm pretty new to java
<1> enjoy your stay \o/
<0> ty =)
<0> I was in this other chan: #java on efnet
<0> they are SUCH ***holes
<0> It was ridiculous
<0> I've never been treated like that b4
<1> hehe, yes
<0> What's wrong with them?
<0> They think they are god or something
<0> And the guy gave me a solution that didn't even work
<2> crap.. you mean we're slacking? apparently we're not up to ***hole par.. really must work on that
<1> Two-Bits: shut it, you baboon. trolls have nicer eyelashes than you!
<2> ****ing down under ****stain who cares about eye lashes?! my nipples are beyond compare!!111
<0> lol
<0> I'm gonna rejoin with bnc
<0> sec
<2> and adsd.. i dont know what crawled up your butt, but you're obviously a twat who needs to ****ing read the manual and oh crap he left
<2> dum dee dum dum
<3> lol
<3> w
<3> b
<4> ?? :P
<5> Is parsing html hard in java?
<5> Well, I basically have to use a search engine
<5> And parse the results and put em in an arraylist
<1> there are a bunch of html parsers available
<1> and screen scraping is easier if it's just one specific site's output you need
<6> Okay... Has anyone ever made a java applet that connects to a SQL database and fetches/replaces data on it?
<3> Memphetic: is the db also on the client side?
<6> the client side?
<3> yes
<6> as in the person running the applet?
<3> yes
<6> that doesn't sound all too practical
<6> but no either way
<3> then you have to build a middle tier
<5> kaola_man - what is screen scraping?
<3> between your applet and the db
<5> www.rxlist.com is the site I want to use: I want to search using the list of formularies.txt that I sent you
<6> well I was kinda hoping someone could send me some example code..
<5> And I want to retrieve the brand names
<3> Memphetic: its not something common
<6> indeed
<5> I'll look up screen scraping -- what if that doesn't work? Can you recommend an HTML parser for me to use?
<3> as the middle tier which you're going to build is dependent on your choice
<3> i think you will have to build it using http
<6> will php work?
<3> yes
<6> is that even possible? to have an applet *send* data through php?
<7> YES
<7> IT IS
<7> JESUS
<3> but you will have to parse the html return
<7> No
<6> I mean, I know I could have the applet parse the php
<6> yeah
<7> You can have PHP send XML
<6> still needs to be parsed, zene
<3> yeah



<7> SAX.
<6> :-P
<7> I told you this yesterday
<7> Use SAX.
<7> It's a nice lightweight parser
<6> yes, and I thought about it
<3> using xml is also a good idea if you have to return the data into some RecordSet representation
<6> but then I thought how am I going to send data to the database
<7> Memphetic: XML.
<3> Memphetic: also by calling a php page
<7> POST it to a PHP page
<3> with some parameters
<7> or just using a parameter call
<6> hmm
<7> if you only need to do a small update
<7> stop thinking in database terms for your API between PHP and the applet
<7> think about actions
<7> not databases
<6> sorry...
<6> I'm learning 3 languages at once, it's kind of tough, things are blurring
<7> have a PHP page called MoveThing that takes parameters, ThingID... newX, and newY.
<7> the PHP page can do the validation to see if it's a legal move
<6> sometimes when I talk now I accidentally put ' at the end of sentences to close it when I use contractions
<6> yeah
<6> or would it be smarter to validate on the applet?
<7> Sure, if you want someone to write their own applet to cheat with.
<6> nah, if it's done on the PHP page it'd be a smaller applet download
<7> All they'd need to do is understand your api, and then they could make calls to the server itself and do whatever it wanted.
<7> Plus, applets have limited processing power
<7> and may not "See" all of the variables and such that the server will
<6> php has more processing power than java?
<7> like terrain
<7> no
<7> but an applet
<7> runs in a web browser
<7> that could be running
<6> mm, yeah
<7> on god knows what kinda ****ty computer
<6> lol
<6> I'm pampered with my processor speed
<6> I need to go buy a piece of crap to test compatibility
<7> Joebob running his Pentium II 233 with IE5 and Java loaded up aint gonna wanna wait 30 minutes for his applet to caluclate a legal move.
<7> lol
<8> i have two cl***es. one is a GUI with RadioButtons in a Panel. The other is a file reader. The game is a hangman game with four categories. These categories are chosen in the file reader by the user. Each of the Radio Buttons in the GUI cl*** refers to one of the categories. i want to know how to link the two. E.g. if he chooses music RadioButton, it has to link to the music category in the other cl***.
<8> how do i link the two?
<6> billy bob*
<6> Ok. So.
<6> All that I need to do is make the applet say "Hey, php page. Check out this data I have for you." then the page is like "That's pretty cool shaz. you can do that I suppose."
<6> "Hey. By the way. I have some other locations for you of other peeps."
<7> yes, make your applet as thin as possible
<7> no logic
<6> and the applet will be like "Sweet man"
<7> just ideas
<7> let the server validate everything and anything
<6> more secure that way also
<1> koertkopb: the tutorial has info on how to use radio buttons
<1> koertkopb: if you really want to use awt instead of swing, there's a downloadable bit at least
<6> So then. Anyone have an example of a small applet that parses xml data into variables?
<1> but it's basic event handler stuff
<7> Memphetic: nope. but I'm sure you can find an example of extracting data using SAX
<6> planetsourcecode or something?
<6> or do you have one?
<7> I don't have one
<7> but there are bazillions
<7> SAX was made for Java
<7> http://www.saxproject.org/quickstart.html
<7> Explains it quite well.
<6> http://planetsourcecode.com/vb/scripts/BrowseCategoryOrSearchResults.asp?optSort=Alphabetical&txtCriteria=sax&blnWorldDropDownUsed=TRUE&txtMaxNumberOfEntriesPerPage=10&blnResetAllVariables=TRUE&lngWId=2&B1=Quick+Search
<6> calccurrency prolly does what I need, eh?
<7> Are you calculating currency?
<7> learn from the SAX tutorial. :P
<6> yabut, I'd use that as an example as well
<7> no, don't.
<6> and maybe I am calculating currency. :-P


Name:

Comments:

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






Return to #java
or
Go to some related logs:

younus jani
noxxema finne
php ubuntu Fatal error: Call to undefined function: imagecreatefromjpeg() in
mysql_real_excape_string
you only read the first and last letters
man strtok
#allnitecafe
#india
#allnitecafe
#allnitecafe



Home  |  disclaimer  |  contact  |  submit quotes