In Java, when you do
int b;
b = b + 1.0;
You get a possible loss of precision error. But why is it that if you do
int b;
b += 1.0;
There isn't any error?
how is it possible to slide only the half of viewport width while clicking next or previous link.
Currently it's set to full viewport size and need some code modification for sliding half of viewport width.
http://intrepidstudios.com/projects/jquery-just-another-carousel/demo.aspx
In axis2 on Java it's possible to run operations in the browser by the way you send the url
for example
localhost:8080/axis2/services/SimpleService?wsdl
could have operations implemented by writing urls like so
localhost:8080/axis2/services/SimpleService/hello?param0=xxx
My Question is can you do the same in PHP5 SoapServer where the url is as below?
localhost/soaptest/index.php?wsdl
Thanks
In error reports from some I have quite often seen following behaviour: IDirect3DVertexBuffer9::Lock fails, returned error code is D3DERR_NOTAVAILABLE.
Once this happens, quite frequently (but not always) it is followed by CreateTexture or CreateVertexBuffer failing with error D3DERR_OUTOFVIDEOMEMORY.
What are possible reasons for vertex buffer lock failure? Could virtual memory address space exhausted, or what?
Can any one let me where the memory leaks can happen when we are developing Java based application.
I am aware of Database but apart from that, is there any other possible ways .
Please list the scenarios
Hi,
Is it possible to add a class to a br tag when using the HtmlTextWriter.WriteBreak method?
writer.AddAttribute(HtmlTextWriterAttribute.Class, "className");
writer.WriteBreak();
I need an xHtml compliant html output and therefore the WriteBreak is perfect as it writes
<br />
I want to add a class to the br so that I have
<br class="className" />
I am need to parse a pdf file. I would like to use objective-c and Cocoa classes to do so, but I need the resulting application to run on Linux. Is this possible? My experience to Objective-C revolves around the iPhone so I'm relatively new to Cocoa. Thanks.
Is it possible to use pure Encrypting and Decrypting keys instead of private and public keys? As I know in .Net asymmetric RSA implementation private key RSAParameters parameters = (new RSACryptoServiceProvider()).ExportParameters(true) is a superset of public key. And using private key we can both encrypt and decrypt our data. But I need key only for decrypting data. How to do it?
I experimented on nulling RSAParameters fields, but RSACryptoServiceProvider object can't import such parameters.
Is it possible to send SMS from a Java application. I don't want to use J2ME in this case. I want to know with respect to J2SE and J2EE only. Is there any API available to achieve this? If it is available whether we have to use any service provider or not for this? Can you tell me how to achieve that?
The default generated hashCode and equals implementations are ugly at best.
Is it possible to make eclipse generate ones from HashCodeBuilder and EqualsBuilder, and perhaps even a toString with ToStringBuilder?
Hi !
I am working on a website to sell PDF's online, where user can get the download link by email after paying through paypal.
What could be the possible paypal payment status values for the above scenario ?
I can only think of Complete & InComplete. Do using Processing makes sense here ?
I have to make an application where a "sender" can send a message to a group of people and to a location. So when a member of the group reach this place (using location position with the cell phone), he receives all the messages for this location. I have thought to make the application using the twitter API, but I'm not really sure if that functionality is possible.
Thank you!
i like store the structure in to the Text file and also retrive the same.
i created a structure name student details consists the values
studentid,student name,student avg.i like to store this structure details in Textfile for many students.after that i like to reteive that details from Textfile using student id.i am working in wondows form application.is it possible in c#.
Hi,
is possible overwriting a Doctrine model in Symfony?
I'm trying no change a "notnull" property, but i can get it..
In 'plugins/sfDoctrineGuardPlugin/config/doctrine/schema.yml':
sfGuardUser:
actAs: [Timestampable]
columns:
id:
type: integer(4)
primary: true
autoincrement: true
username:
type: string(128)
notnull: true
unique: true
#...
And in 'config/doctrine/schema.yml':
sfGuardUser:
columns:
username:
type: string(128)
notnull: false
unique: true
Then "build-all-reload" but it doesn't change..
Any idea?
Javi
Is it possible to have Apache htaccess rewrites take effect before it hits django?
For example so I can redirect iPhone users to a completely different domain without even hitting django.
Thanks
I know i can simulate a memory warning on the simulator by selecting 'Simulate Memory Warning' from the drop down menu of the iPhone Simulator. I can even make a hot key for that.
But this is not what I'd like to achieve. I'd like to do that from the code by simply, lets say doing it every 5 seconds. Is that possible?
i am getting automated request from some ips i have blocked the ip now its coming from some other ip..is it possible to detect the automated request ...and block the ip programtically
thanks..
I have an LDAP server to which i do not have full privileges and an ubuntu system with LDAP authentication to which i am root. Is it possible to add an LDAP user to a local group?
(i dont know if i phrase this correctly but all i want is to have a user in LDAP in a group without edititing the actual database)
I'm trying to construct a T-SQL statement with a WHERE clause determined by an input parameter. Something like:
SELECT * FROM table
WHERE id IN
CASE WHEN @param THEN
(1,2,4,5,8)
ELSE
(9,7,3)
END
I've tried all combination of moving the IN, CASE etc around that I can think of. Is this (or something like it) possible?
Is it possible to execute a JAR file on any OS (like Windows, Linux, Mac OS X)? I want to build a simple application that I want to run on Linux, Windows, and Mac OS X. Could the JAR file be run on any OS with java installed?
I would like my classes to be identified each type by an unique hash code. But I don't want these hashed to be generated every time a method, eg. int GetHashCode(), is invoked during runtime. I'd like to use already generated constants and I was hoping there is a way to make the compiler do some come computing and set these constants. Can it be done using templates? Could you give me some example, if it is possible.
Hi,
I'm wondering if it is at all possible to get the total duration of an mp3 being streamed in flash?
At the moment I'm using the following code to estimate the lenght but it is always inaccurate
var loadTime:Number=_track.bytesLoaded / _track.bytesTotal;
var loadPercent:uint=Math.round(100 * loadTime);
estimatedLength=Math.ceil(_track.length / (loadTime));
Hi,
as in the title, i have:
[ServiceContract]
public interface IService
{
[OperationContract]
[WebGet(UriTemplate="abc")]
Stream GetResponse(Stream in);
}
public class Service : IService
{
public Stream GetResponse(Stream in)
{
some_function()
}
}
is it possible to pass a request context to some other function that will respond to the request?