@# Quotes DB     useful, funny, interesting





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



Comments:

<0> validated.
<1> it does speed up your agile programming tho
<2> Agile is a broken methodology
<2> it is all based around flawed premises e.g. what the language itself imposes
<1> yeah yeah... waterfall iteration is a broken methodily too :)
<2> since it digresses from "software" simply to provide a higher-order communication mechanism
<3> Managers love the waterfall.
<3> it's easy and gives them solid unrealistic expectations to work with. :)
<2> agile is idealistic nonsense dreamed up by right-wing gumph balls who don't know how to evaluate something without ignoring the negative side of it
<1> waterfall iteration is broken, agile is broken... what ya gonna tell me?
<2> that it needs fixing, badly
<2> before I die I hope
<0> I need something that's like "I suggest you get away from IE because it ****s"
<3> Agile has some good qualities, but the whole write-the-test-case-first and dreamy-cl***-design **** is just useless.
<0> my site is becoming pretty much anti-neveron O_o
<2> it has no good qualities, they are all workarounds



<0> what?
<0> oh
<1> i'm like buddha dude, I walk the middle path
<2> "writing the test case first" is just a ****ed attempt at providing a formal requirement before the implementation
<2> it's so blatantly obvious given Language Theory and its Mathematical Foundations 101
<2> but of course, they don't teach that in school
<2> and so the set of all gumph balls increases
<1> i probably misspoke about Agile... i'm more the 'write two prototypes first' kind
<0> allright, dibblego.
<0> I have to do this.
<2> I have to go eat
<0> How do I get my java applet to read a file from the internet?
<1> before ya go...
<0> as in, I need it to read data from http://www.seldemon.com/data.php
<1> do you know the basic Hibernate tags to map a Map?
<3> <map>
<3> no idea
<3> I don't like Hibernate
<3> way way too complicated of a setup
<3> just for a db wrapper.
<1> What works better, Zenethian?
<3> Nothing, at least that I know of in Java, but I haven't looked either. I don't really prefer that kinda db wrapping anyway.
<1> yeah zenethian me neither... if I knew totally fore sure how I was going to arrange my entity cl***es, it'd just JDBC it...
<1> you have to admit, Hibernate is pretty decent if you're quickly rearranging your data structure while you figure out the best way to do it
<3> Sounds like a great big piece of software to help you mismanage your database.
<3> ;)
<0> ZENETHIAN!
<0> You know how to do what I need to!
<3> :o
<3> I'm glad.
<0> me too
<0> means you'
<0> are my new best buddy!
<3> I'm not glad anymore.
<0> ^_^
<1> gah! Hibernate generally pisses me off. I hope this Java Persistence Dodad EJB3 **** works any better
<3> Please don't message me though.
<0> why do people not like PM's?
<0> Hey, what's up! My **** doesn't stink, and only other people whose **** does not stink can message me.
<3> Just don't.
<3> old habit
<1> well, since i'm slumming it with you guys instead of getting my kick-*** **** in-gear... anyone done EJB3 yet?
<3> Memphetic: ok, so your php is gonna emit xml, and your applet is gonna consume it. Cool.
<0> yeah
<0> but how do I get this to work?
<3> lol
<0> java-side, that is
<3> well, you need to learn SAX or DOM. Depends on what you wanna parse it with. SAX is probably more efficient.
<1> do a URLConnection dude whatever
<0> difference between the two is?
<3> everything
<3> they're completely different api's for working with XML
<3> SAX is event based, DOM is tree based
<0> which is easier to learn
<1> screw SAX and DOM... learn XPath
<3> neither is easier to learn
<3> and XPath parsers are just SAX parsers with an XPath interpreter.
<1> and they're hella easier to get your XML parsed the way you want
<0> they're easier than XPath, you mean?



<0> hang on, I'll make an example of what I want to happen
<3> well, XPath is probably easier to learn, but it's not really an XML parser.
<1> reading from XML is easiest with XPath I mean
<3> and repeatedly doing XPath lookups is slower than using SAX
<1> The O'Reilly XPath book is good, and the API is included with Xalan
<3> and since this will be a JWS/Applet
<1> screw slower dude
<3> you'll probably want to try and be efficient for slower PC's
<3> leitmotiv: this is being done in an applet on a web browser for a game. Speed is important in this case.
<1> cool dude, my bad
<3> ;)
<3> If this was on the server side?
<3> yeah I'd say...sure
<3> hehe
<4> coolest Java related XML parsing I've seen (though it's been a while, I'll admit) was Apache's (Jakarta) Digester
<4> rule based parsing kind of thing
<1> but on a one-time initialization... do XPath... my philosophy get it working, then get it working fast
<3> Hmm, rule based XML parsing would be great.
<3> I've been wanting something like that for a while, and usually just end up taking SAX and doing that kinda myself.
<0> http://www.seldemon.com/example.xml
<0> so it'll take that tree and make variables Unit1PositionX = 1, Unit1PositionY = 7, Unit1Ref = HBK-4P
<0> no ideas?
<5> hi
<0> Caveman
<0> caverdude.
<0> whatever your name is.
<0> you can't talk unless you help me.
<5> hehe
<5> Memphetic ok ask your Java related question. (no homework)
<0> caver, you there?
<5> yes
<0> ok
<0> mind if I PM you? it's less channel spam
<5> no just ask a java related question
<5> no homework
<0> okay
<0> http://www.seldemon.com/testmap.html
<0> this java applet needs to interface with SQL. The SQL will tell it where to place the unit, as well as which unit to draw
<0> the way I'm going to do this, for security reasons, is have the applet access a php on the server that will do the SQL queries itself and then output them in XML format which will look like this: http://www.seldemon.com/example.xml
<0> the question is, how do I get the applet to read that .php and take the data from the XML and put it into variables
<0> such as, that XML would return Unit1PositionX = 1, Unit1PositionY = 7, Unit1Ref = HBK-4P
<0> I mean, there are going to be many more items returned, but that would give me the framework to go on
<5> first, this is not a PHP channel
<5> so I can't answer a PHP question
<5> 2nd usually you would have an applet connect to a servlet, thats if the server is setup to allow socket connections from clients
<0> that's not a PHP question
<5> I think myjavaserver.com which I am using to learn does not allow socket connetions to servlets
<0> I know how to output the data
<0> I just need the applet to get the data
<5> in the Java context the applet would have to get data from a running servlet by using a socket connection
<5> you might store some data in cookies
<5> then the applet could read the cookies
<5> something like that
<5> I dunno
<0> wouldn't work
<0> might as well use parameters if I would do that
<0> but that won't work because it the applet also has to tell the SQL database crap
<0> wait. that means the XML thing won't work either.
<0> son of a...
<0> yeah. this is impossible.
<4> if the applet's connecting to a servlet it doesn't need extra permissions (***uming the servlet's on the same box as the applet).. and there's not much advantage to connecting to a servlet over a PHP or any other kind of server side generation system
<3> whatcha having problems with?
<4> (you could use serialized objects if you were going java to java of course, but whatever)
<3> it's not impossible dude
<3> sheesh
<4> caverdude: what do you mean "does not allow socket connections to servlets"? servlets are alwasy accessed by sockets.. HTTP is an application level protocol on top of TCP.
<4> don't know what they were debating - none of it made much sense at all
<3> me either
<5> The_Vulture I tried a chat applet once, there were some exceptions thrown when I tried to connect to the servlet that made me think at the time that it wasnt possible
<3> Memphetic seems to want people to do the work for him, he doesn't understand anything about programming and yet he's trying to build this m***ive online game with an applet.
<5> or maybe it was in starting the server
<3> The security manager requires that the applet can only connect back to the server that served it.
<4> caverdude: probably because you hardcoded the name you were connecting to instead of using getCodeBase().getHost()
<5> The_Vulture hrm maybe, I need to try again I guess


Name:

Comments:

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






Return to #java
or
Go to some related logs:

russian women don't age well
move_uploaded_file suphp
#linux
#kl
nmap toturial
#allnitecafe
choot ka sauda
i been roped and throwed by jesus in the holy ghost corral
#chat-world
#chat-world



Home  |  disclaimer  |  contact  |  submit quotes