teleren/devto huggingface dataset:
O Papel do DevRel: Semelhanças com o CHO.
Tags: devrel, culture, career
Published: 2023-11-08 14:28:35

No mundo corporativo, diversas tarefas desempenham funções fundamentais para assegurar o êxito e o bem-estar da equipe e da organização. A função DevRel (Developer Relations) e o CHO (Chief Happiness Officer) são notáveis, não somente pelas semelhanças, mas também pela variedade de tarefas que desempenham. Este post tem como objetivo explorar como o DevRel pode ir além das suas funções relacionadas ao CHO, abrangendo uma ampla gama de responsabilidades nas empresas de tecnologia.

O DevRel e os CHOs têm como objetivo principal o bem-estar dos funcionários. Os profissionais das duas funções podem se concentrar no ambiente interno da organização, mas o DevRel atua como uma ponte entre a empresa, a comunidade de desenvolvedores e os clientes. Eles se esforçam para assegurar que as demandas específicas de desenvolvedores e clientes sejam atendidas, criando um clima de bem-estar em diversas áreas.

Outra característica que une essas funções é a necessidade de ter fortes capacidades de comunicação e de construir relações. O DevRel tem como objetivo fortalecer os laços entre a companhia e a comunidade externa, no dia a dia. Tanto DevRel quanto CHOs podem se concentrar na comunicação interna, promovendo uma cultura de trabalho positiva e colaborativa.

As duas funções têm como objetivo promover a cultura e o clima organizacional de forma diferenciada. O DevRel ajuda a divulgar os valores e a missão da empresa para os desenvolvedores e a comunidade, tornando a marca mais conhecida e confiável para os clientes. Juntos, os profissionais dessas áreas, trabalham para criar uma cultura empresarial positiva e assegurar que a cultura interna reflita os valores e objetivos da organização.

 Os dois procuram o feedback dos funcionários para melhorar a experiência no trabalho, tornando-a mais agradável e produtiva. 

Embora os papéis de DevRel e CHO sejam parecidos, o DevRel é um profissional que trabalha em várias áreas, unindo a empresa, a comunidade e os desenvolvedores. Sua atuação multifuncional enfatiza a relevância de dar prioridade ao bem-estar dos funcionários e à comunicação em todas as áreas da empresa, criando um ambiente positivo e produtivo para todos. Ambos os papéis são muito importantes para as empresas e ajudam os funcionários a terem sucesso no longo prazo e se sentirem satisfeitos, sejam ligados a Cultura e Pessoa ou a Tecnologia.
Using Hooks in React: 'useState' & 'useEffect'
Tags: react, javascript, softwaredevelopment, community
Published: 2023-11-08 14:26:31

React, one of the most popular JavaScript libraries for building user interfaces has undergone significant changes since the introduction of React Hooks. With Hooks, managing state and side effects in functional components has become more intuitive and flexible. In this blog, we'll explore essential React hooks, such as useState and useEffect. By the end of this blog, you'll have a firm grasp of how to leverage these hooks to build dynamic and interactive React applications.

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

Hooks are functions that let you "hook into" React state and lifecycle features from function components. Before the introduction of hooks, these features were only available in class components. React provides several built-in hooks to cover common use cases, and you can create custom hooks to encapsulate logic and reuse it across different components.

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

**_useState Hook:_**

The useState hook is fundamental for managing state in functional components. It allows you to add state to your components and update it as needed. Here's a simple example of how to use useState:

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

In this example, useState is used to create a piece of state, count, a function, setCount, to update it. When the "Increment" button is clicked, setCount is called with the new value, and the component re-renders with the updated state.

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

_**useEffect Hook:**_

The useEffect hook is essential for managing side effects, such as data fetching, DOM manipulation, and subscriptions, in your components. It replaces the componentDidMount, componentDidUpdate, and componentWillUnmount lifecycles in class components. Here's how to use useEffect:

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

In this example, we use useEffect to fetch data from an API when the component mounts. The empty dependency array [] ensures that the effect only runs once after the initial render.
types of black box testing...
Published: 2023-11-08 14:25:00


**Black box testing:**
  -the testers  will analyse the software against requirement, 
    identifies bugs and send back to developers side.

   - in other words, checking the functionality of an software as 
     per customer requirements.

-Functional and non-functional are the types of black box testing

**Functional testing:**
      -The purpose of Functional test is to test each and every functionality of the software application, by providing appropriate input, verifying the output against the Functional requirements.

**Non- functional testing**:
          -non-functional testing is focus only on performance, reliability, scalability and other non-functional testing methods . it not focus on functionality of software. 
-once we completed  functional testing and than we will carried out non functional testing.

**Difference between functional and non-functional testing are:**

_Functional testing:_              
1. it is based on requirements 
2. in that we enhance the behaviour of application. 
3. it can be done with manual and  automation. 
4. check to ensure software free of bugs. 
5. it is based on business requirement. 
6. examples: unit testing, smoke testing, regression testing,
   integration testing .

_Non-functional testing:_     
1. it is based on expectation of customer. 
2. it enhance performance of application.
3. it performs only in  automation.
4. it ensure to software to performs in high-levels.
5. it is based on performance requirement.
6. example: performance, load, stress, scalability testing.

**Example of a Functional Test**

- A flipkart app wants to add home delivery of products to its 
  app. One of the features is an “Add to Cart” button. A **unit 
  test** will be run to verify the individual button’s validity.

- The app wants to show their product delivery time based on 
  their GPS data. Verifying this function requires a** module 
 test**, as it requires multiple units to work together to get the 
  expected result.

- The app offers users the ability to directly transfer money from 
  their bank account to the app’s own “wallet” for faster 
  purchases. At this point, two modules come into play and tests 
  must be run to check how well they integrate to get the job 
  done. we use  **integration tests**. 

**Examples of Non-Functional Tests**

- An ecommerce app must be optimized to handle heavy user traffic 
  for the upcoming 'Big Billion Day'.**Load tests, recovery tests, 
  and volume tests** must be run to ensure that it does not buckle 
  and bend under a wildly increased inflow of users.

- Your website homepage has a blue image with flipkart text on 
  it. Visual tests are needed to check if the image shows up 
  clearly, unobstructed, and left side of  screen on different 
  browsers, devices.
Jakie są dobre pomysły na zakłady?
Published: 2023-11-08 14:08:41

Pewnego wieczoru byłem w barze i odkryłem, że brakuje mi pieniędzy. Zostało mi tylko 20 dolarów. Przy stole siedzi 7 osób. Zapytałam, czy ktoś dałby mi szansę nakłonienia pewnego faceta przy barze, żeby mnie pocałował w niecałą minutę. Wywołało to wiele kontrowersji, ale grupa zgodziła się na kurs 5 do 1. Postawiłem na niego 20 dolarów.
Netex Liman 2.0 Nasıl Güncellenir?
Published: 2023-11-08 13:28:53

Bu yazıda Liman 2.0 arayüzü üzerinde Ağ Keşif (Netex) eklentisi nasıl güncellenir göreceğiz.

### Netex Server 

- Netex server kurulacak makineye `ssh` ile bağlanılır.
- `scp` ile içe aktarılan "netex-770-x64.deb" dosyası aşağıdaki komut ile kurulur.
```
sudo apt install ./netex-770-x64.deb 
```
- Kurulumdan sonra, /**opt**/**netex**/**.env** içine girilir ve aşağıdaki düzenlemeler yapılır. 

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

> _DB_HOST_ için PostgreSQL kurulu olmalı ya da bu alana kurulu olduğu makinenin IP adresi girilmeli.

- Düzenlemeler sonrasında, veritabanında, database, user ve şifre oluşturulur.
- Sonrasında, aşağıdaki komutlar ile netex server tekrar başlatılır ve aktif olup olmadığı kontrol edilir.
```
systemctl restart netex@admin.service 
```
```
systemctl restart netex@client.service 
```
```
systemctl status netex@admin.service 
```
```
systemctl status netex@client.service 
```

### Netex Sensor

- /**opt**/**netex**/**clients** dizinin altındaki "netex-sensor-x64.deb" dosyası `scp` ile sensörün kurulacağı makineye gönderilir ve aşağıdaki komut ile kurulur.

```
sudo apt install ./netex-sensor-x64.deb
```
- Kurulumdan sonra, /**opt**/**netex-sensor**/**.env** dosyasının içine girilir ve aşağıdaki düzenlemeler yapılır.

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

- Aşağıdaki komutlarla servis tekrar başlatılıp aktifliği kontrol edilir.
```
systemctl restart netex-sensor
```
```
systemctl status netex-sensor
```

### Report Engine

> Report engine, netex server'ın olduğu makineye kurulabilir.

- `scp` ile içe aktarılan "report-engine-29-x64.deb" dosyası aşağıdaki komut ile kurulur.
```
sudo apt install ./report-engine-29-x64.deb
```
- Kurulum tamamlandıktan sonra, aşağıdaki komutlarla report engine tekrar başlatılıp aktifliği kontrol edilir.
```
systemctl restart report-engine
```
```
systemctl status report-engine
```

### Kullanılan Sistemleri Kontrol Etme

netex@admin
netex@client
netex@worker
netex-monitoring
netex-sensor
redis-server
report-engine

:exclamation: Yukarıdaki servislerin aktifliği, aşağıdaki komut ile kontrol edilebilir.
```
systemctl status SERVİS_ADI
```

:exclamation: Servislerin çalışmaması durumunda aşağıdaki komutla alınan hatalar incelenebilir.
```
journalctl -u SERVİS_ADI -f
```

:exclamation: Server ya da sensor'ün çalışmaması durumunda aşağıdaki komut ile servislerin logları incelenebilir.
```
cat /opt/SERVİS_ADI/output.log
```
> SERVİS_ADI, server için "netex" ve sensör için "netex-sensor".
Interpreting Loan Predictions with TrustyAI: Part 3
Tags: tutorial, explainableai, python, ai
Published: 2023-11-08 13:56:07

## Implementing Visualizations

Hello again, dear readers! In our previous sessions, we understood LIME explanations in TrustyAI and implemented a simple linear model to explain loan approvals. While seeing the saliency values of each feature is insightful, a graphical representation can offer a clearer understanding of model decisions. Let's delve deeper!

### Creating a LIME Feature Impact Visualization

Before we begin, ensure you've gone through Part 2 of our series.

**1. Setting Up:**

Ensure you've imported the necessary libraries:

```
import matplotlib.pyplot as plt
```
**2. Generating LIME Explanations:**

Using the TrustyAI library, generate the LIME explanations for your model as shown in the previous tutorial.

**3. Visualizing Feature Impact:**

Each feature's impact can be visualized as a bar in a bar chart. The height (positive or negative) indicates the magnitude of influence, and the color (blue for positive, red for negative, and green for the most influential) signifies the nature of the impact.

```
# Transform the explanation to a dataframe and sort by saliency
    exp_df = lime_explanation['output-0'].sort_values(by="Saliency")
```

**4. Extract feature names and their saliencies**

```
 y_axis = list(exp_df['Saliency'])
    x_axis = ["Annual Income", "Number of Open Accounts", "Late Payments", "Debt-to-Income Ratio", "Credit Inquiries"]

    # Color-coding bars
    colors = ["green" if value == max(y_axis) else "blue" if value > 0 else "red" for value in y_axis]

    # Plotting
    fig, ax = plt.subplots()
    ax.set_facecolor("#f2f2f2")
    ax.bar(x_axis, y_axis, color=colors)
    plt.title('LIME: Feature Impact on Loan Approval Decision')
    plt.xticks(rotation=45, ha='right')
    plt.axhline(0, color="black")  # x-axis line
    plt.show()
```

And there you go!

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

Like the blog? Do hit a Like, send me some unicorns, and don't forget to share it with your friends!

Thank you!
Ağ Keşif - AD Kaynağı Ekleme ve Kullanımı
Published: 2023-11-08 13:29:49

Bu yazıda, Liman 2.0 arayüzü üzerinde Ağ Keşif (Netex) eklentisine AD Kaynağı nasıl eklenir ve tarama nasıl yapılır göreceğiz.

### AD Kaynağı Ekleme

- Liman açılır.
- Ağ Keşif ve Envanter Yönetimi eklentisinin _Keşif_ sekmesi altındaki _Konektörler_ sayfasına gidilir.
- _İçe Aktar_ butonuna tıklanır ve AD eklemesi yapılır. 

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

- AD eklendikten sonra, _Tarama Başlat_ butonuna tıklanır ve aşağıdaki gibi bilgiler girilir.

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

> **AD Address:** Active Directory'nin bulunduğu server IP'si
> **AD Domain Name:** Domain adı 
> **AD Username:** AD'nin olduğu makinenin giriş bilgilerindeki username ve domain adı "username@domain_adı" 
> **AD Password:** AD'nin olduğu makinenin giriş bilgilerindeki şifre 
> **DNS IP Address:** AD Address alanına yazılan IP

- Bilgiler girildikten sonra _Başlat_ butonuna tıklanır.
- Tarama başarılı olarak yapıldığında aşağıdaki gibi tarama sonuçları çıkacaktır. 

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

### AD Kaynağı Kullanımı

> Tarama başarılı olarak yapıldıktan sonra bulunan makineler _Varlıklar_ sekmesine düşecektir.

- Ağ Keşif ve Envanter Yönetimi eklentisinin _Varlıklar_ sayfasına gidilir.
- _Keşif Yöntemleri_ alanı "Active (AD)" olarak filtrelenir.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pszpk6qmd74n14rsbigm.png)
Serverspace announces the launch of local office in Canada
Tags: cloud, cloudcomputing, it, tutorial
Published: 2023-11-08 13:20:19

## The international cloud provider [Serverspace ](https://serverspace.ca/)announces the launch of local office in Canada. Intuitive control, local payments, and Legal Compliance with PIPEDA.

With Serverspace's entry, Canadian enterprises, startups, and freelancers will now have access to world-class cloud services in a localized and user-friendly format, further elevating the nation's tech prowess. Seamless integration with local banking systems ensures hassle-free transactions, while adherence to Canadian legislation ensures heightened data protection and confidentiality. Moreover, Serverspace is the first in Canada to offer server rentals through the **Enterprise-level hyper-convergent vStack platform**, an accessible and budget-friendly yet equally professional counterpart to the well-known VMware.

An english version of the website [serverspace.ca](https://serverspace.ca/) has been set up for easier management of cloud infrastructure. Users of the Canadian site can order various types of cloud services displayed on the adapted for the local market Serverspace control panel. Company also added an option for payment with Canadian bank cards in local currency – Canadian Dollar (CAD). The selection of configurations, similar to other offices, is made using a flexible calculator, allowing users to match server resources to unique requests.

> Serverspace plans to integrate itself into the Canadian market and grow alongside local providers. According to the Canadian Personal Information Protection and Electronic Documents Act (PIPEDA), only registered within the country's territory organizations have the right to store user data. Therefore, having a data center in Canada and opening a local office allows Serverspace to officially work with Canadian legal and individual entities. Svetlana Sharapova, head of the Serverspace project.

The capability to create virtual services is available in the [TOR3 data center](https://cologix.com/data-centers/toronto/tor3/), designed according to Tier III standards and located in Toronto. Users also have the option to create cloud servers in other locations – in the USA, Amsterdam, Turkey, and Kazakhstan.

_[Serverspace ](https://serverspace.ca/)is an international cloud provider offering automatic deployment of virtual infrastructure based on Linux and Windows from anywhere in the world in less than 1 minute. For the integration of client services, open tools like API, CLI, and Terraform are available._
Un nuevo podcast ha nacido: En Código
Tags: podcast, devjournal
Published: 2023-11-08 13:08:50

![En Código Podcast](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7pawonf79zwsv90c6hhc.png)

"Bienvenidos y bienvenidas a un nuevo episodio", es el inicio de un [podcast](https://podcasters.spotify.com/pod/show/maxi-burgos9) que está conquistando el oído de cada oyente alrededor del mundo.

"En Código Podcast" es mi espacio personal para hablar de mis experiencias en mis 14 años trabajando en la industria. Un recorrido que incluso va más allá, llegando hasta mis primeros años del colegio secundario, momento en el cual se me ocurrió empezar un sueño que más tarde se transformaría en una vocación: desarrollar software.

Los números hablan solos: en cuestión de una semana, mi [podcast](https://podcasters.spotify.com/pod/show/maxi-burgos9) ya alcanzó casi 200 reproducciones:

![Spotify Estadísticas](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3pim48zfz54ijchf3vir.png)

Todo esto explotó gracias a la comunidad [r/devsarg](https://www.reddit.com/r/devsarg/) en Reddit, por un [post](https://www.reddit.com/r/devsarg/comments/17p2ec0/acabo_de_lanzar_un_podcast_de_sistemas_y/) donde comenté la existencia de este podcast y mi proyecto con él.

Tuvo una aceptación inmensa, de tal forma que en el último episodio me tomé un tiempo para leer los comentarios más destacados y responder preguntas en vivo.

# El futuro del podcast
Mi idea es traer invitados, mejorar el sonido en cada episodio, traer ideas nuevas y abrir debates sobre la industria y el desarrollo de software.

En este momento, "En Código" es un proyecto en pañales, y está empezando a dar sus primeros pasos. Se puede transformar y evolucionar en todo tipo de aspectos, pero lo más emocionante, es que ustedes van a estar ahí, acompañándome en esta gran aventura.

Pueden escuchar "En Código Podcast" en:
- [Spotify](https://podcasters.spotify.com/pod/show/maxi-burgos9)
- [Youtube](https://www.youtube.com/playlist?list=PLp7PPjAxisAKVKre0a5tnjoFetQkvkZ9i)
- [Apple Podcast](https://podcasts.apple.com/us/podcast/en-código-podcast/id1715009724)
- [Amazon Music](https://music.amazon.com/podcasts/f7bfd4fc-8216-488a-a736-a1f67805416d)

En Spotify es donde más estoy atento, por lo cual les recomiendo que si quieren dejar algún comentario, sea en esta plataforma.

También estoy publicando los nuevos episodios en [Twitter](https://twitter.com/maxwellnewage) (o X...).

Disfruten del podcast y ¡Hasta la próxima!
🌟Unveiling the Tech Startups Who Triumphed Over Recession!
Tags: startup, future, programming
Published: 2023-11-08 13:05:32

The word "recession" has loomed large in our lives recently, impacting many of us. But these Netherlands-based startups not only weathered the storm but emerged **stronger** and more **resilient** than ever! 🚀

1️⃣ [Hadrian](https://hadrian.io/) - Amsterdam-based cybersecurity innovators who've been turning the tide since 2021. With a team of 58 professional hackers, they empower businesses to defend against digital threats. Using machine learning to simulate cyberattacks, they've raised €13 million to date, fortifying the digital realm and leading the cybersecurity charge.

2️⃣ [Source.ag](https://source.ag/) - GreenTech warriors hailing from Amsterdam, on a mission to combat climate change. Using AI greenhouses, they produce fruits and veggies efficiently, without straining our planet. Founded in 2020, they've secured €10 million, making farming more eco-friendly and bridging food supply gaps.

3️⃣ [Trengo](https://trengo.com/nl/?utm_campaign=19609045801&utm_source=googleEN&utm_medium=adwords&utm_content=646079787782&utm_term=trengo&hsa_acc=5853907533&hsa_cam=19609045801&hsa_grp=148418754391&hsa_ad=646079787782&hsa_src=g&hsa_tgt=kwd-340613133536&hsa_kw=trengo&hsa_mt=b&hsa_net=adwords&hsa_ver=3&gad=1&gclid=Cj0KCQiAgK2qBhCHARIsAGACuzkBQSS18hcSOOBnF6MVB6jpTWiCOHN0ctnyxJLSw_O6ZumhYsLJYIkaAlgFEALw_wcB) - Client support software wizards, they bring together communication channels like WhatsApp, email, and Messenger. With recent VC funding, an international client portfolio, and FD Gazelle Awards recognition, they're ready to tango into a future of growth.

4️⃣ [Dyme](https://dyme.app/en) - The smart money management app that helps users understand their spending, cancel unnecessary subscriptions, and save money. With their own investment and some VC support, they're now exploring international horizons, offering golden career opportunities.

5️⃣ [Valyuu](https://valyuu.com/?gclid=Cj0KCQiAgK2qBhCHARIsAGACuzmneKY0zQkawdRixtkYG7SssIt7771m-03HfCSKgv55FTwaYzEEgNAaAjfTEALw_wcB) - Founded in 2020, Valyuu is an eco-champion dedicated to extending the lifespan of electronic products, reducing electronic waste. They make it easy to buy, sell, and donate used electronics. With sustainability at the forefront, they're primed for success in 2023.

6️⃣ [Voyc](https://www.voyc.ai/) - Shaking up the contact center industry, Voyc's speech analytics AI software helps regulated firms save money, identify complaints, and enhance the customer experience. They're revolutionizing customer service, one conversation at a time.

These remarkable startups have not only endured but thrived, showing us the power of innovation and resilience in the tech world.
Delete the file and directory in Linux?
Tags: linux, vps, serverless, webdev
Published: 2023-11-08 12:58:34

Directory deletion is a crucial aspect of server management in Linux. Whether you're an experienced Linux administrator or a beginner, the ability to manage files and directories is essential, and deleting directories is a fundamental operation.

Understanding Directories in Linux:
Before you delete or modify directories in Linux, it's important to grasp their significance. Directories in Linux serve as containers that hold files and other directories. While they resemble folders in a Windows environment, Linux directories offer more functionality and are critical to the organization of the operating system. Linux comprises various types of files, including General Files, Directory Files, and Device Files.

Methods for Deleting Directories in Linux:
In Linux, there are two primary methods for deleting directories based on their content:

Empty Directory (rmdir): This command is used to delete directories that contain no files or subdirectories. It's a simple way to remove an empty directory.

Non-empty Directory (rm): When you need to delete a directory that contains files and subdirectories, you'll use the 'rm' command. This command allows you to remove directories along with their contents.

In summary, managing directories in Linux is a critical task, and knowing how to delete them, whether they are empty or contain files, is essential for effective server management.
Sources:[https://vpsmakers.com/delete-directory-in-linux/](https://vpsmakers.com/delete-directory-in-linux/)