Top "Key" questions

A unique identifier used to retrieve a paired value.

does foreign key always reference to a unique key in another table?

Is it not possible that foreign key(single column) in a child table references to a parent key which has …

oracle key parent
android: Softkeyboard perform action when Done key is pressed

I have an EditText. I want that after typing some text, when user presses the Done key of the softkeyboard, …

android key listener android-softkeyboard
Is there a better PHP way for getting default value by key from array (dictionary)?

In Python one can do: foo = {} assert foo.get('bar', 'baz') == 'baz' In PHP one can go for a trinary …

php arrays key default-value language-design
Private key length bytes

So im generating 2048 RSA keypair. But when i look at the private key the lenght is only 1232 bytes. Does this …

cryptography key rsa private
C# Making it so the Enter Key behaves as if a button has been pressed

How do I code it so that when the enter key has been pressed it behaves as if a button …

c# key enter
what will happen if we insert into dynamo DB with a duplicate hash key?

I am trying to insert into dynamo DB. When I call the putItem function what will happen if the hash …

hash key amazon-dynamodb
Diffie-Hellman key exchange in Java

I am working on a personal project in Java which involves sending sensitive data over an insecure channel. I need …

java security key exchange-server
Group hashes by keys and sum the values

I have an array of hashes: [{"Vegetable"=>10}, {"Vegetable"=>5}, {"Dry Goods"=>3>}, {"Dry Goods"=>2}] I need to …

ruby hash key enumerable
Android simulate key press

How can I programmatically simulate a key press on a Droid? I would like to mimic a manual key press (…

java android key keypress simulate
Android edittext key return goes to next text

I have a series of EditText entries and would like it so when the user hits the enter key it …

android key android-edittext