teleren/devto huggingface dataset:
My work for 2.8
Tags: javascript, opensource, reactnative, react
Published: 2022-03-16 01:43:59

In our [2.8](https://github.com/Seneca-CDOT/telescope/milestone/14?closed=1) release, I would be able to contribute 3 quick fix for our project

## About page and adding more documentation for react native app

I have been overthinking on how I would fit our currently [About page](https://telescope.cdot.systems/about/) into our mobile app. Then I regconize I should keep the ball rolling by having draft and put in some work so peoples can have more inputs into it. I then reading the doc on how to implement an `ScrollView` in `react-native` and learn how to insert line break. Working on using flex for responsive design. I try to implement a back ground image for our `ScrollView` so it look fancy enough but yet I will still need to look more into this ever since more UX principles need to be follow.

You can check out my current work here:[About page](https://github.com/Seneca-CDOT/telescope/pull/3167)

 I also having a small PR to add 2 usefull `Expo CLI commands` which is `expo doctor` and `expo update` into our `react native` doc for the later generation of `Telescope` when developing our
mobile app.Most of the time when I start working on our mobile app. There has always been dependency related problems. So for react native to trasnlate mobile app writting in react to `native`, they host the app on a virtual machine which acting like a `bridge`, then that `bridge` distribute our app and translate into `native` language. The virtual machine require up to date or I can say compatible dependency to be able to run smoothly. So running `expo doctor` will help indentify incompatible dependency and since our `renovate-bot` did not allow in the `mobile` subfolder, `expo update` will get the job done easily.

My doc [PR](https://github.com/Seneca-CDOT/telescope/pull/3170) 

## Fixing Linkyfier 

When I use `LinkifyHTML` to make every hyperlink clickable. We aaccidentally linkify all of the `img` tag which is not what we want it to behave. When I was wondering on how to fix it our prof have point out the [ignore tag](https://linkify.js.org/docs/options.html#ignoretags) in the doc and here is my qucik fix:

```js
article.content = linkifyHtml(article.content, { ignoreTags: ['img'] });
``` 

I would have to be more flexible on suing the doc to figure out how to solve many more problems. Got a lot to learn !
How to connect to the NETGEAR BR500 router using OpenVPN-GUI on Windows
Tags: netgear, openvpn, vpn, router
Published: 2022-03-16 01:43:20

Assuming you've already installed [OpenVPN](https://openvpn.net/community-downloads/) and renamed the corresponding network adapter as the [user manual](https://www.netgear.com/support/product/BR500#docs) instructs, here are a few additional details:

1. The config files downloaded from the router must all be located at `C:\Program Files\OpenVPN\config` or `C:\Users\$USERNAME\OpenVPN\config\client` and must all have unique names. If you need only 1 connection and manually place files in 1 of those 2 locations, delete files with the same names in the other location
2. Once the above is satisfied, start `OpenVPN GUI`
3. Right-click on the tray icon
4. Mouseover `Import`
5. Click `Import from file...`
6. Import the `client.opvn` file downloaded from the router
7. Once the import is complete, right-click on the tray icon again 
8. Click `Connect`

Your OpenVPN connection should now work perfectly.

The above works on Windows 11 and should also work on Windows 10.

Source: https://community.openvpn.net/openvpn/wiki/OpenVPN-GUI-New
Go 1.18 is released today 🎉 Let's try some yammy Generics
Tags: go
Published: 2022-03-16 01:37:17

Go 1.18 is released today! [Download the latest version here](https://go.dev/dl/)

Let's try a library called "lo" for common generics operations. The [lo library](https://github.com/samber/lo) is similar to Javascript's lodash.

Example:

```go
package main

import (
	"fmt"

	"github.com/samber/lo"
)

func main() {
	nums := []int{1, 2, 3}

	lo.ForEach(nums, func(t int, i int) {
		fmt.Println(t)
	})

	doubles := lo.Map(nums, func(num int, _ int) int {
		return num * 2
	})
	fmt.Println("doubles:", doubles)

	odds := lo.Filter(nums, func(v int, _ int) bool {
		return v%2 != 0
	})
	fmt.Println("odds:", odds)

	lo.Shuffle(nums)
	fmt.Println("randomed:", nums)

	reversed := lo.Reverse(nums)
	fmt.Println("reversed:", reversed)

	if idx := lo.IndexOf(nums, 3); idx != -1 {
		fmt.Println("Found 3")
	} else {
		fmt.Println("Not found 3")
	}

	ele, found := lo.Find(nums, func(v int) bool {
		return v == 2
	})
	fmt.Println("Found:", found, "Element:", ele)

	arr := lo.Range(5)
	fmt.Println("array:", arr)

	// get map.keys
	m := map[string]string{
		"name":  "John",
		"score": "A",
	}
	fmt.Println(lo.Keys(m))
	fmt.Println(lo.Values(m))

	for _, item := range lo.Entries(m) {
		fmt.Println("Key:", item.Key, "=>", "Value:", item.Value)
	}
}
```

Run it:
```
$ go run main.go
1
2
3
doubles: [2 4 6]
odds: [1 3]
randomed: [1 3 2]
reversed: [2 3 1]
Found 3
Found: true Element: 2
array: [0 1 2 3 4]
[name score]
[John A]
Key: name => Value: John
Key: score => Value: A
```
Configure Git to Autocorrect Your Fat Fingers
Tags: git, cli
Published: 2022-03-16 01:17:21

---
canonical_url: https://waylonwalker.com/til/git-config-help-autocorrect/
published: true
tags:
- git
- cli
series: til
title: Configure Git to Autocorrect Your Fat Fingers
---

If you have ever mistyped a git command very close to an existing one you have likely seen this message.

``` bash
❯ git chekout dev
git: 'chekout' is not a git command. See 'git --help'.

The most similar command is
        checkout
```

## Automatically run the right one

What you might not have known is that you can configure git to just run this command for you.

``` bash
# Gives you 0.1 seconds to respond
git config --global help.autocorrect 1

# Gives you 1 seconds to respond
git config --global help.autocorrect 10

# Gives you 5 seconds to respond
git config --global help.autocorrect 50
```

## Fat Fingers Gone

Now when you typo a git command it will autmatically run after the configured number of tenths of a second.

``` bash
❯ git chkout get-error
WARNING: You called a Git command named 'chkout', which does not exist. Continuing in 1.0 seconds, assuming that you meant 'checkout'. M       pages/blog/how-i-deploy-2021.md M       pages/hot_tips/001.md M       pages/templates/gratitude_card.html M       plugins/index.py M       plugins/publish_amp.py M       plugins/render_template_variables.py M       plugins/youtube.py M       requirements.txt M       static/index.html Switched to branch 'get-error'
```

## My config

I'm rocking 10 for now just to see how I feel about it, but honestly I cannot think of a time that I have seen the original warning that was not what I wanted.  This at least gives me some time to respond if I am unsure.

``` bash
git config --global help.autocorrect 10
```
📺 Online Meetup: Everything You Need to Get Started with No-Code Workflow Automations for Identity
Tags: events, meetup, nocode, webinar
Published: 2022-03-22 03:30:48

---
title: 📺 Online Meetup: Everything You Need to Get Started with No-Code Workflow Automations for Identity
published: true
date: 2022-03-16 01:03:00 UTC
tags: Events,Meetup,NoCode,Webinar
canonical_url: https://maxkatz.net/2022/03/15/online-meetup-everything-you-need-to-get-started-with-no-code-automations-for-identity/
---

We are hosting our first Workflows online meetup, we hope you can join us!✨

[![Okta Workflows flow](https://katzmax.files.wordpress.com/2022/03/onlinemeetup_everything_you_need_to_know.png?w=1024)](https://katzmax.files.wordpress.com/2022/03/onlinemeetup_everything_you_need_to_know.png)


**⭐ What is this**

Okta Workflows allows you to automate identity processes without writing code. Join this online meetup to learn everything you need to start building no-code automations for identity. 

**🚀 When and register**

- When: **Wednesday, March 31, 9 AM PT/12 PM ET**
- I want to attend: [**Register now**](https://okta.zoom.us/webinar/register/WN_NtIQLhLURUSpTcEouJgFtw)

**🎓What you will learn**

In this online meetup you will learn:

- What’s on the dashboard, an overview
- How to use actions and functions
- Four ways to start a flow
- How to map data from one card to another
- Using tables to store flow data
- Testing a card, testing a flow
- How to use connections
- Using templates
- Connecting to a custom API endpoint
- Hands-on example building a flow

**👷🏻Who should attend**

Folks who should attend:

- IT Administrators, Integration Architects
- Product Manager, Developers, Marketing Operations and Technology Leads
- DevOps Engineers and Security Engineers
- And, and folks who are new to Workflows

🎙**Speaker**

- Max Katz, Workflows Community Advocate (yes, that’s me 😜)
Framework Performance Results: Rust, Go, Node, Deno, vs Ruby
Tags: rust, go, performance, ruby
Published: 2022-03-16 00:54:45

We have entered the age of Fire-and-Forget websites. Imagine a single process able to handle 100,000 RPS. You would never have to scale that application horizontally. No PagerDuty at 3 AM because your infra is collapsing under its own weight.

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

My SpreadSheet: 

https://docs.google.com/spreadsheets/d/1WiOBYR1FGnWh65IA-h_E0kcchS1y5J0CEFz5wHBHqBU/edit?usp=sharing
Como atualizar o Node.js para a ultima versão no Ubuntu 🐧
Tags: node, javascript, ubuntu, programming
Published: 2022-03-16 00:36:56

Olá, pessoas! Por questões de estudantis na última semana migrei de sistema operacional... o que antes eu usava Windows 10 para tudo, hoje uso a distribuição Ubuntu do Linux.

Com isso, me deparei com diversas mudanças e dores de cabeças em que nunca passei. E uma delas é que instalei node.js via terminal com o comando:
```
sudo apt install nodejs
```
Então tá, tudo certo né? Né?!😐 Não, o problema é que foi instalado uma versão muito antiga do node.js no meu caso era a versão 6.11.3, então toda vez que eu iria instalar um pacote mais atual emitia a mensagem abaixo:
```
The engine "node" is incompatible with this module. Expected version ">=12.6". Got "10.19.0"
```
Então começaremos a saga da resolução desde problema.

### 1. Abra o Terminal no Ubuntu
Antes de qualquer coisa precisaremos do terminal, então nossa primeira missão é abri-lo.

### 2. Limpar o cache
Para limpar o cache no npm, precisamos executar o comando abaixo em nosso terminal.
```
sudo npm cache clean -f
```
Vai solicitar a senha, e então é só colocar e prosseguir.

### 3. Instalar globalmente o modulo _n_
o modulo **n** vai ajudar a facilitar a atualização do node.
```
sudo npm install -g n
```

### 4. Escolha versão do node
Para instalar a **última versão** lançada do node basta usar o comando abaixa: 
```
sudo n latest
```
Porém, a última versão nunca é a recomendada, então a melhor escolha seria a **versão mais recente que está estável**, para isso é bem simples basta usar o comando abaixo:
```
sudo n stable
```
Ótimo, agora está perfeito... e se ao invés de querer a **última versão lançada** ou **versão recente estável** eu quisesse a uma **versão específica**? Também é muito simples... suponhamos que queremos a versão `8.2.6`. Para isso usaremos o comando:
```
sudo n 8.2.6
```

### 5. Verificar a versão do Node
Pronto, seu node está atualizado. Agora verifique a versão do node com o comando:
```
node --version
```
Calma, sei que retornou a versão antiga do node. Não há nada de errado, reinicie o terminal e digite o comando de verificar a versão novamente que dessa vez será apresentado versão atualizada.

### Conclusão
Então só para concluir, afirmo com total clareza que os simples comandos ensinados nesse artigo foram os que resolveram esse problema e agora posso instalar todos meus pacotes tranquilamente.

Me acompanhe no [GitHub](https://github.com/EuCarlos), [LinkedIn](https://www.linkedin.com/in/josecarlos98), [Dribbble](https://dribbble.com/eucarlos) e [Website](https://carlosalves.vercel.app/)

### Referencias:
- [https://github.com/tj/n](https://github.com/tj/n)
Super Trunfo
Tags: javascript, css, webdev
Published: 2022-03-16 00:25:34

Projeto de um jogo Super Trunfo, desenvolvido com ajuda da Alura na Imersão Dev - Aula 7

[![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x09w2igvr7iimllf3hq7.jpg)](https://bruno-labs.netlify.app/__supertrunfo/)
Types of uncertainty
Tags: agile
Published: 2022-09-08 21:28:44

---
title: Types of uncertainty
published: true
date: 2022-03-16 00:00:00 UTC
tags: agile
canonical_url: https://jhall.io/archive/2022/03/16/types-of-uncertainty/
---

What are the different types of uncertainty we face when delivering software? I can name a few. I’m sure there are more. What others can you think of? Send me a note.

- **Market uncertainty.** What do our customers want?
- **Competitive uncertainty.** What are our competitors planning for next week?
- **Political uncertainty.** What new laws, foreign policy, or other political realities might affect us?
- **Business uncertainty.** Will the business change goals or iniatives (possibly for one of the above reasons)?
- **Team uncertainty.** Will team member(s) leave or join? Will teams be re-organized?
- **The uncertainty of discovery.** At the heart of developing software is an [unavoidable element](https://jhall.io/archive/2022/02/18/software-development-is-inherently-unpredictable/) of discovery which implies an inherent uncertainty.

* * *
_If you enjoyed this message, [subscribe](https://jhall.io/daily) to <u>The Daily Commit</u> to get future messages to your inbox._
Introducing React URL Modal
Tags: react, modal, opensource
Published: 2022-04-04 20:38:13

---
title: Introducing React URL Modal
published: true
date: 2022-03-16 00:00:00 UTC
tags: react, modal, oss
canonical_url: https://remote.com/blog/introducing-react-url-modal
cover_image: https://images.unsplash.com/photo-1550745165-9bc0b252726f
---

Here at Remote, we have [a shiny new GitHub organization](https://github.com/remoteoss) where we’ll be open sourcing packages and libraries we’ve built for the world to see (and hopefully benefit from)! And — our first ever npm package is officially live!

[React URL Modal](https://github.com/remoteoss/react-url-modal) is a React library to help you keep track of your modal state using the URL. More specifically, it:

- Lets your modals in your applications have URLs
- Encodes all the parameters sent to a modal
- Supports React Portals
- Works with any framework (as it uses [the History API](https://developer.mozilla.org/en-US/docs/Web/API/History_API))

It’s headless, minimal, and ready to use now!

## How do I use the React URL Modal?

You can install the library into your existing React projects via npm or yarn:

```
> npm i react-url-modal

# or

> yarn add react-url-modal
```

(Or, you can manually [install it locally from GitHub](https://github.com/remoteoss/react-url-modal).)

From there, you can drop in the library wherever you’d like. Here’s an example of what that can look like:

```jsx
import { URLModal } from "react-url-modal";

import { ExampleModalComponent, SomeOtherExampleModalComponent } from './Modals';

export const App = () => (
  <URLModal
    modals={{
      exampleModal: ExampleModalComponent ,
      otherModal: SomeOtherExampleModalComponent ,
    }}
  />
);
```

## Where do I go from here?

We’ve got some [more examples](https://react-url-modal.vercel.app/) and [API documentation](https://github.com/remoteoss/react-url-modal#documentation) for you to get started! We'd also love to hear about your bugs, feature requests, and use cases [in the repository](https://github.com/remoteoss/react-url-modal/issues). See you there!
Paracetamol.js y futuros proyectos 😎
Tags: javascript, webdev, spanish, beginners
Published: 2022-03-15 23:42:38

Paracetamol.js es un proyecto personal que comenzo en primera parte para mejorar mis conocimientos de JavaScript y en segunda instancia para poder compartir pequeños fragmentos de código que ayude a la comunidad del desarrollo web en español a comprender mejor este lenguaje de programación.

La recepción del proyecto ha sido bastante buena dejandome varios comentarios positivos que hacen que me motive para poder seguir escribiendo estos posts y poder compartirlos de manera gratuita.

Las ideas que tengo a futuro son las siguientes:

* **Paracetamol.html**
Aunque hay mucho contenido de `html` en internet, la verdad no se si sea la mejor idea, pero esta a consideración.

* **Paracetamol.py**
Replicar el mismo concepto del proyecto pero aplicarlo a **Python**

* **Paracetamol.css**
Igualmente, compartir preguntas de selección multiple para aprender `css`.

Si tienen alguna otra sugerencia o les gustaria en colaborar conmigo en un futuro me gustaría que me dejen un comentario en este post!

Muchas gracias a todos!
Week 1 of TaskForce 5.0 reflections
Published: 2022-02-20 08:51:33

Remember in school how we had some boring classes where everyone was dozing off or day dreaming about their next adventure? 

This past week was nothing like that, everyone was super engaged and couldn't wait to find out was coming next. What's even better is that the organizing team did not disappoint. Just check out this tweet that was announcing the taskforce. They delivered on the cool part.

{% embed https://twitter.com/AwesomityLab/status/1471875870210015234 %}

The first activity was a game that helped engage us and helped us realize the power of communication.

Imagine playing a game as a team but not being able to communicate verbally. Yeah, that was hard. We will come back to my reflections on it later.

The second iteration of the game where we were allowed to communicate verbally taught us that even then some of us lacked proper communication skills that help work in teams. 

This is a very important skill for developers and many other people, because the world is moving towards a remote-first workplace and being able to communicate and collaborate remotely defines a successful team.

Some things that can help in working remotely are listed below:

* Being prepared before joining a meeting
* Joining a meeting early 
* Muting microphones to avoid noise if you are not talking.

Lastly, my reflection on the game is that there are some things that we take for granted such as being able to communicate verbally or even being able to see. We should work to be inclusive of people with disabilities.

As software developers we should create software that includes people with disabilities. For example, blind people should be able to interact with our software.
#SheCoded Raised $2,000 for Girls Who Code!
Tags: wecoded, theycoded, github
Published: 2022-03-15 23:11:25

---
title: #SheCoded Raised $2,000 for Girls Who Code!
published: true
description: 
tags: shecoded, theycoded, shecodedally, github
series: SheCoded 2022
cover-image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/31jr4iiiqwddd2h1ynmy.png
---

Hello, dear DEV community!


I wanted to follow up with a quick memo about the donation our community made possible by contributing [#SheCoded](https://dev.to/t/shecoded), [#TheyCoded](https://dev.to/t/theycoded), and [#SheCodedAlly](https://dev.to/t/shecodedally) stories to our [collection](https://dev.to/shecoded) in 2022. 

{% post https://dev.to/devteam/share-your-2022-shecoded-story-to-donate-20-to-closing-the-tech-gender-gap-2hid %}


### We received 96 stories for our International Women's Day celebration last week. As such, DEV and [GitHub](https://dev.to/github) have jointly donated $2,000 USD to Girls Who Code ($20 per post, rounded up). 

We're humbled by the powerful stories of resilience, determination, passion, vulnerability, and allyship our community shared in honor of International Women's Day. The dollars DEV and GitHub are putting behind this celebration are going directly to an organization helping to build a female tech pipeline with summer coding programs, coding clubs, and college programs for girls of many different ages. 

Thank you for another fantastic [#SheCoded](https://dev.to/shecoded). 

---

### [>>Browse the #SheCoded Collection](https://dev.to/shecoded)

### [>>Learn more about Girls Who Code](https://girlswhocode.com/about-us)

---

_Special thanks to [GitHub](https://dev.to/github) for joining us in this charitable partnership with their generous donation match._ ❤️
New Years Resolution - Dev Log 23
Tags: webdev, beginners, startup, nextjs
Published: 2022-03-15 22:58:16

I have solved my biggest challenge for the job board thus far, emailing candidate information to the contact email listed for the job description. That may not seem like a difficult thing to achieve, and it would not be if the form candidates fill out on my site only were text fields. As I have learned over the last few days, when sending data that includes both text and files to the backend, it must be in what is known as "multipart/formdata" format. This format in Node is extremely annoying to work with.

Several NPM packages exist to help parse multipart data, but none of them are intuitive and easy to implement, in fact, most have little documentation and were not made with Next.JS in mind. So parsing multipart data is kind of a nightmare of just trying literally every package and every example on StackOverflow until something works. After several days I was able to get it working using the library "formidable". After that is was just formatting an email with SendGrid and adding the files as attachments. Sounds easy again, but a new issue arose. SendGrid despite being backed by Twilio has very limited documentation. They show how to attach documents but fail to specify the shape of the data that is expected as an attachment. Files can be implemented in a plethora of shapes like say a buffered byte string, or it could be of type blob. So again, I had to just plug and chug until a solution was found. Complaining aside, it works and I am happy with it.

For the small number of people that are keeping up with this series of developer blogs, next up for the job board is reCAPTCHA implementation for security, Stripe integration, polishing a few minor details, making the MVP (minimal viable product) video, then launch. It has now dawned on me that this website might fail, and I am probably going to be very sad if and when it does. For now, I am optimistic and hope that this job board will be a great success!