teleren/devto huggingface dataset:
Budgtr Downtime incident report.
Published: 2024-06-09 21:50:36

We would like to apologize to all our users for the downtime experienced last week. We understand the discomfort this would have caused, and we have done the necessary checks and fixes to ensure that this does not happen again.

We have provided an incident report of the downtime that occurred on the 5th of June, 2024. Also outlined is our response to the issue.

###Issue Summary

The issue started from 6:03 AM to 8:52 AM WAT, requests to the website resulted in a 500 error as users couldn't access the service for this period. The cause of this outage was an untested change that was pushed into production, which resulted in a bug.

### Timeline (All West African Time)
* 6:03 AM - New Change was pushed.
* 6:55 AM - The first Outage occurrence was logged in.
* 6:56 AM - Our monitoring system alerted us.
* 7:20 AM - failed change was rolled back.
* 7:30 AM - Successful change rolled back
* 8:00 AM - New change was tested and pushed into production.
* 8:30 AM - Server was restarted.
* 8:52 AM - System was restored at 100% functionality.

###Root Cause
At 6:03 AM a new feature that was discussed and approved for development within the team was pushed to production without being tested. The new feature is a payment infrastructure that Budgetr would be using, but the APIs to be consumed were not consumed properly which resulted in breaking the whole code base which then caused the 500 error.

###Resoluion and Recovery
At 6:56 AM our monitoring system alerted our engineers of the error, which escalated immediately. At 7:20 AM our engineers tried to roll back the change to fix it locally, but it failed due to some authorization constraints. 

At 7:30 AM the proper authorization access was granted and our engineers were able to successfully roll back the changes. Our engineers went to work straight and fixed the error, after pushing it to the test environment, the test process took place and the results came out as positive.

At 8:00 AM our engineers pushed to production. To ensure a smooth sail of service, we restarted the servers at 8:30 AM and our service was confirmed to be 100% stable at 8:52 AM.

### Corrective and Preventative Measures
In the last 4 days, we have conducted an internal review and analysis of the outage. The following are the actions that will be taken to ensure this issue doesn't occur again:
1. All new features would be pushed to the test environment by default.
2. Only authorized personnel can push tested and approved changes to production.
3. Detailed information concerning the features or changes being pushed to test should be provided in the commit messages.

Budgetr is committed to ensuring a seamless service for all our customers and as a result we constantly improve our technology and operational processes to prevent these issues. We sincerely apologize for the discomfort this issue would have caused you or your businesses and we appreciate your patience and understanding.

Sincerely,
The Budgetr Team.
Developing IoT Applications with Raspberry Pi
Tags: webdev, javascript, beginners, programming
Published: 2024-06-10 00:34:05

## Introduction

In the current era of technology, the Internet of Things (IoT) has brought about a major revolution with its ability to connect various devices and enable seamless communication between them. One of the most popular devices used for developing IoT applications is the Raspberry Pi. It is a low-cost, credit card-sized computer that is capable of performing various tasks and can be easily integrated with different sensors and devices. In this article, we will delve into the various aspects of developing IoT applications using Raspberry Pi, including its advantages, disadvantages, and features.

## Advantages of Using Raspberry Pi for IoT Development

1. **Low Cost:** Raspberry Pi is an affordable option for individuals and companies looking to build their own IoT projects.
2. **User-Friendly:** It is easy to use and does not require specialized skills to operate, making it accessible to a broader audience.
3. **Compact Size:** Its small size makes it easy to handle and install in various locations.
4. **Strong Community Support:** A large community of developers provides constant support and a wealth of resources for both beginners and experienced users.

## Disadvantages of Using Raspberry Pi for IoT Development

1. **Limited Processing Power:** Raspberry Pi has limited processing capabilities compared to more powerful computers, which can be a hindrance in complex tasks.
2. **Dependence on Internet Connectivity:** It relies heavily on internet connectivity, and unstable network connections can disrupt data transmission.
3. **Security Concerns:** The device is not as secure as other more specialized devices, making it vulnerable to cyber attacks.

## Key Features of Raspberry Pi for IoT Development

1. **Connectivity Options:** Raspberry Pi comes equipped with built-in Wi-Fi and Bluetooth capabilities, facilitating seamless connectivity with other devices.
2. **Multiple I/O Interfaces:** It offers a variety of input-output interfaces like GPIO, SPI, and I2C, which makes it highly compatible with different sensors and devices.
3. **Support for Various Operating Systems:** Raspberry Pi supports multiple operating systems such as Linux, Windows, and Android, offering developers the flexibility to choose the environment they are most comfortable with.

### Example of Setting Up Raspberry Pi for IoT

```bash
# Initial setup for Raspberry Pi
sudo raspi-config

# Enabling SSH to allow remote access
sudo systemctl enable ssh
sudo systemctl start ssh

# Connecting to Wi-Fi
sudo raspi-config  # Navigate to network options and enter Wi-Fi details
```

## Conclusion

In conclusion, Raspberry Pi is a powerful and affordable tool for developing IoT applications. Its advantages, such as low cost and ease of use, make it a popular choice among developers. However, it also has its limitations, such as processing power and security concerns. Nevertheless, with its versatile features, Raspberry Pi continues to be a go-to device for building innovative and cost-effective IoT solutions.
How to Easily Dockerize a Next.js Application
Tags: docker, nextjs, javascript, tutorial
Published: 2024-06-10 00:31:18

Hi there! In this little post I'm going to show you how to use Docker to containerize your Next.js application.

## What is Docker?
Docker is an open-source platform that enables developers to automate the deployment, scaling, and management of applications inside lightweight, portable containers. Containers are a way to package applications with their dependencies and runtime environment, allowing them to run consistently across different environments, such as development, testing, and production, without any compatibility issues.

## Setting up a Next.js project

1.First we need to create a nextjs application.

```
npx create-next-app@latest project_name
```

2.Create Dockerfile in the root directory of your project

```
//Dockerfile

FROM node:18-alpine

# Initialize a working directory in your new os
WORKDIR /app

# Copy package.json into the new working directory
COPY package*.json ./

RUN npm install

# Copy all the files from your current directory to the working directory of the container
COPY . .

# Expose port 3000 from your container to local network
EXPOSE 3000

CMD npm run dev

```

3.Create the docker container

```
docker build -t next-docker-demo . 
```
Where `next-docker-demo` is the image name.

> 
`.` to tell docker that the Dockerfile is in current folder.

4.We can use docker compose, so we don’t need to remember long commands to build or run containers. We can simply just use `docker-compose build` and `docker-compose up`.

Add a `docker-compose.yml` file to your root directory.

```
version: '3.8'
services:
  app:
    image: next-docker-demo
    build: .
    volumes:
        - .:/app
        - /app/node_modules
        - /app/.next
    ports:
      - "3000:3000"
```

```
docker-compose build
```

```
docker-compose up -d
```

> `-d` to run the the container in the background.


Now if you access `http://localhost:3000`, you will see your working app!
DEV Challenge: Beaches 🏖️
Tags: devchallenge, frontendchallenge, css, javascript
Published: 2024-06-10 00:30:35

_This is a submission for [Frontend Challenge v24.04.17]((https://dev.to/challenges/frontend-2024-05-29), Glam Up My Markup: Beaches_


This is my submission to the Frontend Challenges: Beaches. I've seen the other challenges, thought about entering and then felt like I didn't have the time/skills. But I want to keep practicing my programming, so I decided to give it a try!


{% codepen https://codepen.io/oliviapandora/pen/dyERjBr %}


When I decided to do this, I knew I wouldn't spend a ton of time on it, so my first choice was to let the colors do the heavy lifting. My instinct is to make design choices that match my own style, but I wanted something different, but still felt like me. The idea of beaches made me think of early summer, but also a vintage 1950s/1960s summer ads on the beach when all the colors are saturated, vibrant, and warm. This is the idea I wanted for the picture I ended up choosing, along with the colors. The white, has a slight yellow tint and instead of black, I'm using a very dark blue. All to maintain the contrast, while softening it. 

While I was doing this, it reminded me of how much I like the design process, the colors, fonts, and thinking of how it all flows together. I also want to learn some more advanced CSS, so I can code my portfolio website and any other small projects. I wouldn't say this is my best work by any means, but I'm glad I didn't let that stop me. I did have some more complex ideas, but to save time went a simpler way. The idea is I can look back at this code later on and easily think of improvements or changes. I also realized I don't know any JavaScript because Python became my focus. I do want to learn JavaScript at some point, but I'm not sure when.  

Overall, I'm happy I was able to get some practice in and I hope to participate in more challenges in the future!
Capturing Beach Memories: A Polaroid Showcase of the World's Top Beaches
Tags: devchallenge, frontendchallenge, css, javascript
Published: 2024-06-10 00:18:09

_This is a submission for [Frontend Challenge v24.04.17]((https://dev.to/challenges/frontend-2024-05-29), Glam Up My Markup: Beaches_

## What I Built

Hello DEV,

This is my first entry here.

I incorporated a Polaroid photo effect to evoke a sense of nostalgia and capture the essence of cherished beach memories. Using HTML, CSS, and JavaScript, I crafted a visually appealing display where each beach is presented as if captured on a polaroid. Clicking on any beach card opens up a gallery, allowing users to browse all images. This interactive experience is enhanced with icons for location and additional information, enriching the exploration of each beach. 

Credits:
Beach images from [Freepik](https://www.freepik.com/)
Grainy background from [freecodecamp] (https://www.freecodecamp.org/news/grainy-css-backgrounds-using-svg-filters/)



## Demo
<p class="codepen" data-height="300" data-default-tab="html,result" data-slug-hash="vYwJvNM" data-pen-title="Beach challenge" data-user="JennaVisions" style="height: 300px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;">
  <span>See the Pen <a href="https://codepen.io/JennaVisions/pen/vYwJvNM">
  Beach challenge</a> by JennaVisions (<a href="https://codepen.io/JennaVisions">@JennaVisions</a>)
  on <a href="https://codepen.io">CodePen</a>.</span>
</p>
<script async src="https://cpwebassets.codepen.io/assets/embed/ei.js"></script>

[Beach challenge](https://codepen.io/JennaVisions/full/vYwJvNM)

## Journey
Please note that the project is not fully responsive at the moment. There are some fixes and updates that I plan to implement later, which I haven't been able to complete yet. Despite these pending improvements, building each step of the challenge has been an enjoyable journey. 

In addition to the visual design, I prioritized accessibility features to ensure a user-friendly experience for all visitors. Incorporating alt attributes for images and keyboard controls for navigation in the lightbox gallery were among the measures to enhance accessibility. While the project is not yet fully responsive, I plan to improve it in future updates.

Cheers
Slow productivity framework
Tags: productivity
Published: 2024-06-11 14:55:47

---
title: Slow productivity framework
description: Sharing my journey from toxic productivity to embracing the Slow Productivity framework
published: true
date: 2024-06-10 00:00:00 UTC
tags: productivity
canonical_url: https://jonathanyeong.com/slow-productivity-framework/
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bl7yoyi79rqdzc21do9t.png
---

Years ago, I was fully hooked to the world of productivity. At the time, I was getting up at the crack of dawn to get as much done. I used time blocking to try to maximise every hour of my day. Working a full-time job, then spending 4–5 hours outside the job working on various side projects. I would cut out any activity that I deemed "unproductive". And when something unexpected came along that interrupted my time block, it caused anxiety.

Only recently did I realise that this productivity mindset was toxic. Yes, it took me a pandemic and also burning out to realise that toxic productivity exists. Gaslighting myself is my forte. To this day, I'm still battling with the feeling of not doing enough. That there aren't enough hours in the day to be "productive".

To have a healthier mindset, I needed a new "productivity" framework. I wanted a framework that would help me prioritise what to do outside my 9-5 job. Something that would let me roll with the punches when the unexpected came up. And would help me feel good about what I chose to spend time on. So I present to you my **"slow productivity" framework**.

When I'm trying to decide what to do. I have to answer three questions:

1. Will I have fun?
2. Will I learn something?
3. Will I regret it if I didn't do it?

If I say yes to any one of these questions, I should do the thing and not feel guilty about doing it. Some activities are more worth doing than others, I can tell if it's a yes to multiple questions. But if it's a no to all questions, then I won't do the activity.

Here's an example of how I applied the framework this morning.

I woke up feeling refreshed, which rarely happens. I wanted to immediately start working on a side project before work. It's something that I would have fun with and learn something. Ticking two of the three questions. This task is something that I would consider productive.

Now I sit at my desk, turn on my laptop, and get ready to code. But my cat jumps up on my table and wanted pets. She was far too cute, and demanding, to ignore. There went my productive morning time. In the past, I would've been annoyed and felt guilty that I was doing something unproductive. But today, I ran through the three questions. Am I having fun? Yes. Will I regret it if I didn't do it? 100% yes. Always pet the cat if it offers.

Sometimes unexpected events happen that interrupt your productive task. With this framework, I feel less anxiety and guilt around these events. It might not work for everyone, but I hope it helps you feel better about doing the "unproductive" activities.
SENSASIBET77 >> AGEN SITUS SLOT DEPOSIT BANK JENIUS TANPA POTONGAN GAMPANG MENANG
Tags: slotgacor, sensasibet77, slotbankjenius, slotjenius
Published: 2024-06-09 23:17:55

✅ 𝐋𝐈𝐍𝐊 𝐃𝐀𝐅𝐓𝐀𝐑 ❱❱ ([KLIK DISINI](https://heylink.me/sensasibet77.com/))
✅ 𝐋𝐈𝐍𝐊 𝐃𝐀𝐅𝐓𝐀𝐑 ❱❱ ([KLIK DISINI](https://heylink.me/sensasibet77.com/))


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

Sensasibet77 - Slot Bank Jenius merupakan bandar judi online resmi paling populer dan terpercaya di Indonesia, Slot Bank Jenius memiliki popularitas tinggi yang menjadi incaran terbaru para pemain slot di Indonesia.

Di Agen Situs Terpercaya Sensasibet77 kamu dapat mendaftar menggunakan APK Bank Jenius dimana aplikasi Bank Jenius sangat membantu para pemain judi online untuk berkembang jauh lebih banyak dari sebelumnya karena slot deposit melalui Bank Jenius memudahkan transaksi ketika ingin melakukan pembayaran.

Kini, orang yang ingin bermain game judi online khususnya slot tidak perlu khawatir kehabisan saldo kartu kreditnya karena aplikasi Bank Jenius dapat memberikan dampak yang signifikan terhadap judi online di Indonesia.

**Cara Melakukan Registrasi Di Situs Slot Bank Jenius Sensasibet77 Sebagai Berikut ini:**

- User ID Yang Diinginkan :
- Nama Lengkap :
- No HP :
- Email :
- Kode Referral ( Jika ada ) :
- Nomor Rekening :
- Atas Nama Rekening :
- Nama Bank :

Setelah data-datanya anda isi semua sekaang anda tinggal klik tombol daftar dan akun anda sudah bisa di loginkan untuk bermain slot online deposit Bank Jenius Sensasibet77, ups jangan lupa untuk tranfer saldo dulu ke rekening bank/awalet sesuai dengan nomor rekening yang terdaftar di Sensasibet77 agen slot resmi terpercaya.


**FAQ - Pertanyaan Umum Tentang Agen Slot Online Sensasibet77 Deposit Bank Jeniu**s

1. Apa itu slot deposit Bank Jenius?
Slot deposit Bank Jenius adalah sarana transaksi deposit dan withdraw menggunakan aplikasi Bank Jenius.


2. Berapakah jumlah deposit yang diperlukan agar bisa bermain di slot Bank Jenius Sensasibet77?

Untuk bermain disitus slot deposit Bank Jenius sangat lah terjangkau karena minimal deposit hanya 5000 ribu saja anda sudah bisa bermain di semua jenis permainan yang ada di Sensasibet77.


3. Bagaimana cara pendaftaran di situs Untuk mendaftarkan akun anda di agen slot deposit Bank Jenius Sensasibet77 sangat lah mudah sekali anda cukup mengikuti tutorial daftar setelah anda masuk terlebih dahulu di web Sensasibet77, anda tinggal meng klik tombol DAFTAR yang sudah tersedia di web Sensasibet77 lalu isi formulir yang telah tersedia saat anda tekan daftar.
Top 5 Chrome Extensions for UI/UX Designers
Tags: extensions, webdev, productivity
Published: 2024-06-09 23:16:39

Chrome web store offers a lot of extensions that can be helpful in various domains, in this article I want to share the 10 extensions that I found useful and can help designers or frontend developers.

## 1. [WhatFont](https://chromewebstore.google.com/detail/whatfont/jabopobgcpjmedljpbcaablpmlmfcogm?hl=en-US)
this extension shows you the font styles when hovering over any text and more details on click.

## 2. [ColorZilla](https://chromewebstore.google.com/detail/colorzilla/bhlhnicpbhignbdhedgjhgdocnmhomnp?hl=en-US)
a tool with colorful tools to help you get the pixel color from anywhere on your screen even outside of the browser, a color picker, and a gradient generator.

## 3. [Page Ruler](https://chromewebstore.google.com/detail/page-ruler/jcbmcnpepaddcedmjdcmhbekjhbfnlff?hl=en-US)
this extension is helpful if you want to measure elements on a web page.

## 4. [GoFullPage](https://chromewebstore.google.com/detail/gofullpage-full-page-scre/fdpohaocaechififmbbbbbknoalclacl?hl=en-US)
Take a screenshot of the entire webpage with a single click for future reference and inspiration.

## 5. [SVG Gobbler](https://chromewebstore.google.com/detail/svg-gobbler/mpbmflcodadhgafbbakjeahpandgcbch?hl=en-US)
with SVG Gobbler you can optimize and download SVGs that you like from any page

---

these are the extensions I use regularly, feel free to leave the ones you think are the best in the comment section.

this list was taken from this article [Top 10 Chrome Extensions for Frontend Developers in 2024](https://douiri.org/frontend-chrome-extensions/) give me your feedback about the blog so I can improve it 😊.
𝗙𝗿𝗲𝘀𝗵𝗣𝗶𝗰𝗸 Web application
Published: 2024-06-09 22:58:34

🚀 𝗙𝗿𝗲𝘀𝗵𝗣𝗶𝗰𝗸: 𝗦𝗶𝗺𝗽𝗹𝗶𝗳𝘆𝗶𝗻𝗴 𝗚𝗿𝗼𝗰𝗲𝗿𝘆 𝗣𝗶𝗰𝗸𝘂𝗽𝘀 🚀

I'm thrilled to share FreshPick, a project I recently completed as part of the #ALXSE Program. FreshPick is a web application designed to streamline the process of ordering fresh groceries for pickup at your local store, supporting local farmers and providing fresh produce to customers conveniently.

📌 𝗣𝘂𝗿𝗽𝗼𝘀𝗲 𝗼𝗳 𝘁𝗵𝗲 𝗣𝗿𝗼𝗷𝗲𝗰𝘁

FreshPick was created to make it easier for people to order fresh, local produce online and pick it up at their convenience. Our goal was to support local farmers while providing a seamless shopping experience for users.

👥 𝗧𝗲𝗮𝗺 𝗠𝗲𝗺𝗯𝗲𝗿𝘀, 𝗥𝗼𝗹𝗲𝘀, 𝗮𝗻𝗱 𝗧𝗶𝗺𝗲𝗹𝗶𝗻𝗲

𝘖𝘶𝘳 𝘥𝘦𝘥𝘪𝘤𝘢𝘵𝘦𝘥 𝘵𝘦𝘢𝘮 𝘮𝘦𝘮𝘣𝘦𝘳𝘴 𝘪𝘯𝘤𝘭𝘶𝘥𝘦𝘥:

- @Khalil El Amraoui (Developer/Tester)
- @Soufiane Elmouajjeh (Tester/Designer)
- Leknouch Wissal (Designer/Developer)

We developed the project over 7 weeks:
- 𝘞𝘦𝘦𝘬 1: Project proposal and approval
- 𝘞𝘦𝘦𝘬 2: MVP proposal and approval
- 𝘞𝘦𝘦𝘬 3: Trello board setup
- 𝘞𝘦𝘦𝘬𝘴 4-5: Development and progress updates
- 𝘞𝘦𝘦𝘬 6: Landing page deployment and presentation preparation
- 𝘞𝘦𝘦𝘬 7: Final presentation and blog post reflection

🎯 𝗧𝗮𝗿𝗴𝗲𝘁 𝗔𝘂𝗱𝗶𝗲𝗻𝗰𝗲

FreshPick was designed for busy individuals who prefer fresh, locally sourced produce and want to save time by ordering groceries online and picking them up at their convenience.

🌟 𝗜𝗻𝘀𝗽𝗶𝗿𝗮𝘁𝗶𝗼𝗻 𝗮𝗻𝗱 𝗣𝗲𝗿𝘀𝗼𝗻𝗮𝗹 𝗦𝘁𝗼𝗿𝘆

Our team's connection to fresh food and local produce inspired FreshPick. For me, the inspiration came from my childhood. Growing up in a bustling city, my family would visit the local farmers' market every weekend to buy fresh produce. This project brought back those memories and the joy of fresh food, motivating me to create something that would make it easier for others to access fresh, local produce.

🏆 𝗣𝗿𝗼𝗷𝗲𝗰𝘁 𝗔𝗰𝗰𝗼𝗺𝗽𝗹𝗶𝘀𝗵𝗺𝗲𝗻𝘁𝘀

We successfully created a fully functional web application that allows users to order groceries online for pickup. Key accomplishments include:
- User-Friendly Design.
- Real-Time Updates.
- Real-Time Inventory Management.

💻 𝗧𝗲𝗰𝗵𝗻𝗼𝗹𝗼𝗴𝗶𝗲𝘀 𝗨𝘀𝗲𝗱

- Frontend: HTML5, CSS3, JavaScript, and Tailwind CSS.
- Backend: Python and Django with SQLite.
- Deployment: Vercel for deployment and #Railway Postgres as a DataBase.

💬 𝗔𝗯𝗼𝘂𝘁 𝗠𝗲

I'm a software engineering student at #alx passionate about developing web applications that solve real-world problems. I enjoy working on projects that challenge me and help me grow my skills. Connect with me to learn more about my journey and future projects!

[GitHub Project](https://github.com/khalilelamraoui/Fresh-pick)

[Deployed Project](https://fresh-pick.vercel.app/)

[Landing Page](https://clear008.github.io/FreshPick/)

[Visit my GitHub Profile](https://github.com/Clear008)

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

Feel free to reach out if you have any questions or feedback about FreshPick!

#ALX #ALXSE #alx_morocco #ALX_Africa #DoHardThings #software #full_stack #coding