teleren/devto huggingface dataset:
Agile Board: A Trello-like API in NestJS with Unit and e2e Testing
Tags: nestjs, testing, javascript, postgres
Published: 2023-09-06 19:53:04

🚀 Agile Board: Simplify Project Management with Ease!

Introducing Agile Board, a Trello-like API powered by Node.js and NestJS. 🌟

Streamline your project management, enhance team collaboration, and effortlessly track tasks with our user-friendly API. Here's what you can do:

🔹 Create Custom Workspaces and Boards: Tailor your workspaces and boards to match your project needs. Flexibility at its finest.

🔹 Effortless Task Management: Add, update, and track tasks across multiple boards and workspaces.

🔹 Seamless Collaboration: Collaborate seamlessly with team members by adding comments to tasks. Keep everyone in the loop.

🔹 Robust Security: Implemented password hashing and precise permission control at the backend to ensure your information remains safe.

Your insights and suggestions are welcomed!

🧬 Postgres and TypeOrm: For streamlined database interactions.

🧬 Testing: Unit and end-to-end testing for one of the modules showcases the power of testing.

🧬 Global Database Setup and Teardown: Effortlessly manage your database for E2E testing—customizable to your exact needs.

🧬 Dynamic Config Module: Seamlessly switch between configurations for normal operations and testing.

Explore Agile Board now on GitHub, and don't hesitate to share your valuable feedback.
Note: Documentation preview is available, but you'll need to set it up using the provided .env.example for usage.

You can view the API documentation here
{% embed https://idrsdev.github.io/agile-board/ %}

{% embed https://github.com/idrsdev/agile-board %}
"Diversity Dialogues in Tech": CodeNewbie Podcast S25E4
Tags: codenewbie, podcast, career, discuss
Published: 2023-09-06 19:43:22

It's podcast day y'all. Today @saronyitbarek talks about the value of mentorship, inclusivity, and making an impact with [Ale Thomas](https://twitter.com/pikacodes), Developer Advocate and Web Developer at Kubeshop | Mixed Change.

{% embed https://www.codenewbie.org/podcast/diversity-dialogues-in-tech %}

Ale is an Industrial Engineer turned Software Developer from Mexico. Now based in NY, she's passionate about Open Source Software, developing for non-profits, and helping out in the tech community.

- [Listen on Apple Podcasts](https://podcasts.apple.com/us/podcast/codenewbie/id919219256?i=1000626928565)

- [Listen on Spotify](https://open.spotify.com/episode/0BLsyHK0714U5hgqOIUO9s?si=928f68e4817f4529)

Or, listen wherever you normally get your podcasts!

***

### We will see you next week, happy coding y'all. 

PS: Make sure to subscribe to the CodeNewbie podcast if you haven't yet + review us on your chosen platform!
ARE WEB 3 PROJECT COST EFFECTIVE?
Tags: smartcontract, web3, blockchain, javascript
Published: 2023-09-06 19:37:43

Building Web3 projects has been considered to be costly due to the high fees attached. 

Gas fees, transaction fees and any other fees which come up when building or implementing smart contracts. 

One question that bothers me deeply, are Web3 project worth the the hype? 

Share your thoughts with me.
Join us at the Token 2049 XRPL Zone: Shaping the Future of Finance with XRP Ledger
Tags: token2049, xrp, blockchain, cryptocurrency
Published: 2023-09-06 19:30:53

As developers gear up for this year’s Token 2049 event in Singapore, we’re [inviting you to the XRPL Zone](https://lu.ma/hw07wjv4) on **September 12th, 2023**, at the **Bridge+ 79RR**. Join us and become part of a journey that explores how the XRP Ledger is poised to reshape the future of finance. 

The XRPL Zone brings together architects of change from across the globe. Regardless of your role, whether you’re a developer, an entrepreneur, an investor, or new to the Web3 ecosystem, the XRPL Zone promises a stage for growth, interaction, and groundbreaking insights. 

###Unlocking the XRPL’s Superpower: Shaping the Future of Finance###
**Industry Thought Leaders:** Hear from blockchain and web3 industry leaders as they share their perspectives on the XRP Ledger’s pivotal role in the future of finance. 

**Exploring EVM Sidechain:** Enjoy presentations, unraveling the potential of the upcoming EVM Sidechain and its game-changing impact on the XRP Ledger. 

**Realizing DeFi Solutions:** Check out the very latest DeFi solutions built on the XRP Ledger, showcasing a capacity to transform the world of finance. 

built on XRP Ledger that demonstrate its capacity to transform the world of Finance

**Empowering Workshops:** Equip yourself with the tools and knowledge to unlock the full potential of the XRP Ledger for your projects through hands-on workshops.

**Building Bridges:** Build connections with fellow ‘architects of change’ who share your ambition for innovation and your vision for reshaping the financial landscape. 

###Agenda Highlights###
The XRPL Zone’s agenda reads like a roadmap for the future, guiding you through sessions designed to enrich your understanding. From conversations with industry leaders to illuminating presentations about the EVM Sidechain and interoperability techniques, each segment promises insights that provoke thought and inspire action. Witness demonstrations like the XRPL Torus Wallet, and gain an in-depth understanding of what it takes to fundraise for early stage startups. 

###Save the Date###
The XRPL Zone offers an opportunity for the community to come together, and a chance to explore the latest exciting developments on the XRP Ledger. So, mark your calendars for **September 12th, 2023**, and make your way to **Bridge+ 79RR** in Singapore. Together, let’s harness the XRP Ledger’s superpower and collectively redefine the future of finance. 

For more details and updates follow us on [Twitter](https://twitter.com/RippleXDev) and Linkedin. The journey to transform finance awaits, join us along the way at the XRPL Zone!
Empowering Education Through Technology: Vyta Sponsors 10 Laptops for CoderDojo Craigavon
Tags: coderdojo, stem
Published: 2023-09-06 19:26:31

In a world driven by technology, access to digital resources is a gateway to boundless opportunities. Recognising the importance of fostering digital literacy and education in our community, CoderDojo Craigavon is excited to announce it has received sponsorship of 10 laptops from IT Asset Disposition company, Vyta, to support CoderDojo Craigavon — a vibrant initiative that empowers young minds to learn coding and computational thinking.

From their headquarters in Mallusk, [Vyta](https://vyta.com/) offers a fully comprehensive IT lifecycle solution across the UK & Ireland, covering a wide array of needs including the collection of redundant IT equipment, secure data wiping, WEEE recycling and refurbishing of IT equipment for reuse. Their approach isn't just about maximising value return; it's about minimising the carbon footprint associated with keeping hardware in the circular economy for as long as possible and ensuring that data security and compliance requirements are met with meticulous attention to detail.

Vyta shares CoderDojo Craigavon’s vision of harnessing technology for good by creating a nurturing space where young enthusiasts can explore the world of coding and computer science. By providing young people with the tools they need to excel in an increasingly digital world, CoderDojo Craigavon is paving the way for future innovators, programmers, and problem solvers.

“Through our sponsorship of 10 laptops, we hope to help CoderDojo Craigavon expand its reach and impact, benefiting more young minds”, stated Rachael Weir of Vyta.
_
These laptops will serve as invaluable resources for young learners, enabling them to access online tutorials, coding platforms, and educational resources. Each laptop represents a stepping stone towards unlocking creativity, inspiring a generation of tech-savvy individuals who are equipped for their futures.

At CoderDojo Craigavon, we invite you to join us in supporting initiatives that harness the power of technology for education. Together, we can build a brighter, more inclusive future where every young mind has the chance to explore, learn, and create with confidence.
Evolution of C# (videos)
Tags: csharp, programming, dotnet, evolution
Published: 2023-09-06 19:11:46

### #1 Intro
{% youtube https://youtu.be/yuoSDwtdC90?si=xrZ1QBnLtzZ_IRXl %}

### #2 Types
{% youtube https://youtu.be/A6-c0vYkgLM?si=CJrDaImcn-Je0hpg %}

### #3 Instances
{% youtube https://youtu.be/kVpFGCY0UNs?si=ecMkAMVzPHyn1XeM %}

### #4 Strings
{% youtube https://youtu.be/CIFSDqqQUoU?si=eTBD2v2-fnAs1gUy %}

### #5 Propeties
{% youtube https://youtu.be/dpRWQ_qm3uk?si=NzX5KeToY6F8PRl2 %}

### #5 Methods
{% youtube https://youtu.be/G_wsUCZ6UiE?si=M1EJze2dTOQXvimg %}

### #6 LINQ and ranges
{% youtube https://youtu.be/vcRcnnOi1QI?si=swjle3UmjBk34pBU %}

### #8 Pattern matching
{% youtube https://youtu.be/I4gNM5ZxyfQ?si=LUEGOJLQNFLzYR92 %}

### #9 Nullability
{% youtube https://youtu.be/yBArEZ7Zw6c?si=sL_HtMNY9EGtdwCI %}

### #10 More
{% youtube https://youtu.be/5uenMmnGO0s?si=XP7lwpm4Hz-p2qLe %}
// WPimagines, A Free AI image generator(yup, another one)
Tags: ai, promptengineering, javascript, node
Published: 2023-09-06 19:11:14

I just launched my ai image generator last week. It is a text to image generator that can view & download images. I'm currently working on a paid version that will let you edit downloaded images, gives you tutorials on prompting & let's you export images to various sizes.

You can check it out [here](https://www.wpimagines.com).
Operator Precedence
Tags: javascript, webdev, coding, programming
Published: 2023-09-06 18:48:15

Hello everyone, I hope you're doing well.

Starting from now, I'm going to dive into some JavaScript do some review after finally completing my associate degree as a Web Full Stack Developer.
I thought it might be a good idea to fill in the gaps that I may have missed during these past two years, where I covered almost everything from HTML, CSS, and JavaScript to Docker and Microservices.

And because I'm now a huge fan of JavaScript, my plan is to dive deep into its intricacies, so let's jump in:
Operator precedence for those who aren't familiar, essentially determines how operators are parsed in relation to each other.
An example of this is when you have an arithmetic operation like **3 + 4 * 5**.
The higher the precedence, the earlier the operation is performed with respect to operators with lower precedence.

In the example above, the operation begins with multiplication because it has a precedence of 12 (from left to right), followed by addition with a precedence of 11 (from left to right), which is lower. This is why in mathematics, multiplication and division typically take precedence over addition and subtraction. It's also worth noting that grouping or parentheses have a higher precedence, around 18, so they can change the order of operations.


Now, let's shift our focus to the code below:
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0v1kuv817tun1me77y6e.png)

Again, the "+" and "-" operators take precedence with a value of 11.
On the other hand, the ">" operator has a precedence of 9.

Usually, all the mathematical operators are executed before the comparison operators, and they are evaluated from left to right.
This is different from the assignment operators, which execute from right to left and have a lower precedence of 2, this behavior is normal.
Let's assume it executed from left to right; then, "x" would be assigned the value of "y," which is undefined.

Alright with that said, if you read till here, thank you so much, that really means a lot.
Event Listeners and Queues in Laravel
Tags: laravel, php, eventdriven, backenddevelopment
Published: 2023-09-06 18:34:13

**Event Listeners** in **Laravel** offer a seamless way to respond to events triggered within your application. These events can range from user actions like "Post Created" to system-level events such as "Cache Cleared." Listeners, as the name suggests, "listen" for these events and execute predefined actions when they occur.

**Queues** are a fundamental concept in software development. They allow you to queue up tasks and process them in the background, ensuring your application remains responsive even when handling time-consuming operations.

Laravel takes this concept to the next level by integrating Queues seamlessly into your application. Need to send bulk emails without causing delays in the user experience? Queue it. Want to generate PDFs or process large datasets asynchronously? Queue it. Laravel's Queue system ensures that these tasks are executed in the background, providing a smooth and uninterrupted user experience.

Ready to dive into Event Listeners and Queues? Check out our [GitHub repository's](https://github.com/mazimez/laravel-hands-on/tree/events-listners-queue) dedicated branch for this topic. We've crafted hands-on examples and step-by-step guides to help you master these essential Laravel features.

By harnessing the power of Event Listeners and Queues, you can make your Laravel application not only more responsive, but also capable of handling complex operations efficiently. Stay tuned for more insights and tutorials as we continue our journey in Laravel development.
Introduction to Open Source
Tags: opensource, openai, python
Published: 2023-09-06 18:28:41

Hi everyone! My name is Jonny Mahendran and I am hoping that I can learn how to successfully contribute to Open Source Projects while learning how to properly use GitHub for various updates.

The main reason I wanted to take this course was to be able to properly use Git functions and simultaneously be able to work on a open source project of my own to gain experience and adapt to it. In most projects I have done I have completed them based on a standard and I haven't been able to work on a project that interests me, I hope in this course I will be able to find a passion for a new coding language and work with projects that peak my interest. 

During this term I want to accomplish learning a new language, Python is widely used and is a skilled asset that I would like to dive into and learn. I believe working on a open source project will help learn the basics of Python as I will be able to practice on a project that interests me. My interest in projects are mainly data type projects my previous employment I was working with large scale data and using R programming to modify and create reports to see trends in the data, I have grown to find a passion in this and would love learn Python to better grow my knowledge on this.

The GitHub repo I researched and found was a repo that utilizes UI to create code changes based on user bug reports https://github.com/sweepai/sweep. This feature works with small errors and is aimed to eliminate developers from opening tickets that involve small bug fixes or refractors. I know that learning a new language often has many set backs and learning curves. After finding this project I believe I can learn some basics of Python while also utilizing UI. 

See you in the next post!
Docker commands and workflow
Tags: docker, devops, webdev, programming
Published: 2023-09-06 18:05:33

Sailing through the world of Docker commands and workflow like a pro captain! ⚓️ Building, shipping, and scaling apps with ease. Let's containerize the future! 🌐 #Docker #DevOps #ContainerMagic
![Docker workflow description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/26dk73l8mszox8ibux43.png)
Upload up to 1GB to filestack API and Python
Tags: python, api, cloud, coding
Published: 2023-09-06 17:44:15

## Hi 🙂🖐

Welcome in a new post, today i will to use filestack API to upload files to it.

## step 1

To upload file to filestack you need to create account in filestack and install filestack
create account : https://dev.filestack.com/signup/free/
`pip install filestack-python`

## step 2

Create `main.py` and `.env` to store the API-key 
get your API-key from your dashboard

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

paste the API-key into `.env` file

**.env file**
```
API_KEY = xxxxxxxxxxxxxxx
```

**main.py**

```python
from filestack import Client
import dotenv
import os

dotenv.load_dotenv()

API_KEY = os.getenv('API_KEY')

client = Client(API_KEY)

new_filelink = client.upload(filepath = 'imgs/alone.jpg')
print(new_filelink.url)
```

## result
```
https://cdn.filestackcontent.com/WbkCe47QqSsr5rghkygY
```

**Now we're done 🤗**

**Don't forget to like and follow 🙂**

**Support me on PayPal 🤗**
https://www.paypal.com/paypalme/amr396



For more information :
https://github.com/filestack/filestack-python
Alaz: Open-source, Self-Hosted, eBPF-based K8S Monitoring 🐝 🚀
Tags: kubernetes, devops, monitoring, showdev
Published: 2023-09-06 17:43:26

Hello Everyone ✋

I'm excited to introduce a new open-source observability platform and would love to hear your feedback.

We are aware that there are lots of open-source/commercial tools out there. However, we believe that monitoring the clusters and extracting actionable insights requires deep know-how about the tools/domain. We mainly focused on this problem.

🐝 Alaz is an eBPF agent installed on your K8S cluster as DaemonSet. Thanks to eBPF - Alaz collects traces directly from Linux kernels. This means there's no need for sidecars, instrumentations, or service restarts.

🎯 The UI not only visualizes data but also provides actionable insights. Using the Service Map, you can:

View latencies and RPS between services.

Detect zombie services and underperforming SQL queries.

Monitor golden signals, such as 5xx status codes.

In addition, Alaz can capture system resources like CPU, Memory, Disk, and Network through the Prometheus Node Exporter, which is embedded in the agent.

Setting up is straightforward: just install Alaz as a DaemonSet, and the platform will handle the rest.

Finally, the combination of Alaz and Ddosify Performance Testing makes it possible to do load testing and simultaneously monitor the system to find bottlenecks instantly.

🚀 For those interested, check out [Alaz on GitHub](https://github.com/ddosify/alaz).
Your feedback would be greatly appreciated!
Understand How Services Are Run And Operate In Production
Tags: services, sre, python, servers
Published: 2023-09-06 17:40:29

---
title: Understand How Services Are Run And Operate In Production
published: true
date: 2023-09-06 17:30:51 UTC
tags: services, SRE, python, servers
canonical_url: https://akrisanov.com/understand-how-services-are-run-and-operate-in-production/
---

Over the past few years, I've been interviewing dozens of software engineers who didn't know how their developed services run and operate in production. The reason for that is a rising trend in software engineering trusting in an infrastructure team, the magic of the cloud, Docker, Kubernetes, and whatnot.

A conversation with a talent usually looks the following:

– How do you ship your service to production?  
– We build Docker images and run containers.  
– Sounds cool! Can you tell me about the resource requirements for a container?  
– Hmm, to be honest, I don't know the details. DevOps folks take care of that.  
– (discussing Python app) OK. And what application server do you use?  
– Application Server? (Some people even reply: "You mean WSGI?")  
– Yes, the thing that handles web requests and runs your Python code.  
– Hmm, let me open a project repo and check...  
– It's...Gunicorn!  
– Great. Can you estimate how many requests the web application can handle?  
– I don't think so because we don't do load testing.  
– So, it's not possible to do even a rough estimation?  
– Nope.  
– OK. Do you understand what happens on a processes and threads level when the application server processes a request?  
  
This is where the conversation hits a dead end. Many talents don't. And this is a red sign to me. It gets worse when a candidate claims they have experience with (semi)async services in production but can't [explain a service model](https://docs.gunicorn.org/en/stable/design.html?ref=akrisanov.com#server-model) they have chosen and how the services operate because of that (including resources allocating and consumption).  
  
You might say: "Why do I need to know all that low-level stuff in the 2020s?". Fair enough...if you don't develop software for thousands of users, have an unlimited budget for underutilized hardware, don't design distributed systems, or, simply, have an SRE team ready to solve all possible issues for you. Otherwise, please do.
Plug and Play in Microservices
Published: 2023-10-18 08:12:13

---
title: Plug and Play in Microservices
published: true
date: 2023-09-06 17:30:00 UTC
tags: 
canonical_url: 
---

Mail Notification တွေကို Service ခွဲထားတာက Application တစ်ခုတည်းမှာနှစ်ခုလုပ်ခိုင်းတာထက်ပိုပြီး Effective ဖြစ်တယ်။ Mail ချည်းသက်သက် Scale Out လို့ရတယ်။ Mail အတွက် Redis ကို Main Application က Reddit Server နဲ့ခွဲထားတာထိန်းရသိမ်းရပိုလွယ်သလို၊ Infra Coupling ဖြစ်တာကိုရှောင်လို့ရတယ်။ သပ်သပ်စီခွဲထားလိုက်တော့ Mail ဘယ်နှစ်သိန်းပို့ရမယ်တို့ဘာတို့ကြရင် အဲ့ Mail Service ကိုပဲသပ်သပ် Scale ပေးလိုက်ရုံပဲ။ ဒါပေမဲ့ Main Application မှာမရဘူးလားဆိုရင်လည်းရတယ်။ Service ခွဲလိုက်ရုံပဲ။ အဲ့တော့ကိုယ်ကြိုက်တဲ့ Language or Framework နဲ့ပြောင်းရေးလို့ရသလို၊ တခြား
BroadcastChannel API: Sending Messages Between Tabs
Tags: javascript, broadcastchannelapi, realtime, browser
Published: 2023-09-06 17:22:28

## Why Tab Communication in Web Browser Matters

Communicating between different tabs or windows in a web browser is super important for many reasons. Imagine you have several open tabs while shopping online. You put an item in your cart in one tab, and you want all the other tabs to know about it instantly. That's one of the reasons we need this kind of communication. Also, think about logging into a website like your bank account. If we log out in one tab, we'd want to be logged out in all the other tabs, too to keep everything safe. It's like making sure you lock all the doors when leaving your house. So, it's not just convenient; it also makes the web safer and more efficient for us.

## What is the Broadcast Channel API?

The Broadcast Channel API is like a special communication tool for web browsers. It allows different tabs or windows in our browser to talk to each other. It's a way for them to share information instantly. Think of it as a secret chat system just for our browser. It helps web apps work together and stay in sync, making our online experience smoother.

## How Broadcast Channel API works

Here's how it works in simple terms:

1. **Create a Channel**: We create a channel with a specific name, like `cart_channel`
    
2. **Send Messages**: In one tab, we can send a message (like "I added a new item to the cart!") to the `cart_channel`
    
3. **Other Tabs Listen**: All the other open tabs also tuned into the `cart_channel` can hear this message.
    
4. **Instant Updates**: So, when we add something to our cart in one tab, all the other tabs can instantly update to show the same thing. It's like magic!
    

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1694008679571/ec49b41b-57be-49fd-9e49-c72d3608908d.png align="center")

To implement Broadcast Channel API in your application read the full article here 👉 https://naimur.dev/broadcastchannel-api