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 TouchToneTommy 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: *

  • Users: thegman
  • Content: Threads
  • Order by date
  1. thegman

    Unicode in Postscript

    A simple question, with what I fear is a very compilcated answer... Basically, I need to put Chinese characters into postscript, but if I do: /STXihei findfont 12 scalefont setfont 100 100 moveto <d750> show I get a chinese character different to the unicode one that d750 represents in my...
  2. thegman

    Multi-Threading and Keypresses

    Sorry for vague title, but I am having a little trouble with both using PyQT, Python, and QT, all very new versions, problem 1 is: How can I check if Shift/Ctrl/Alt is pressed, I know I can do a keypressevent and a keyrelease event, however this goes wrong if I press shift down over the window...
  3. thegman

    New to C, how to set position in file?

    I am reading in a big file (60MB) 5k at a time, which I find is a lot faster than byte-by-byte. The problem is, if the file does not divide exactly by 5k (which it clearly very rarely will), then I miss out on the last bytes of the file, i.e. when my program tries to pick up 5k but cannot get...
  4. thegman

    Erasing Python Objects

    How is it possible to delete an object on Python, other than use 'del', as I understand that this deincrements the reference count to the object, rather than erase the object itself, I need to erase objects completely, how is this done? I know that if I delete all the references then the object...
  5. thegman

    Problems with JOIN

    I need to get a list of IDs from a table, and then link those IDs up with a 'pretty' name for the same thing in a different table, rather than use a while loop in perl to get these one at a time, which is very slow, I would like to do a JOIN, but I simply cannot get this to work, I either get...
  6. thegman

    Hash problems in Perl

    Is it possible in Perl to create a Hash structure and somehow 'flatten' it so that it may be delievered as an argument to a function without a making a reference to it? The reason I do not want to make a reference is because I want to ditch the real hash to use many times over, and this seems to...
  7. thegman

    mysql 3.20.32a - can't connect remotely

    It seems that the usual 'grant all on *.* to .....' does not work on this version of mysql, so I am finding it difficult to set up a user who can access my database server remotely. I altered the user table in the mysql database to have % as host, but it makes no diff. I note that I *can* access...
  8. thegman

    UNIQUE keys

    Is it possible to make a two UNIQUE keys in a MySQL table which work together? i.e. I have two fields in a table, either one can be the non-unique in different records, but not at the same time. so in programming terms, it's like saying if (Value1 is unique AND Value2 is unique) { CANNOT MAKE...
  9. thegman

    PRIMARY KEY in MySQL

    Is there a way to find out what the PRIMARY KEY is in a table? i.e. can I say 'SELECT PRIMARY KEY FROM mytable' and get the name of the column which is the primary key? Thanks a lot.
  10. thegman

    Use different cgi-bin per user

    I am setting up a web server which will allow username/password restricted access, is there an easy way to tell Apache to use a different cgi-bin folder depending on the user which logs on? i.e john - /Users/john bill - /Users/william

Part and Inventory Search

Back
Top