<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Fortra Armenia - Medium]]></title>
        <description><![CDATA[Fortra is a cybersecurity company like no other. In recent years, Fortra has grown to more than 3,000 employees and over 30,000 global customers. Fortra Armenia office is one of the Development centers with over 140 staff locally. - Medium]]></description>
        <link>https://medium.com/fortra-armenia?source=rss----ac10d5a8fbec---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Fortra Armenia - Medium</title>
            <link>https://medium.com/fortra-armenia?source=rss----ac10d5a8fbec---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 20:26:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/fortra-armenia" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Artificial Intelligence and the latest testing technologies]]></title>
            <link>https://medium.com/fortra-armenia/artificial-intelligence-and-the-latest-testing-technologies-f5e264fb2d1b?source=rss----ac10d5a8fbec---4</link>
            <guid isPermaLink="false">https://medium.com/p/f5e264fb2d1b</guid>
            <category><![CDATA[test-automation]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[quality-assurance]]></category>
            <dc:creator><![CDATA[Fortra Armenia]]></dc:creator>
            <pubDate>Wed, 30 Jun 2021 12:40:18 GMT</pubDate>
            <atom:updated>2021-06-30T12:39:53.054Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5-HrPJokWR31i4mckc1KFQ.png" /></figure><p><em>By Rafik Baghdasaryan</em></p><p>The 2018–19 report states that the growth of artificial intelligence has a big impact on QA activities and will continue to grow in the upcoming years. According to the World Quality Report, AI will “enable companies to transform testing to a fully self-generating, self-running and self-adapting activity.” In order to achieve that, you need to reach proficiency in automation.</p><blockquote>“The main purpose of applying AI in QA is to create a smarter and faster testing architecture that runs and adapts itself automatically to application changes.”</blockquote><p>What does this mean when it comes to practice? To put it simply — you can use AI to apply smart analytics to the most important decisions in the testing process, for example, task assignment optimization, test data generation, test case design approach, test execution priorities or to generate optimal test reports. Beyond that, AI will be involved more and more in the execution phase, which is the most critical path of product validation.</p><p>This is the natural way of transformation for QA and testing activities. Business demands fast delivery, a quick reaction to changes, high-quality products with optimized costs — therefore, forces us to introduce these smart solutions. Some are available as ready-to-use, off-the-shelf products (basically all Application Lifecycle Management tools) and others might be developed/enhanced in-house.</p><h3>What are the predictions for the future?</h3><blockquote>“The latest software testing trends have seen significant growth in the use of open-source automation tools, at the expense of some commercial products. It’s partly about cost, of course, but also about flexibility, and about solving problems collegiately within the Open Source community.”</blockquote><p>The future of software testing is faster tests, faster results, and most importantly, tests that learn what really matters to users. Ultimately, all testing is designed to make sure the user experience is wonderful. If we can teach a machine what users care about, we can test better than ever before.</p><p>Conventionally, testing lags development, both in speed and utility. Test automation is often a weak spot for engineering teams. ML can help to make it a strength.</p><p>What ML means for the future of software testing is autonomy. Smart machines will be able to, using data from current application usage and past testing experience, build, maintain, execute, and interpret tests without human input.</p><p>It’s likely that not all aspects of software development should be automated. Given a long tradition of E2E testing being driven primarily by human intuition and manpower, the industry as a whole may initially resist handing the process over to machines. Across practically every industry, insiders contend that machines could never do a human’s job. Those who have resisted the rise of ML and doubled down on human labor often find themselves left behind.</p><p>A familiar story is unfolding in the world of testing: ML-driven test automation is in its infancy today, but it is likely only a few years away from taking over the industry.</p><h3>Autonomous End-to-End Tests</h3><p>Machine Learning’s core advantage in E2E testing is being able to leverage highly complex product analytics data to identify and anticipate user needs. ML-driven testing is able to watch every single user interaction on a Web application, understand the common (and edge) journeys that users walkthrough, and make sure these use cases always work as expected.</p><p>If that machine is testing many applications, then it can learn from all of those applications to anticipate how new changes to an application will impact the user experience. ML-driven testing can already build better and more meaningful tests than humans thanks to this data.</p><p>The tests developed by ML-driven automation are built and maintained faster and far less-expensively than test automation built by humans. Such testing leads to much faster (and higher quality) deployments and is a boon for any VP Engineering’s budget.</p><h3>What About Testers?</h3><p>What about the people currently doing these jobs?</p><p>Quality engineers still have a major role to play in software development. The most efficient way to assure quality in software is to embed quality control into the design and development of the code itself. Testing only exists because that process is imperfect.</p><p>As ML takes over the burden of E2E testing from test engineers, those engineers can use their expertise in concert with software engineers to build high-quality code from the ground up. From our own interviews on the matter, it seems most quality engineers would far prefer this to grind away at test maintenance all day.</p><h3>The Future Looks Bright</h3><p>ML offers a more streamlined and effective software testing process. It establishes a process that’s better equipped to handle the volume of developments and create the needed specialized tests. Smart software testing means data-based tests, accurate results, and innovative industry development.</p><p>Today’s fast-paced evolution of enterprise application testing environments shows no sign of abating. As it continues to evolve, Quality Engineering will be defined less by its focus on the applications themselves, and even more by its alignment with business purposes. That means using real-time testing, monitoring, and fixes to ensure the business “works” as well as the code. And it means developing self-learning, self-adapting systems supported by machine learning and advanced analytics.</p><p>Keep in touch with HelpSystems Armenia on <a href="https://www.facebook.com/HSInternationalLLC/">Facebook</a>, <a href="https://www.instagram.com/helpsystemsarmenia/">Instagram</a> or <a href="https://www.linkedin.com/company/helpsystems-armenia/">LinkedIn</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f5e264fb2d1b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fortra-armenia/artificial-intelligence-and-the-latest-testing-technologies-f5e264fb2d1b">Artificial Intelligence and the latest testing technologies</a> was originally published in <a href="https://medium.com/fortra-armenia">Fortra Armenia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Looking for new opportunities - a misleading statement most people won’t notice.]]></title>
            <link>https://medium.com/fortra-armenia/looking-for-new-opportunities-a-misleading-statement-most-people-wont-notice-9c2b6e4021c7?source=rss----ac10d5a8fbec---4</link>
            <guid isPermaLink="false">https://medium.com/p/9c2b6e4021c7</guid>
            <category><![CDATA[management]]></category>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[new-opportunities]]></category>
            <category><![CDATA[employee-engagement]]></category>
            <dc:creator><![CDATA[Pavel Snkhchyan]]></dc:creator>
            <pubDate>Tue, 20 Apr 2021 12:41:24 GMT</pubDate>
            <atom:updated>2021-04-20T12:41:24.123Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HpDxFEHdpr_rhuKMe83Ayw.png" /></figure><p>Looking for new opportunities — a keyword phrase that any person on the employment market has heard and used. It has pretty much become a widespread idea that everyone seems to share. From LinkedIn suggesting you add to your profile that you’re <em>looking for new opportunities</em> to motivational speakers encouraging you to go for the <em>new</em> opportunities. However, this phrase has always bugged me, so I decided to share my thoughts with you. We’re not going to analyze the essence of said opportunities but rather discuss the mindset of <em>“looking”</em> and what effect it can have on your professional life.</p><h3><strong>Looking vs creating</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fkkHP79cicKAfiGC" /></figure><p><strong>Entrepreneurs</strong> — when we talk about them we understand a person, who is owning full responsibility for what is happening in his/her professional life. An entrepreneur is the best person to understand what <em>“looking for new opportunities”</em> means.</p><p>This is a vital process that should be in each entrepreneur and business gene. This statement is basically true and I believe most entrepreneurs will agree with me. But how correct is applying the phrase <em>“looking”</em> for today’s reality?</p><p>Each entrepreneur is in a constant process of improving, growing, changing, exploring their own business. I believe that the word “<em>looking</em>” has become broadly outdated and misleading. The first perception of the word <em>“looking”</em> is that there is something that is already out there and might be applied, added or explored. In today’s world, where markets of various products and services are very much saturated, <em>“looking”</em> is NOT enough anymore. We will return to this, but let me just highlight one psychological aspect of it.</p><p>For me, <em>“looking” </em>is paying attention to something that is already there, ready, possible as an option which basically can be accessible for everyone. This creates a sense of consumerism rather than exploration and creating which is very much in entrepreneur’s blood.</p><p>Seems like the word <em>“creating”</em> is better reflecting innovation, adventurous risk-taking, genuine creativity and exploration. There is a huge psychological difference between <em>“looking”</em> and <em>“exploring” </em>from a behavioral point of view, not saying that these are two totally different processes.</p><blockquote><strong>A wise man will make more opportunities than he finds. Francis Bacon.</strong></blockquote><p>Entrepreneurs in today’s life should apply, and there are those who already applied, a concept of <em>“creating”</em> new opportunities and not <em>“looking”</em>. Entrepreneur’s mindset should operate with a creating opportunity and not looking for one. I am sure this is very easy to grasp for an entrepreneur.</p><p>But how does this apply to an employee, who is an indivisible part of every business?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wyBSS4Vp-7k-FAGJ" /></figure><p><strong>Employees</strong> — Seems life phrase <em>“looking for new opportunities”</em> was written for employees. An employee works for a business, where he/she performs a certain set of responsibilities. And then comes the time, when for some objective and subjective reasons, whether fixable or not, an employee is starting to look for other employment options, aka looking for new work opportunities.</p><p>Even though there are performance management systems, behavioral analytical AI algorithms, 1/1 sessions, motivational techniques (including stock options, bonuses, etc.) and other methods applied in organizations to better track employee’s output, satisfaction and relationship, these all areas are dealing with resulting behaviors. In other words, these systems don’t get to work with the origin and rather deal with an effect, resulting behavior.</p><p>Employees will always be detached from the business, feeling that “it’s not their business” and will keep “looking for new opportunities” unless…</p><p>Unless entrepreneurs embrace “creating”, instead of “looking” and work with employees to create, cultivate that strong mental attachment to the business and give employees the opportunity to create.</p><p>Each position has different rooms for creativity and attitude towards work should be creating and adding value, rather than doing what is told as a job responsibility and consume benefits of it. In order to become a more valuable, impactful and meaningful element of the business, employees should operate with creation and deeper mindset and unlock opportunities.</p><p>A good exercise can be to ask yourself what creates opportunities in the current position that can bring additional value and benefits to the business. Have your significant input, be a part of success and rip fruits of success together with entrepreneurs! Try and explore all opportunities, before making up your mind to change your current job.</p><p>Entrepreneurs from their side should be sharing part of success with an employee, who helped him create that value and reach success. Modern entrepreneurs need that from their staff, not just only get “shit” done.</p><blockquote><strong>Forget “Looking for new opportunities” and embrace “Creating new opportunities” instead!</strong></blockquote><p>We at HelpSystems are constantly working with all our employees (better to say shareholders, as they literally are) to have the right<em> “create”</em> mindset, which gives us a sense of equally shared responsibility for the products we create and great sense of satisfaction when we ripe the fruits of success! We communicate this to all employees who come to us from Interns to Team Leads.</p><p>Keep in touch with HelpSystems Armenia on <a href="https://www.facebook.com/HSInternationalLLC/">Facebook</a>, <a href="https://www.instagram.com/helpsystemsarmenia/">Instagram</a> or <a href="https://www.linkedin.com/company/helpsystems-armenia/">LinkedIn</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c2b6e4021c7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fortra-armenia/looking-for-new-opportunities-a-misleading-statement-most-people-wont-notice-9c2b6e4021c7">Looking for new opportunities - a misleading statement most people won’t notice.</a> was originally published in <a href="https://medium.com/fortra-armenia">Fortra Armenia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Distributed scheduling with Work4j]]></title>
            <link>https://medium.com/fortra-armenia/distributed-scheduling-with-work4j-6e102ae1d947?source=rss----ac10d5a8fbec---4</link>
            <guid isPermaLink="false">https://medium.com/p/6e102ae1d947</guid>
            <category><![CDATA[scheduling]]></category>
            <category><![CDATA[scaling]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[quartz]]></category>
            <category><![CDATA[work4j]]></category>
            <dc:creator><![CDATA[Davit Petrosyan]]></dc:creator>
            <pubDate>Fri, 12 Mar 2021 15:08:31 GMT</pubDate>
            <atom:updated>2021-03-14T14:55:27.563Z</atom:updated>
            <content:encoded><![CDATA[<p>Almost every large application one way or another addresses the problem of scheduling. There is always work to do at a specific time, with a specific period. Usually, you will choose a simple library in your favorite language to use and everything will be great. However, at a certain scale this becomes a real challenge.</p><p>In this article we will discuss how to use Work4j and setup a distributed job orchestration subsystem to run thousands of tasks across any number of machines, pods or containers.</p><h3>What is Work4j?</h3><p><a href="https://github.com/imastio/work4j">Work4j</a> is an open source library based on Quartz that adds some important features such as instant scaling with load balancing, replication, job management, monitoring and more.</p><h3>Separation of Concerns</h3><p>In contrast with <a href="https://github.com/quartz-scheduler/quartz">Quartz</a>, Work4j separates two main pieces based on their responsibilities — Scheduler Controller and Worker Controller. As you may guess from the names, first one is responsible for defining, monitoring and ordering jobs in, while the second one takes care of actual jobs to be executed properly according to their schedule.</p><p>Based on your actual needs you may choose if scheduler and worker controllers should be bundled together or they should be hosted separately, but in either way both are designed to scale.</p><p>In this example the Scheduler Controller will be hosted as a REST API, while Worker Controller will be hosted inside a simple console application.</p><p>In a nutshell, we want to achieve the architecture demonstrated in this figure:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sDs_F94l5etf6vVv4-1LEg.png" /><figcaption>Distributed Scheduling Subsystem with Work4j</figcaption></figure><p>First of all, we will create a REST API to handle all the operations with jobs, then we will create a worker program that will run the jobs. The messaging infrastructure, in fact, is optional, and designed to deliver any request from scheduler to worker immediately. In this example we will achieve this with polling for simplicity, however, you can integrate and use whatever messaging system you have in your application.</p><h3>Setup of Scheduler Controller</h3><p>As mentioned earlier, everything can be bundled within one single application, however, in this example will host Scheduler Controller as a separate REST API based on Spring Boot. We also will use MongoDB as a database to store and manage our jobs. You can easily change this by implementing a special interface for your preferred database. Here is the <a href="https://github.com/imastio/work4j/wiki/The-Scheduler-Controller">wiki page</a> with more details about Scheduler Controller and Scheduler Data Repository.</p><p>First of all, let’s add necessary Maven dependencies:</p><pre>&lt;dependency&gt;<br>    &lt;groupId&gt;io.imast&lt;/groupId&gt;<br>    &lt;artifactId&gt;work4j-data-mongo&lt;/artifactId&gt;<br>    &lt;version&gt;0.0.1.RC2&lt;/version&gt;<br>&lt;/dependency&gt;</pre><pre>&lt;dependency&gt;<br>    &lt;groupId&gt;io.imast&lt;/groupId&gt;<br>    &lt;artifactId&gt;work4j-controller&lt;/artifactId&gt;<br>    &lt;version&gt;0.0.1.RC2&lt;/version&gt;<br>&lt;/dependency&gt;</pre><p>Here are two main dependencies: <strong>work4j-data-mongo</strong> and <strong>work4j-controller</strong>. The first one is a data provider implemented specifically for MongoDB, while the second one is the scheduler controller module itself. Of course, when using MongoDB-based repository, you will need to include it’s driver <em>mongodb</em>-<em>driver</em>-<em>sync.</em> The complete pom file example can be found <a href="https://github.com/imastio/work4j/blob/v0.0.1.RC2/samples/distributed-sample/scheduler/pom.xml">here</a>.</p><p>Once dependencies are specified, let’s create some Spring Beans:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7a59d6a2e4a10cbc374062d5dc2438e3/href">https://medium.com/media/7a59d6a2e4a10cbc374062d5dc2438e3/href</a></iframe><p>Assuming you already have a MongoClient and MongoDatabase to store the data in. At that point all you need to do is create this two beans:</p><ol><li>Scheduler Data Repository — for any data manipulation operations,</li><li>Scheduler Controller — the entry point for all the scheduler operations.</li></ol><p>Then, as we plan to expose our controller as a REST API, we will create a set of endpoints for all the required scheduler operations. For this purpose we will create following REST endpoints:</p><ol><li>Defining and managing jobs — <em>/api/v1/scheduler/jobs</em></li><li>Managing job executions — <em>/api/v1/scheduler/executions</em></li><li>Monitoring execution iterations — <em>/api/v1/scheduler/iterations</em></li><li>Managing workers and clusters — <em>/api/v1/scheduler/cluster</em></li></ol><p>In this example, we have created four main API’s to handle all the scheduler operations. This includes defining jobs, executing them, monitoring iterations and cluster states. The complete example can be found <a href="https://github.com/imastio/work4j/tree/v0.0.1.RC2/samples/distributed-sample/scheduler/src/main/java/io/imast/samples/scheduler/resources">here</a>.</p><h3>Setup of Workers</h3><p>Worker is, in fact, the actual piece of software that will execute the jobs. In Work4j, workers are backed by Quartz which already has various features inside such as persistence and clustering. In a nutshell, worker should have two main pieces — a channel to connect to the scheduler and the actual implementations of running jobs. Rather than this, it’s important to note, that workers and schedulers can synchronize in two ways: polling and messaging. Work4j supports polling-based synchronization out -of-box and provides simplistic interface to implement synchronization using your favorite messaging system (Kafka, RabbitMQ, other). In this example we will setup workers to synchronize with scheduler by polling.</p><p>First of all, let’s highlight some of dependencies to build the worker:</p><pre>&lt;dependency&gt;<br>    &lt;groupId&gt;io.imast&lt;/groupId&gt;<br>    &lt;artifactId&gt;work4j-worker&lt;/artifactId&gt;<br>    &lt;version&gt;0.0.1.RC2&lt;/version&gt;<br>&lt;/dependency&gt;</pre><pre>&lt;dependency&gt;<br>    &lt;groupId&gt;io.imast&lt;/groupId&gt;<br>    &lt;artifactId&gt;work4j-model&lt;/artifactId&gt;<br>    &lt;version&gt;0.0.1.RC2&lt;/version&gt;<br>&lt;/dependency&gt;</pre><pre>&lt;dependency&gt;<br>    &lt;groupId&gt;io.imast&lt;/groupId&gt;<br>    &lt;artifactId&gt;work4j-channel&lt;/artifactId&gt;<br>    &lt;version&gt;0.0.1.RC2&lt;/version&gt;<br>&lt;/dependency&gt;</pre><p>Here is an example of worker application setup:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/643fddd2bfcd68403df3330af079c4be/href">https://medium.com/media/643fddd2bfcd68403df3330af079c4be/href</a></iframe><p>What we do here is very simple. First, a Worker Configuration object is created to tell how we expect the worker to behave. Then, we try to connect to the scheduler to register the worker in it either to share the load within cluster or to replicate the load.</p><p>When worker tries to join to a cluster, it should declare its kind to be one of these:</p><ol><li>Exclusive — the worker should be the only worker in the cluster. If there is already any active worker in the cluster, connection will fail. In this case, persistence is not necessary.</li><li>Replica — the worker will execute all the jobs assigned to the cluster regardless existence of other workers.</li><li>Balanced — the worker will share the load with other balanced workers in the cluster. This behavior is based on Quartz’s native clustering using one of its shared persistence methods.</li></ol><p>Another important point here is we have to implement the Scheduler Channel if we want a custom way of communication between Scheduler and Worker controllers. In this example, as Scheduler Controller is exposed as a REST API, the Scheduler Channel should be implemented as an HTTP Client that interacts with the Scheduler API.</p><p>At last, the Worker Controller can be created and executed. This is where you define:</p><ol><li>The job types supported by worker and their implementations,</li><li>The necessary dependent modules for each job type if any,</li><li>Optionally, define the custom listener that will accept execution-related messages (pausing/resuming jobs, scheduling new ones, removing, etc.).</li></ol><p>Here is an example of how to implement executor for a specific job type:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c53cf7b5c87f279f0f50a2836b380140/href">https://medium.com/media/c53cf7b5c87f279f0f50a2836b380140/href</a></iframe><p>This is it! Now our infrastructure is ready to serve incoming jobs. More about implementing jobs can be found <a href="https://github.com/imastio/work4j/wiki/Implementing-a-job-type">here</a>.</p><h3>How to use it?</h3><p>The last part of this article will show how a client application (user interface, edge service, etc.) should use the scheduling platform. In this example, as we exposed the Scheduler Controller with REST APIs, we will use the scheduler calling various API endpoints.</p><p>There are two main steps to do: define a job and execute it.</p><h4>Job Definitions</h4><p>One of the central objects for Work4j is Job Definition. The object defines all the required specifications for the desired work to run. Here’s example:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/31225f8863e7f887431ab911977ca999/href">https://medium.com/media/31225f8863e7f887431ab911977ca999/href</a></iframe><p>This is what a minimal job definition looks like. It has a name and a folder for easy identification, a type that defines behavior of activity, a set of triggers and the cluster the job is assigned to. In this example, the job /examples/simple_job is assigned the cluster “/” to run every 30 seconds as an ECHO_JOB. In payload of job, we will put all the necessary input data for the job to run.</p><p>Currently, Work4j supports following trigger types:</p><ol><li>Periodic — repeating every N seconds/minutes/hours/etc.,</li><li>Cron — triggering an execution of job according to given Cron Expression,</li><li>Once — triggering job only once.</li></ol><h4>Job Executions</h4><p>In the above example, we defined a job that will be stored in the system, but we did not execute it yet. In order to start actual execution we should ask the scheduler to create and execution instance. This can be easily done by creating a Job Execution as follows:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6fcbce781826bb473e67a3ec60170641/href">https://medium.com/media/6fcbce781826bb473e67a3ec60170641/href</a></iframe><p>In this case we ask to execute the job definition by given identifier. Optionally, you can provide a new cluster value to run it within another cluster or you may want to override any of payload values. After this operation jobs will start their execution on the cluster workers.</p><p>That is it! Now the job execution scheduled on the cluster “/” will fire every 30 seconds as mentioned in its trigger.</p><h3>Conclusion</h3><p>In this article we went trough the setup and usage process of a distributed scheduling system based on Work4j.</p><p>To test this on your machine you can simply checkout the sample code from <a href="https://github.com/imastio/work4j/tree/v0.0.1.RC2/samples/distributed-sample/">here</a>, build it and run. If you have Maven, Docker and Docker-Compose on your machine, you can run it like this:</p><pre>cd samples/distributed-sample/<br>mvn clean package install<br>sudo docker-compose build<br>sudo docker-compose up -d</pre><p>This will build and run 4 applications: scheduler, worker, Mongo instance and a MySQL instance:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5a9d6370190983e7e8c26a3edfb6d6ac/href">https://medium.com/media/5a9d6370190983e7e8c26a3edfb6d6ac/href</a></iframe><p>Then, to test scaling and clustering capabilities of the worker add some more instances and schedule more jobs:</p><pre>sudo docker-compose up -d --scale worker=4</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6e102ae1d947" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fortra-armenia/distributed-scheduling-with-work4j-6e102ae1d947">Distributed scheduling with Work4j</a> was originally published in <a href="https://medium.com/fortra-armenia">Fortra Armenia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Design Patterns Վիդեո Դասընթաց HelpSystems Armenia-ից]]></title>
            <link>https://medium.com/fortra-armenia/design-patterns-%D5%BE%D5%AB%D5%A4%D5%A5%D5%B8-%D5%A4%D5%A1%D5%BD%D5%A8%D5%B6%D5%A9%D5%A1%D6%81-helpsystems-armenia-%D5%AB%D6%81-5d29e9d4a6cb?source=rss----ac10d5a8fbec---4</link>
            <guid isPermaLink="false">https://medium.com/p/5d29e9d4a6cb</guid>
            <category><![CDATA[education]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[design-patterns]]></category>
            <category><![CDATA[course]]></category>
            <dc:creator><![CDATA[Fortra Armenia]]></dc:creator>
            <pubDate>Wed, 25 Mar 2020 14:46:02 GMT</pubDate>
            <atom:updated>2020-03-25T14:44:05.351Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cOzyPQ2YANoyLUxr9q4Gsw.jpeg" /></figure><p>Մեր ավագ ծրագրավորող Անի Մարտիրոսյանը այս վիդեո դասընթացների ընթացքում պատմում է design pattern-ների մասին։ Design pattern-ը ծրագրավորման գործընթացի ընթացքում առաջացող խնդիրների ընդհանուր լուծումն է։ Ներածությունը դիտելով կծանոթանաք design pattern-ի գաղափարին և ամենատարածված design pattern-ներին։</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FcaF3upFcjTU%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DcaF3upFcjTU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FcaF3upFcjTU%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/4ba461e283b40c7c6a2432df1b38f520/href">https://medium.com/media/4ba461e283b40c7c6a2432df1b38f520/href</a></iframe><p>Առաջին design pattern-ը, որը մենք դիտարկում ենք, Singleton-ն է։ Այն ամենահաճախ կիրառվող pattern-ներից է։ Այն օգնում է սահմանափակել կլասն այնպես, որ նրանից հնարավոր լինի ստեղծել ընդամենը մեկ օբյեկտ։ Դիտեք հոլովակը Singleton-ին ծանոթանալու համար։</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FwQnU0ujDA-E%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DwQnU0ujDA-E&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FwQnU0ujDA-E%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/e990dca54fc294c8f03899b3020a6ff6/href">https://medium.com/media/e990dca54fc294c8f03899b3020a6ff6/href</a></iframe><p>Հաջորդ դասընթացը Adapter design pattern-ի մասին է։ Adapter-ը օգնում է տարբեր ինտերֆեյսով կլասերի միջև փոխանցել ֆունկցիոնալություն առանց կոդի կրկնության։ Դիտեք հոլովակը և ծանոթացեք Adapter-ին և իր գործածությանը։</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FMopWRchMutI%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DMopWRchMutI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FMopWRchMutI%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/9cdcdff97f12fc093faafbf95075d000/href">https://medium.com/media/9cdcdff97f12fc093faafbf95075d000/href</a></iframe><p>Մյուս դասը Observer design pattern-ի մասին է։ Observer-ը սահմանում է մեկը շատին կախվածություն և ծանուցում կախված օբյեկնտերին, երբ մեկը փոխում է իր վիճակը։ Դիտեք հոլովակը և ծանոթացեք Observer-ի գործածությանը, առավելություններին և թերություններին։</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F-BAcXmWW2mQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D-BAcXmWW2mQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F-BAcXmWW2mQ%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/259bf16b2c9e65a96f4ba6d5506b9fc8/href">https://medium.com/media/259bf16b2c9e65a96f4ba6d5506b9fc8/href</a></iframe><p>Այս դասը ուսումնասիրում է Iterator design pattern-ը։ Iterator-ը օգնում է շրջանցել կոնտեյներները կատարելով գործողություն բոլոր կամ որոշակի տարրերի հետ։ Դիտեք հոլովակի Iterator-ի գործածության մանրամասներին ծանոթանալու համար։</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F-K7DOnrpgxY%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D-K7DOnrpgxY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F-K7DOnrpgxY%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/f38483b4a370e791589e5c62276b9eaf/href">https://medium.com/media/f38483b4a370e791589e5c62276b9eaf/href</a></iframe><p>Սպասեք հետագա դասերին շուտով։</p><p><em>Կարող եք հետևել մեզ սոց.ցանցերում՝ </em><a href="https://www.facebook.com/HSInternationalLLC/"><em>Ֆեյսբուքում</em></a><em>, </em><a href="https://www.instagram.com/helpsystemsarmenia/"><em>Ինստագրամում</em></a><em> և </em><a href="https://www.linkedin.com/company/helpsystems-armenia"><em>Լինկդինում</em></a><em>։</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5d29e9d4a6cb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fortra-armenia/design-patterns-%D5%BE%D5%AB%D5%A4%D5%A5%D5%B8-%D5%A4%D5%A1%D5%BD%D5%A8%D5%B6%D5%A9%D5%A1%D6%81-helpsystems-armenia-%D5%AB%D6%81-5d29e9d4a6cb">Design Patterns Վիդեո Դասընթաց HelpSystems Armenia-ից</a> was originally published in <a href="https://medium.com/fortra-armenia">Fortra Armenia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A QA Manager’s Role in an Agile Organization]]></title>
            <link>https://medium.com/fortra-armenia/a-qa-managers-role-in-an-agile-organization-d0906a3fe7f8?source=rss----ac10d5a8fbec---4</link>
            <guid isPermaLink="false">https://medium.com/p/d0906a3fe7f8</guid>
            <category><![CDATA[quality-assurance]]></category>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[qa]]></category>
            <dc:creator><![CDATA[Fortra Armenia]]></dc:creator>
            <pubDate>Mon, 17 Feb 2020 13:39:48 GMT</pubDate>
            <atom:updated>2020-02-17T13:39:32.002Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1JlbY5BkEgUfB3a_s7fLzw.jpeg" /></figure><p><em>By Hovhannes Kasarjyan</em></p><p>The need to rapidly deliver software to clients has transformed the software development space into a fast-paced, high-velocity environment — one that is forcing software teams to code much faster and deliver features more quickly. This has pushed several innovations in the software dev space, including the move to DevOps and Agile practices as well as the adoption of new technologies like SaaS, microservices, serverless, big data, artificial intelligence, and machine learning. Although these innovations transformed the software development environment and gave birth to a new technology stack, they’ve also made the role of traditional QA managers obsolete.</p><p>The role and responsibilities of QA Managers have been changed a lot over the past few years, mainly due to many organizations moving to agile development methodologies where there are clusters of Agile Teams working together to deliver business objectives.</p><p>Many QA Managers often feel confused about their roles and feel out of place when put in an agile context, especially when they were charged with the management of a testing team and defining QA processes for an organization. QA managers in agile environments face a conundrum: How do you understand your role when, in a strictly agile organization, it’s not defined? QA management professionals know how to work in a traditional waterfall environment. Understanding exactly what’s required as they move into agile projects is key to a QA manager’s success. In this article, we’ll go over several important points for QA managers working in agile environments.</p><p><strong>Challenges for QA managers to overcome in an Agile world</strong></p><p><strong>No Testing Department</strong></p><p>For starters, in a proper agile setup, there is no such thing as a “Testing Department”, where a group of testers is sat together, usually away from the developers and managed by a Test Lead or Test Manager. Also, in an agile environment, there is much less emphasis on heavy documentation such as detailed test plans which is usually the job of the QA Manager, writing these documents through traditional methods is their domain.</p><p><strong>No Accountability</strong></p><p>Gone are the days when the QA Manager was held accountable when there was a defect leaked to production. In Agile, everyone is accountable and <a href="https://www.testingexcellence.com/whole-team-approach-agile-testing/">quality is everyone’s responsibility</a>.</p><p><strong>No Day-to-Day Management of Testers</strong></p><p>In Agile, business priorities change frequently, and the Scrum Team needs to accommodate the changing priorities. It is almost impractical to keep up with all the changes especially when there are multiple Scrum Teams in a large organization.</p><p><strong>Role of QA Manager in Agile</strong></p><p>Although the traditional role and responsibilities of a QA Manager might not be seen as necessary in the Agile context, still, there is a role for test managers in agile, and it’s much more strategic than it was before.</p><p>The role of the QA manager had to evolve to keep up with the changes in software development and delivery. Below are the responsibilities of the QA managers in the Agile world.</p><p><strong>Lay the ground rules for testing cross-organization</strong></p><p>QA managers do not have any authority over the Agile teams and especially not on the testers that may be under their direct management prior to shifting to Agile. QA managers will have to learn to let Agile teams grow in their path to becoming self-organized, independent and strong teams.</p><p>However, this is not anarchy; if in the past there were two main departments (QA and Development) now we have tens and even hundreds of new Agile teams that are self-managed. To allow the business to ensure that all the teams are keeping to the same quality standards as they do in a more traditional environment, there must be clear guidelines and ground rules that all teams must follow.</p><p>This is where the QA manager can help and use their experience, knowledge and technical excellence to set specific quality guidelines. The guidelines may include what testing methods the teams should use, testing tools, automation strategies, testing standards and the overall test methodologies to apply.</p><p>While managers should give agile teams a great deal of independence and responsibility to manage themselves, the organization as a whole must still function as a coherent unit. You must set a few basic ground rules, such as what testing tools to use, which methodologies to apply, how to define defect statuses, how to classify the state of a build, and so on.</p><p><strong>Build Teams</strong></p><p>The next role of the QA manager is to build the team wisely, with the right number of development testers and end-to-end QA architects, as well as to define their roles and responsibilities and how those roles work together. A QA manager should also ensure that testers are properly equipped to test their team’s particular development work.</p><p><strong>Promote testers professional development</strong></p><p>A QA manager should ensure that all Agile teams and especially their testers continue to grow as quality owners. By being the quality expert, the classic work of a QA manager is to ensure that testers continue to learn and develop even when divided among the different teams.</p><p>QA managers should provide technical lessons about quality practices, support testers in times of crises, mentor testers on how to perform their jobs in a new environment and ensure that they do not lose their identity.</p><p><strong>Cross-functional testing</strong></p><p>In an organization of multiple Agile teams, each team is usually focused on their own feature without knowing what other teams are doing. This means that each Agile team will develop, test and deliver an incremental working functionality at the end of each iteration.</p><p>The approach that each Agile team is responsible for a specific part of the project has many advantages but still one major problem. The problem arises when there is no one who sees the big picture and how all teams’ deliverables are integrated into one complete product.</p><p>QA managers (or any other new title) have the capability to perform cross-functional testing (AKA end-to-end testing) to ensure that the integration between teams works well as a whole product.</p><p>In addition, QA managers can provide insights into the overall product quality based on their test results and this is one major responsibility.</p><p><strong>The authority for all quality issues</strong></p><p>It is hugely important that the business has an authority who can quickly resolve all quality issues that may arise during the Agile development process. QA managers are the best candidates to take this role and act as the quality focal point of the organization.</p><p><strong>Set the quality metrics</strong></p><p>Metrics are the best friend of the Agile QA Manager. QA managers help the business by defining the quality KPIs and trends among the different teams. Let us review some typical examples:</p><ul><li>The number of bugs and their severity per iteration</li><li>Team velocity compared to team capacity</li><li>How many stories meet the DOD (Definition of Done)</li><li>Defects found in production/customer environment</li><li>Time to market</li><li>Number of effective meetings</li><li>Defects found due to miscommunication between teams</li></ul><p>Quality metrics have another great advantage: they allow the organization to identify the weakest and most problematic areas in the process and make the necessary changes to ensure that they meet the quality standards.</p><p><strong>Conclusion</strong></p><p>A QA manager, above all, in an agile organization, should have a vision and set strategy. They should stay abreast of new developments in the QA domain, evaluate new tools, and learn new methods.</p><p>The QA manager must implement QA processes within the group and constantly improve on those by defining activities, setting priorities, and balancing resources at the group level.</p><p>The QA manager can also spend a lot of time in a release/project management escalation role. Making sure the teams don’t fall over each other, and that everyone is talking to the right people. So with all this — I hope you have the big picture of what it takes to be a QA manager in an Agile world.</p><p>Keep in touch with HelpSystems Armenia on <a href="https://www.facebook.com/HSInternationalLLC/">Facebook</a>, <a href="https://www.instagram.com/helpsystemsarmenia/">Instagram</a> or <a href="https://www.linkedin.com/company/helpsystems-armenia/">LinkedIn</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d0906a3fe7f8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fortra-armenia/a-qa-managers-role-in-an-agile-organization-d0906a3fe7f8">A QA Manager’s Role in an Agile Organization</a> was originally published in <a href="https://medium.com/fortra-armenia">Fortra Armenia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What’s your goal? Growing Together with the Help of a Performance Management System]]></title>
            <link>https://medium.com/fortra-armenia/whats-your-goal-growing-together-with-the-help-of-a-performance-management-system-d75f4c934a97?source=rss----ac10d5a8fbec---4</link>
            <guid isPermaLink="false">https://medium.com/p/d75f4c934a97</guid>
            <category><![CDATA[goals]]></category>
            <category><![CDATA[growth]]></category>
            <category><![CDATA[performance-management]]></category>
            <category><![CDATA[talent-development]]></category>
            <category><![CDATA[hr]]></category>
            <dc:creator><![CDATA[Fortra Armenia]]></dc:creator>
            <pubDate>Mon, 03 Feb 2020 14:04:25 GMT</pubDate>
            <atom:updated>2020-02-03T14:04:12.138Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Photo by Prateek Katyal on Unsplash" src="https://cdn-images-1.medium.com/max/1024/1*b0CtyttK32AC2KJ2NVcxpQ.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@prateekkatyal?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Prateek Katyal</a> on <a href="https://unsplash.com/s/photos/quote?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><h4><strong>Why HSA has a Performance management system?</strong></h4><p>At HelpSystems Armenia, we aim at creating an environment where our talents have everything necessary to realize their potential. <strong>The performance management system</strong> is the cornerstone of this particular objective we have.</p><p>There are <strong>five main reasons </strong>we practice the performance management system. <br>One of the first and obvious ones is creating a challenge! We want you to grow and take on harder tasks. Get better at what you do and learn new things. Another reason is motivation. <strong>Challenging goals and clear objectives</strong> keep you motivated to enhance your skills and knowledge.</p><p>It goes without saying that employee development benefits our company largely, and that’s the third reason. One of our core values states:<strong> “Happy employees make happy customers!”</strong> We want you to be, to feel good about your work, because if you can’t achieve your goals — we can’t achieve ours. It’s a win-win situation!</p><p>The fourth reason is that the performance management system helps us create and <strong>foster a culture of recognition</strong>, which is a key aspect of our overall culture, so we give a lot of importance to it. In a healthy work environment, effort and achievements should always be recognized.</p><p>And last but not least, it also directly helps us reward you. As we’ve mentioned before, your improvement is important both to you and to us. And we want to reward your effort, accomplishments, and contribution.</p><h4><strong>What is a Performance management system?</strong></h4><p>The performance management system is a process that allows employees, the HR department as well as the management of an organization to <strong>measure and acknowledge the performance of the team</strong>.</p><p>Often performance management systems include such components as:</p><ol><li>Goals and Objectives</li><li>Individual Development Plans</li><li>A Feedback Providing Process</li></ol><p>The performance management system helps employees by collaborating with their direct managers and HR to create clear-cut expectations that allow them to define their career path and understand what is expected of their job. It helps the employees to have clarity, <strong>meet their goals and evaluate their own performance</strong>.</p><h4><strong>What is it like?</strong></h4><p>There are three main goal categories we use.</p><p>The first one is related to your <strong>job, the role you have in the team</strong>. These are directly connected with your responsibilities. Examples of such goals are projects, challenging pieces, technical skills to improve to be better at your job. Pretty straight forward, isn’t it?</p><p>The second is <strong>soft skills</strong>. Technical skills are important, but so are soft skills. They are a necessary variable to the formula of your success and enable your advancement further. No matter how talented you are in technical aspects, one can’t imagine a successful professional without strong soft skills such as communication, teamwork, productivity, problem-solving and much more.</p><p>The third category is <strong>professional &amp; career development</strong>. This category covers the skills, knowledge, and abilities required for you to go to the next level, progress in your career. In our organization, these are mostly related to technical abilities. But for moving to a leading position soft skills usually play a bigger role. These have to empower you to reach the career goals you’ve set for yourself.</p><p>Each team member of HelpSystems picks goals from these categories and completes them. Often, they present the results to the rest of the team so everyone can benefit from this. They receive feedback from their supervisors as well as evaluate themselves.</p><p>Our performance management system is designed to reflect on both <strong>what</strong> you do and <strong>how</strong> you get it done. The feedback you receive will address both your accomplishments and output, as well as such aspects of your work as dedication, productivity, working in a team.</p><h4><strong>How does it help us?</strong></h4><p>We’ve designed our performance management system with a few objectives in mind. One of the core objectives is<strong> employee development</strong>.<strong> </strong>We know that any top performer is looking to develop their skills and advance in their career. This is important both for the employees and for us.</p><p>Another objective is to encourage <strong>transparent communication and collaboration</strong> within teams. This creates a space of structured feedback that can benefit everyone. It also allows the employees to be able to share information and celebrate each other’s achievements. Such a feedback culture also allows creating an honest environment where both good and bad performance can be acknowledged and assisted.</p><p>An important objective for us is <strong>employee recognition</strong>. With the system in place, we can reward the efforts of our employees and foster a culture of growth.</p><p>We’ve noticed that working with this system has allowed us to address all of our objectives and if needed tweak the components we have for better results. It’s always a process that changes as we go. One of the great benefits we’ve noticed while working in the system is that <strong>it attracts growth-oriented people</strong>. During interviews, it’s evident that for some people the system seems very exciting and some are concerned about it. So, it’s a great way to communicate our culture of growth from the get-go.</p><p>A performance management system is a wonderful tool for promoting growth and development, measuring performance and <strong>rewarding success</strong>. At HelpSystems we want our employees to grow in all aspects of their work and be able to <strong>become the best version of themselves in our space</strong>. The performance management system we use has helped us address all the objectives we’ve set for us and has allowed us to remain flexible in the adjustments we do. By using a system like this, we can engage talented employees better and <strong>allow them to be in charge of their own development</strong>.</p><p>Keep in touch with HelpSystems Armenia on <a href="https://www.facebook.com/HSInternationalLLC/">Facebook</a>, <a href="https://www.instagram.com/helpsystemsarmenia/">Instagram</a> or <a href="https://www.linkedin.com/company/helpsystems-armenia/">LinkedIn</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d75f4c934a97" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fortra-armenia/whats-your-goal-growing-together-with-the-help-of-a-performance-management-system-d75f4c934a97">What’s your goal? Growing Together with the Help of a Performance Management System</a> was originally published in <a href="https://medium.com/fortra-armenia">Fortra Armenia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What do programmers learn?]]></title>
            <link>https://medium.com/fortra-armenia/what-do-programmers-learn-c12494c363d1?source=rss----ac10d5a8fbec---4</link>
            <guid isPermaLink="false">https://medium.com/p/c12494c363d1</guid>
            <category><![CDATA[tech-education]]></category>
            <category><![CDATA[programmers-life]]></category>
            <category><![CDATA[software]]></category>
            <category><![CDATA[career-advice]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Fortra Armenia]]></dc:creator>
            <pubDate>Fri, 24 Jan 2020 14:04:57 GMT</pubDate>
            <atom:updated>2020-01-24T13:06:30.402Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7fp9xbldjSSI690FiJcjNw.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@chuklanov?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Avel Chuklanov</a> on <a href="https://unsplash.com/s/photos/student-computer?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>What should you learn and what should you not learn to become a programmer.</p><p>The hardest part of becoming a programmer is figuring out exactly what to learn and where to learn it. A human continuously learns from the day they’re born — walking, then talking, then reading and writing, then mathematics and history. And then the human is faced with the question of becoming a professional and learning is key here.</p><p>Any profession requires education. Be that hairdressing, system administration, medicine or programming. However, each profession has a different learning process with its own specifics — duration, format, educational institution, practice, etc.</p><p>Programming is a very vague term. It’d be better to be more concrete about what programming is to understand what should one learn and explore to be proficient in the profession. A programmer can be only a front end developer, a database specialist, a person who works on deeper levels of the software, a software architect and many other professionals. I think that a good programmer has to have all of the skills mentioned above, learning each to an extent that can allow them to solve the problem they’re presented with.</p><p>So, let’s begin. Everything starts at school. You should learn mathematics with all of its manifestations. Arithmetic, algebra, geometry, trigonometry, math. analysis, combinatorics and other mathematic subjects that maybe I don’t know are important. This is the hardest part of the process, because school level mathematics is the most confusing, partially because the teachers are not as competent. It’d be good if parents with a mathematic background help their future programmer children with this to be more productive.</p><p>After school, there’s the University, Programming is a profession that requires higher education, There are many universities and there are different professions in different departments. The applicant has to figure out themselves looking at older brothers, sisters and neighbors, and relatives. Every university has its problems and every person has to find a university that matches their preferences and requirements․ Sometimes self-education is also the right path. This blog also has the goal to help self-educating programmers to acquire systematic knowledge.</p><p>Higher mathematics, one of the most painful terms in the world. Many people have their eyes filled with tears when hearing this term… What can we do? It’s hard, it’s confusing, maybe delivered poorly, maybe you don’t see why you should learn it, but YOU HAVE TO learn it.</p><p>Let’s look at the mathematical analysis. For any epsilon, there’s only one delta, and for which this statement is true… All of this creates an alternate universe for the student. Epsilons and deltas, infinitely large and infinitely small, a world of borders and infinite sums. And parallel to entering this world and understanding it, an expansion of consciousness takes place. The brain starts thinking a new way, it starts thinking with the language of maths. Let’s not forget that the electronic computing machine also thinks with that language.</p><p>So the future programmer has to arm themselves with the respective mathematic weapons: math. analysis, Higher Algebra, Analytical Geometry, Complex Variable Functions, Functional Analysis, Numerical Methods, Differential, and Mathematical Equations, Mathematics Statistics, Probability Theory and the rest. Then there’s math cybernetics. This is the science that has its application in the form of the computer. This block contains such subjects and theories as discrete mathematics, the theory of graphs and hypergraphs, Boolean algebra, combinatorics, automata theory, cryptography and cryptanalysis, algorithm theory, math logic.</p><p>The combination of these subjects develops the mind and widens the outlook of the student. This exact group of subjects helps the development of algorithmic thinking which is essential for becoming a good programmer.</p><p>Let’s review the subjects directly related to programming. The first thing to do is to get acquainted with the computer hardware architecture. It’s essential to understand what a central processor is, how it works, how it works with other devices. In the meantime, you’ll deal with the concept of the operating system which you need to get acquainted with afterward. In this phase there will be a need to study a programming language, that will allow us to apply the already learned rich knowledge and see the practical benefits of it.</p><p>With the help of that language, you need to study the structure of data and algorithms through it, understand the idea of the complexity of the algorithm.</p><p>Afterward, we need to strengthen the technological fundamentals. It’s necessary to get introduced to the basics of network, then web programming, it’s necessary to learn modern ways of organizing data storage and access. And another important science — parallel programming. Today it’s mandatory as in modern times processors have more than one core and a good programmer has to be able to use them effectively.</p><p>After all of this, we can look at what’s trendy and what interests us and start studying the material necessary for these directions. Especially when entering IoT — Internet of Things, it’s required to have a deep knowledge of C++ language, GNU/Linux system and all of the technologies mentioned above. With blockchain, we need to understand cryptography and algorithms on a deep level, with machine learning — the probability theory, algebra and a lot of mathematics, etc.</p><p>Of course, this doesn’t conclude education. The programmer has to continue developing themselves every day no matter where they work or what success they’ve reached as a professional. The programmer that doesn’t learn loses their value in two years. Learn, learn and learn again! This is what’s required to become a good programmer. I’ll see you in a classroom, lab, during an internship and at other activities aimed at daily development.</p><p><a href="https://medium.com/helpsystems-armenia-writes/%D5%AB%D5%B6%D5%B9-%D5%A5%D5%B6-%D5%BD%D5%B8%D5%BE%D5%B8%D6%80%D5%B8%D6%82%D5%B4-%D5%AE%D6%80%D5%A1%D5%A3%D6%80%D5%A1%D5%BE%D5%B8%D6%80%D5%B8%D5%B2%D5%B6%D5%A5%D6%80%D5%A8-afd9fa0c530f?source=collection_detail----ac10d5a8fbec-----3-----------------------"><em>The text was originally featured on Vahram Martirosyan’s Medium in Armenian.</em></a></p><p>Keep in touch with HelpSystems Armenia on <a href="https://www.facebook.com/HSInternationalLLC/">Facebook</a>, <a href="https://www.instagram.com/helpsystemsarmenia/">Instagram</a> or <a href="https://www.linkedin.com/company/helpsystems-armenia/">LinkedIn</a>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Fsmgym0%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2Fsmgym0&amp;image=http%3A%2F%2Fapi.screenshotlayer.com%2Fapi%2Fcapture%3Faccess_key%3Dfe59908dad3baab69ffab249a2224b03%26viewport%3D1024x612%26width%3D1000%26url%3Dhttps%253A%252F%252Fupscri.be%252Fsmgym0%253Fscreenshot&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/76fffdd5e43f6e84a2f178362c6b2648/href">https://medium.com/media/76fffdd5e43f6e84a2f178362c6b2648/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c12494c363d1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fortra-armenia/what-do-programmers-learn-c12494c363d1">What do programmers learn?</a> was originally published in <a href="https://medium.com/fortra-armenia">Fortra Armenia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Objects VS Data Structures]]></title>
            <link>https://medium.com/fortra-armenia/objects-vs-data-structures-68eef65a3e3e?source=rss----ac10d5a8fbec---4</link>
            <guid isPermaLink="false">https://medium.com/p/68eef65a3e3e</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[data-structures]]></category>
            <category><![CDATA[object-oriented]]></category>
            <dc:creator><![CDATA[Fortra Armenia]]></dc:creator>
            <pubDate>Tue, 12 Nov 2019 06:50:00 GMT</pubDate>
            <atom:updated>2020-02-17T13:38:08.053Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RjmsvU-gzicOaj-CSIk1Vg.png" /></figure><p><em>By Hayk Grigoryan</em></p><p>This article explores the specifics and the uses of objects and data structures. It is intended for programmers with a base knowledge and experience looking to explore the connection and the difference between these two categories.</p><h4>Data Abstraction</h4><p>Consider the difference between Listing 1 and Listing 2. Both represent the data of a point on the Cartesian plane. And yet one exposes its implementation and the other completely hides it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/1*EheMg6xGYA_4lM3zG0mHTQ.png" /></figure><p>The beautiful thing about <strong>Listing 2</strong> is that there is no way you can tell whether the implementation is in rectangular or polar coordinates. It might be neither! And yet the interface still unmistakably represents a data structure.<br>But it represents more than just a data structure. The methods enforce access policy. You can read the individual coordinates independently, but you must set the coordinates together as an atomic operation.</p><p><strong>Listing 1</strong>, on the other hand, is very clearly implemented in rectangular coordinates, and it forces us to manipulate those coordinates independently.</p><p>Hiding implementation is not just a matter of putting a layer of functions between the variables. Hiding implementation is about abstractions! A class does not simply push its variables out through getters and setters. Rather it exposes abstract interfaces that allow its users to manipulate the <em>essence </em>of the data, without having to know its implementation.</p><p>Consider <strong>Listing 3</strong> and<strong> Listing 4</strong>. The first uses concrete terms to communicate the fuel level of a vehicle, whereas the second does so with the abstraction of percentage.</p><p>In the concrete case, you can be pretty sure that these are just accessors of variables. In the abstract case, you have no clue at all about the form of the data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/919/1*RaFPq_IWN492r8ssEHBcSQ.png" /></figure><p>In both of the above cases, the second option is preferable. We do not want to expose the details of our data.</p><p>Rather we want to express our data in abstract terms. This is not merely accomplished by using interfaces and/or getters and setters.</p><h4>Data/Object Anti-Symmetry</h4><p>These two examples show the difference between objects and data structures. Objects hide their data behind abstractions and expose functions that operate on that data. Data structure expose their data and have no meaningful functions.</p><p>Consider, for example, the procedural shape example in<strong> Listing 5</strong>. The Geometry class operates on the three shape classes. The shape classes are simple data structures without any behavior. All the behavior is in the Geometry class.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/908/1*3CZxzbLhk4_4pSv4Si1uVA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Df6L36cxgSD_7kB-8mMrxg.png" /></figure><p>Object-oriented programmers might wrinkle their noses at this and complain that it is procedural — and they’d be right.<br>Consider what would happen if a <strong>perimeter()</strong> function were added to Geometry. The shape classes would be unaffected! Any other classes that depended upon the shapes would also be unaffected!</p><p>On the other hand, if I add a new shape, I must change all the functions in Geometry to deal with it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/849/1*PFe6RF5yKIsd82DBi6UuVg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*Y0WRzyzqIUrr2tgF0TZrsw.png" /></figure><p>Now consider the object-oriented solution in <strong>Listing 6</strong>. Here the <strong>area() method</strong> is polymorphic. No Geometry class is necessary. So if I add a new shape, none of the existing <em>functions </em>are affected, but if I add a new function all of the <em>shapes </em>must be changed!</p><p>Again, we see the complementary nature of these two definitions; they are virtual opposites! This exposes the fundamental dichotomy between objects and data structures:</p><blockquote><em>Procedural code (code using data structures) makes it easy to add new functions without changing the existing data structures. OO code, on the other hand, makes it easy to add new classes without changing existing functions.</em></blockquote><p>The complement is also true:</p><blockquote><em>Procedural code makes it hard to add new data structures because all the functions must change. OO code makes it hard to add new functions because all the classes must change.</em></blockquote><p>So, the things that are hard for OO are easy for procedures, and the things that are hard for procedures are easy for OO!<br>In any complex system, there are going to be times when we want to add new data types rather than new functions. For these cases, objects and OO are most appropriate. On the other hand, there will also be times when we’ll want to add new functions as opposed to data types. In that case, procedural code and data structures will be more appropriate.<br>Mature programmers know that the idea that everything is an object <em>is a myth</em>. Sometimes you really <em>do </em>want simple data structures with procedures operating on them.</p><h4><strong>The Law of Demeter</strong></h4><p>There is a well-known heuristic called the <em>Law of Demeter</em> that says a module should not know about the innards of the <em>objects </em>it manipulates. As we saw in the last section, objects hide their data and expose operations. This means that an object should not expose its internal structure through accessors because to do so is to expose, rather than to hide, its internal structure.</p><p>More precisely, the Law of Demeter says that a method <em>f </em>of class <em>C </em>should only call the methods of these:</p><p><em>• C</em></p><p>• An object created by <em>f</em></p><p>• An object passed as an argument to <em>f</em></p><ul><li>An object held in an instance variable of <em>C</em></li></ul><p>The method should <em>not </em>invoke methods on objects that are returned by any of the allowed functions. In other words, talk to friends, not to strangers.</p><p>The following code3 appears to violate the Law of Demeter (among other things) because it calls the getScratchDir() function on the return value of getOptions() and then calls getAbsolutePath() on the return value of getScratchDir(). final String outputDir = ctxt.getOptions().getScratchDir().getAbsolutePath();</p><h4><strong>Train Wrecks</strong></h4><p>This kind of code is often called a <em>train wreck </em>because it look like a bunch of coupled train cars. Chains of calls like this are generally considered to be sloppy style and should be avoided [G36]. It is usually best to split them up as follows:</p><p>Options opts = ctxt.getOptions();<br>File scratchDir = opts.getScratchDir();<br>final String outputDir = scratchDir.getAbsolutePath();</p><p>Certainly, the containing module knows that the ctxt object contains options, which contain a scratch directory, which has an absolute path. That’s a lot of knowledge for one function to know. The calling function knows how to navigate through a lot of different objects. Whether this is a violation of Demeter depends on whether or not ctxt, Options and ScratchDir are objects or data structures. If they are objects, then their internal structure should be hidden rather than exposed, and so knowledge of their innards is a clear violation of the Law of Demeter. On the other hand, if ctxt, Options, and ScratchDir are just data structures with no behavior, then they naturally expose their internal structure, and so Demeter does not apply.</p><p>The use of accessor functions confuses the issue. If the code had been written as follows, then we probably wouldn’t be asking about Demeter violations. final String outputDir = ctxt.options.scratchDir.absolutePath;</p><p>This issue would be a lot less confusing if data structures simply had public variables and no functions, whereas objects had private variables and public functions. However, there are frameworks and standards (e.g., “beans”) that demand that even simple data structures have accessors and mutators.</p><h4><strong>Hybrids</strong></h4><p>This confusion sometimes leads to unfortunate hybrid structures that are half an object and half a data structure. They have functions that do significant things, and they also have either public variables or public accessors and mutators that, for all intents and purposes, make the private variables public, tempting other external functions to use those variables the way a procedural program would use a data structure. Such hybrids make it hard to add new functions but also make it hard to add new data structures. They are the worst of both worlds. Avoid creating them. They are indicative of a muddled design whose authors are unsure of — or worse, ignorant of — whether they need protection from functions or types.</p><h4><strong>Hiding Structure</strong></h4><p>What if ctxt, options, and scratchDir are objects with real behavior? Then, because objects are supposed to hide their internal structure, we should not be able to navigate through them. How then would we get the absolute path of the scratch directory?</p><blockquote>ctxt.getAbsolutePathOfScratchDirectoryOption();</blockquote><blockquote>or</blockquote><blockquote>ctx.getScratchDirectoryOption().getAbsolutePath()</blockquote><p>The first option could lead to an explosion of methods in the ctxt object. The second presumes that getScratchDirectoryOption() returns a data structure, not an object. Neither option feels good.<br>If ctxt is an object, we should be telling it to <em>do something; </em>we should not be asking it about its internals. So why did we want the absolute path of the scratch directory? What were we going to do with it? Consider this code from (many lines farther down in) the same module:</p><blockquote>String outFile = outputDir + “/” + className.replace(‘.’, ‘/’) + “.class”;<br>FileOutputStream fout = new FileOutputStream(outFile);<br>BufferedOutputStream bos = new BufferedOutputStream(fout);</blockquote><p>The admixture of different levels of detail is a bit troubling. Dots, slashes, file extensions, and File objects should not be so carelessly mixed together and mixed with the enclosing code. Ignoring that, however, we see that the intent of getting the absolute path of the scratch directory was to create a scratch file of a given name.</p><p>So, what if we told the ctxt object to do this?</p><blockquote>BufferedOutputStream bos = ctxt.createScratchFileStream(classFileName);</blockquote><p>That seems like a reasonable thing for an object to do! This allows ctxt to hide its internals and prevents the current function from having to violate<strong> the Law of Demeter</strong> by navigating through objects it shouldn’t know about.</p><h4><strong>Data Transfer Objects</strong></h4><p>The quintessential form of a data structure is a class with public variables and no functions. This is sometimes called a data transfer object, or DTO. They often become the first in a series of translation stages that convert raw data in a database into objects in the application code.<br>Somewhat more common is the “bean” form shown in<strong> Listing 6–7</strong>. Beans have private variables manipulated by getters and setters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/976/1*oEY8-KrX2EJ6KHwrIRSu3Q.png" /></figure><p>Active Records are special forms of DTOs. They are data structures with public (or beanaccessed) variables, but they typically have navigational methods like save and find. Typically these <strong>Active Records</strong> are direct translations from database tables or other data sources.<br>Unfortunately, we often find that developers try to treat these data structures as though they were objects by putting business rule methods in them. This is awkward because it creates a hybrid between a data structure and an object.<br>The solution, of course, is to treat the Active Record as a data structure and to create separate objects that contain the business rules and that hide their internal data (which are probably just instances of the<strong> Active Record</strong>).</p><h4><strong>Conclusion</strong></h4><p>Objects expose behavior and hide data. This makes it easy to add new kinds of objects without changing existing behaviors. It also makes it hard to add new behaviors to existing objects. Data structures expose data and have no significant behavior. This makes it easy to add new behaviors to existing data structures but makes it hard to add new data structures to existing functions.<br>In any given system we will sometimes want the flexibility to add new data types, and so we prefer objects for that part of the system. Other times we will want the flexibility to add new behaviors, and so in that part of the system, we prefer data types and procedures.<br>Good software developers understand these issues without prejudice and choose the approach that is best for the job at hand.</p><p><em>functions </em>are affected, but if I add a new function all of the <em>shapes </em>must be changed!1</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68eef65a3e3e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fortra-armenia/objects-vs-data-structures-68eef65a3e3e">Objects VS Data Structures</a> was originally published in <a href="https://medium.com/fortra-armenia">Fortra Armenia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Couple of Tips for Effective Code Formatting]]></title>
            <link>https://medium.com/fortra-armenia/a-couple-of-tips-for-effective-code-formatting-6732c07fa803?source=rss----ac10d5a8fbec---4</link>
            <guid isPermaLink="false">https://medium.com/p/6732c07fa803</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[code]]></category>
            <dc:creator><![CDATA[Fortra Armenia]]></dc:creator>
            <pubDate>Wed, 23 Oct 2019 14:44:46 GMT</pubDate>
            <atom:updated>2019-10-23T14:46:25.737Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rffnex5tzarzkzVOvux7xQ.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@grohsfabian?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Fabian Grohs</a> on <a href="https://unsplash.com/s/photos/code-formatting?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>By Argishti Yeghiazaryan</p><p>To ensure continues development, we had a goal of perfecting the code formatting of our team. Below you can see the steps that can help you achieve a clean and accurate code formatting.</p><h3>The objective of formatting</h3><p>It’s essential for the programmer to follow code formatting. The code the programmer writes to solve any problem can be adjusted with a different solution at some point, which can be implemented easier if the code is readable and formatted. Let’s look at a few code formatting rules below.</p><h4><strong>1. Vertical formatting</strong></h4><p>Let’s understand how big the files containing our code should be? How much should the minimum and the maximum number of lines be in each source file? Research has shown that it is possible to design quite serious programs and systems with the maximum amount of 500 lines in the source file, and on average it’s usually 200 lines. Small source files are easier to understand than the large ones. That’s why having some sort of limitations with the vertical formatting is very important.</p><p><strong>2. The similarities between the source file and a newspaper article</strong></p><p>Source file and the code it contains should mimic a newspaper article with its structure. What construction does the news piece have and keep in mind what information we get from it? The first paragraph gives us a general understanding of what the story is about. We proceed with the piece and get into other details. The further we go down with the lines in the article the more information we gather. A similar feeling has to accompany the programmer as they read the code in the source file. In particular, the naming of the file has to be simple and informative about the contents of it. In the top lines of the file high-level concepts and algorithms should be placed and on low-level lines — functions, etc.</p><p><strong>3. Vertical distance</strong></p><p>Let’s look at two examples of formatting on the same code</p><p><em>Image 1: Without concept separation, code formatting looks like this</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/537/1*7-aC4u4Do2ZpludNfou1cQ.png" /></figure><p><em>Image 2: Code formatting with concept separation through a vertical distance</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/539/1*CL8ptoMnKSrWEG0U3qiQ0g.png" /></figure><p>It’s clear that the code in the second image is more legible and the empty spaces used help our eye easily differentiate the concepts better than in the first image.</p><p><strong>Declaration of variables</strong></p><p>The declaration of variables has to be done as close to their use as possible. If the variable we declared is used only in the space of the implementation space of one method, then the declaration of the variable needs to be done in the local scope.</p><p><strong>Declaration of class variables</strong></p><p>The declaration of class variables has to be done in the top part of the class. Following this rule, you can ease the search of the declaration of variables in the code and you won’t have to go through every line of the Class.</p><p><strong>Dependent Functions</strong></p><p>When one function has a call for another function, then the function that’s being called has to be in the bottom part of the calling function. <strong>(Vertical Ordering)</strong></p><h4><strong>Horizontal Formatting</strong></h4><p><strong>How long does the length of our line have to be??</strong></p><p>The optimal length for the line is a maximum of 120 words. Of course, we can’t definitely insist that overlapping the mentioned length is wrong. Nevertheless, the length of the line has to be such that the programmer doesn’t have to scroll horizontally to read it.</p><h3>Indentation</h3><p>There are a few rules to leaving some space at the beginning of the code, the ones used the most by the programmers are the following:</p><p>1. The class declaration doesn’t have space in the beginning</p><p>2. Class methods have one level to the right indentation</p><p>3. The contents of class degree themselves are written with one level to the right indentation</p><p>4. If the method has blocks, the contents of the block also have to have one level to the right indentation.</p><blockquote>As we see, there are a few important points that when followed will result in clean and comfortable code formatting. With vertical formatting, the programmer needs to stick to a maximum of 500 lines and with vertical — 200 lines. We need to pay attention to space, variable and class declarations and codependent functions. So follow these rules and ease the further adjustments of codes and your collaboration with other programmers.</blockquote><p>Keep in touch with HelpSystems Armenia on <a href="https://www.facebook.com/HSInternationalLLC/">Facebook</a>, <a href="https://www.instagram.com/helpsystemsarmenia/">Instagram</a> or <a href="https://www.linkedin.com/company/helpsystems-armenia/">LinkedIn</a>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Fsmgym0%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2Fsmgym0&amp;image=http%3A%2F%2Fapi.screenshotlayer.com%2Fapi%2Fcapture%3Faccess_key%3Dfe59908dad3baab69ffab249a2224b03%26viewport%3D1024x612%26width%3D1000%26url%3Dhttps%253A%252F%252Fupscri.be%252Fsmgym0%253Fscreenshot&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/76fffdd5e43f6e84a2f178362c6b2648/href">https://medium.com/media/76fffdd5e43f6e84a2f178362c6b2648/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6732c07fa803" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fortra-armenia/a-couple-of-tips-for-effective-code-formatting-6732c07fa803">A Couple of Tips for Effective Code Formatting</a> was originally published in <a href="https://medium.com/fortra-armenia">Fortra Armenia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Կոդը ճիշտ ֆորմատավորելու մի քանի հուշում]]></title>
            <link>https://medium.com/fortra-armenia/%D5%AF%D5%B8%D5%A4%D5%A8-%D5%B3%D5%AB%D5%B7%D5%BF-%D6%86%D5%B8%D6%80%D5%B4%D5%A1%D5%BF%D5%A1%D5%BE%D5%B8%D6%80%D5%A5%D5%AC%D5%B8%D6%82-%D5%B4%D5%AB-%D6%84%D5%A1%D5%B6%D5%AB-%D5%B0%D5%B8%D6%82%D5%B7%D5%B8%D6%82%D5%B4-e0a90d295e04?source=rss----ac10d5a8fbec---4</link>
            <guid isPermaLink="false">https://medium.com/p/e0a90d295e04</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[code]]></category>
            <dc:creator><![CDATA[Fortra Armenia]]></dc:creator>
            <pubDate>Mon, 21 Oct 2019 13:34:46 GMT</pubDate>
            <atom:updated>2019-10-22T14:20:37.679Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rffnex5tzarzkzVOvux7xQ.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@grohsfabian?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Fabian Grohs</a> on <a href="https://unsplash.com/s/photos/code-formatting?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Հեղինակ՝ Արգիշտի Եղյազարյան</p><p>HelpSystems Armenia-ում, մեր շարունակական զարգացման համար դրել էինք նպատակ՝ կատարելագործել մեր թմի կոդի ֆորմատինգը։ Ստորև կարող եք տեսնել, ինչ քայլերով կարելի է ստանալ մաքուր և ճշգրիտ կոդի ֆորմատինգ։</p><h4><strong>Formatting — ի նպատակը</strong></h4><p>Կոդի ֆորմատինգին հետևելն շատ կարևոր է ծրագրավորողի համար: Ծրագրավորողի կողմից որևէ խնդրի լուծման նպատակով գրված կոդն հնարավոր է որոշ ժամանակ հետո փոփոխվի մեկ այլ լուծումով, ինչն հնարավոր կլինի ավելի հեշտ իրագործել եթե կոդն ընթեռնելի է և ֆորմատավորված: Կոդի ֆորմատավորման մի շարք կաններին կծանոթանանք ստորև:</p><p><strong>1. ՈՒղղահայաց ֆորմատավորում</strong></p><p>Եկեք հասկանանք, թե որքան մեծ պետք է լինեն այն ֆայլերն, որոնցում տեղակայված են մեր կոդերը? Որքան պետք է լինի նվազագույն և առավելագույն տողերի քանակն յուրաքանչյուր source file — ի: Ուսումնասիրություններն ցույց են տալիս, որ հնարավոր է նախագծել բավականին լուրջ ծրագրեր և համակարգեր source file — երում ունենալով առավելագույնն 500 տող իսկ միջինում տողերի քանակն լինի 200: Փոքր source file — երն ավելի հեշտ է հասկանալ քան մեծ ֆայլերն: Այդ իսկ պատճառով որոշակի սահմանափակում ունենալն ուղղահայաց ֆորմատավորման դեպքում շատ կարևոր է:</p><p><strong>2. source file — ի և թերթում տպագրված հոդվածի նմանություններն</strong></p><p>source file — ն և նրանում գտնվող կոդն իր կառուցվածքով պետք է լինի նման թերթում տպված հոդվածի: Վերհիշենք թե ինչպիսի կառուցվածք ունի թերթի հոդվածն մտովի վերհիշելով նրանից ստացվող տեղեկատվույթյունն ընթերցելիս: Առաջին պարբերությունն մեզ տալիս է ընդհանրական տեղեկություն թե ինչի մասին է հոդվածն: Շարունակելով կարդալ հոդվածն , մենք տեղեկանում ենք նաև այլ մանրամասներին: Եվ ինչքան շատ ենք կարդում հոդվածի տողերն , այնքան շատ մանրամասների ենք մենք ծանոթանում: Նմանատիպ զգացողությունն պետք է ուղեկցի ծրագրավորողին source file — երում գրված կոդերն ՛՛կարդալիս՛՛: Մասնավորապես ֆայլի անվանումն պետք է լինի պարզ և ինֆորմատիվ այնտեղ գտնվող պարունակության վերաբերյալ: Ֆայլի ամենավերևի տողերում պետք է գտնվեն high-level կոնցեպտներն և ալգորիթմներն իսկ վերջին տողերում low-level ֆունկցիաներն և այլն:</p><p><strong>3. Բաց տարածություներ կոդի ընթեռնելիության նպատակով</strong></p><p>Դիտարկենք նույն կոդի երկու տարբեր ֆորմատավորում:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/537/1*x3gdTy9NeOUCcZs9LtHy8w.png" /></figure><p><em>Նկ. 1 Կոնցեպտների տարանջատման բացակայության դեպքում կոդի ֆորմատավորումն ունի հետևյալ տեսքը</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/539/1*io6rttHR5xneH2pXZHs-5g.png" /></figure><p><em>Նկ. 2 Կոդի ֆորմատավորումն կոնցեպտների տարանջատմամբ բաց տարածություններվ:</em></p><p>Պարզ երևում է որ երկրորդ նկարում առկա կոդն առավել ընթեռնելի է և այնտեղ առկա դատարկ տողերն մեր աչքին օգնում են հեշտությամբ տարանջատել կոնցեպտներն քան առաջին նկարում:</p><h4><strong>Փոփոխականների հայտարարում</strong></h4><p>Փոփոխականների հայտարարումն պետք է կատարել առավելագույնս մոտ իրենց օգտագործմանը: Եթե մեր հայտարարած փոփոխականն օգտագործվում է միայն ինչ որ մեթոդի իրականացման տիրությում, ապա փոփոխականի հայտարարումն պետք է կատարել նշված տիրույթի մեջ (local scope).</p><h4><strong>Class — ի փոփոխականների հայտարարում</strong></h4><p>Class — ի փոփոխականների հայտարարումն պետք է կատարել կլասի ամենավերևի մասում: Հետևելով այս կանոնին Ձեզ համար կհեշտանա փոփոխականների հայտարարումն գտնելու գործընթացն կոդի մեջ, և ստիպված չեք լինի անցնել <strong>Class — ի </strong>բոլոր տողերով:</p><h4><strong>Միմյանցից կախված ֆունկցիաներ</strong></h4><p>Երբ մի ֆունկցիայի մեջ առկա է մեկ այլ ֆունկցիայի կանչ, ապա կանչվող ֆունկցիան պետք է լինի կանչող ֆունկցիայի ներքևի մասում: <strong>(Vertical Ordering)</strong></p><h4><strong>Հորիզոնական Ֆորմատավորում</strong></h4><p><strong>Որքա՞ն երկար պետք է լինի մեր կոդում տողի երկարությունը:</strong></p><p>Օպտիմալ երկարություն տողի համար ընդունված է համարել առավելագույնը 120 տառը: Սակայն միանշանակ պնդել որ տողի երկարությունն չպետք է գերազանցի նշված չափսը իհարկե սխալ կլինի: Այնուամենայնիվ տողի երկարությունն պետք է լինի այնքան, որ տողն կարդալու համար ծրագրավորողը ստիպված չլինի կատարել հորիզանական scrolling:</p><h4><strong>Indentation</strong></h4><p>Կոդի սկզբում ազատ տեղ թողնելու մի շարք կանոններ կան, որոնցից ամենատարածվածն ծրագրավորողների կողմից հետևյալն է</p><p>1. Կլասի դեկլարացիան չունի սկզբնամասում ազատ տարածք</p><p>2. Կլասի մեթոդներն ունեն մեկ աստիճան խորություն</p><p>3. Կլասի մեթոդի ներսում եղած պարունակությունն իր հերթին գրում են մեկ աստիճան խորքից</p><p>4. Եթե մեթոդն ունի բլոկներ, բլոկի պարունակությունն նույնպես պետք է ունենա մեկ աստիճան խորություն:</p><blockquote>Ինչպես տեսանք, կա մի քանի կարևոր կետ, որոնց հետևելով կարող ենք ունենալ մաքուր և հարմար կոդի ֆորմատավորում։ Ուղահայաց ֆորմատավորման դեպքում պետք է ձգտենք չանցնել 500 տողը, իսկ հորիզոնականի դեպքում՝ 120 տառը։ Պետք է ուշադրություն դարձնենք բաց տարածություններին, փոփոխականների և Class-երի հայտարարմանը և միմյանցից կախված ֆունկցիաներին։ Դե ինչ, հետևեք այս խորհուրդներին և հեշտացրեք կոդի հետագա փոփոխություններն ու համագործակցությունը այլ ծրագրավորողների հետ։</blockquote><p><em>Կարող եք հետևել մեզ սոց.ցանցերում՝ </em><a href="https://www.facebook.com/HSInternationalLLC/"><em>Ֆեյսբուքում</em></a><em>, </em><a href="https://www.instagram.com/helpsystemsarmenia/"><em>Ինստագրամում</em></a><em> և </em><a href="https://www.linkedin.com/company/helpsystems-armenia"><em>Լինկդինում</em></a><em>։</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Fsmgym0%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2Fsmgym0&amp;image=http%3A%2F%2Fapi.screenshotlayer.com%2Fapi%2Fcapture%3Faccess_key%3Dfe59908dad3baab69ffab249a2224b03%26viewport%3D1024x612%26width%3D1000%26url%3Dhttps%253A%252F%252Fupscri.be%252Fsmgym0%253Fscreenshot&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/76fffdd5e43f6e84a2f178362c6b2648/href">https://medium.com/media/76fffdd5e43f6e84a2f178362c6b2648/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e0a90d295e04" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fortra-armenia/%D5%AF%D5%B8%D5%A4%D5%A8-%D5%B3%D5%AB%D5%B7%D5%BF-%D6%86%D5%B8%D6%80%D5%B4%D5%A1%D5%BF%D5%A1%D5%BE%D5%B8%D6%80%D5%A5%D5%AC%D5%B8%D6%82-%D5%B4%D5%AB-%D6%84%D5%A1%D5%B6%D5%AB-%D5%B0%D5%B8%D6%82%D5%B7%D5%B8%D6%82%D5%B4-e0a90d295e04">Կոդը ճիշտ ֆորմատավորելու մի քանի հուշում</a> was originally published in <a href="https://medium.com/fortra-armenia">Fortra Armenia</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>