teleren/devto huggingface dataset:
Critical Chain
Tags: programming, productivity, softwareengineering, webdev
Published: 2023-07-09 15:34:58

Let's imagine that you have a development chain in progress. An analogy for it could be a conveyor belt where work is being done and created. In this conveyor belt, each programmer works at a different speed - in conveyor terms, we would say they can process a different number of items. So, all of us, humans (even machines differ in performance), will always have a bottleneck in this conveyor belt. It could be a developer or a group of developers (in real life, most often it's a single developer) whose progress blocks the entire chain.

In project development, it's not even a whole programmer but a piece of their work. What are we talking about? Let's suppose we have an excellent programmer on our project. They handle solving complex tasks and code reviews. Since no task can enter the codebase without our great guru's review, they occasionally block tasks because the code reviews pile up while they are busy solving their tasks.

How can we solve this? Ideally, we would relieve this guru from solving large complex tasks and make them focus solely on code reviews. But in our world, no one will allow that.
In practice, it is sufficient to communicate with the programmer and emphasize the importance of code reviews because they block the rest of the team. Roughly speaking, the workday should start with code reviews for all tasks or have two code review sessions per day.

And the bottleneck doesn't have to be code reviews. It could be the quality control department, for example. During development, it is worth making programmers write test cases for the tasks so that they can be tested. Often, a task is ready, but how to test it is unclear, and this clarification takes time.

## What to do with the bottleneck?

**Identify and nurture your bottleneck!** Don't overload it with too many tasks. Always ask yourself how you can alleviate its burden.

## Why?

Firstly, this way the entire process will be more efficient from a mathematical standpoint.

Secondly, the bottleneck usually feels the weight of this responsibility and tends to burn out, putting the whole project at risk. Unfortunately, this is a harsh reality.

## Conclusion

A great sign that your processes are improving is when you notice that different processes of the bottleneck are being shared among other project participants. This indicates that the project is moving toward recovery.
#INTRODUCTION
Published: 2023-07-09 15:18:02

Embarking on a Cloud Computing Journey with AWS Cloud Practitioner Certification

Introduction:
Cloud computing has revolutionized the way businesses operate, offering unparalleled scalability, flexibility, and cost-effectiveness. As I embark on my cloud computing journey, I am excited to share my experiences and insights with you. I have chosen the AWS Cloud Practitioner certification as my study guide, and I am fortunate to have study partners from the AWS Campus community at the Federal University of Technology Owerri, joining me on this adventure

#REFERENCE
_ChatGPT
Memorization in JS(javascript)
Tags: javascript, tutorial, programming, advance
Published: 2023-07-09 15:05:00

Memorization is a crucial technique in programming languages, optimizing applications by reusing computed results and eliminating redundant calculations. This boosts efficiency and improves speed. Leveraging memorization empowers developers to enhance code performance, making it more efficient and faster, ultimately improving overall application quality.

Memorization in JavaScript revolves around two key concepts:

 1- Closures: These are functions that retain access to variables defined in their outer scope, even after the outer function has completed execution.

 2- Higher Order Functions: These functions can accept other functions as arguments and/or return results. They enable advanced functional programming techniques like composition and abstraction.

Memorization can be applied to any function. Let's explore some examples below:
Example

write code for factorial of "n" number. ( if you don't know about Factorial, for example, the factorial of 5 is calculated as 5 )

Do without memorization

```js
const factorial = (n)=>{
    let answer=1
    for (let i = 1; i <= n; i++) {
        answer = answer*i ;
    }
    console.log(answer);
}

factorial(n); //where n is any number
```
Do with memorization
```js
const factorial = (n) => {
    let previousCalculation = {};
    if (previousCalculation.n != undefined) {
        console.log(previousCalculation.n);
    } else {
        let answer = 1;
        for (let i = 1; i <= n; i++) {
            answer = answer * i;
        }

        previousCalculation.n = answer;
        console.log(answer);
    }
};

factorial(n); //where n is any number
```
To optimize calculations, the "previousCalculation" object can be utilized. If an input number already exists as a key in this object, the associated value is retrieved, avoiding the need for a "for" loop and saving valuable time. In case the input value is not found, the loop executes, storing the number (n) as a key and its corresponding answer as the value in the object. This approach significantly improves efficiency by minimizing redundant computations.

Memorization is particularly beneficial in various scenarios such as API calls, large calculations, dynamic programming, string manipulations, and component re-rendering to obtain specific values.

Thank you for reading! For more insights into advanced concepts of JavaScript and React, feel free to follow me on Twitter: https://twitter.com/Diwakar_766
ENOENT err: no such file or directory, mkdir. This is related to npm not being able to find a file.
Published: 2023-07-09 14:59:31

I am getting this error for long, I have already reinstalled nodejs and reactjs more than 10 times, still nothing changed. My npm commands are also not working neither I am able to create a new app. I have tried "npm cache clean", "npm config edit", "npm cache clean --force", "npm audit" etc, but none responded. Please suggest me some way to resolve this issue!!
Centrar con CSS
Tags: css
Published: 2023-07-09 14:52:11

## Usando Display Grid 😎

**Forma 1**
```css
div {
  display: grid;
  justify-content: center;
  align-items: center;
}
```

**Forma 2**

```css
div {
  display: grid;
  place-content: center;
}
```

## Usando display Flex 🥳

```css
div {
  display: flex;
  justify-content: center;
  align-items: center;
}
```

## Usando position absolute 👀

```css
div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
```
[Python] Checking and updating new versions of pip packages and requirements.txt update
Tags: pip, python, requirements, freeze
Published: 2023-07-09 14:47:43

**Steps**:

1. Checking for new package versions:
`$ pip list --outdated`

2. Updating packages:
`$ pip install -U package`

3. Saving changes to requirements.txt:
`$ pip freeze > requirements.txt`

**Thank you. <3**
MangaKV - Simple, Secured, Fully Managed KV Database
Tags: cloud, cloudstorage, restapi, database
Published: 2023-07-09 14:45:55

We are happy to announce the launch of **MangaKV **in Preview, a SaaS product that offers simple, secured and fully managed key-value store. 

Built on a robust REST API architecture, MangaKV is the perfect solution for your web and mobile app storage requirements.

Sign up today at [https://www.cloudmanga.dev](https://www.cloudmanga.dev) to spin your own FREE KV database.
How to maintain GitHub while learning DSA
Tags: dsa, extensions, github, opensource
Published: 2023-07-09 14:28:38

Learning Data Structures and Algorithms takes a lot of time, and at the same time, wanting green dots on your GitHub can be overwhelming at times. So today, in this blog, I'll be sharing with you a cool trick by which you can do both at the same time.

You may have a question in your mind: "I am not developing anything, so what will I push on my GitHub?"🤔

Although you may not be developing anything, you can still solve questions and push your solutions on GitHub. It is still better than doing nothing.

To do this there's a very cool chrome extension named [LeetHub](https://chrome.google.com/webstore/detail/leethub/aciombdipochlnkbpcbgdpjffcfdbggi).

## What's LeetHub?

LeetHub, a Chrome extension, streamlines the process of pushing your code to GitHub whenever you successfully submit a problem on platforms like LeetCode or GeeksforGeeks. With over 30K developers worldwide, LeetHub has been utilized more than 30 million times to enhance the coding experience and productivity of its users.

## How to use it

To use LeetHub, simply search for it in your browser and install the extension. Once installed, an icon similar to this will appear on the toolbar of your web browser.


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

LeetHub will prompt you to authenticate it with your GitHub account. After authentication, a repository similar to this will be created in your GitHub account.


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

From there, all you have to do is submit questions correctly, and the corresponding code will automatically be added to your GitHub repository. By clicking on the LeetHub icon, you can also see how many questions you have solved. Currently, I've solved three questions, and it's reflecting the same here.


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

Thank you all for reading this post. If you found this article helpful, please like it and share it with your friends. ❤️
Discover Our Free APIs
Tags: programming, api, dakidarts, extensions
Published: 2023-07-09 14:28:27


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p7nftsfdah5wdtu6bj58.png)
At [Dakidarts](https://dakidarts.com/our-free-apis/), we understand the importance of providing cutting-edge tools and resources to help you enhance the functionality of your website or application. That’s why we have curated an extensive collection of free APIs that are designed to streamline your development process and enrich the user experience.

Begin your journey of innovation by exploring our diverse collection of free APIs. Visit our website and discover the perfect API to enhance the functionality and user experience of your website or application. Take advantage of our seamless integration solutions, unleash your creativity, and stay ahead of the competition. Embrace the power of our free APIs and unlock a world of possibilities.

[Get started today!](https://dakidarts.com/our-free-apis/)
Discover CalcX Investment Calculator
Tags: finance, programming, investment, dakidarts
Published: 2023-07-09 14:23:06


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hst1yj26k7gueb5zhjdk.jpg)
In today’s dynamic financial landscape, making informed investment decisions is crucial. To assist developers in creating robust investment applications, we are excited to introduce the CalcX Investment Calculator API. This comprehensive API empowers users to effortlessly calculate various investment metrics, such as simple interest, compound interest, return on investment (ROI), capital gains tax, and annual percentage yield (APY). By harnessing the power of the Investment API, developers can unlock new levels of precision and accuracy in their investment calculations, enabling them to make well-informed decisions and optimize their investment strategies.

The API uses currency rates provided by the European Central Bank (ECB) for currency conversion. The API also supports a wide range of programming languages, including but not limited to: C, Clojure, C#, GO, Java, JavaScript, Kotlin, Node.js, Objective-C, OCaml, PHP, PowerShell, Python, R, RapidQL, Ruby, Shell, and Swift.

**Supported Currencies:**

NOK (Norwegian Krone), EUR (Euro), HKD (Hong Kong Dollar), CZK (Czech Koruna), THB (Thai Baht), CHF (Swiss Franc), USD (United States Dollar), ISK (Icelandic Króna), GBP (British Pound Sterling), JPY (Japanese Yen), BGN (Bulgarian Lev), CNY (Chinese Yuan), IDR (Indonesian Rupiah), TRY (Turkish Lira), NZD (New Zealand Dollar), SGD (Singapore Dollar), DKK (Danish Krone), AUD (Australian Dollar), BRL (Brazilian Real), ILS (Israeli New Shekel), SEK (Swedish Krona), CAD (Canadian Dollar), HUF (Hungarian Forint), ZAR (South African Rand), MYR (Malaysian Ringgit), KRW (South Korean Won), MXN (Mexican Peso), INR (Indian Rupee), PHP (Philippine Peso), PLN (Polish Złoty) and RON (Romanian Leu).

[Learn more.](https://dakidarts.com/showcase/calcx-investment-calculator-api/)
Discover CalcX Loan Calculator API
Tags: finance, programming, calculator, dakidarts
Published: 2023-07-09 14:19:51


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/shupiiio13fag3q8hng5.jpg)
Introducing the CalcX Loan Calculator API, a powerful tool that provides accurate estimates of loan costs and generates a detailed amortization schedule. Our API offers precise calculations of the total cost of a loan, allowing you to make informed financial decisions. By providing essential inputs such as the loan amount, interest rate, and repayment term, our API instantly generates estimates of the overall cost, giving you a comprehensive understanding of your financial commitment and a detailed amortization schedule. This schedule breaks down each payment, showing the portion dedicated to interest, principal, and remaining balance. Armed with this information, you can plan your budget efficiently and stay on top of your repayment schedule.

The API uses currency rates provided by Forex. Integrating the CalcX Loan Cost Calculator API into your existing systems and applications is a breeze. The API supports a wide range of programming languages, including but not limited to: C, Clojure, C#, GO, Java, JavaScript, Kotlin, Node.js, Objective-C, OCaml, PHP, PowerShell, Python, R, RapidQL, Ruby, Shell, and Swift.

[Learn more.](https://dakidarts.com/showcase/calcx-loan-calculator-api/)
A Web Developer in China, 2023
Tags: webdev, remotework
Published: 2023-07-09 14:11:11

---
title: A Web Developer in China, 2023
published: true
description: Is it possible to be a successful web developer and live as a digital nomad in China?
tags: webdev, remotework
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2gpfbv4rkorpab87fk0a.jpg
canonical_url: https://codebushi.com/a-web-developer-in-china-2023
---

In June, 2023, my family and I uprooted our lives and moved to China. Although there were many motives for this move, the primary reason was to live with my wife's family and expose our daughter to the culture.

My plan was to continue web development in China, but I had no idea if that was feasible. As many of us know, China strictly monitors the country's internet activity and blocks many crucial apps and services we rely on in this industry.

Having lived here for almost a month, I can safely say that it is indeed possible to live as a digital nomad in China. There are, however, a few hurdles to overcome.

## The Great Firewall

The biggest hurdle is that services such as Google, Gmail, and Twitter are blocked by China's firewall. Telegram, Zoom, and Discord are also blocked, so communication and access to news back home is not as accessible.

Slack seems to be the only messaging app that is not blocked here, along with Microsoft Teams and Skype.

I've had to set up a new Microsoft email address and forward all of my Gmail messages there.

In the past, it was easy to get a VPN service, such as Express VPN, to solve this problem. However, Express VPN does not work for me anymore here in China. The only VPN service that works is one called Private VPN, but it is very slow.

If anyone has a more reliable VPN service that they can recommend for China, please let me know!

## Web Developer Tools in China

To my surprise, Github and Gitlab actually work here in China. I have access to all of my code repos! Amazon AWS also works, which is great news if you rely of this for deployments.

I mainly develop with Next.js and deploy to Vercel, both of which work behind China's firewall. Namecheap.com, my primary domain registrar, also works here.

The main adjustment you'll need to make is switching from Goole to Bing as a search engine, which honestly isn't all that bad.

I have successfully developed and deployed a complete website since my time here, without many issues. I just wish a better VPN services was available so that I can stay connected to Twitter and Telegram for longer periods of time.

For more updates and details about life in China, check out my travel blog! https://travelxfamily.com/posts/big-move-to-china
Apache AGE | RTE & PNSI
Tags: postgres, apacheage
Published: 2023-06-15 08:24:01

Sup!

Welcome back to another one in the series for Apache AGE. In this blog, we will discuss about two structs that are being used in PostgreSQL for the same purpose **RTE** & **PNSI**.

RTE, **R**ange **T**able **E**ntry, is a kind of temporary table that SQL queries or statements operate on. Not necessarily a table, RT also refers to other things like subqueries or any other record sets. It is a structure defined in PostgreSQL and is used in the parsing stage to hold data.

PNSI,**P**arse **N**ame **S**pace **I**tem, is another struct defined in parse_node.h file. It has replaced RTE in PostgreSQL 13. Although it is a different structure, PNSI contains a field for RTE.

Apache AGE supports older versions of PostgreSQL and is being developed and updated for newer versions. Older versions of PostgreSQL use RTE which has been replaced by PNSI, another approach to do the same task in newer versions. Now, AGE still uses RTE which may become redundant over time.

But, after thorough research on the topic and source code of AGE, we were able to conclude that replacing RTE with PNSI would create problems that it would solve. Hence, we will continue on with RTE.

So that's all for this one. A discussion about a possible change in Apache AGE which was discontinued.

https://age.apache.org/
https://github.com/apache/age

Stay Tuned For More!
TO-DO-LIST 20
Tags: webdev, javascript, beginners, programming
Published: 2023-07-09 14:07:32

`_The Cyber Punk Katana Plays_` DESIGN PART IS DONE. I looked up a 20 min video :) on FIGMA and I made this design. 


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

OK!! I lied I copied it from a community project. It still lacks some elements but the final product looks decent. `_The Cyber Punk Katana continues_`.
Optimized code for efficient programming IS THE TOOL YOU NEED!!
Tags: beginners, programming, tutorial, discuss
Published: 2023-07-09 13:44:00

In the world of software development, writing efficient code is crucial for achieving optimal performance and productivity. 

**[Jump straight to the tool! - LINK
](https://www.aiforme.wiki/ai/tools/Exo)**

Introducing [EXO](https://www.aiforme.wiki/ai/tools/Exo), an AI-powered tool designed to assist programmers in creating and improving code to maximize efficiency. With its range of features and user-friendly interface, EXO is the ultimate solution for developers seeking to optimize their workflow.

**AI-Powered Code Optimization:** EXO leverages artificial intelligence to analyze your code and provide optimization suggestions. It identifies areas where code can be improved, such as performance optimizations, algorithm enhancements, and code refactoring. By implementing these recommendations, developers can achieve faster execution times, reduced resource usage, and overall improved code quality.

**Flexible Plans:** EXO offers different plans to cater to various user needs. The Free plan allows users to access the core functionalities of the tool without any cost. For more advanced features and enhanced support, users can opt for the Pro plan, which offers additional benefits. Pricing details for the Pro plan can be obtained from the EXO website.

**Easy Account Integration:** Accessing EXO is made simple with multiple account integration options. Users can log in to EXO using their Google, GitHub, or LinkedIn accounts, providing a hassle-free onboarding experience. This seamless integration ensures that developers can quickly start utilizing the tool's capabilities without any additional account setup.

**Time-Saving and Workflow Optimization:** By utilizing EXO, programmers can save valuable time in the development process. The AI-powered suggestions and optimizations provided by EXO streamline the coding workflow, allowing developers to focus on higher-level tasks rather than manual code optimizations. This time-saving aspect enables developers to be more productive and efficient in their work.

**[Jump straight to the tool! - LINK
](https://www.aiforme.wiki/ai/tools/Exo)**

EXO is the go-to tool for developers seeking optimized code and efficient programming. With its AI-powered code analysis and optimization capabilities, developers can significantly improve the performance and quality of their code. By utilizing EXO, programmers can save time, enhance their workflow, and ultimately achieve greater efficiency in their development projects.
🚀 Frontend Engineering!👩‍💻 🚀
Tags: webdev, frontend, joelikenga
Published: 2023-07-09 13:30:19

Frontend engineering is a dynamic and rapidly evolving field that plays a crucial role in shaping the digital experiences we encounter every day. As a frontend engineer, you have the power to create visually stunning, responsive, and user-friendly websites and applications that leave a lasting impact on users.

But it's not just about aesthetics; frontend engineering is all about striking the right balance between design and functionality. You get to collaborate closely with designers, backend developers, and other stakeholders to translate creative visions into interactive and engaging digital products. It's the perfect blend of art and technology! 🎭

As a frontend engineer, you'll harness the power of HTML, CSS, and JavaScript to build intuitive user interfaces and ensure seamless interactions. You'll leverage your knowledge of front-end frameworks like React, Angular, or Vue.js to create scalable and performant applications that delight users across various devices and browsers. 📱💻

What truly sets frontend engineering apart is its continuous evolution and innovation. New technologies and tools emerge at a rapid pace, enabling you to constantly learn and stay on the cutting edge. From responsive design and mobile-first development to progressive web apps and micro-frontends, there's always something new to explore and master. 🚀📚

Frontend engineering is also a field that thrives on collaboration and teamwork. You'll work closely with UX/UI designers to transform wireframes into pixel-perfect designs, and with backend engineers to integrate your frontend components with the server-side logic. Effective communication and collaboration skills are key to creating cohesive and seamless digital experiences. 💡🤝

So, whether you're just starting your journey in web development or looking to level up your skills, frontend engineering offers a world of possibilities. It's a role that combines technical expertise, creativity, and the opportunity to shape the way people interact with digital products. With every line of code you write, you have the chance to make a meaningful impact on the lives of users around the globe. 🌍❤️

If you're ready to embark on an exciting career where your creativity and technical skills go hand in hand, let's connect! I'm always open to discussing frontend engineering, sharing insights, and exploring new opportunities. Together, we can build the next generation of captivating and user-centric digital experiences! ✨🚀

let's connect Joel Ikenga

#joelikenga