teleren/devto huggingface dataset:
Atualizando o fork no GitHub
Tags: github, git
Published: 2022-07-27 04:28:00

Quando queremos contribuir em projetos _open source_, nós fazemos o fork do projeto a partir do repositório original. Entretanto, se o projeto ainda estiver em desenvolvimento, o seu fork ficará desatualizado nos próximos commits do projeto. Para isso, é necessário atualizá-los. Veja como:

0) Vamos supor que temos o <u>projeto original</u> e o <u>projeto fork</u>;

1) É necessário adicionar um remote para o projeto original;

```
git remote add upstream "url do projeto original do GitHub"
```
2) Atualize o upstream;

```
$ git fetch upstream
```
3) Faça o merge do projeto original para o o projeto fork; (Lembre-se de verificar a branch!)

```
$ git merge upstream/main main
```
4) Para atualizar o repositório no GitHub a partir do repositório local, basta dar um push;

```
$ git push origin main
```

Agora seu projeto está atualizado!
Top 4 VS Code Editing Tricks
Tags: vscode, webdev, beginners, programming
Published: 2022-07-27 04:23:49

> ######In this blog, I'll reveal four VS Code editing tricks that can help you create code quicker and achieve long-term productivity as a programmer.

##Trick 1 - Param Hints:

The first technique is related with **IntelliSense**.
You may find yourself in a file with no idea where to begin.
You can always use `Ctrl + Space` to _activate IntelliSense_, which will give us a long list of _global objects_ in this **JavaScript** file and then you can select the object you want.
![trigger Intellisense](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hl7bcr1znmjvr4oqm1km.gif)

When you don't know what _arguments to pass into a function_, it may be really frustrating. A handy method to know is to **place your cursor within the parenthesis** and then press `ctrl + shift + space` to trigger parameter hints.
This will show you what arguments you can pass in the function.

![Parameters hints in VS Code](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t9mpjg461mjh7hpko0x3.png)

##Trick 2 - Moving Quickly:

Moving the mouse about trying to place the pointer in the proper location is one of the most time-consuming things a developer will do without even knowing it.
Spend some time editing your code _without using the mouse_. This is one of the most important keys to _speedier coding_.

One simple approach to _increase your speed_ is to utilize the **command palette** by hitting `Ctrl + P` followed by the `@` sign to search for the code you need.
This is quite useful since it allows you to easily travel around the code.

![command palette vs code](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x168mxu0ezgmgegyx4jy.png)

##Trick 3 - Fast Cut or Copy Trick:

By pressing `ctrl+c` or `ctrl+x`, you may **copy the line of code you're presently on**. There is **no need to highlight the line with the mouse** since it will copy the complete line.

##Trick 4 - Line Move/Copy trick:

If you want to **move a line** somewhere nearby, simply press `alt + ← ↑`.
To **copy the same line of code over and over again**, use `shift + alt + ← ↑`


> ###_The bottom line is to remember this_:
> `Ctrl + Space` -> _Suggestions_
> `Ctrl + Shift + Space` -> _Parameter hints_
> `Ctrl + P` -> _Command palette_
> `ctrl + c` or `ctrl + x` -> _copy entire the line of code_
> `alt + ← ↑` -> _move a line_
> `shift + alt + ← ↑` -> _copy line of code over and over again_

######Thanks for reading this blog, do follow me for more!
Como adicionar todos os arquivos de uma pasta para o repositório remoto Git pelo Bash
Tags: git, github
Published: 2022-07-27 03:47:00

Após finalizar as modificações na pasta do seu projeto e desejar subir os arquivos para seu repositório remoto, basta seguir os seguintes passos:

1) Abra a pasta do seu projeto no Git Bash;

2) Com o Git Bash aberto, vamos inicializar com o git init;

```
$ git init
```
3) Verifique as modificações com o git status;

```
$ git status
```
4) Após verificar as modificações do projeto, adicione todos os arquivos com o git add;

```
$ git add .
```
5) Agora, dê o commit das modificações

```
$ git commit -m "MENSAGEM"
```
6) Se estiver na branch principal do projeto, vamos agora subir para a nuvem!

```
$ git push origin main
```
Observação: a branch master do GitHub agora é chamada de main e a do Gitlab ainda é chamada de master. Não esqueça!

Com isso, seus arquivos já estarão disponíveis no seu repositório remoto.
Jquery Search Filter Table Rows Example
Tags: jquery, search, filter, html
Published: 2022-07-27 03:24:14

In this article, we will see jquery search filter table rows example. here we will see how to search data using the jquery filter. Manytimes we have requirements to filter or find specific data from the HTML table. Here we will use the filter() method returns elements that match certain criteria.

So, let's see how to search data using jquery filter, how to search data using jquery filter, filter table rows using jquery, jquery search filter table rows example, search table rows using jquery, jquery search table rows.

> Example: Jquery Search Filter Table Rows Example

Here, we will create table and add search box.

```
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>

<style>
table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

td, th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #dddddd;
}
</style>
</head>
<body>

<h2>Jquery Search Filter Table Rows Example- Techsolutionstuff</h2>
<input id="myInput" type="text" placeholder="Search Here..">
<br><br>

<table>
  <thead>
  <tr>
    <th>Firstname</th>
    <th>Lastname</th>
    <th>Email</th>
  </tr>
  </thead>
  <tbody id="myTable">
  <tr>
    <td>Carry</td>
    <td>james</td>
    <td>carry@example.com</td>
  </tr>
  <tr>
    <td>Jery</td>
    <td>joe</td>
    <td>jery@gmail.com</td>
  </tr>
  <tr>
    <td>Demo</td>
    <td>roof</td>
    <td>demo@test.com</td>
  </tr>
  <tr>
    <td>Jeff</td>
    <td>befos</td>
    <td>jeff_b@test.com</td>
  </tr>
  </tbody>
</table>

</body>
<script>
$(document).ready(function(){
  $("#myInput").on("keyup", function() {
    var value = $(this).val().toLowerCase();
    $("#myTable tr").filter(function() {
      $(this).toggle($(this).text().toLowerCase().indexOf(value) > -1)
    });
  });
});
</script>
</html>
```
 
---
You might also like:

- **_[Read Also: How To Disable Right Click Using jQuery](https://techsolutionstuff.com/post/how-to-disable-right-click-using-jquery)_**

- **_[Read Also: Laravel 8 Autocomplete Search from Database](https://techsolutionstuff.com/post/laravel-8-autocomplete-search-from-database)_**

- **_[Read Also: How To Convert HTML To PDF Using JavaScript](https://techsolutionstuff.com/post/how-to-convert-html-to-pdf-using-javascript)_**
NotionNotes - Checkout this small use case within minutes!
Tags: notion, bookmarks, highlights, extension
Published: 2022-07-27 02:52:51

- Ease your tasks and consolidate everything in just one click, hassle-free way of saving your notes/highlights.

- While reading books, generating reports, case studies, research and articles and much more - right click and save to **NotionNotes**

- Increase your productivity by 10x in day to day tasks.

> NotionNotes - You click, we Save!

Demo - https://youtu.be/AkVrVL4s1FY
Configurando NGINX + PHP no Mac OS
Published: 2022-07-28 01:00:11

---
title: Configurando NGINX + PHP no Mac OS
published: true
date: 2022-07-27 01:30:29 UTC
tags: 
canonical_url: 
---

Para aqueles que gostam ou querem ter um web server, configurado em seu Mac OS, sugiro instalar o NGINX. Eu particularmente gosto de ter o NGINX juntamente com o interpretador de cdigo PHP instalados e configurados no meu Mac. E se voc quer saber como instalar e configurar siga as seguintes instrues:

## Pr-requisitos

1. Siga as instrues do artigo: [Instalando NGINX Server no Mac OS](https://andersonbraz.com/instalando-nginx-server-no-mac-os)

2. Siga as instrues do artigo: [Como instalar o PHP no Mac OS?](https://andersonbraz.com/como-instalar-o-php-no-mac-os)

## Instrues de Configurao

### Configurar NGINX

Abra o arquivo de configurao do NGINX com o seguinte comando:

```
code /usr/local/nginx/conf/nginx.conf

```

### Configuração mínima/padrão

```
worker_processes 1;

events {
    worker_connections 1024;
}

http {
    include mime.types;
    default_type application/octet-stream;

    sendfile on;
    keepalive_timeout 65;

    server {
        listen 80;
        server_name localhost;

        charset utf-8;

        location / {
            root html;
            index index.html index.htm index.php;
        }

        error_page 500 502 503 504 /50x.html;
        location = /50x.html {
            root html;
        }

        location ~ \.php$ {
           root html;
           fastcgi_pass 127.0.0.1:9000;
           fastcgi_index index.php;
           fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
           include fastcgi_params;
        }

    }

```

### Step3



### Step4



### Step5



### Step6



## Concluso

Aps seguir as instrues acima voc dispem de um servidor web local capaz de lhe ajudar em tarefas de desenvolvimento de sites e pginas para web com uso de cdigo em PHP. Tambm possvel realizar implantaes de pequenas solues CMS que se utilizam do PHP como: Wordpress, Grav, Joomla e outros.

## Crditos

Photo by [Alex Knight](https://unsplash.com/@agk42?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/s/photos/computer?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)
openGauss Won "Typical Cases in the Software Industry in 2021"
Published: 2022-07-27 02:25:05

The 2022 China International Software Development Conference and the 5th China Software Industry Annual Conference were successfully held on May 10, 2022. The innovative practice of "openGauss Database Helps CNOOC Build Intelligent Oilfields" won the "Typical Cases in the Software Industry in 2021".

Riding the wave of digital transformation, CNOOC follows the trend and starts the transformation of energy production from informatization to intelligence. Databases are critical to the core IT infrastructure of oil and gas production systems. Considering product performance, data security, service continuity and availability, and support for future services, CNOOC chose openGauss to build a new data O&M management system.
VIDEO: 4 steps to create career ladder in tech team - software engineering career paths
Published: 2022-07-27 02:25:00

In this video, you will find out how to create a career ladder for a tech team that REALLY WORKS, as well as get the basic toolkit for a manager and software engineering career paths examples and templates. 

🔗USEFUL LINKS: 
📚FREE Ebook on career progression by Ace: https://www.getace.io/ebooks?utm_source=devto&utm_campaign=ebook_promo
💡 Skill matrix templates for 65+ tech roles: https://cutt.ly/skillmatrix_free
📈 Buffer career path template: https://bit.ly/3xhI4qg
🚀Mentor your team on autopilot with insight and recommendations SIGN IN: https://bit.ly/3yiLycy

-------------------------------------------------

00:16 - 4 steps to build software engineer career path
01:34 - Software engineer career path
01:45 - Toolkit to create a career ladder in a tech team
01:49 - Free ebook for engineering managers and tech lead on how to build career progression framework for your team

-------------------------------------------------

Help your team grow with Ace!

FREE ebooks for engineering management & tech leads: https://www.getace.io/ebooks?utm_source=devto&utm_campaign=ebook_promo
Ace's blog: https://blog.getace.io/
Grow This Grow That podcast: https://community.getace.io/
Instagram: https://cutt.ly/vectorly_inst
Twitter: https://twitter.com/VectorlyHQ
VIDEO: 6 SECRET tips to bring your 1 1 meetings with employees to the next level
Published: 2022-07-27 02:08:00

These secret tips will help you
conduct 1 1 meetings with your direct reports and make them super productive.

🔗USEFUL LINKS:
💡FREE 1-on-1 meetings templates: https://cutt.ly/skillmatrix_free
🚀 Join Ace to mentor your team on autopilot - SIGN IN https://www.getace.io/?utm_source=devto&utm_campaign=main_page

Help your team grow with Ace!
FREE ebooks for engineering management & tech leads: https://www.getace.io/ebooks?utm_source=youtube&utm_campaign=ebook_promo
Ace's blog: https://blog.getace.io/
Grow This Grow That podcast: https://community.getace.io/
Instagram: https://cutt.ly/vectorly_inst
Twitter: https://twitter.com/VectorlyHQ
My Algorithm is Optimal!
Published: 2022-07-27 01:50:43

**Optimal **is a fancy word used in computer science to describe the comparison between one algorithm or even data structure and another.

There are various notions of optimality one can think of. One popular notion of optimality is worst-case running time, which is what you describe:

An algorithm for solving a problem P is asymptotically optimal with respect to worst-case running time if it runs in time T(n), and any algorithm for P runs in time Ω(T(n)).

In fact, this notion is ambiguous, since it's not clear what the parameter n is. Indeed, in some cases there are several relevant parameters, which we sometimes want to consider at the same time. This is the case with graph algorithms, in which there are two natural parameters: the number of vertices and the number of edges.

An additional point of ambiguity is the computation model against which everything is measured. In theoretical work, we usually consider the word RAM as our computation model, but other models are possible.

The definition above is about the asymptotic running time. This manifests itself in two ways. First, we only care about the time complexity of the algorithm up to constant factors. Second, we only care about the behavior for large n. In practice, sometimes n is fixed, and then the definition above doesn't make any sense.

Whereas worst-case running time is a popular parameter, other parameters are also relevant. Some examples include average-case running time (whenever there is a natural input distribution) and memory consumption. Only you can say which notion of optimality is most relevant for you.
The 8 Fallacies of Distributed Systems Simply Explained
Tags: systemdesign, programming, development, technology
Published: 2022-07-27 01:27:46

---
title: The 8 Fallacies of Distributed Systems Simply Explained
published: true
date: 2022-07-27 01:18:25 UTC
tags: #systemdesign #programming #development #technology
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t4is6m7ra7e0di4v3gld.jpg
---

## Introduction

The distributed systems fallacies are the false assumptions developers make about these systems. There are 8 statements describing these fallacies:

## The 8 Fallacies in a nutshell
Let's jump into these fallacies:

### 1. The network is reliable

Networks are unpredictable. There are plenty of reasons like network failure, data center failure, DDoS attacks, etc...

### 2. Latency is zero

In local area network apps, latency may be close to zero. But in a wide area network, data has to travel and span large geographical areas which cause latency deterioration.

### 3. Bandwidth is infinite

There is no infinite throughput, in other words, the capacity of networks to transfer data is not infinite.

### 4. The network is secure

A network can be compromised in many ways like DDoS attacks, vulnerabilities, etc...

### 5. Topology doesn't change

Network topology refers to the manner in which the nodes are arranged and relate to each other. Network topology changes all the time accidentally due to issues like a node crash or deliberately by adding a new node or removing an old one.

### 6. There is one administrator

In a single-machine project, there might be only one administrator. But in a distributed system, there might be many administrators, one for every node.

### 7. Transport cost is zero

The bigger the network, the bigger the financial cost. The financial cost comes from servers, load balancers, proxies, securing the network, time and effort in designing the system, considering the high availability and the fault tolerance, etc...

### 8. The network is homogeneous

Most distributed systems are heterogeneous. They integrate with many types of devices running on different operating systems. So you have to ensure that all these components can talk to each other, despite their differences.

## Conclusion

These are the 8 fallacies of distributed systems in a nutshell. I hope you have found this useful. Thank you for reading.

## Further Read

- [Navigating the 8 fallacies of distributed computing](https://ably.com/blog/8-fallacies-of-distributed-computing)
Marketing Yourself as a Job Candidate: Key points to Stand Out from the Crowd
Tags: interview, job, preparation, tips
Published: 2022-07-27 00:57:34

---
title: Marketing Yourself as a Job Candidate: Key points to Stand Out from the Crowd
published: true
description: Job searching is more than just submitting your CV and waiting for a positive response.
tags: interview, job, preparation, tips
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
---

Job searching is more than just submitting your CV and waiting for a positive response.
In a competitive and vast Information Technology job market, it is vital that you stand out from the crowd. Having the needed skills and experience is not always enough to crack the interview. To be noticed by employers, effective self-marketing is key.
However, self-marketing for a job can be tricky, especially if you’re a fresh job seeker or a worker planning a mid-career switch. Being the former means you’re new to the job search game while the latter puts you out of touch with the latest job search trends.
If you are scratching your head on what to do, stop getting afraid of it because I am putting together some tips for marketing yourself effectively that will up your chances of landing that job you’ve been eyeing.
You are welcome !!
Read full article at
https://link.medium.com/ss8GRMLvZrb
Did you try Google Carbon language?
Tags: programming, tutorial, webdev, discuss
Published: 2022-07-27 00:57:00

Google launched Carbon programming language with a goal to being a successor to C++. Tried it in depth and it's a great refreshing feel in terms of syntax compared to C++. If you are looking for a high performance, modern feature built language ,you should definitely try Carbon. While it is still in experimental phase, its definitely worth playing around. 

You can get started with this [Google Carbon language tutorial](https://tipseason.com/carbon-language-tutorial-syntax/)

One of the ways Carbon language wants to improve C++ is to have a safer memory management. To read more about carbon it you can read it here. [Carbon language memory safety](https://tipseason.com/carbon-language-memory-safety/)

Although I use C++ very rarely, Getting started with Carbon language was breeze. If you are interested in exploring new language, definitely give it a try. If you tried it, 

Also here is the comparison for [Carbon language vs Rust](https://tipseason.com/carbon-language-vs-rust)

What are your thoughts on Google Carbon language ?
How to solve E_INVALIDARG (0x80070057) in VirtualBox
Tags: security, linux, virtualbox, ethicalhacking
Published: 2022-07-27 00:54:45


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


When you try to import virtual appliance like **.ova** into virtual box sometime you will get an error like this :

> E_INVALIDARG (0x80070057)

**Reason**: insufficient space in the Drive you are trying to install .ova file.
 _This will be one of the reason 😉_

**Solution** : Try to import .ova file in any other Drive having sufficient storage.💡
Slow stable releases or fast unstable releases?
Tags: continuousintegratoi, continuousdeployment, continuousdelivery, leancd
Published: 2022-08-09 08:14:25

---
title: Slow stable releases or fast unstable releases?
published: true
date: 2022-07-27 00:00:00 UTC
tags: continuousintegratoi,continuousdeployment,continuousdelivery,leancd
canonical_url: https://jhall.io/archive/2022/07/27/slow-stable-releases-or-fast-unstable-releases/
---

“I don’t care if we spend three months between releases, if we can get it stable.”

I was recently told this by a CEO frustrated by the bugs in production, after a recent switch from GitFlow, with weeks-long manual QA, to trunk-based development.

When he said that to me, this popular meme popped to mind:

 ![](https://jhall.io/images/agile-poo-meme_hu3a3dbdf100b8f8bb503b3b3cce1faacc_39566_450x0_resize_q85_box.jpg)

Software creation is a messy process. It’s a process of discovery, and discovery is never safe or easy. If there’s one thing we’ve learned over the years, it’s that the choice between “slow and stable” or “fast and unstable” is a false choice.

My reply to him was: “The real choice is between waiting three months for a huge pile of sh\*t, or getting small, manageable pieces of sh\*t more frequently.”

He laughed a bit. But then I asked him to consider the team’s track record before the switch to trunk-based development. It was delivering buggy software then, too. The slower pace hadn’t solved that problem.

And this brings to light a key problem with meme above. Two problems, really. The more important problem is that it ignores the clean-up that happens after delivering a pile of poo. It also forgets (perhaps intentionally, perhaps naively) that there are two “agiles” out there: The one it’s making fun of, which is really just waterfall in disguise. It’s delivering increments, but without adapting. And then there’s “real agile”, which is all about adapting to new information (including information about bugs).

Here’s my fixed version of the meme:

 ![](https://jhall.io/images/full-agile-poo-meme_hu7717f68e69d1d33ce771ed02515dd644_125231_600x0_resize_q85_box.jpg)

If smaller pieces of sh\*t appeals to you, my free email course on [Lean CD](https://leancdbootcamp.com/) might be of interest!

* * *
_If you enjoyed this message, [subscribe](https://jhall.io/daily) to <u>The Daily Commit</u> to get future messages to your inbox._
Day 601 : Crawl
Tags: hiphop, code, coding, lifelongdev
Published: 2022-07-26 22:19:26

_liner notes_:
- Professional : Had a big company wide meeting. A lot of new stuff is happening. Will be interesting to see where things go. Got some good news that it looks like I'll be able to go to Japan for some work stuff. Then I cleaned up a demo application I was working on, wrote up some documentation for it and got it ready to be pushed to GitHub. Also reviewed a pull request. Not a bad day.

- Personal : I worked on my side project some last night. Made it to a good stopping point and then finally started my Wani Kani lessons. I finished all the Radicals lessons and then went to bed. I was determined to get it done. Gotta crawl before you can run. haha.

![A small tree growing on a log in the middle of lake in Fairy Lake, BC, Canada](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ouf87kuibp0qie9d3pzh.jpg)

Going to work on my side project some more. I believe there are some Wani Kani reviews waiting on me. I may go through some tracks for the radio show also.

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube sRPk_dxSkVQ %}