teleren/devto huggingface dataset:
The 40th Day of the 100 Days of Code Challenge
Published: 2023-07-21 00:00:49

Hey everyone! 

Finally had some more time to work on my project during this vacation, worked on debugging the concurrency issue and I figured out the underlying cause.

Apparently, I cannot add new items to the stream (RxPy based) while the pipeline is executing, and it takes a loooong time to execute for every buffer because of the transcription taking a long time to generate.

I've explored some options but none of them address this specific use case, and I don't want to buffer and create a separate thread for every buffer to transcribe it. This can lead to unnecessary complexities in my opinion. For now, I'll be exploring the option of creating an audio chunk queue (buffer) for every client, a thread that always adds the queueing chunks once the transcription for the previous buffer is done and that's it. I think that should do the job for now.

Later on, I need to address implementing faster-whisper in this project for performance, and that should be about it for this version of the project that's all about making use of Diart to demonstrate how speaker diarization can be used with Whisper. A lot of the credit goes to Juan, the creator of Diart, who made an article that addresses this specific use case and has saved me tons of time with thinking the transcription logic through. He used concepts that I didn't think about using with my own application and he did it a loooot better.

That's it for today, hoping to finalize this tomorrow!
How to Create a Modal in JavaScript and CSS
Tags: html, css, javascript
Published: 2023-07-21 04:27:01


let's look at that how to create a modal in JavaScript and CSS from scratch. Basically, mostly modal is use to display something inside your website, when users visit to your website.

Once  users are visit the website after 5 seconds or 10 seconds you can add it and get the data such as Name, Email etc from users. 

{% embed https://www.youtube.com/watch?v=r8BfBtB51uw %}

There many top companies or websites they are using modal / popup box to collecting the user records, they are reuse those records to growing the business.

so, we are learning how to use HTML CSS and JavaScript to create a modal or you can say it popup box modal. 

hope this tutorial is helpful and beneficial for you, after watching the complete tutorial, hope you've learned a lot new things from it.
WritingMate.ai - GPT-4 & ChatGPT for Chrome
Tags: productivity, writing, saas, spelling
Published: 2023-07-21 04:23:35

WritingMate-ai is an AI-powered communication and writing assistant that seamessly integrates as a Chrome browser extension, accessible on any website with just one click. Powered by OpenAI's latest model, GPT-4, our tool empowers you to optimize a wide range of communication and writing activities.

Whether you're drafting emails, responding to work messages, or crafting engaging social media posts, WritingMate-ai can help you save at least 30 minutes daily. Unlock your writing potential with WritingMate-ai and experience enhanced productivity while streamlining your writing tasks.

[https://writingmate.ai](https://writingmate.ai)
Ruby Basics - Loops & Iterators
Tags: beginners, ruby
Published: 2023-07-21 04:21:10

Let's jump into loops!


**Incremental Change**

instead of writing

```ruby
score = score + 1
```
use the += notation accomplishes the same task

+=
-=
*=
/=
all work

```ruby
counter += 1
```

**Loops**

_While_ loop - while a certain condition is true, it will continue to loop through your code until the condition is false

```ruby
counter = 1
while counter < 11
  puts counter
  counter = counter + 1
end
```

_Until_ loop - very similar to the _while_ loop it runs your code until a certain condition is met

```ruby
counter = 1
until counter > 10
  puts counter
  # Add code to update 'counter' here!
  counter +=1
end
```

_For_ loop - used when you know an exact number of times you want to run a loop. This is the most commonly used of all the loops

```ruby
for i in 1..20
  puts i
end
```


**Iterators**

_.each_ - will run some code for each item in an array

```ruby
array = [1,2,3,4,5]

array.each do |x|
  x += 10
  print "#{x}"
end
```

_.times_ - good for repeating a piece of code a certain amount of times 

```ruby
5.times {print 'Hello World '}
```

These are just a taste of many iterators available in ruby!


**Mini Project**

A fun small project is to redact a certain word from a group of text

```ruby
puts "Enter some text: "
text = gets.chomp

puts "Enter words to redact: "
redact = gets.chomp

words = text.split(" ")
words.each { |word| 
  if word == redact
    print "REDACTED "
  else
 		print word + " "
  end }

=begin
Output:
Enter some text: 

Patrick didn't want to go. The fact that she was insisting they must go made him want to go even less. He had no desire to make small talk with strangers he would never again see just to be polite. But she insisted that Patrick go, and she would soon find out that this would be the biggest mistake she could make in their relationship.

Enter words to redact: to

Patrick didn't want REDACTED go. The fact that she was insisting they must go made him want REDACTED go even less. He had no desire REDACTED make small talk with strangers he would never again see just REDACTED be polite. But she insisted that Patrick go, and she would soon find out that this would be the biggest mistake she could make in their relationship.
=end 
```
Python for Beginners: Getting Started with Python
Tags: python, programming, beginners, tutorial
Published: 2023-07-21 04:12:26

Welcome to the exciting world of programming! Are you ready to embark on a journey with me and explore the amazing possibilities of Python? Whether you're a complete newbie or have dabbled in coding before, Python is the perfect starting point. 

Together, we'll learn the essential steps to get you started, from installing Python on your computer to writing your very first program. 

By the end, you'll have the confidence to unleash your creativity and dive deeper into the world of programming. 

Welcome to this comprehensive guide where we'll walk you through the fundamental steps to get started with Python. 

Whether you're a complete beginner or have some coding experience, Python's user-friendly syntax and extensive community support make it the perfect language to learn. 

We'll cover everything from installing Python on your computer to writing your very first program and exploring important concepts.

The best part about Python is its gentle learning curve, which means you can quickly grasp programming concepts without getting overwhelmed by complex syntax or confusing procedures. 

Instead, you can concentrate on building a strong foundation in programming logic and problem-solving skills.
Learning to code is a bit like going to the gym.
Published: 2023-07-21 04:06:07

Rule 1: Trick Your Brain with the 20 Minute Rule

Learning to code is similar to regularly hitting the gym. Both tasks require consistency, and finding time for either can be challenging. To overcome this challenge, you can trick your brain using the "20-minute rule."

Understand that humans have an inherent inertia, which can be exploited to our advantage. If you convince yourself to engage in coding practice for just 20 minutes right after you arrive home, you may likely end up coding for an hour or more due to your brain's perception of the task's duration and effort.

Task-switching can be difficult, especially after a long day, which makes it even more important to start coding right away. You're more likely to give in to relaxation activities like watching TV if you sit down first. Thus, the moment you get home, committing to a brief period of coding can maximize your learning time.

Additionally, it's crucial to develop a habit. This typically requires performing the task daily for a month. To track this habit, draw a continuous line on a calendar for each day you successfully code. The psychological urge to maintain the continuity of the line can encourage you to stick to your daily coding practice, thus developing a habit.

Remember, the main goal is to trick your brain into starting the task and using the inertia to keep going, turning what initially felt like a chore into an enjoyable and fruitful exercise.

(Source: The App Brewery, www.appbrewery.com)
Media Wave - MVP
Tags: refinehackathon
Published: 2023-07-20 23:42:32

## What I built 
MediaWave is an innovative text-to-video platform that empowers users to elevate their content creation by transforming plain text into visually captivating videos. It is designed to be a creative and user-friendly tool that enables individuals, businesses, and content creators to bring their words to life through stunning visual storytelling.

### Category Submission: 
- Best Overall Project
- Most Technical Impressive
- Best Project built using Supabase as the main data provider for the refine app.
- Best Project built using Material UI as the main UI framework for the refine app.

### App Link
https://media-wave.netlify.app/

### Screenshots 

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

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

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


### Description 
Are you tired of sharing your ideas and stories through plain text alone? Welcome to MediaWave, where we bring your words to life with the magic of captivating videos! MediaWave is a user-friendly app that allows you to effortlessly convert your written content into stunning videos that will leave your audience spellbound.



### Link to Source Code 
https://github.com/raibove/media-wave

### Permissive License 
MIT

## Background (What made you decide to build this particular app? What inspired you?) 
I worked on creating [showwcast](https://showwcast.vercel.app/user?name=tianrongliew) last month and I got positive feedback from people and I also received suggestion that the platform would have been more useful if I can add option to export video and configure videos for different screen size, it would be a unique and creative idea.

So I created media-wave, a feature rich app where user can not only create text based video, but also add animation, transition and apply other effects.

### How I built it (How did you utilize refine? Did you learn something new along the way? Pick up a new skill?) 
I started working on this app last week, but wasn't able to give time to this project so I created this basic version in last 1-1.5 days.
I realized that how easy it is to manage all the CURD operations when using refine along with supabase.

### Additional Resources/Info
I used remotion to create videos from text. More info is available here: https://www.remotion.dev/
Elevate Ecommerce Customer Experiences with AI
Tags: ai, customersupport, tutorial
Published: 2023-07-21 03:30:00

In the fast-paced world of ecommerce, customer experience (CX) is paramount to the success of online retailers and brands. Introducing DigitalGenius, a transformative platform that harnesses the power of conversational and generative AI to elevate CX and empower pioneering ecommerce businesses.

**Empowering Ecommerce Brands:**
[DigitalGenius](https://www.aiforme.wiki/ai/tools/DigitalGenius) is designed to propel online retailers and ecommerce brands towards the next level of their CX transformation journey. By leveraging advanced AI capabilities, the platform enhances customer interactions, streamlines processes, and delivers exceptional customer service that drives loyalty and revenue.

**Automating Customer Queries:**
With DigitalGenius, repetitive and common customer queries are handled with ease. The AI-powered system automates responses, saving valuable time for both customers and support agents. This automation acts as a virtual salesperson, providing prompt and accurate answers to customer inquiries, thereby increasing agent productivity and enhancing the overall customer experience.

**Driving Efficiency and Resolutions:**
DigitalGenius demonstrates its prowess by handling a substantial volume of customer inquiries. As seen in a compelling case study, the platform enabled a brand to handle 250% more customer inquiries. Moreover, 68% of the messages were resolved without the need for human intervention. This impressive efficiency not only ensures swift resolutions but also frees up valuable human resources to focus on more complex customer issues.

**Elevating Agent Productivity:**
By automating responses and resolving inquiries without human intervention, DigitalGenius dramatically increases agent productivity. Agents can concentrate on more specialized tasks, providing personalized and value-added support to customers. This elevation in productivity enables brands to deliver a superior CX and build lasting customer relationships.

**Conclusion:**
[DigitalGenius](https://www.aiforme.wiki/ai/tools/DigitalGenius) is a transformative force in the realm of ecommerce CX. By harnessing the power of conversational and generative AI, the platform empowers pioneering online retailers and brands to revolutionize their customer experiences. With automated responses to customer queries, increased agent productivity, and efficient resolutions, DigitalGenius serves as a catalyst for CX transformation. Elevate your ecommerce business with DigitalGenius and unlock the full potential of AI-driven customer interactions.
Cá cược eSports tại NET88 - Nhà cái thể thao điện tử uy tín
Published: 2023-07-21 03:29:22

https://esportsnet88.com Cá cược eSports tại NET88✔️ Nhà cái thể thao điện tử Net88 uy tín #1 Việt Nam✔️ Tham gia đặt cược LoL✔️ Pubg✔️ Dota2✔️ CS:Go✔️ Valorant ngay✔️✔️✔️
0973896174
200 Võ Văn Ngân, Phường Bình Thọ, Thành phố Thủ Đức, Thành phố Hồ Chí Minh
https://twitter.com/esportsnet88
https://www.pinterest.com/esportsnet88/
https://www.youtube.com/@esportsnet88/about
https://esportsnet88.tumblr.com/
Slowing Down to Enjoy the Journey - TIL Day 3
Tags: html, beginners
Published: 2023-07-21 03:07:52

I decided to pump the breaks today and went back to review some basics around HTML. 

Here are some of my key learnings from today: 

- The `<!DOCTYPE html` declaration should be the first line within a HTML
- Info related to the web page like the title should be within the `<head>` on the particular page 
- Anchor tags `a` are helpful when trying to link an internal page, external page, and content within the same page 
- `id` can be added to `a` to create sections and be able to jump to each of them. 
- Be mindful of indentation when writing code so it is easier to read code and understand relationships between elements.
Unearthing Logic and Fun: Building a Minesweeper Game with Python
Published: 2023-07-21 02:52:07

**Introduction**
In the realm of classic computer games, few can hold a candle to the iconic status of Minesweeper. This seemingly simple game has been a staple of time-killing and logic-testing for decades. But have you ever wondered what goes into coding a game like Minesweeper? Today, we'll dive into the world of Python programming to find out.

**Minesweeper game**
The Python script that powers our version of Minesweeper isn't as complex as you might think. At its core, it's a series of nested loops and conditional statements that control the game's behavior based on the state of the board and the player's input.

The game starts by generating a grid filled with random mines. Then, for each cell in the grid, the program counts the number of mines in the neighbouring cells. This count is the number that gets revealed when the player clicks on the cell.

If the player clicks on a cell with a mine, the game ends. If they manage to reveal all the cells without mines, they win the game. It's a simple concept, but the logic behind it can be quite intriguing

**GitHub Link**
For those of you interested in checking out the full code, you can find it on my GitHub repository at the following link: [](url)https://github.com/cgoncalves94/Minesweeper

**Conclusion**
Building a game like Minesweeper from scratch can be a rewarding exercise in logical thinking and Python programming. Not only do you get a fun game to play at the end, but you also gain a deeper understanding of how such games work behind the scenes. So why not give it a try? You might be surprised at what you can accomplish with a little bit of Python and a lot of logic!
Meet Your New AI Pair Programmer: AWS CodeWhisperer
Tags: codewhisperer, aws, generativeai, coding
Published: 2023-07-21 02:49:53

As a data scientist who spends days in Jupyter Notebooks, VS Code and other Python environments, I’m always looking for ways to code more efficiently. So when AWS announced their new AI auto-complete service CodeWhisperer, I was immediately intrigued.

**The AI That Whispers Code in Your Ear**

CodeWhisperer uses natural language processing models like GPT-3 to generate code suggestions as you type based on context and comments. It’s like having an AI pair programmer making recommendations as you work!

The service integrates directly into IDEs like VS Code and PyCharm. As soon as I linked my accounts, CodeWhisperer started suggesting Python and SQL snippets tailored to the libraries and data pipelines I was building.

**Smoother Than Autocomplete**

This goes far beyond standard autocomplete. I can describe in plain English what I want to implement, like “normalize columns in pandas dataframe,” and CodeWhisperer will suggest full code. It really understands context and the libraries I’m using.

The code also has thorough comments explaining each part, helping me learn as I go. I’m amazed at the complex snippets it can generate with just a simple prompt.

**Your Personal AI Assistant**

CodeWhisperer keeps getting smarter the more I use it. It adapts to my style based on the code I accept and reject. I also give it feedback by ‘liking’ the most helpful suggestions.

It feels like having my own personalized AI assistant that learns exactly how I code.

**Next-Level Productivity**

I’m already coding much faster with CodeWhisperer’s help. I no longer waste time digging through documents or trial-and-error debugging.

The only downside is I may forget how some libraries work under the hood as CodeWhisperer handles more of the basics! A fair tradeoff I’d say.

**Give Your Coding a Boost**

If you code for a living, I highly recommend giving CodeWhisperer a try. It’s currently in preview mode — you can request access on the AWS console.

For more on optimizing your data science workflow with AI check out my video:

Data science productivity with AWS [YouTube](https://img.youtube.com/vi/bM1DY3Yr6tg/maxresdefault.jpg)

[YouTube](https://www.youtube.com/watch?v=bM1DY3Yr6tg)
Server in Axum
Tags: webdev, rust, axum
Published: 2023-07-21 02:37:24

I spent some time over the last 3 days working on a server for a web application I dreamed up some time ago.

I am primarily using the Axum and SQLx crates to implement this project, but I am also relying on the reqwest and serde crates to populate the database and serialize/deserialize JSON respectively.

All of these crates work remarkably well out of the box and all of the issues I ran into were syntactic in nature.

I have written several GET, POST and DELETE routes which will be helpful when I build out the frontend with async methods. (I had started on the frontend some weeks ago. It is written in Yew which is a React-like crate for Rust, and it currently just displays some custom structs in the browser -- with no CSS involved.)

The next step on the backend is to implement User Authorization and a way to issue user tokens. 

Any tips on anything I have covered or on the development lifecycle in general would be much appreciated.

Andrew
Learn WebGL and Three.js with me
Tags: webgl, threejs, animations
Published: 2023-07-21 02:29:25

---
title: Learn WebGL and Three.js with me
published: true
description: A journey to awwwards 
tags: webgl, threejs, animations
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
series: Journey to Awwwards
---
Who don't love those amazing [Awwwards](https://www.awwwards.com/) nominated websites? I am sure we all do. I have always been captivated by the creativity of these websites. And as a Frontend Developer, I have always wanted to created similar websites. So, I have decided to go on a learning journey to build such amazing websites. I have previous experience of building interactive websites([Link](https://www.bhoos.com/)) using GSAP and I want to take it to the next level. So, Join me on this exciting learning journey. Together, We will explore CSS animations, GSAP, WebGL, Three.js and other animation tools. 

Feel free to share your experience, learning resources or any suggestions. 

Let's get started.
Software security terms to know
Published: 2023-07-21 01:51:25

**3 elements of software development security**

1. Confidentiality: 
Characteristics that block information disclosure and exposure due to unauthorized individual or system access

2. Integrity: 
Characteristics that ensure that data cannot be altered without following legitimate methods, that data is accurate and complete, and that it is not intentionally/maliciously altered or damaged.

3. Availability: 
Characteristics that ensure that the desired service is continuously available to authorized users or applications.


**DoS(Denial of Service)**
One attacker computer, direct attackAn attack that maliciously attacks a system, causing it to run out of resources and become unavailable.

- SYN Flooding
 An attack that occupies the number of simultaneously available users of a server by sending only SYN packets, preventing other users from using the server.
- UDP Flooding
 An attack that continuously depletes resources by creating a large number of UDP packets and sending them to a random port number.
- Smurf/Smurfing
 Paralyzing ICMP echo packets by directly broadcasting them across the network with the originating address set to the target's IP.
- Ping of Death (PoD)
Sending ICMP packets (pings) much larger than their normal size.
Rand Attack
 Sends a packet with the same origin and destination IP address, causing the recipient to send a response to itself.
- Tear Drop 
 An attack that causes the receiving system to experience problems due to incorrect fragment offset information during the recombination of IP packets.
- Bonk/Boink 
 An attack technique that causes the system to be overloaded with retransmitting and reassembling packets.