My guess would be b/c the semantics of a List (aka a Sequence) would mean it is 'unbounded'.
With that said, you can construct an ArrayList with an initial capacity, to keep the arraycopy's to a minimum:
// we have < 100 things to put in here ArrayList foo = new ArrayList(100);
But I'm not sure what you're after so this might not help you.
He should be externalizing the picklists to a.properties file. He'll get the caching through Properties and the strings will be ready for localization.
If the picklists are at all updateable while the application is running, he can cache as he does, but he'll a mechanism to invalidate the cache and re-read from the database.
Forgetting that for a moment:
Hungarian notation is NOT necessary in Java. Period. End of story.
No one uses Vector anymore.
There are some nice tag libraries, so STOP PUTTING JAVA CODE IN JSPS!
If you're a code monkey, memorize these two quotes:
Increasingly, people seem to misinterpret complexity as sophistication, which is baffling - the incomprehensible should cause suspicion rather than admiration. - Niklaus Wirth
and
...it is simplicity that is difficult to make. - Bertholdt Brecht
Considering Hamas and Islamic Jihad have a singular stated goal, that being the destruction of Israel, it's kind of hard for Israel to come up with a solution.
Irregardless, your attack on Israels inability to solve their terrorist problem has nothing to do with their ability to deal with terrorism on a daily basis.
It's better than GT because the controller is about the same size as the steering wheel on my car right?
I hear this a lot about Xbox. I find the standard controller fits my hands perfectly. I guess most people have tiny little hands.:-)
MS made a smaller controller for those of you with petite hands. Did Sony ever make a big controller for those of us w/ big hands? (Actually, I don't know the answer to that, they may have...)
Feh. I'm tired of defending Xbox. I like it. You don't. Big deal.
I couldn't get over here quick enough from alterslash to make sure someone pointed out to this goofball that the base in Cuba has NOTHING to do with the Cuban government or any of it's laws.
What scares me is the fact that the masses have deemed the post, at this time, a 5.
Well, back to alterslash and then on over to kuro5hin.org.
Now, I would like to point out that this XBox is hardly used because there really just aren't that many great games for it.
I'm certainly no zealot, but I'd disagree. Halo is great, I've thoroughly enjoy Amped, Outlaw Golf was fun until I mastered it (but I love golf, so that's not really fair), Morrowind was epic, enjoyable, and entirely too long (to me Baldur's Gate was too long), and my personal favorite is Project Gotham.
Now, I've never owned or enjoyed playing a racing game. I'm not even a big car guy (I drive a 95 Neon), but this game is a blast. I bought the driving wheel, which is the only way to play the game. The city streets are identical to the real world, down to crosswalk markings and pavement coloring (e.g., the green and red pavement in London, properly textured). After more than 36 hours of finished race time, I still come back for more.
In fact, while driving around with my wife in my Neon, I like to threaten her with a power slide by grabbing the hand brake and saying, "Hold on, Kudos opportunity!" That game honestly changed the way I look at driving in real life. I love it.
Hold your flames, though, I realize the physics were ph*cked with to make the game more arcade-y. It's still a hell of a game. Plus, the Carrera GT was just up on Yahoo's most popular photo list, which is my personal favorite car in the game (b/c I haven't earned the F50 yet).
So bite your toungue with that no fun games stuff.:-) I (probably the only one, based on sales) don't think GTA3 is all that special. The graphics are ho-hum, and having sex with hookers to up my strength simply doesn't get me off. Slapping them around ranks about the same. I guess I'm not 18 any more...
This telemarketing Counter-Script was linked to back in October over at Blue's News. It seemed to be relevant to this discussion. I keep a copy next to my phone, but alas, I haven't had a telemarketer get through to me yet.
Also, the cops have busted my chops during their yearly grab for cash, as a poster mentioned earlier (pre-emptive hang-ups and general McGruff-ness). I just write it off to them having to do a shitty and thankless job.
We have a DirecTivo combo box on our television with two inputs from the satelite, enabling view-one-record-another capability. It works great. As an added bonus, DirecTV just dropped the monthly fee from $10/mo to $5/mo for the Tivo service (which all comes on one bill).
I just can't get over the fact that they dropped my monthly fee without my having to request or otherwise prod them. It's that kind of thing that creates customer loyalty, to both Tivo and DirecTV.
I'll put this one in the public domain, so as we can all benefit from it:
If you're in the mood, answer the phone. Answer with your name, e.g., "This is Doug." If there is a pause, or the person on the other end says, "May I speak with Mr. X", they are a telemarketer (in all likelihood). The pause is a dead giveaway, and asking for me by last name means they don't know who I am.
At this point, hang up the phone. No need to be polite and try to reason your way out of the call. Really. It's okay. These are professional telemarketers. This kind of rejection rolls off their back like water on a duck (Simpson's, Daryl Strawberry anyone?).
If the call really was legitimate, they'll be calling back, although I haven't had a false positive using this technique yet.
Come on, folks, everytime some article is posted about Java, there are always folks out there who say:
"Java Sucks, d00d! It's SO SLOW! My mother runs faster than Java! Sun should make it Open Source! Er, free! Er, under full community control! 1337 w4nk3r5 like myself use C! Or better yet, Assembly!"
Oh, wait, it's being used on a cool device. Guess it doesn't suck so bad now, huh?
After reading through the primer at the above mentioned site, which mostly speaks of our impending doom, here's my take (if you didn't read their primer, this won't make sense):
We may very well be destined to doom soon, but who's to say that 200 billion is the likely 'soon' number? Why not 200 trillion? Which would mean we have a long time to go before we doom soon. Or better yet, why not 1 billion? Which would put us well past the doom soon scenario. And just because we're able to think up this 'thought experiment', how does that have any real impact in the real world, where there are a seemingly infinite number of variables that could impact the situation postitively or negatively...
The whole thing sounds contrived. And you know what they say about statistics...
But then again, those guys are much smarter than my dumb ass, so what do I know.
Offtopic Flamebait: Taco hoarding the best posts?
on
IBM Wants Linux
·
· Score: 1, Insightful
I've been noticing this for a while, and I've got to get it off my chest.
Is it just me or does it sometimes seem like CmdrTaco posts the 'best' stories? I get the feeling that he's pulling the best for himself, not letting anyone else post the 'big' stories...
Is he really a tyrant with a large ego appetite? Where everyone is walking around on eggshells, careful not to upset the big 'T'? Lest he throw a 'hissy fit' and a large dosh of 'shit' their way for posting what was clearly a 'Taco' quality post?
These are the things I think about before I force myself to go to work on Mondays...
How come the problems I encounter at work aren't nearly this interesting! My problems are typically as complex as, "Gee, should the GUI button say OK or Okay?".
No wonder custom business software is often over engineered. We're bored to death with mundane business logic!
...to address the problems/complexities web apps currently face. As long as we have to use browsers to access information, we'll use the standards that come with those browsers to deliver that information.
Until then, however, I just can't imagine the entire web content delivery infrastructure being dropped to support some new technology.
And by the way, since when is Java a client side programming language like JavaScript???
They give these problems to be addressed by Curl:
* Slow response. To dynamically update any new data within a page, the Web server must re-send and the browser must redraw the entire page. Compare this to a typical application, where only a small part of the screen - the part being updated - is redrawn.
* Inflexibility. Data is transmitted inefficiently from server to client because HTML forces data and layout information to be fully expanded. This increases the size of the data packet delivered - and the cost to deliver it.
* Big downloads. HTML requires extra coding to handle layout, boosting download size.
A) Last I saw (when this page was rendered for me) Gecko was doing a pretty good job with that re-rendering. Plus, using frames in your HTML can eliminate the need to redraw an entire page.
2) When was the last time you left a web site/page because it took to long to download the text? It's the.gifs and.jpegs that cause headaches.
D) This would seem to be an extension of their second point, and I would still maintain the problem is with the graphics happy designers, not the html itself...
Anyway, I won't deny there is a need for a technology like this, but as long as someone will have to download a plugin for it, it'll likely be just another proprietary tool, like Flash.
Hughes/DirecTV should have waited until the last possible moment before the super bowl to turn on their trojan. That would have been true justice.
As it stands today, they gave the boys a chance to go out and get re-equipped with either a replacement, a new crack, or some other alternative. Entirely too merciful. IMHO.
We rebooted our NT Web Servers every night to achieve Stability (all 15 of them). That's first hand experience. By the way, they'd still crash during the day.
Speed
Define serious benchmark. If 'serious benchmark' means that it shows Windows as faster than Linux, then sure, Windows is faster.
Price
Linux administrators may cost more (I don't know this for sure, but I'll concede it to make the point), but in the aforementioned server farm, we had to staff the joint 24x7 for the nightly reboots. Think that was cheap?
Security
You must be kidding. Are you trolling?
I sure don't think Linux is a panacea, but I *know* Windows isn't.
If the picklists are at all updateable while the application is running, he can cache as he does, but he'll a mechanism to invalidate the cache and re-read from the database.
Forgetting that for a moment:
- Hungarian notation is NOT necessary in Java. Period. End of story.
- No one uses Vector anymore.
- There are some nice tag libraries, so STOP PUTTING JAVA CODE IN JSPS!
If you're a code monkey, memorize these two quotes:and
(quotes from http://www.vanderburg.org/Misc/Quotes/soft-quotes
And I thought I was the only one to really /get/ that movie.
Considering Hamas and Islamic Jihad have a singular stated goal, that being the destruction of Israel, it's kind of hard for Israel to come up with a solution.
Irregardless, your attack on Israels inability to solve their terrorist problem has nothing to do with their ability to deal with terrorism on a daily basis.
It looks like the image is based on a vector graphics file, like Illustrator or something.
If that's the case, the guy can generate any sized raster file you'd like. He might even give you the vector file, but I doubt it.
Let me know if you get a decent file, I have access to a Roland 54" (family business).
dougvanhorn can be mailed at yahoo.com.
I hear this a lot about Xbox. I find the standard controller fits my hands perfectly. I guess most people have tiny little hands.
MS made a smaller controller for those of you with petite hands. Did Sony ever make a big controller for those of us w/ big hands? (Actually, I don't know the answer to that, they may have...)
Feh. I'm tired of defending Xbox. I like it. You don't. Big deal.
Mod this up. CS != Programming.
I had to follow this all the way down, but you hit on the point I was going to make. His analogy was not a fair one.
Going back the other way, leaning on a car and breaking it is more like sending an email and busting the server.
I couldn't get over here quick enough from alterslash to make sure someone pointed out to this goofball that the base in Cuba has NOTHING to do with the Cuban government or any of it's laws.
What scares me is the fact that the masses have deemed the post, at this time, a 5.
Well, back to alterslash and then on over to kuro5hin.org.
Opinions differ, and I was just trying to weigh in with a positive one re: the XBox.
FYI, the first day I brought mine home the thing fried after about 5 minutes. I exchnaged it the same day.
I also just replaced a hard drive and CDROM from 96 on a piece of equipment at work. I think hardware tends to be luck of the draw.
I'm certainly no zealot, but I'd disagree. Halo is great, I've thoroughly enjoy Amped, Outlaw Golf was fun until I mastered it (but I love golf, so that's not really fair), Morrowind was epic, enjoyable, and entirely too long (to me Baldur's Gate was too long), and my personal favorite is Project Gotham.
Now, I've never owned or enjoyed playing a racing game. I'm not even a big car guy (I drive a 95 Neon), but this game is a blast. I bought the driving wheel, which is the only way to play the game. The city streets are identical to the real world, down to crosswalk markings and pavement coloring (e.g., the green and red pavement in London, properly textured). After more than 36 hours of finished race time, I still come back for more.
In fact, while driving around with my wife in my Neon, I like to threaten her with a power slide by grabbing the hand brake and saying, "Hold on, Kudos opportunity!" That game honestly changed the way I look at driving in real life. I love it.
Hold your flames, though, I realize the physics were ph*cked with to make the game more arcade-y. It's still a hell of a game. Plus, the Carrera GT was just up on Yahoo's most popular photo list, which is my personal favorite car in the game (b/c I haven't earned the F50 yet).
So bite your toungue with that no fun games stuff. :-) I (probably the only one, based on sales) don't think GTA3 is all that special. The graphics are ho-hum, and having sex with hookers to up my strength simply doesn't get me off. Slapping them around ranks about the same. I guess I'm not 18 any more...
doug.
This telemarketing Counter-Script was linked to back in October over at Blue's News. It seemed to be relevant to this discussion. I keep a copy next to my phone, but alas, I haven't had a telemarketer get through to me yet.
Also, the cops have busted my chops during their yearly grab for cash, as a poster mentioned earlier (pre-emptive hang-ups and general McGruff-ness). I just write it off to them having to do a shitty and thankless job.
Nope. That's a Kramer-ism (from Seinfeld) I picked up along the way.
I'm terribly un-origninal that way.
We have a DirecTivo combo box on our television with two inputs from the satelite, enabling view-one-record-another capability. It works great. As an added bonus, DirecTV just dropped the monthly fee from $10/mo to $5/mo for the Tivo service (which all comes on one bill).
I just can't get over the fact that they dropped my monthly fee without my having to request or otherwise prod them. It's that kind of thing that creates customer loyalty, to both Tivo and DirecTV.
Giddy Up.I'll put this one in the public domain, so as we can all benefit from it:
If you're in the mood, answer the phone. Answer with your name, e.g., "This is Doug." If there is a pause, or the person on the other end says, "May I speak with Mr. X", they are a telemarketer (in all likelihood). The pause is a dead giveaway, and asking for me by last name means they don't know who I am.
At this point, hang up the phone. No need to be polite and try to reason your way out of the call. Really. It's okay. These are professional telemarketers. This kind of rejection rolls off their back like water on a duck (Simpson's, Daryl Strawberry anyone?).
If the call really was legitimate, they'll be calling back, although I haven't had a false positive using this technique yet.
This technique is licensed under the GPL.
Giddy Up.
Come on, folks, everytime some article is posted about Java, there are always folks out there who say:
"Java Sucks, d00d! It's SO SLOW! My mother runs faster than Java! Sun should make it Open Source! Er, free! Er, under full community control! 1337 w4nk3r5 like myself use C! Or better yet, Assembly!"
Oh, wait, it's being used on a cool device. Guess it doesn't suck so bad now, huh?
-- Never post before coffee --
After reading through the primer at the above mentioned site, which mostly speaks of our impending doom, here's my take (if you didn't read their primer, this won't make sense):
We may very well be destined to doom soon, but who's to say that 200 billion is the likely 'soon' number? Why not 200 trillion? Which would mean we have a long time to go before we doom soon. Or better yet, why not 1 billion? Which would put us well past the doom soon scenario. And just because we're able to think up this 'thought experiment', how does that have any real impact in the real world, where there are a seemingly infinite number of variables that could impact the situation postitively or negatively...
The whole thing sounds contrived. And you know what they say about statistics...
But then again, those guys are much smarter than my dumb ass, so what do I know.
I've been noticing this for a while, and I've got to get it off my chest.
Is it just me or does it sometimes seem like CmdrTaco posts the 'best' stories? I get the feeling that he's pulling the best for himself, not letting anyone else post the 'big' stories...
Is he really a tyrant with a large ego appetite? Where everyone is walking around on eggshells, careful not to upset the big 'T'? Lest he throw a 'hissy fit' and a large dosh of 'shit' their way for posting what was clearly a 'Taco' quality post?
These are the things I think about before I force myself to go to work on Mondays...
CrplChimichanga
"What we're trying to do is educate the population about what is appropriate..."
What they don't realize is that they don't get to decide what is appropriate. It's us, the people, the society, the culture, that get to decide.
Just because they pushed a law through when no one was looking doesn't make them the 'appropriate' authorities.
This all goes back to this article posted a few days ago on Kuro5hin. Perhaps someone should forward it to their lawyers...How come the problems I encounter at work aren't nearly this interesting! My problems are typically as complex as, "Gee, should the GUI button say OK or Okay?".
No wonder custom business software is often over engineered. We're bored to death with mundane business logic!
...to address the problems/complexities web apps currently face. As long as we have to use browsers to access information, we'll use the standards that come with those browsers to deliver that information.
.gifs and .jpegs that cause headaches.
Until then, however, I just can't imagine the entire web content delivery infrastructure being dropped to support some new technology.
And by the way, since when is Java a client side programming language like JavaScript???
They give these problems to be addressed by Curl:
* Slow response. To dynamically update any new data within a page, the Web server must re-send and the browser must redraw the entire page. Compare this to a typical application, where only a small part of the screen - the part being updated - is redrawn.
* Inflexibility. Data is transmitted inefficiently from server to client because HTML forces data and layout information to be fully expanded. This increases the size of the data packet delivered - and the cost to deliver it.
* Big downloads. HTML requires extra coding to handle layout, boosting download size.
A) Last I saw (when this page was rendered for me) Gecko was doing a pretty good job with that re-rendering. Plus, using frames in your HTML can eliminate the need to redraw an entire page.
2) When was the last time you left a web site/page because it took to long to download the text? It's the
D) This would seem to be an extension of their second point, and I would still maintain the problem is with the graphics happy designers, not the html itself...
Anyway, I won't deny there is a need for a technology like this, but as long as someone will have to download a plugin for it, it'll likely be just another proprietary tool, like Flash.
Just my 43 Lira
Seems like they wouldn't have to change the article at all, right?
I suppose that most users wouldn't know how to deal with that, though.
Hughes/DirecTV should have waited until the last possible moment before the super bowl to turn on their trojan. That would have been true justice.
As it stands today, they gave the boys a chance to go out and get re-equipped with either a replacement, a new crack, or some other alternative. Entirely too merciful. IMHO.
Stability
We rebooted our NT Web Servers every night to achieve Stability (all 15 of them). That's first hand experience. By the way, they'd still crash during the day.
Speed
Define serious benchmark. If 'serious benchmark' means that it shows Windows as faster than Linux, then sure, Windows is faster.
Price
Linux administrators may cost more (I don't know this for sure, but I'll concede it to make the point), but in the aforementioned server farm, we had to staff the joint 24x7 for the nightly reboots. Think that was cheap?
Security
You must be kidding. Are you trolling?
I sure don't think Linux is a panacea, but I *know* Windows isn't.Will there be hot grits? The breakfast of Jedi?