teleren/devto huggingface dataset:
Criando API com Elixir e entendendo os fundamentos
Tags: elixir, beginners, webdev, tutorial
Published: 2022-02-03 11:59:59

A programação funcional se revela, através do Framework Phoenix, uma ferramenta fantástica para direcionar as requisições ao ponto certo do seu código. 

Aqui existe uma combinação fenomenal de produtividade de curto e longo prazo.

No vídeo abaixo nós criamos explicamos todo o fluxo de código pelo qual a requisição passa dentro do framework e criamos uma API REST para demonstrar.

Veja que coisa linda:

{% youtube sud6YuCEDuo %}
InsightCat eBook about full-stack monitoring is coming soon! 
Tags: monitoring, devops, news
Published: 2022-02-03 11:59:15

What is full-stack monitoring and why do you need it within your organization? What are the main processes and how does it work?

Get ready to learn more about full-stack #monitoring and keep up to date on the latest news monitoring tendencies. InsightCat #eBook is coming soon. Stay tuned to not miss it out!

We do our best to fill the eBook with the most relevan information. Share your thoughts about topics that would be interesting for you! 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bwur386wvcxbwobhiav2.png)
Needs To Be Very Careful While Choosing A Web Designing Institute
Published: 2022-02-03 11:57:53


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

The Background of the Institute This is probably the most important thing that you must do before applying for any course in any institute. Before choosing any institute try to find out the period for which the institute is present and the number of students who have entered training by the institute. If possible contact some of the students and seek their feedback. After this, you can decide whether you want to join the Web Designing institute or not. 

Good Instructors They form an integral part of society. Many institutes provide web design courses with the help of amateur professionals. They're new to the industry and suppose that they've learned the art and are able of training others. But the [Web Designing courses](![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xhqirz5xxry5c6u9ohbg.png)
 ) designed by our CETPA are done with the help of professionals who have been in the industry for a long time. The course is also designed in a structured way so that it's easy to remember and understandable by all kinds of guests.

Stay Tasks and Actual Life Training As an undergraduate, you must have observed that studying and doing the same thing in factual life is relatively different. A good institute offers you factual life examples and tasks which one can relate with their class and this is one of the best factors you can anticipate from a good institute Before joining any course in an institute you can also go through the course practically.

In today's period web, designing is the most growing career field as it has created a wide range of career openings for individuals. After completing your course one can work as a freelancer or a web developer in a company.

Software Industry Many companies like Oracle, Google, Wipro, etc are retaining web designers for two effects. One for internal effects like maintaining their website and also for maintaining the web development activities from customers. All the guests and mates will have their webpage which they can get maintained, so the part of the web developer becomes essential in nearly all the software companies.

Media Suppose if you had taken a course in web designing, also you can maintain an advertisement agency or can retain a group of people and can start a web designing company.

Education Industry Today's world is full of vitality and educating the students visually by using some animated designs has helped them a lot in their education. The most brilliant thing about animation on the web is that it provides an instigative and dynamic platform to encourage scholars to give intriguing, engaging class donations.

In today's fashion significance of Web designing and web development courses and openings are numerous. It's a resource for running your organization effectively. It depends on the person, place, and purpose one has to fulfill by that.
Running multilingual voice queries on financial documents
Tags: speechrecognition, finance, machinetranslation, machinelearning
Published: 2022-05-24 16:02:55

---
title: Running multilingual voice queries on financial documents
published: true
date: 2022-02-03 11:54:40 UTC
tags: speechrecognition,finance,machinetranslation,machinelearning
canonical_url: https://julsimon.medium.com/running-multilingual-voice-queries-on-financial-documents-f4401fe3f544
---

This video is a technical deep dive on the demo presented in [https://youtu.be/I\_hqzdqQ5vE,](https://youtu.be/I_hqzdqQ5vE,) where I run multilingual voice queries on financial documents, using two state of the art Transformer models for speech to text and semantic search in less than 100 lines of Python:

— Dataset preparation, based on SEC filings downloaded with an AWS SDK. See [https://youtu.be/SU1L6f0N6iw](https://youtu.be/SU1L6f0N6iw) for details.

— Experimentation in a Jupyter notebook, available at [https://gitlab.com/juliensimon/huggingface-demos/-/tree/main/voice-queries](https://gitlab.com/juliensimon/huggingface-demos/-/tree/main/voice-queries)

— Implementation of a Hugging Face Spaces application, available at [https://huggingface.co/spaces/juliensimon/voice-queries](https://huggingface.co/spaces/juliensimon/voice-queries)

{% youtube YPme-gR0f80 %}
What is Cloud?
Published: 2022-02-03 11:52:54

CLOUD refers to servers that are accessed over the Internet, and the software and databases that run on those servers. 

Cloud servers are located in data centers all over the world. By using cloud computing, users and companies do not have to manage physical servers themselves or run software applications on their own machines.

## Cloud Computing:

In simpler terms, Cloud computing is delivery of cloud services- like storage, servers, software over the internet. 

### Benefits of Cloud Computing

* Cost
* Speed
* Scaling of Resources
* Performance
* Reliability
* Security

![CouldComputing](https://data-flair.training/blogs/wp-content/uploads/sites/2/2018/11/Cloud-computing-features.jpg)


## Types of cloud computing


### Public cloud

Public clouds are owned and operated by a third-party cloud service providers, which deliver their computing resources like servers and storage over the Internet.
Like AWS, Azure, Google Cloud

### Private cloud

A private cloud refers to cloud computing resources used exclusively by a single business or organisation. A private cloud can be physically located on the company’s on-site datacenter.

### Hybrid cloud

Hybrid clouds combine public and private clouds, bound together by technology that allows data and applications to be shared between them. By allowing data and applications to move between private and public clouds, a hybrid cloud gives your business greater flexibility, more deployment options and helps optimise your existing infrastructure, security and compliance.

## Types of cloud services:

![IAAS, PAAS, SAAS](https://pediaa.com/wp-content/uploads/2018/07/Difference-Between-IaaS-PaaS-and-SaaS-Comparison-Summary.jpg)
)
### Day -01 of the #100DaysOfCloud
Python New Project Ideas Discussion
Tags: discuss, python, programming, opensource
Published: 2022-02-03 11:21:38

Are you a software developer or just a thinker or innovator?

How many times you are searching for collaborator or contributor for your project ideas and you don't find them?

**Well, you are in the right place!**

I create this post to discuss new project ideas in **_Python_** language and to find teammate for them!

You can post comment for propose you ideas, then in the comment can be discussed new ideas or actively partecipate to the start of the project.

If the idea is good will be added in the last part of this post to give more prominence to the project.

If you comment with a github repos, the link will be added in the project description.

I wish this can be helpful for open-source world.
Thank you in advance for your partecipation.
C++ New Project Ideas Discussion 
Tags: discuss, cpp, devops, help
Published: 2022-02-03 11:14:40

Are you a software developer or just a thinker or innovator?

How many times you are searching for collaborator or contributor for your project ideas and you don't find them?

**Well, you are in the right place!**

I create this post to discuss new project ideas in C++ language and to find teammate for them!

You can post comment for propose you ideas, then in the comment can be discussed new ideas or actively partecipate to the start of the project.

If the idea is good will be added in the last part of this post to give more prominence to the project.

If you comment with a github repos, the link will be added in the project description.

I wish this can be helpful for open-source world.
Thank you in advance for your partecipation.
How to automatically inject a validated property's name in the bean validation message
Tags: validator, hibernate, spring, java
Published: 2022-02-03 11:04:16

A project I've worked on in the past required us to inject the property path in validation error messages. To prevent repetitive work, I've written a _rough `MessageInterpolator` implementation_ to add the property path as an expression variable:

```java
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.hibernate.validator.internal.engine.MessageInterpolatorContext;

import javax.validation.MessageInterpolator;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import java.util.Optional;

/**
 * <p>Allows interpolation of messages with a {@code ${propertyPath} expression variable},
 * which will resolve to the property path of the value being validated.</p>
 */
@Slf4j
@RequiredArgsConstructor
public class PropertyPathAddingMessageInterpolator implements MessageInterpolator {

    private final MessageInterpolator delegateInterpolator;

    @Override
    public String interpolate(String messageTemplate, Context context) {
        Optional<Context> replacementContext = replacementContextFrom(context);
        return delegateInterpolator.interpolate(messageTemplate, replacementContext.orElse(context));
    }

    @Override
    public String interpolate(String messageTemplate, Context context, Locale locale) {
        Optional<Context> replacementContext = replacementContextFrom(context);
        return delegateInterpolator.interpolate(messageTemplate, replacementContext.orElse(context), locale);
    }

    private Optional<Context> replacementContextFrom(Context context) {
        if (!(context instanceof MessageInterpolatorContext)) {
            return Optional.empty();
        }
        MessageInterpolatorContext interpolatorContext = (MessageInterpolatorContext) context;
        Map<String, Object> expressionVariables = new HashMap<>(interpolatorContext.getExpressionVariables());
        expressionVariables.put("propertyPath", interpolatorContext.getPropertyPath());

        Context replacementContext = new MessageInterpolatorContext(
            interpolatorContext.getConstraintDescriptor(),
            interpolatorContext.getValidatedValue(),
            interpolatorContext.getRootBeanType(),
            interpolatorContext.getPropertyPath(),
            interpolatorContext.getMessageParameters(),
            expressionVariables,
            interpolatorContext.getExpressionLanguageFeatureLevel(),
            interpolatorContext.isCustomViolation()
        );
        return Optional.of(replacementContext);
    }

}
```

This allows us to automatically populate `${propertyPath}` in validation messages such as the following:
```properties
javax.validation.constraints.NotNull.message=${propertyPath} must not be null
```

[You must configure your `ValidatorFactory` to use this `MessageInterpolator`.](https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/validation/beanvalidation/LocalValidatorFactoryBean.html#setMessageInterpolator-javax.validation.MessageInterpolator-)
[Laravel 8.x] Refactor Factory Call with One Command
Tags: laravel, php, opensource, firstpost
Published: 2022-02-03 11:01:03

## Factory call changed

In Laravel 8.x, the style of factory call was changed from helper to static method.

```php
//Laravel 7.x or earlier
factory(User::class)->make()

//Laravel 8.x
User::factory()->make()
```

It takes plenty of times to fetch this change into your application if you do by yourself.

Don't worry. I made a package to refactor all of them with **Just One Command.**

## _Laravel-Factory-Refactor_

https://packagist.org/packages/wadakatu/laravel-factory-refactor

This package will help you to refactor the style of factory call from helper to static method for Laravel 8.x.

## How to Use

### 1. Installation

You can install the package via composer:

```bash
composer require wadakatu/laravel-factory-refactor --dev
```

### 2. Run Artisan Command

```bash
php artisan refactor:factory
```

### 3. Voila, Refactor Completed !

```php
//Before
factory(User::class)->make();
factory(App\Models\User::class)->make();
factory(User::class, 10)->make();
factory(App\Models\User::class, 10)->make();

//After
User::factory()->make();
App\Models\User::factory()->make();
User::factory()->count(10)->make();
App\Models\User::factory()->count(10)->make();
```

## In conclusion

'Laravel-Factory-Refactor' is my first package ever in my life.

From now on, I am going to do my best to update this package to make it better.
I hope you are going to like it.

Moreover, I am looking forward to getting stars in Github⭐️

https://github.com/wadakatu/laravel-factory-refactor

Thank you.
Debug mocha tests with vscode
Tags: mocha, testing, vscode
Published: 2022-02-03 10:40:33

To debug **mocha.js** in vscode select **run & debug** 

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

If you dont have launch.json file press **create a launch.json file** for creating it.

Press **add configuration**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gz42s2w7p524pynjz5tk.png)

Select **Mocha Tests**

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

The json should looks like:

```
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "args": [
                "-u",
                "tdd",
                "--timeout",
                "999999",
                "--colors",
                "${workspaceFolder}/test"
            ],
            "internalConsoleOptions": "openOnSessionStart",
            "name": "Mocha Tests",
            "program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
            "request": "launch",
            "skipFiles": [
                "<node_internals>/**"
            ],
            "type": "pwa-node"
        },
               
        {
            "type": "pwa-node",
            "request": "launch",
            "name": "Launch Program",
            "skipFiles": [
                "<node_internals>/**"
            ],
            "program": "${file}"
        }
    ]
}
```

Add to "args":

`"--file",
"${workspaceFolder}/test-folder/setup.js",
"${workspaceFolder}/test-folder/**/*.spec.js",
`

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

If you get **Process exited with code 1** remove the

```
    "--require",
    "esm",
```
Earn passive income with windows
Published: 2022-02-03 10:36:26


In a previous article ([How to earn money with a raspbery pi](https://gkdv.net/earn-money-with-raspberry-pi/)), I written about [earnapp](https://earnapp.com/i/dp64i9n), which makes earn money with a raspberry pi.  

By the way, you can do it with your windows or mac os computer, thanks to [HoneyGain](https://r.honeygain.me/GPENV64FEF) (Yeah I know, earnapp can be installed on a computer too...). 

![passive earnings on windows](https://gkdv.net/images/uploads/2022/01/revenus-passifs-windows-avis-honeygain.jpg "honeyGain windows") 

The main difference with earnapp is the payment threeshold: on [HoneyGain](https://r.honeygain.me/GPENV64FEF)), it's from 20$ (vs 5$ on earnapp). 

The other difference is the "cdn" feature: this will allow honeyGain to use your bandwith as a cdn for other clients. Another good point: no need to link a google account. 

And all the "how-it-works" it's really simply explained on her documentation. You have to notice that vpn-use is forbidden. 

I personnaly started to use it, and the earnings are similar to [earnapp](https://earnapp.com/i/dp64i9n) (~0,5cts per day): why don't use the both? ;)


Have a look on [HoneyGain](https://r.honeygain.me/GPENV64FEF), and try it!
Free Admin Dashboard Template - Dash UI
Tags: opensource, github, bootstrap5, productivity
Published: 2022-02-03 10:14:09

Bootstrap 5 Admin & Dashboard Template - Dash-UI. [Dash UI](https://dashui.codescandy.com/) Kit is a free and open-source components and templates kit fully coded with Bootstrap 5.

It comes with Beautiful UI components & professionally designed, fully responsive pages for admin dashboard.

Our Academy Admin Dashboard Template is available in pro version.
[Geeks UI Bootstrap 5](
https://bit.ly/geeksui) & [Geeks React Admin Dashboard](https://bit.ly/geeksuireact)
Integrate Angular 13 with Firebase Auth
Tags: firebase, angular, webdev, tutorial
Published: 2022-02-03 10:11:54


[@angular/fire](https://www.npmjs.com/package/@angular/fire) version 7.2.0 and Angular 13.2.0 are used !

Create a separate module for auth responsibility, the structure will look like this:


![auth module structure](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/iqzwz1et6tw43j4rj4is.png) 

`auth.module.ts`


![auth.module.ts](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/djbh8zl3slbvw676wetb.png)

make sure that you have the correct credentials in `environment.ts` and `environment.prod.ts `

![auth credentials](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c1i3ay9hh5yexzryamof.png)

select Project settings and you can find there your web app's Firebase configuration

`auth.service.ts`

![auth.service.ts](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m9ivp1immszerbfkp94k.png)

I think it is better to handle observables in Angular than promises, that's why I used `rxjs from` which create observable from promise, you can read the official docs [here](https://rxjs.dev/api/index/function/from)


`auth.component.ts`

![auth component](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cpjn9s9khk08qcoqv14s.png)

You can find the app on this [repository](https://github.com/PJozeph/angular-firebase-auth-demo)
What you need to know about hiring Kotlin developers?
Tags: webdev, java, kotlin, programming
Published: 2022-02-03 10:02:04

Hiring Kotlin developers is a great way to get some new talent onto your team if you need help with programming Kotlin applications or any other types of Kotlin-related work, but doing so can also be somewhat challenging due to the fact that there aren’t as many Kotlin developers as there are for other programming languages and technologies. To ensure that you hire the best Kotlin developers possible, it’s important to know what to look for when searching and then what to do once you’ve found your ideal candidates. Here are some helpful tips on how to hire Kotlin developers.

[Hire Kotlin Developers
](https://www.pixelcrayons.com/hire-kotlin-developers)
The Kotlin Framework
What Every Java Developer Needs to Know : Kotlin has become one of Google’s official development languages, and it makes sense: The programming language is concise, feature-rich, and interoperates seamlessly with Java. What’s more, since Google is behind it, experts are certain that Kotlin will only grow in popularity as time goes on.

Getting Started with Kotlin
If you’re not already a Java expert, then Kotlin will be your introduction to writing applications in Java. It may seem like a steep learning curve at first, but that’s why we’ve created guides for getting started with it.

Working with Android Studio in Kotlin
A Look at Android Studio 3.0 Preview 8: Android development is fun and all, but sometimes it gets a little complicated. When working with languages such as Java or C++, there are countless options for how things can be done; Kotlin is much simpler in that regard. The language only works within Android Studio on specific platforms, so it’s worth familiarizing yourself with those environments before hiring a kotlin developer . A well-written piece of code should also look great when displayed as plain text.

Hiring a Professional Developer
Hiring a developer is more than simply posting a job description on your favorite job board. Take some time to investigate and research who you’re looking for, what kind of person would be best for your project, and what it will take for them to start writing code. Do they have sample code online? Have they worked with Kotlin before?