Hi
I wana creat a boolean field in my oracle table but I seen there is no boolean or byte data type so,which one of the oracle datatype I must choose for a boolean value?
hello.
Is there a way to define using typedef integral/float type which implies no aliasng?
something equivalent to (but primitive construct):
template < typename T >
struct restrict { T* __restrict data; };
I guess this may be a novice question ( Which I am :) ).
While redirecting user to custom error page, for e.g. 404, to tell that page wasn't found, the type of this redirect is 302.
<error statusCode="404" redirect="/Utility/Error404.aspx" />
<error statusCode="400" redirect="/Utility/Error404.aspx" />
Is it possible to make this redirect 301 through Web.config?
Thanks in advance to you all code maniacs.
I have a link within a block. At the moment it goes to a list of newsletter nodes:
<p><a href="<?php global $base_url; print $base_url;?>/news-events/newsletter">Read our latest newsletter</a></p>
What I would prefer is to have it go to the latest node of the content type 'newsletter', is this possible?
I have the following class
public class MyClass<T> {
public Class<T> getDomainClass() {
GET THE CLASS OF T
}
}
I've googled this problem and all the answers I could find told me to use getGenericSuperClass(), but the problem of this method is that I must have a second class that extends MyClass and I don't want to do this. What I need is to get the parametrized type of a concrete class?
my list has value such as
m=[['na','1','2']['ka','31','45']['ra','3','5']
d=0
r=2
t=m[d][r]
print t # this is givin number i.e 2
Now when I use this value
u=[]
u=m[t]
I am getting an err msg saying type error list does take str values...
i want to use like this how can i convert that t into a integer??
please suggest..
thanks..
Hi,
Can you please tell me where I can find a 'gitk' type of tool for hg on ubuntu?
I have tried '$ sudo apt-get install tortoisehg' but I get this:
$ hgtk
abort: This version of TortoiseHg requires Mercurial version 1.3.n to 1.4.n, but finds 1.5.2
Hi, i am detecting images on my webpage with javascript document.images function which returns an rray of images. Is there any way to get the mime type of the image from this since i am not using any extension names on images which are loading?
I'm create a list item via ASP.Net to be published automatically on Sharepoint. However, I cannot find how to define the content type via the CAML query.
given a list of python strings, how can I automatically convert them to their correct type? Meaning, if I have:
["hello", "3", "3.64", "-1"]
I'd like this to be converted to the list
["hello", 3, 3.64, -1]
where the first element is a stirng, the second an int, the third a float and the fourth an int.
how can I do this? thanks.
Hi Guys,
I'm looking to test some code I've written and to do so I need to construct a variable of type Location and to give it a long / lat value but I'm unsure how I would do so. Any ideas?
I have a PHP application using an Oracle XE database.
Whenever I add a date the hours minutes, and seconds seem to get left out.
Is there some special format, or type I should use to be able to store this? I have tried using to_date, and specifying the format I am using.
Many thanks for any suggestions from this confused MySql dveloper.
I know how to delete single files, however I am lost in my implementation of how to delete all files in a directory of one type.
Say the directory is \myfolder
I want to delete all files that are .config files, but nothing to the other ones.
How would I do this?
Thanks Kindly
I am making a windows service to be able to run operations on a sql server database (insert, edit, etc) and invoke Stored Procs.
However, is there a way for me to know the type of the SP? When invoking from C#, I need to knof if it is returning 1 value, or more, or none (so I can use executereader, scalar, etc)?
Thanks
Sorry for the multitude of iPhone Programming newb questions but..
what is the reason for having an unsigned type for something such as
- (unsigned)count
for the NSArray class.
Why not just define it as
- (int)count
?
I have this object which is an instance of a superclass. I want to know which subclass that object really is, so that I can decide what to do with it. There is this getClass() method but it's apparently not used for comparison issues. How can I get the sub-type of my object?
What is the correct type to use in Qt development (or C++ in general) for decimal arithmetic, i.e. the equivalent of System.Decimal struct in .Net?
Does Qt provide a built-in struct? (I can't find it in the docs, but maybe don't know where to look.)
Is there a "standard" C++ library to use?
I have a control that I purchased. When I tried to inherit from the control I get this message:
Warning: 'MyNamespace.MyFile': base type 'Mooseworks.UI.MwTextBox' is not CLS-compliant
Is there any way around this besides asking the vendor of my control to make their control CLS compliant?
I am running CentOS 5.5 x86_64 with JDK 1.6, Eclipse Galileo, and the 0.9.7 ADT is installed; however, after installation, the Android project type is not available. I have checked in the installed packages list and it is installed. Anybody encounter this problem before? Could it be due to my use of the 64-bit java VM that is installed on my system?
[MetadataType(typeof(Deal_Validation))]
public partial class Deal
{
}
public class Deal_Validation
{
[Required]
public string Title { get; set; }
public double? EstValue { set; get; }
}
How to validate EstValue (check if it is of type double?)
Thanks
When I type some Class, e.g. Console, then press ctrl+space and intellisense show hint "Class System.Console Represents standart input, output and error streams...."
How programmatically get this text. Can't find in google, may be I'm stupid noob.
Thanks.