teleren/devto huggingface dataset:
How to implement CRUD Concept in daily life?
Tags: productivity, mindset, lifeofprogrammer
Published: 2022-11-15 13:26:58

One way to stay productive is to cultivate the mindset that makes the best use of your resources, your time, your energy, your efforts and connecting your knowledge.

**CRUD** refers to the four basic operations a software application should be able to perform – Create, Read, Update, and Delete; create data, have access to the data in the UI by reading the data, update or edit the data, and delete the data. CRUD apps consist of 3 parts: an API, a database, and a user interface (UI).

Assume that the data is your ideas or tasks, with crud:

- Create (a task/idea)
- Read (view/read the task/idea)
- Update (the task/idea)
- Delete (delete the task/idea)

---

### Create (a task/idea)

write down your thought as it pop up to the UI (your mind): a topic to think about deeply, projects ideas, business ideas, monthly/yearly goals or references to a specific to-do list, job applications, useful links, and so on. 

Use a notebook for quick ideas/tasks or the Quick Notes on your Mac, that's designed to be a quicker way to jot down things on your Mac without having to go in and out of the main Notes app (keep it in local storage until you call the api to create on database later).

In order to have everything stored and reachable easily (DB), use Notion, ClickUp or any other tool you prefer and use a suitable template which makes it a lot easier to store and sort everything.
 

### Read (view/read the task/idea)

categories your notes to tasks, business idea, projects, to-dos, and so on. So you can review your notes weekly. Or schedule a session to review your ideas in deep.
 

### Update (the task/idea)

During your review sessions, you may change priorities if needed, or add description or a link to a note or a thought.
or even change note category, like from business idea to a to-do list 😍.
 

### Delete (delete the task/idea)

After thinking deeply in a though or doing research on a business idea, you may find it worthless!
So here delete it permanently or just archive it into the forgotten land.


Simple, right? 😌

---

So Here we go, a productive mindset inspired by CRUD operations which are so fundamental in our tech world.

---


Thanks for reading 😃
Beginner VS Code Extensions for Development✨
Published: 2022-11-15 13:25:03

**01. [Live Server](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer)**
**02. [Material Icon Theme](https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme)**
**03. [Auto rename Tag](https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-rename-tag)**
**04. [Color Highlight](https://marketplace.visualstudio.com/items?itemName=naumovs.color-highlight)**
**05. [HTML to CSS autocompletion](https://marketplace.visualstudio.com/items?itemName=solnurkarim.html-to-css-autocompletion)**
**06. [Indent-rainbow](https://marketplace.visualstudio.com/items?itemName=oderwat.indent-rainbow)**
**07. [VS Color Picker](https://marketplace.visualstudio.com/items?itemName=lihui.vs-color-picker)**
**08. [Image preview](https://marketplace.visualstudio.com/items?itemName=kisstkondoros.vscode-gutter-preview)**
**09. [Prettier - Code formatter](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)**
**10. CodeSnap / [Polacode](https://marketplace.visualstudio.com/items?itemName=pnp.polacode)**
**11. [px to rem](https://marketplace.visualstudio.com/items?itemName=sainoba.px-to-rem)**
**12. [CSS Peek](https://marketplace.visualstudio.com/items?itemName=pranaygp.vscode-css-peek)**
**13. [JavaScript (ES6) code snippets](https://marketplace.visualstudio.com/items?itemName=xabikos.JavaScriptSnippets)**
**14. [Quokka.js](https://marketplace.visualstudio.com/items?itemName=WallabyJs.quokka-vscode)**
**15. [Code Spell Checker](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker)**
**16. [Error Lens](https://marketplace.visualstudio.com/items?itemName=usernamehw.errorlens)**

### And the last one is-
**[Code Time](https://marketplace.visualstudio.com/items?itemName=softwaredotcom.swdc-vscode)**

### This is for React users-

Those are React users they can only install only one extension and must set up Emmi only. then they can easily create their React Website.

### First one - **[React Extension Pack](https://marketplace.visualstudio.com/items?itemName=jawandarajbir.react-vscode-extension-pack)**

### The second one is - Emmi [This is the Emmi setup link- [https://dev.to/farhanacsebd/enable-emmet-support-for-jsx-in-vs-code-react-1lil]()]
Mastodon an Open Source Alternative to Twitter
Tags: mastodon, opensource, elestio
Published: 2023-10-11 12:16:00

---
title: Mastodon an Open Source Alternative to Twitter
published: true
date: 2022-11-15 13:05:45 UTC
tags: mastodon, opensource, elestio
canonical_url: https://elestio.hashnode.dev/mastodon-an-open-source-alternative-to-twitter
---

Project management is the cornerstone of any successful venture, whether its a large corporation, a startup, or even a personal project. Over the years, several project management tools have risen to prominence, each with its own set of features and capabilities. While Jira, Asana, and Trello have earned their places

<iframe src="https://www.youtube.com/embed/89KHuRUKAWY?feature=oembed" width="700" height="393"></iframe>

Mastodon is a great alternative to Twitter if youre looking for a more private and personal online communication platform. Its decentralized, free, secure, and supported by the development community (Open Source), so theres no reason not to give it a try!

Mastodon website [https://mastodon.social/](https://mastodon.social/?ref=blog.elest.io)

Mastodon iOS App [https://apps.apple.com/fr/app/mastodon-for-iphone-and-ipad/id1571998974](https://apps.apple.com/fr/app/mastodon-for-iphone-and-ipad/id1571998974?ref=blog.elest.io)

Mastodon Android App [https://play.google.com/store/apps/details?id=org.joinmastodon.android&hl=fr&gl=US&pli=1](https://play.google.com/store/apps/details?id=org.joinmastodon.android&hl=fr&gl=US&pli=1&ref=blog.elest.io)

Create your own Mastodon instance on Elestio [https://elest.io/open-source/mastodon](https://elest.io/open-source/mastodon?ref=blog.elest.io)

_Originally published at_ [_https://blog.elest.io_](https://blog.elest.io/mastodon-an-open-source-alternative-to-twitter/) _on November 15, 2022._
Why do you need an online Pharmacy Website?
Published: 2022-11-15 12:51:18

# Why do you need an online Pharmacy Website?

### 

With the world becoming smarter and more digital, online retailers and e commerce pharmacy website design or applications are becoming increasingly popular. Having the ability to get everything delivered to your home with discounts and online payment choices, as well as greater demand and business development for the seller, creates a win-win situation for both consumers and the store owner. If you haven’t already established an e-commerce pharmacy, here are the top reasons why acquiring a pharmacy web app is a good idea. Having an online website for pharmacists has many benefits such as.

1. Increase in sales and businessWhether you are in the pharmaceutical industry or have collaborated with a well-known brand, providing your customers, with an e-commerce website purchase option will help your brand gain popularity among consumers. With good shop marketing, you may build a brand reputation that will immediately lead to an increase in business and brand recognition. When your clients opt to buy medicine online, they can quickly visit your store and have the drugs delivered to their homes, saving them time and effort. Having sections for different brands of drugs or sections based on the discount range will help customers in finding the perfect medicine they require and that too easily.
2. Door-step deliveryDue to the e-commerce pharmacy website designs, the customers are preferring these online services for having medicines delivered to their homes with just one click. With an online pharmacy website design or app, you no longer need large warehouses in each location to supply and handle the items. You may list any of the brands on your website and ship straight to all of your consumers from a single spot. The central distribution site reduces superfluous maintenance and warehousing costs while also making delivery easier.

You no longer need massive warehouses in each area to provide and manage the merchandise with an online [pharmacy website design](https://www.cronj.com/blog/pharmacy-website-design-and-app-development) or app. You may list any of the brands on your website and ship to all of your customers from a single location. The central distribution center minimizes unnecessary maintenance and warehousing expenses while also simplifying deliveries.

1. Other benefits
- People who live far away from their parents appreciate e commerce [pharmacy website](https://www.cronj.com/blog/pharmacy-website-design-and-app-development) design where they may purchase medications at their leisure and have them delivered directly to their family.
- A time-saving solution for a consumer who finds it difficult to visit medical stores in search of a certain medication.
- Recorded drugs and prescriptions make it easier for a consumer to acquire medicine in the future, even if he does not have the prescription with him.
- There are no infrastructure or order management fees.
- A local pharmaceutical business is given the opportunity to experiment with a digital marketplace.
Introduction to Cloud Computing 1
Tags: cloud
Published: 2022-11-15 12:46:45

## Definition
According to [NIST](https://www.google.com/search?q=nist&oq=NIST&aqs=chrome.0.0i355i512j46i199i465i512j0i20i263i512l2j0i512j46i175i199i512j0i512l2j46i512j0i512.13759j0j9&sourceid=chrome&ie=UTF-8) (National Institute of Standards and Technology), Cloud Computing is a model for enabling [ubiquitous](https://www.google.com/search?q=ubtiquous&oq=ubtiquous&aqs=chrome..69i57j0i10i433i512l2j0i10i512l7.4444j0j9&sourceid=chrome&ie=UTF-8), convenient and on-demand network access to a shared pool of configurable computing resources such as networks, servers, storage, application and services. 
 

![Cloud services](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pi9xcebcd2h3mmylu2au.png)
Breaking the terms into bits (Cloud and Computing), 

- CLOUD: 
  is a metaphor for networks and the Internet, and refers to an abstraction of the Internet and the infrastructure strengthening  it.
 
- COMPUTING:
 is the provision of cloud services by powerful computers with a range of functionalities, resources and storage. 

NOW, Cloud Computing can be viewed as the delivery of on-demand and measured computing services over the Internet instead of having it locally or "traditionally" or on-premises.

## CLOUD SERVICES AND APPLICATIONS AROUND US

##  As individuals 
   

- Cloud Music 
Amazon Cloud Music, Google Play Music, My Music Cloud and iTunes Match are examples.


- Cloud Videos and Photos 
Google Photos, Dropbox, Adobe Creative Cloud, iCloud, Flickr and Amazon Photos are examples.

- Cloud Documents
iDrive, GoogleDrive, DropBox and PCloud are examples.


## For Enterprises

- Videoconference
- Livestream  and many more

## For Government 

- e-government Services or Digital Government Services like  processes available by the government online. Examples of such services can be anything from filling out forms to applying for a new driver’s license to researching public records regarding the inner workings of a specific governmental agency.
I want to resample an audio file in my local environment to 16k.
Published: 2022-11-15 12:30:15

I have written the code but it does not work.
Also, I don't know if the code is wrong or how to receive the audio file after resampling.
I would appreciate any advice you could give me.

```
`

<script>  

	var audioData = [test.mp3]; //audio file in my local 
	var bufferSize =1024;

	var context = new AudioContext();

	
	var oldSampleRate = context.sampleRate, newSampleRate = 16000;


		
		processor.onaudioprocess = function(e){
			
			var inputData = e.inputBuffer.getChannelData(0);
			
			var ResampleData = interpolateArray(inputData, inputData.length * (newSampleRate/oldSampleRate)  );

			
			bufferSize = inputData.length * (newSampleRate/oldSampleRate);

			var bufferData = new Float32Array(bufferSize);
				for (var i = 0; i < bufferSize; i++) {
					bufferData[i] = ResampleData[i];
				}
			audioData.push(bufferData);

		};


		//How do I receive the finished data?
		var newaudio = "???"

</script>`
```
Internals of Django framework
Tags: django, orm, djangorestframework
Published: 2022-11-15 12:01:22

Django is the web framework for full stack development. It is known for battery-included framework and rapid development with lots of features built in.

It has built in ORM, Multipl Database backend support, View caching, Database routing, Middlewares etc built in without any extra library installation.

Have your wondered how does it works internally?

Hitul Mistry presented a talk at Europython 2022, Dublin, Ireland on topic Walk-through of Django Internals.

Blog and video can be found on https://digiqt.com/blog/europython-internals-of-django/?utm_source=dev-to

Blog has video, presentation link and also summary content of the video.
What is data science and what is it for?
Tags: machinelearning, datascience, programming, python
Published: 2022-11-15 11:49:40

The evolution of digital life has generated a new wealth for the business world: data.

The record of information that is produced at all times, whether by people or machines, which can be transformed into powerful business tools for companies.

But for these data to become sources of knowledge, there must be someone who studies them and correctly analyzes them, which is where the area of data science comes in.

What is data science?
Data science is a comprehensive and multidisciplinary field of study, comprising data, algorithms and technologies with the ability to extract valuable insights from both structured and unstructured data.

The extraction of this information aims to find answers to complex problems and situations, identify trends and generate insights through different types of analysis.

The information obtained from data science, in most cases, is used to make important decisions, such as the creation of new products or services, product updates, business changes and even what the future of an organization will be. .

What is Data Science for and how does it work?
The main function of data science is to transform data, structured or not, into knowledge for a company or project. This is because isolated or disorganized data and without analysis are just point information. Therefore, they need to go through a process, such as data science, to be a source of knowledge, which can serve as a basis for actions and improvements that provide companies with a competitive advantage.

What are the processes in Data Science?
The practice of data science has some fundamental steps to reach the answers that a project or a company needs.

Below we see the sequence of these steps.

Data collect.
The process begins with data collection. Data sources may vary depending on each company, but CRM systems, ERPs, mobile devices, IoT devices, cloud data, among other diverse sources, can be used.

Transport and data protection.
In this part of the process, the data collected from the various sources that the company has are moved to corporate networks, where they are centralized so that the responsible professionals can continue the process.

Data storage and processing.
After transport, the data needs to be stored in infrastructure that is capable of processing and validating it properly.

Data analysis and sharing of results.
After finishing the more “operational” stages, the main stage, data science, begins: data analysis.

This is one of the most important points in the data scientist's work, where algorithms, calculations, formulas and analysis models are applied to obtain the desired answers and insights.

Tools for data science.
The day-to-day of those who work with data science can involve different tools, according to the specificity of the professional's role and the type of company.

Among the most used programming languages in the area, we can mention R and Python, both open source, easy to use and accessible to different levels of professionals.
C++ dagi 6-dars
Tags: beginners, programming, tutorial, cpp
Published: 2022-11-15 11:36:06

# C++ Matematik Funksiyalar

Assalomu Alaykum bugun siz bilan bir qancha imkoniyatlarga ega funksiyalar haqida ma'lumotga ega bo'lamiz. Bugun siz bilan matematik funksiyalar haqida gaplashamiz. **C++** dasturlash tilida raqamlarda matematik vazifalarni bajarish imkoniyatini beradigan ko'pgina funksiyalar mavjud.

## MIN va MAX

Funktsiya eng yuqori qiymatini topish uchun foydalanish mumkin X va y :`max(x,y)`

```cpp
cout << max(13, 15);
```

Va funktsiya x va y ning eng past qiymatini topish uchun ishlatilishi mumkin :`min(x,y)`

```cpp
cout << min(5, 10);
```

## C ++ `<cmath>` Kutubxonasi.

`sqrt`(Kvadrat ildiz), `round`(sonni aylantiradi) va `log` (natural logarifm) kabi boshqa funktsiyalarni  `<cmath>` kutubxonasida topish mumkin :

```cpp
#include <iostream>
#include <cmath>
using namespace std;
​
int main() {
  cout << sqrt(64) << "\n";
  cout << round(2.6) << "\n";
  cout << log(2) << "\n";
  return 0;
}
8
3
0.693147
```

## Boshqa matematik vazifalar.

Boshqa Math funktsiyalari ( `<cmath>`kutubxonasida) ro'yxatini quyidagi jadvalda topish mumkin:



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



**Bugungi mazular shulardan iborat edi hozircha shu mavzular haqida gaplashgan bo'ldik lekin kuzatishda to'xtatmang ko'rushguncha hurmatli Bo'lajak Dasturchilar.**  🖐️🖐️


@dawroun
Git power tool: patch
Tags: git, github, productivity, versioncontrol
Published: 2022-11-15 11:23:10

Git has many tools that you don't normally encounter in day-to-day use.

One very powerful one I've started using recently is the "patch" flag.

Say you're working on a branch, and you discover you need something you've already implemented on a different branch. Not the whole change, just a tiny bit (in case you want the whole change, `git cherry-pick` or `git merge` are more appropriate).

Instead of manual switching and code-copying, you can use `git checkout --patch` (or `git checkout -p` for short).

It works like this:
I'm on branch `featureA` and want to copy things from branch `featureB`.

I execute:
```
$ git checkout -p featureB
```
(If you know which particular file or directory you want to patch, you can also add that as the last argument, like `git checkout -p featureB src/my_page.tsx`)

I now get walked to all parts of the change (called hunks) and get asked if I want to apply them or not:
![Screenshot of patching with git](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7sgp1nsqbzr9jn64wd3e.png)

Very convenient!
Stack Data Structure part 1
Tags: programming, tutorial, cpp, datascience
Published: 2022-11-15 11:17:03

Stack bu **LIFO**(last in first out) yoki **FILO**(first in last out) patterni bo'yicha ishlaydigan linear data struktura.

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

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


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



- Bu Data strukturani `stack` deb nomlanishi sabab, bular haqiqiy to'plamdek ishlashidir misol uchun, kartalar va plastiklar to'plami kabi.

- Stack bu cheklangan joyga ega abstract ma'lumot turidir. 
- Bu elementlarni qo'shish yoki olib tashlash imkonini beruvchu oddiy data struktura.

- Tartib **LIFO** yoki **FILO** bo'lishi mumkin.


Digital example of stack:

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


### Standart stack operations:

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


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tsv82hk7xjxzs6dvpq59.png)
API automation using the cypress API plugin “cypress-plugin-api”
Tags: api, testing, cypress, tutorial
Published: 2022-11-15 11:15:06

**Problem Statement**
At present in Cypress, we don’t have a way to see API calls in the Cypress App UI itself. Using this plugin you are not only automate the APIs but also examine your APIs,Data visually.

The biggest benefit is the same as with tools like the postman. you get visual feedback and you get to examine your APIs, explore the data, a simple table for viewing cookies, and color coding of methods in UI view and in the timeline.

Please find more detail with demo under the Below link 

https://qaautomationlabs.com/cypress-api-automation-using-plugin-cypress-plugin-api/
Best VS Code Extensions for HTML CSS and JavaScript
Tags: html, css, javascript
Published: 2022-11-15 10:52:05

In this video tutorial, we are going to see Best VS Code Extensions for HTML/CSS and JavaScript. You can also say that front-end developer or web designer. 

Those are languages used to design webpages. So, I'm going to share with you the VS Code Extension that helps us to save a bunch of time to create a project. 

1- Atom One Dark Theme which was used to design the code attractive, I really like the theme, So, I've been using the Atom theme. 

2-JavaScript ES6 JavaScript extension is very helpful for us to suggest the JS code with the help of Extension. I also use the extension on my VS Code Editor. 

3- Live Server If you are working client-side project, then the Live Server Extension is very important to you. You can use that and display code output on the browser without refreshing a page. 

4- Prettier - Code formatter Prettier Code Formatter which is used to format the code on your editor. You can easily check out the starting and closing project codes. 

5-Path Intellisense Path Intellisense which used to suggest the path where you want to get the files on your project. you can easily find the particular path.

{% embed https://www.youtube.com/watch?v=36FJCRV4JJs %}
What is Algorithm in C++?
Tags: beginners, programming, tutorial, cpp
Published: 2022-11-15 10:44:51


Algoritm - ma'lum bir muammoni hal qilish yoki hisob kitob amalga oshirish uchun qo'llaniladigan protsess yoki qoidalar to'plami.

Algoritmlar odatda quyidagi belgilarga ega:
- **Input**: 0 yoki bir necha inputlar;
- **Output**: 1 yoki undan ortiq outputlar;
- **Aniqlik:** Aniq va sodda instruksiyalar;
- **Cheklanganlik:** Cheklangan miqdordagi instruksiyalar;
- **Effectiveness:** Har bir instruksiyani umumiy jarayon uchun katta ta'siri bor.


### Hayotiy misol:

Limonad tayyorlash jarayoni.

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

### Dasturlashdan misol:


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bd1odvp5k8cmkcr9t20s.png)
How To Make Greens Powder Taste Better 2022
Published: 2022-11-15 10:43:01


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


How To Make Greens Powder Taste Better 2022: Super greens powders are a healthy way to add extra nutrition to your diet, but frequently at the cost of flavor. Due to accessibility issues and the desire for better-tasting food, many people find it difficult to incorporate healthy superfoods into their regular diets.

The good news is that super green powders are more palatable than ever. They come in a variety of flavors, including chocolate and strawberry. Super greens powders are a nutritious way to supplement your diet. They can also make your food taste better by adding some superfoods to it. Nothing is worse than being forced to tolerate the bitter taste of your greens powder just because it is “healthy.” Although a super greens powder has a well-established reputation in the health and wellbeing industry, how can you improve the taste of greens powder? 

[Read Full Artical](https://trustyfashion.com/how-to-make-greens-powder-taste-better-2022/)