teleren/devto huggingface dataset:
O Básico Sobre a Certificação Java
Tags: java, certification, career, beginners
Published: 2023-04-24 19:28:49

## Introdução

Oracle, a empresa responsável pela linguagem de programação Java, criou um exame para avaliar o nível de conhecimento que os desenvolvedores têm sobre a mesma e, a partir dessa avaliação, creditam o indivíduo como proficiente para uma gama extensa de companhias que reconhecem essa prova.

Atualmente é necessário apenas um exame, porém até pouco tempo atrás dois exames faziam parte do processo de avaliação.

Em caso de dúvidas, 1Z0-819 é o código que a Oracle utiliza para identificar esse exame, como faz com vários outros, incluindo 1Z0-816 e 1Z0-808

## Versão do Java

O Java SE 19 foi lançado em Setembro deste ano e terá suporte até 2023 e o Java SE 17 é a versão LTS (Long Term Support*) mais recente. Nesse caso fica a dúvida de qual versão o desenvolvedor deve se atentar para fazer o exame.

Apesar da variedade de versões que a Oracle disponibiliza regularmente, o foco deve ser dado a uma versão bem anterior: Java SE 11. O motivo é que a maior parte das outras versões tem suporte de curto prazo e logo se tornam obsoletas. Com relação a última versão LTS, ainda há muitas empresas que manterão o uso de versões anteriores até acabar o período de suporte oficial.

_*LTS = Versões com suporte oficial a longo prazo._

## Códigos Não Usuais

Apesar de ser um tanto confuso para novos programadores, cada certificação disponibilizada pela Oracle tem seu código de identificação. Nesse caso estamos tratando do exame 1Z0-819, que é para se tornar um desenvolvedor Java certificado na versão 11. Essa avaliação possui 50 questões de múltipla escolha, com uma duração limite de 90 minutos e com um mínimo de 68% de acertos. Essa certificação, no entanto, foi desenvolvida para quem não possui qualquer certificação

Há um exame para profissionais que já fizeram outras provas para as versões 6, 7 e 8: 1Z0-817. Aqui você terá 180 minutos para responder 80 questões, também de múltipla escolha, com um mínimo de 61% de acertos.

## Distribuidores

Há uma grande variedade de opções pagas e gratuitas para desenvolvedores Java. Contanto que a versão do JDK (Java Development Kit) seja condizente com a versão do teste, todas as alternativas disponíveis são válidas para utilizar durante a preparação para a certificação. Algumas sugestões: Amazon, Red Hat, AdoptOpenJDK e a própria Oracle. Esses são os distribuidores mais populares.

## Qual IDE utilizar?

Para os que já tiveram contato com linguagens de programação, os IDEs são uma ótima forma de facilitar e otimizar o tempo de programação. Não há nenhuma recomendação específica de utilização por parte da Oracle. Algumas das opções mais utilizadas são Intellij e Eclipse, porém a IDE é uma escolha mais pessoal que depende das preferências do usuário.
Implementing a simple actor in Tarant
Tags: opensource, showdev, coding, tutorial
Published: 2023-04-24 19:09:26

Do you want to see how to implement simple actor in Tarant and start focusing on your domain logic? What our next video.



<iframe width="100%" height="444" src="https://www.youtube.com/embed/z-x0phbcOk8" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

{% embed https://youtu.be/z-x0phbcOk8 %}

[﻿Watch the video on Youtube](https://youtu.be/z-x0phbcOk8)

If that is to long here is a snippet image as TL;DR;

![](https://raw.githubusercontent.com/tarantx/tarant-page/main/static/img/ping-actor.png)
Tarant Fullstack Actor System in 5 minutes
Tags: opensource, programming, showdev, coding
Published: 2023-04-24 18:57:29

Are you tired of struggling with complex actor systems that require you to write complex code just to manage simple communication between your application's components?

If so, we have great news for you! We are excited to announce the release of our new actor system, built from the ground up using the latest version of TypeScript! Our new full-stack actor system is designed to make building reliable, high-performance, reactive systems a breeze, so you can focus on building great applications that customers love.

To help you get started, we've put together a short 5-minute video that showcases some of the system's key features.

We believe that our new actor system represents a major milestone in modern software development, and we're excited to share it with you. So sit back, relax, and watch the video below to see how our new actor system can help you tackle some of the toughest challenges in modern application development!
<iframe width="100%" height="444" src="https://www.youtube.com/embed/2z5tiyl3N9I" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

{% embed https://youtu.be/2z5tiyl3N9I %}

[﻿Watch the video on Youtube](https://youtu.be/2z5tiyl3N9I)
How I can check that data is proper application/x-www-form-urlencoded data?
Tags: help, http, node
Published: 2023-04-24 18:50:49

As I ask upon here:
{% stackoverflow 76095122 %}

I try to check that request data are in a valid form as content-type `application/x-www-form-urlencoded` is expected to be.

I do not want to use any 3rd party libraries but to make a small middleware in order to do any checks.

Can u help me?
Private alternatives to ChatGPT
Tags: chatgpt, ai, discuss
Published: 2023-04-24 18:36:31

I'm currently exploring ways to fine-tune and deploy a private LLM & interface similar to ChatGPT.

My main motivation is that sometimes data is private and not meant to be shared with an open system. This could include company data or proprietary data. At the momen I am playing with a self hosted instance of https://open-assistant.io/ but I am sure there are better ways. What's your take on this?
Work with the ChatGPT and GPT-4 models in C#
Tags: csharp, chatgpt, conversational, openai
Published: 2023-04-24 18:35:51

A Practical Guide to Integrating the Conversational Interfaces with Chat API
[Work with the ChatGPT and GPT-4 models in C#](https://devedium.com/work-with-the-chatgpt-and-gpt-4-models-in-c-ef9ee370897)
RSpec. let and let!
Tags: ruby, rails, rspec, testing
Published: 2023-04-24 18:31:20

After years being out of the Rails ecosystem I was curious what is the difference between `let` and `let!` in rspec tests. I just forgot.

There is a simple case to demonstrate:

```ruby
require 'rails_helper'

RSpec.describe User, type: :model do
  describe 'Creating.' do
    let!(:user) { create(:user) }

    it 'Exists' do
      expect(User.count).to eq 1
    end
  end
end
```

```bash
  1) User Creating. Exists
     Failure/Error: expect(User.count).to eq 1
```

And with `let!`

```ruby
require 'rails_helper'

RSpec.describe User, type: :model do
  describe 'Creating.' do
    let!(:user) { create(:user) }

    it 'Exists' do
      expect(User.count).to eq 1
    end
  end
end
```

It gives: `User Creating. Exists`

### Conclusion

With `let` we create an object when we first time to use it.

With `let!` we create an object when we declare it.

Happy Coding!
New to programming.
Tags: java, webdev
Published: 2023-04-24 18:20:48

It is now three weeks since I started learning Java tutorials. It was so hard at the beginning especially with syntax and operators and as time goes I'm becoming familiar with it. I just want to let those interested in this field know that "interest is the first priority before talking of money the career can make". I'm enjoying it like nothing and surely, I will soon be a better programming. Thanks ❤️
Sloan's Top 4 Newbie Memes of the Week
Tags: beginners, codenewbie, career
Published: 2023-04-24 17:40:19

Y'all know the drill! We decided recently over at the [CodeNewbie Team](https://dev.to/codenewbieteam) that we wanted to spice things up and try something new out to involve our newbies in Meme Monday! **We landed on a Sloan's Newbie Memes of the Week!** [You can find last week’s meme picks here](https://dev.to/codenewbieteam/sloans-top-4-newbie-memes-of-the-week-40ih).
 

Here are some of our favorites from this week:


![AI: My talent is identifying birds. Human: Okay, what's this one? AI: Definitely a bird.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w18ewz8i1s1qlz55gxjc.jpg)


![Coding, Debugging, Testing...: I can do this all day. Join meeting for 2+ hours: I give up.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oot8kbw3loyxzt0na6xx.jpg)


![I'm a Python developer. Oh yeah? then how to swap two variables? a,b=b,a. That's on me, I set the bar too low.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2cciyw9bgg3mfzvpe9um.jpg)


![Fixing a bug in production be like: Image of shoving two chords into the same plug.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8ehjy44lhxszn05jz2a5.jpg)




**If you'd like to join in— drop your beginner-related, job-related, starting-a-new-career-related memes down below!**

Happy coding y'all!
Computer vision-based movement analysis for physical rehabilitation software
Tags: computervision, ai, showdev, development
Published: 2023-04-24 17:35:02

In the past, motion analysis for physical therapy required markers or sensors and expensive cameras. However, new AI-based pose detection technology allows for real-time, high-accuracy motion tracking with just a built-in camera, enabling improved musculoskeletal outcomes for patients.
My team developed a markerless pose detection technology to be integrated to telerehabilitation solutions used by MSK physical therapists. 
Here is a prompt video how this technology tracks an exercise performance: https://www.youtube.com/shorts/uEQdF2OqqTE

We built it keeping in mind that most of the competitors reach the needed accuracy with the help of bulky sensors and special cameras. 

What we wanted to reach with our technology – is to make it device-independent, sensorless yet accurate and being able to process MSK screening in real-time. 

And while we're still working towards adding more complex movements to check the motion analysis process you're all welcome to evaluate the idea and share you feedback on what we've done. 

p.s. In future we're about to expand the technology for wide range of MSK exercises and:
- Add age and gender normative analysis
- Automatic day-to-day progress comparison
- ML-generated exercises’ recommendation, e.g. actionable plans to improve joints’ functional status
- Asymmetries collecting with visual alerts
- Skeleton graph and measurement  

Suggestions and ideas are welcome!
Understanding the Core Concepts of Redux: A Beginner's Guide
Tags: webdev
Published: 2023-04-24 17:30:50

Redux is a popular state management library that is used by many developers to manage the state of their applications. If you are new to Redux, the core concepts may seem confusing at first. In this beginner's guide, we'll break down the core concepts of Redux, including the three principles of Redux, the Redux store, actions, reducers, and the role of the Provider component.

## The Three Principles of Redux

Before we dive into the details of Redux, it's essential to understand the three principles of Redux:

1. Single Source of Truth: The entire state of an application is stored in a single object tree within a store.

2. State is Read-Only: The state is immutable, and the only way to change it is by dispatching an action.

3. Changes are Made with Pure Functions: Reducers are pure functions that take the previous state and an action, and return a new state.

## The Redux Store

The Redux store is a JavaScript object that contains the entire state of your application. The store is created using the createStore() function, which takes a reducer as its argument. The reducer is a pure function that takes the current state and an action, and returns a new state.

## Actions

Actions are plain JavaScript objects that describe what happened in your application. An action must have a type property, which is a string that describes the action. Actions can also contain additional data that is necessary to update the state.

## Reducers

Reducers are pure functions that take the current state and an action, and return a new state. Reducers should not modify the existing state; instead, they should return a new object that represents the new state.

## The Provider Component

The Provider component is a higher-order component that allows you to provide the Redux store to your React components. The Provider component takes a store as its prop, and any component that needs access to the store can use the connect() function from the react-redux library.

## Conclusion

In this beginner's guide, we covered the core concepts of Redux, including the three principles of Redux, the Redux store, actions, reducers, and the Provider component. Redux can be confusing at first, but understanding these concepts is crucial to building scalable and maintainable applications with Redux. If you are new to Redux, take the time to understand these concepts, and you'll be on your way to becoming a Redux expert.
Awesome VS code extensions for beginners
Tags: beginners, productivity, discuss, vscode
Published: 2023-04-24 17:28:46

Visual Studio Code (VS Code) is a popular and powerful code editor used by many developers. With its vast number of extensions, it can be overwhelming for beginners to decide which ones to use to become more efficient. In this article, we will explore some awesome VS Code extensions that can help beginners improve their coding efficiency and workflow.

Live Server - This extension allows you to quickly launch a local development server for your web applications, which can help you to see real-time changes as you make them.

HTML CSS Support - This extension provides enhanced support for HTML and CSS coding. It includes features such as autocompletion and syntax highlighting.

Auto Rename Tag - This extension automatically renames HTML tags whenever you rename their opening or closing tags, which can save you time and prevent errors.

Bracket Pair Colorizer - This extension adds colors to matching brackets, making it easier to identify code blocks and nested elements.

Prettier - This extension formats your code automatically, making it more readable and consistent. It supports multiple file types including HTML, CSS, and JavaScript.

GitLens - This extension adds enhanced Git integration to VS Code, allowing you to see Git blame annotations, compare versions, and more.

IntelliSense for CSS class names - This extension provides auto-completion for CSS class names, making it easier to write and maintain CSS code.

Debugger for Chrome - This extension allows you to debug your JavaScript code directly from VS Code using the Chrome browser.

ESLint - This extension provides real-time linting for your JavaScript code, helping you to catch errors and maintain code quality.

Turbo Console Log - This extension makes it easy to add console.log statements to your code, which can help you to debug your code more effectively.

In conclusion, the VS Code extensions mentioned in this article can help beginners become more efficient and productive in their coding workflow. By using these extensions, beginners can save time, write cleaner and more maintainable code, and catch errors more quickly. We hope this article helps beginners get started with VS Code and its vast number of extensions.
leave your preferred VS code extension in the comments below!
What Does Identity Provider Actually Mean?
Tags: webdev, security, beginners, cybersecurity
Published: 2023-04-24 17:15:32

When it comes to online security and authentication, the term “Identity Provider” is often thrown around. But what does it actually mean? In simple terms, an Identity Provider (IdP) is a trusted service that authenticates and verifies the identity of users and provides them with access to protected resources.

In other words, an IdP acts as a gatekeeper between the user and the resource they are trying to access. Instead of requiring the user to provide their credentials (such as a username and password) to each individual resource they want to access, the user provides their credentials to the IdP once, and the IdP then vouches for their identity to any resource that trusts it.


![Identity provider diagram](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fxk4i728c36eqlam2rxq.png)

This can be particularly useful in scenarios where multiple resources need to be accessed using the same set of credentials. For example, in a situation where a company uses [SAML Authentication](https://www.propelauth.com/post/what-does-saml-actually-mean?utm_source=devto), a user may have a single set of credentials for their company’s internal resources, such as email, HR systems, and project management tools. By using an IdP, the user only needs to provide their credentials once to gain access to all of these resources, rather than entering their credentials individually for each one.

Another advantage of using an IdP is that it can provide additional security features such as [multi-factor authentication](https://www.propelauth.com/post/untitled?utm_source=devto) (MFA), which requires the user to provide additional proof of their identity before gaining access to a resource. MFA can include something the user knows (such as a password), something they have (such as a token or smart card), or something they are (such as a fingerprint or facial recognition).

So, what are some common examples of IdPs? One of the most well-known is Google, which provides an IdP service called Google Sign-In. This allows users to log in to third-party websites and applications using their Google credentials. Some companies uses IdPs like Okta, Rippling, and Jumpcloud to manage their employees. Other popular IdPs include Facebook, Microsoft, and LinkedIn.

An Identity Provider is a crucial component of modern online security and authentication systems. By acting as a trusted third-party service, an IdP can help simplify the process of accessing multiple resources using a single set of credentials, while also providing additional security features to protect user accounts. With PropelAuth, we can help you integrate with popular IdPs whether it’s Google, LinkedIn, or IdPs used more for workforce management like Okta, Azure AD, JumpCloud.
Well-designed presentation
Tags: discuss
Published: 2023-04-24 17:11:08

Making a lesson interesting is an essential part of effective teaching. When students are engaged and motivated, they are more likely to retain information and develop a deeper understanding of the topic. However, this is easier said than done, and many teachers struggle to keep their students engaged. In this text, I will provide some tips for teachers on how to make any lesson more interesting. 

One of the most important things a teacher can do is to create a presentation that is visually appealing. A well-designed presentation can help to capture the attention of students and keep them engaged throughout the lesson. Teachers should aim to use a mix of text, images, and multimedia to make their presentation more interesting. They can also use tools like animations, videos, and interactive quizzes to make the presentation more engaging. 

Another way to make a lesson more interesting is to use real-life examples and case studies. By providing examples that students can relate to, teachers can make the topic more interesting and relevant to their lives. This can help to spark their interest and encourage them to participate in class discussions. 

Teachers can also incorporate group activities and games into their lessons. By working together in groups or playing games, students can learn in a more interactive and engaging way. This can help to break up the monotony of a lecture-style lesson and make it more fun for students. 

In addition, teachers should aim to make their lessons interactive. This means encouraging students to participate in class discussions, ask questions, and share their own experiences. By creating a classroom culture where students feel comfortable expressing themselves, teachers can help to make their lessons more engaging and interesting. 

Finally, teachers should always aim to make their lessons relevant and meaningful to their students. By understanding their students' interests, backgrounds, and experiences, teachers can tailor their lessons to make them more interesting and engaging. This can help to create a more inclusive classroom where all students feel valued and engaged. 

In conclusion, making a lesson interesting is a crucial part of effective teaching. By using visually appealing presentations, real-life examples, group activities, interactive discussions, and relevant content, teachers can create an engaging and exciting classroom environment that encourages learning and growth.
GraphQL schema - sharing Input and Output types structure
Tags: discuss, question, graphql, webdev
Published: 2023-04-24 17:06:30

Hey GraphQL experts, I have a question for you: how do you achieve re-use of the schema fields when you need to have the same structure in the Input type and the Output?

Let's examine this code (GraphQL schema):

```graphql
input myInput {
  field1: String
  field2: String
}

type myOutput {
  field1: String
  field2: String
}
```

Is there any way to re-use the structure here? I've tried to make use of fragments and `extends` functionality but nothing worked so far.

Is it possible to achieve that and how would you approach it?

TIA!
Seedr - Your One-Stop Shop for Torrenting in the Cloud
Tags: torrents, cloud, seedr, privacy
Published: 2023-04-24 16:59:46

Seedr Link: [https://www.seedr.cc/](https://www.seedr.cc/
)
Are you tired of downloading torrents the old-fashioned way? Seedr is here to change that! With its cloud-based platform, Seedr makes downloading, streaming, and managing torrents a breeze.

Say goodbye to worrying about the risks of downloading torrents directly to your computer. Seedr provides a secure and private way to download torrents without revealing your IP address or risking the exposure of your personal information. Whether you're in a country where torrenting is illegal or just want some extra peace of mind, Seedr's got you covered.

And the best part? Seedr is super easy to use. Its user-friendly interface makes it simple for beginners and seasoned torrenters alike to upload their files and let Seedr take care of the rest. Plus, with support for downloading and streaming media files, Seedr is an all-in-one solution for your torrenting needs.

But that's not all - Seedr is lightning fast. As a cloud-based service, Seedr can download torrents much faster than traditional torrent clients. That means you can start watching or listening to your downloaded media files in no time.

Seedr offers a free plan as well as premium plans with additional features. The free plan includes 2GB of storage, while premium plans start at just $6.95 per month for 30GB of storage. Premium users also get access to faster download speeds, unlimited bandwidth, and the ability to stream media files directly from Seedr.

There are some limitations to Seedr, however. Some types of torrents, such as those with password-protected archives or certain types of encryption, may not be supported. And since Seedr's servers are located in the United States, privacy-conscious users may have some concerns about government surveillance.

All in all, Seedr is a fun and easy option for anyone looking to up their torrenting game. With its cloud-based approach, user-friendly interface, and fast download speeds, Seedr is definitely worth checking out. So what are you waiting for? Head over to Seedr and start torrenting like a pro!