teleren/devto huggingface dataset:
VIDEO: How do programmers stay motivated at work?
Published: 2022-07-26 15:04:58

Software engineer lost motivation? Find how to motivate developers and motivate development team not only with high salaries but consistent development and growth inside the company. Watch the video to get motivational strategies for your tech team and offer additional value to demotivated engineer. 

🔗USEFUL LINKS: 
🚀Start 1st review with Ace - SIGN UP: https://www.getace.io/?utm_source=devto&utm_campaign=main_page🎯Tech lead skill matrix (and 60+ tech roles): https://cutt.ly/skillmatrix_free
💥FREE EBOOK FOR TECH LEADS & ENGINEERING MANAGERS: https://www.getace.io/ebooks?utm_source=devto&utm_campaign=ebook_promo

-------------------------------------------------
00:17 - How to motivate engineers not only with high salary
01:11 - Ace helps to develop engineers inside the company
01:28 - 5 steps to hold skills assessment

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

Help your team grow with Ace!

FREE ebooks for engineering management & tech leads: https://www.getace.io/ebooks?utm_source=devto&utm_campaign=ebook_promo
Ace's blog: https://blog.getace.io/
Grow This Grow That podcast: https://community.getace.io/
Instagram: https://cutt.ly/vectorly_inst
Twitter: https://twitter.com/VectorlyHQ
How Can Custom Software Boost Productivity?
Tags: webdev, programming
Published: 2022-07-26 14:57:42

Most businesses today use software to increase the efficiency of their process and reduce costs. It’s a perk of the era we live in and it’s a great way to keep things moving smoothly. But did you know it matters what type of software you’re using?

The main software used in companies today is off-the-shelf and treats general problems, in the sense that it can be used for a wide range of activities. However, a general soft won’t bend over your business’s needs just how you want it. There will always be something that doesn’t just fit right and, in many cases, there are tons of functionalities you’re not using even though you paid for them.

So what’s the solution then? We recommend every business that crosses our threshold to invest in custom software. It may be a bit more expensive in the short term, but on the long run, it’s the perfect solution to have all your needs met.

But, before you consult with a custom software development company, let’s clear things up: how exactly will custom software be of help?

Happier Employees and Time Better Spent
According to a study performed in the UK, 41% employees say that the job doesn’t create the right conditions for them to work at their peak productivity level. And this is not happening just in Britain, everywhere you go, you’ll meet motivated employees who want to do more but can’t.

Custom software comes to solve this problem by offering users a more intuitive and user-friendly interface. A custom software development company will know how to integrate the existing work flow and terminology in the soft and how to offer a product that doesn’t seem new or too complex.

Take a quoting system for example (one of the projects we developed). In any business, quoting takes a lot of time and consumes resources, but with our system, the company managed to automatize the process and reduce costs with personnel.

Automate your Business processes
Automatic processes are the best way to boost business productivity! But off-the-shelf software can’t know all your business processes and you might miss a lot. Take for example, the work we did for a start-up activating in oil trading (check our portfolio for more). We automatized the invoicing process, the auctions, and the bank-to-bank payments. Even more, the platform we created also covers inventory and order management. The end-result is clean and highly effective for our client.

So, by investing in custom software, you not only reduce those repetitive, daunting tasks assigned to personnel, but you also boost productivity.

Customized Reports
Reporting is an integral part of the business, but it’s also quite dreaded by employees and even business managers. A well-built, comprehensive report can offer an accurate picture of your development and growth which is why most off-the-shelf software companies boast about this. Still, they can’t get the level of detail and personalization custom software could offer.

Please visit here for more details! [https://symphony-software.com/](https://symphony-software.com) 
!
Talk @ 1729: “Audio classification with Hugging Face transformers”
Tags: pytorch, opensource, deeplearning, tutorial
Published: 2022-07-28 06:32:21

---
title: Talk @ 1729: “Audio classification with Hugging Face transformers”
published: true
date: 2022-07-26 14:54:13 UTC
tags: pytorch,opensource,deeplearning,tutorial
canonical_url: https://julsimon.medium.com/talk-1729-audio-classification-with-hugging-face-transformers-466c0d521016
---

In this video, I show how to use fine-tune a state of the art Conformer model for audio keyword classification, and build a Gradio Space to showcase it. I also quickly test the model with distorted audio to see how resilient it it.

{% youtube iuvDLKql3yk %}

Dataset: [https://huggingface.co/datasets/speech\_commands](https://huggingface.co/datasets/speech_commands)

Base model: [https://huggingface.co/facebook/wav2vec2-conformer-rel-pos-large](https://huggingface.co/facebook/wav2vec2-conformer-rel-pos-large)

Fine-tuned model: [https://huggingface.co/juliensimon/wav2vec2-conformer-rel-pos-large-finetuned-speech-commands](https://huggingface.co/juliensimon/wav2vec2-conformer-rel-pos-large-finetuned-speech-commands)

Space: [https://huggingface.co/spaces/juliensimon/keyword-spotting](https://huggingface.co/spaces/juliensimon/keyword-spotting)

Notebook: [https://gitlab.com/juliensimon/huggingface-demos/-/tree/main/keyword-spotting](https://gitlab.com/juliensimon/huggingface-demos/-/tree/main/keyword-spotting)
Word to Array
Published: 2022-07-26 14:53:00

a simple way to convert a String to an Array is by Spreading it... within the array brackets [ ... ] symbols, which is easier than using the String.prototype.split()

```js
let str = 'Aminu Kano';

array = [ ...str ]; //break the array into letters. 



```

This outputs an array of 10 elements. which becomes 

```js
[ "A", "m", "i", "n", "u", " ", "K", "a", "n", "o" ];

//same result can be achieved using the code below. 

str.split("");

```

but the latter seems much easier and cleaner

hope this helps..
how to use SFML in C++ (Basics)
Tags: programming, gamedev, cpp, unity3d
Published: 2022-07-26 14:50:26

So, the only reason why you would use SFML is because you are searching to challenge yourself, because these days there is Unity or Unreal Engine. Where you can get your games done in a really short period, since game engines like Unity have renderers, physics engine, animation engine, etc. 
So with that being said, let’s get into the tutorial.

## **Creating our first game in SFML!**

NOTE: In this tutorial we do not go by the installation, you can get more info [here](https://www.sfml-dev.org/download.php). 

So, when we create a project in SFML. In order to get a window you will need to come code to start.


![how to use SFML in C++ (Basics)](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/clkhskqvjg1mdzsy7xo4.png)

Above there’s some code that will create a basic window, the window should look like this: 


![SFML in C++](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ogkbpiad0me9oxs0z4oz.png)

So, now. Let’s revise what this code does and how it works!

## **What does the code do**

So, the first 4 lines of code are the necessary code to make hour coding more easy, I mean the first 2 are importing the necessary libraries, SFML is for the graphics and iostream is for coding in C++, basically.

Then in the main function, there is the `sf::RenderWindow window(sf::VideoMode(1000, 1000), "Good Game");` code.
this renders the window with a resolution of 1000 * 1000 and puts a title of Good Game.

Then the rest of the code is for displaying the screen and detecting when the game needs to be closed! also the game will run at 60 fps or more depending on your hardware!

{% embed https://youtu.be/_SFbzVz14A8 %}

So if you like this post or want more content, you can support me using the following links!
website: [theshadowtech](https://theshadowtech.com/)
instagram: [vigo_walker](https://www.instagram.com/vigo_walker/)
youtube: [theshadow 76](https://www.youtube.com/channel/UCQOcFQcVfL4uQIVj7bf-PuQ)

searching for graphics cards? We recommend [these ones](https://amzn.to/3vg9f4D)!
¿Cómo leer todos los archivos de un directorio con Node?
Tags: javascript, node, webdev, spanish
Published: 2022-07-26 14:43:00


Una tarea común en una aplicación en un servidor es obtener un listado de archivos que existen dentro de algún directorio para después realizar alguna tarea con ellos. 



Nodejs ofrece una [API que permite trabajar con archivos ](https://nodejs.org/api/fs.html) incluyendo la posibilidad de leer el contenido de un directorio de forma síncrona y asíncrona (con callbacks o promesas).

```javascript
/* Leer el contenido de un directorio de forma sincrona */

// files es un arreglo con los nombres de los archivos dentro del directorio
import fs from 'node:fs'
const files = fs.readdirSync('./mi-directorio') 



/* Leer el contenido de un directorio de forma asincrona usando callbacks*/
import fs from 'node:fs'
let files = []
fs.readdir('./mi-directorio',(err, result) => {
  if(err) {
    console.error(err)
    throw Error(err)
  }
  files = result
}) 


/* Leer el contenido de un directorio de forma asincrona usando promesas*/
import fs from 'node:fs'

const files = await fs.promises.readdir('./mi-directorio')
```

Pero esto solo retornará la lista de archivos y directorios del "primer nivel", es decir, si tienes un estructura de directorio como:

![undefined](https://cdn.sanity.io/images/cyypawp1/production/b91ee49cf2ad62712750880e2b1dc611fb3b23fb-480x370.png)

El resultado será:

```javascript
[
  'node_modules',
  'public',
  'src',
  '.gitignore',
  'package.json',
  'README.md'
]
```

## ¿Cómo obtener todos los archivos incluyendo los sub-directorios?

Recursión es la respuesta:

```javascript
async function readAllFiles(path, arrayOfFiles = []){
	const files = fs.readdirSync(path)
	files.forEach(file => {
		const stat = fs.statSync(`${path}/${file}`)
		if(stat.isDirectory()){
			readAllFiles(`${path}/${file}`, arrayOfFiles)
		}else{
			arrayOfFiles.push(`${path}/${file}`)
		}
	}
	)
	return arrayOfFiles
}
```

La función de arriba realiza la lectura del contenido de un directorio

```

const file = fs.readdirSync(path)

```

Luego, para cada uno de los elementos del arreglo retornado `files.forEach` revisa si dicho elemento es o no un directorio

```

const stat = fs.statSync(`${path}/${file}`)

if(stat.isDirectory())

```

En caso de ser un directorio, realiza una llamada recursiva, cambiando el primer argumento para que sea el actual directorio.

```

readAllFiles(`${path}/${file}`, arrayOfFiles)

```

En caso contrario, simplemente almacena en el arreglo `arrayOfFiles` el archivo.

Así, el resultado de leer la estructura de directorios anterior el resultado será

```

[  
    ................  
    'public/favicon.ico',

    'public/index.html,

    'public/robots.txt',  
    'src/index.css',

    'src/index.js',  
    '.gitignore',  
    'package.json',  
    'README.md'  
]

```

![Footer Social Card.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1615457338201/5yOtr5SdF.jpeg)
✉️ [Únete a Micro-bytes](https://microbytes.matiashernandez.dev)         🐦 Sígueme en [Twitter](https://twitter.com/matiasfha)           ❤️ [Apoya mi trabajo](https://buymeacoffee.com/matiasfha)
day 3,
Tags: webdev, beginners, programming, css
Published: 2022-07-26 14:38:00

it's been 4 days, since I've started working on my website now. things have been going a lil slow than I expected but there's no compromise on the site's development part. I figured out the JavaScript part somehow, through the tutorials & stuff, but now I had to face the designing part, & I was lowkey waiting for that since I started building this site. CSS is easy, lovely & easy to learn for a beginner like me. I did some research onto CSS's types & the available options I had, & ended up choosing Flexbox.
Now, I know that Tailwind could've been an easier option & it has more demand as well & now that I think about it, I'm not sure why did I preferred Flexbox over Tailwind. But honestly, I don't regret it. I found it quite convenient to work with & I've no complains regarding Flexbox so far. also, I learned about W3Schools, which helped me with color gradients & stuff. now it's a necessity for me. I'll start working out on layouts a lil more now. till then, here's the work done till now.[the image]
*also i changed my theme... vscode looks good now.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2l5s8vlv602gdwtynxpc.png)
Set the Sidekiq log level to the Rails log level
Tags: rails, sidekiq, tips
Published: 2022-07-26 14:36:07

---
title: Set the Sidekiq log level to the Rails log level
published: true
description: Sidekiq's Logger is independent of Rails, but often you want to match Log Level. This is a short tip on how to do that. 
tags: rails, sidekiq, tips
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
---

Sidekiq's default Log Level is `INFO`, and its settings are indepent from Rails.

Sidekiq uses the standard Ruby `Logger` class for logging.

To change the Log Level in the `Logger` class, give a constant value for Severity using the `#level=` method.

Set the Sidekiq Log Level for the `Logger` used by Sidekiq in `config/initializers/sidekiq.rb` as follows:

```ruby
Sidekiq.configure_server do |config|
  config.logger.level = Rails.logger.level
end
```

See also:
- [Logging · mperham/sidekiq Wiki](https://github.com/mperham/sidekiq/wiki/Logging)
- [2.2 Log Levels - Debugging Rails Applications - Rails Guide](https://guides.rubyonrails.org/debugging_rails_applications.html#log-levels)
- [module Logger::Severity - RDoc Documentation](https://docs.ruby-lang.org/en/3.1/Logger/Severity.html)
Upgrade Go version on Linux mint
Tags: go, upgrade, linux, ubuntu
Published: 2022-07-26 14:11:31

I was using Go version 1.13.8 which is latest if you install it using "apt-get install golang-go" command on linux mint or ubuntu.

Now I wanted to use generics and kafka-go package, which is not available for Go version less that 1.18 and 1.15 respectively.

So I decided to upgrade the Go version. But as I surf through the internet, I was not able to find a concrete solution for this.

So after much surfing and trial and error, here is the procedure I followed:
If you have installed the Go using above method, then:
first remove the older version using:

`sudo apt-get remove golang-go`

and

`sudo apt-get remove --auto-remove golang-go`

The above command must have uninstall the older version of Go from your system. Check it using `go version`

Now,If it is present, delete the go folder from usr/local.

After that, get the latest version file of Go for Linux(It was 1.18.4 at the time of writing this blog) using:

`wget https://go.dev/dl/go1.18.4.linux-amd64.tar.gz`

Manually untar it or use tar command as:

`tar -xvf go1.18.4.linux-amd64.tar.gz`

and move it to usr/local, manually using "Files" or using command:

`mv go /usr/local`

Now this has been taken care of, we have to define the GOROOT, GOPATH and PATH variables in profile file. For system wide permanent effect copy following three lines and paste them into /etc/profile file:

```
export GOROOT=/usr/local/go
export GOPATH=$HOME/<path to where your all go projects lies>
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
```

OR, if you want the changes for that particular session, you can run above "export" commands in your terminal.

Now check go version, it should show you the one you installed.

Thanks for reading!
Insert Image In The Google Sheets Using 2 Ways
Tags: google, sheets
Published: 2022-07-26 14:11:03

In this article, I am gonna write about how one can add an image in google sheets using 2 different ways or approaches to insert an image on google sheets

#Using Insert Option
Image can be inserted using the “Insert” option available on the top under the document name after clicking on the insert button click on “Image” and choose from the two options available as per the need then it will ask for the image, now one can upload the image, paste the image link, click using the camera, import it from Photos, or do a google image search.

>Step 1:

![Step 1](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/limfnhh4ru2kkzfvvvov.png)

>Step 2:

![Step 2](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t0tbmj4eh51ilo4evp07.png)

>Step 3:

![Step 3](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2ljkwsp8dkh7gehz7h34.png)

#Using INSERT Function
Using the IMAGE function it will take the URL and put the image inside the cell one wants to, After typing IMAGE as a function it will show a few arguments which one can pass, in which URL is mandatory to use so to use the IMAGE function write =IMAGE(“{Image Link}”) Link should be inside “ ” then one can also use different modes which means


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


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ofoceb85nbjcb4dfj7bb.png)
```
Resize Image To Fit Inside The Cell :  =IMAGE(“URL”,1)
```

```
Image Will Fill The Complete Cell : =IMAGE(“URL”,2)
```

```
Original Size : =IMAGE(“URL”,3)
```
Our crafty nocode extension platform
Tags: nocode, google, chrome
Published: 2022-07-26 14:11:00

If you're reading this blog post you might be wondering - what does PixieBrix truly do?

PixieBrix lets you customize and automate the websites and apps that you use in your browser so they work for you, not the other way around.
Let me show you how you can use this with a concrete example
## Nocode Google Chrome Extension on Linkedin

Have you ever wanted to do two things at once, to increase your productivity? 

With a little work it's possible to augment a website to do more than just showing you some data and images.

If this was 2012 I would tell you "Think in widgets terms..."

With PixieBrix you can customize any website and make them do new things: perhaps you can surface search engine results that mention a company while browsing LinkedIn, Crunchbase, or some other site? 

Maybe you're doing background research on a company **that wants to hire you**, or maybe you're curious about the general 

This can help especially if you are browsing through hundreds of companies, whether for fun, investment research, or any other reason.

## How to get started
With PixieBrix you can build a custom sidebar extension that automates searches and organizes data for you.
In fact, we created a simple Journalist Sidebar that searches for Computerworld articles related to any company you are viewing on LinkedIn. It then lists the search results in the sidebar for easy access.

What to try it out? Simply follow these steps:
- [Install PixieBrix](https://app.pixiebrix.com/login/?ref=devto)
- Activate this extension: [click here](https://www.pixiebrix.com/marketplace/f6aa7a5c-4a52-441f-a027-13df49d0fcb0/journalist-sidebar/?ref=devto)
- Go to any LinkedIn company page and click the PixieBrix icon in your extension list: [click here](https://www.linkedin.com/company/pixiebrix/)

## Watch the video ⚡️
{% embed https://www.loom.com/share/9da5764936d44443a479d9b38f211b85 %}

## Why use PixieBrix
There are many tools that are used in your day-to-day that could do with a little customization. Platforms like Google Drive, Salesforce, Greenhouse, Slack, Zoom, Hubspot, etc. are some of the most used apps by workforces worldwide, but they're disconnected which can lead to inefficiency. Sometimes it takes too much manual work to get simple things done, things that should be automated.

With PixieBrix you can augment any website with any data you have available, create automations, personalize the look and feel of the tools you use so they work for you - and not the other way around. 

The best part is you can do ALL of this, without having to write any JavaScript, or any other programming language. (That being said you need to be slightly technical and understand some basic tech concepts like HTTP request, CSS selectors etc.)

Once you master the PixieBrix kung-fu, however, you will be able to create incredible extensions for any workflow you might encounter while using your favorite websites or web apps.
Associativity and Precedence of Operators in Java
Tags: tutorial, beginners, operations, programming
Published: 2022-07-26 14:08:23

Precedence meaning - the right that somebody/something has to come before somebody/something else because he/she/it is more important. definition comes when you google it.

Precedence in Java means the operators are applied and evaluated based on precedence. for example (+,-) has less procedure compared to (*,!). hence * & / are calculated first.

In case if you want to change this order, you can use parenthesis.

In Java the original common BODMAS Rule doesn't work instead precedence and associativity works. when precedence of is same like * and / then associativity works.

`B – Brackets 
O – Order of powers or roots, 
D – Division 
M – Multiplication 
A – Addition 
S – Subtraction. `

The **BODMAS rule** state that mathematical operations need to be solved from left to right in the order of BODMAS.

`Whenever you start working on solving operators problem, first check the operators who has highest precedence value and then start solving but if you encounter operators which has same precedence value than check the associativity rule then start solving.`


![Source: codeharry](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ap1q803hmw8r5onm8p4o.gif)


**Associativity** tells the direction of the execution of operators. It can either be left to right or vice versa.

        / * -> Left to Right

        + - -> Left to Right

        ++, = -> Right to Left

```
int a = 7*5-34/2;

         /* calculation
         =35-34/2
          =35-17
       output   =18 */
```