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
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.
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#.
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?
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.
I'm trying to develop an algorithm that identifies all possible paths between two nodes in a graph, as in this example.
in fact, i just need to know which nodes appear in all existing paths.
in the web only got references about DFS, A* or dijkstra, but i think they doesn't work in this case.
Does anyone know how to solve it?
As you all know the VS 2010 RC is out for MSDN subcribers.
Unfortunately I guess I have the same problem as some of you, in that the company I work for wants to continue keeping our projects on VS 2008.
I would like to know if its possible for me to work with VS 21010, then later convert my projects back to VS2008?
I intend to use v3 of the framework for this particular project.
Thanks in advance..
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?
Hello,
Is it possible to call my ejbs from Flash actionscript? If yes, can anybody give me any link or example to accomplish the same?
Also if my ejbs are returning List how will flash come to know about this class?
Thanks in advance :)
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?
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
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 ?
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
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?
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 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.
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)
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'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?
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?