teleren/devto huggingface dataset:
My plan to be an Engineer. 
Published: 2020-07-07 18:30:10



#Greetings

Pardon the new platform jitters. I should introduce myself. I am a recent graduate of the Flatiron School and I am looking for work So here is what I am doing to prepare for interviews.

#Requirements

The Flatiron School has requirements for students post-graduation to remain eligible to receive a money-back guarantee. Although everyone on earth loves receiving money back I believe the purpose of these *requirements* is to get me employed, which I am happy about! What does it entail thought? There are only three but they are important first being that we have to reach out and apply to 8 positions/people and provide lots of detail in a google document then number 2 is writing a blog post. This helps me practice my communication skills as an engineer. Finally, number three is 5 git commits. Hitting the keyboard and getting your reps in is huge for me. When I was in the program (The Flatiron School full-time software engineer course) I had gotten sick with the flu and its insane how quickly those skills atrophy. 

#Now the fun stuff 

I try to get these requirements done by the latest, Wednesday. So I can focus on interview questions. Everybody and their mother has an opinion on how to find these mythical questions, but I am a beginner at this so I needed some explanation and direction on how things worked. AT the bottom of this blog I will put links to some resources that have helped me thus far. 

#Road blocks that I have hit 

When I think of the things that got me hung up in the interview question realm the first was the approach. Where to even begin. The more exposure you have to these kinds of problems the easier it will get. just like coding, interviewing is all about the reps. Sure, you will still be stressed in the moment but you will have a system to tackle the question, and the more you practice the better your system will be. 

#Studying in a vacuum

Studying all by yourself is good, but it's not realistic. Interviews are with people, believe it or not. So those reach outs That I have been working on are a positive step with building your interviewer network. Let's say you don't get the job, the contacts that you have made can still help out. If its someone who is just listening to your thought process or asking you cultural questions. They are a powerful resource to land your first job.  

#in conclusion 

Working to land your first job is hard. Doing it in a pandemic is even harder but none of that matters. What matters is your putting in the time to get the results you want. Take the if and throw it out the window. Make interviewing a breeze and make your first job a when NOT an if. 

Thanks 

resources:
[Awesome Udemy](https://www.interviewcake.com/#) 
 
[Great Practice Website](https://www.udemy.com/course/coding-interview-bootcamp-algorithms-and-data-structure/)
React-Redux project with a splash of Jack Donaghy wisdom
Published: 2020-07-07 18:26:15

More than anything, I love a good laugh! 

I will choose to watch/read something funny 90% of the time and the remaining 10% is usually something like NOVA on PBS. So, when I was given the assignment to create a React-Redux app that fetched data from an API of my choosing, I knew it was going to be something funny. 

Looking for the perfect (free, public) API was a fun challenge and in my search, I was lucky to find this: https://github.com/leovolving/jack-donaghy-quotes 

*Dear Leo (creator of this API)
Thanks! I can only assume that you are an awesome human!
I raise a glass of scotch in your honor, while I enjoy some, “…very expensive freshwater clams from the… Cuyahoga River”.
From,
Lisa*

Needless to say, I am a big fan of the "Head of TV and Microwave Oven Programming", Jack Donaghy from the sitcom 30 Rock. Leo's API has 30+ quotes from the hilarious character portrayed by Alec Baldwin. The app I made is very basic, but the wisdom of Jack Donaghy is anything but basic. Feel free to check out my silly app here: https://react-redux-app-rcualva64.now.sh/ Clicking on the **Get More Jack Donaghy Wisdom** button will randomly choose one of the 30+ quotes. 

If you are wondering where that cover image of Jack drinking scotch came from, and you'd enjoy a bit more Jack Donaghy wisdom click on this link:
https://cultbox.co.uk/features/trivia/30-rock-top-10-words-of-wisdom-from-jack-donaghy

I will wrap up this post with one of my all time favorite quotes... 

“There are no bad ideas, Lemon. Only good ideas that go horribly wrong.”
Looking for partner for ambitious startup 
Tags: help, offers, career
Published: 2020-07-07 18:24:44

dont have much knowledge of coding i just started teaching myself.. I have a few ideas for a startup and i desperately need a partner who can help in building the app/prototype. Looking for someone SERIOUS who is willing to do something big i really feel my idea has huge potential and im looking to get the ball rolling asap. This is how million dollar apps start and i honestly wanna do everything possible to make something happen and see how far things could go. Someone serious and able, let's talk business? 😁
3 cool things you can do with Python indexing
Tags: python, beginners, tutorial, codenewbie
Published: 2020-07-07 18:22:01

You can do so much with slicing and indexing in Python! Here are some of my favorite tricks:

## 1. Easily grab values from the end of a list

If you have a list say `animals = ['cat', 'dog', 'squirrel','mouse','dolphin']` and you want to grab the last value you could use `animals[len(animals - 1)]`. 

However, Python offers you a way to easily access values from the other end of the list with **negative indices**:

```
animals = ['cat', 'dog', 'squirrel','mouse','dolphin']

animals[-1] -> 'dolphin'
animals[-2] -> 'mouse'
animals[-5] -> 'cat'
```


## 2. Reverse a list

If you want to reverse a list you could use a for loop or the built-in reversed() method...

OR... you can use Python slicing and negative indices:

```
num_list = [4, 6, 3, 2, 1]
reversed_num_list = num_list[::-1]
print(reversed_num_list) -> [1,2,3,6,4]
```

One thing to remember is that slicing returns a new list, so using [::-1] will return a new list and it doesn't modify the original list. This also applies to the next trick!



## 3. Skip every n-th element is a list

If you have a list and you want to select every other element in it, Python easy way to do this is:

```
num_list = [1, 2, 3, 4, 5, 6, 7, 8, 9]
num_list[::2] -> [1, 3, 5, 7, 9]
```

Let's unpack what's going on in here:
- ':' tells Python to look at the whole list from start to finish
- ':2' tells Python to skip every other element of the list


You can customize this by providing the ***start*** and ***the steps to skip***:

```
num_list[3::2] -> [4, 6, 8]
```

You can provide the ***end*** and the ***steps to skip***:

```
num_list[:6:2] -> [1, 3, 5]
```

Or by providing the ***start***, ***end*** and the ***steps to skip***:

```
num_list[3:-2:2] -> [4,6]
```

You can even combine it with the previous tip and reverse your list whilst skipping elements!

```
num_list[::-2] -> [9, 7, 5, 3, 1]
num_list[-2::-2] -> [8, 6, 4, 2]
```

Of course, this is just a short list of python’s capabilities, but these are the things that impressed me the most when I started learning.

I encourage you to play around with the indices and slicing as this is the best way to get familiar and comfortable with them!

___

Thanks for reading! If you want you can follow me here or on [Twitter](https://twitter.com/maria_modan)
My last day at a corporate job in Dec 2019...
Tags: angular, javascript, webdev
Published: 2020-07-07 18:10:59

---
title: My last day at a corporate job in Dec 2019...
published: true
description: 
tags: angular, javascript, webdev
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/uif7aajscvqygumfdht8.jpg
---

Hi, my name is Bartosz. I have spent 9 years working as a software engineer and 5 years at the university to get my Master's Degree in Computer Science.

👉 The photo presents my last day at a corporate job in December 2019.
**Let me tell you a story...**

When I was about 13 yo I learned about some strange craft called "programming". And I started learning. Later software engineering became my profession. It was a hell of a journey.

In 2017, I was invited to speak at the conference in Israel, where I could share some of my knowledge. And this started a period of traveling around the World (including countries like Russia, Colombia, Germany, Belgium to name a few) and teach a lot of people.

During that time I started creating a brand called Angular Academy. Writing blog posts, creating videos, webinars, and stuff like that. All of that happening "after hours", because I had a regular, corporate job. In 2019 I asked my readers if they would buy an online learning program from me.

And they did. Real people gave me real money because they trusted me. I decided to risk and leave a well paid and safe job.

Now, after successfully delivering my promise to those people in Feb 2020, I opened the next edition of [Angular Enterprise Security Academy](https://angular-academy.com/security/?utm_source=dev).

And people are joining. Wish me luck.

PS. This is just a piece of a very long story. Would you like to read more about it?
How SMTP Relay Server or SMTP Server is Functioning
Published: 2020-07-07 18:07:13

---
title: How SMTP Relay Server or SMTP Server is Functioning
published: true
description: A good SMTP Relay Server provides great speed while sending and receiving mails. Thus, the services of SMTP Server are of great help because it enables you to communicate with your clients or customers and provide them satisfaction by giving quick replies to their queries.
tags: 
//cover_image: https://direct_url_to_image.jpg
---
A good SMTP relay server provides great speed when sending and receiving mail. Therefore, the services of the SMTP server allow you to communicate with your customers or customers and provide them with satisfaction by answering their queries quickly. With the help of the SMTP Relay Server, you can send goods, resolve deadlines, and even deliver timely payments, which gives customers satisfaction. We all know that the success of a business these days depends largely on customer or customer satisfaction. Therefore, SMTP Server is said to be a helping hand in achieving business success. In addition, early communication saves a lot of time that can be used to look for other business matters that require extra attention.
 
Therefore, many complex business functions may fail to function properly when there is no effective SMTP relay server. Therefore, it is important for a business to use a SMTP server because its sales are so high that instant communication helps customers overcome their doubts and eliminates all their doubts. They do not hesitate to buy as a result of sales. This will help you develop your business and achieve all business goals in the long run.

The SMTP relay server is the engine responsible for sending email to its destination. However, this can sometimes cause problems and stop working properly. This may result in failure to email their destination. There may be technical reasons behind the malfunction of the SMTP server, but the main reason for not delivering email is to send large amounts of emails for online marketing purposes. The SMTP Relay Server is designed for personal communication and not for business purposes. Therefore, it is important to know the exact cause of the <a href="https://www.smtpservers.co/blog/what-is-an-smtp-server/">SMTP server</a> malfunction and take steps to correct it.

If the problem is due to increased email and not for other reasons, you should try to reduce the number of emails sent and it should not exceed the limit specified by the SMTP Relay Server. Therefore, if the SMTP server is properly managed, you will be able to benefit greatly from it, which will help take your business to new heights.

<strong>Aanchal Rathore, an IT professional, writes article on SMTP relay servers and <a href="https://www.smtpservers.co/blog/free-smtp-servers/">free SMTP server</a>. For more information, he suggests visiting.</strong>
MIDDLEWARE - express
Published: 2020-07-07 18:05:43

Esse é primeiro post de uma série que pretendo fazer compilando os principais conteúdos que absorvi durante o bootcamp fornecido pela rocketseat.

Um ***Middleware*** é a principal funcionalidade da biblioteca ***express.***  É um interceptador de requisições, utilizado normalmente quando queremos que algum trecho de código seja disparado de forma automática em uma ou mais rotas requeridas de uma aplicação. Um middleware possui acesso aos objetos de requisição (*request*), resposta (*response*) e uma função chamada *next.*

O Middleware é capaz de:

1. Interromper totalmente uma requisição;
2. Alterar dados de uma requisição;
3. Executar techos de código de forma automática.

---

Como definir um middleware para todas as rotas de uma aplicação:

```jsx
// recebe todos os parâmetros de um route normal:
function logRequests(request, response, next) {
	const { method, url  } = request;
	const logLabel = `[${method.toUpperCase()}] - ${url}`;

	console.log(logLabel);

	// é necessário retornar essa função para a aplicação continue seu fluxo:
	return next(); 
}

app.use(logRequests); // identifica que o middleware será chamada em todas as rotas
```

---

É possível aplicar o middleware que várias formas diferentes:

→ Em todas as rotas diponíveis da aplicação:

```jsx
app.use(middleware);
```

→ Especifico para cada rota:

```jsx
/* 
*	Não existe um número limite de middlewares que podem ser aplicados
*	a uma rota.
*/
app.get("/route", middleware, (request, response) => {	
})
```

→ Para uma série de rotas:

```jsx
app.use('/route/:param', validaProjectId);
```

---

Também é possível realizar a execução de um trecho de código depois do ***next*** em ***middleware***

```jsx
// middleware que mede o tempo de cada requisição
function middleware(request, response, next) {
	const { method, url  } = request;
	const logLabel = `[${method.toUpperCase()}] - ${url}`;

	console.time(logLabel); // será executado 

	next();  // passará execução para a rota requerida
 
	console.time(logLabel); // após o retorno da rota requerida, será executado
}
```

Os Middlewares são aplamente  utiliazados para a validação de parâmetros em requisições:

```jsx
// middleware que valida o uuid:
function validate(request, response, next) {
	const { id } request.params;

	if (!isUuid(id)) {
		return response.status(400).json({ message : 'Id do projeto não é válido'});
	}

	return next();
}

app.use('/projects/:id', validate);
```

fontes:
[how node js middleware works] (https://medium.com/@selvaganesh93/how-node-js-middleware-works-d8e02a936113)
[Escrevendo middlewares pra uso em aplicativos do Express] (https://expressjs.com/pt-br/guide/writing-middleware.htm)
What made today a bit better?
Tags: 100daystooffload
Published: 2020-07-07 18:00:59

After yesterday’s bad experience, today’s was much better. I didn’t do much differently, but perhaps the little things I did do made a difference. Or perhaps I just slept better. It doesn’t really matter, but for reference here’s what I did differently to yesterday:

* I started work a bit later. More due to sleeping later, I still felt like I was actively choosing not to rush into the office chair
* I took breaks. Easier said than done, I spent about half an hour away from the desk every couple of hours. I should do this more
* I was able to focus. Nowhere near deep work, but I had specific tasks to complete and I achieved them

Looking at those things, it’s almost embarrassing how obvious they are. But I want to make the point to myself that simple, obvious things can be all it takes for a day to be a little bit better.

I’m publishing this as part of 100 Days To Offload. You can join in yourself by visiting https://100daystooffload.com.
Best Terminal Setup - Terminator + ZSH + Powerlevel10k
Tags: linux
Published: 2020-07-07 17:56:58

---
title: Best Terminal Setup - Terminator + ZSH + Powerlevel10k
published: true
description: I tried a new Linux (Ubuntu) terminal setup and it's a blast.
tags: linux
cover_image: ''
---

I tried a new Linux (Ubuntu) terminal setup and it's a blast. I want to share it with you.

## What will you setup?
- **Terminator** terminal to support splitting the terminal screen vertically and horizontally into multiple windows. Extremely useful when working with distributed systems like blockchain.
- **ZSH** framework to add productivity plugins and custom color themes.
- **Powerlevel10k** for "speed, flexibility and out-of-the-box experience."

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/jdsnr1m42mh4xq0jkwrz.png)

## Install the Terminator
```bash
sudo apt-get install terminator
```

Open it.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/a1zo7uskon3ttt5i18pj.png)

## Install ZSH
```bash
sudo apt install zsh
```

And make it your default shell:
```bash
chsh -s $(which zsh)
```

Or checkout the [official ZSH Github repo](https://github.com/ohmyzsh/ohmyzsh/wiki/Installing-ZSH) and choose your favorite installation process.

### PowerLevel10k Theme
The great thing about ZSH is the level of personalization possible. I found this theme which looks pretty solid: https://github.com/romkatv/powerlevel10k#meslo-nerd-font-patched-for-powerlevel10k

#### Install the theme
```bash
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k

echo 'source ~/powerlevel10k/powerlevel10k.zsh-theme' >>! ~/.zshrc

source ~/.zshrc
```

Ready for the cool part? The theme comes with an interactive guide for setting everything as you wish, "to your gusto".

#### Configure a custom font [optional]
In case you have a weakness for a specific font, you can install it and configure it according to the [PowerLevel10k's fonts instructions.](https://github.com/romkatv/powerlevel10k#fonts)

#### Configure colors, spaces, features

![P10k configure](https://raw.githubusercontent.com/romkatv/powerlevel10k-media/master/configuration-wizard.gif)

```bash
p10k configure
```

#### Enable battery plugin
The last personalization I did so far, was enabling the battery status inside the terminal screen.

You can do so by opening the `vim $HOME/.p10k.zsh` file and uncommenting this line:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/8qd122712sdtuz0i1ekf.png)

You are done!

The theme even includes the time the last command took:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/sid4oulvoklzraw9jx2p.png)

Let me know on Twitter if you like this setup! 

{% twitter 1280568270173736960 %}
How to improve the performance of an old MacBook
Tags: mackbook, ssd, development
Published: 2020-07-07 17:56:36

## Table Of Contents
* [How bad my computer was?](#howBad)
* [My options](#myOptions)
* [What I choose?](#whatIChoose)
* [Result](#result)
* [References](#references)

### How bad my computer was? <a name="howBad"></a>

My computer is an old MacBook Pro from 2011, yes a long time ago :) and I came with 4gb of memory not bad talking about 9 years ago and about 4 years I updated to 16 gb.

So past the time I felt some difficulties to open or even work with my IDE and using a software to analyze I/O I saw the numbers bellow.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/5a91nh3yq4cvmffby4dg.png)

### My options <a name="myOptions"></a>

* The first but the more expensive is: Go to apple's site choose the best configuration and finish the purchase paying a lot of money :(.

* The second be patient with the machine :(.

* The last was if I change the disk since a ssd disk is faster than the actual :) ?


### What I choose? <a name="whatIChoose"></a>

I choose the last option and I had to bought the ssd and more tools such as
* SSD disc
* SSD to USB cable to copy the data
* Precision Screwdriver
* Antistatic wrist strap with ESD protection + grounding cable + mat set 
* 16 hours to execute the backup from HDD to SDD
* 30 min to open / close the laptop

### Result <a name="result"></a>

After the little journey to buy the things and wait the copy to SSD now the laptop has a better performance and now I can open my IDE, browsers etc 

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/wuh9bhj4fupdtlwh9739.png)

### References <a name="references"></a>
Tools and drive - https://www.amazon.com
Cover image - https://pixabay.com/photos/rocket-launch-rocket-take-off-nasa-67643
How to procrastinate
Tags: watercooler, discuss
Published: 2020-07-07 17:30:52

I've wanted to write a portfolio for a while I'm playing the long game because I don't need one I want one. So naturally in my infinite wisdom I started using a framework that nobody else uses. Lit-element, then decided that the modern tooling wasn't geared towards Esmodules then ended up writing what Webpack should have been. And so I'm now writing didi, all so I can get back to my portfolio. Does anyone else have this same fascination with just writing stuff for the sake of it despite it being widely accepted as bad development practice?
Naming Convention in Java
Tags: namingconvention, naming, codequality, java
Published: 2020-07-07 17:22:51

In our daily life Name plays a very important role to identify the Object, i.e- name, place, thing, etc.
Naming convention
Just think for a while if the world existing without any name.

Think once what would happen if there is no name of yourself, no name of your family person, your relative, your friends, etc.
 About Naming convention.


Need for the Naming convention:-

Note- Remember the thing that, These are convention, not rules, they are not compulsory to follow, but it's good to follow.

A software project development is a long term process, so it will never possible that only you will manage that project lifetime, the developers will change time to time for sure, so it is the responsibility of the previous developer that the deliverable code is well understandable by the newly hired developer. At this point, naming plays a key role to understand the code.
it is recommended by a high-level developers community to follow the naming convention.
it increases the readability of the program.
Where we have to follow naming convention in programming:-

We have to follow the naming convention on bellow point--


Visit a beautiful article on why and how everyone should have to follow 
Need for the naming convention.

https://www.javaoneworld.com/2020/05/naming-convention-in-java.html