jwenting 1,905 duckman Team Colleague

ok, so the error happens every day at the same time.
That hints at something outside the application, most likely either in the database or the connection pool.

jwenting 1,905 duckman Team Colleague

more Me2! features than ever before. The JCP is turning Java into Ruby# for the sake of winning popularity contests among schoolkids it seems.

Not recommended.

kvprajapati commented: There is always room for improvement. :) +15
jwenting 1,905 duckman Team Colleague

the JVM is 3rd party software to both your company (or more likely school) and the operating system, so you can't use it.

Java isn't a good platform for what you want to do anyway, use C++ instead (for example, C or assembler even better).

jwenting 1,905 duckman Team Colleague

water is my beverage of choice every day of the week. I don't drink alcohol by choice (I don't like it...), I've abandoned all drinks containing sugar (high carb food/drink causes me chronic fatigue plus I could loose some weight, and that includes milk), and I can't stand coffee.
Leaves pretty much water and sometimes a cuppa tea. And I don't miss it, tbh.

jingda commented: Healthy Choice +0
jwenting 1,905 duckman Team Colleague

and what about antivirus software installed on the PCs ? if it is configured correctly as well as user rights and permissions (only admin are allowed to install smth), than how come call home routine or other software is allowed to be installed by antivirus from thumb drives and etc?

AV software works on pattern recognition and behaviour prediction.
If you write something that doesn't match those patterns and seems innocious in its behaviour it doesn't get flagged.
Say this thing installed itself as a plugin into MS Office when a Word document with a macro was loaded, then sends a single email before deleting itself or going dormant.
That's unlikely to get detected by an AV scanner.

jwenting 1,905 duckman Team Colleague

I'm really surprised they're allowed to take information out of the building without having it checked in/out.

No information was taken out for the test, they tested information being taken in...
IT Security no doubt requires no data carriers from outside being used in department systems, but clearly there's no safeguards against this and/or the staff have become expert at circumventing such safeguards as may exist.

I used to work at a major bank's headquarters. This scenario would have been physically impossible there as all computers had hardware to prevent it.
The disk drives (no USB ports existed back then, and if they did they'd have been internally disconnected or physically removed from the systems for just this reason) were all special units that would encrypt and decrypt any disk put in on the fly.
Unencrypted disks thus could not be read, and disks written by them could not be read by any outside system (though decryption software might have decrypted the data).

All external connectors to the computers were either removed, internally disconnected from the rest of the hardware, or where needed (like network, keyboard, mouse, and monitor connectors) were shielded so they could not be disconnected by the user (a metal shield was placed over the rear of every workstation, which required a key to unlock which only the IT department had access to and was probably stored in a safe somewhere).
All computers were furthermore locked with a steel cable to …

iamthwee commented: Nice +0
jwenting 1,905 duckman Team Colleague

Any developer you see working without a designer at his side is trying to make up his own designs (and is thus acting in 2 roles at once).
Some may be capable of doing this, most aren't.

Same with designers trying to make things without a developer to do the technical stuff.

jingda commented: I agree +0
jwenting 1,905 duckman Team Colleague

Depending on the exact nature of the complaints (if they're caused by clicking buttons or by your hand position) switching to a pen tablet may help a lot. I use a Wacom Bamboo now at work, which has pretty much ended the chronic pain I used to get in my wrists.
At home I still use a mouse, but I use a carefully selected model that gives maximum support to the hand (so not one of those mini-rodents that are so popular these days).
Trackball might work too in that case as it also provides more support for your hand than do most mice, but for me at least I could never get used to one.

If it's because of overpressure when clicking buttons on the mouse, you never get relief from that as you also put pressure on them when typing using a keyboard and indeed the only way to prevent it getting worse (and maybe in time get it to heal at least in part) is to stop using computers completely for several months to years (and that include touch screens on phones, tablets, etc.).

Another thing to consider is buying an ergonomic keyboard.
Switching to a Goldtouch GTN077 at work (where I do most typing) and Microsoft LS4000 at home (which is cheaper, the Goldtouch costs several hundred dollars) pretty much cured the beginning RSI symptoms in my shoulders by changing my posture and hand positioning to minimise stress on the upper …

jwenting 1,905 duckman Team Colleague

Shaiya online is an awsome free game.it takes like 15 minutes to download,great graphics,multiple skills to level,lots of players,and youll never get bored with it.

played it until the community went to pot because of the mass influx of powerlevellers and goldsellers, and a small but hardcore group of portalcampers who'd kill any lower level player trying to get some quests done in the pvp zones (which are impossible to avoid in Shaiya, as levelling in the pve zones becomes next to impossible past mid-levels because of the slowness of the grind there).

graphics are indeed not bad, for an f2p Korean grinder.

jwenting 1,905 duckman Team Colleague

The problem with spam is that you can't fix it without introducing a cost to sending a message that's higher than the potential return. So if the potential return on investment from sending a scam email to a million users is $50.000 stolen from the one sucker who fell for it, a million emails should cost you at least $50.000 to send, or $0.05 per message.
In reality the actual return on investment from sending spam and scam emails is probably a lot higher, so you're looking at a cost of say $0.25 per sent message per recipient that needs to be leveraged just to prevent spam from being sent.
This is why such things are less commonly sent through regular mail (though they do appear as fax messages at companies regularly, and unaddressed advertising flyers pushed into your mailbox by kids paid peanuts are a constant annoyance).

Technical means to make spoofing harder might be possible, but would be vulnerable and will never be airtight.
Procedural systems like "do not spam registries" of course have no effect whatsoever, as those who send the most spam are shady types that won't respect those (and in fact might well harvest them for "known good" addresses of potential victims).

These problems were introduced initially because the internet started as an open network for a small group of trusted people in acedemia and the military, and was only later adopted as-is by the world at large as a …

jwenting 1,905 duckman Team Colleague

call me archaic, but I refuse to use any "social network".
I've some IM tools, 2 mobile phones, 4 email accounts, Skype, and a landline. If people still can't get into contact with me when they want/need to they can assume I don't want to have contact with them and I sure don't want half the world to know who I'm chatting with or what I'm saying (as is the case with idiocies like Twitter or Facebook).

jwenting 1,905 duckman Team Colleague

The router does the routing of incoming messages to anything residing behind it.
Unless each client is accessing your server through a different TCP or UDP port there's no way for the server to distinguish them unless you send specific information in each request/response to the client and the client then returns that information (which is how session management in http works, roughly).

jwenting 1,905 duckman Team Colleague

See page 182 of the Java Language Specification, 3rd edition (may be a different page in other editions).

Basically, an inner class contains an implicit reference to the outer class instance that creates it, thus preventing that instance from going out of scope (and thus getting garbage collected).
However, method local variables do go out of scope unless they're declared final, in which case they're preserved between method calls.
For an instance of a method local inner class to be able to refer to those method local variables after the method goes out of scope (say, if you return the instance from the method), those method local variables thus have to be declared final else they will no longer exist when needed by the inner class instance that refers to them.

jwenting 1,905 duckman Team Colleague

well, in order to be a leftist you have to believe in the wildest lies and fantasies possible as that's all that can ever make socialism/communism look like something you want to live under...

Yah, the "failed experiment" theory is a nice and constantly repeating one. Guess what kids, socialism/communism failed in every single case it was implemented, every single case where private ownership, responsibility, choice, free markets, was abandoned.
So in the light of hundreds of such failed implementations, you still hold that "if only I did it it would work" and "they weren't real socialists/communists" despite the people implementing it being the ones who literally wrote the books on it is a sensible theory to hold on to?

Reality check: would you be willing to give up everything you own "for the collective", literally go whereever you're needed and do whatever needs to be done there with no more compensation than the minimum amount of food and clothing needed to survive another day, sleeping in barracks with no privacy, never having a day off from work (as such would constitute ownership and privilege over your peers, can't have that in a true communist society) (not that you'd have anything to do on that day as you'd have nothing to do it with)?
That's what you're rooting for. With a Big Government to decide who goes where to do what at what time and how much he should produce during that time or face having …

Ancient Dragon commented: wow! +0
Azmah commented: I SOOOOO totally agree with you :D XD +0
Aia commented: A year and half they all were giving you bad rep for saying the same. I wonder what had changed! +0
jwenting 1,905 duckman Team Colleague

Might not be for you. If you don't know the answer, just keep quite without being a Bonehead .

And sorry if i was rude !

actually, I do know the answer. Or would if I were to bother with homework kiddos like you who think themselves so important they can decide their problems are so important I should drop everything and help them ASAP for no reward except getting bitched at for it not being exactly what they had in mind.

jwenting 1,905 duckman Team Colleague

Apprenticeship. Petty cash really. But it's hourly. so I'm happy just relaxing :)

ah, an intern. Not trusted with the time critical stuff, just given some make-work jobs to keep him from bothering the people doing the actual work with questions that take time to answer.

debasisdas commented: agree :) +0
jwenting 1,905 duckman Team Colleague

Obviously that's not the kind of life I'm speaking of. And not taking away any rights from the people but more of putting money back into circulation rather than rotting away in someones personal bank accounts.

That's how it always starts... "Take from the 'rich' for 'fair redistribution'", and pretty soon
1) those who make anything notice they get nothing in return while the slackers have the good life without having to work for it so they stop working as well
2) you find yourself, with your small income that barely makes ends meet, defined as 'rich' so they can come for your posessions too.

Which of course results in the government owning everything, forced labour camps, 'reeducation' camps for those who don't want to work for no return, complete loss of freedom, and millions upon millions of dead and mutilated people.

Just ask the victims of Stalin, Pol Pot, Mao, and Ho Chi Minh how well communism worked for them. And yes, that was communism, even if it is now called "socialism".
There is NO distinction between the two, they're just different aspects of the same system, and trying to implement one irrevocably leads to the implementation of them both.

It's not known exactly how many lives were lost so far as a result of communism, but a cautious estimate puts it at 200 million and rising. If you count those who died as a result of the conditions communism made them live …

Salem commented: yes +0
jwenting 1,905 duckman Team Colleague

I'm terribly afraid of pink die. Not so much of blue or black die.

jwenting 1,905 duckman Team Colleague

Such decisions only you can make. Which is appropriate for the situation depends on the rest of the logic you're employing.

Personally, I'd not have that method at all. Rather I'd have a user request a place at the Table, and be added to the Table as a reference in a List (I'd not use an array, rather a List and initiate the Table with the maximum number of entries allowed for that List, that way the supported number of Players per Table could be adjusted at runtime if needed by increasing that number). No chairs needed, they don't exist in the context you're describing, the Players might as well be standing rather than sitting, the program doesn't seem to care.

predator78 commented: thanks +3
jwenting 1,905 duckman Team Colleague

I kinda like Ruby for small things. Larger Ruby programs tend to get hard to read though.
Ocalm I don't know, but O'Calm sounds like an Irish brand of beer rather than a programming language, which would explain why Rashakil likes it better than Ruby :)

To learn OO concepts Ruby, with it's Perl legacy, may be a bit hard (the syntax can get in the way of learning the concepts).
Python or Java would be a better choice, or C#.

jwenting 1,905 duckman Team Colleague

Anywhere where you can get away from school and the tons of homeworks is the best.

that's called a job, and you'll be a lot more busy than you ever were at school once you get one :)

jwenting 1,905 duckman Team Colleague

There is no such thing as "internet booster software". While there are many people selling things called that, in reality those things do nothing whatsoever.

At most a few might allow more efficient use of the bandwidth available to the machine, but most don't even do that, they just sit there giving visual clues as to how fast your connection now is that don't mean a thing because they're not based on anything at all.
IOW they're a fraud.

As such you can create them in any language whatsoever, as long as you know how to create fancy user interfaces with flashy graphics.

jwenting 1,905 duckman Team Colleague

There is no definition of what is "pure object oriented", so the question cannot be answered.

While many people think they know what they talk about when using the term, they all mean something else.

jwenting 1,905 duckman Team Colleague

1+10+1+10 = 22

jwenting 1,905 duckman Team Colleague

pretty much anywhere with no internet, television, or cellphones...
Having electricity and plumbing/running water is a nice plus.

jwenting 1,905 duckman Team Colleague

You can export to MS Office from Java, no problem :)

jwenting 1,905 duckman Team Colleague

seems the spammers are in the majority here... 6 posts, 5 spammers.

niktar75 commented: Right you are. +0
jwenting 1,905 duckman Team Colleague

aplologize me for hiJacking this thread but,

@ jwenting wrote

If you're programming raw sockets, you can only ever send bytes. Java also lets you send Strings and integers, because it handles the conversion to bytes for you.

are you sure that that is valid for Non-ACSII chars, maybe then I something ***, or I'm wrong isn't there something as InputStream...

yes, I am sure. Everything gets translated to bytes as only bytes can get sent over the line :)

The Stream reads the bytes but doesn't know what to do with them. If you expect Strings, wrap the Stream in an InputStreamReader.

jwenting 1,905 duckman Team Colleague

Sure, you could use a library that uses another networking stack, but you'd be limiting your audience to people using networks using that stack.

If you're programming raw sockets, you can only ever send bytes. Java also lets you send Strings and integers, because it handles the conversion to bytes for you.
You can of course send anything by serialising it, that's one of the things serialisation was created for.

Pretty much every other networking library you could bolt onto any programming language will work on top of sockets, so you'd be using them anyway :)

jwenting 1,905 duckman Team Colleague

@Naruto1
Your code is irrelevant to the OP's stated requirement. If you have a question about your own homework create a new thread of your own; do not hijack someone else's thread.

I love it how one homework kiddo hijacks another :) Less threads for the moderators to remove.

jwenting 1,905 duckman Team Colleague

no, we're not going to help you cheat on an exam.

jwenting 1,905 duckman Team Colleague

It's impossible to say what you "should" use.
It all depends on the available knowledge, means (financial and otherwise), and exact requirements of the customer (and the development team being created).

I've created and maintained real reservation (and other online ordering) systems that were big enough to require the use of massive Oracle databases, distributed Java application servers, multiple redundant data centers to host it all.
But I seriously doubt something for a local church would have to be that big :)

php or Ruby on Rails would probably be quite sufficient, though given the no doubt inferior technical expertise of the customer's IT department to that of a major international company's you're going to have to do a lot more to provide in-application security than I did, and php and Ruby on Rails are known for their miriad security holes (Java is out of the box much more secure).

For a database, mySQL or PostgrSQL should suffice for the same reasons.

Best to do is determine what environments are supported by your chosen hosting provider and do a thorough study into the merits (cost, capabilities, security, etc.) of all of the possible combinations before deciding what to use.

jwenting 1,905 duckman Team Colleague

if you only start whitebox testing after your blackbox testing is complete, you've started way too late, as it should have been (largely) the other way around.

jwenting 1,905 duckman Team Colleague

just don't go the way of my former colleague who ended up addicted to the gym, exercise, and food supplements until they had to call emergency and rush him to hospital in an ambulance to get his stomach pumped.
He was spending 7 hours a day at the gym (12+ hours weekends) in addition to working a fulltime job 75km from home, a distance he travelled on his racing bicycle every day.

susheelsundar commented: Well said :) +0
jwenting 1,905 duckman Team Colleague

you have to put it all into perspective.
Someone over here might make 10 times what you make for the same work, but if his cost of living is 20 times higher, he's worse off than you are.

NicAx64 commented: your correct man. +0
jwenting 1,905 duckman Team Colleague

read up on JSTL, stop using Java code in JSP.

And read your code. You're iterating through the entire List, and only afterwards printing a single value.
Hardly surprising you're not getting the result you expect.

jwenting 1,905 duckman Team Colleague

spam, spam, wonderful spam!

make money online posting nonsense to random forums! Make $10.000 a month tax free!
As seen on CNN!

jwenting 1,905 duckman Team Colleague

A democracy is only as good as the education (honest information) of its voters.

which means all democracies are fundamentally flawed, as they're all driven by lies.
It's rather hard to win elections by saying "ok, we made a mess of things, unless we cut government expenses by 90%, stop all subsidies, stop playing santa claus to anyone who wants free money, things aren't going to get better".
Yet that's exactly what's needed in all democracies right now to get things back on track (implementing, or trying to, the lies is what caused the economic collapse we've been having for the last several years in the first place).

susheelsundar commented: You said it Right Brother :) +0
jwenting 1,905 duckman Team Colleague

Electric cars are here now, and have all the drawbacks I mentioned (and more, like sensitive high voltage systems which are a danger to rescue workers in accidents, large quantities of highly toxic materials which are a danger to rescue workers as well as for recycling, etc.).

Most of those we can't easily solve either. Batteries take time to charge for example. It can be shortened a bit, but doing so always goes at the cost of severely reducing either the charge it can hold and/or its life.
Science and technology have no answer to this.

Charging the vehicle on the fly from solar cells on the roof can offer some relief in sunny areas, but in most of the places these cars would be used that's no real option.
They also have extremely limited lifecycles, so probably would need replacement long before the car wears out mechanically. And they contain more toxic materials and rare earth metals, which are very expensive (and the world supply is owned almost exclusively by China).

e-papa commented: You know your onions. +0
jwenting 1,905 duckman Team Colleague

what is the price range a professional company would charge per page?

they wouldn't charge per page. They'd either charge a fixed price for the entire project based on the project requirements, or a price per hour.

It's impossible to tell what something will cost "per page" without knowing the exact requirements.
A single "page" may take 10 minutes or 10 days depending on the design and what's supposed to go on it.

jwenting 1,905 duckman Team Colleague

Lol I work as a programmer, but a few years ago i was desperate for a job and got REJECTED from McDonalds. it was horrifying. They wouldn't hire me because they claimed i was "too qualified." um, what? hahaha.

Common experience. They (correctly, usually) assume you won't stay in the job one second longer than absolutely necessary, thus any time and effort invested in training and coaching you will likely not turn a profit, hence they won't hire you.

Which of course exposes the fallacy of governments trying to force people with higher education who can't find a job into unskilled labour or loose their benefits, as they can't get those jobs anyway.

jingda commented: Agreed +0
jwenting 1,905 duckman Team Colleague

because most people working in education never worked a day in a real job.

Anuradha Mandal commented: Right. +0
jwenting 1,905 duckman Team Colleague

1) JSP based solutions are by definition NOT client/server
2) whomever told you that, ignore them from now on as it's WRONG.
3) if you've never worked with databases, hand back the assignment as you're incapable of implementing it.
4) in fact do so anyway as your question shows clearly that you lack basic understanding of the technical concepts needed to bring it to a successful conclusion. I can only hope your knowledge of the business domain you're working in is better.

arshi9464 commented: person makes people lose their confidence +0
debasisdas commented: to the point. +9
jwenting 1,905 duckman Team Colleague

do you think the end of the world is coming soon? (joking)

Define "soon". For some value of "soon" it will come soon. For other values, it won't.
I'd expect the earth, barring some unforeseen catastrophe, to last for another several billion years.

jwenting 1,905 duckman Team Colleague

So are you saying that no life would exist if there are two suns on earth but what about other planets

No, I'm saying that the existence of a binary system doesn't exclude the possibility of planets forming.
I'm not making any claims about whether such planets could support life or not :)

I have my ideas about that, but no verifiable data to back them up (in fact noone can have such data, as it's rather hard to experiment with it).

jwenting 1,905 duckman Team Colleague

Wow jwenting, how'd you ever figure this out?

quick guestimate of the percentage of people who actually are interested in compiling their own operating system.
In fact I may on second thought have overestimated.

For the vast majority of people, they want their operating system to be fully transparent, they don't want to think about it, let alone have to constantly tinker with it to keep their systems running.
And that includes real professionals in IT, who have better ways to spend their time than to constantly have to change configuration files and compile kernels just to get applications to actually run.

Ancient Dragon commented: Agree +0
jwenting 1,905 duckman Team Colleague

No one knows the solution? I want detailed information about the complexity & heuristic function which we have to choose for the problem & not jokes!

I gave you a solution to a problem involving a banana and a monkey (there's a monkey with a banana you want to eat and he doesn't want to give it to you). If it wasn't the problem you have with them, state the actual problem.

jwenting 1,905 duckman Team Colleague

shoot the monkey, then eat the banana.
Problem solved :)

jwenting 1,905 duckman Team Colleague

I doubt two suns would be possible anywhere in the known universe (except in Star Trek). If there were two suns, which one of them would the planet revolve around?

Actually, binary systems outnumber unary systems by a very wide margin :)
Planets can rotate either one, both (there are possible orbits, think a figure-8 for example) or neither (you could have a planet sit in the center of gravity of the rotating binary, effectively having both stars rotate it if you see it from the planet).

Whether such planets are stable (tidal effects might rip them apart), let alone whether they can sustain life are questions not yet answered.

jwenting 1,905 duckman Team Colleague

Another low is people posting code in the wrong language when asked to show what they've already done.
Sometimes complete with comment headers attributing it to other people.

Nick Evan commented: So true. +0
iamthwee commented: Welcome back my man! +0