Questions tagged [mnemonics]
138 questions
5
votes
1 answer
Conflicting mnemonics in Java Swing
I'm working on a complex desktop app with multiple tabbed panes for workflow, each one stuffed with different buttons, labels and other UI elements. Each of them require a mnemonic defined, and these often come into conflict because of running out…

Rex
- 801
- 1
- 17
- 26
4
votes
1 answer
I want to get the address from mnemonic with the proper derivation path
I am very new to blockchain programming and programming in general. I want to generate my SOL address using the mnemonic seed phrase with the derivation path "m/44'/501'/0'/0". I can't find a proper BIP44 module for python where you can specify the…

Tyaaz
- 71
- 1
- 6
4
votes
0 answers
Why left shift instruction has two names (SAL and SHL) in x86-64 ISA?
I know that logical left shift and arithmetic left shift perform the same operation of multiplying the number with 2k when shifted by k bits. In x86-64 ISA, there are two instructions for logical left shift shl and arithmetic left shift sal. When…

KRS Nandhan
- 47
- 4
4
votes
3 answers
How to put mnemonic under the second instance of a Character (Java-Swing)?
I have a JButton named button1 with text "Alter Today".
I want to set a mnemonic under 'T' in the word 'Today' of this button (that is second instance of 't' or 'T' in 'Alter Today').
When I am trying to do:
button1.setMnemonic(6);
I am not able to…

Vikram
- 3,996
- 8
- 37
- 58
4
votes
2 answers
Are x86 Assembly Mnemonic standarized?
Does the x86 standard include Mnemonics or does it just define the opcodes?
If it does not include them, is there another standard for the different assemblers?

mame98
- 1,271
- 12
- 26
4
votes
3 answers
setMnemonic() and call a method by pressing the key
I have to run a method manually when pressing the key Alt+H
if("The key pressed==(Alt+H)"){
callMethod();
}
public void callMethod(){
//Some codes here
}
How I can actually do this in Java. Please give me a simple way to do this.

Yithirash
- 377
- 3
- 6
- 18
4
votes
2 answers
Missing instruction numbers in javap output
Every time I try to understand disassembled code of a compiled Java file, I wondered why some instruction numbers are missing.
A small example:
I disassembled ($ javap -c HelloWorld) a simple HelloWorld class. Here is the output:
Compiled from…

Gian U.
- 739
- 4
- 14
4
votes
0 answers
JavaFX + Scene Builder Mnemonics
I've added Mnemonics to a menu bar using JavaFX 2.2 and Scene Builder, but it doesn't work 100% well.
This is my menu:
When I press Alt, it looks like this, which is correct:
Then I press "D", and the menu opens, but the Mnemonics inside the menu…

Ginchen
- 790
- 7
- 20
4
votes
2 answers
some questions about setMnemonic
I have the code:
public class MenuBar extends JFrame {
public MenuBar() {
initUI();
}
public final void initUI() {
JMenuBar menubar = new JMenuBar();
JMenu file = new JMenu("File");
…
user2577576
3
votes
1 answer
How can I use Hedera JS SDK to generate a set of ECDSA key-pairs based on a BIP-39 seed phrase and a custom derivation path?
I'm currently using the Hedera JS SDK to generate a single ECDSA key-pair using a private key directly as an input, like so:
const privateKey = PrivateKey.fromStringECDSA(process.env.TARGET_HEX_PRIVATE_KEY);
Instead I would like to do…

bguiz
- 27,371
- 47
- 154
- 243
3
votes
0 answers
How to use github's kadena-io/cardano-crypto.js mnemonic in react native wallet
I want to use github's kadena-io/cardano-crypto.js.This is the cardano-crypto.js Link: https://github.com/kadena-io/cardano-crypto.js. But it is an error when used. I've tried a lot to fix the error, but it doesn't work. To get lib.js file in…

Tiny
- 35
- 2
3
votes
1 answer
What does gcc -E option stand for?
According to gcc manual, the -E option only preprocesses the .c source file, without running the compiler and just giving an input file (.i). But what does the -E stand for?

Nicolas F
- 33
- 3
3
votes
11 answers
Any mnemonic tip for boolean?
I guess this is trivial for most of good1 programmers, but I'm so used to programming using true and false2 that when I encounter 0 and 1, I can never remember which one means true and which one means false.
Any suggestions?
1Good: I mean one who…

Thierry Roy
- 8,452
- 10
- 60
- 84
3
votes
1 answer
String.Join and String.Split parameter mnemonic
I trip on C#'s String.Join and String.Split parameter types every time. The problem is that String.Split takes a params char[] array of characters and String.Join takes a string.
Does anyone have a good mnemonic that can help me remember which…

Chris Pfohl
- 18,220
- 9
- 68
- 111
3
votes
1 answer
Mnemonic behavior since Java 1.7 (still present in 1.8.0.121)
We have a legacy piece of software that runs on Java 1.6. When we finally got the green light to upgrade it to Java 1.8, the following problem manifested itself.
We have a set of radio buttons with accelerator keys. If a JTextComponent of any sort…

Mad Max
- 51
- 4