teleren/devto huggingface dataset:
Projeto de automação de ração e água.
Tags: c, kotlin, docker, android
Published: 2021-08-25 19:28:29

Nesse primeiro post pretendo mostrar somente minhas ideias e mais para frente ir mostrando mais código e prototipagem. Deixarei o <a href="https://github.com/HenriqueBros/Food-Water-Dog">repositório</a> do projeto aberto para que vocês possam ir vendo a evolução do projeto.

## <b>Principais ideias:</b>
<br>

## Com o Arduino 
<br>

### ÁGUA:
Para o sistema de reabastecimento de água, tenho como ideia principal o uso de uma válvula solenoide junto com um rele. Sendo reabastecida de acordo com a hora marcada. E também pelo app do celular para uma ativação a qualquer momento.

<br>

### COMIDA:
Para o sistema de ração, pensei em um tubo ou cano com um sistema em espiral dentro. Essa espiral ira girar com a ajuda de um motor que será controlado pelo arduino. Sendo ativado duas vezes ao dia de acordo com a hora marcada, ou via app para uma ativação instantânea.

<br>

## Com o Raspberry:
<br>

### Servidor - MOSQUITTO:
Estará rodando no raspberry pi 3 B+, utilizando Docker para que futuramente eu possa estar fazendo um cluster (que é uma das ideias de automação residencial).

<br>

## Aplicativo:
A prototipação esta sendo feita pelo Figma e o app será feito em Kotlin, ainda estou estudando sobre o desenvolvimento mobile. A comunicação do app com o arduino será feita com um servidor MQTT.

<br>
The Techy Tanuki Episode 2
Tags: gitlab, devops, webdev, techtalks
Published: 2021-08-25 19:25:33

The Techy Tanuki is a stream about the amazing things students using GitLab are creating. Each episode focuses on a student currently learning Computer Science and discusses the project they created using GitLab as well as their background, learning, and advice they have for other learners. 

This episode features [Rajiv Ranjan](https://www.linkedin.com/in/rajivranjanmars/), a student in India. 

{% youtube OUOx-yLFrnI %}

- [Rajiv's site](https://rajivranjanmars.gitlab.io/Anime-Map/) 
- [Rajiv's Repository](https://gitlab.com/rajivranjanmars/Anime-Map)
- [Find out how your classroom can get free licenses of GitLab!](https://about.gitlab.com/solutions/education/) 
- [Apply for the Student Spotlight!](https://docs.google.com/forms/d/e/1FAIpQLSdHzG0IEDw6VlUQDqWsweNRDIdM2HQpoBH-t2OzK1m0_SMeiQ/viewform)
Get started with Python type hints
Tags: python, programming, codereview
Published: 2021-08-25 19:18:14

Python is best thought of as a “dynamic, but strongly typed” language. Types aren’t associated with the names for things, but with the things themselves.

This makes Python flexible and convenient for developers, because you don’t have to rigorously define and track variable types if you’re just throwing together a quick-and-dirty script. But for bigger projects, especially libraries used by third parties, it helps to know which object types are associated with which variables.

For some time now, Python has had the ability to “annotate” names with type information, in one form or another. With Python 3.5, type hints officially became part of the language (PEP 484). Using a linter or code-checking tool, developers can check the consistency of variables and their types across a code base, and perform static analyses of code that would previously have been difficult or impossible. All this is done ahead of time, before the code runs.

In this article we’ll explore some basic examples of Python type hinting. But first we’ll clear up a common misunderstanding about what it is and isn’t used for.

Read More: https://hitechnoloy.ca/get-started-with-python-type-hints/
The Techy Tanuki Episode 1
Tags: techtalks, gitlab, devops
Published: 2021-08-25 19:16:54



The Techy Tanuki is a stream about the amazing things students using GitLab are creating. Each episode focuses on a student currently learning Computer Science and discusses the project they created using GitLab as well as their background, learning, and advice they have for other learners. 

This episode features [Alejandro Rusi](https://www.linkedin.com/in/alejandro-rusi/), a student in Argentina. 

{% youtube qgQQ4MgnKR4 %}


-  [Google Summer of Code](https://summerofcode.withgoogle.com)
-  [GitLab Courseware as Code](https://gitlab.com/courseware-as-code)
-  [Find out how your classroom can get free licenses of GitLab!](https://about.gitlab.com/solutions/education/) 
- [Apply for the Student Spotlight!](https://docs.google.com/forms/d/e/1FAIpQLSdHzG0IEDw6VlUQDqWsweNRDIdM2HQpoBH-t2OzK1m0_SMeiQ/viewform)
What to look at after AWS associate certifications?
Tags: career, spring, java, help
Published: 2021-08-25 19:07:40

Hi guys!
Want to ask you all for career advice/thoughts.

I am a Java (Spring) developer with 3 years of commercial experience. I just complete AWS Certified Developer Associate and now I have three AWS certificates (also Cloud Practitioner and Solutions Architect Associate). And I am thinking about what should I do next in order to boost my career. I think further AWS certifications don't have a lot of sense because I mostly don't have access wider than read-only, so I won't be able to use that knowledge.

I think my weak sides are poor knowledge about security and microservices architecture. So I am looking at CompTIA Security+.

Maybe you know about some other great certificates to take or books to read that will be useful for me? I am open to any feedback. Thank you in advance.
Using `then()` vs Async/Await in JavaScript
Tags: javascript, codenewbie
Published: 2021-08-25 18:44:27

When making async requests, you can either use [`then()`](https://masteringjs.io/tutorials/fundamentals/then) or [async/await](https://masteringjs.io/tutorials/fundamentals/async-await). Async/await and `then()` are very similar.
The difference is that in an [async function](https://thecodebarbarian.com/async-functions-in-javascript.html), JavaScript will pause the function execution until the promise settles. With `then()`, the rest of the function will continue to execute but JavaScript won't execute the `.then()` callback until the promise settles.


```javascript
async function test() {
  console.log('Ready');
  let example = await fetch('http://httpbin.org/get');
  console.log('I will print second');
}

test();
console.log('I will print first');

```

If you use promise chaining with `then()`, you need to put any logic you want to execute after the request in the [promise chain](https://masteringjs.io/tutorials/fundamentals/promise-chaining). Any code that you put after `fetch()` will execute immediately, **before** the `fetch()` is done.

```javascript
function test() {
  console.log('Ready');
  let example = fetch('http://httpbin.org/get').then((res) => {
    console.log('This is inside the then() block');
  });
  console.log('This is after the fetch statement where we are now executing other code that is not async');

}

test();
console.log('this is after the entire function');
```

We recommend using async/await where possible, and minimize promise chaining. Async/await makes JavaScript code more accessible to developers that aren't as familiar with JavaScript, and much easier to read.
How to use Excel F.TEST Function in Microsoft Excel Office 365?
Tags: touseexcelftestfunct, excel, excelfunctions
Published: 2021-08-27 07:23:53

---
title: How to use Excel F.TEST Function in Microsoft Excel Office 365?
published: true
date: 2021-08-25 18:42:26 UTC
tags: ToUseExcelFTESTFunct,Excel,ExcelFunctions
canonical_url: https://geekexcel.com/how-to-use-excel-f-test-function-in-microsoft-excel-office-365/
---

In this post, we will explain to you how to **use Excel F.TEST Function In Excel Office 365.** Let’s see them below!! Get an official version of MS Excel from the following link: **[https://www.microsoft.com/en-in/microsoft-365/excel](https://www.microsoft.com/en-in/microsoft-365/excel)**

## F.TEST Function

The **F.TEST Function** is used to calculate the **F statistic of two samples** in Excel internally and returns the **two-tailed probability of the F statistic** under **Null Hypothesis** (H0). Note that the F.TEST function does not return the F test value, instead it returns its probability. If F.TEST returns a value less than 0.05, we reject the null hypothesis.

## F.TEST Function Syntax

```
=F.TEST(array1, array2)
```

**Syntax Explanation:**

- **Array1:** first sample of values. Mostly control sample.
- **Array2:** second sample of values.

## Example

- Firstly, you need to **create a sample data** with **input value**.

![](https://geekexcel.com/wp-content/uploads/2021/08/Sample-data-35.png)<figcaption>Sample data</figcaption>

- Then, you have to calculate the **two-tailed probability**.
- Now, you need to use the following **F.TEST function** formula.

```
=F.TEST(A2:A12,B2:B12)
```

![](https://geekexcel.com/wp-content/uploads/2021/08/F-TEST-function.png)<figcaption>F.TEST function</figcaption>

- Finally, you get the **F.TEST function** value as **0.831826**.

## Verdict

We hope that this tutorial gives you guidelines on **how to use Excel F.TEST Function In Excel Office 365. ** Please leave a comment in case of any **queries,** and don’t forget to mention your valuable **suggestions** as well. Thank you so much for Visiting Our Site!! Continue learning on **[Geek Excel](https://geekexcel.com/)!! **Read more on [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!!**

**Related Articles:**

- **[How to Unhide Column in Microsoft Excel 2007?](https://geekexcel.com/how-to-unhide-column-in-microsoft-excel-2007/)**
- **[Shortcut Keys for General Options in Microsoft Excel 365!!!](https://geekexcel.com/shortcut-keys-for-general-options-in-microsoft-excel-365/)**
- **[Excel Formulas to Find the Smaller of Two Values!!](https://geekexcel.com/excel-formulas-find-the-smaller-of-two-values/)**
- **[How to Find the Last Column of Data in Excel Office 365?](https://geekexcel.com/how-to-find-the-last-column-of-data-in-excel-office-365/)**
- **[How to use the T.INV function in Excel office 365? – Easy Tricks!!](https://geekexcel.com/how-to-use-the-t-inv-function-in-excel-office-365-easy-tricks/)**
BASIC: VS Code Shortcuts for Mac
Tags: vue, vscode, shortcuts
Published: 2021-08-25 18:30:58

Below is a collection of shortcuts in VS Code I use every day to be efficient and productive. Hopefully you will find these helpful to become efficient and productive. These are for MACS only, not sure if they will translate to PC or not.

## Editing

|Description  |Shortcuts  |
|---------|---------|
|Delete whole line     |⌘⇧K       |
|Move line up/down     |  ⌥ + ↑/↓       |
|Copy and paste entire line    |  ⌥⇧↓      |
|Select next occurrance on selected text     |  ⌘D       |
|Select all occurrances on selected text     | ⌘L        |
|Fold/Unfold code block     |⌘⌥ + [ or ]         |
|Navigate to next open tab     |  ⌘⇧ +  [ or ]      |
|Previous cursor position     |  ⌘U       |
|Split screen     |     ⌘\    |
|IntelliSense     |   ⌃ Space       |

## Panels
|Description  |Shortcuts  |
|---------|---------|
|List of recent files     |⌘P      |
|List of extension commands     |  ⌘⇧P      |
|Toggle terminal     |  ⌃~      |
|Toggle sidebar    |  ⌘B       |
|Toggle bottom panel     | ⌘J        |
|Switch between opened screens     |⌘ + 1, 2, 3, etc..       |


Copy and paste whole line.
![vscode-copy-paste-whole-line](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uxy5k36j2esomjw2uw6u.gif)
 
Move line up or down
![vscode-move-line-up-down](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/olcpdktwclyjys3owi1b.gif)

Fold/unfold code block
![vscode-fold-unfold](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3amnhztq5cpydjobdggl.gif)
Know what youre engineering for
Tags: career, productivity, javascript
Published: 2021-08-25 18:09:10

It can be easy to get stuck in engineering for engineering sake.

But at the end of the day companies pay US to build stuff that make THEM money.

Never forget that.

This is a larger concept of providing value….how can you provide more value? 

Fixing bugs are easy to correlate to providing value. A user or QA team finds a customer bug, and then you fix it.

Pretty straight forward.

Building features is another simple way to understand where value is being generated. Product managers or higher ups have decided that they customers want something and then the engineers..YOU…build it.

Where this gets tricky is when you start refactoring or making changes that you THINK are good.

For example…”were refactoring this thing to be better aligned with community best practices”.

Ok..but why?

Why why why why whyyyyyyyyyyyyyyyyy?

Well, some people way more intelligent than me decided that we should be writing code a certain way for better collaboration, reusability, etc.

Ok…again…but why.

To boil this down its probably to be able to have more resilient code and to be able to build features and debug faster.

Hence providing value.

So…next time you go down the rabbit hole and you work for a company. Ask why and what the return will be short and or long term.

Are you providing businesses value or not?

This has been a great guide for me. I hope it will for you too.

***Want more? Come join our Facebook group to help you get your first job as a software engineer, career development, and so much more!***

https://www.facebook.com/groups/310120400851953
Prioritizing Tasks for Programmers
Tags: devops, programming
Published: 2021-08-25 18:13:15

How to Prioritizing Tasks for Programmers

1. Tasks you are the bottleneck for.  If people cannot work until you finish your part... these should be your first priority so everyone is productively working in tandem.
2. Tasks you can delegate - outline the task and send it away!
3. Tasks you have to wait on others for.  Like submitting a trouble ticket or applying for developer account or API access.

For the rest of the tasks, schedule your most complex for when you are at your mental peak each day.

Quick 1 minute video version:
{% youtube STzhZtJYa_k %}
Factorial In Javascript
Tags: javascript, codenewbie, challenge
Published: 2021-08-25 18:12:30

### Factorial Formula


The factorial function (symbol: !) says to multiply all whole numbers from our chosen number down to 1. 

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3o09w83ejt8vbecp9npw.png)

In general the formula has as shown below:

<b> n! = n * (n-1) * (n-2) * .... * 2 * 1 </b>

If for example we would like to calculate the factorial of number 4 then we would have:

4! = 4 * 3 * 2 * 1

### Factorial in Javascript 


Here's how we would calculate the factorial in Javascript

```javascript
function FirstFactorial(num) {     //consider our num=3
factorial = 1;
for (var i=1; i<=num; i++){        // loop from 1 to 3
  factorial *= i;                  // and multiply with each number
} 

 return factorial;                 //return the factorial which is 
                                   // 3*2*1=6

}
```




###
#100daysofcode [ Day - 12 ]
Published: 2021-08-25 17:57:46

#100daysofcode [ Day - 12 ]

I'm really sorry I've broken the rules of 100daysOfCode & haven't done at least 1hour code for 3days. For these three days, my punishment will be I will learn and code at least daily 10hours (next 3days) with 3 daily small projects. 

Today I've gained some knowledge about ES6 with practice and trying to learn more about ES6. 

#javascript #programming
phase/2 FlatIron school React.
Published: 2021-08-25 17:52:59

Hey everyone,
phase2 has been challenging with all the new concepts but also alot of fun learning about React. Here, I'm going to talk a little about what I learned about useState Hook.

State is a dynamic data that is expected to change in the component, setState will update the state and cause the component to re-render with the updated state value.
for Example, If I have a counter component that increases by 1 on every button click, with React, I could initialize the state value to 0 by calling setState function. with every click, updating the state will cause the whole component to re-render, displaying the new increased value which is now 1 if clicked just once.
This is different from how I used to manipulate the DOM during phase1 using Vanilla JavaScript, I would first find the element that needs to be updated (document.getElementById('id') by the Id/ClassName/TagName then update the inner text/style etc  of that element.


Since setState is asynchronous, it doesn't change the state value immediately so in case the new updated state depends on the previous state value it is very important to use callback function with the current state passed in as an argument returning the current state updated.
In the counter example, the new value on click depends on the previous state value, therefore, the callback syntax should be used :
 setState((prev) => {
return prev +1 
}).
That would be it for my blog, very looking forward to start with phase3, I'll be posting my updates here soon :) .
Here is a link to my React project demo that I finished during phase2 if you would like to check it out:
https://www.youtube.com/watch?v=VEqInyXUWCg&t=199s

Thank you for reading.
Nancy
✨ How to Immutably remove property from JavaScript Object
Tags: javascript, react, webdev, angular
Published: 2021-08-25 17:48:40

Say we want to create a copy of an existing object, reusing most of the properties while dropping few. In order to remove unwanted properties, there are two basic patterns we usually follow.  

Let say we have the following object to work with:

```
Let obj = {
	Name:'Ahmed Murtaza',
	Email:'ahmed_murtaza@xyz.com',
	twitter:'ahmedgmurtaza',
	fb:'ahmedgmurtaza'
};
```

## Old school way

First approach is to use `delete` operator, for that we first duplicate the original object and then explicitly delete the unwanted property out of it, here the unwanted property is `twitter`:

```
Let obj2 = Object.assign({}, obj);
delete obj2.twitter;
```

##  🌟 Using Object destructuring + rest operator:
using this pattern, we isolate the removing property using destructuring format and name the rest of the properties as new object:

```
let { twitter, ...obj2 } = obj;
console.log(obj2); // obj2 does not carries twitter property
```

Using the above approach, we can immutably remove any property out of the object or can pick the one we need while ignoring the rest of the properties.
innerText vs innerHTML
Tags: html, javascript
Published: 2021-08-25 17:38:18

#Introduction
I started learning JavaScript a month or two ago via neogCamp level0. That's where I first encounter these two properties of JavaScript. Sometimes I was using `innerText` to get my work done and sometimes `innerHTML` honestly speaking I never paid much attention to what I was using I relied too much on my code editor. But, let's now talk about what to use where.

#innerText
In simple words, this property lets you put text(string) inside the HTML element from the JavaScript side. innerText retrieves and sets the content of the tag as plain text. So, whatever string you are passing innerText will place it as plain text inside your HTML element for viewers to see. An example of that will be like this.
```html
<html>
<body>
<div style="text-align:center" id="trial1"></div>
		
<script>
const try1 = document.querySelector("#trial1");
try1.innerText = "This is innerText";
</script>

</body>
</html>
```
![An image showing example of innerText html code](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2mecbbtcxuyssdg3moty.PNG)
#innerHTML
Now as its name suggests this property lets you print content between HTML tags, including text information. Unlike `innerText`, though, `innerHTML` lets you work with HTML-rich text and doesn't automatically encode and decode text. That means you can use `innerHTML` to pass normal text as well but, you cant use `innerText` in place of `innerHTML`. An example of `innerHTML` will be like this.
```html
<tml>
 <body>
    <div style="text-align: center;" id="trial2"></div>

<script>
   const try2 = document.querySelector("#trial2");
   try2.innerHTML = `<p>This is innerHTML</p>
          <img style="width:100px;height:100px;" src="hero.jpg">`;
</script>

  </body>
</html>
```
![An image showing example of innerHTML html code](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ba3jqm4oilxfdxnrpl9m.PNG)
#comparison
```html
<html>
<body>
    <div style="text-align: center;" id="trial1"></div>
    <div style="text-align: center;" id="trial2"></div>

<script>
   const try1 = document.querySelector("#trial1");
   const try2 = document.querySelector("#trial2");
try1.innerText ='<p>This is innerText</p><img style="width:100px;height:100px;" src="hero.jpg">';

try2.innerHTML = `<p>This is innerHTML</p><img style="width:100px;height:100px;" src="hero.jpg">`;
 </script>
</body>
</html>
```
![An image showing example of innerText & innerHTML html code](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/plj2adm1imr5qnm8eubc.PNG)

innerText is printing pure text from the given string and innerHTML is decoding the string as simple text as well as HTML element.
Desktop Environment in Linux!
Tags: linux, todayisearched, beginners
Published: 2021-08-25 17:05:27

**Do you want to use Linux but find difficulty with commands?**
![Sad](https://media.giphy.com/media/dJYoOVAWf2QkU/giphy.gif)
So, you came in the right place... In this article, I am going to explain about **How can you use Linux in easy way without using any single command!**

Here, I will suggest you that it would be great if you go through below 👇 article 1st before starting this.
{% link https://dev.to/suchitra_13/what-is-linux-3jnc %}

Now, you got to know about Linux and its features as well, also you may or may not be heard about that… Linux is a CLI based, normal user can't use Linux based operating system right!. And If you want to use Linux then you should have good grasp on commands and programming languages.
But don't worry, still you can use Linux!

The solution of your Problem is Desktop Environment.
But here the question arises is ...
##What is a Desktop Environment ?

![Let's discuss](https://media.giphy.com/media/VbnUQpnihPSIgIXuZv/giphy.gif)

>A desktop environment is the bundle of components that provide you common graphical user interface (GUI) elements such as icons, toolbars, wallpapers, and desktop widgets. Thanks to the desktop environment, you can use Linux graphically using your mouse and keyboard like you do in other operating systems like Windows and macOS.
Without a desktop environment, your Linux system will just have a terminal like utility, and you’ll have to interact it using commands only.

## Some example of Desktop Environment in Linux:

- [GNOME](https://www.gnome.org/)

![Gnome](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ldkga9kagzrslopksara.jpg)
 

- [Xfce](https://www.xfce.org/)

![Xfce](https://www.lifewire.com/thmb/j9x5SP0fQt0gUYxx3SOD9Gjjxgk=/1600x900/filters:fill(auto,1)/xfce2-5806ec9f3df78cbc28aa61d0.png)

- [KDE](https://kde.org/)

![KDE](https://i.redd.it/1g6gr47ibj051.png)

- [LXDE](http://www.lxde.org/)

![lxde](https://www.technewsworld.com/images/article_images/74574_990x557.jpg)

- [Budgie](https://ubuntubudgie.org/)

![Budgie](https://thelinuxuser.com/wp-content/uploads/2019/12/Featured-Image.jpg)

## Thanks for reading❤️
If you have any query or suggestions, let me know via commenting!😊