<< 26-August-2008 : bevinbot on ##java at freenode [download] [back] >>
 
 
time nick message

00:01

<litb>

you mean don't mention J++ ?

00:01

<tactics>

Microsoft trying to implement java..

00:02

<Fanook>

twice

00:02

<tactics>

That went *real* well

00:02

<donpeyote>

im not very used to jave, i need some obj to put inside my JPanel that reads html and has some sort of link and navigation functions..is there any? simplest to use would be nice..im using JEditorPane but i needed atleast some sort of navigation

00:02

<tactics>

Yeah ><

00:02

<Sou|cutter>

~~litb bomb

00:02

<javabot>

litb, javabot drops a humongous exploding turd on bomb

00:02

<Sou|cutter>

lol I was close

00:02

<tactics>

lol

00:02

<litb>

haha

00:02

<litb>

thanks javabot, noted

00:03

<Fanook>

donpeyote: java's built-in HTML components are very limited right now. They're adding a component specifically for rendering HTML in the next patch or 2, but right now you'll have to make do with a third-party component or (i think) a JEditorPane

00:04

<donpeyote>

i just dragged JEditorPane right form the toolbox and setPage(..) and it works fine all i need now is the links working...its just some local html

00:05

<Sou|cutter>

donpeyote: it would be better just to launch an external browser

00:05

<tactics>

dragged from a toolbox?

00:05

<Fanook>

matisse, I expect

00:06

<tactics>

ohh in an IDE

00:06

<donpeyote>

yeah im using netbeans....i really dont like it but...im not a java coder

00:06

<tactics>

donpeyote, you're writing a webbrowser and you're not a java coder?

00:07

<donpeyote>

no no i just need to display some html inside the app

00:07

<litb>

writing a webbrowser must be painful

00:07

<Fanook>

donpeyote: if you're dead set on embedding your html in your app, take a look at http://lobobrowser.org/index.jsp or http://mindprod.com/jgloss/htmlrendering.html

00:07

<tactics>

donpeyote, as Sou|cutter has said a few times, just launching an external browser would be better

00:08

<Sou|cutter>

I wrote a WYSIWYG html editor in java back in the 1.3 days.. it was hell

00:08

<tactics>

ouch

00:08

<donpeyote>

all i need is display wich i got already ...now i see the html page and underlike blue links and when i click them setPage no another..i dont know if its easy

00:08

<svm_invictvs>

Sou|cutter: you poor thing

00:09

<donpeyote>

*underline

00:09

<Sou|cutter>

svm_invictvs: I want a cookie!

00:09

<svm_invictvs>

~boost

00:09

<javabot>

svm_invictvs, I have no idea what boost is.

00:09

<svm_invictvs>

lol

00:09

<tactics>

tactics gives Sou|cutter a "chocolate chip" cookie

00:09

<Fanook>

donpeyote: again, take a look at the links I gave you

00:09

<Sou|cutter>

:D

00:09

<tactics>

the chocolate chips are DEFINETLY chocolate, and not rat turds.

00:09

<svm_invictvs>

~boost4java

00:09

<javabot>

svm_invictvs, I have no idea what boost4java is.

00:10

<tactics>

There's boost for java?

00:10

<svm_invictvs>

no

00:10

<svm_invictvs>

lol

00:10

<tactics>

xP

00:10

<svm_invictvs>

But there needs to be, god damnit!

00:10

<svm_invictvs>

lol

00:10

<tactics>

Dont see how it would help anything

00:10

<svm_invictvs>

svm_invictvs is a huge fan of boost

00:10

<tactics>

;D

00:10

<tactics>

Doesnt java's std lib have like 80% of what boost has?

00:10

<Fanook>

and more

00:10

<tactics>

well yeah

00:10

<tactics>

but i mean

00:10

<svm_invictvs>

tactics: It also cuts Julian Fries!

00:10

<tactics>

out of boost features

00:11

<tactics>

svm_invictvs: :p

00:11

<svm_invictvs>

oh man

00:11

<Fanook>

Boost exists because C++ never had a decent stdlib

00:11

<svm_invictvs>

It's my b'day coming up.

00:11

<tactics>

tactics gets svm another "chocolate chip" cookie

00:11

<tactics>

Fanook, uhuh

00:12

<svm_invictvs>

so a friend of mine bought me a "gag birthday gift"

00:12

<tactics>

oh noes

00:12

<Fanook>

russian bride?

00:13

<svm_invictvs>

I'm really hoping it's not an effigy of me on fire.

00:13

<tactics>

lol

00:18

<svm_invictvs>

*shrug*

00:18

<svm_invictvs>

'cause I kinda thought she was mad at me last time I talked to her.

00:18

<tactics>

:(

00:19

<trend>

hey guys

00:19

<svm_invictvs>

hey

00:19

<tactics>

my friend thinks im always mad at him.. whenever i point out a flaw in C# he takes it personally as if i'm insulting him

00:19

<tactics>

hey trend

00:19

<trend>

tactics, heh

00:19

<trend>

you prefer java over c#?

00:19

<trend>

i'm learning c# now.. i really like it

00:20

<svm_invictvs>

Both languages have their merits.

00:20

<tactics>

uhu

00:20

<trend>

:/ I just wish I could program in one.. but seems like I have legacy code that requires one language..or an API that requires that.. or webcode that requires php

00:21

<svm_invictvs>

~point

00:21

<javabot>

I guess the factoid 'references are pointers' might be appropriate:

00:21

<javabot>

svm_invictvs, references are pointers is http://java.sun.com/docs/books/jls/third_edition/html/typesValues.html#106237

00:21

<svm_invictvs>

~point is <reply>Get to the bloody point already.

00:21

<javabot>

Okay, svm_invictvs.

00:21

<svm_invictvs>

~point

00:21

<javabot>

Get to the bloody point already.

00:21

<svm_invictvs>

lol

00:22

<trend>

heh, urgent to answer some questions, no?

00:23

<cheeser>

we have a pretty low nattering threshold here

00:23

<trend>

ok.. really stupid one.. I have always make objects out of classes. .but can you make an object out of just a function? example.. when I create a new project, It creates code like this:

00:23

<svm_invictvs>

nattering?

00:23

<svm_invictvs>

~dict nattering

00:23

<javabot>

svm_invictvs, dict nattering is http://dictionary.reference.com/browse/nattering

00:23

<trend>

heh, actually that conv was interesting to me.. was talking w/ someone earlier about it

00:23

<trend>

http://pastebin.com/d6c44a47f

00:24

<cheeser>

i'm sure it was interesting.

00:24

<svm_invictvs>

here it comes

00:24

<svm_invictvs>

~turd

00:24

<javabot>

I guess the factoid 'turdbreath special' might be appropriate:

00:24

<javabot>

svm_invictvs, turdbreath special is when I fail to to run `yum update` to patch a vulnerability that's been known about for months

00:24

<svm_invictvs>

Where's the exploding turd?

00:25

<trend>

so in public static void main... I have: main myMain= new main(); which creates a new object of main()

00:25

<trend>

is that the correct terms?

00:25

<cheeser>

yes

00:25

<trend>

so you can create an object of a class or a function :/

00:25

<cheeser>

you can create an *instance* of a class.

00:27

<trend>

ok

00:27

<trend>

why would you want to be able to create an object of a function?

00:27

<cheeser>

i wouldn't.

00:28

<trend>

yeah, I cannot see any upside

00:28

<trend>

ok, cool. back to nattering

00:28

<trend>

:)

00:28

<trend>

thanks for your input

00:28

<cheeser>

well, one upside would be passing a method (or a list of them) to an event handler

00:29

<josefig>

someone of here could explain me the term, programming an interface?

00:29

<Myoma>

hi java

00:29

<r0bby>

on an off note Jetbrains seems to have removed "Rename to Groovy" from the dropdown menu in Diana :<

00:29

<cheeser>

that's, in part, what closures would bring

00:29

<cheeser>

~tell josefig about interface

00:29

<javabot>

josefig, interfaces is http://java.sun.com/docs/books/tutorial/java/concepts/interface.html

00:29

<svm_invictvs>

like passing around a function pointer?

00:30

<Myoma>

still talking about closures

00:30

<svm_invictvs>

passing around a method?

00:30

<trend>

cheeser, ah ok

00:31

<r0bby>

Myoma: mmm yeh

00:31

<Myoma>

java doesn't have closures

00:31

<r0bby>

not officially

00:31

<r0bby>

but it does have a prototype which can be used :)

00:31

<Myoma>

is it any good

00:31

<r0bby>

decent.

00:31

<r0bby>

I wrote a simple swing app using it

00:31

<josefig>

cheeser, yes i know what it is, but i don't know the term, the concept "programming an interface", i'm looking for an answer in google, but i have not found it yet.

00:31

<cheeser>

if you know what it is, that phrase would make sense to you

00:31

<r0bby>

josefig: where you basically program based on a contract ie all methods defined in concrete classes match your interfaces

00:31

<cheeser>

you're probably thinking "programming *to* an interface"

00:31

<r0bby>

so you can pass in say a List vs an ArrayList (prime example)

00:32

<r0bby>

you're not bound to one impl.

00:32

<r0bby>

josefig: do you understand?

00:35

<josefig>

r0bby, actually no.

00:37

<wyvern`>

Interesting threading issue for y'all. I need thread A to wait for B and C to finish, but if either B or C errors, A should know immediately so that it can also die a quiet death. Any ideas how to do that?

00:37

<cheeser>

B/C tell A about the failure

00:37

<cheeser>

or A checks the final state of B/C before doing it's thing.

00:38

<cheeser>

really, it's not that hard. just think the problem through.

00:38

<svm_invictvs>

ja, pretty straightforward.

00:38

<Fanook>

josefig: the idea is that you should write your methods to take the least specific class you need to have the functionality you desire. For example, if you need a list, write your method to use a List instead of any specific implementation. That way if you need to change the implementation later, you don't have to change nearly as much code

00:39

<wyvern`>

well, this actually operates on a more complicated dependency graph

00:39

<josefig>

this is what i mean: http://pastebin.com/dce022be

00:39

<wyvern`>

A depends on B which depends on C and D, and D depends on ...

00:39

<cheeser>

which is why paraphrased questions suck

00:39

<wyvern`>

fair enough.

00:39

<Fanook>

josefig: okay, so what's your question?

00:39

<wyvern`>

let me see if one of the specialized synchronizers will do this efficiently

00:40

<josefig>

i don't understand the concept "programming an interface"

00:40

<cheeser>

then you don't understand interfaces despite your claims otherwise

00:40

<Fanook>

have you read the Sun tutorial on interfaces?

00:40

<josefig>

yes

00:40

<Fanook>

then tell us which part you didn't understand

00:40

<r0bby>

read it again.

00:41

<Fanook>

~interfaces

00:41

<javabot>

Fanook, interfaces is http://java.sun.com/docs/books/tutorial/java/concepts/interface.html

00:41

<r0bby>

i suggest you pick up head first java

00:41

<josefig>

ok

00:42

<svm_invictvs>

in thread A, while (status != RUNNING ) { wait(); } ?

00:42

<svm_invictvs>

*shrug*

00:42

<svm_invictvs>

Doesnt' seem that hard.

00:42

<svm_invictvs>

cooperative multithreading!

00:43

<wyvern`>

hm. looks like a Latch is what I need

00:53

<svm_invictvs>

Latch?

00:53

<svm_invictvs>

~javadoc Latch

00:53

<javabot>

I don't know of any documentation for Latch

00:54

<gambler>

anyone used any of the java workflow engines?

00:54

<Myoma>

hi gambler

00:54

<gambler>

hi Myoma

00:54

<cheeser>

~tell gambler about anyone

00:54

<javabot>

gambler, Instead of asking whether anyone works with something you need help with, please save time by asking your actual question. If someone knows and wants/has time to help, perhaps he/she will.

00:54

<gambler>

what is the best java workflow engine

00:55

<gambler>

why is it the best

00:55

<cheeser>

drools

00:55

<cheeser>

~next

00:55

<javabot>

Another satisfied customer. Next!

00:56

<gambler>

cheeser, how much time do I have to invest to get started

00:56

<cheeser>

no idea

00:56

<cheeser>

more than I have i'd bet

00:56

<cheeser>

8^)=

00:57

<r0bby>

25 years to life :>?

00:57

<gambler>

ok np

00:57

<gambler>

can you guys tell me your top 5 java development tools?

00:57

<Fanook>

svm_invictvs: a Latch is a concurrency construct.

00:57

<cheeser>

gambler: google?

00:57

<Fanook>

~javadoc CountDownLatch

00:57

<javabot>

Fanook, please see java.util.concurrent.CountDownLatch: http://java.sun.com/javase/6/docs/api/java/util/concurrent/CountDownLatch.html

00:58

<svm_invictvs>

Fanook: Yeah, I know what a latch *is*

00:58

<svm_invictvs>

based on a condition variable.

00:58

<gambler>

im talking about things like ides, debuggers, log viewers, etc. excluding eclipse, eclim, chainsaw and lumbermill all of which Ive evaluated

00:58

<josefig>

Fanook, omg i found the answer, damn it, next time i'll read carefully thx.

00:58

<svm_invictvs>

~thx

00:58

<javabot>

http://www.thx.com/

00:58

<svm_invictvs>

lol

00:58

<cheeser>

~reading++

00:58

<javabot>

reading has a karma level of 6, cheeser

00:59

<svm_invictvs>

Doctor Robert!

01:00

<r0bby>

present

01:00

<svm_invictvs>

lol

01:00

<svm_invictvs>

r0bby: are you a beatles fan?

01:03

<r0bby>

no

01:03

<waddo>

can some one help me setup envirmental variables

01:03

<jownez>

by convetion, only final static varibles are named in uppercase, right ?

01:04

<Myoma>

:(

01:04

<cheeser>

~tell waddo about getstarted

01:04

<javabot>

waddo, getstarted is http://java.sun.com/tutorial/getStarted

01:04

<tty1>

well seems like im paying someone 600$ to fix my java bug, someone should of stepped forward, id much rather have given it to someone from this room :(

01:04

<Myoma>

jowvez: What about enums

01:04

<Myoma>

tty1: Why don't you fix it yourself?

01:04

<tty1>

Myoma: been working on it for days, and im behind schedule, dont have the time...

01:05

<tty1>

Myoma: besides, might just need a fresh new pair of eyes

01:05

<Fanook>

jownez: by conventions, constants are in UPPER_CASE

01:05

<Myoma>

tty1: What is the bug?

01:05

<jownez>

yeah and what qulifies a var as a constant ? only final ?

01:05

<Fanook>

final, immutable, generally static

01:05

<cheeser>

final != constant

01:05

<jownez>

so final static

01:05

<tty1>

Myoma: its not a bug, but unexpected behavior (it isnt producing the output image it should, and is runnign 100x sloer than the C# working version)

01:06

<Myoma>

tty1: If I fix it will you give me £300?

01:06

<Fanook>

jownez: no, constant requires immutability. final and static are java-isms that make it more efficient

01:07

<jownez>

Fanook: ok thanks for the explanation

01:07

<tty1>

Myoma: too late now, i announced it to the room several time sbut no takers, but if he doesnt get it your welcome to try next (or you can try too and if you get it and he doesnt youll get the cash if you want but thats a risk on your part)

01:07

<waddo>

why dont you see hu gets first

01:07

<waddo>

=]

01:07

<waddo>

ok

01:08

<waddo>

my javac.exe is saved to

01:08

<waddo>

D:\Program Files\Java\jdk1.6.0_07\bin

01:08

<waddo>

so what do i cchange path to

01:08

<Fanook>

tty1: you ran it through a profiler, right?

01:08

<tty1>

waddo:cause i already gave the ok to the other guy to try and to give him 600$ if he fixes it.. i cant change the terms now

01:08

<tty1>

Fanook: yup

01:08

<cheeser>

~tell waddo about getstarted

01:08

<javabot>

waddo, getstarted is http://java.sun.com/tutorial/getStarted

01:08

<jownez>

waddo: win or unix

01:08

<jownez>

lol

01:08

<jownez>

nice question ;)

01:08

<waddo>

i already doe that

01:08

<jownez>

k, add ;d:\...

01:08

<Fanook>

then you should know what parts of your program to look at

01:09

<Fanook>

waddo: some free advice. Get rid of the spaces in your path. It will make things much easier

01:09

<cheeser>

cheeser nods.

01:09

<tty1>

Fanook: not exactly.. unless im reading the profiler wrong all the parts of the code that should be slow are, and the parts that arent, arent... its just that its slower than the c# version.. the only thing ic oudl guess at is that floating point math on java is 100x slower but that seems like too big of a difference to me

01:11

<waddo>

http://nathan.pastebin.com/d71c1b0b6

01:11

<waddo>

i get that error

01:11

<waddo>

when i try and run something

01:12

<tty1>

Myoma: its opensource if thats any incentive to ya

01:13

<waddo>

?

01:13

<waddo>

http://nathan.pastebin.com/d71c1b0b6

01:13

<Myoma>

tty1: I am curious why there is this much money flying about over an open source program

01:13

<waddo>

;D:\pascal\bin\i386-Win32;D:\Program Files\Java\jdk1.6.0_07\bin

01:13

<waddo>

that is my path

01:13

<waddo>

is that write?

01:14

<Fanook>

no

01:14

<waddo>

whats wrong wrh it

01:14

<tty1>

Myoma: because its going to change the world in a serious way, so its worth investing in :)

01:14

<Myoma>

tty1: Cool, what does it do?

01:14

<Fanook>

it has unquoted spaces in it

01:14

<tty1>

Myoma: and technically its my company thats paying, i jsut own the company :)

01:14

<tty1>

Myoma: Artificial Intelligence

01:14

<Myoma>

wow

01:14

<waddo>

so how do i fix tha

01:14

<waddo>

%20?

01:15

<joed>

" "

01:15

<tty1>

Myoma: this particular problem is lossy image comrpession using ARtificial Neural NEtowrks (jsut a demo app so very simple, later willb e adapted into a benchmark)

01:15

<Myoma>

tty1: Shouldn't that sort of thing be done in C or Lisp so it's really efficient?

01:16

<tty1>

Myoma: there are C/C++ and c# and java, and java via JNI prots of it actually

01:16

<tty1>

Myoma: so C/C++ is certainly one side of it

01:16

<Myoma>

interesting

01:16

<tty1>

Myoma: but this particular bug is in java

01:16

<tty1>

the anti8ve java version that is

01:16

<tty1>

*native

01:18

<tty1>

Myoma: interested? or should i just hop in the shower and figure your not?

01:19

<Myoma>

tty1: I want to look at the code tommorow or something if you are on I will ping you

01:19

<tty1>

Myoma: ok, or jsut go to the site... http://www.syncleus.com/dannProject/index.jsp

01:20

<tty1>

the svn has the latest code

01:20

<tty1>

dont us ethe RC thats outdated

01:24

<waddo>

what does this thing actually do?

01:25

<Fanook>

that depends on what thing you're talking about

01:26

<waddo>

ok

01:26

<cheeser>

it cuts through aluminum cans and the slices tomatoes!

01:26

<waddo>

so how did ou lot learn java

01:27

<cheeser>

self-taught primarily

01:27

<waddo>

yes but what stuff did you use to learn the sytax and type declaration stuff

01:28

<cheeser>

the javadocs

01:28

<cheeser>

core java (1st ed)

01:28

<Fanook>

i learned C/C++ first

01:28

<rockyrock>

hi, can i use OpenGL with Java? or it's just for C/C++?

01:28

<Fanook>

~gl4java

01:28

<javabot>

Fanook, gl4java is OpenGL for Java at http://www.jausoft.com/gl4java.html

01:28

<cheeser>

~jogl

01:28

<javabot>

cheeser, jogl is a JNI binding of the OpenGL 3d Graphics library. Great for 3d games in Java. https://jogl.dev.java.net/

01:30

<tty1>

rockyrock: java3d is a higher leve scenegraph too which is pretty cool if you dont want the low level nature of opengl

01:30

<Fanook>

~java3d

01:30

<javabot>

Fanook, java3d is an API to add an extra dimension to your application, see https://java3d.dev.java.net Also see JOGL for hardcore openGL coders. For a nice alternative see JMonkeyEngine

01:30

<rockyrock>

I have a Computer Graphics course in my University, in the course my instructer use OpenGL with C

01:31

<tty1>

i currently use lots of java3d to do visualizations (3d graphs, ANN topology etc)

01:31

<rockyrock>

i don't know what's higer and lower leve scenegraph!

01:31

<tty1>

rockyrock: im jsut talkign about a higher level of abstraction

01:31

<tty1>

rockyrock: with opengl you draw triangles at a time and basically draw the scene from the basics

01:32

<Kalianyia>

~xml

01:32

<javabot>

Kalianyia, xml is http://www.w3.org/XML - XML stands for "eXtensible Markup Language". It looks a bit like HTML except that you can define whatever tag you want. Used to store hierarchical data of any kind into a standard format. See "xml parsing" for how to write or parse XML.

01:32

<tty1>

rockyrock: with a scenegraph the API handles taking care of some of the stuff like moving objects around or invoking animations, etc

01:32

<Kalianyia>

~xml parsing

01:32

<javabot>

Kalianyia, xml parsing is best accomplished 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 ). If you like pain, you may wish to check out SAX or DOM (http://java.sun.com/xml/tutorial_intro.html ).

01:33

<rockyrock>

can u plz explain for me what's really the OpenGL?

01:33

<cheeser>

~tell rockyrock about aolbonics

01:33

<javabot>

rockyrock, aolbonics is using unnecessary abbreviations such as 'u', 'r', 'ur', 'thx', etc. Using this language depicts you as an imbecile in the eyes of the helpful regulars in this channel, and is generally not tolerated to avoid the level of discourse devolving towards something like this: http://tinyurl.com/35nm3k . Additionally arguing about this rule will get you nowhere except banned. Have a nice day!

01:34

<rockyrock>

has anybody taken a Computer Graphics course?

01:34

<cheeser>

12 years ago

01:35

<Kalianyia>

Any particular XML parsers recommended over others as a commonly accepted standard? (XOM, JAB, or JDOM)?

01:35

<rockyrock>

so what;s about?

01:36

<Fanook>

~xml

01:36

<javabot>

Fanook, xml is http://www.w3.org/XML - XML stands for "eXtensible Markup Language". It looks a bit like HTML except that you can define whatever tag you want. Used to store hierarchical data of any kind into a standard format. See "xml parsing" for how to write or parse XML.

01:36

<Fanook>

meh

01:36

<Fanook>

~xml parsing

01:36

<javabot>

Fanook, xml parsing is best accomplished 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 ). If you like pain, you may wish to check out SAX or DOM (http://java.sun.com/xml/tutorial_intro.html ).

01:36

<Kalianyia>

yes i already did that about 1/2 a page up

01:37

<Kalianyia>

I just want to know what the pros in here recommend / use.

01:37

<rockyrock>

what Computer Graphics is all about?

01:37

<cheeser>

i use dom4j

01:37

<cheeser>

rockyrock: do you have a java question?

01:38

<tty1>

i personally prefer aolbponics and suggest you continue to use it (unless its a bannable offense) :)

01:38

<cybereal>

Kalianyia: sjsxp

01:39

<rockyrock>

i asked that question cuz my prof will use OpenGL with C, but I'm a Java programmer and i want something realtive

01:39

<cybereal>

Kalianyia: unless it can be very easily mapped to objects then xstream

01:39

<r0bby>

~tell rockyrock about aolbonics

01:39

<javabot>

rockyrock, aolbonics is using unnecessary abbreviations such as 'u', 'r', 'ur', 'thx', etc. Using this language depicts you as an imbecile in the eyes of the helpful regulars in this channel, and is generally not tolerated to avoid the level of discourse devolving towards something like this: http://tinyurl.com/35nm3k . Additionally arguing about this rule will get you nowhere except banned. Have a nice day!

01:39

<cheeser>

xstream++

01:39

<cybereal>

~~rockyrock jogl

01:39

<javabot>

rockyrock, jogl is a JNI binding of the OpenGL 3d Graphics library. Great for 3d games in Java. https://jogl.dev.java.net/

01:39

<rockyrock>

ok thnx

01:39

<r0bby>

xstream rocks.

01:39

<cheeser>

cybereal: i already shared that once.

01:39

<cheeser>

and the aolbonics link

01:39

<tty1>

i still say aolbonics is prefectly ok (again unless its bannable)

01:39

<cheeser>

it would seem the spaghetti is not quite done

01:40

<cybereal>

cheeser: not in my backlog *shrug*

01:40

<cheeser>

before you joined.

01:40

<cybereal>

cybereal n ods

01:40

<r0bby>

ah so you did :P

01:40

<cybereal>

tty1: it's a channel rule, good as anything bannable

01:40

<r0bby>

tty1: argue and well you know :P

01:41

<tty1>

if its a channel rule then id follow it for the sake of being a rule, but it doesnt mean i have to agree with it :)

01:41

<Kalianyia>

cheeser and cybereal: thanks for the feedback

01:41

<cybereal>

that's right you don't

01:41

<cheeser>

and you think aolbonics are ok because you're an idiot.

01:42

<cybereal>

But repeatedly notifying us about the disagreement isn't going to win any friends either

01:42

<tty1>

cheeser: hey, thats as good a defense as any :)

01:42

<cheeser>

8^)=

01:42

<cheeser>

the wookie defense++

01:42

<tty1>

lol

01:42

<cybereal>

kinda like... repeatedly telling a jewish person that you think eating pork's just fine

01:42

<tty1>

cybereal: friends are overrated :)

01:42

<cheeser>

cybereal: that's bad?

01:42

<cheeser>

8^)=

01:42

<tactics>

Yep :p

01:43

<Myoma>

aolbonics are highly annoying and distracting

01:43

<Myoma>

(to me)

01:43

<cheeser>

javabot: Myoma++

01:43

<javabot>

myoma has a karma level of 1, cheeser

01:43

<tactics>

~Myoma++

01:43

<javabot>

myoma has a karma level of 2, tactics

01:43

<Myoma>

oh my ..

01:43

<cybereal>

this is fun let's all join in

01:43

<cybereal>

~~tty1 lol

01:43

<javabot>

tty1, OMGWTF!!!BBQ!!!1111!! - Yeah, you sound like a retard.

01:43

<tactics>

XD

01:43

<r0bby>

javabot: Myoma++

01:43

<javabot>

myoma has a karma level of 3, r0bby

01:43

<r0bby>

I felt left out

01:43

<cybereal>

tty1: do you feel picked on yet?

01:43

<Fanook>

~r0bby--

01:43

<javabot>

r0bby has a karma level of 18, Fanook

01:43

<tactics>

Lol

01:43

<r0bby>

?!

01:43

<tty1>

Myoma: i find so many things annoying and distracting if i were channel op there wouldnt be people caus ethey would all be banned :)

01:44

<cybereal>

~~tactics lol

01:44

<javabot>

tactics, OMGWTF!!!BBQ!!!1111!! - Yeah, you sound like a retard.

01:44

<r0bby>

f u Fanook

01:44

<Fanook>

~r0bby++

01:44

<javabot>

r0bby has a karma level of 19, Fanook

01:44

<r0bby>

oh shit

01:44

<cheeser>

now you feel like an ass, don't you?

01:44

<r0bby>

I just saw the irony.

01:44

<gambler>

I hope you dont use any abbreviations then. Abbreviatons=aolbonics

01:44

<cybereal>

~r0bby aolbonics

01:44

<javabot>

I guess the factoid 'r0bby wisdom' might be appropriate:

01:44

<javabot>

cybereal, r0bby wisdom is captured by: http://eugeneciurana.com/.../view_photo.php?set_albumName=Humor&id=20030723this

01:44

<r0bby>

fail!

01:44

<cybereal>

missed a ~ but it's ok

01:44

<tty1>

cybereal: i dont mind beign picked on, it usually means i said something that made sense :)

01:44

<r0bby>

tty1: you smell like ass

01:44

<tactics>

Yes, all abbreviations are aolbonics. Remember to spell Java Virtual Machine out each time.

01:45

<Myoma>

hehe

01:45

<cheeser>

tactics: wrong

01:45

<Myoma>

yeah when I say something that makes sense usually people attack me

01:45

<r0bby>

I vote next person to even remotely argue the aolbonics rule be banned (or at least kicked)

01:45

<r0bby>

of course my vote has ZERO merit but eh it works

01:45

<gambler>

cheeser: tactics: 'You are wrong'.

01:45

<cybereal>

r0bby: I think you remotely argued it just then

01:46

<cheeser>

anyway...

01:46

<r0bby>

So, how about some java

01:46

<cheeser>

or another 'rita...

01:46

<tactics>

Howsabout another flame war?

01:46

<r0bby>

YES...give r0bby alcohol

01:47

<cybereal>

I could use a whiskey sour for this headcold

01:47

<tty1>

i was wondering when the topic nazis were comming ::salutes the java flag::

01:47

<wyvern>

cybereal: or just whiskey

01:47

<tactics>

A 'rita? How dare you sit in ##java and not have a nice cup of hot coffee!

01:47

<Myoma>

I would love some coffee

01:47

<cheeser>

not at 10pm ...

01:47

<cybereal>

wyvern: I don't enjoy whiskey neat

01:47

<Myoma>

I wish I also finished writing this method .....

01:47

<tactics>

tactics hopes noone notices that his "coffee" is infact hot chocolate...

01:48

<cybereal>

wyvern: maybe single malt warmed

01:48

<cybereal>

but then I may as well just have some proper sake

01:48

<tty1>

what int he world was that for?

01:48

<wyvern>

cybereal: what about rum?

01:48

<cybereal>

pass

01:48

<wyvern>

Have you had *good* rum?

01:48

<wyvern>

Bad rum tastes like poison

01:48

<wyvern>

good rum tastes like port

01:49

<cybereal>

that's a good question, I wouldn't know

01:49

<cybereal>

nobody I know is a real rum drinker

01:49

<wyvern>

I have 6 good rums

01:49

<cybereal>

I'm a vodka drinker, my pop-in-law is a whiskey drinker

01:49

<tactics>

I Drink soda.

01:49

<cybereal>

yo ho ho?

01:49

<wyvern>

Rums aren't popular, so they're really cheap

01:49

<wyvern>

A very good rum can be had for $30-40.

01:49

<tty1>

tty1 wanders off wondering why he was kicked

01:49

<cybereal>

tty1: I think it obvious

01:50

<wyvern>

Scotch is prestigious so its price is jacked way up

01:50

<tty1>

cybereal: i have no idea, im not talking aolbonics, or even offtopic (unliek the rum and scotch convo going on)

01:50

<wyvern>

Tequila also has that happening over the last several years as distillers have started making quite excellent tequilas

01:50

<cheeser>

~interesting

01:50

<javabot>

this is all very interesting (not really) but please take it somewhere else.

01:50

<tty1>

cybereal: hell otu of everyone im the best behaved

01:50

<wyvern>

cheeser: okay, okay :)

01:51

<cybereal>

tty1: did you read the kick message?

01:51

<tty1>

cybereal: yea but didnt make any sense.

01:51

<cybereal>

cat /dev/urandom >> /dev/tty1

01:51

<cybereal>

tty1: you must be joking

01:51

<cheeser>

cheeser acquits tty1 ?

01:51

<trend>

can I use a ResultSet even after I close() the db connection?

01:51

<cybereal>

tty1: *you* made the comment about saluting first

01:51

<cheeser>

~tell trend about tias

01:51

<javabot>

trend, Try it and see. You learn much more by experimentation than by asking without having even tried.

01:52

<trend>

or should I move the RS to somethign else

01:52

<tty1>

no im seriously confused.. cause i said they wanted us to stop being off topic?

01:52

<tty1>

cybereal: yea but whats that have to do with anything?

01:52

<cybereal>

yes and you said it in a sarcastic way

01:52

<cybereal>

tty1: the quit message was salute

01:52

<rullie>

how do you tell a Runnable to yield some cpu?

01:52

<wyvern>

rullie: you don't

01:52

<trend>

didn't want to, because I will have to rewrite some code

01:52

<cybereal>

rullie: Runnable is just an interface

01:52

<wyvern>

write better algorithms

01:52

<tactics>

trend, just make a testcase

01:52

<Fanook>

rullie: you ask it to wait, assuming it lets you

01:52

<tty1>

cybereal: yea but what i said witht he salute in it wasnt anything bannable, thus the confusion

01:53

<cybereal>

tty1: you didn't get banned did you?

01:53

<rullie>

Fanook: i tried, gave me illegalmonitor something something

01:53

<cybereal>

psst the answer is no

01:53

<tty1>

cybereal: no but a kick is a warning, meaning i should understand why i got kicked shouldnt i?

01:53

<Myoma>

no

01:53

<cybereal>

tty1: a kick is just a kick

01:53

<Myoma>

you shoudl just forget it happened

01:53

<Fanook>

rullie: the thread you want to pause has to call .wait(), and it can only do that in a synchronized block/method

01:54

<tty1>

thats fine by me, im not upset or anything, just wanted to know what i did wrong so i dont do it again..

01:54

<cybereal>

~javadoc Thread.yield()

01:54

<javabot>

cybereal, please see http://java.sun.com/javase/6/docs/api/java/lang/Thread.html#yield()

01:54

<cybereal>

cybereal points up

01:54

<rullie>

Fanook: is there some better way to do this? I'm using ExecutorService

01:54

<wyvern>

thread.yield has no guarantee of actually doing anything

01:54

<trend>

what should I moe the ResultSet to so I can conn.close (); ?

01:54

<wyvern>

it's up to the implementing jvm

01:54

<tty1>

well whatever ill jsut ignore it, i suppose if cheeser thought it was important for me to know he would have said so..

01:54

<trend>

just a List is the norm?

01:54

<wyvern>

it might, for instance, totally ignore yield()

01:54

<cybereal>

wyvern: the same terms for every other threading command

01:55

<tty1>

ill see you guys around headed out for a bit enjoy the java

01:55

<Fanook>

trend: some collection that makes sense

01:55

<wyvern>

cybereal: yeah, but Thread.yield() got special treatment in JCIP to say it's not to be trusted, so I thought it was worth a mention

01:55

<rullie>

cybereal: it's not a thread though, it's a Runnable

01:55

<cybereal>

rullie: everything executes in a thread, Runnable is just an interface

01:55

<trend>

oh, ok.. so just depends. thanks for your input

01:55

<cybereal>

rullie: I see it's clear you have no understanding of threading and you ought to read JCIP

01:55

<rullie>

cybereal: i'm giving the runnable to a executorservice

01:56

<cybereal>

rullie: yes, even better to question why you'd want to yield time then, as that's the job of the executor service

01:56

<rullie>

cybereal: right, so i'm asking if there's a better way to do this

01:56

<wyvern>

rullie: well, you haven't said what you're trying to do at a high level

01:57

<cybereal>

rullie: well in my case instead of waiting, I split up my task into multiple steps and each step schedules the next step in the service when it's done to keep tasks processing flowing fairly

01:57

<rullie>

run a bunch of runnable with a execturoservice without sucking up 100% cpu

01:57

<cybereal>

rullie: for example, one common task I do in an ES is sending messages to clients, which means looping, which means it could take up the thread in that pool for forever potentially

01:57

<rullie>

no, i don't need synchronization between the runnables, i just want them to run

01:57

<cybereal>

rullie: so to maintain fairness each loop is a single task and at the end, it's rescheduled, the next execution checks to see if it needs to run again and exits if not without rescheduling

01:58

<cybereal>

rullie: what task are you trying to perform that is benefited by not using up CPU?

01:58

<cybereal>

rullie: you could write your own executor that delayed between tasks or something

01:58

<rullie>

eh

01:58

<cybereal>

provide a thread factory that made low priority threads perhaps

01:58

<wyvern>

generally if you have a job to do you should do it as fast as possible...

01:59

<rullie>

there's no way to tell executorservice to be easy on the clocks and yield some for its friends?

01:59

<wyvern>

write your own

01:59

<wyvern>

they made AbstractExecutorService for that reason

01:59

<cybereal>

heh yes could do that

01:59

<rullie>

wyvern: yes, that would be nice except i have other jobs along with it

01:59

<rullie>

so i gotta roll my own?

01:59

<cybereal>

I have a task queue that allows me to schedule the task in the future, so the executor service won't get the task til it's supposed to be run

02:00

<cybereal>

could work for you to do it that way

02:00

<wyvern>

yeah, a custom queue might be enough

02:00

<rullie>

i was looking for an easier way...

02:00

<wyvern>

only release x tasks per second

02:00

<rullie>

i guess there is no easier way then ...

02:00

<wyvern>

well, you're looking to do a pretty unusual thing, so you're gonna need to do SOMETHING custom.

02:00

<cybereal>

rullie: the problem with your insinuated solution is that it consumes a thread, when it really shouldn't

02:00

<cybereal>

plus it binds a behavior to the wrong domain of concern (the task shouldn't care the performer of the task should)

02:01

<rullie>

i think you guys are complicating my question...

02:01

<rullie>

can I "run a bunch of runnable with a execturoservice without sucking up 100% cpu"

02:01

<rullie>

easily

02:02

<wyvern>

well, are they CPU intensive?

02:02

<rullie>

...

02:02

<wyvern>

the runnables

02:02

<cyb