| Python | Bash | C/C++ | Java | Julia | |
|---|---|---|---|---|---|
| and | and | -a | && | && | && |
| or | or | -o | || | || | || |
| not | not | ! | ! | ! | ! |
| bit and | & | & | & | & | & |
| bit or | | | | | | | | | | |
| bit not | ~ | ~ | ~ | ~ | ~ |
| bit xor | ^ | ^ | ^ | ^ | ^ |
| vector and | |||||
| vector or | |||||
| vector not | |||||
| equals | == | -eq | == | == | == |
| not equal | != | -ne | != | != | != |
| greater than | > | -gt | > | > | > |
| less than | < | -lt | < | < | < |
| greater than or equal to | >= | -ge | >= | >= | >= |
| less than or equal to … |
Gitignore Examples
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Tips and Traps
- You can ignore files in the root directory only by prefixing a pattern with
/. For example, if you want to ignore the file features.txt in the root …
Visual Studio Code for Java Development
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Java Development in Visual Studio Code
https://code.visualstudio.com/docs/languages/java
https://www.youtube.com/watch?v=RJIfsSmU9zk
https://iseif.dev/2019/06/05/vscode-as-java-ide/
https://github.com/redhat-developer …
Tips on pylint
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Tips and Traps
Optional Pylint checkers in the extensions module
Message Control
-
Show ERROR messages only.
pylint -E some_script.py -
Show ERROR and WARNING messages only.
pylint --disable=R,C some_script …
Write Unit Tests Using PyTest in Python
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Run pytest in the root directory of your project to run all test suites.
You can run test cases in a specific test file (e.g., test_file.py)
using the command …
Data Types in Different Programming Languages
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
| Data Type | C | C++ | Rust | Java | Python | numpy | pyarrow | Spark SQL | SQL |
|---|---|---|---|---|---|---|---|---|---|
| 8 bit integer | short (16-bit) | int8_t | i8 | short (16-bit) | int (arbitrary precision) | int8 | TinyInt … |