In computing, signedness is a property of data types representing numbers in computer programs.
0
votes
0answers
8 views
Why does Facebook send the signed request via POST?
Why does Facebook send the signed request via POST ?
Indeed if the signed request were sent via GET it will allow client-side javascript code to get it. Thereby the application could be stored in a ...
0
votes
0answers
19 views
How to avoid applet security confirmation using policy files
I've made an applet, which requires access to the user's home catalog. First I signed it with a self signed certificate and everything works if the user accepts the applet security prompt.
The problem ...
0
votes
1answer
30 views
Can we upload apk with different signed keystore after deactivate current apk in android
I want to upload apk with different signed keystore after deactivate current apk.
Actually company lost old one keystore that used for signed APK.
So any another way for get old keystore or upload new ...
0
votes
1answer
15 views
Overflow flag cleared after SBC with overflow in 6502 emulation?
I've "finished" emulating my 6502 processor, and I'm in the testing phase right now. Being the beginner that I am, I've been stuck on this one issue for a couple of hours already. I'm following an NES ...
0
votes
0answers
44 views
I want to multiply signed and unsigned in vhdl
I have the following issue:
I need to multiply and add various std_logic_vectors and to obtain a result, which can be either negative or positive. Then I have to check the result: 1. if it is negative ...
0
votes
1answer
55 views
Signed Hexadecimal to decimal in C++
By using std::hex and std::dec, it is possible to parse hexadecimal from a string and convert it to a decimal number in C++. But what if the hexadecimal number is signed?
The following code for ...
0
votes
0answers
16 views
uploading word signed document to sharePint Library
I´m trying tu upload a signed Word document to SharePoint Library, but when I Download the document uploaded from The Library the Sign are Broken!!!!.
Any Idea how to upload a Signed Document? ...
0
votes
2answers
54 views
comparison of signed and unsigned numbers [duplicate]
Here is the question as shown below and the answers comes as True.I know there is some promotion which would happen when you compare an signed and unsigned.Can you please tell me how does the signed ...
3
votes
4answers
92 views
Java int to unsigned byte
Long story short, I'm reading some integer values from one file, then I need to store them in a byte array, for later writing to another file.
For example:
int number = 204;
Byte test = new ...
0
votes
0answers
57 views
Applet - Both signed and unsigned code warning message only with 1.6.0_45
I'm working with legacy code where the login is performed through an applet (as I've commented it is legacy code ;D). We've been working with several JRE versions (1.6.0_29, 30 and 43) and all have ...
0
votes
0answers
30 views
how can we bypass the “do you want to run this application?” warning message for a java applet [duplicate]
We have created an online board game. But now, not all users want to accept this warning. How can we bypass this warning box? Is there any way for this? For example, if we use a signed/trusted ...
1
vote
0answers
38 views
Signed JNLP results in more security dialogs
I have an Eclipse RCP application that is deployed via WebStart. We have not been signing our top level JNLP and as a result launching the client results in the following dialog with the yellow ...
5
votes
1answer
111 views
Difference between char and signed char in c++?
Consider the following code :
#include <iostream>
#include <type_traits>
int main(int argc, char* argv[])
{
std::cout<<"std::is_same<int, int>::value = ...
0
votes
3answers
124 views
Unsigned Powershell scripts from HTA
I have created the below batch file and it works flawlessly as long as I run it manually.
However, if I run the .bat file from a HTA application, PowerShell says that he can't run the script because ...
1
vote
1answer
59 views
How to convert signed 32-bit int to unsigned 32-bit int in python?
This is what I have, currently. Is there any nicer way to do this?
import struct
def int32_to_uint32(i):
return struct.unpack_from("I", struct.pack("i", i))[0]
0
votes
0answers
42 views
jnlp file containing a set of signed and unsigned jars
I have a set of jars that I build and signed on the build machine and deploy to our servers.
There is one other jar that is created dynamically on the server itself and I have no way of signing it. ...
0
votes
0answers
29 views
How to make sure signed jar file deployed on web server (jboss, glassfish, or tomcat) integrity?
In the mobile application, the signed jar (or apk, cod) stay in handset, and OS has some ability to keep them integrity. But in the web application deployed jboss, glassfish or tomcat etc., If it is ...
-1
votes
2answers
65 views
java Serialize Object to ByteArray
Hy guys! I've been searching for some old posts about Serialization in Java.
I want to convert an Object into a ByteArray. So far I´ve done this:
public class test
{
public static void ...
0
votes
1answer
72 views
JavaScript to Java applet - working
This is a continuation of my original post here: javascript-to-java-applet-using-deployjava-js-to-run-commandline
I am pretty new to Java. I want to create a Java Applet that will allow my ...
7
votes
3answers
177 views
Why does std::abs return signed types
I'm getting warning for signed vs. unsigned comparison when I'm comparing a std::abs(int) against an unsigned. And indeed, std::abs returns signed values. Why was that choice made? It would have ...
0
votes
1answer
149 views
Android app with Facebook SDK 3 doesn't login after sign the app
I have an app on play store, recently I updated it with new Facebook 3 SDK ,
all I want to do with Facebook integration is that users can post words/strings from my app to Facebook wall .
I write the ...
0
votes
1answer
45 views
Signed left shift behaviour
public class Shift {
public static void main(String[] args) {
for(int i = 0; i < 32; ++i){
System.out.println(-0x55555555 << i);
}
}
}
Running the ...
-1
votes
1answer
55 views
Modulo arithmetic with signed integers undefined behavior in c?
Having read all answers and comments in Should you always use 'int' for numbers in C, even if they are non-negative? I'm still not sure what to do in the following situation.
Two remote ...
0
votes
3answers
94 views
How to sign extend a 9-bit value when converting from an 8-bit value?
I'm implementing a relative branching function in my simple VM.
Basically, I'm given an 8-bit relative value. I then shift this left by 1 bit to make it a 9-bit value. So, for instance, if you were ...
0
votes
1answer
100 views
What C standard says about bitwise XOR of two signed integers? [duplicate]
Which ANSI C standard says something about bit wise XOR of two signed integers? I tried to read the standard, but it is vast.
XOR of two signed integers is valid as per C standard? What will happen ...
0
votes
2answers
189 views
should use size_t or ssize_t [duplicate]
At my code, I do not use int or unsigned int. I only use size_t or ssize_t for portable.
for example:
typedef size_t intc;(instead of unsigned int)
typedef ssize_t uintc;(instead of int)
Because ...
10
votes
1answer
165 views
How to detect negative number assigned to size_t?
This declaration compiles without warnings in g++ -pedantic -Wall (version 4.6.3):
std::size_t foo = -42;
Less visibly bogus is declaring a function with a size_t argument, and calling it with a ...
0
votes
3answers
103 views
Is it okay to use int instead of a size_t in looping over a vector?
If I have an integer vector
vector<int> vec;
and I loop in the following way
for(int i=0; i<vec.size(); i++)
{
// do something
}
I get the signed/unsigned mismatch warning.
Of ...
-1
votes
1answer
157 views
Signed apk doesn't work on my device
I've developped an android application using Xamarin. It works fine on the emulator but crashes on real device. The apk gets installed on the device and on opening the app it says "application has ...
-1
votes
1answer
124 views
PHP/MYSQL converting unsigned int to signed int
in mysql:
select CAST(17640478426339470149 as SIGNED INTEGER); #-806265647370081467
in php:
echo sprintf("%d", 17640478426339470149); #-806265647370082304
how I will get same signed int ? (and ...
0
votes
1answer
51 views
How to replace a single class file inside signed jar?
I am new to Java. I have a basic question. I developed a Core Java application and deployed it as a signed jar (example App.jar). If I need to correct a single class file (assume that some major bug ...
0
votes
0answers
118 views
amazon s3 signed url with restricted ip address
I have the following code for nodejs that works for generating signed urls for an s3 bucket that expire after 'expirySeconds', I have been looking for a way to generate signed urls in the same fasion ...
1
vote
3answers
79 views
What is the difference between signed and normal short
What is the difference between signed and normal short in c++? Is the range is different?
0
votes
0answers
90 views
PHP send email with certificate
i have problem with sendind digitally sign mail. I use class phpmailer (2.0.4). PHP Version 4.4.9 and OpenSSL/0.9.8. When i send email, i receive mail with corrupted body.
...
1
vote
2answers
275 views
16 bit hex string to signed int in Java
I have a string in Java representing a signed 16-bit value in HEX. This string can by anything from "0000" to "FFFF".
I use Integer.parseInt("FFFF",16) to convert it to an integer. However, this ...
0
votes
0answers
64 views
Facebook Query String on apps.facebook.com
I've done facebook tab page with passing parameter by using signed_request , app_data
https://www.facebook.com/example?sk=app_12332133&app_data=abc
and I echo it out on php
...
0
votes
1answer
160 views
Error when trying to export android project to apk
I cannot resolve this problem and I am here for help. When I try to export my android project to apk in eclipse (any way - by exporting signed or unsigned application project) I'm receiving an error - ...
1
vote
0answers
133 views
Android - signed decimal doesn't allow negative input key
android:inputType="numberDecimal|numberSigned"
Did not work right, the keyboard that pops up doesn't allow the negative sign.
So I tried using this class from a similar question:
Android InputType ...
0
votes
1answer
307 views
One's twos compliment 8 bit signed magnitude, in binary
So this was one of the questions in my textbooks, we haven't got there yet but i'm interested in how this all works,
For the first bit here, my understanding of one's complement is you flip so where ...
3
votes
4answers
731 views
Invalid conversion from unsigned char* to char*
Here is a code -
1 int main(int argc, char *argv[])
2 {
3 signed char S, *psc;
4 unsigned char U, *pusc;
5 char C, *pc;
6
7 C = S;
8 C = U;
9
10 pc = ...
0
votes
1answer
144 views
I need help: Send a list of bytes with UDP to a Server, o it works with signed/unsigned bytes
I have the following problem:
I have to send a list of bytes from my android phone to an old server with udp. Because in java the bytes are signed, the server receive always to many bytes. Instead of ...
-6
votes
2answers
119 views
Android Signed Apk stop unexpectedly [closed]
I want To Launch More then 1 copy of the same app so I use Apk Tool To Change Package Name, I changed the Package Name And rebuilt the Apk. After signing the Apk I installed and when I Open App It ...
0
votes
0answers
313 views
PhoneGap Android with SSL fails after signed
I am developing an app that works fine in debug mode running from eclipse. But when it is exported from eclipse unsigned and then signed on our server with our keystore, it can no longer access ...
0
votes
1answer
149 views
Signing application in cmd with jarsigner
I've been following this tutorial on How to sign your app before publishing and everything works fine until the last step, number 6. When I enter my pass, i get this error
jarsigner error: ...
0
votes
1answer
195 views
Convert 16-bit signed PCM to usigned 16-bit
I have a audio wave file (*.wav) and I have the audio data formatted in signed 16-bit (from -32767 to +32768).
I want to convert them in unsigned 16-bit (from 0 to +65535).
Is there some idea how to ...
0
votes
0answers
294 views
Giving signed java applet permission to run in IE8
I'm getting a pop-up that says:
Please give the signed Java applet permission to run before logging in and enable Java if it is not enabled.
I have already gone to Tools > IO > Security > Custom ...
1
vote
0answers
26 views
Signed Applet - File dialog fails to open on any but local client [duplicate]
Possible Duplicate:
applet method calling from javascript
This is a persistent problem for me. I have tested locally a signed applet in a Tomcat deployment that allows local file access. ...
3
votes
4answers
242 views
Why C compiler cannot do signed/unsigned comparisons in an intuitive way [closed]
By "intuitive" I mean given
int a = -1;
unsigned int b = 3;
expression (a < b) should evaluate to 1.
There is a number of questions on Stackoverflow already asking why in this or that ...
0
votes
2answers
1k views
VHDL std_logic_vector conversion to signed and unsigned with numeric_std
I have some doubts about the use of the conversions from std_logic_vector to signed/unsigned. I always use the conversion signed(...), unsigned(...), but when I try to use the conversions defined in ...
3
votes
0answers
83 views
Android Gen Folder disapear when export signed APK
Big issue.
Everytime I try to export a signed APK using eclipse, at the last action, when I click "finish" the content of my gen folder suddenly disapear so the R file cannot be resolved anymore and ...