Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Trevoke

    How to tell Terminal which version of Ruby to use?

    You can also look up "rvm" and install that... Tao Te Ching Discussions : Chapter 9 (includes links to previous chapters) What is the nature of conflict?
  2. Trevoke

    Squid: debug_options for tracing and profit

    Hi all, I'm trying to figure out what Squid could possibly be doing that takes forever on some requests. I've gotten as far as figuring out that something happens between: fwdConnectStart fwdConnectEnd What exactly do those do, and can I improve granularity? What setting should I use? Thanks in...
  3. Trevoke

    tmpfs for temp dir ?

    Hi, We are trying to use tmpfs for the temp directory to see if things go faster. We used this page as our guide: http://everythingmysql.ning.com/profiles/blogs/using-tmpfs-for-mysqls-tmpdir A script called "tuning-primer" said that about 30% of tables were created on disks, but we are...
  4. Trevoke

    How to use MySQL DBI with Ruby

    well, it is looking for the mysql headers and can't find them. You should look for a way to give the extconf script the location of the mysql installation and/or lib directory for the aforementioned installation and see how it goes from there. Tao Te Ching Discussions : Chapter 9 (includes...
  5. Trevoke

    Perl using DBI and 2 seperate connections

    Oh, I forgot to mention that, for various reasons, including security, it is better to do this: use strict; use warnings; my $query = "SELECT * FROM lawson.BUYER WHERE procure_group = ? AND buyer_code = ?"; my $st2 = $dbh->prepare("query"); $st2->execute('OCF', "$vBuyCode"); It doesn't have to...
  6. Trevoke

    Perl using DBI and 2 seperate connections

    Well, the error message tells you that this: $st2 = $dbh->prepare("SELECT * FROM lawson.BUYER WHERE procure_group = 'OCF'and buyer_code = " . $vBuyCode) Becomes this: 'SELECT * FROM lawson.BUYER WHERE procure_group = 'OCF'and buyer_code = <*>LT ') [for Statement "SELECT * FROM lawson.BUYER...
  7. Trevoke

    Perl using DBI and 2 seperate connections

    So.. Create another database handle and statement handle and use those. Tao Te Ching Discussions : Chapter 9 (includes links to previous chapters) What is the nature of conflict?
  8. Trevoke

    Are there different types of TCP?

    The first TCP was sticks and rocks. "Shut up!" "And then the other..." *WHACK* Tao Te Ching Discussions : Chapter 9 (includes links to previous chapters) What is the nature of conflict?
  9. Trevoke

    longest sequence of same chars in a string

    Or you could use regular expressions? I am just beginning in Java, so I don't know if this would work (but it works with Ruby's regexp parser): http://rubular.com/r/q83F1yvDWv Mind you, this is specific for 'o', and you'd check which match is the longest. Tao Te Ching Discussions : Chapter 9...
  10. Trevoke

    Apple bans modular programming

    Well, this is a very interesting article :) http://3dpancakes.typepad.com/ernie/2010/04/apple-bans-modular-programming.html The comments at the bottom are pretty nice, too. Tao Te Ching Discussions : Chapter 9 (includes links to previous chapters) What is the nature of conflict?
  11. Trevoke

    Which is the left side?

    In high school, I had a math teacher who used to say, Then he would physically take a step to the side. Although my favorite quote by him has always been, Tao Te Ching Discussions : Chapter 9 (includes links to previous chapters) What is the nature of conflict?
  12. Trevoke

    Another MAI Naming Contest...This time a REAL prize !

    So we shouldn't make you notice the double 'in' in your last post? Tao Te Ching Discussions : Chapter 9 (includes links to previous chapters) What is the nature of conflict?
  13. Trevoke

    can't save form select option to database

    Comboy, when it comes to RoR, you'll quickly learn that if you form a sentence like this: "xxxx BUT yyyy", then you had better have a darn good reason for the 'but'. RoR focuses on Convention over Configuration, so things are set up with "Sensible Defaults" ;) Tao Te Ching Discussions : Chapter...
  14. Trevoke

    A skilled contractor is thown to side, how to respond.

    Put your feelings to the side and be professional about it. Give them two weeks' notice. It can't hurt. While they didn't play nice with you, if the contract doesn't specify any kind of nicety about termination, then it's all fair and you probably shouldn't attempt to sue them. Tao Te Ching...
  15. Trevoke

    Another MAI Naming Contest...This time a REAL prize !

    Consulting without playing the lottery" - because you're doing what consultants would do, but you're not consultants, you're definitely trustworthy, never have to hope you get a good one. (No offense to consultants anywhere!) "Hands-off Technology". Which, I suppose, is HOT. If I were cleverer...
  16. Trevoke

    outsiders causing trouble

    Symantec invented the dark side. Tao Te Ching Discussions : Chapter 9 (includes links to previous chapters) What is the nature of conflict?
  17. Trevoke

    how to pronounce..

    Because "Ole" is actually written "Olé" ;-) Tao Te Ching Discussions : Chapter 9 (includes links to previous chapters) What is the nature of conflict?
  18. Trevoke

    how to pronounce..

    No, actually.. Parisians say "Parih". It's a short 'eeh' sound, like at the end of "chilly" (just to stay on topic). Tao Te Ching Discussions : Chapter 9 (includes links to previous chapters) What is the nature of conflict?
  19. Trevoke

    how to pronounce..

    I'd say a bowl of chil-ih con carne, and an earthquake in Chil-eh, not chil-ay. Tao Te Ching Discussions : Chapter 9 (includes links to previous chapters) What is the nature of conflict?
  20. Trevoke

    can't save form select option to database

    I don't think you really grasp the concept of relational database. The duration should really be in the 'movies' or 'plays' table as a field. Actors, on the other hand, should definitely be in a separate table because they can be linked to separate roles and are altogether different entities...

Part and Inventory Search

Back
Top