« first day (839 days earlier)      last day (4120 days later) » 
00:00 - 20:0020:00 - 00:00

12:12 AM
So what does one usually talk about in the Java chat room?
 
12:28 AM
@Sgt.Fault Java GangNam Style
 
@Sgt.Fault Whatever we feel like
Hello, Java!
 
user868935
Hi all
 
user868935
0
Q: applet button filling area

SpicyWeenieI'm creating an applet and having problems with the positioning as size of my buttons. I've added two buttons, but the "OK" button seems to position and size itself correctly, but the "CLEAR" button fills the entire applet area behind the "OK" button. Any suggestions as to what is the problem? @...

 
12:45 AM
0
A: applet button filling area

Code-GuruWhen using a BorderLayout, you should specify a location where you want to place the component. If you don't specify this, the default is BorderLayout.CENTER. So you are adding both buttons to the center of your panel, which stretches them both out. I think that BorderLayout is not what you want...

 
1:13 AM
hi everyone!
 
hello @TemporaryNickName !
 
GO Java!
 
Yaaaay!
 
yay!
gogo!
 
1:19 AM
@Doorknob hey!
 
hello @user1690130
 
@Doorknob Howdy
 
@Doorknob thank you for your help the other day
i am sorry about angering you yesterday
(I was not getting along with Lews)
And I apologize for that
 
oh hi @Code-Guru !
@user1690130 no problem :)
Wow what a terrible question:
-1
Q: JavaFX JavaScript upcall with arguments

ThunderWolfI need to know how to up-call from JavaScript to JavaFX with arguments.

Okay really...?
0
Q: I need MALWARE source codes in order to improve my antivirus

ApOkAlizEI'm actually developing a pure heuristic antivirus system, I've tested it on the malware I made by myself, but I don't know if it works in other malware. So I wonder you, if you can help me sending to kiriup_27@hotmail.com, samples of all types of malware (worms, spyware, trojans, exploits...) I ...

 
@LewsTherin It rocks! At least so far. Starting Chapter 2 tonight. Not gonna log into SO much until I finish. You need to read it so we can talk about it.
@Doorknob And goodbye...time to log out.
 
1:30 AM
@Code-Guru Oh, ok. Bye!
this is a test:
:7603509
it didn't work
1 min ago, by Code-Guru
@LewsTherin It rocks! At least so far. Starting Chapter 2 tonight. Not gonna log into SO much until I finish. You need to read it so we can talk about it.
oh yay
 
 
2 hours later…
3:10 AM
System.out.println("Hello Java World!");
 
3:24 AM
@A--C @CCInc @TemporaryNickName @Crowz Sup!
 
Hey there @Appu !
 
Yaay! How is it going?
 
Pretty good, snowed quite a bit :D
 
Kewl then ;) What have you been up to lately?
 
3:39 AM
absolutely nothing constructive :)
 
What? o_O
Your apps?
 
Nah, but I did fix a NumberFormatException
Start_sticky is amazing, it actually will restart your service
 
4:07 AM
Start_sticky. I haven't heard this before, but now I can see in the developer's guide.
Which app you are working on currently?
 
Something with a foreground service
 
Okay.
 
4:27 AM
Hey DUDE! :)
 
@user1690130 Hey! o_O
 
@Appu what's up?
 
Kewl. What's up with you?
 
@Appu i was suspended :(
 
5:30 AM
Good morning :)))))))))))
btw Good night Western country citizens :)
 
 
3 hours later…
8:43 AM
@GeekWorking You're forgetting good afternoon eastern oriental countries
 
so this is the group huh.
 
@SheSmile Yes, and it's far more active in this moment for you having written something here
 
yah :D
 
@SheSmile Feel free to pass by here every now and again :P
Maybe we can yet breathe live into this old horse
 
sure sure, i will ;) I added it as one of my fav room so that it's going to be easy to locate ;)
 
8:53 AM
I added this as favorite room long back itself.
 
 
3 hours later…
12:19 PM
somebody can answer me this question http://stackoverflow.com/questions/14759182/anchorpane-shows-a-white-border-when-setresizable-is-false-javafx
about javafx
 
12:44 PM
@ALL anyone have Idea about connectivity of android app with Bluetooth printer connect.?
 
1:11 PM
Hello everyone!
 
@Doorknob *crickets*
 
hello @Neil :)
 
Java
 
@LGAP Did you get lost in the middle of your sentence? :P
 
Yeah. Java gangnam style
;)
 
1:27 PM
@LGAP I don't get that, I'm afraid
 
2:18 PM
@Appu hey :)
 
 
1 hour later…
3:28 PM
hi
 
@Michael hey
 
@Neil neil it's a song...
 
My gf doesnt like my SO profile pic :(
 
why
 
She says i look crazy
 
3:31 PM
whats the bottle
washu is it beer?
 
Rum
@Michael it is a good rum
 
oh nice
i like beer better
 
I like beer too... but i get headaches next morning that's why i prefer to drink rum, vodka, whisky and such
 
i can drink 3 beers before i get a hangover
 
Hm... i think i can drink 6....
 
3:37 PM
wow that's a lot
 
Not really, here in peru the beer doesnt have much alcohol i believe...
 
it has around 6% in the U.S.A.
Wine has about 12%.
 
@Michael the one i drink that is peruvian has 4.8 to 5.2, and the heineken it has about 5%
 
@alcoholics Hola
:D
 
@Washu oh ok
hi @Appu
appu do you like beer or rum?
 
3:44 PM
sup!
To be frank, I don't drink :( @Michael
 
oh it's cool
 
The drink what you drink now is cool?
Just kidding ;)
 
hello all :D
I just learned how to create custom methods :D
 
hi @Nathvi
nice
 
@Michael What does Gangnam style have to do with getting lost in the middle of a sentence?
 
3:54 PM
public static method_name( paramater_type paramater_name) {
execute this code when method is called
}
or.... public static gangnam_style(String gangnam) {
System.out.print(gangnam + " style");
}
not really sure what the static means
 
@Neil idk
 
@Neil no idea...
 
@na
@Nathvi means the value wont change
 
user868935
Hi all! Does anyone know if there is a swing component that grows as more content (text) is put in it?
 
4:09 PM
how would the value change?
 
@n
@Nathvi if i say static int pi = 3.1.4.96
@Nathvi the value pi cant be changed
3.141596
oops
3.14159265359
 
user868935
@Nathvi based on the number of lines and width of text
 
user868935
oops! sorry lol
 
@SpicyWeenie im trying to find something for you
 
@Necro necro that's wrong
"static" means that the variable doesn't belong to instances of the class.
 
4:14 PM
@Nathvi wanted to know what static ment when declaring a variable
 
it means you can do ClassName.method()
 
or constants
 
no you use final for constants.
static final
 
Yeah
@Michael is right
 
@Necro ik
 
4:21 PM
I remembered something about them only being able to be initialized once.
@SpicyWeenie wanted to know about a swing element that would expand with text writtan into it.
 
static final is what you use to define constants
static on its own just means it trascends instances, as Michael mentioned
 
is there a type def in Java?
in objective c i can say #Define website www.google.com
 
@Necro Like in C++? No.
 
oppa gangnam style
 
No macros in Java
 
4:26 PM
and calling website obviously just called www.google.com
ok
 
guys ..
 
user868935
@Necro maybe a jTextPane? It only needs to expand once to fit all the text
 
Though there are reasons why you shouldn't use macros, they're evil
 
macros are used alot for debugging
thats what i was hopeing for
 
@Necro There are other ways to debug
What were you trying to do with macros?
 
4:29 PM
Obviously :P
i was trying to define a client temp server URL
its called like 100 times throughout the project
so when they change boxes
i can just change the define
but i sorted it out
 
@Necro So use static final String
 
I ended up saving it as string in a global singleton
im like that iphone developer that was told to make something on android
lol
All directors of the software departments are just like "copy the iphone app into android".
 
necro iphone doesn't use java
 
oh dear god
the angels have touched you boy.
 
@Necro singleton?
 
4:34 PM
android uses java not iphone
 
Why can't you use static final instead?
 
@Necro I know what a singleton is, sir.
 
<3 Singleton :D
 
@Necro You should generally avoid singleton pattern
 
4:36 PM
@Neil because im dealing with like 20 activities.
with a very abstract
asynctask
 
Okay, it's your program, not mine
Though it doesn't matter if it is accessed by multiple threads
 
@Neil i understand what your saying.
@Neil i said to myself exactly what your saying now.
@Neil but when you are put in stressful positions, you just make it work.
 
@Necro But?
@Necro I can understand that. Happens to me too
 
The singleton is not just for the website url thats just the smalledt of it.
smallest*
The rest is user data and all other crap.
Im used to the MVC of iphone.
I cant actually believe how painful the AVD's are.
They dont do activity change animations half the time and they are so slow.
It might be my machine its running off.
 
It can be difficult to learn another language because programmers tend to want to solve problems in the same way they did in the language they learned with
 
4:41 PM
When i build to a device everything is perfect.
@Neil You can say that again.
 
I tell you based on experience that you have to make yourself solve problems in ways you're not used to in order to break that habit
I was lucky enough to learn how to program with C++ and Java at roughly the same time
 
@Neil Yeah, i made applets in java. Just silly games, before i did all this android stuff.
so it made it a bit easier.
I always told myself going into coding for a new language "They can change anything they want but the project logic will be the same".
 
@Necro I'm trying to learn android myself
@Necro Heh yeah, me too
 
Im so suppressed how much XML it uses.
 
That works only half-way
 
4:45 PM
yeah
 
You can write programs with that mentality, but you can't write great programs that way
 
I agree because i have run into problems where:
The logic paths are SO DIFFERENT
im trying to think of an example
 
@Necro In C++, I can't shake this idea that you're working at a really low level
Whereas in Java, you have a lot more support for many things
 
I made some SDL stuff in C++ and its the same level to me around objective c.
 
Though I suppose .NET makes up for that
 
4:48 PM
Yeah
its funny
in java you can just type Grapgics
and it will just suggest you a lib
Graphics
or Color
 
@Necro I like how Java doesn't force you to compile everything down into a single executable
It's nice to know that libraries in Java really are libraries, and not some forced external reference to a dll that has to be there
 
Yeah
it shows
when you download a game
please download this C++ package
 
@Necro Yeah
You almost have to use .NET if you program in C++ now
 
I use visual C++;
 
Which stinks because it obliges you to write windows applications
 
4:51 PM
Did i really just end that with a colin.
2
 
Haha.. Is it sad that I didn't even notice until you mentioned it?
 
Yeah.
I do contract work, so its extremely painful when i cant find solutions in a reasonable amount of time.
The stress is retarted.
 
@Necro I don't envy you
I can imagine how stressful that must be
 
The only upside is if you work 13 hours in one day
the cash comes in
but thats about it
and i work alot at home.
Which trust me, not everyone can do.
 
@Necro Oh, I trust you on that :)
I have my own web application that I work on at home, and even if I'm doing it for fun, I can't always bring myself to work on it
 
4:56 PM
Do you do any of those web languages?
php, VB.NET
C#
SQL
 
@Necro I'm familiar with PHP and C#
I'm brilliant at SQL :P
 
@Neil i bet you are :P
 
By familiar, I mean that I have coded in those languages, but I am by no means an expert
 
@Neil do you ever take a break and just make a forums or a chat service.
Do some sexy relational databases.
 
@Necro nah, I don't like the idea of making something that's already been done
The fun for me lies in making web applications that I can use
 
4:59 PM
Like?
if you dont mind me asking
 
@Neil You are familiar with PHP :@
 
@Appu And>
 
Sorry, wrong tag.
 
The web application that I'm working on now is a neat idea I came up for doing grocery shopping
 
np
cool
 
5:01 PM
You input recipes with all the ingredients and their quantities
And then you plan out your week with these recipes
 
ok
 
And you can get a list of all the foods you have to buy at the grocery store in order to do it
 
Thats smart i guess, you would just have to make the data entry enjoyable.
But its a good idea.
 
Yeah.. I'm hoping that I can eventually make some sort of recipe parser
So that people can copy and paste recipes and it would infer the meanings
But that would be difficult and I'm no where close to that point yet
 
What do you mean?
"1 cup of flour"
 
5:03 PM
@Necro Yeah, precisely.. it looks for the list of ingredients first
 
hmm
 
So line by line, it'll see "1 cup of flour" and it'll recognize 1 as a number, cup as a measurement, and flour as an ingredient inserted by the user
 
You would need a database of words
of ingredients
or no
maybe not.
it could be just abstract
 
It would have to be smart enough to know if "of flour" is a separate ingredient or I'm actually referring to flour
because it could be corn flour
 
Have you looked into AI Chat responses?
it helps alot with that sort of thing
 
5:05 PM
Anyway, the application is mainly for me, but if I can get it nice enough, I can show it to any potential employers
 
I knew a guy making an "Android".
 
@Necro Hmm, I've heard of AI chat programs meant to get certain information from users
 
words like of
get converted to a constructor
 
That's genius, but I have no idea how to make something like that
 
for the next word
Are you making it in PHP or C#
 
5:07 PM
@Necro Java :P
 
ok lol
what hoops are you jumping through
 
@Necro What do you mean by that?
 
Well
Do you mean you are useing JAVA to code the responses of a HTTP server.
or are you making a java server
that responds to packets
with strings
Im trying to understand how your doing it.
I know about some server side coding programs.
that have a language close to java
 
@Necro You make it sound complicated
Have you never tried to write a Java web application before?
 
Never herd of such a thing
 
5:10 PM
A lot of the boiler plate is taken care of
 
must be just libs
i have not seen
 
A method inside my class gets called with two objects
One containing the request just made to the server, and the other containing all I need to make a response
The request object has all the parameters passed already available in a Map
 
ok
 
That's if you're using servlets
I'm actually using a library which uses servlets to abstract away even more
 
it sounds interesting
ill have to look into it
 
5:13 PM
lets you create the equivalent of page templates and interact with pojo java classes called beans
 
my group is always looking for new languages that do server side coding.
 
It's called JavaServerFaces (jsf) if you want to look into it
i personally prefer using primefaces library.. makes everything look awesome
lets you skin your application very easily too
 
This is crazy
Is this lib free?
any licenses
it supports ajax and everything
 
@Necro that's part of the jsf package is that it handles ajax
And yes, all of this is free :)
 
How do databases work with this.
 
5:17 PM
That's a demo of some of the things you can do with primefaces
Databases are considered another side of the web application and jsf doesn't directly manage that
but there are libraries which handle that aspect as well
I use hibernate which is a library that makes the interface to the database uniform for any database
 
So you can change the underlying database and your program won't have to change.. just hte configuration
 
Yeah.
 
@Necro haha
 
Its so clean.
Sorry im freaking out, just looks really cool. Im used to going to a lot of effort to even get anything to act remotely like these demos.
 
5:21 PM
@Necro Oh I know :) I was there once myself
 
I know you said its free.
 
I've made it my business to learn all about this sort of thing, because this kind of thing is what impresses employers
@Necro That's my story and I'm sticking to it
 
@Neil Yes it looks that way.
Whats the actual license though
im trying to find it
 
In other words, they're not liable for problems, and you can't alter it
but other than that, you can use it commercially with no cost
 
Really cool.
Thanks for that.
I should probably go to bed now.
its like $:30 am
4:30
 
5:26 PM
@Necro Sure. Take care, man
 
Thanks for all your help me
cya
man
 
When it's so late that you're talking in $:30 am, you need to get some zs :P
Later, @Necro
 
Haha
 
 
1 hour later…
6:42 PM
sup all
 
hi
 
hi @ninja
 
6:55 PM
if you love Java say, "I love Java"
 
hi @Lews
 
What's good?
 
Lews that doesnt make sense
 
Maybe, but it's a common phrased used to ask "what's up?"
Mmn without the apostrophe
And in all lower case :S
 
7:02 PM
interesting
 
Lol :P
 
lews what's good?
 
Rofl
School projects, so nothing good really :(
 
oh that stinks
 
@LewsTherin what about the ladies?
 
7:04 PM
Which ladies? :P
 
7:47 PM
big headache
 
Same
 
i hate the sun
 
00:00 - 20:0020:00 - 00:00

« first day (839 days earlier)      last day (4120 days later) »