teleren/devto huggingface dataset:
Music Monday — What are you listening to? (Jazz Edition)
Tags: watercooler, discuss, music
Published: 2023-05-15 14:16:01

_cover image source: [Verve Label Group](https://giphy.com/gifs/vervelabelgroup-impulse-verve-records-djQrllEwrkG1SL0ISN)_

**This week, we're diving into Jazz. With its complex chords, polyrhythms, and heavy improvisation, it can be a challenging genre of music. Whether you're into the _old_ old stuff: Big Band, Ragtime, Dixieland, etc. OR you're into the old stuff: Swing, Bebop, Gypsy Jazz OR maybe you prefer the blend of Jazz Funk, Jazz Blues, Jazz Rap, Jazz Fusion, etc. ... whatever angle of Jazz you're into, let us know here.**


![Louis Armstrong blowing the trumpet on The Ed Sullivan Show](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/78y44q1ull19x8uilqq9.gif)

***

## How we do 

In this weekly series, folks can chime in and drop links to whatever it is they've been listening to recently + browse others suggestions.

If you'd like, [you can view previous entries in the series here](https://dev.to/michaeltharrington/series/17887). And for those who have been following along with this series, you may notice that I'm now posting it under the DEV Team org... it's the same old series, but I've just decided to house it here going forward. 😀

***

We got the jazz, we got the jazz... _Note: you can embed a link to your song using the following syntax `{% embed https://... %}`. This should work for most common platforms!_

Looking forward to listening to y'all's suggestions! 🎶
How to generate a SSH RSA key
Tags: howto, tutorial
Published: 2023-05-15 14:16:00

To generate a SSH RSA key, you must use **a Terminal on Linux** or **WSL or the git terminal on Windows**.

Once you have it ready, you can execute the following command :
```bash
ssh-keygen -t rsassh-keygen -t rsa
```

Directly you will need to answer to some questions.

The first one is to know **where you want to store your key?** *(It includes the file path and the file name)*
```
Enter file in which to save the key (/home/dummy/.ssh/id_rsa):
```

Next, it will ask you to enter a **passphrase** to eventually add a layer of security to use this key
```
Enter passphrase (empty for no passphrase):
```
then the confirmation of the passphrase
```
Enter same passphrase again:
```

> **For security reasons, it's highly recommanded to set a passphrase!** But for multiple reasons you may need to don't set a passphrase. Just ask you if you really need to avoid it, just to be sure.

Then something similar than the following should be printed
```
Your public key has been saved in /home/dummy/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:IP109CmXCOaMvnu2UXbnoJuiVFmh3u6aN7DLalg4uJQ dummy@dummy
The key's randomart image is:
+---[RSA 3072]----+
|        o o      |
|     . = + + o   |
|    . + = = =    |
|     o = = o     |
|   o .. S + o .  |
|  E o .o.+ o +   |
| . . +o .oo   .  |
|  . ...o=+oo     |
|     .+=**+.     |
+----[SHA256]-----+
```

Once done, congrats you have your SSH RSA keys! You can find know **2 files**:
- `id_rsa.pub` *(as I named id_rsa my key)* **the public key**
- `id_rsa`  **the private key**

> **Be sure to store your private key in a safe place!**

---

I hope it will help you! 🍺

---

<center><h3>You want to support me?</h3></center>
<a href="https://www.buymeacoffee.com/mxguilbert7" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a>
Helpful Resources for New Developers to the Ergo Ecosystem
Tags: webdev, programming, tutorial, beginners
Published: 2023-05-15 14:14:40

If you are a developer new to the Ergo ecosystem, these links may be useful:

1. Ergo Documentation: https://docs.ergoplatform.com/dev/start/

2. Ergo Appkit: https://github.com/ergoplatform/ergo-appkit
 
3. Fleet: https://fleet-sdk.github.io/docs/
    
4. DeCo Education (video): https://www.youtube.com/@decoeducation9394
  
5. DeCo Education (docs): https://deco-education.github.io/deco-docs/docs/intro/
   
6. Ergohack: https://ergohack.io/
5 tips for writing efficient PHP code 💡💹
Tags: php, cleancode, oop, programming
Published: 2023-05-15 14:12:54

**5 tips for writing efficient PHP code 💡💹**

• Use Proper Variable Scope
• Minimize Database Queries
• Optimize Loops
• Use Built-in Functions
• Use Opcode Caching

_For more information :_
https://www.linkedin.com/feed/update/urn:li:activity:7062033419655888896/

By following these tips, you can improve the efficiency and performance of your PHP code, resulting in faster and more responsive applications.
What are your Goals for the week of May 15?
Tags: discuss, motivation, productivity
Published: 2023-05-15 14:10:00

## What are your goals for this week?
 


- What are you building? 
- What will be a good result by week's end?
- Are you attending any events this week?
- Did you meet your goals last week?


I'll start with how I did last week.

### Last Week's Goals

- [:white_check_mark:] Continue Job Search.
  * [:white_check_mark:] reschedule a Coffee chat with a recruiter.
- [:white_check_mark:] Blog
- [:white_check_mark:] Process some photos add them to a site.
- Events
  * [:white_check_mark:] Attend Virtual Coffee Thursday. 
  * [:white_check_mark:] Other VC events if I can.
  * [:white_check_mark:] Attend Dallas Software Developers Meetup (virtual)
- [:white_check_mark:] Solve why an old site hosting wouldn't update. Deprecated code on a wordpress plug in. 

### This Week's Goals

- Continue Job Search.
- Blog
- Code Challenges
- Process more photos add them to a site.
- Events
  * Attend Virtual Coffee Thursday. 
  * Other VC events if I can.

### Your Goals for the week


You've read my goals so I'll throw that question back to you.

What are your goals for the week?

```html
-$JarvisScript git push
```
A slick animation from Better Call Saul
Tags: webdev, animation, javascript
Published: 2023-05-15 14:07:28


This time, I will recreate the title sequence from [Better Call Saul](https://en.wikipedia.org/wiki/Better_Call_Saul) as a web animation.

[Better Call Saul](https://en.wikipedia.org/wiki/Better_Call_Saul) is an American crime drama television series. It is a spin-off, prequel, and a sequel to [Breaking Bad](https://en.wikipedia.org/wiki/Breaking_Bad). Set primarily in the early to middle part of the 2000s in Albuquerque, New Mexico, the series follows Jimmy McGill (Bob Odenkirk), an earnest lawyer and former con artist, as he becomes an egocentric criminal defense attorney known as Saul Goodman.

I will not be giving an in-depth walk-through like previous posts in this series. I will leave it up to you to explore the code yourself.

## The title sequence

The title sequence is made to look like a poorly produced, cheesy commercial. It appears like the playback of VHS video cassette that has some tracking issues. There are noisy artifacts and some shuddering of the title.

At the beginning, the scene is blurry and comes into focus. You see a close-up of an inflatable lady liberity statue girating slowly. The title is overlayed for a few seconds. Then there is a quick flash of a colour card, and then a diamond wipe transition to introduce the credits for the creators of the show. The names in the credits blink on and off like an arcade game's credits a few times.

Each season has a different title sequence. Here is a video clip of the title sequence from season 1 that I will reproduce:

<video src="https://www.roboleary.net/assets/img/blog/2023-05-15-a-slick-animation-better-call-saul-title-sequence/better-call-saul-title.webm" controls>
</video>

## The web animation

I used the [Greensock (GSAP)](https://greensock.com/) library for the animation.

{% codepen https://codepen.io/robjoeol/pen/rNWRoBO %}

Give it ❤️❤️❤️ on Codepen if you like it! 😊

Source code: <https://github.com/robole/title-sequences>.

## Design notes

Three typefaces are used for the title of the TV series:
1. The text “Better Call” uses [*Script1 Script Casual*](https://fontmeme.com/fonts/script1-script-casual-font/) in italics.
1. The text “Saul” uses a cursive font that is very similar to [*Dancing Script*](https://fonts.google.com/specimen/Dancing+Script?preview.text_type=custom).
1. The credits use [VCR OSD Mono](https://www.dafont.com/vcr-osd-mono.font).
Developers' Challenges and Advice: Let's Discuss!
Tags: discuss, developer, career, coding
Published: 2023-05-15 14:02:25

Hey fellow developers!

As a vibrant and supportive community of developers, we understand that we all face unique challenges and come across valuable insights throughout our coding journeys. That's why I wanted to create this discussion post where we can openly share our experiences, seek advice, and learn from one another.

So, here are a few prompts to kickstart the conversation:

- What are some of the biggest challenges you have faced as a developer? It could be related to learning new technologies, managing complex projects, or overcoming specific hurdles. How did you tackle these challenges, and what lessons did you learn along the way?

- Have you encountered any roadblocks in collaborating with teams or working on open-source projects? How did you navigate those challenges and foster effective teamwork or community engagement?

- When it comes to staying up-to-date with the ever-evolving tech landscape, what strategies or resources have you found most helpful? How do you balance learning new technologies while also meeting project deadlines?

- What advice do you have for developers who are just starting their coding journey? Are there any specific resources, learning paths, or mindsets you recommend for beginners to accelerate their growth?

- How do you manage and maintain work-life balance as a developer? What strategies or practices have helped you avoid burnout and maintain your productivity and motivation?

Feel free to share your thoughts, experiences, and any other challenges or advice that you believe would benefit the community. Remember, we're all here to learn from each other and support one another on our coding adventures.

Looking forward to hearing your insights and engaging in a meaningful discussion!
Angular 14+ reload time is more compare to Angular 5
Tags: angular, webpack
Published: 2023-05-15 13:59:44

I am new in webpack5. Recently i upgraded my project that was running in angular v5+ to angular v13+, seems like all working fine. But one observation i found - while loading application it's loading additional chunk file(src_main_webapp_bootstrap_ts).Seems like this file taking approx 2.31s this file was not in oldest version. Hence website loading time is more every time on load/reload.

![src_main_webapp_bootstrap_ts](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/06x697rp7ybing3rj094.png)

![Angular v5 vs Angular v14](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uq2n0a9kuvx0ykz2ptmu.png)
Please someone suggest me ...
Limiting Docker Memory Usage on Windows
Tags: docker, windows, wsl, memory
Published: 2023-05-15 13:59:01

As a **WordPress developer**, I used **XAMPP** for a long time, but for lots of reasons, some of which you can see in this other article: [Why I changed from XAMPP to Docker](https://dev.to/sarahcssiqueira/10-reasons-i-moved-from-xampp-to-docker-1j6l),  I decided to move to a **Docker environment**.

Turns out, the besides the learning curve to handle with Docker, and all other stuff, **other problem came up**. My poor Windows machine has become sluggish as it struggles to run other processes like Firefox and VS Code. It was basically impossible to work.

I opened up Task Manager while WSL 2 was running and noticed that the process named **vmmem** was absorbing a sizable chunk of my memory and slowing down my machine, turning impossible any other task.

## What's it vmmem?

**vmmem** is a process that represents all the resources consumed by your Linux VM while WSL is running. According to [Microsoft’s documentation](https://learn.microsoft.com/en-us/windows/wsl/wsl-config), the amount of RAM that gets allocated to WSL depends on your Windows build number. On machines running build 20175 or higher, RAM is limited to either 50% of your total memory or 8GB, whichever happens to be smaller. On builds older than 20175, **WSL could consume up to 80% of your host RAM**. 

While working on this article, I’m running a **Windows 10 build 19044**, so my WSL reserves 80% of my host RAM (8 GB). Fortunately, **we can customize WSL 2** to limit the number of CPU cores, memory usage, swap space, and more. A big thanks to all the ones who [replied in this GitHub issue](https://github.com/microsoft/WSL/issues/4166) pointing out how this can be done. 

## Workaround

To solve this, I follow the steps according to the [Microsoft documentation](https://learn.microsoft.com/en-us/windows/wsl/wsl-config).


### Create a .wslconfig file

You need to create a **.wslconfi**g file under your Windows user profile directory (C:\Users\YourUsername\.wslconfig). On launch, WSL will read this file if it exists and configure itself accordingly. In this file, **you can tell WSL 2 how much RAM, swap space, CPU cores, and other resources it should allocate**.

I focused only on limiting memory usage, but you can configure any other options that you want, refer to the [Microsoft docs](https://learn.microsoft.com/en-us/windows/wsl/wsl-config) for more options. The .wslconfig  I am currently using is below (I don’t have a lot of RAM to work with):


```
[wsl2]
memory=2GB
```


With just two lines, now I am able to run Docker on a machine with just 8 GB RAM. After restarting and launching `docker-compose up` again, my environment works perfectly without slowing down my machine. 


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

Checking the Task Manager, **vmmem does not consume more than 2 GB anymore**. This is this my [Docker environment](https://github.com/sarahcssiqueira/docker-wordpress) which I use on daily basis working with WordPress and works perfectly with 2 GB RAM.
The best solution for a Feature Flagging server that is written in C#
Tags: opensource, featureflag, csharp, aspdotnet
Published: 2023-05-15 13:42:00

Note: This article was originally posted on https://www.featbit.co/blogs/seo-keywords-best-feature-flagging-server-csharp

In the realm of software development, finding the right tools can sometimes feel like navigating through a labyrinth. One of our customers recently shared their journey of discovering FeatBit, illuminating how precise their search parameters were: they sought a feature flagging solution written in C#, open-sourced under the MIT License, and with active development. Their quest led them to us, and we couldn't be more thrilled to be part of their software development toolkit.

## Discovering FeatBit
FeatBit, found at https://www.featbit.co, is a dedicated Feature Flagging server, meticulously crafted to cater to the needs of modern-day software developers. Our tool fits snugly into the .NET ecosystem, being primarily written in C#, one of the most widely used languages in enterprise applications today.

## What Makes FeatBit Stand Out?
Our solution is not just another tool in the market. We’ve designed FeatBit to be intuitive, robust, and scalable, addressing the pain points developers often encounter in managing feature flags.

Open-source under the MIT License, FeatBit encourages community-driven enhancements. We strongly believe in the power of collective wisdom and have made our software available for tinkering, modification, and improvement by developers worldwide. We are not just a tool created for developers; we are shaped by developers.

## Our Commitment to Active Development
We understand that the tech world is continuously evolving, and staying static is not an option. Our active development commitment ensures that we're always ready to adapt to new challenges, integrate feedback, and implement necessary changes. We're not just providing a solution; we're continuously refining it.

## A Part of Your Software Development Toolkit
Feature flagging is a powerful strategy for software development and release. It empowers developers to safely deploy, perform A/B testing, gradually roll out features, and improve overall software quality. FeatBit is built with these objectives at its core, providing developers the control they need while maintaining simplicity of use.

The journey of our customer in discovering FeatBit sheds light on the nuanced requirements of today's developers. We are thrilled to have been the solution they were searching for, and we are excited to see more developers find their way to us.

## Start Your FeatBit Journey Today
Intrigued about FeatBit? Discover more at https://www.featbit.co and see how we can be a part of your software development process.

Ready to dive in? Click the Try it Online button or the Check GitHub button on the left side of the page to start your journey with FeatBit today. There's no better time to join the FeatBit community and start revolutionizing your feature flag management!
#Windows – Show your camera 🎦 in full screen mode in Windows (thanks VLC!)
Tags: englishpost, camera, tip
Published: 2023-05-16 15:35:13

---
title: #Windows – Show your camera 🎦 in full screen mode in Windows (thanks VLC!)
published: true
date: 2023-05-15 13:40:43 UTC
tags: EnglishPost,Camera,EnglishPost,Tip
canonical_url: 
---

Hi!

I will write this post, only to save me some time for the next time that I need to do this.

The goal is simple: show a camera feed in Windows 11 (or W10, or older) in full screen mode.

I’m sure there are other ways to do this, however, this is the one I’m using, and I’m super happy with this.

### Open a Local Camera / Capture Device

1st let’s download and install VLC ([link](https://www.videolan.org/vlc/)).

In VLC menu, select _Media // Open Capture Device_.

![in VLC menu, select Media // Open Capture Device](https://brunocapuano.files.wordpress.com/2023/05/image-1.png?w=621)

Select the camera from the video device name options.

![Select the camera from the video device name options.](https://brunocapuano.files.wordpress.com/2023/05/image-2.png?w=545)

I’m guessing that your camera will be in 16:9 format, we need to do an extra step to make it work. Select **_Advanced Options a_** nd change the format from 4:3 to 16:9.

![select Advanced Options, and change the format from 4:3 to 16:9](https://brunocapuano.files.wordpress.com/2023/05/image-3.png?w=618)

And that’s it! Now we have a camera feed in VLC.

Finally, double click and we have the camera in full screen mode!

### Accessing Network Cameras

Bonus: We can also use VLC to connect and show the feed of a remote camera via UDP, HTTP, RTSP, and more!

To do this, we need to access the camera using the **Network option**.

![Open a network camera using the Network option.](https://brunocapuano.files.wordpress.com/2023/05/image-4.png?w=792)

Simple tip, and useful for different scenarios!

Happy coding!

Greetings

El Bruno

More posts in my blog [ElBruno.com](https://www.elbruno.com).

More info in [https://beacons.ai/elbruno](https://beacons.ai/elbruno)

* * *
Why Choose a Vue.js Development Company for Your Next Web Project?
Tags: vue, webdev, vuejsdevelopmentcompany
Published: 2023-05-15 13:21:36

Vue.js is a powerful JavaScript framework that can be used to build high-quality, user-friendly web applications. If you're considering using Vue.js for your next web project, I highly recommend working with a Vue.js development company. A reputable [Vue.js development company](https://www.webcluesinfotech.com/vuejs-development-company) can help you get the most out of Vue.js and build an application that meets your specific needs.

Here are some of the benefits of working with a Vue.js development company:
Expertise: A Vue.js development company has the expertise and experience to build high-quality Vue.js applications.
Scalability: Vue.js is a scalable framework that can be used to build small, simple applications as well as large, complex applications.
Support: A Vue.js development company can provide you with ongoing support for your Vue.js application.
Cost-effectiveness: Hiring a Vue.js development company can be more cost-effective than hiring in-house developers.

If you're serious about building a high-quality Vue.js application, I highly recommend working with a Vue.js development company.
Etkileşimsiz PGDUMP İçin Parola Kullanımı
Tags: postgressql, pgdump
Published: 2023-05-15 13:16:01

pg_dump komutuna parolayı etkileşimsiz olarak iletmek için aşağıdaki yöntemleri kullanabilirsiniz:

##.pgpass Dosyası:

**1.** Terminali açılın ve aşağıdaki komutu kullanarak .pgpass dosyasını oluşturun:

```bash
touch ~/.pgpass
```
**2.** Ardından .pgpass dosyasını bir metin düzenleyiciyle açın ve düzenleyin. Örneğin, Nano metin düzenleyicisini kullanarak aşağıdaki komutu kullanabilirsiniz:

```bash
nano ~/.pgpass
```

**3.** Dosyanın içine aşağıdaki satırı ekleyin:

> hostname:port:database:username:password

Örneğin, eğer PostgreSQL sunucusu localhost'ta çalışıyorsa ve kullanıcı adınız "myuser" ise dosya içeriği aşağıdaki gibi olabilir:

> localhost:5432:mydatabase:myuser:mypassword

**4.** Dosyayı kaydedin ve dosyayı sadece sizin okuyabileceğiniz şekilde izinlerini ayarlamak için aşağıdaki komutu kullanın:

```bash
chmod 600 ~/.pgpass
```
Bu komut, .pgpass dosyasının sadece sahibi tarafından okunabileceğini ve değiştirilebileceğini belirtir.

 
##PGPASSWORD Ortam Değişkeni:
**5.** Artık .pgpass dosyası oluşturuldu ve parola etkileşimi olmadan pg_dump komutunu kullanabilirsiniz. Örneğin, aşağıdaki komutu kullanarak pg_dump ile yedekleme yapabilirsiniz:

```bash
pg_dump -h hostname -p port -U username -d database > backup.sql
```
Örneğe uyarlayacak olursak şu şekilde gözükecektir:

```bash
pg_dump -h localhost -p 5432 -U mydatabase -d myuser > backup.sql
```
Bu komutta, '-h' parametresiyle localhost'u, '-p' parametresiyle 5432 bağlantı noktasını, '-U' parametresiyle kullanıcı adını ve '-d' parametresiyle veritabanını belirttik. 'backup.sql' ise yedekleme dosyasının adıdır.

- .pgpass dosyası oluşturarak ve doğru izinleri ayarlayarak PostgreSQL pg_dump komutunu etkileşimsiz bir şekilde kullanabilirsiniz. 

- Bu dosyada parolanızı saklayarak, her seferinde parolayı elle girmek zorunda kalmazsınız. Ancak, .pgpass dosyasının güvenliğine dikkat etmek ve sadece sahibinin okuyabileceği şekilde izinlerini ayarlamak önemlidir. 

- Bu yöntem, otomatik yedekleme veya senaryolarında parolanın sürekli girilmesini gerektirmeyen durumlarda oldukça kullanışlıdır.