Java, Eclipse Plugin Development and best software development practices
Thursday, December 19, 2019
Eclipse CDT Code Analysis Plugins
org.eclipse.cdt.codan.core
org.eclipse.cdt.codan.core.cxx
org.eclipse.cdt.codan.ui
org.eclipse.cdt.codan.ui.cfgview
org.eclipse.cdt.codan.ui.cxx
org.eclipse.cdt.codan.core.cxx
org.eclipse.cdt.codan.ui
org.eclipse.cdt.codan.ui.cfgview
org.eclipse.cdt.codan.ui.cxx
Monday, December 16, 2019
Uninstall Python from macOS
Remove the Python 3.8 applications directory
$ sudo rm -rf "/Applications/Python 3.8”
$ sudo rm -rf "/Applications/Python 3.8”
Remove the third-party Python 3.8 framework
$ sudo rm -rf /Library/Frameworks/Python.framework/Versions/3.8Remove the symbolic links, in /usr/local/bin, that point to this Python version. See them using
$ ls -l /usr/local/bin | grep '../Library/Frameworks/Python.framework/Versions/3.8’
and then run the following command to remove all the links:
$ cd /usr/local/bin/
$ ls -l /usr/local/bin | grep '../Library/Frameworks/Python.framework/Versions/3.8’ | awk '{print $9}' | tr -d @ | xargs rm
Edit your shell profile file(s) to remove /Library/Frameworks/Python.framework/Versions/3.8 to your PATH environment file. Depending on which shell you use, any of the following files may have been modified: ~/.bash_login, ~/.bash_profile, ~/.cshrc, ~/.profile, ~/.tcshrc, and/or ~/.zprofile.
$vim ~/.bash_profile
Resources:
Wednesday, November 27, 2019
Interesting article on improving Eclipse CDT Indexing
- Performance Improvement of roughly 37%!
- It used weak references which are garbage collected as soon as heap size becomes sparse
Wednesday, November 20, 2019
Tuesday, June 18, 2019
What tense should I use in git commit message?
So far I was mostly using the past tense since it looks natural to me but the git best practices suggest us to use imperative sentence.
Example:
My old git message:
Added IDF commands into CMake editor
New git message:
Add IDF commands into CMake editor
Follow this thread for more discussion on this:
https://stackoverflow.com/questions/3580013/should-i-use-past-or-present-tense-in-git-commit-messages
Example:
My old git message:
Added IDF commands into CMake editor
New git message:
Add IDF commands into CMake editor
Follow this thread for more discussion on this:
https://stackoverflow.com/questions/3580013/should-i-use-past-or-present-tense-in-git-commit-messages
Tuesday, June 4, 2019
Where does eclipse CDT stores CMake toolchain information?
CDT stores cmake toolchain information as part of org.eclipse.cdt.cmake.core.prefs file.
/Users/kondal/runtime-EclipseApplication6/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.cmake.core.prefs
For example, here is the content of the file
/Users/kondal/runtime-EclipseApplication6/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.cmake.core.prefs
For example, here is the content of the file
cmakeToolchains/14/__path=/Users/kondal/esp/esp-idf/tools/cmake/toolchain-esp32.cmake
cmakeToolchains/14/cdt.toolChain.id=gcc-xtensa-/Users/kondal/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
cmakeToolchains/14/cdt.toolChain.type=org.eclipse.cdt.build.gcc
cmakeToolchains/n=15
eclipse.preferences.version=1
To understand more how eclipse store preferences:
https://gnu-mcu-eclipse.github.io/developer/eclipse/runtime-preferences/
To understand more how eclipse store preferences:
https://gnu-mcu-eclipse.github.io/developer/eclipse/runtime-preferences/
Monday, April 15, 2019
Where can I find the eclipse store preferences in the file system
Eclipse stores the preferences in the workspace of your application in the.metadata/.plugins/org.eclipse.core.runtime/.settings/ directory in the <nodePath>.prefs file
For example, for CDT build environment variables stored in here:
.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.cdt.core.pref
x
Tuesday, April 2, 2019
Java processes and streams and avoiding blocks
One of the best resource on managing the streams in Java
https://wiki.sei.cmu.edu/confluence/display/java/FIO07-J.+Do+not+let+external+processes+block+on+IO+buffers
https://wiki.sei.cmu.edu/confluence/display/java/FIO07-J.+Do+not+let+external+processes+block+on+IO+buffers
Monday, March 25, 2019
Wednesday, March 6, 2019
security certificates of a jar file
$ jarsigner -verify -verbose -certs /Eclipse/plugins/com.espressif.core_1.0.0.jar
Friday, February 8, 2019
Design process and some famous design models
Design Thinking Model
Double Diamond Model
https://www.designcouncil.org.uk/news-opinion/design-process-what-double-diamond
Google Design Sprint
The Design Sprint follows six phases: Understand, Define, Sketch, Decide, Prototype, and Validate.
https://designsprintkit.withgoogle.com/methodology/overview
Subscribe to:
Posts (Atom)