Does anyone know why when I mark a class as serializable and I mark all classes it contains references to as serializable
*a HashMap
unless you want the hashmap somewhere else, no. just start with the treemap
how do I specify a different port in a jdbc postgres driver?
db = DriverManager.getConnection("jdbc:postgresql:"+database,username,password); //connect to the db
set it in your connection string?
is it someone here?
yeah, i forget exactly where though. i think it's in the database param
~google jdbc connection string port
http://www.googleityoumoron.com/?go=jdbc connection string port
~literal google $1
replyhttp://www.googleityoumoron.com/?go=$1
yeah, giym is no more.
~google test
http://www.googleityoumoron.com/?go=test
~no, google $1 is replyhttp://www.google.com/q=$1
Okay, surial.
~google test test
http://www.google.com/q=test test
yes, it's part of the database hosting parameter. just like in http
there should be a plugin that forms correct google searches.
database.url:port
hello
konban wa
is there any XMLReader API for Java? I *don't
er
~xml
Fanook, xml is best parsed with XOM (http://www.xom.nu/ ), JAXB (http://java.sun.com/xml/jaxb/ ), JDOM (http://www.jdom.org/ ) or XmlMap ( "http://www.zwitserloot.com/java-boilerplate/mox">http://www.zwitserloot.com/java-boilerplate/mox ). If you like pain, you may wish to check out SAX or DOM (http://java.sun.com/xml/tutorial_intro.html ).
I *don't* mean XMLReader as in the Java class for SAX
wow interesting list
ok forget I asked specifically for XMLReader
what's a good *pull* event-based XML parser?
i was trying to put the stream into the output stream so i use OutputStream out = socket.getOutputStream(); then i use out.write(0×0); then out.flush(); but it frozen in the out.write, have any idea?
not without seeing some code
~pastebin
SAX sucks for using callbacks, DOM sucks for building whole tree in memory…
ok second
g2g
http://rifers.org/paste/show/5248
a href="http://rifers.org/paste/show/5248"http://rifers.org/paste/show/5248/a
out = new OutputStreamWriter(socket.getOutputStream());
and you're sure it's not blocking on the .readLine()? I'm fairly certain that's a blocking call until there's a line to read
ok let me try to ignore the readline i will change to void then
having .send() read anything smells somewhat funny anyways
lol it just a test code )
you may want to consider using a BufferedOutputStream. don't know what your traffic looks like, but it may help
ok it seem to connect now, but packet arent sent.. weird
im going to test it in the bufferedoutputstream ;p
doesnt seem to work the out isnt sending to server
thanks anyway i will try to fgure it out
i noticed both your constructor AND .connect() method create a new socket, that might be an issue
i dont use the connect thing
i just a dummy method
since the constructor is used as connection
it*
Hi, I'm designing a program and I want people to be able to select and run java web host code from within the program that may have been writen elsewhere and packaged into a .jar file… I want them to be able to select different
packages and run different code at their choice
is this kind of thing possible or easy?
i think that requires doing your own classloader
I was thinking I'd hack it by using java to copy the jar from one folder to another, and renaming it so that java could find it… would that cause an error?
You'd be into an interesting experience to put it mildly.
indeed
eval is not how you
think of java most of the time.
can I get a list of all the classes in all the jar java hosting files in a particular directory, then have the classes generate instances of themselves?
Heh.
Can?
Want to?
wow, that's cracked
well, I'm just trying to figure out a way have plugable modules
hah
everyone wants to do that
its a useful technology
~jpf
Fanook, jpf is the java plugin framework. It aims to simplify plugin based systems and can be found at http://jpf.sourceforge.net/.
indeed - but lots of beginners seem to have insane ideas about how to do it
why reinvent the wheel….again…
damn i cannot figure it out, someone could help me with sending a hex packet ? with outputstream
X(((
osgi, jpf, write your own bla bla bla.
I think you need to sit down with pen and paper.
heh, well that looks like what I want, thanks
Have fun, don't blame me.
the JDK just looks for META-INF/foo.bar.baz in the classpath, and reads a class name from that, for a bunch of its things.
that works ok for simple things afaict
Hey there, anyone here develop webapps with netbeans here?
this may help you a bit. http://rifers.org/paste/show/5249
i'm gonna get lynched for saying this, but IDEA has not impressed me yet. it's slower than eclipse, haven't found the right setting to do auto-imports the way i want, file tabs don't have a close button on them…*shrug* maybe it's just me
Interesting
thanks let me check
just use what works
i am. giving idea the 30-day trial because of what i've heard here. maybe it's just because i'm not doing jee stuff
i'm gonna try it eventually, but I'm not going to switch it for the sake of conforming to popular opinion
*switch to it
me neither. i just wanted to see what how the hype panned out
s/what/
at this point, I can't afford learning a new ide until I'm done with this thesis project of mine… then I'll see if there's this rapid increase in productivity with idea as others claim
phd?
master's level
cool. what on?
it was optional, but i like self torture
collaborative filtering
sounds interesting
like self torture?
yes… I'm a masochist
theses are evil things
http://sax.sourceforge.net/
XD
I never bothered using sax… I just use jdom for XML host related stuff
sax sux
i did my master's thesis (project really) last year. operations research/comp sci major. examined a variant of the bin-packing problem where the contents of the items were considered in scoring the arrangements
i thought i had described it to you before… i'm using the netflix prize dataset
i may have told someone else about it… my memory sucks
it's possible. mine's shot too
mmm bin-packing…. I'm lost on complexity theory and such
— not a CS guy
heh. bin packing: the problem of determining an "optimal" arrangement of items in a defined area so as to minimize the amount of "wasted space"
ahhh… I see… I shut off my brain after reading the first line in the wikipedia article
almost got a job at fedex because of it, but i "didn't have the outgoing attitude" they wanted
"outgoing attitude"
what, do they want you to be a party animal?
i'm an introvert, mainly
but i do damn good work
me too… but did the really expect someone with such expertise to be not an introvert?
*they
Does anyone have any good tools for visualizing dependencies between classes, whether it be references, static calls, or inheritance?
Or any way to determine whether a given class will be good for serialization?
*default serialization
well, plus i had virtually zero industry experience. had just finished grad school the previous august (this was around feb.) and had just done some asp/asp.net contract work in the meanwhile
oddly enough, I'm actually an introvert
/twocents
i'm not terribly suprised… i think you have to be slightly introverted to frequent irc in the first place
true…
later.
peace.
so far XOM seems to be the most interesting…
yo
db = DriverManager.getConnection("jdbc:postgresql:"+database,username,password); with the database string: String database = "grayconsulting:5422"; yet it doesn't choose that port
any ideas?
netstat -nat, check postgresql.conf
can a serializable object that has a global variable that is non serializable be serialized?
~tias
Try it and see. You learn much more by experimentation than by asking without having even tried.
joed I know it is listening on 422
5422
do you see anything wrong with my connection string?
is javabot a bot?
what string?
no, he just acts that way
db = DriverManager.getConnection("jdbc:postgresql:"+database,username,password);
~javabot
http://javachannel.net/wiki/pmwiki.php/FAQ/Javabot
~about
I guess the factoid 'the truth about garbage collection' might be appropriate:
Fanook, the truth about garbage collection is http://java.sun.com/docs/books/performance/1st_edition/html/JPAppGC.fm.html
stupid bot
~stupid bot
you're the one talking to a robot. Duh.
figured it out no worries
~about is seejavabot
Okay, r0bby.
Anyone wanna join my java project?
what is it?
apparently on a need-to-know basis
~tell karstensrage about fisher tonyacunar
karstensrage, I hereby pronounce tonyacunar the Bobby Fisher of four in a row.
Javabot made me jump up in the air
what the heck does that mean?
anyone help with an ant problem?
?
#ant is very empty?
who is Bobby Fisher and what does "four in a row" mean
Good question
Why so much aggression?
HuH?
the chess champion
whoo.
~tell joed about fisher tonyacunar
joed, I hereby pronounce tonyacunar the Bobby Fisher of four in a row.
and apparent traitor to america
sigh…
i think that whole cold war thing was crap too, joed
~tell joed about fished joed
joed, I guess the factoid 'be joed' might be appropriate:
That sarcasm as obvious as serving Bush peas, obviously was lost as well.
joed, r3trartz uniti3!!
how do expect me to understand an inside javabot joke
?
Is it this bad?
Settle down tiger
dude…
hrmm?
this thing Im working on wants a file in classes/META-INF
but ant creates that directory
never mind, I thought that was rather funny. On several levels.
hmm
you can premake it.
ant wont overwrite it.
~tell joed about fail
joed, http://img378.imageshack.us/img378/4934/failtx2.jpg
oh so I can just create a classes directory?
Sure.
pchapman!
joed!!!
what's going on, man?
has anybody here used XOM?
do you find any amusement in accusing someone of being the Bobby Fisher of four in a row?
i do not
do you?
Gah.
thanks, youre a peach
~joed++
joed has a karma level of 53, karstensrage
Unsofisticated bastadiges.
Confusion
Does anyone know if a server needs anything special to run JSF?
Does anyone know why, when I mark a class as serializable, and I mark all classes it contains references to as serializable, and everything terminates at swing components and java.util.Collection descendents, the objectoutputstream always only serializes to 213 bytes (one
java.lang.Object)?
a container
what do you mean by that?
I know a container, but I mean does every container run it
he was answering me
oh, sorry
every container should run it in some fashion
thanks
there might be JSF specific instructions for the main ones (Tomcat, WebSphere, etc.)
I am using Tomcat, not sure if I want to use JSF hosting though
I REALLY am liking tapestry
wicket was another option but i didnt like how it mucked with the templates
I have never used it, where can i read up about it?
that is almost like saying I brew beer, but I'm not sure if I want my beer to use red-wine?
tapestry.apache.org
has good eclipse support, but not netbeans
No visual editor
not needed
pure HTML
renderable
its got the most complete SoC of any framework Ive tried
im using 4.1.2 right now… not sure if I want to switch to 5…. there is a channel #tapestry but its not very active
How do I determine if the program is running in Unix?
Wow, interesting. What WYSIWYG html editor you use?
ps aux
jobs
ummm Firefox?
I meant in programatically in Java
"you don't"?
so you just edit code and then refresh?
and for editing I just use emacs for everything, nxml mode is really good
yes
Well guys, I need to pack
I am going to Hawaii tomorrow
goodnight
so what should I do if I want to read a configfile from /etc on a Unix box only? !mac, !windows, !netware?
have a great trip tonyacunar
Or should I look at file separators?
why not use .propeties if its java?
..properties
you *can* do it; I just meant in most cases it's a bad idea
Don't you have to load properties from a file?
yeah, but isnt that what you want?
~StringBuffer
stickto, I have no idea what StringBuffer is.
location of a configuration file… to me it sounds like a good use, but I still consider myself a java servlet hosting newbie
I'm specifying the default place to look for the properties file
I'm not too familiar w/ the Preferences api, should I use that?
Oh, heh, I'll just check if /etc exists!
~pastebin
http://papernapkin.org/pastebin
I have this runtime error Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/lucene/analysis/Analyzer , when I try to run my program using java main -cp lib/lucene-1.4.3.jar
but the class is already in the right path !
I know how you can debug your problem, but you didn't answer some of the questions I asked
does your JS code initiate the RPC request?
Please help me guys
try java -cp lib/lucene-1.4.3.jar main
just for kicks.
s/.//
let me know how that goes
A'+ 34)+
sorry , the same
Good night, peeps.
Z z .
What's up with the Arabic characters?
Hey , Any one hvee a solution ?
Morning
Mornin kids…
morning papa
Morning andresgr
Hola.
http://www.javazone.no/web/show.do?page=92&articleid=5482
Z z .
pr3d4t0r, cool
sure the class is contained in the jar?
hello
i get eclpise
IDE for C/C++
how do i update it to JAVA?
i mean install extra JAVA development packages
hi..
does anyone know if it is possible to read keyevents from the commandline.. system.in seems to provide only the input after \n
I would like to read the keypresses (like arrowleft,right,etc)
kuil, impossible on command line
#eclipse
that's a real bummer
well its the command line
what did you expect
if I look at any implementation of a 'java shell' (like jsh) .. it is really annoying that you cannot use arrow left to change a line
I use commandline all the time (vi )
so implement a better one
:P
well.. if it isn't possible to read keypresses I can imagine why it is so 'crappy'
There seem to be technical limitations which make that non-trivial.
Still:
~jcurses
Console/terminal support: See JavaCurses - http://sourceforge.net/projects/javacurses/ and Charva - http://www.pitman.co.za/projects/charva/ and Jcurzez -
"http://www.nongnu.org/jcurzez/">http://www.nongnu.org/jcurzez/ and also "Console Window with a JTextArea Component" - http://javaalmanac.com/egs/javax.swing.text/ta_Console.html and Java 6.0's java.io.Console
class.
ofcourse, but nt impossible
*not
I have looked at the java.io.Console class .. but in there it isn't possible to use the 'arrow' keys as well is there?
Okay, kuil.
how do you handle exceptions in threads? is there a simple idiom for it?
Handle in what sense?
javabot forget I have looked at the java.io.Console class .. but in there it isn't possible to use the 'arrow' keys as well
I never knew about i have looked at the java.io.console class .. but in there it isn't possible to use the 'arrow' keys as well anyway, r0bby.
handle like in reporting it to some facility that can do something about it
javabot is a bot.
~tell Sonderblade about javadoc Thread.setDefaultUncaughtExceptionHandler(*)
Sonderblade, I don't know of any documentation for Thread.setDefaultUncaughtExceptionHandler(*)
Bah
javadoc is borked.
hey , what happened there?
Worked a minute ago.
or was
ah..
it wasn't obvious
For reporting… well, whatever you want to use for your interthread communication. BlockingQueues are decent for passing messages about.
the name is.. but it's answers aren't ..
lets say i want to load some files asyncrhonously, so i need to handle IOException..
Well, what sort of app are we talking about? And what do you want to do with the information?
when you see somebody do ~whatever, it's basically because they're addressing the bot.
unit tests, fail the test
is there a word for phrases that are used for self-gratificational purposes only? e.g. replacing "including" with "including but not limited to" (in other than legal contexts)?
ah… I learn something new everyday
oh sorry, not related to java
Well, give the test a BlockingQueue of some description. When a file is loaded, have it put a message to the effect on the queue. When a file fails to be loaded, put a message saying that on the queue. Finish the test when it's read the right number of messages off the queue, failing if any of
them are errors.
im sure i cant even google that
(But doing file IO and threading inside a unit test is a bit odd)
Other than 'redundant' I'm not aware of a good word for that.
superfluous ?
hop trop
maybe even "uncalled-for"
yeah well there are other exceptions too, and BlockingQueue is to much work for handling the extremely small possibility that a method like .close() would fail
the javadoc plugin is borked.
Too much work? It's maybe 10 lines of code tops
the bot itself, is fine, that portion is what's borked
Ah.
Shall I assume this is your fault?
probably safe to assume!
I have ZERO code in there
10 lines each time is much
speaking of javadoc, does anyone know of any hand-dandy formatting tools to fix my rampant problem of "/*" instead of "/**" and comments that lack proper html hosting character entities? I suppose it is fairly simple to fix myself, but javadocs seem to
be one of those things that need more IDE help
javadocs seem to be one of those things that need more IDE help
Yeah, but it's probably your fault anyway.
of course, I'm using netbeans, which has very little in the way of even javadoc contextual popups (for javadoc editing)
thanks, those are good ones
We have this interesting concept called an 'object'. On these 'objects' we have 'methods' which contain code. By calling these methods you can greatly reduce the amount of code duplication…
cool, i have an interesting object called 'cookie' do you want one?
~cookie Sonderblade
Hi there. I assume you guys are wizards with the spring framework.. I have a question about it..
I'm using spring on the red5 media server (perhaps you know of it) and I'm wondering, with spring, is it possible to make a http service, which can act as an admin gateway to different applications/scopes on the spring server
or am I limited to the context that the web service will be running in.
sorry, that '.' should be a '?'
I'm reading 2 spring books, but after several years off Java, I find it hard to stay awake reading this stuff, so I just want to know if I'm wasting my time or not, I'm not expecting you to do my homework, as some might say…
is there any utlity method in commons to turn a String of comma separated elements into a List? (handing of empty list, trimming of list elements of unnecessary whitespace, etc)
.trim() trims excess white space; .split() splits the string into a String[] (note it's an array) based on the delimiter passed.
above all, the javadocs are your friend
http://java.sun.com/javase/6/docs/api/java/lang/String.html
yeah I'm doing that currenty, I'm just curious if there is a utility method for that. (I wanna reduce code)
have to reboot, brb
Utility methods for everything? Like String.doMagicallyWhatIWant()..
hi
dpkg-buildpackage -b -rfakeroot -uc -us
that gives me an error saying:
You must specify a valid JAVA_HOME or JAVACMD!
*** [ant-sanity-check] Error 1
/usr/lib/jvm/java-1.5.0-sun/
so the java_home is set
is it valid?
needs to point to a jdk i guess
all the binaries
that's a jdk
sun-java5-jdk pkg
Hi. Is there a way I can reference the plugin.jar that lives in my JRE's lib directory from a jar manifest's Class-Path entry?
well, i'm not a debianuser, was just a guess
how to check whether a string contain html ?
String.contains("html")
ah thats easy thanx
etc?
~tell Dheeraj_k about javadoc String
Dheeraj_k, I don't know of any documentation for String
you got what you asked for
javabot's javadoc plugin is broken at the moment.
Okay, DRMacIver.
Argh
look at the javadoc for java.lang.String
yo
when i call repaint(), how can i make the calling thread wait for the repaint thread to finish drawing?
Exception in thread "main" java.lang.NoClassDefFoundError: hello/class
FarBeyondDriven, sounds like you're doing "java hello.class" when you should just be doing "java hello"
ohh
ty
np
been a while since i tried java
thanks heaps, it works now
time to learn some java
enjoy
yo fellows
hi
i have a remote application that is controlled via HTTP messages
but i guess creating a separate connection for each command is too costly
is there some standard http session class in the java world?
heh, HttpSession
but that doesn't apply to the context you're talking about
care to give any more hints?
you using serialisable objects over HTTP?
http 1.1 keep alive can extend your connection to more than one request
HttpSession is javaee / servlet context. i assume by "remote application" you mean desktop app with rmi or other
uttumuttu, what are you using right now for doing the http requests?
greek, yeah, desktop app with a HTTP based rmi
andresgr, at the moment i'm using nothing, just designing ^_~
measuring twice before cutting to the code
repaint() launches a new drawing thread, right?
is there no way to read voice from a mobile's mic?
in j2me..
is theer a way to rename folder in java [with out using exec]
there
uttumuttu, then use commons-httpclient and take wlfshmn advice
http://java.sun.com/docs/books/tutorial/jndi/ops/rename.html
http://www.devx.com/tips/Tip/32831
http://sourceforge.net/projects/jfrt
renameTo() is the method..
http being a stateless protocol and all, what are the drawbacks to keep alive technique?
g[r]eek: The protocoll is stateless, but the transport doesn't have to be. I wouldn't say there are any drawbacks, unless you use very long keep-alive values
thanks
no. the event dispatching thread invokes it
interesting question though
g[r]eek: any way i can get a handle on this drawing thread so i can join() to it?
i suppose. not an expert in this so am in no position to offer advice
i just know that swing components should be accessed by one thread at a time (ie: the event dispatching thread)
g[r]eek: fair enough, thanks
Hi all
there is an interesting page in the java api docs called "Threads and Swing"
I have some questions about pjirc
could someone tells me how to translate it in my country language ?
I wan to enable typing in cyrillic, because at the moment I can type only in latin
hello
heya
I remember back in the day . . .
there was this one website that offered little problems to solve but I can't really recall what the site was
Not sure if it was for a contest, or just for bettering ones programming or what not…
does anyone know of anything of the such?
is it just me or is that rjohnson podcast's volume really low
hmm nm
ShadeS, maybe http://www.topcoder.com/?
ShadeS, maybe a href="http://www.topcoder.com/"http://www.topcoder.com//a?
For a JME app. If I want to create a full screen menu system should I use a GameCanvas and draw it myself or is there a built in way to do it ?
cool, this topcoder guys developed their own UML tool! incredible
andresgr thank you for the sweetness
i remember a year ago they adviced to use Poseidon, but warning you about saving your project with different name each time
i remember a year ago they adviced to use Poseidon, but warning you about saving your project with different name each time
because some times Poseidon corrupted files…
so.. now they have their own UML tool. Incredible!
select column1 from table (myfunction(?))
is it possible to access pipelined result in jdbc without the wrapper in plsql at all?
i'm sensing an undercurrent in your last point
maybe my question is too specific but i couldn't find better place to ask
g[r]eek, ?
oh i dunno. just you repeating yourself. i'd bet you had something to do with that cool uml tool
it would be nice to see some screenshots of that uml tool
haha, yes i have to do a lot with that tool
:P
every time someone downloads it i guet 100 $
*get
last time i used some green uml tool and in school i used argouml
grhttp://green.sourceforge.net/news.html
it's integrated with eclipse
but does not work very well from generating class diagrams from large projects
yeah that's why you need a good UML tool that works. there's one on topcoder.com taht you can download.
actually i don't have to use any uml tool
but it is imperative to synergistacally implement scalable infrastructures!
largest project i have been working at had more than 5000 classes
hi… can you recommend an embedded database other than HSQLDB, for hibernate?
no way one would draw them on single diagram
mojojojo_, sqlite?
stab g[r]eek
Derby?
top of the morning to ya
for a second there i thought my humourous undercurrent would go unnoticed
g[r]eek: Don't mind me. I'm just proactively streamlining in order to minimise conflict potentialisation.
how do i import a java plugin project in eclipse?
potentialisation. i like that one
i get .classpath .project build.properties files
though no .metadata
g[r]eek: It's a perfectly cromulent word.
so eclipse doesn't recognize it as a project , how do i import it ?
DavidLeon, eclipse plugin project?
I'm rather reluctant to use it… I believe it's very simple, a this simplicity might be the cause of some strange unknown errors…
that makes sense for the fact that cromulent doesn't exist in my dictionary
mojojojo_, about what?
yah
hmm… do I have to init it before using it with Hibernate?
seriously though, UML is paramount in optimising project coordination configurability
from what I remember this database stores everything as strings…
project
no idea
Don't think so. Derby is supposed to Just Work.
g[r]eek: I think it's a simpsons reference
what is "project coordination configurability"?
ah. that makes it cool then. right up there with "spider-pig"
it's an adaptive approach to dynamic logistical modelling
oh, all right… I'll go and try it…
and i would still won't get anything of it
pulling your leg mate
not*
yeah
read between the lines
hi. is there any usefl library for accessing/retrieving info from a NFS server?
hm? usually you just mount the drive…
Duesentrieb, not so easy in windows
never tried, but i'm sure it's possible
I mean the NFS server could be running on any OS.. and I need to monitor the date of one file sitting there.
you could still just mount it, the os shouldn't matter,
anyway, google turns up some java nfs client libs
what do you mean by mount it? I need the program to do it..
google points me to yanfs
hi
is there NFSURLConnection?
that would be nice
yup well seems not.
hi
i have a question
is it possible to draw on a jpanel in another class from a different class ?
if the jpanel is declared public in that class ?
i have some old classes which accesses an ejb server. the classes where running within the ejb container before and now i want to run them outside. i have the following problems:
the classes uses initialContext.lookup("java:comp/env/User"). that worked fine within the container. outside it fails
just looking up "User" works but then i have to change a lot of code have 2 code branches
yup yanfs
namespace is only accesible within the same jvm
ah, so i need to remove the namespace?
will this work also for in-process access?
for remote access you have to use the global space
using no namespace seems also to work
what happens then?
can anyone help me ?
no prefix
ok
do i need the prefix for local access?
or can i use the global namespace also for the old app (which runs within the container)?
~tell sguk425 about tias
sguk425, Try it and see. You learn much more by experimentation than by asking without having even tried.
MicW, i think it would work, but maybe not so efficiently as using the local space…
ok
not sure… do your research and tell us what you find
what is that "PortableRemoteObject.narrow(…)" for?
MicW, time to stop asking and start reading i think
ok
need to get yanfs.jar
try cvs checkout
don't want the source code, want the jar
and it's not available
then get the source and make a jar
is it somehow possible to force the ejb client that it ignores the java:comp/env/ prefix?
yes, not using it
what ejb container are you using?
if i have a parent class that needs to access a child variable (which all children implement an interface), how do i go about getting the parent the child object other then something like a parent function that sends a 'this'. Also, how come 'this' cannot be used in super, i could have sworn
i've seen super(this); before.
jboss
Hello. What is the difference between the DOM api of JAXP and jDOM?
What do I need for embedded Derby to work?
Hello, What does "named pipe" file meas?
i guess because this isn't ready at that time
that's a pipe in a file
semantics are slightly different
but essentially a pipe in a file
what does pipe mean?
read about it on wikipedia
wikipedia is most of the time useless in these things
good idea
~google named pipe
http://www.google.com/q=named pipe
http://en.wikipedia.org/wiki/Named_pipe
MicW, you can use 'enterprise application client'
a pipe is a kind of redirection
hrmm, need to fix that…
the usual symbol is "|"
thats a bit of a wild generalisation
that way you can use standard JNDI lookup mechanisms…
I've not used it myself, but the manual should say. As I understand it you should be able to set a couple system parameters, include the jar in your classpath and then just connect to some specified JDBC URL.
isnt that the irc clients being lame ? Or do you mean fix by encoding space ?
The documentaiton is pretty good. Take a look at the "getting started" section.
pipes exist beyond bash
"There is a pipe beyond bash"?
encoding non-alphanumerics, yeah
where do i get this? all i found has to do with netbeans or swing
netbeans will allow you create app clients for jboss easily. Go for it
a pipe is a kind of redirection"
a pipe is a hollow cylinder
nerds
no, those are tubes!
i thought that was a truck
I today realized that for moving a file from a folder to another we can use renameTo method. is it the only way?
No, I'm just making a pun.
so it's a part of netbeans?
ah woops
MicW, no
you could Runtime.exec(…), but i can't think of any other way
is it an ejb client (like jbosss-ejb) which i can simply use as replacement?
MicW, if you are messing with all this stuff you need to learn better java ee man
read about app clients
(in the context of java ee)
seems that i have to (but i have only to use some of that ejb-using classes to my app, not to deal with ejb itself)
is IRC for people agreeing with OpenSource?
IRC is for people agreeing with IRC I'd say
I mean should I be agree with OpenSource to use this channel?
i dont agree with IRC
what does aggreeing with IRC mean?
Strange question..
indeed
Straaaaaaaaange daaaaaaaaaays are cooooming…
hi
the flows of ##java are whymsical today
can somebody help by changing the UserAgent of Opera Mini? decompiling, changing string, recompiling?
i'm so tempted.
it starts with ~ and ends in anybody. oh where's r0bby when you need him.
Ar-ras: and how does that relate to java?
J2ME = Java
or is this the Java Island Chat
i think decompiling would do it
i decompiled already
but the problem is the User Agent
but i have no idea if the phone will accept only signed archive
hm
its for the Samsung SGH-U700
the Vodafone guys branded it with special firmware
so that the Useragent of the NetFront Browser is changed
and they make UserAgent Check on their Vodafone Live portal
so if you debrand your phone
you cant see the pictures and other media files
Ar-ras: Still - what is your problem now?
Changing the User Agent of Opera to the U700 Vodafone User Agent to gain access to all media files
hm… this might be a long shot, but il ask anyway: does anyone know of a good resource online that might help me with steering/seperation/avoidance in a particle system?
(its a flocking simulation based on particle systems)
Blafasel do you got the point?
Ar-ras: No, because that's what you want. Not a java related _specific_ problem.
lol
what is java related for you?
chaning Java Framework?
changing
just look into any graphics sites
iv been googling like a noob all morning
no matter, il keep searching, just wanted to check and see if ye knew off top of your head something that might help me
http://www.red3d.com/cwr/boids/
i think i know that off by heart hehe
craig reynold is the man
reynolds*
Ar-ras: No. But unless you ask a specific question like "I want to do X (check. You did that). I tried Y (Missing) and got error Z (Missing)" you'll be lost
im stuck on actual implementation
in theory i know exactly what i want
missboo, does your particle system based on position-velocity-acceleration?
always the way
yes, x and y positions and x and y velocities
lol
i can easily find the distance between particles, its how to use that to steer them away from each other is where im stuck
I just want to change the UserAgent
I think I found the routine
but now, how can i change it?
so that it dont gets an error
No code. No describtion of things you tried. No error message that you're stuck with.
Blafasel
check this out http://pastebin.com/dfe2afa3
how do you explicitely call a method of the embedding class from an inner class ? can't remember the keyword.
fellows… the basic "sequence" for HttpURLConnections is: 1) create URL, 2) create HttpURLConnection from the URL, 3) call connect() on the connection, 4) open InputStream from the connection, 5) read the inputstream for response, 6) disconnect the connection
now, the question is, how is this sequence modified for persistent connections (which are the default in http1.1)?
does anyone know of a good resource for learning javabeans, and how to leverage them ?
EmbeddingClass.this.callthemethod
read the sun tutorials?
i think i need a bit of background information before i actually make sense out of them
Hi, is it possible to set the volume of an audiostream variabel?
Ar-ras: I see no reference to a user-agent (and you obviously see that the code is obfuscated, right?)
Blafasel nope, not obfuscated
Ar-ras: So you really think that this is the original source of the browser? Are you kidding?
squiddle ty
no, string literals should be not obfuscated
I didn't state that.
there is a model check
So?
it checks the size of display etc.