« first day (4 days earlier)      last day (4931 days later) » 

12:00 AM
It should do that for you. All you should need to do is associate your application with the Tomcat server that you told Eclipse about.
 
hmm, maybe I did something wrong then
let me start over
 
I think you can right click on the application's folder and click Run As Server or something like that.
And that will step you through the process.
 
does the dynamic web module version matter? just pick the latest one?
 
What version is it at?
 
2.5
 
12:03 AM
Oh, just do the default.
In the Target runtime box, select your Tomcat server.
 
in the target runtime box, it says apache tomcat v6.0, but im not seeing anything that looks like the server I have already set up
should I?
 
Oh, I thought that that box contained the list of servers that you defined.
Try leaving it blank.
 
well, its kinda strange
 
I never actually used it before.
 
it only had one option, apache tomcat v6.0 and <none>, but I just figured it would tell me the server name
 
12:06 AM
Just leave it blank
 
If you run into trouble try recreating the project and setting that option.
 
ok
well ive got to run and get some dinner, but I can't thank you enough for your help. I am certain you just saved me at least a few hours of time
thanks again
 
ok well thank you very much, it was fun helping out :)
 
I really appreciate it
 
12:08 AM
have a nice dinner :)
 
if I figure out a way to give you reputation points I certainly will
thanks, later
 
have a good night!
 
hey you don't have an amazon wish list do you?
 
yeah i think i do
 
well if you find it, put it out here, ill leave this up and check for it when I get back
thanks again
 
12:14 AM
You don't have to get me anything!
 
 
2 hours later…
2:13 AM
can anyone tell me what this line does in a class that implements java.io.Serializable?
static final long serialVersionUID = 103844514947365244L;
nevermind, I found a good article on google
 
 
5 hours later…
7:26 AM
Quite surprised how dead this channel is
 
 
2 hours later…
9:05 AM
I don't know in wich GMT you are, but here is morning, devs are coding
 
9:22 AM
do you guys know a nice tutorial about ANT and JMeter?
 
9:38 AM
Never used JMeter... and for ANT, I really learned with other devs who already knew, looking at ant task and such... so sorry cant help :(
 
 
2 hours later…
11:43 AM
GMT+1
SAX is shit -_-
 
12:01 PM
i have beginner's depressions
 
Nearly all XML parsers suck
I ended up using DOM and that's that
BTW you are on my same GMT. Thought this would be filled with americans...
 
hehe, yea me too
This is kind of kick ass
using Spring package scanner, I've made a dynamic sitemap system which scans packages and builds a sitemap of elements based on annotations
so you no longer need to register your pages with a sitemap builder, just simply put @SitemapNode on the class and it'll work
 
12:22 PM
that sounds great, hope you end it soon :)
I am actually doing weird stuff with php and OpenId (boss is .. bah!)
you hire a Java dev to do php proyect, is madness
 
lol
quite like PHP when done correctly
but its too easy to slip on to hack mode and just make something that works
then like 4 months down the line you suddenly need to maintain it
and before you know it you're balding, sleeping in a ditch and generally your life falls apart :P
Anyone worked with Ehcache before_
 
1:05 PM
I think a java dev has a slightly higher probability of not sucking with php than a php dev?
 
oh god
it appears people want to goad me into a pissing contest because I down voted an answer I felt was bad.
This confuses me somewhat, if I feel that an answer is poor and I state my reasons, I shouldn't have to defend it further.
 
user400055
1:47 PM
Hello, does anyone here know how I can make a JFrame with a GridBagLayout stretch the content in the layout so that when I resize the frame it expands the components to the resized size?
 
user400055
If that makes any sense :)
 
@ExtremeCoder That's a mix between setting the preferred/max sizes of your components properly and setting the "fill" attribute of your GridBagConstraints to BOTH.
 
user400055
@Mark Thanks I'll have a try at that
 
E.g. a JButton has its max size set by default which prevents it from expanding whereas a JPanel doesn't (or does but has it set to the maximum amount)
 
2:37 PM
Interesting to see people that like PHP in a Java chatroom. Most people are quite outspoken on how they hate PHP. I quite like it for what it is.
 
a working template language?
that breaks your code every minor release :-)?
 
:-) see here we go.
 
it's ok, i hate java, too
 
He he.
I guess I just find languages interesting in general
 
but it's def more consistent
 
2:46 PM
@Gary why?
 
So don't really hate too much of them
Note sure, every language have a difference approach and teaches you something new.
 
heh, java? I code in it b/c it's my job. It's getting crusty. I'm really really glad that I didnt' start before Spring came along though.
it's really verbose
 
What language do you prefer then?
 
@Gary I used to bitch about java but then I learned to embrace it
It's not bad after all
 
python? C#?
 
2:47 PM
I kinda like it now
 
i mean, it works
 
Agree on the verbose. Have you had a look at groovy?
 
a little bit, it's like a dynamic native jvm language right?
i've been looking at clojure lately
 
Yip but I believe you can compile it into a static jar.
Clojure sounds interesting yes and also Scala
I quite like python except for the 'self' parameter that one must specify everywhere
 
yea, that's annoying, it's b/c they go for explicit vs implicit
a real programmer needs to know that anObject.doSomething() is the same as doSomething(anObject)
 
2:51 PM
@Gary that's not the same
scopes are different
 
not in python
self is just convention
that first parameter can be called anything
 
what?
you mean that in python in doSomething(o) scope is 'o' ?
 
no, there's no object scope in functions
that's why you always have to access vars by self.theVar
 
oh there is no implicit scope you mean
 
yea
b/c they prefer explicit :-)
 
2:54 PM
but even knowing that, self must be different if you do object.do() and do(object)
 
try it sometime
 
yeah, it's like something I want to do but never find the time
 
do Class.aFunction(anObject) instead of anObject.aFunction()
 
been busy with JVM languages
 
it'll still work
but it's the same in other C++/Java stuff
just the 'this' pointer is always implicit
just syntactic sugar
 
2:58 PM
yip
@PabloFernandez What JVM languages?
 
I wish jython would get more love :-), the IronPython guys snatched up their main guy I think?
pablo, also I'd really like an autocomplete interpreter REPL. there's some halfway efforts for java on that. Right now to try stuff out and explore I have to use a jUnit test or make a new eclipse project or something. Kind of a pain.
I'm thinking of using clojure or jython for that functionality :-)
 
3:59 PM
Does anyone know how I could make GUIs similar to Eclipse?
 
eclipse is using SWT
 
4:31 PM
Well, specifically, I just want the tab/panel controls that Eclipse uses.
 
Beeing the one that raised PHP... I have to say I do not like it too much. It's more like a javascript thing than a language per-se. It doesn't feel like programming. And definetly it doesn't debug like a programming languaje...
Anyway, also Java is a job, but I like how much you can study of it. In home if I do something is in C mostly.
Eclipse is opensource, you could look at it. I did it once... didnt understand anything, my bad :(
 
4:51 PM
Java isn't javascript.
 
I know, thats why I like Java and I don't like PHP
becouse PHP is javascript like-ish
 
Oh, I misinterpreted that then.
PHP is interpreted such that a compiler/command-line isn't necessary; however, you can enable the CLI and execute shell commands from there. It's a scripting language and I think it has its merits for its use in the web.
 
is it faster than python?
b/c i think python's probably better in every way otherwise
 
5:12 PM
NodeJS might be faster than Python in terms of Network Programming. ;)
 
@GioBorje that looks really neat
 
hello guys
 
actually JS frightens me, I haven't wanted to learn it yet b/c the whole browser stuff is a mess. Been looking for a good abstraction over it.
I've been spoiled by adobe flex, also
 
well now people all moving with JQuery know..
 
@BillS What does it mean, Bill?
 
5:57 PM
@Gary I've actually done the same as Random and transitioned from PHP to desktop programming because I plan to major in Computer Science. Scripting on the web has a much higher fault tolerance and Javascript won't yell at you for syntax errors. It's fun to play with but I don't think programming with Javascript has enterprise capabilities yet.
 
yea, silent failure is so dumb
i wouldn't call that fault tolerance
more like undefined behavior
 
Same with non-strict HTML doctypes. ;)
 
which is why I find web dev an uphill battle
the whole thing is a cornercase
I get scared when the computer doesn't do what I tell it to :-)
 
Btw, I was working with SWT and I saw this: Text text = new Text(tabFolder, SWT.BORDER | SWT.MULTI); How would a function take multiple values for a single parameter?
Specifically, the SWT.BORDER | SWT.MULTI.
 
it's a bitset
 
6:04 PM
Explain?
 
1000 OR 0111 is 1111
each enum is a power of 2
 
Oh, that's interesting.
 
it's like each power of 2 is an orthogonal basis vector :-)
 
So much to learn for the AP exam. :C
 
6:20 PM
so then they shift right and AND with 1 to get booleans back out
 
6:32 PM
here's another example in C:

screen = SDL_SetVideoMode(640, 480, 16, SDL_DOUBLEBUF | SDL_FULLSCREEN);
it's defined as public const int SDL_DOUBLEBUF = 1073741824; which in binary is 0b1000000000000000000000000000000
 
I'm still reading about the orthonormal basis part.
 
This is java, not C :)
 
And for a second I thought Rick Ross came in to the room.
 
Lol.... thats my dad :)
 
haha, don't go too far into the orthonormal basis-land
unless you're interested in signal processing or linear algebra
just understand the bit manipulations
 
6:41 PM
Mmm. I like to push for it but it's something I'll do in some spare time; but I don't understand what those bits do on the other end of a function.
 
I was just being a smart-ass
what do you mean?
the point of it is to store a bunch of booleans in one memory space
a 32-bit int can hold 32 true/false values independent of each other
 
How could you check if individual booleans are true?
Well, what's the benefit over an array of booleans?
Oh, wow. It just came to me. Bitwise shifting.
 
haha, right
and you can mask with val & 1
that'll give you a 1 or 0
 
Learn something new everyday.
 
also, in java you can't have an array of booleans
err, actually I'm wrong
I know you can't have ArrayLists of primitives
but my concern would be if the array of booleans is smart enough to not waste memory
at least in C, you can't have an address for each digit in an int, the int is the smallest addressable unit, and array indicies translate directly into address offsets
anybody know the answer?
 
7:11 PM
Actually, you can have an ArrayList of booleans through autoboxing.
So that primitive types are placed in their wrapper classes e.g. int into Integer.
 
but then they most likely won't be in a continuous block of memory right?
 
Probably not. I see now.
 
that arraylist will contain references to Boolean.TRUE and Boolean.FALSE, basically an address, instead of a boolean.
much more data :-)
I think this way b/c I learned C and got a degree in computer engineering first before I looked at java :-)
 
Nice. What's the difference between computer engineering/computer science?
Oh wait, you might also be able to answer this qn.
3
Q: Why multiply by 8 for Flash?

Gio BorjeI was playing a flash game when a friend of mine showed me some Cheat Engine trick where you can search for integers in a flash game. eg your score is 100. To find the score, you'll need to search for the value 800 in Cheat Engine—this is probably a popular trick nowadays. I've never played with...

 
7:47 PM
for us, CS is really theoretical computer sciency software stuff like algorithms, Comp engineering is more hardware/low level stuff. There is crossover in areas like research in multi-core compilers and architectures.
I had a CS class for game design, and then I had a electrical/computer engineering class in multi-core/gpu game programming :-). Basically compE's are much more aware of lower abstractions.
 
8:26 PM
Thanks Gary but I need to go. Got AIM/MSN?
 
8:39 PM
hello
 
 
2 hours later…
10:54 PM
hi
 

« first day (4 days earlier)      last day (4931 days later) »