Posts by Lucas Martins • 206 points
6 posts
-
1
votes1
answer40
viewsA: onKey() method is not triggered as desired
The onKeyListener documentation says that it is only triggered with certainty by physical keyboards. Software keyboards usually do not activate this Switch, except in some special cases. I don’t…
-
2
votes1
answer191
viewsA: Assembly Intel/NASM error (invalid Combination of opcode and operands)
You can’t do operations mov and cmp with both operands pointing to memory. Also, the destination address needs to be in brackets. So, in short, you need to first move the contents of the memory to a…
-
0
votes1
answer27
viewsA: Binary file read error!! I don’t know what’s going on, the binary file exists and my program gives error
You have not made clear which error is happening or presented the file problem2.bin. Also, your code is badly formatted in the question. Anyway, I played your program by adding a step for creating…
canswered Lucas Martins 206 -
1
votes1
answer30
viewsA: Error in executing this command
At your command the str and one of pass this one without dollar ($), therefore it is being passed as value and not as variable. Probably the command you want is: openssl enc -aes-128-ecb -in $pass…
opensslanswered Lucas Martins 206 -
2
votes2
answers88
viewsA: Library import inside or outside functions
Although there are cases where importing the library into a function makes sense, the most common and recommended is that the library be imported into the file header where the library functions are…
pythonanswered Lucas Martins 206 -
0
votes1
answer65
viewsA: Url checks - Django
The most correct approach to deal with the situation is to check if the user is allowed to delete the object before doing so. For this, you need an authentication system and access control. Django…