teleren/devto huggingface dataset:
Symfony, elasticsearch and docker environment
Published: 2022-03-13 09:53:38

Hi, the second article devoted to the theme: “How to work with ElasticSearch using Symfony PHP framework” already ready for reading. It is about preparing microservice environment using docker and docker compose. All details are here: ["Symfony, elasticsearch and docker environment"](https://sergiiblog.com/symfony-elasticsearch-and-docker-environment/). Have a pleasant reading.
How NOT to use pair programming
Tags: pairprogramming, efficiency, remote
Published: 2022-03-13 09:49:38

Pair Programming is an approach or a tool. As with every tool, it can be used in the wrong way, which will make it not very efficient. Even worse, it make create a false impression at your company called “pair programming does not work in our company”.

> There are multiple ways in which you can use pair programming to help you. As always, we need to make a decision about what we want to optimize. We can use pair programming for different purposes, and hence it's important to have a clear understanding as to what we want to use pair programming for during the coming period from the beginning. In this section, we are going to cover some typical situations in which you can use pair programming.** Note that some of them have opposite effects and cannot be used at the same time. That is why you need to choose consciously**.
> Bolboacă, Adrian. Practical Remote Pair Programming: Best practices, tips, and techniques for collaborating productively with distributed development teams (p. 52). Packt Publishing. Kindle Edition. 


Special thanks to Adrian, I have never realized that I'm killing Pair Programming efficiency because I do not have a full understanding of what I am using it for.
[Finding partners]
Tags: webdev, communication, react, nestjs
Published: 2022-03-13 09:48:12

Hi folks, 
I am currently working as a web developer in VietNam.
My favourite language is Javascript, i used it for both FE and BE backend development with ReactJS and NestJS Framework.
After more than 2 years experience, I have a plan to work abroad and want to improve my English communication with native speakers. So if anyone in DEV community who 's interested in practicing English speaking can connect me at LinkedIn, we can discuss more about algorithms, web development, favorite libraries or frameworks and help each other to be better programmer.
Here is my LinkedIn profile: https://www.linkedin.com/in/trongtai37/
Hopefully!
Week 4 of TaskForce 5.0 reflections
Published: 2022-03-13 09:46:59

Have you ever thought that you are good at something, like cooking or driving, then someone mentions a tip that blows your mind? 

That was basically every single day for me this past week. From technical things like app localization to more general knowledge like S.M.A.R.T goals.

Let's dive deeper into the lessons I learnt.

## App localization

As a software engineer, I've been building software that can be used but it had some limitations that I did not think of before meeting some brilliant minds from Code of Africa and Awesomity Labs.

One question I could have asked myself is, can this app be used by people who do not speak English? This language barrier excludes millions of people from apps I've built in the past.

The solution is quite simple. **App Localization**

![App Localization](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d485su450qfyj8a1qw0w.jpg)
 
App localization enables users from different cultures and languages to interact with the application thus allowing a developer or company to reach a global audience.

Setting up localization is very easy and there are thousands of articles on the internet explaining how to do it in your own technology.

## Goals

As people, we should all have goals. If you don't, please tell me how you find the will to work everyday.

Now the question is, are the goals SMART?

A goal being SMART does not mean it is intelligent or that it has a degree from university. SMART is an acronym

- **S**pecific
- **M**easurable
- **A**ttainable
- **R**elevant
- **T**ime-based

![SMART goals](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ef896niixupgzytelrm9.jpg)
 
Personally, I had some goals that were not SMART like wanting a Lamborghini in the next year. This goal was not attainable in that time frame but a person can still dream, right?

A more suitable short-term goal is getting a better laptop in 2 months. This goal meets the criteria of a SMART goal like being relevant to bigger goals in my career and being attainable since I can afford it.

##Summary

This week we learnt some very important lessons like we have seen above.

If you are a software developer, try your best to make sure your software is inclusive of all kinds of people. This will also help you achieve your business goals easily.

And as a person, make sure you have goals and that they are SMART.

Those were some of the lessons I took from this past week in the TaskForce. 

So far, the TaskForce has been eye-opening in many areas professionally and personally. I can't wait to share lessons from next week.
Kotlin delegated properties
Tags: kotlin, java, jvm, tutorial
Published: 2022-03-13 09:44:25

Let’s say you have an [Entity](https://github.com/Vergil333/delegated-dto-demo/blob/master/src/main/kotlin/com/martinmachava/delegationtutorial/entities.kt#L11):

![1_WCpNS2pYdSMvro9eOW9xhg](https://user-images.githubusercontent.com/569066/157916373-820ada10-6cd5-4d67-bc12-397427e84e8c.png)

You need to create a DTO for some reason. You probably do it [like this](https://github.com/Vergil333/delegated-dto-demo/blob/master/src/main/kotlin/com/martinmachava/delegationtutorial/dtos.kt#L4):

![1_nDGVxuBf6LsAFAaCUOrkXQ](https://user-images.githubusercontent.com/569066/157916448-63fb1655-dd56-42fb-a7b5-2021ec090292.png)

**Constructor here serves as a mapper**. It maps Entity properties to DTO properties.
**Types of** DTO **properties are resolved from its Entity**. That’s good, we do not want to duplicate those types in DTO.
But you can also write [**DTO with delegated properties**](https://github.com/Vergil333/delegated-dto-demo/blob/master/src/main/kotlin/com/martinmachava/delegationtutorial/dtos.kt#L13):

![1_N__7AJ253xNeeDNxsYXG9A](https://user-images.githubusercontent.com/569066/157918973-719035ce-57d0-4164-a5df-da44321ba29c.png)

This looks almost the same as the first DTO. So **what’s the difference**?
- **delegated property is not ”real”** property of it’s class
- instead its **getter and setter is delegated to Entity** class
- when **Entity property is changed, that change is reflected in DTO** delegated property, even when DTO was instantiated before the change
- when DTO delegated property is changed, the change is reflected in Entity
- when we **do not want to modify** delegated property, we **set it to val** instead of var.

Let’s see it in [test example](https://github.com/Vergil333/delegated-dto-demo/blob/master/src/test/kotlin/com/martinmachava/delegationtutorial/unit/MediumDemoTest.kt#L11):

![1_Kw1Ig7yTktT4OmGFZTGuDw](https://user-images.githubusercontent.com/569066/157918719-4b593bca-a864-4b31-9958-75571bf72cc2.png)

> If you know a good example where to use delegated properties in practice, please, do let me know in the comment.

For more examples, **unit tests** and **integration tests with Hibernate** functionality where delegation “extends” the arms of Hibernate’s Entity, [see my tests](https://github.com/Vergil333/delegated-dto-demo/tree/master/src/test/kotlin/com/martinmachava/delegationtutorial).
My fourth-week experience in Taskforce 5.0
Published: 2022-03-13 09:41:26

This is the fourth week of taskforce 5.0 and I can’t imagine how time flies. I feel like there is a lot I should have done so far. Maybe it’s a lack of effective time management.

So far, I’ve been delivering my tasks on time. But to achieve that, I had to make a sacrifice. I had to work extra time and use some of my valuable time for rest, fun, or time with my loved ones.

This week we had a session for time management and we did an interesting activity; CONGRATULATIONS! You just won a unique lottery. Your winnings (after taxes) come to a total of $86,400. You have to spend all of the money today. The money can be used for any expense, interest, gifts, or whatever you want, but you have to spend it all TODAY. If you don't spend the money it goes back to the lottery and no one can use it.

![Excited](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m7si032qt6ngvqpinfuc.gif)

My first thought was buying a house. And then I started thinking about all other things I would buy since I had to spend all the money at end of the day; Upgrade my home office, go out for a dinner with family, hang out with friends, invest, donate to charity and give some to family and friends. This made me feel like buying a lottery ticket and dreaming what I would buy with the winnings.

Here is the connection to time management. Each day we have 86,400 seconds to spend. We cannot save it for another day and at the end of the day, it is gone. We have lots of ideas of how we could spend $86,400 in a day but not 86,400 seconds because we value money a lot more than we value time. Like our money, how we spend our time should be based on what matters most to us, like education, income, health, relaxation, and fun.

![Value time as money](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/etcrj8bqkdjemtehner7.jpg)

If I had a habit of managing my time through planning, I wouldn’t have to sacrifice my time. I would have done a lot of things in this past four weeks and still deliver my tasks on time.

Value time as you value money and you will be amazed how much more free time you have and what a great sense of accomplishment you have with better time management.

> Remember that time is money.

Benjamin Franklin
Install Laravel with Docker within 5 minutes [2022]
Tags: laravel, docker, tutorial, beginners
Published: 2022-03-13 09:40:12

This is a tutorial about how to Install Laravel With Docker and Laravel Sail on Mac. It's an easy step by step tutorial. 

Easy install within 5 minutes. 

Subscribe please! :)

**Youtube video**

{% youtube CsE8vzwxiBM %}

**Twitter**

{% twitter 1385961133891375106 %}
Task force5.0 {Time}
Tags: episode4, taskforce, bootcamp, reactnative
Published: 2022-03-13 09:31:50

Time is money, Lost time is never found again, and submit your task on time. All these are common saying about time.

Time is an essential tool in our daily life, In this blog, I will discuss  **Time management**, **critical thinking**, and **react native**  As takeaways of the week.

Welcome back to the taskforce 5.0 blog series, this is episode 4.

## Time Management
How many times have you said to yourself: “I want to do this, but I simply don’t have the time.”
Now think about how Could you achieve these things if you made better use of your time? And all that is what time management stands for. 

> Tip: time management is The ability to use one’s time effectively or productively, especially at work.  

![time management](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/39zw54giqbv0o84k2zj3.jpg)

Last week we dived deeper into Time Management strategies and tips used to accomplish more in appropriate time.

Here are some tips regards the effective management of your time:  **plan ahead**, **Set [SMART](https://corporatefinanceinstitute.com/resources/knowledge/other/smart-goal/) GOAL** and **prioritize your task**.

It wasn't my first time hearing about it and I am sure it isn't yours.
To see the difference in time management always walk the talk. 

## Critical Thinking

Another interesting talk of the week was about Critical Thinking. People tend to reply or act without even thinking critically.

> Tip: Critical thinking is the ability to think in an organized and rational manner in order to understand connections between ideas and/or facts.

This topic blows my mind. Now I understand that many problems we face can be easily addressed if we are concerned about critical thinking techniques.

Talking about techniques, [5 WHYS](https://en.wikipedia.org/wiki/Five_whys) is one of the most popular techniques we learned this week, In short, 5 WHYS is a technique used to find out the root cause of a problem.
And fully understanding the problem is also a big part of the solution.  

> “If I were given one hour to save the planet, I would spend 59 minutes defining the problem and one minute resolving it,” Albert Einstein said

##React native

Put aside soft skills and talk more about technical, As I expected in the previous [blog](https://dev.to/rkay250/task-force50-diversity-nej) this week we made a forward step in react native.

We get introduced to new concept like app [localization](https://medium.com/@jishnu61/6-easy-steps-to-localize-your-react-application-internationalization-with-i18next-8de9cc3a66a1), [deep linking](https://blog.logrocket.com/understanding-deep-linking-in-react-native/) and form handling with formik.

To Sum Up, this was another insightful and educational week, I would like to express my thanks to COA and Awesomity team for sharing this life-changing topic with us.
Web Development
Tags: webdev, javascript, beginners, react
Published: 2022-03-13 09:31:04

𝐖𝐞𝐛 𝐃𝐞𝐯𝐞𝐥𝐨𝐩𝐦𝐞𝐧𝐭 💻 is one of the technologies that will continue to be in demand for a long time. Aside from that, it provides a plethora of learning chances and alternatives. So here is the complete guide cum roadmap that you may explore in the Web development Journey.
All the Best ✨

![Web development Beginner to Advaced](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/o6bjx4eschu9rklg0285.png)

![Types of Web developers](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/luy2fhxbjitf5zjkatmh.png)
 
![The Neccesities](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d92ukvsc83wdq3kuqxfa.png)

![Building Blocks](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/drbl9sz8utx2pgpdjx9g.png)
 
![Extra Tools](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qdrbm2pt7ufgobancwkt.png)

![CSS Frameworks](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oiwhqmpucp2w36szgb96.png)
 
![JS - programming](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pun14hi1jgb6hg4zsp4w.png)
 
![Frontend Frameworks](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hnefkll6ge0pmncsjyg3.png)

![Deploying Frontend Projects](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t2co87l0ujxe3d5r0xgl.png)
 
![Server-Side Lnaguage](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d4pkzqqlgzcsc5zz6rcs.png)

![Server-Side frameworks](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jio83aij6x9pdt6rd6n0.png)

![databases](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c4fzkachbnwzisbueic9.png)
 
![deploying Fullstack Projects](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4r665log9k1edhhnluov.png)

![domain name registers](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6sp1uztgc58zj1g3w7k9.png)
 
Thank You For Your Read ✨ I hope this summarized roadmap will help you in your dev journey !
A whole month at Task Force 5.0
Tags: taskforce, awesomity, codeofafrica, internship
Published: 2022-03-13 09:24:14

In what feels like a blink of an eye it's already a month at Task Force. At the end of the first month usually is that point you are excited to get your first paycheck. But in my case, I am excited for the knowledge I have gained and the growth I have had in the past month both personally and professionally. Here is my reflection.

> "Learning without reflection is a waste. Reflection without learning is dangerous"
**Confucius**

As Confucius said it's always best to reflect on what you have learnt but also learn from the mistakes you have made.


![Who am I](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1tzswxmfi9f6epoo4ajx.jpg)

Understanding who I am and how my personality can affect the workplace was the first thing we did. And this is something I have been paying attention to in the past month trying to see areas of improvement. For instance, my communication skills, which we had also sessions to help improve. Team working has also improved as most assignments are done in teams. I got a lot of insights into presentation skills. But how about technical skills?


![Coding](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zmtq0t5atskkk5lk849j.jpeg)

In the technical department, I have also gained a lot of knowledge in industry best practices such as Agile process, DevOps, continuous delivery and integration, project structure, to mention but a few. And this week I got challenged with Typescript which is JavaScript but with types. Remember, how I mentioned my communication skills got better?  This is how I figured it out.


![Help](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6l0ilqbrq077zy5fg83i.jpeg)

Asking for help is one of the instrumental things I have learnt so far. Knowing that no one expects you to know it all, and you can't know it all, has been a great asset in tackling the challenge I am facing with Typescript. I could not get a hold of when to use Typescript and this time instead of taking much time trying to just figure it out on my own, I asked for help from the facilitators, Sam and Twist who helped to understand and lead me to the right resources.

![Time](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/olx106jjksqjijeh9htm.jpg)
>"Life can only be understood backwards; but it must be lived forwards."
**Soren Kierkegaard**


Conclusively, A month can be perceived as a short time but if you look back and reflect it's enough time to make some meaningful improvements. I appreciate the opportunity offered by Awesomity Labs and Code Of Africa. Looking forward to the remainder of the Task Force. Thank you for giving it a read. I will keep you posted.
MOVIE SLIDER EFFECT (HTML & CSS)
Tags: html, css, beginners, webdev
Published: 2022-03-13 09:22:06

In this tutorial I create a moving movie slider. I use HTML and CSS. No javascript required. Only CSS animation. 

Subscribe please! :)

**Youtube video**

{% youtube k5HantSabtw %}

**Twitter**

{% twitter 1502014900826218497 %}

#netflix #hbo #hbomax #slider #movie #carousel #html #css #video #tutorial
How to make a simple menu with html and css
Tags: css, html, beginners, tutorial
Published: 2022-03-13 08:42:26

We Want Make this menu with html and css:


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/o8kkxpgyqb6sf9irqjro.jpeg)




**html**:

```html
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>title</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <nav>
        <br>
        <a href="#">Topic 1</a>
        <a href="#">Topic 2</a>
        <a href="#">Topic 3</a>
        <a href="#">Topic 4</a>
        <a href="#">Topic 5</a>
    </nav>
</body>
</html>
```


**css**:

```css
*{
    margin: 0;
    padding: 0;
}

body{
    background-color: #EE9B00;
}

nav{
    background-color:#001219;
    padding-bottom: 20px;
    text-align: center;
}

nav a{
    color:white;
    text-decoration: none;
    font-family:Arial, Helvetica, sans-serif;
    margin-left: 50px; 
    margin-top: 20px;
    border-radius: 8px;
}

a:hover{
    transition: 2.5;
    color:red;
}
```
My Fourth week in Taskforce 5.0 at Awesomity Lab and Code of Africa.
Tags: taskforce, awesomity, codeofafrcia
Published: 2022-03-13 08:37:14

Greetings,
It's been a month since I've been at Taskforce, and this week was just as interesting as the others.

Once you're learning, you'll face a lot of challenges, but the real challenge is figuring out how to grow and learn from them.
I've been looking for a challenging environment to help me advance my career, I've finally found it in Code of Africa and Awesomity Lab. I really like their program and can't thank them enough for everything they've done to help me.

> A man who dares to waste one hour of life has not discovered the value of life
**Charles Darwin**

We had a session with @Blaise about time management, in which we learned why we need time management, how to use time effectively, goal setting, planning, and prioritizing. Finally, we had a fun exercise in which we were given $86, 400 and asked to choose how we could spend the money in 24 hours. The exercise was very fun, but we all shared what we could do with the money, but no one set the amount of relaxing time, He explained why relaxing is so important: it gives us more energy, allowing us to be more productive and happier, so it's something we should plan for.
![Time management](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6vmbx5bv5w4s8mrnkvtz.jpg)

We also studied how to make a good presentation with @Silke, and we ended the session with the teamwork of presenting the topic she gave us. My teammate and I presented on the topic **"black lives matter"**, which was difficult because we didn't know much about it before, but we tried to do research and ended up learning more about it and the presentation went well.

With @Olaf we learned [critical thinking skills](https://zety.com/blog/critical-thinking-skills): how to apply them in the workplace and everyday life, how to improve them easily, how to show them off during your job search, and why critical thinking skills are important. after the lesson, I see it as an important thing every employee needs to have because it is a thing every employer seeks.

This week was interesting in general. I'll keep you updated on my Taskforce's progress, and I hope to see you again soon.

Thank you!
Documenting my learning journey
Tags: documenting, go, learning
Published: 2022-03-13 08:28:01

**_document > create_** :chart_with_upwards_trend:


I’ve observed a trend :chart_with_downwards_trend: that has been going on in my life for some time now. Whenever I decide to learn something new such as reading a book, learning to code or signing up for a course online/boot camp, for the first 1-2 weeks I’m all pumped up about learning but I don’t keep track of my progress. So by the time I want to resume learning I have to start all over again and the cycle continues. This supposed “habit” has literally kept me in one spot and it’s high time I did something about it. 
Learning is a process of obtaining new knowledge or improving on what you already know. While we can choose to learn in different methods and procedures, keeping a track record of your growth and processes is something I think makes learning efficient. It also keeps you better informed about your performance and accountable
Gary Vee’s _**DOCUMENT. don't create**_ method is what I will be using for my learning journey by documenting everything I learn and making it count. Documenting is a version of creating that is more about being yourself.
Breaking it down, this could be done by writing a note of what was learnt at the end of every day or after reading/practicing.
Another way to get really accountable is by making people aware of what you're up to in terms of learning.
It gives us something we could refer back to in 2, 4 years from now, a whole log of the starting process.
It’s all part of telling a story…your story! We often feel it is better to spend more time doing background work and creating something great. Documenting keeps track of all the processes, ups and downs which informs you better. 
As Gary Vee said: _“Starting is the most important part and the biggest hurdle that most people are facing. They're pondering and strategizing instead of making. They're debating what's going to happen when they haven't even looked at what's in front of them”._
In the coming days and weeks for starters, I intend on documenting and keeping updates on my learning journey. I’ll begin my coding journey by learning _**“Go”**_- a programming language.
I believe I have the resources I need, I just need to put them to use and documenting my journey is the way forward.
I choose to tell my story by documenting my journey!:star: