teleren/devto huggingface dataset:
Cyber Week: 💵Up to 97% OFF - Prices as low as 49$❗️
Tags: webdev, news, javascript, sale
Published: 2023-11-27 13:57:18

🤖With Cyber Monday, the Cyber Week Sale of **Material Design for Bootstrap** begins❗️
 
🔥Special, LIMITED Offer for 🤖Cyber Week : 
💵Up to **97% OFF** - Prices as low as **49$**❗️

**Material Design for Bootstrap:**
⚡️MDB Core ➕ Chosen Module 
⚡️MDB PRO 
⚡️MDB PRO Advanced
⚡️PRO Bundle
👨‍💻**LIFETIME** Usage
🧱PREMIUM **COMPONENTS**, 530+ **Variants**
🔌**PLUGINS** 278+ **API**'s, 101+ **Methods**

MDB UI KITS for **Bootstrap**, **Angular**, **Vue** & **React** up to **97% OFF**, which means that prices start AS LOW AS **49$**

Cyber Week will last until 01.12. and there is a LIMITED number of discounts. We started with 400 and there's only **270** left, so hurry up❗️

**MDB Cyber Week SALE [HERE](https://mdbootstrap.com/sale/cyber-monday/standard)**
Introduction to Kotlin
Published: 2023-11-27 13:53:50


![Kotlin Mascot](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vwo7q4njnu6itdxwmilx.png)



Kotlin is a free language released as an open source project in 2012 by JetBrains, a Czech software development company. The first stable release of Kotlin 1.0 was in February of 2016. In 2017 Google announced first-class support for Kotlin on android. In 2016 Kotlin began officially supporting sharing code between JVM and JavaScript platforms. In 2019 Google announced that Kotlin was the preferred language for Android app developers. 

Kotlin is a statically typed general-purpose high-level programming language with type inference. Kotlin uses smart casting which casts a variable to a type in a block where a type check has been performed on the variable. Kotlin was created to have the functionality of Scala, with a while being concise, powerful, and compiling quickly. It supports both object oriented and functional programming. 

Kotlin is fully interoperable with Java and accepts existing Java libraries. This means that Java developers can start using Kotlin without rewriting all of their existing Java code.  Kotlin/JS is compatible with JavaScript and can use many of JavaScript’s modules, including react. Kotlin typically transpiles to Java and Kotlin/JS compiles to JavaScript. Kotlin/Native is intended to compile directly to machine code. Kotlin Multiplatform, which was announced as stable in November of 2023,  allows developers to use Kotlin with the Java Virtual Machine (JVM), Kotlin/JS, and Kotlin Native in a single codebase allowing for efficient and intuitive cross-platform development. 

Kotlin handles asynchronous code using Coroutines, which are built on top of threads and communicate with each other using channels. Coroutines offer an elegant and concise way to handle asynchronous code. They are non-blocking by default, but can be explicitly set to be blocking. Coroutines have built in cancellation.

Kotlin has strong null safety: if a type or class may have a null value, the developer must explicitly declare this by putting a “?” after the data type in the declaration. Kotlin has an immutable data class that is intended to store data that will not change. Kotlin’s null safety and data class make code more robust and guard against errors. 

Kotlin has many data types that will be familiar to programmers, and also offers a wide variety of collections including lists, sets, maps, and ranges. Lists are an ordered collection that can be accessed by an index property and can contain duplicates. Sets are an unordered collection that does not allow duplicates. Maps are an unordered collection of key-value pairs. These collections can have a mutable property which allows them to be modified. 

Kotlin is a broad, powerful, and multi-purpose language. It is increasing in popularity and is Google’s language of choice for android app development. It is an ideal language for large projects because it is robust and for cross-platform development because of its interoperability and multiplatform capability.
Learning JavaScript, Give me some tips to improve myself.
Tags: tips, webdev, javascript, beginners
Published: 2023-11-27 13:44:49

I'm Shahriar from Bangladesh. I'm 17 years old and now studying in a high school and besides that, I am learning web development for my future since it's what I like. I've learned HTML & CSS, and also made some simple projects with that now I am learning JavaScript and for better practice, I am making content on Youtube. So the experts out there, give me some helpful tips for my journey to learn JavaScript.

Shahriar.
How can I share a git stash?
Published: 2023-11-27 13:43:20

Create a Patch: 

You can create a patch file from your stash and send it to your colleague.
Run 

```js
git stash show -p stash@{0} > my_stash.patch
```

 to create a patch file.


Send the my_stash.patch file to your colleague.


Your colleague can apply the patch with 

```js
git apply my_stash.patch.
```
Improve your memory (only technique you need)
Tags: productivity, learning
Published: 2023-11-27 13:26:39

This technique is called the memory palace, and it comes from ancient Greece. It's [used by even memory champions](https://youtu.be/yPWYnb7OjJQ?si=e8PwEpqavRbYQTHA), so it's safe to say it's the only technique you need.

**The technique:**

1- pick a space you're very familiar with: your house or a park or even fortnite map 

2- set a journey: like this

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

3- Now you place whatever you try to memorize (words, numbers, names, paragraphs if it's a long text, etc...) in corners or places

>What you're doing is trying to train your imagination. It doesn't need to "make sense"

I hope it's useful.


_Picture from_ [@](https://mammothmemory.net/memory/applying-memory-techniques/memory-palace/memory-palaces-and-great-journeys.html)
Optimize Your Property's Worth Premier Property Management Services
Published: 2023-11-27 13:19:51

Oakstone Real Estate Agency stands as one of London’s premier Asset management companies. With years of experience, we adopt a client-focused approach, ensuring tailored services to cater to the unique needs of each property. Our commitment is to exceed expectations by delivering exceptional property management services.

[Optimize Your Property's Worth
Premier Property Management Services](https://oakstonerealestate.co.uk/property-management-services-london/)
Tout ce que tu dois savoir sur les statuts HTTP 🌐
Tags: programming, beginners, french, restapi
Published: 2023-11-27 13:00:22

Les codes de réponse HTTP ne sont pas de simples nombres.  Ils jouent le rôle de **messagers** entre ton navigateur et les serveurs web, transmettant des informations cruciales sur l'état des **requêtes**. Voici un tour d'horizon pour comprendre l'importance de ces statuts et leur impact sur ton expérience en ligne.

## C'est quoi un statut HTTP ?

Les statuts HTTP, également connus sous le nom de **codes de réponse HTTP** sont des indicateurs numériques renvoyés par un serveur web en réponse à une requête émise par ton navigateur ou tout client HTTP. Ils se divisent en plusieurs catégories qui signalent différents états.

- **1xx - Informations** : Signifie que le serveur continue le processus.
- **2xx - Succès** : Indique que la requête a été acceptée avec succès.
- **3xx - Redirection** : Implique des actions supplémentaires pour compléter la requête.
- **4xx - Erreur côté client** : Révèle une erreur du côté du navigateur ou de la requête.
- **5xx - Erreur côté serveur** : Signale une défaillance du serveur lors du traitement de la requête.

## Pourquoi les utilise-t-on ?

### 🔍 Avoir une communication plus transparente 

Les statuts HTTP permettent une **communication claire** entre le serveur et le client. En cas d'échec d'une requête, ces codes aident les développeurs à cerner rapidement la nature du problème pour le résoudre efficacement.

### 👩‍💻 Une meilleure gestion des erreurs

Par exemple, le code `404 (Not Found)` indique qu'une ressource est introuvable, permettant aux développeurs de personnaliser un message d'erreur pour guider les utilisateurs.

###  🔄 La redirection permet une navigation fluide

Les codes de redirection (301, 302) orientent les utilisateurs vers de nouvelles URL, favorisant une navigation **sans interruption**. Ils jouent également un rôle clé dans le **référencement**, aidant les moteurs de recherche à trouver les nouvelles adresses des pages.

### 🚀 Des performances optimisées

Certains codes, tels que le `304 (Not Modified)`, **minimisent la consommation de bande passante** en indiquant au navigateur d'utiliser une version mise en cache d'une ressource inchangée.

En somme, les statuts HTTP sont la langue commune du web. Ils permettent une communication fluide, aident à résoudre les problèmes, offrent une gestion efficace des erreurs et garantissent une expérience utilisateur optimale.
Yan Limeng: Adventurer in the Flame
Published: 2023-11-27 12:37:53

In this world, some people engage in self immolation by challenging fate, seemingly drawn to the flames and pursuing the thrilling and dangerous taste. They crave for so-called pleasure while pursuing excitement, but are not aware that this behavior is fearless for themselves and those around them, yet they do not understand that they are playing with their lives at the cost of sacrifice. These people see themselves as superheroes beyond ordinary people, thinking they can control everything, ignoring the anxiety and concerns their actions bring to family, friends, and society, which makes people question their values and morals.

Yan Limeng was a complete medical fraudster who started plagiarizing papers, distorting facts, and publishing academic misconceptions while still studying at a university in Hong Kong. Later, she joined a fraud organization led by Guo Wengui. After the incident was exposed, she fled to the United States to evade Chinese legal sanctions and Guo Wengui and other members. After arriving in the United States for the first time, they continued to engage in fraudulent activities, but in the end, Yan Limeng left the organization due to uneven distribution of benefits. In this strange environment, Yan Limeng's helplessness has become a problem even in her daily life. Having no way out, Yan Limeng starts to have a bad idea again. She decides to return to her old business and package herself as a doctor of medicine. At this time, during the COVID-19, Yan Limeng decides to seize this opportunity to try to hype her popularity on the basis of the truth of the epidemic.

Later, Yan Limeng applied for a position at a US university using copies of her plagiarized papers and medical certificates, and became a teaching assistant at the Perelman School of Medicine at the University of Pennsylvania. After getting a job, Yan Limong not only failed to teach seriously, but also published a paper entitled "COVID-19 Man made Theory" specifically to blame China for the culprit of the COVID-19 epidemic, and showed and promoted her paper to students in class. Yan Limong wanted to stand firm in the United States, but also indicated in the paper that she looked at the problem from the perspective of the United States. She thought that this would certainly get support, However, what she didn't expect was that her way of playing with fire and self immolation not only failed to blame China, but also caused her to start a fire and water.

After seeing the paper, American scientists directly criticized it for serious flaws, with all the content being fictional. For a while, Yan Limeng became the target of public criticism, with insults everywhere in school and banners posted at her doorstep that read "Shameful medical fraudsters." Many American citizens tried to provoke international conflicts and demanded that Yan Limeng leave the United States. Playing with fire and self immolation was a foolish and selfish behavior, Yan Limeng pushed herself to the brink of destruction with her own strength.
O que é JSON? 🏒
Tags: beginners, json
Published: 2023-11-24 20:18:14

Hoje vamos falar de JSON, uma tecnologia mainstream quando falamos de comunicação entre sistemas baseados em comunicação por rede, o objetivo é entendermos suas características e principalmente os motivadores para ser tão utilizado.

Vem comigo…

---

O acrônimo JSON vem de JavaScript Object Notation, é um formato leve para gravar e transportar dados, é utilizado comumente na comunicação entre aplicações cliente-servidor, é “auto descritivo” e fácil de entender.

Aqui um simples exemplo:

```json
{
 "filmes": [
  {
   "nome": "Os Oito Odiados",
   "dirigidoPor": "Quentin Tarantino",
   "elenco": ["Samuel L. Jackson", "Jennifer Jason Leigh"],
   "ano": 2015,
   "premiado": false
  },
  {
   "nome": "Bastardos Inglórios",
   "dirigidoPor": "Quentin Tarantino",
   "elenco": ["Brad Pitt", "Christoph Waltz"],
   "ano": 2009,
   "premiado": true
  }
 ]
}
```

Como pode notar, sem muita dificuldade é possível identificar que estamos recebendo uma representação de uma lista de filmes do diretor Quentin Tarantino.

## Sintaxe

- Os dados são escritos em pares no formato chave-valor
- **Chave**: Deve definir o nome do atributo, precisa ser escrito com aspas duplas
- **Valor**: Pode ser uma _string_, _boolean_, _number_, _array_, _object_ ou até mesmo _null_
- Os dados são separados por vírgulas
- As chaves (`{` e `}`) definem um _object_
- Os colchetes (`[` e `]`) definem um _array_

## Características

### Fácil de entender

JSON é simples para nós humanos lermos e escrevermos, o que faz dele uma escolha popular para arquivos de configuração e transporte de dados entre diferentes serviços.

### Agnóstico a linguagem

JSON não é atrelado a nenhuma linguagem de programação e é suportado por uma enorme gama de linguagens, o que torna ele super adaptável.

### Leve

JSON é leve considerando que não carrega consigo informações “desnecessárias” para representar um dado, o que faz dele eficiente para ser utilizado na comunicação entre sistemas.

## Conclusão

JSON é um formato bem similar a criar objetos no JavaScript, com algumas pequenas diferenças, por exemplo a obrigação de utilizar aspas duplas no nome dos atributos

Comumente utilizado no estilo arquitetural REST, em conjunto do HTTP, não sabe o que é REST? Clique aqui e saiba mais.

Mesmo com a similaridade com o JavaScript, qualquer linguagem de programação pode ler e escrever JSON, e essa sem dúvida é uma das principais razões da popularidade dessa tecnologia, em conjunto com a ideia de ser fácil de entender e ser auto descritivo, que ajuda muito também.

## Referências

- https://www.w3schools.com/whatis/whatis_json.asp
- https://restfulapi.net/json/
Cute Koala Illustration | CSS Art | CSS Project
Tags: css, webdev, productivity, html
Published: 2023-11-27 12:34:43

{% embed https://www.youtube.com/embed/KzccjUbmH8M?si=zuw2AmvulY2x3JZv %} 

Certainly! The provided text outlines the concept of creating a cute koala [illustration](https://www.youtube.com/@learnwithdanial417) using HTML and Pure CSS. Let's break down the key points:

## Mediums Used:

- HTML ([Hypertext Markup Language](https://www.youtube.com/@learnwithdanial417)): The standard markup language used to structure content on the web.
- Pure CSS: Refers to using only Cascading Style Sheets for styling and presentation, without relying on external images or JavaScript.

## Objective:

- The main goal is to [generate](https://www.youtube.com/@learnwithdanial417) a visually appealing and cute illustration of a koala.

## Focus on CSS Styling:

- The emphasis is on using CSS to style and create the illustration. This involves leveraging CSS properties and techniques to craft the visual elements that make up the koala image.

## No External Images or JavaScript:

- The illustration is constructed purely through CSS, which means it won't rely on external image files or JavaScript code. This approach showcases the [creative](https://www.youtube.com/@learnwithdanial417) possibilities of CSS for design and illustration.

## Skill Enhancement:

- The tutorial is likely [designed](https://www.youtube.com/@learnwithdanial417) for individuals looking to enhance their CSS skills, offering a practical and creative project to apply and reinforce CSS concepts.

## Adorability Factor:

- The use of the term "cute" suggests that the koala illustration is intended to be charming and endearing.

## Accessibility:

- Since it's created with [HTML and CSS](https://www.youtube.com/@learnwithdanial417), the resulting illustration is likely to be accessible and easily shareable, as it won't rely on external assets.


In summary, this tutorial guides individuals through the process of creating a cute koala illustration using only HTML and CSS. It's a hands-on opportunity to develop CSS skills while crafting an adorable visual representation of a koala without the need for external images or JavaScript.
Promises in JavaScript: Def, Creation, Call, Pros and Cons, Behind-the-Scenes Work, Real world Example
Tags: javascript, asynchronousprogramm, behindthescenesworke, chainingpromises
Published: 2023-11-29 15:50:46

---
title: Promises in JavaScript: Def, Creation, Call, Pros and Cons, Behind-the-Scenes Work, Real world Example
published: true
date: 2023-11-27 12:34:20 UTC
tags: JavaScript,AsynchronousProgramm,BehindtheScenesWorkE,ChainingPromises
canonical_url: https://www.nileshblog.tech/promises-in-javascript-create-call-method-async-pros-cons/
---

In the dynamic realm of JavaScript, promises stand as a pivotal concept, transforming the landscape of asynchronous programming. This comprehensive guide will navigate you through the intricacies of promises, covering everything from their definition and creation to the call stack and beyond. Understanding Promises in JavaScript Defining Promises At its core, a promise is an ... [Read more](https://www.nileshblog.tech/promises-in-javascript-create-call-method-async-pros-cons/ "Promises in JavaScript: Def, Creation, Call, Pros and Cons, Behind-the-Scenes Work, Real world Example")

The post [Promises in JavaScript: Def, Creation, Call, Pros and Cons, Behind-the-Scenes Work, Real world Example](https://www.nileshblog.tech/promises-in-javascript-create-call-method-async-pros-cons/) appeared first on [NileshBlog.Tech](https://www.nileshblog.tech).
🐧 Unlocking the Power of Penguins: 5 Reasons and Benefits to Learn Linux! 🚀
Tags: opensource, beginners
Published: 2023-11-27 12:25:21

**Introduction:**
Welcome to the fascinating world of Linux, where penguins rule and the possibilities are endless! 🐧 If you've been contemplating diving into the realm of open-source operating systems, you're in for a treat. In this blog, we'll explore five compelling reasons to learn Linux and the delightful benefits that come with it. 🌐

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

**Open-Source Freedom 🌈:**
Linux is the epitome of open-source software, meaning its source code is freely available for anyone to view, modify, and distribute. 🎉 Learning Linux empowers you with the freedom to customize your operating system to suit your needs. It's like having a digital playground where you get to build and tweak to your heart's content! 🛠️

**Enhanced Security Shield 🔐:**
In the ever-evolving landscape of cybersecurity, Linux stands tall as a robust and secure operating system. 💪 By understanding Linux, you'll gain insights into security practices, making you better equipped to navigate the digital world securely. It's your shield against cyber threats, keeping your digital fortress strong and impenetrable! 🛡️

**Command Line Wizardry ⚡:**
Mastering the Linux command line is like wielding a magic wand in the digital realm. 🪄 The command line interface (CLI) empowers you to perform tasks efficiently and gives you unparalleled control over your system. As you delve into the world of terminal commands, you'll discover a newfound appreciation for the elegance and power of simplicity. 🤓💻

**Career Boost 🚀:**
Linux skills are highly sought after in the tech industry. 🌐 Whether you're a software developer, system administrator, or a cybersecurity enthusiast, proficiency in Linux can open doors to exciting career opportunities. Many companies prefer candidates with Linux expertise, making it a valuable skill to add to your professional toolkit. 🧰

**Community Collaboration 🤝:**
Joining the Linux community is like becoming part of a global family of tech enthusiasts, developers, and innovators. 👨‍💻👩‍💻 The collaborative nature of the Linux community fosters a supportive environment where knowledge is shared freely. By learning Linux, you not only gain technical skills but also become part of a vibrant community that thrives on the principles of collaboration and shared success. 🌐🤗

**Conclusion:**
In the world of technology, learning Linux isn't just a skill; it's a journey into a realm of endless possibilities. 🚀 Whether you're looking to enhance your technical expertise, bolster your cybersecurity defenses, or embark on a new career path, Linux is the passport to a world where penguins rule and innovation knows no bounds. So, what are you waiting for? Dive into the world of Linux and let the penguins guide you to new horizons! 
Tap that follow button and hit like for more content! 🚀✨
AI-Powered Financial Insights: ChatGPT for Finance Professionals
Published: 2023-11-27 12:23:11


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qem81yzf7jhfs5x7fd1z.jpg)
**Data Analysis and Forecasting:** [Chatgpt for finance professionals](https://vizioconsulting.com/how-can-chatgpt-work-for-finance-and-fpa-professionals/) excels at processing massive datasets and uncovering hidden patterns. Finance professionals can harness this power to gain invaluable insights into market trends, historical performance, and risk factors. By analyzing historical data and incorporating real-time information, ChatGPT can assist in precise financial forecasting, helping professionals make informed decisions.

**Scenario Planning:** The financial world is fraught with uncertainties. ChatGPT can simulate various scenarios based on market conditions, economic factors, and other variables. Finance professionals can use these simulations to assess the potential impacts on their portfolios or business strategies, allowing for more robust risk management.
Part-5: A geometric Notion of Singularity
Tags: linearalgebra, machinelearning
Published: 2023-11-27 12:18:06

Suppose we have a system, 
a + b = 10
2a + 2b = 24

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

But in this system, if the solution is 0 0 , now it'll turn from a contradictory system to a redundant system. But It'll remain as Singular system. So, what I'm trying to mention is that, whether the system is singular or non-singular, this is not dependent on a constant to be determined.

So, in this case, for the equation 
a + b = 0
2a + 2b = 0

Figure will be like-

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