Hello everybody,
I was wondering how does delete[] operator know the size of an array, in this case (for instance) :
int* foo = new int[42];
delete[] foo;
Thanks in advance
Hello,
I want to know what algorithm do best approximation on salesman problem,
and in what scale this approximation like to be a optimal solve (%?)
Anyone can help me on this?
Hello All:
I am using link text for implementing slider in my application, but it throws exception when the min and max values are equal. How can I handle such situation, any help on it?
Thanks
Ashwani
Hello, how can I allow only one Folder-Structure with .htaccess like that:
http://www.example.com/**dynamicword**+FIXEDWORD1+FIXEDWORD2/
the dynamicword is not fix, anything else is 301:
http://www.example.com/**dynamicword**+FIXEDWORD1+mistype/mistype/ --> 301
http://www.example.com/**dynamicword**+FIXEDWORD1+mistype/mistype --> 301
http://www.example.com/**dynamicword**+FIXEDWORD1+FIXEDWORD2/mistype --> 301
Is that possible?
Hello, how can I allow only one Folder-Structure with .htaccess like that:
http://www.example.com/**dynamicword**+FIXEDWORD1+FIXEDWORD2/
the dynamicword is not fix, anything else is 301:
http://www.example.com/**dynamicword**+FIXEDWORD1+mistype/mistype/ --> 301
http://www.example.com/**dynamicword**+FIXEDWORD1+mistype/mistype --> 301
http://www.example.com/**dynamicword**+FIXEDWORD1+FIXEDWORD2/mistype --> 301
Is that possible?
Hello, is it possible to apply 2 font filters that are of the same type but with different parameters in SIFR?
I want to get an outline effect around my fonts and tried to apply 2 glow filters with different settings to get the desirable look, but it looks like only 1 filter (last in the list of filters) is applied. Does anyone know if this is possible? Or if not how can I create a font outline in SIFR?
Thank you
Hello
I would like to store my code on a repository such as Google Code. What kind of license should I use? I don't want to block me. My code may be open source and reused by others but I want to be able to reuse it in any open source project or not, and gainful project or not.
Thank you.
Hello
I have IWebBrowser2 ctrl embedded into my own dialog. I want to simply
display a promo banner within it from my url. How to disable all popup
menu items from the control and force it to open links in new window
(currently when I click on link in the banner, it is being opened
within the same control).
Regards
Dominik
Hello,
Could someone explain me what this code does line by line ?
how t ounderstand excactly first line with declaration ?
what does it mean: [Prop (Grid ())]?
thanks for help
gridCtrl :: Window a -> [Prop (Grid ())] -> IO (Grid ())
gridCtrl parent props
= feed2 props 0 $
initialWindow $ \id rect -> \props flags ->
do g <- gridCreate parent id rect flags
gridCreateGrid g 0 0 0
set g props
return g
Hello,
It's there an existing application to visualize IIS 7.0 failed request log ?
I know you can use IE to analyse the xml log file, and we get a visual generate by the xsl file, but my xml log file have 97 MO and the IE performance is not got.
I cannot view the performance log, because i beleive there a javascript error generated.
Thanks
Hello, I have a question about Doctrine ORM M:M.
I built some tables like this:
-User
+id
+name
-Group
+id
+name
I want to link these table via a new table with Doctrine:
$this->hasMany('User as Users', array(
// I'm wondering what I can fill here
'refClass' => 'Usercategory'
));
Please help me fill the blank. Thanks.
Looking forward to hearing from you soon.
P/S:Sorry for my English
Hello, All!
Is somebody have an experience using inheritance in PostgreSQL?
Is it worth to use it, or better to keep hands of :)?
In which situation you would use it?
To be true I'm a little bit in doubt about mixing relational and OO models...
Hello, I have a find command that I run,
to find files named 'foo' in a directory.
I want to skip the ".git" directory.
The command below works, EXCEPT, it prints an
annoying ".git" any time it skips a .git directory
find . ( -name .git ) -prune -o -name 'foo'
How can I prevent the skipped ".git" directories from
printing to STDOUT?
Thanks,
--Nate
Hello All,
I'm currently using JSCharts to chart some data, however, I'm not quite sure how to hide the axes. Maybe I'm overlooking something in the reference documentation (see http://www.jscharts.com/how-to-use-reference) but I can't seem to find it!~
myChart.setAxisWidth(0); //works in Firefox but not Chrome
Thanks in advance!
Hello,
I want to be sure that user uploaded files are real videos or pictures, but not just a piece of text renamed to textfile.jpg. What are the ways to ensure?
I see the only way: detect type of file by it's extension and then, depending on file type, try to get information about it (by Imagemagick or ffmpeg).
Is there any other ways?
Thank you.
Hello,
I have a script and I want one function to run at the same time as the other.
Example code I have looked at:
import threading
def MyThread ( threading.thread ):
doing something........
def MyThread2 ( threading.thread ):
doing something........
MyThread().start()
MyThread2().start()
I am having trouble getting this working. I would prefer to get this going using a threaded function rather than a class.
Thanks for any help.
Hello,
Basically I have a Debian box running asterisk assigned an IP via DHCP with host-name XXX. My windows browser can resolve the host-name but if I use host-name in X-Lite or my SPA922 phone it fails to resolve. Is there any way of getting this to work without depending on the router or assigning a static IP (request is to make it portable). I was thinking zero-conf but am unsure (box has limited HDD too). Any help is most appreciated.
Hello,
I have an XML file ( XML file I produce ) which contains information about my parteners.
I want them to display on their website information relative to them by picking them into the XML file.
I have no idea to do that, ecxept that i need to write a 'parser' in javascript to display information.
could you please provide me examples to do that ? (how to write a parser, how to display only information for one partener ?)
Thank you,
Regards
Hello,
This may seem stupid to ask, but I have done on many css coding
#div_iv a:hover
but for darn reason, it does not seem to work now, Googled with results such as
a.hover #div_iv
#div_iv:hover
What exactly is wrong.
Thanks
Jean
Hello,
I'm looking for suggestion on how to get the DB to auto generate Ticket numbers (preferably via the SQL DB) for a varchar column. I have the following tables in the DB: Activities & Cases and would prefer the format to be "Act000001" or "Cse000001". This would be something similar to the identity column property.
Any suggestion would be highly appreciated.
Thanks.
Rusty
Hello,
How can I combine the .htaccess rules for cakephp
RewriteEngine on
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
with the following
RewriteEngine On
RewriteCond %{HTTP_HOST} folder.yoursite.com
RewriteRule ^(.*)$ /folder [L]
in other words redirect anything to app/webroot/ except /blog (wich is an exisiting folder with a wordpress installation) and redirect blog.domain.com to the blog subfolder
Thank you very much
Hello,
I am using windows 7.
i got a user on my computer a non-admin user, and i want to apply on him user policies from the Microsoft Management Console.
i added group policy object editor, chose Non-admin group, set a setting, saved and close.
but i when i logon to that user i applied to, it just won't effect!
please tell me what i miss,
thank you.