Use the below links for Spring boot and Camunda initializer apps.
1. https://start.spring.io/
2. https://start.camunda.com
A repository of my thoughts, a blog, a source to get insight, know-hows, my views on Software Development and everything else in between......
Use the below links for Spring boot and Camunda initializer apps.
1. https://start.spring.io/
2. https://start.camunda.com
There is no uninstaller for Eclipse, so one has to manually delete folders/files to get rid of Eclipse installation entirely. Below are the paths where some of the eclipse related files and folders are stored on windows 10.
1. Eclipse installation location (most common) :
C:\Users\<YourUserName>\eclipse
2. Desktop shortcut icons :
C:\Users\<YourUserName>\Desktop
3. Start Menu shortcut icons
C:\Users\<YourUserName>\Start Menu\Programs\Eclipse
4. Others
C:\Users\<YourUserName>\.p2 (Cache and other temp files)
C:\Users\<YourUserName>\.eclipse
C:\Users\<YourUserName>\.jrebel (JRebel)
C:\Users\<YourUserName>\.m2 (maven offline repository)
and other folders associated with Eclipse plugins that you have installed.
If you are not following Scott Hanselman's youtube channel, you should. You will get to learn new things among them some productivity tips as well. Here is his recent video.
Some comments under his videos which gives some more insights.
"Programming is hard"
Some people will give you the impression that it's easy, I guarantee they have struggled at some point. Don't worry if you're not as good as the people you watch on you tube or at work. You will get there if you stick at it. The difference between a beginner and the coding gurus? 10000 hours practice.
"Break things down"
When I am tackling a complex issue, I have to break it down into small pieces, then I just try to get one part working. Success in solving a small part of it gives you enthusiasm for having a go at the rest of the problem/feature you're working on. Break it down into the smallest part you can and just get that bit working.
"Automate all the things"
If you are working on a product or website and notice you are repeating actions on your computer, see if you can automate it with a script. I have scripts that move files around, build the solution, clear the database down or whatever I need them to do to make me not only move faster but also eliminate the boring stuff allowing me to do the enjoyable work. Also, writing scripts is wonderful because you actually solve a real problem that you have and you see the benefit from your code.
"Continue to learn"
Even after doing programming for 15 years, I am still watching pluralsight courses, watching you tube, reading books on a wide array of languages and ways of working. I may never need the language or technique I learned but knowing what is out there and what these tools/languages are capable of is a massive win.
"Don't be afraid to ask for help"
Even people like Scott Hanselman have to ask for help sometimes. Don't worry what people think of you if you have to ask for assistance, it's all about learning and knowing when you're really stuck and need help from a friend or online source. Having a chat about the issue and explaining it to someone works wonders for your own understanding and often you see the answer while you're trying to explain it to someone else. Hope this helps someone.
Happy coding.
Things I think about:
- It's not just me. Videos like this prove that everyone feels this way at some point and there are things we can do to help each other.
- Go for a walk / have a bath. I don't have a rubber duck to talk to (maybe I should) but sitting away from the PC and sounding out what the problem is normally helps me to find the solution quicker.
- Environment. Especially with us working from home at the moment, make sure there is a place you work and your family know that, if you're there, you're working and you can't really be disturbed.
- Give it up for the day. Some days we just can't do it, our mind isn't right, something else is eating at us and we just have to think "It's not happening, come back tomorrow" and do one of those jobs around the house you've been putting off for ages or sit and watch that box-set for a bit. You can't force it to happen;
- Most importantly, IT'S NOT JUST YOU.! I know I'm repeating myself but it's worth repeating. Everyone feels this way from time to time, some more than others. You've not failed if you feel this way, it's part of what we do As Scott says, this job is hard, it's a lot of concentration sat in the same place for a long period of time. Give yourself a break!
This is such an interesting and multifaceted question. There are so many different types of overwhelm and I think each one has its own cause and own solution. In the most general sense, I find the following have really helped me. 1. Try not to compare yourself to others. Only compare yourself to who you were, and don’t be afraid to give yourself some credit. 2. Look to learn from others and adopt there good habits. You’re positive attitude will not only help your team but will foster a healthy learning mindset on your technical journey. 3. Take a breath and realize that you don’t become a coding ninja, guru, whatever overnight. These things take time. You build up your skills incrementally, and soon you will be vastly superior to where you were before. 4. Realize everyone has struggles, self doubt and frustration when working. These things are completely natural. The greatest minds in the world have struggled with these issues. You can draw confidence from this, as you share this experience with some of the greatest people who have ever existed. Worries do not show something is wrong with you, they show you are on the right path. 5. Cover your basic health needs as best you can. Sleep, nutrition, breaks, conversation, training, relaxation. These are all pillars of your health and will affect your performance. 6. Sometimes when I’m overwhelmed I try to remember why exactly I’m doing this. Not the shallow reason (my boss told me to/for a pay-check), but because I love technology and what it enables. The innocent pursuit of what you love is a great reminder of what really matters. Let all other pressures decrease, and you may find your performance increases when you are at ease.
As more and more developers adopt the terminal, it becomes important to bit improvise the experience.
Scott Hansleman don't need introduction to many programmers. Recently I came across his blog post on beautifying the Windows Terminal.
Here I am posting the steps for quick reference. Install Windows Terminal and Git for windows.
For Windows Terminal
1. Download Cascadia Code font from https://github.com/microsoft/cascadia-code/releases
2. Using Windows Powershell Install Posh and Oh my posh.
Install-Module posh-git -Scope CurrentUser
Install-Module oh-my-posh -Scope CurrentUser
3. Install PSReadline
Install-Module -Name PSReadLine -Scope CurrentUser -Force -SkipPublisherCheck
4. Open your PowerShell profile
$ notepad $PROFILE5. Add the following lines to your Powershell profile at the end of the file
Import-Module posh-git
Import-Module oh-my-posh
Set-Theme Paradox
6. Set Cascadia Code PL as PowerLine font, by editing Windows Terminal Settings and add 'fontFace' and it looks like this
{
// Make changes here to the powershell.exe profile.
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"name": "Windows PowerShell",
"commandline": "powershell.exe",
"fontFace": "Cascadia Code PL",
"hidden": false
},
7. For Visual Studio Code terminal, Go to File > Preferences > Settings and search for 'Terminal integrated Font Family' and set it to 'Cascadia Code PL'.
For Ubuntu on WSL2
1. Open Ubuntu in Windows Terminal WSL
2. Run the following commands
sudo apt install golang-go
go get -u github.com/justjanne/powerline-go
3. Open ~/.bashrc using nano and then add this to end of the file and save it.
GOPATH=$HOME/go
function _update_ps1() {
PS1="$($GOPATH/bin/powerline-go -colorize-hostname -error $?)"
}
if [ "$TERM" != "linux" ] && [ -f "$GOPATH/bin/powerline-go" ]; then
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
fi
Remember not to add white space around "PS1=".
For more detailed explanations you can read his blog here : https://www.hanselman.com/blog/how-to-make-a-pretty-prompt-in-windows-terminal-with-powerline-nerd-fonts-cascadia-code-wsl-and-ohmyposh . You can also follow this tutorial from microsoft website from here: https://docs.microsoft.com/en-us/windows/terminal/tutorials/powerline-setup
He also has a nice youtube video explaining how to set it up.
Also use this link to read about setting up Ubuntu prompt : https://www.cyberciti.biz/tips/howto-linux-unix-bash-shell-setup-prompt.html
This will definitely improve experience working with the Terminal in windows. Other thing to note is that Oh my Posh V3 beta is here https://github.com/JanDeDobbeleer/oh-my-posh?WT.mc_id=-blog-scottha#themes , keep an eye on the developments of this and adopt the V3 when it is releases.
Recently I came across a nice handwritten infographic showing different ages of JavaScript. JavaScript and associated frameworks have evolved since 1997 and this infographic clasified it in 2 ages of 10 year each duration. What do you guys think what lies ahead this decade?
Source: https://twitter.com/swyx/status/1263123032328925186
new or malloc)
are satisfied by creating a suitable block from one of the free blocks.
This requires updating list of blocks on the heap. This meta information about the blocks on the heap is also stored on the heap often in a small area just in front of every block.

Can a function be allocated on the heap instead of a stack?No, activation records for functions (i.e. local or automatic variables) are allocated on the stack that is used not only to store these variables, but also to keep track of nested function calls.
malloc and C++ uses new, but many other languages have garbage collection.http://www.apache.org/dyn/closer.cgi/hadoop/common/hadoop-2.7.3/
And download a file named "hadoop-2.7.3-src.tar.gz"
Update: The link is no more valid as it has been archived, you can find hadoop-2.7.3-src.tar.gz file from : https://archive.apache.org/dist/hadoop/common/hadoop-2.7.3/
$ tar zxf hadoop-2.7.3-src.tar.gz
mv hadoop-2.7.3 /home/kiran/Step 4. Install the ssh and rsync
$ sudo apt-get install sshStep 5. Edit hadoop-env.sh file located at
$ sudo apt-get install rsync
Find this line : export JAVA_HOME=${JAVA_HOME}replace ${JAVA_HOME} with the location of java to find where the java is located execute the command "whereis java" and you will get the path. For me it was located at the below path
/usr/bin/javaI replaced the ${JAVA_HOME} with "/usr/"
$bin/hadoopThis will display the usage documentation for the hadoop script. This means you are on the right path :)
<property>b. Edit the file hadoop-2.7.3/etc/hadoop/hdfs-site.xml, between <configuration></configuration> paste the following and save
<name>fs.defaultFS</name>
<value>hdfs://localhost:9000</value>
</property>
<property>c. Edit the file hadoop-2.7.3/etc/hadoop/mapred-site.xm, between <configuration></configuration> paste the following and save
<name>dfs.replication</name>
<value>1</value>
</property>
<property>
<name>mapreduce.framework.name</name>
<value>yarn</value>
</property>
<property>Step 8. Setup SSH
<name>yarn.nodemanager.aux-services</name>
<value>mapreduce_shuffle</value>
</property>
$ ssh localhostIf you cannot then execute the following
$ ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa
$ cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
$ chmod 0600 ~/.ssh/authorized_keys
$ bin/hdfs namenode -formatb. Start NameNode and DataNode deamons by the following command
$ sbin/start-dfs.shNow you can browse the NameNode by browsing to http://localhost:50070/
$ bin/hdfs dfs -mkdir /userd. You can stop the deamon by the following command
$ bin/hdfs dfs -mkdir /user/<username>
$ sbin/stop-dfs.she. You can start ResourceManager and NodeManager deamon by the following command
$ sbin/start-yarn.shNow you can browse the ResourceManager by browsing to http://localhost:8088/
$ sbin/stop-yarn.sh
OpenJDK and fresh Install Oracle Java JDK by the following steps:OpenJDK completely by this command: sudo apt-get purge openjdk-\*
Oracle Java JDK here. jdk-8u51-linux-x64.tar.gzjava in /usr/local/by this command: sudo mkdir -p /usr/local/java
/usr/local/java. To do this, cd into directory where downloaded file is located and use this command for copying that file to /usr/local/java/: sudo cp -r jdk-8u51-linux-x64.tar.gz /usr/local/java/
/usr/local/java/ directory and extract that copied file by using this command:sudo tar xvzf jdk-8u51-linux-x64.tar.gz
jdk1.8.0_51.PATH file by opening /etc/profile file by the command sudo nano /etc/profile and paste the following at the end of the file: JAVA_HOME=/usr/local/java/jdk1.8.0_51
PATH=$PATH:$HOME/bin:$JAVA_HOME/bin
export JAVA_HOME
export PATH
sudo update-alternatives --install "/usr/bin/java" "java" "/usr/local/java/jdk1.8.0_51/bin/java" 1
sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/local/java/jdk1.8.0_51/bin/javac" 1
sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/local/java/jdk1.8.0_51/bin/javaws" 1
sudo update-alternatives --set java /usr/local/java/jdk1.8.0_51/bin/java
sudo update-alternatives --set javac /usr/local/java/jdk1.8.0_51/bin/javac
sudo update-alternatives --set javaws /usr/local/java/jdk1.8.0_51/bin/javaws
source /etc/profile
java -version command . If installation is succesful, it will display like the following:java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-xxx)
Java HotSpot(TM) Server VM (build 25.51-xxx, mixed mode)
jdk-8u51-linux-x64.tar.gz
and used this name in all the commands used in steps 2, 4 and 5. It may
depends on the type of O.S, processor type (i.e., 32bit or 64bit)sudo apt-get install gdebi
sudo apt-get install libgtk2.0-0:i386
sudo apt-get install libnss3-1d:i386
sudo apt-get install libnspr4-0d:i386
sudo apt-get install libxml2:i386
sudo apt-get install libxslt1.1:i386
Adobe Reader 9.5.5 enu