Phil Chuang

Ranch Hand
+ Follow
since Feb 15, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Phil Chuang

Looks like my company is sending me out to another office to help out with a project. From what I understand, they're having performance issues with a Teradata DB.

Can anybody recommend a good resource (website, book) for Teradata JDBC, performance tuning, etc?
What do you suggest for JComboBox, or other non-Text fields?
19 years ago
Now, maybe this is just me, but I thought that the main field components (JTextField, JTextArea, JCheckBox, JComboBox, etc.) would've had some sort of addValueChangeListener method, that catches all data value modifications to the field - like changes to the text field, checkbox checked/unchecked, etc.

But there isn't any such thing. I've tried using ActionListener, KeyListener, ChangeListener, ItemListener, PropertyChangeListener, etc., but none of them do the trick. The closest thing I can do is use a FocusListener that compares entry/exit data values.

Is there any way I can get a listener that fires immediately upon value changes?
19 years ago

Originally posted by Tim Baker:

Obviously not. And why do you continue to think that providing links to other peoples opinions seems to constitute proof? I can provide you a link to an article about aliens controlling the government if you want.


In that case, do you believe that other people's opinions are always false? I mean after all, it is probably just someone's 2nd or 32512345th-hand opinion, so it's probably not true. I mean, regardless of the authority of the source, it must be demonstrably false since it doesn't fit in with your preconceived notion of reality.
And how do you go to the restroom? It's just someone's opinion of a room writ large on a sign in bold letters. For all you know it could be aliens mind-controlling the writers of the sign, and that the architect's original intent for the room was to play billiards.
It must be hard living in a world where you must determine the veracity of every single thing on your own personal experiences.
19 years ago
let's assume that there is a fictional (but functional!) method/class called fieldIdLookupQuery.findIdForField (String) that gets the id from the database.
Say I have two tables:
user_field_data, containing user_id, field_1, field_2, field_...
user_field_meta, containing field_id, field_title
So whatever has a field_id of 1 in the meta table corresponds to the field_1 column in the data table.
If I was building the query in java, it'd be something like...

My question is, is there a way to do this in one SQL SELECT statement? Ie, have sql dynamically build a column name?

Originally posted by Tim Baker:

As paranoid a statement as I have ever heard. You're anti-anti-americanism and anti-anti-semitism is as rediculous as them.


So instead of debunking his argument you resort to grammatically impaired ad hominem attacks? Now who's being ridiculous?
Me. Neener, neener
19 years ago
I love it when people say they're anti-war and then support "the Iraqi Resistance" ...
They're not anti-war, they're merely on the other side.
19 years ago
Uhm, Israel is made of Hebrews (Semites).
19 years ago
Heh, I figured that post might be a bit too over the top. I guess the point I was making was that all the world sees is over-the-top palestinianism. Not all Palestinians have the same "degree of fervency" but lunatic (fringe?) seems to be what the world's media focuses on. What amazes me even more, is that very few people think there's anything wrong with that.
19 years ago
Hah, after reading the topic title, it sounded like you wanted to hack into the Merill-lynch and adjust your portfolio
19 years ago
Ok ok ok, raving lunatics comment aside, can anyone disagree with the fact that a seemingly vast majority of Palestinians citizens (as least as represented by the media and by their leaders' own words) are hell-bent on Israeli genocide? You can call me racist all day long, and I've got the thick skin for it, but what if I was correct in my overall statement that Palestinians appear to be (image 1) (image 2)-(image 3)-(image 4)-(image 5) (image 6) (image 7)?
[Edited by moderator. Let's try to play nice please. --JM]
Oh, and would it be racist of me to call the Palestinians racist?
Now, I'm sure that there are some moderate Palestinians out there. But then again, you never see, read, or hear anything about them. You hear about "moderate muslims" at least, those who want to just live their lives and not kill the infidels, but I have never seen anything about a moderate Palestinian.
[ March 25, 2004: Message edited by: Phil Chuang ]
[ March 25, 2004: Message edited by: Jason Menard ]
19 years ago
Stephen Den Beste points out in a blog article that the assassination of Yassin, coupled with the completion of the wall, could be the catalyst for internal palestinian change. With a big figurehead gone, and the inability to strike at Israel, palestine will erupt in a brutal civil war. Which works in a lot of ways - they'll be too busy attacking each other rather than Israel, the rest of the world will see what bloodthirsty raving lunatics they are, and hopefully they'll sort some things out and be able to provide a united front to deal with. Also, if the UN asks outsiders for help, who would they ask? The US? We'd kill 'em all and let God sort 'em out. The UN would never ask Israel (OH THE IRONY) but they would do the same thing. They could try asking the Arab world, but the Arab world has never been interested in helping out Palestine, except with words and cash bounties for every Israeli/American killed. I'm hoping that this is the start of the facade coming down, so that everybody can see the situation for what it really is, rather than believe the outright lies told by biased parties.
19 years ago
Heh, I find it [morbidly] funny whenever people say, "Oh Israel just did xxxx, now it's going to be much worse for them."
Pretty much all of the Arab world is calling for their total destruction. Apart from open war (like 40 years ago), how can it get any worse? Is Hamas going to pledge to not only eradicate them, but go back in time and kill Moses? What can Hamas, Al Aqsa, etc do that is worse than their already established goal of total genocide?
I also find it offensive that the US has not given the Israelis full backing (at least in print) of their actions. I'll bet the gov't has provided assurances on the sly of our tacit support, but choose to keep it off the presses to save face.
19 years ago
Support Taiwan, yes.
Provoke a full-out war with China, no.
I think it's time to sell Taiwan some more of our surplus naval fleet.
19 years ago