<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Kristjan Grm</title>
    <description>The latest articles on DEV Community by Kristjan Grm (@grmkris).</description>
    <link>https://dev.to/grmkris</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F135954%2Fd68dde05-4f19-4c64-9450-2375838e095b.png</url>
      <title>DEV Community: Kristjan Grm</title>
      <link>https://dev.to/grmkris</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/grmkris"/>
    <language>en</language>
    <item>
      <title>CI/CD for personal project on homerserver</title>
      <dc:creator>Kristjan Grm</dc:creator>
      <pubDate>Thu, 24 Dec 2020 14:32:21 +0000</pubDate>
      <link>https://dev.to/grmkris/ci-cd-for-personal-project-on-homerserver-3hmn</link>
      <guid>https://dev.to/grmkris/ci-cd-for-personal-project-on-homerserver-3hmn</guid>
      <description>&lt;p&gt;Hello everyone,&lt;/p&gt;

&lt;p&gt;For the sake of learning a created a simple web-app.&lt;br&gt;&lt;br&gt;
It consist of:&lt;br&gt;
next-js (react) frontend&lt;br&gt;
spring boot backend&lt;br&gt;
postgres db&lt;/p&gt;

&lt;p&gt;I am running everything on my homeserver. &lt;br&gt;
I created special VM for this. (ubuntu). I'd like to introduce CI/CD to this. I installed jenkins on seperate VM. I also set-up ssh and all things required to make this work...  &lt;/p&gt;

&lt;p&gt;For java project I simply build jar and transfer it to the application server and then run it by using remote ssh plugin..&lt;/p&gt;

&lt;p&gt;I thought I could do the same for frontend and while I think I can accomplish this the end result would be really complicated &amp;amp; messy...  &lt;/p&gt;

&lt;p&gt;So I am looking for some good advice / guide where I could learn all of above.&lt;/p&gt;

</description>
      <category>jenkins</category>
      <category>java</category>
      <category>nextjs</category>
      <category>cicd</category>
    </item>
    <item>
      <title>VScode tips on enforcing coding style</title>
      <dc:creator>Kristjan Grm</dc:creator>
      <pubDate>Wed, 12 Feb 2020 08:37:15 +0000</pubDate>
      <link>https://dev.to/grmkris/vscode-tips-on-enforcing-coding-style-27gj</link>
      <guid>https://dev.to/grmkris/vscode-tips-on-enforcing-coding-style-27gj</guid>
      <description>&lt;p&gt;Hello everyone, I hope you are having a good day.  &lt;/p&gt;

&lt;p&gt;I am looking for some tips how can I enforce "same" coding style among a team of programmers.  &lt;/p&gt;

&lt;p&gt;I think we should define stuff like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;line width&lt;/li&gt;
&lt;li&gt;naming of variables to follow the rules I define (cammelCase)&lt;/li&gt;
&lt;li&gt;spaces instead of tabs&lt;/li&gt;
&lt;li&gt;etc...&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I am not sure how granular should I be in defining the rules? Should I define relaxed rules where everyone can still do stuff like they want? Or should I be strict and opionated.&lt;/p&gt;

&lt;p&gt;We program mainly in Java but it would be cool if I could define rules for different languages (mainly Javascript(Angular - typescript and Java).&lt;/p&gt;

&lt;p&gt;In ideal world there would be a plugin that would check the codebase based on there rules:  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://google.github.io/styleguide/javaguide.html"&gt;https://google.github.io/styleguide/javaguide.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I am really greateful for any tips / help I receive&lt;/p&gt;

</description>
      <category>help</category>
      <category>codequality</category>
    </item>
    <item>
      <title>Keeping organized workflow?</title>
      <dc:creator>Kristjan Grm</dc:creator>
      <pubDate>Sun, 12 Jan 2020 08:54:11 +0000</pubDate>
      <link>https://dev.to/grmkris/keeping-organized-workflow-220m</link>
      <guid>https://dev.to/grmkris/keeping-organized-workflow-220m</guid>
      <description>&lt;p&gt;So latetly I've been noticing that my workflow is getting more and more complex. For example: &lt;br&gt;
I've been working with microservices, I had to run 3 services locally, communicate with database and 2 other external services. &lt;/p&gt;

&lt;p&gt;In total 6 services I needed to have open window. (4 tabs in browser, 2 in desktop programs). And then I had opened 2 instances of VScode for debugging etc... &lt;/p&gt;

&lt;p&gt;Usualyl there is Mail client and slack client open at all times. Few instances of Terminal window and file explorer.&lt;br&gt;&lt;br&gt;
And atleast 2 browser windows. (regular and incognito for avoiding cache problems)&lt;/p&gt;

&lt;p&gt;I usually have 1 browser only for web interfaces of programs that I use.&lt;/p&gt;

&lt;p&gt;I've tried programs like station or tryshift but they don't allow you to pin your locally run programs in there. &lt;/p&gt;

&lt;p&gt;I tried to have a seperate chrome "dev" profile. And wanted to keep all web interfaces that I need for working open there. And then another profile for research. But somehow I didn't really like this. This is powerful since you can have seperate password manager for dev stuff.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Best way to visualize line data on maps</title>
      <dc:creator>Kristjan Grm</dc:creator>
      <pubDate>Mon, 03 Jun 2019 13:11:46 +0000</pubDate>
      <link>https://dev.to/grmkris/best-way-to-visualize-line-data-on-maps-1781</link>
      <guid>https://dev.to/grmkris/best-way-to-visualize-line-data-on-maps-1781</guid>
      <description>&lt;p&gt;I'd like to show certain events on Google maps (or other software) any pointers how to do this?  &lt;/p&gt;

&lt;p&gt;Points (lines actually) would be dynamically loaded from database and presented to the user via web browser.  &lt;/p&gt;

&lt;p&gt;So what I am trying to do is a Google maps (preferably) with my own custom points(lines), that are clickable and upon clicking more info should be loaded.&lt;br&gt;&lt;br&gt;
I've done something similar with leaflet, but now the requirement is using Google maps or something similar...&lt;/p&gt;

&lt;p&gt;Thanks in advance,&lt;br&gt;
Kristjan&lt;/p&gt;

</description>
      <category>question</category>
    </item>
    <item>
      <title>How to take effective meeting notes</title>
      <dc:creator>Kristjan Grm</dc:creator>
      <pubDate>Wed, 24 Apr 2019 13:12:42 +0000</pubDate>
      <link>https://dev.to/grmkris/how-to-take-effective-meeting-notes-5c49</link>
      <guid>https://dev.to/grmkris/how-to-take-effective-meeting-notes-5c49</guid>
      <description>&lt;p&gt;I am attending lots of business meetings etc.... where clients are proposing what to change/fix etc.... what are the best way of taking notes and documenting everything?&lt;br&gt;
I don't want to lose too much time writting everything down, but I must also be careful not to miss something (my memory is kinda bad so unless I write something down i will probably forget it)....&lt;/p&gt;

</description>
      <category>question</category>
    </item>
    <item>
      <title>read xml from database (angular6, spring boot, oracle)</title>
      <dc:creator>Kristjan Grm</dc:creator>
      <pubDate>Fri, 22 Mar 2019 09:05:41 +0000</pubDate>
      <link>https://dev.to/grmkris/read-xml-from-database-angular6-spring-boot-oracle-3h9j</link>
      <guid>https://dev.to/grmkris/read-xml-from-database-angular6-spring-boot-oracle-3h9j</guid>
      <description>&lt;p&gt;When users presses button in my angular application, a server should return him an xml file, that I produced on my server.&lt;br&gt;&lt;br&gt;
I have a working sql query that generates 1 cell that contains the xml. &lt;br&gt;
I have working spring boot controller that gets the request from the frontend and then calls the db procedure. it also get the xml from the database. (i am using varhcar2 as return datatype).&lt;br&gt;
my problem is now how to return the xml as a file to user&lt;/p&gt;

&lt;p&gt;thanks in advance allready :)&lt;/p&gt;

</description>
      <category>question</category>
    </item>
    <item>
      <title>How to create an interactive pie chart?</title>
      <dc:creator>Kristjan Grm</dc:creator>
      <pubDate>Fri, 15 Mar 2019 11:51:17 +0000</pubDate>
      <link>https://dev.to/grmkris/how-to-create-an-interactive-pie-chart-365j</link>
      <guid>https://dev.to/grmkris/how-to-create-an-interactive-pie-chart-365j</guid>
      <description>&lt;p&gt;Hello everyone!&lt;br&gt;
I'd like to create a pie chart where every piece would be clickable. Chart should look like in the image below.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--qPfIksEQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/luzzvdabbj5cu33vj9t0.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--qPfIksEQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/luzzvdabbj5cu33vj9t0.jpg" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;any pointers?&lt;/p&gt;

</description>
      <category>question</category>
    </item>
    <item>
      <title>your ways of writting lots of duplicate / similar code</title>
      <dc:creator>Kristjan Grm</dc:creator>
      <pubDate>Mon, 04 Mar 2019 13:20:00 +0000</pubDate>
      <link>https://dev.to/grmkris/your-ways-of-writting-lots-of-duplicate--similar-code-4gl3</link>
      <guid>https://dev.to/grmkris/your-ways-of-writting-lots-of-duplicate--similar-code-4gl3</guid>
      <description>&lt;p&gt;I've been developing basic CRUD application. The application itself is fairly simple, but I waste lot of time writting code reading data from database / writting data to database. &lt;br&gt;
It consist of: &lt;br&gt;
FRONTEND&lt;br&gt;
-creating Angular HTML template&lt;br&gt;
-creating typescript interface&lt;br&gt;
-creating Angular Typescript code&lt;br&gt;
-creating Angular Service for said component&lt;br&gt;
-adding additional code for popups, code sharing between components&lt;/p&gt;

&lt;p&gt;BACKEND&lt;br&gt;
-creating java class for said component&lt;br&gt;
-creating INSERT, DELETE, SELECT, UPDATE methods&lt;br&gt;
-creating METHODS for getting data for autocompletes&lt;/p&gt;

&lt;p&gt;DATABASE&lt;br&gt;
-creating procedure, queries for reading / updating data.  &lt;/p&gt;

&lt;p&gt;All above is fairly simple and trivial for applications consiting of 10 elements. But for applications that have something like 100 inputs fields, and 20 forms to read from. and every form having few autocompletes etc... Writting everything above by hand becomes quite boring / time intensive.  &lt;/p&gt;

&lt;p&gt;I hope I wrote my post understandable enough to get my point across&lt;/p&gt;

</description>
      <category>help</category>
    </item>
    <item>
      <title>Learning to use computer without mouse?</title>
      <dc:creator>Kristjan Grm</dc:creator>
      <pubDate>Mon, 04 Mar 2019 08:02:49 +0000</pubDate>
      <link>https://dev.to/grmkris/learning-to-use-computer-without-mouse-okf</link>
      <guid>https://dev.to/grmkris/learning-to-use-computer-without-mouse-okf</guid>
      <description>&lt;p&gt;I am  looking for some advice how to learn to operate computer with keyboard only. I find it much faster if you know all the shortcuts / tricks etc...&lt;/p&gt;

&lt;p&gt;EDIT:&lt;br&gt;
I found some interesting links, they are below:&lt;br&gt;&lt;br&gt;
&lt;a href="https://codurance.com/2015/11/25/mouseless-programming/"&gt;https://codurance.com/2015/11/25/mouseless-programming/&lt;/a&gt;&lt;br&gt;&lt;br&gt;
&lt;a href="https://blog.codinghorror.com/going-commando-put-down-the-mouse/"&gt;https://blog.codinghorror.com/going-commando-put-down-the-mouse/&lt;/a&gt;&lt;br&gt;&lt;br&gt;
If enough people get interested in this post, I can turn all my findings into a nice post.&lt;/p&gt;

</description>
      <category>question</category>
      <category>advice</category>
    </item>
    <item>
      <title>Should every project be in its own VirtualBox VM?</title>
      <dc:creator>Kristjan Grm</dc:creator>
      <pubDate>Fri, 01 Mar 2019 11:35:24 +0000</pubDate>
      <link>https://dev.to/grmkris/should-every-project-be-in-its-own-virtualbox-vm-1kb6</link>
      <guid>https://dev.to/grmkris/should-every-project-be-in-its-own-virtualbox-vm-1kb6</guid>
      <description>&lt;p&gt;Hello everyone, I got an idea that instead of making a new folder for every project that I have, I should really create a virtual machine that has all the dependencies loaded etc...&lt;br&gt;&lt;br&gt;
At my job we have loads of different project that use different versions of python/java etc... and sometimes it is really time consuming setting everything up.&lt;br&gt;&lt;br&gt;
Your thoughts / advice?&lt;/p&gt;

</description>
      <category>help</category>
    </item>
  </channel>
</rss>
