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...
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...
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...
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...
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...
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...
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...
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...
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.
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.