teleren/devto huggingface dataset:
This week in DevRel: A Technical Community Builder's Experience
Tags: devrel
Published: 2022-08-26 15:50:34

---
title: This week in DevRel: A Technical Community Builder's Experience
published: true
description: What does a Technical Community Builder do? Each week I'll cover some of the these I worked on. 
tags: DevRel
series: Technical Community Building

---

As a Technical Community Builder (TCB) on a Developer Relations team, I'm working on a variety of different things. For those who are interested in making their way into the field, I want to share some of the things I do and answer any questions you might have about what it means to be a TCB.

## Creating a Forum
Each week looks a little bit different, but this week focused on a new project: building out our forum.

In the last year, we explored several different forum options and considered rolling out our custom forum. But then something really exciting happened: GitHub discussions were enabled on an organizational level :tada:

We've been using GitHub discussions for a while at [Virtual Coffee](https://virtualcoffee.io/), and I've enjoyed revisiting the posts, re-engaging conversations, and getting answers to some of our FAQs. 

When I came across the [GitHub Community](https://github.com/community), this seemed like a good solution for what we're working on at [Deepgram](https://deepgram.com/). And so the [Deepgram Community](https://github.com/deepgram/community) was born along with accompanying [discussions](https://github.com/deepgram/community/discussions).

Along with this, I planned out content for the forum for the future to ensure consistent scheduling.

## Hackathons
We're super excited to be preparing to do more hackathons (coming soon!), but good hackathons require good processes and communication. As we work our way up to implementing the hackathons, I needed to update rules and processes and identify any issues we haven't discussed.  

## Blogging
Ok, so this one hasn't gone as planned. I'm working on a blog post, but I'm having a hard time getting the code working. So I'm spending a lot of time reading documentation and blog posts to help me break through my issues and get that post written.

## Meetings
This is actually a pretty slow week for meetings :tada: I'm super grateful that I've had large chunks of time to help me dive deeper into work and feel like I've made progress. We have a weekly developer relations meeting, and it's always great to see my teammates.

## Content Planning
There will always be content to be created, events to be organized, and processes to be documented. For example, I have an idea for a 4-hour Twitter Space with a handful of guests, so I'm drafting the topic, brainstorming guest ideas, and finding the space to do it.

This was the main workload from this week, but I also spent time engaging in communities, learning more about community building, and learning more about Machine Learning and Data Science. 

If you have any questions about TCB, let me know!
Tổ hợp đô thị biển và du lịch nghỉ dưỡng Vlasta Văn Phú Sầm Sơn
Published: 2022-08-26 15:50:05

Là sản phẩm đầu tư chiến lược của Văn Phú Invest, [Vlasta Sầm Sơn](https://duanvanphusamson.com/) là tổ hợp đô thị biển và du lịch nghỉ dưỡng đang gây sốt trên thị trường Thanh Hóa
How Azure AD B2C can authenticate with GraphQL (Apollo Server) API and ReactJs.
Published: 2022-08-26 15:48:11


In the documentation there is a sample react app is authenticating with nodejs (express js REST API) link is here https://docs.microsoft.com/en-us/azure/active-directory-b2c/configure-authentication-sample-react-spa-app
but there is nothing written about react App with Nodejs (GraphQL-Apollo Server) authentication. Please help me as i want to apply authentication same as written in the documentation for REACT -NODEJS(but with graphQL-Apollo Server) but there is no clue on the internet about it.
I get it now....I think.
Published: 2022-08-26 15:47:00

Have you ever been in a room full of people, giving a presentation, and had no idea what you were really talking about?

If you said "yes" to yourself, then consider yourself human.   

"No.", you said? Well, you'll soon realized what imposter syndrome feels like.

Imposter syndrome to me feels like when you try to impress your friends at a cookout and you want to show off some cool trick you've learned about 5 mins ago on YouTube. Though you feel like you could pull it off, because it looked so easy, you're more pressure to stay committed to the group because they're all staring at you now. 

The regret is so strong, it almost drowns your soul. 

However, you're just that one friend in the group who keeps the morale high. 

And you're going to fail, hard. 

What Imposter syndrome teaches us is no one in the universe harbors all knowledge. Hell, there are still debates in the scientific community about what Albert Einstein dreamt up during a ride on a train. Even he threw his own work in the trash(he later went back to retrieve it after realizing what he discovered).


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

This is a major issue as some theoretical physicists today also think Max Planck smallest unit of measurement is not actually the smallest. 


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/11dklsat11txo86s2hpk.jpg)

Even the greatest minds are always questioned. 

I emphasis this one bit because in the software community, debates are the reason why we have so many different types of tech stacks just waiting to be picked apart and sewn together to create a monstrosity of communication between its backend and frontend.

*cough* "C++".

I think it's safe to say you're quite insane to believe you could pull off a trick to explain each and every detail about your own tech stack as a junior software engineer. 


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

This field of work is designed to help you fail; so you can dust yourself off and give it another try. 


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

And this is okay. This is how we grow and learn from those mistakes. Failure is the product of great theories and design.

Even the brightest individuals have their moments of despair.
Milestones
Published: 2022-08-26 15:46:00

This week we presented the 'Hello World' version of our projects in the Develop Carolina apprenticeship. This was mainly to demonstrate we have our chosen tech stack assembled and at a base level, working. This is a great time to reflect on my coding journey so far. It still feels so unreal.

Generally, I've always loved tech but didn't know what path I wanted to take. Then I found programming. I was spending my free time learning after work and even weekends. That's when I realized this is what I genuinely ENJOY and decided that I would pursue this as a career. 

Thinking back, my actual first experience with code was playing around with mod scripts for games I played when I was younger. Of course I wasn't really writing things from scratch then, just editing values and seeing what happens. Even that was mesmerizing to me. I changed something and something happened! Many times that 'something happened' was 'its crashing' but at that time, still really cool 😆. 

Its just wild to think back to times like that. I genuinely didn't think it was something I could do for a career, I didn't feel 'smart' enough and didn't really dedicate myself to it. As of today I completed a full stack development boot camp, was accepted and currently participating in the Develop Carolina apprenticeship which has given me the opportunity to continue learning and gain real world experience with an internship at a leading tech company. Again, I could have never imagined I would be in the position I am today. As I mentioned in my intro, it still feels so unreal. I am so excited for the next few months continuing to learn and build new things with Develop Carolina and in my host company.
Measure latency for embedded systems with Luos - Opensource.com
Tags: opensource, microservices, luos
Published: 2022-08-26 15:44:40

A few days ago, we wrote an article about measuring latency in embedded systems in both soft and hard use cases in opensource.com.

⏩ https://opensource.com/article/22/8/measure-latency-edge-luos?sc_cid=7016000000127ECAAY

By evaluating latency, Luos manages timelines without synchronization on multiple nodes.

Writer: Nicolas Rabault
Quick Guide To Create Android App For Blog Without Any Code
Tags: nocode
Published: 2022-08-26 15:43:00

## **Idea Creation**

The First step For Developing any android application for blogging without any code is idea creation. It requires a lot of research like on which niche one has create application. There are only few niches on which you can create blogging like fashion, lifestyle, health or technology.

You have to shortlist your idea from various idea therefore it is a first step in creating an blogging application. Therefore this step is known as idea creation or idea generation.

## **Creating User Interfac**e

The second step for developing android application is you have to design user interface and application layout like which color of background you can use, What is font size, What is font color, Call to Action Buttons, Dropdowns, you also need to decide how many pages you need in application, Any many such things.

## **Choosing Application Builder Form**

The third step in developing android application is choosing application builder form. You have to choose the best application builder form to develop your blogging android application without taking any help form coding. You can also choose the Application builder form by checking their reviews online.

## **Adding Features**

The fourth step of developing application without any code is features. Now in fourth step you need to decide like what are the main features you like add in application. You can those features with the help of Application builder form.

## **Purchasing Domain And Hosting**

The Fifth and last of developing an blogging android application without the help of any code is purchasing domain and hosting for your application. You can purchase domain and hosting from Best domain and hosting provider that is available in the market.

Following was the step by step guide of developing an blogging android application without taking any help of code also Read about What are main differences between No code development Application And Custom Application Development And What Are the Main Advantages And Disadvantages of No Code Development. Click on The Following Link To Read The Article [https://gadgetsright.com/create-android-app-for-blog-with-no-coding/](https://gadgetsright.com/create-android-app-for-blog-with-no-coding/
)
Paracetamol.js💊| #184: Explica este código JavaScript
Tags: javascript, programming, spanish, webdev
Published: 2022-08-26 15:39:30

## **<center>Explica este código JavaScript</center>**
#### <center>**Dificultad:** <mark>Básico</mark></center>

```js
const perro = {
  nombre: "Dogge",
  cola:false,
  ["edad del perro"]: 2
}
console.log('cola' in perro)
console.log(perro['cola'] ? true : false)
```

A. `true`, `true`
B. `false`, `false`
C. `false`, `true`
D. `true`, `false`

Respuesta en el primer comentario.

---
Comparing Elixir and Python when working with Simple Neural Networks
Published: 2022-08-26 15:37:04

Lucas Tavano (an undergraduate student at the Federal University of Technology - Paraná, where I work) and I are going to present ["Comparing Elixir and Python when working with Simple Neural Networks"](https://codebeamamerica.com/talks/comparing-elixir-and-python-when-working-with-simple-neural-networks/) at Code BEAM America 2022.

## Abstract

With a wide range of libraries focused on the machine learning market, such as TensorFlow, NumPy, Pandas, Keras, and others, Python has made a name for itself as one of the main programming languages. In February 2021, José Valim and Sean Moriarity published the first version of Numerical Elixir (Nx), a library for tensor operations written in Elixir. Nx aims to allow the language to be a good choice for GPU-intensive operations.

This talk aims to compare Python and Elixir when training convolutional neural networks using MNIST and CIFAR-10 datasets as examples, analyzing development experience, and performance difference.

## OBJECTIVES

- Teach about the new Nx library for Elixir
- Compare Nx and Keras by the use of resources and time to train similar neural networks
- Talk about the experience of developing in both languages and how different this experience was.

## AUDIENCE

- Numerical Elixir (Nx) interested people
- Python AI developers
- Data scientists

The event will take place at Mountain View, California, USA from November 1st (if you include trainings) to November 4th. We will be there in person. Access the event site here https://codebeamamerica.com/. It is also possible to attend it online.

_See you there!_
Game of Life [v1]
Tags: p5js, javascript, beginners, gamedev
Published: 2022-08-26 15:20:00


Let's rest from the exercises of the last post and have some fun, coding something cool.

This is a poor implementation of Conway`s game. More features coming soon.

{% embed https://stackblitz.com/edit/conway-s-game-of-life?ctl=1&embed=1&file=README.md&hideExplorer=1&hideNavigation=1&theme=dark %}
[ ازاي تكون مهندس برمجيات جامد - الجزء التاني ]
Published: 2022-08-26 13:32:29

ازيكم يا شباب .. يارب تكونوا بخير .. احنا اتكلمنا علي النقطة الاولي وذكرنا فيها تقريبا كل مواضيع ال software engineering المهمة .. نفس الحاجات دي فهمك ليها ومستواك فيها هو اللي بيحدد المستوي بتاعك في الشركة .. التقييم للشخص بيكون عن طريق framework معينة فيها مواضيع مختلفة .. بتحدد مستواك في كل موضوع فيهم وفي مستويات لو اختارتها بيكون لازم تكتب دليل ومواقف حصلت بيتم مراجعتها وفي الاخر بيتم تحديد مستواك وايه الحاجات الناقصة ليك عشان المستوي التالي.

نرجع لكلامنا .. النقطة التانية بقا وهي عبارة عن ال technology knowledge زي الاندرويد او الويب وغيره .. دا المسار اللي هتطبق فيه كل اللي اتعلمته ويبدا يكون ليه معني يفيد الناس .. خلينا نناقش النقط المهمة:

- معرفة قوية للغة البرمجة اللي تخص شغلك.

- تعرف ال guidelines للغة المستخدمة .. دا هيخليك فاهم اي كود المفروض يتكتب ازاي زي مثلا ال naming conventions الصح وطريقة كتابة ال parameters في اي فانكشن.

- تعرف ازاي تكتشف لو حصل leaks في الميموري وطرق حلها وازاي تكتب كود افضل يحافظ علي مساحة الميموري.

- ال threading شغالة ازاي وانواع ال queues المختلفة وكل واحد بيستخدم في ايه بالظبط وازاي تقدر تتعامل مع ال async code.

- ال architectures المختلفة .. الفرق بينهم .. امتي نستخدم كل واحدة فيهم .. هل ممكن نستخدم design pattern معين عشان تعمل تحسين .. هل ممكن نعمل mix لاكتر من واحدة عشان نطلع احسن حاجة مناسبة للمشروع.

- ال testing وانواعه زي ال unit testing وال ui testing والطرق المختلفة لل testing والفرق بين mock و stub والحاجات دي كلها .. حاول تكون عندك معرفة كويسة فيها.

- انك تفهم ال IDE كويس اوي وال shortcuts الموجوده زي مثلا ازاي تعمل format للفايل او لسطور معينة او ازاي تشغل ال test او ازاي تعمل clean ومن جنب تاني ال debugging والطرق المختلفة المتوفرة ليه لان غالبا بيكون متوفرلك اكتر من مجرد breakpoint بس ودا هيفرق معاك جدا.

- لو شغلك فيه ui يبقا اكيد لازم تكون عندك مهارة انك تنفذ ال prototype بالظبط ولو في حاجة مش صح .. تبلغ بيها وتعرفهم ان ال ux دا غلط .. لو انت فاهم ال ui الصح عندك بيتعمل ازاي مش مجرد بتنفذ .. الموضوع دا يفرق جدا مع التيم كله.

- ازاي تقدر تعمل integration لل frameworks مع الكود بتاعك.

- ازاي تشغل ال analysis tools في الكود بتاعك بحيث التيم يحدد قواعد عامة تمشوا عليها عشان ال readability وبردو تشوف لو في vulnerabilities عشان السيكيورتي.

- ال modular code وان المشروع بتاعك يكون متقسم modules دا غير انه مفيد جدا عشان ال separation وال usability دا كمان بيقلل ال build time للمشروع كله.

- ازاي تظبط ال environment اللي هي غالبا dev و stage و uat .. ولو انت شغال موبيل .. لازم تعرف طريقة كويسة تخلي ال keys بتاعتك secure وتقدر تستخدمهم في ال CI pipeline.

- ازاي تكتب scripts تسهل شغلك .. يعني مثلا في المشروع اللي فات لقيت واحد في التيم بتاعي عمل جزء ال localization بيتعمله generation يعني انت كل اللي عليك تكتب ال strings اللي انت عايزها بكذا لغة ولما تعمل build .. ال module بيشغل ال script ويعمل code generation ل enum تقدر تستخدمه مباشرا based on اللغة اللي اختارتها واللي هي بردو بيتعملها generation في enum.
Reasons You Should Take a Break From Coding
Published: 2022-08-26 15:05:23


So you wonder what are the reasons to take a break from coding. Everyone around you is hacking like crazy and your FOMO is boiling up. Regardless of your experience surely you could use some more coding hours, right? 
In fact, you don't need many reasons to take a time off from coding. One is enough. 

Understanding that one reason will free you from any FOMO you might be experiencing. Slowly but surely you will be more in peace with yourself for taking such a break. 

Let me tell what this one reason is. You should concatenate the first letter of each sentece you've read so far, including this one, add a question mark and a 🙃 at the end.
State vs Props
Published: 2022-08-26 15:01:00

State Vs Props

Props
Props are read-only components. It is an object which stores the value of attributes of a tag and work similar to the HTML attributes. It allows passing data from one component to other components.Props are immutable so we cannot modify the props from inside the component.

State
Just like props, state holds information about the component. State is an updatable structure that is used to contain data or information about the component and can adjust over time. The change in state happens due to a response to the users actions. It is the central of a react component which determines the behavior of the component and how it will render to the page. It also acts for the components local state. Keep in mind it can only be accessed or modified inside the component or directly by the component 


This are some cool examples I found to help you out telling the difference between them



**Props**          
Props are read-only.

Props are immutable.

Props allow you to pass data from one component to other components as an argument.

Props can be accessed by the child component.

Props are used to communicate between components.

Props make components reusable.

Props are external and controlled by whatever renders the component.

**State**
State changes can be asynchronous.

State is mutable.

State holds information about the components.

State cannot be accessed by child components.

States can be used for rendering dynamic changes with the component.

Stateless component can have Props.

Stateless components cannot have State.

State cannot make components reusable.

The State is internal and controlled by the React Component itself.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qhka3e4dgvhoakzzmu1u.jpeg)
Custom React Hooks. What are they and how are they helpful?
Tags: javascript, webdev, react, tutorial
Published: 2022-08-26 14:57:00

## Introduction
React Hooks were introduced in React.js v16.8. They allow us to use state in functional components, similar to the lifecycle hooks of class-based components. For every situation, there is a React Hook you can use. From the frequently used hooks like `useState` and `useEffect` to hooks like `useCallback` and `useMemo`, you can take your time to browse [the documentation](https://reactjs.org/docs/hooks-reference.html) for the hook you need.

Since there are hooks for almost every situation you might encounter, is there a need for your own React Hook?

## What are custom hooks?
When we want to re-use some logic in multiple places, we extract it to a function. If we also want to re-use some JSX along with it, we extract it to a separate component. Similarly, a React Hook is also a function.

If we want to create a reusable function that also uses React Hooks like `useState` and `useEffect`, we cannot store this logic in a plain function.

A component can be created to store this reusable logic so we can then use hooks. But this is not ideal if we do not have any JSX to write in that component.

In such situations, the reusable logic can be extracted to a custom React Hook. Making a custom React Hook is simple - prefix a function's name with *use*. For example:

![Regular function vs a custom hook](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cuq5qnqrx41who5rha8l.png)

## An example of a custom hook
Here is some logic that has been extracted into a custom hook.

The custom hook `useSelectClub` takes an array of sports clubs as an argument. A person can belong to one or more sports clubs. If a club is marked as a person's favorite, then that club's code is returned. If the user belongs to a single club, that club's code is returned.

![Example of a custom hook](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hlnl14u8azr6oba08coh.png)

## Wrapping up
I hope this short guide helped you to understand custom hooks in React and how to use them.

Just like how recurring JSX and logic can be turned into reusable components, logic that uses React Hooks can also be turned into reusable custom hooks.
Update de fichier
Tags: python
Published: 2022-08-26 14:51:00

Récemment pour une simulation CFD j'ai eu besoin de faire un offset de mes pièces 3D pour reproduire les pièces dans [OpenFoam](https://www.openfoam.com/). C'est l'occas' de mettre en place une modif automatique d'un fichier texte template.

```python
import re

def offset(initial_data, on):

    reg = r'vertex\s\s.+'
    
    found = re.findall(reg, initial_data)

    for found_reg in found:
        
        # take only the number
        x, y, z = found_reg.split()[1:]
        x, y, z = float(x), float(y), float(z)

        # add something
        x += on['x']
        y += on['y']
        z += on['z']
    
        initial_data = initial_data.replace(found_reg, f'vertex  {x:.2E}  {y:.2E}  {z:.2E}')
    
    return initial_data


if __name__ == "__main__":
    
    with open('initialePos.txt', 'r') as f:
        initial_data = f.read()

    # on which data to add offset
    on = {"x": 6, "y": 3, "z": 0}
    
    offset_data = offset(initial_data, on)
    
    with open('initialPos_offset.txt', 'w') as f:
        f.write(offset_data)
```

```
# initialPos.txt
facet normal -1.000000e+00  0.000000e+00  0.000000e+00
   outer loop
     vertex  0.000000e+00  6.666667e-02  0.000000e+00
     vertex  0.000000e+00  0.000000e+00  0.000000e+00
     vertex  0.000000e+00  0.000000e+00  6.666667e-02
   endloop
endfacet

# initialPos_offset.txt
facet normal -1.000000e+00  0.000000e+00  0.000000e+00
   outer loop
     vertex  6.00E+00  3.07E+00  0.00E+00
     vertex  6.00E+00  3.00E+00  0.00E+00
     vertex  6.00E+00  3.00E+00  6.67E-02
   endloop
endfacet
```


En fait c'est vraiment très basique. On se donne un fichier template dans lequel on va identifier un mot clé ou un pattern (faisable avec une regex). Ici le pattern à trouver est `reg = r'vertex\s\s.+'`. Il suffit ensuite de définir par quoi on remplace ce qu'on a trouvé au niveau de la regex et on garde toute le reste.