teleren/devto huggingface dataset:
New Features in ES2023
Tags: javascript, webdev, news, discuss
Published: 2023-06-23 06:34:45

## **New Methods in `Array.prototype` - Copy Array**

The `reverse()`, `sort()` and `splice()` methods on **Array.prototype** mutate the array in place. To avoid the mutation es2023 introduced the equivalent methods that returns the copy of the array on which these operations are performed.

**toReversed()** method
```javascript
const original = [1, 2, 3, 4];
const reversed = original.toReversed();

console.log(original);
// [ 1, 2, 3, 4 ]

console.log(reversed);
// [ 4, 3, 2, 1 ]
```

**toSorted(compareFn)** method
```javascript
const original = [1, 3, 2, 4];
const sorted = original.toSorted();

console.log(original);
// [ 1, 3, 2, 4 ]

console.log(sorted);
// [ 1, 2, 3, 4 ]
```

**toSpliced(start, deleteCount, ...items)** method
```javascript
const original = [1, 4];
const spliced = original.toSpliced(1, 2);

console.log(original);
// [ 1, 4 ]

console.log(spliced);
// [ 1, 2, 3, 4 ]
```

**with(index, value)** method
```javascript
const original = [1, 2, 3, 4];
const withThree = original.with(2, 5);

console.log(original);
// [ 1, 2, 3, 4 ]

console.log(withThree);
// [ 1, 2, 5, 4 ]
```

## **Use of Symbols as `WeakMap` Keys**
In JavaScript, `Objects` and `Symbols` are guaranteed to be unique and cannot be re-created, which makes them both great candidates for the `WeakMap` keys. Previous versions or specifications allowed only `Objects` to be used that way, but in es2023 we can use `Symbols` as the WeakMap `key`.

```javascript
const weak = new WeakMap();
const key = Symbol("ref");
weak.set(key, "ECMAScript 2023");

console.log(weak.get(key));
// ECMAScript 2023
```

## **Array find from last**
es2023 adds `findLast()` and `findLastIndex()` methods on `Array` and `TypedArray` prototype. They are similar to `find()` and `findIndex()` but iterates over items in reverse order.

```javascript
const isEven = (number) => number % 2 === 0;
const numbers = [1, 2, 3, 4];

// from first to the last lookup
console.log(numbers.find(isEven));
// 2
console.log(numbers.findIndex(isEven));
// 1

// from last to the first lookup
console.log(numbers.findLast(isEven));
// 4
console.log(numbers.findLastIndex(isEven));
// 3
```

## **Hashbang Grammar**
Hashbang, also known as a shebang is a sequence of characters at the beginning of an executable script that defines the interpreter for the program to be run on.

```javascript
#!/usr/bin/env node

console.log('hello');
```

With this change we would not require to invoke a file explicitly using node interpreter as `node <file-path>`

These new features will going to be very handy in lots of use cases. Hope you find it useful and are eagerly waiting to use these features in your upcoming projects.😀
How to use Enhanced Inventory Receiving on Transactions in QuickBooks Enterprise?
Published: 2023-06-23 06:12:48

Enhanced inventory receiving in QuickBooks is one of the best features and is known to manage the completely new procedures of paying and receiving the items. Moreover, it is one of the best features accessible in QuickBooks, as it changes past transactions when started. This particular feature manages the completely new process for receiving and paying the items. One can try to use the enhanced inventory receiving on transactions in QuickBooks enterprise using the steps below. Thus, make sure to read this post till the end. Or you can also consult our tech support professionals at QuickBooks payroll customer service  and we will provide you with instant support services. 
What happens after turning on EIR?
•	The bills do not increase the inventory items and also the bills that are generated from the items receipts no longer exchange items receipts. 
•	Furthermore, the accounts payable doesn’t get affected by the item’s receipts. 
•	The third-party applications that affect the inventory may not be able to work along with the EIR. 
•	Moreover, after the user turns on the EIR, the process generates receipts for each bill in the company file that carries items and thereby there is growth in the number of the transactions. 
Steps to activate the enhanced inventory receiving feature
The user can try to activate the enhanced inventory receiving feature using the set of steps below:
•	The very first step is to choose the edit menu 
•	After that click on the select item and inventory 
•	Once done with that, on the company preference tab, the user is supposed to click on enable below enhanced inventory receiving section. 
•	Also, the user will now get a warning message and he/she has to click on continue. 
•	The user will see a pop-up message that would ask for back up the company file. 
•	This might take some time due to the size of the company file. 
•	QuickBooks desktop will generate the review of all the modification that happened during the process. 

Read Also: [QuickBooks accountant desktop](https://www.hostdocket.com/update-quickbooks-desktop-to-the-latest-release/
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dx9kiieo61termrwgjcs.jpg))

By the end of this post, we believe that the user might be able to learn the steps to use enhanced inventory receiving on transactions in QuickBooks enterprise. Just in case you have any sort of queries or if you require professional guidance at any point in time, then in that case contacting our tech support professionals at QuickBooks payroll customer service is recommended. We are a team of certified QuickBooks professionals who work round the clock in providing immediate support services +1-844-405-0907.
Node.js Usage Statistics: What They Tell Us About the Future of Web Development
Tags: node, news, community
Published: 2023-06-23 06:06:18

Believe it or not, Node.js is 14 years old (2009)! In comparison, JavaScript is [28 years old (1995)](https://www.w3schools.com/js/js_history.asp) and the Internet is [34 years old (1989)](https://howoldistheinter.net/).

**Popularity often comes with misconceptions and rumors.**
And such is the case with Node.js. As this technology skyrocketed in popularity, a myriad of false beliefs came up, clouding the truth.

Even being a backend developer or a business owner, you might have noticed a lot of hype about Node.js. Well, that’s not just noise. It’s evidence of a newer, more powerful, and more advanced technology – runtime environment.

Since the inception of Node.js in 2009, backend developers have made the most of it by utilizing the capabilities and functionalities for Node.js development. Moreover, over the past years, there have been new releases and many updates as well. And the latest version of Node.js – [Node JS 20](https://radixweb.com/blog/what-is-new-in-nodejs-20)- has also increased curiosity among web developers.

In fact, if you are a novice to Node JS, you need to consider the possibilities and opportunities Node.js offers before adopting it.

## Statistics of Node JS Usages

1. With more than 6.3 million websites using Node.js, it has become the most widely used tool for web development in the United States.
2. The primary objective of Node.js is to build eCommerce, crowdfunding, IoT-driven, and payment-processing applications.
3. Giant companies like Netflix and PayPal experienced considerable improvements in performance and cost after implementing Node JS architecture.
4. Node JS reduced the loading time by 50% to 60%.
5. With the use of Node.js, development costs can be reduced by 58%.
6. 36.42% of professional developers prefer to use popular Node JS frameworks, libraries, tools, and IDEs for app development.
7. 46% of Node JS developers were between 25 to 35 years old.
8. Popular websites built with Node.js are Amazon, LinkedIn, Tumblr, Netflix, and PayPal.
9. 78% of Node JS downloads are for Linux, 17% are for Windows, and 5% for macOS.
10. 95% of Node JS developers use databases for their projects. Around 86% of developers use a library or front-end framework.
11. 85% of JavaScript learners enjoy the excellent accessibility of the process. According to 71% of JavaScript learners, the instructional resources are outstanding.

Further details, you can read here - [NodeJS Statistics](https://radixweb.com/blog/nodejs-usage-statistics).

Share your inputs and some more data - insights in order to make our Node community stronger.
jq package.json
Tags: minimalist, jq, npm
Published: 2023-06-23 05:57:05

---
title: jq package.json
published: true
description: 
tags: minimalist, jq, npm
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2023-06-23 05:55 +0000
---

```
jq ".scripts" < package.json
{
  "build": "webpack"
}
```

Minimalisme avorté
Appwrite OSS Fund Sponsors ImHex
Published: 2023-06-23 05:56:17

Hi readers 👋, welcoming you back to the "Appwrite OSS Fund" series, where we celebrate open-source maintainers. 🎉

## 🤔 What Is OSS Fund? 
On the 4th of May, the Appwrite team launched the [OSS Fund](https://appwrite.io/oss-fund), an initiative to support open-source project maintainers. Being an open-source company, we wanted to give back to the community and help as many people as we can. 

The OSS Fund is an initiative that is very close to our heart. 
Hear what our Founder and CEO has to say - The Appwrite Story:
{% embed https://appwrite.io/oss-fund-announcement %}

> ### 📢 Announcing The Eighteenth Project 
> After careful considerations from the committee we are thrilled to announce the eighteenth project: 

{% twitter 1669676699926110210 %} 

## 🤔 What Is ImHex?
[ImHex](https://github.com/WerWolv/ImHex) is a Hex Editor specifically geared towards reverse engineers, ROM hackers and programmers. At its core, ImHex lets you look at the raw bytes stored in files, loaded from a Process’s memory, from a Microcontroller’s RAM or many other sources.
Besides that though it has a powerful scripting language built-in to highlight and decode
data structures which were specifically designed for this purpose.
Summarized, it provides you with powerful data analysis tools which are often only found in expensive and proprietary tools.

## 🤝 Meet The Maintainer
[Nik](https://twitter.com/WerWolv) is the main maintainer and developer of ImHex amongst various other open source tools. He lives in Switzerland and work as an Embedded Electronics Engineer at the University of Applied Sciences of Bern.

## 💡 How Did The Idea Of ImHex Come Up?
Nik was frustrated with the current situation of Hex Editors out there. Either they were made by large companies that sold them for horrendous prices or they were made in the last century and haven’t been updated anymore since then. He was especially annoyed by the lack of proper Dark Themes in most of them.
Besides this he also really wanted to make his own Programming Language which turned out to be a perfect fit for an advanced Hex Editor like ImHex.

## 🚘 The Journey So Far
Nik created ImHex while he was still in University studying for his Bachelor’s degree. He originally posted it on some Discord servers and people got extremely hyped about it. Nik ended up posting it on Twitter later on which caused the whole Project to blow up over night. Within a few days the GitHub repository had over 10,000 Stars and he got emails from various people offering him support or even an internship at the ESA!

This was almost 3 years ago now. Now he is working full-time as an Embedded Software Engineer and maintain ImHex together with some friends in his free time. 

## 🗒️ Ending Notes

As Nik continues to build ImHex for the open source community, we want to thank maintainers like him for contributing back to the community.
E Sevai Maiyam in Madurai
Tags: webdev
Published: 2023-06-23 05:44:37

**[E Sevai Maiyam](https://g.page/r/CfJxs3_c7E_mEBM/)** is a government-run initiative that provides a variety of online and offline services to citizens of Madurai. The Maiyam was established in 2009 with the goal of making government services more accessible and convenient for citizens.

The Maiyam offers a wide range of services, including:

Aadhaar card enrollment and updation
PAN card registration and updation
Birth and death registration
Driving license renewal
Property tax payment
Water bill payment
Electricity bill payment
Passport application
Scholarship application
Job application
And much more
The Maiyam also offers a variety of training programs on computer literacy, e-governance, and other related topics. These training programs are designed to help citizens learn how to use the Maiyam's services and to become more digitally literate.
Explain JSON.parse vs JSON.stringify
Tags: webdev, javascript, beginners, tutorial
Published: 2023-06-23 05:38:45

JSON.parse and JSON.stringify are two JavaScript methods that are used to convert data between JavaScript objects and JSON (JavaScript Object Notation) strings.

### JSON.parse:
JSON.parse is a method that takes a JSON string as input and converts it into a JavaScript object. It is commonly used when you receive data from a server in JSON format and want to work with it as a JavaScript object.

   Example:
   ```javascript
   const jsonString = '{"name":"John", "age":30, "city":"New York"}';
   const obj = JSON.parse(jsonString);
   console.log(obj.name); // Output: John
   console.log(obj.age); // Output: 30
   console.log(obj.city); // Output: New York
   ```

In the example above, the JSON string `jsonString` is converted into a JavaScript object `obj` using JSON.parse. The properties of the object can then be accessed using dot notation.

### JSON.stringify:
JSON.stringify is a method that takes a JavaScript object as input and converts it into a JSON string. It is commonly used when you want to send data to a server or store it in a file as JSON.

   Example:
   ```javascript
   const obj = {name: "John", age: 30, city: "New York"};
   const jsonString = JSON.stringify(obj);
   console.log(jsonString); // Output: {"name":"John","age":30,"city":"New York"}
   ```

In the example above, the JavaScript object `obj` is converted into a JSON string `jsonString` using JSON.stringify. The resulting string can be transmitted or stored as JSON data.

Both JSON.parse and JSON.stringify are widely used for data serialization and deserialization in web applications. They facilitate the exchange of structured data between a client and a server or between different components of an application.

### Conclusion:

In conclusion, understanding the differences between JSON.parse and JSON.stringify is crucial for effective data manipulation in JavaScript. By utilizing these powerful methods, developers can seamlessly convert data between JSON strings and JavaScript objects, opening up endless possibilities for data handling and communication.

If you're looking for [professional web design services](https://getsmartwebsite.com/) that go beyond coding and encompass the full spectrum of user-centric design and development, visit GetSmartWebsite.com. Our team of skilled professionals is dedicated to creating visually stunning, high-performing websites that elevate your brand and engage your audience.
📣 Exciting Update: Introducing the version of the "Equals" Filter in Flotiq Headless CMS! 🚀
Tags: headlesscms, api, query, datafiltering
Published: 2023-06-23 05:38:41

We're thrilled to announce a powerful new feature in Flotiq headless CMS that will revolutionize your content filtering experience. Introducing the possibility where you can pass multiple items in the "Equals" filter, designed to provide even greater flexibility and control when querying your data.

🔎 What is the "Equals" Filter?
The "Equals" filter allows you to pass multiple elements as a filter, ensuring that the results match any of the specified values. This means you can now easily retrieve content that corresponds to a specific set of criteria in a single API request.

🌟 How Does it Work?
Let's dive into an example to illustrate the capabilities of the "Equals" filter:

Suppose you have a "name" field in your content type, and you want to fetch all the products with names "product-1" or "product-2." With the "Equals" filter, you can simply use the following API query.

Before:

`{"name":{"type":"equals", "filter":"product-1"}}`

Now:

`{"name":{"type":"equals", "filter":["product-1", "product-2"]}}
`
By leveraging this new filter, you can effortlessly retrieve the desired results without making multiple requests or complex workarounds.

📚 Want to Learn More?
To explore the full potential of the "Equals" filter and its usage scenarios, we encourage you to check out our comprehensive documentation. You'll find detailed information, code examples, and practical insights on incorporating this feature into your Flotiq headless CMS workflow.

👉 [Learn More about the "Equals" Filter](https://flotiq.com/docs/API/content-type/listing-co/)

✨ If you have any questions, need assistance, or want to share your feedback, our dedicated team is here to help you every step of the way.

Thank you for choosing [Flotiq](https://flotiq.com/) headless CMS as your trusted content management solution. We're excited to see how the "Equals" filter simplifies and empowers your content querying!

Happy Filtering! 🎉
Data Structures Like a Pro: Leveraging Inbuilt JavaScript Methods
Tags: webdev, javascript, beginners, datastructures
Published: 2023-06-23 05:35:42

Welcome to today's topic on how to take full advantage of JavaScript's inbuilt methods for handling data structures. JavaScript, the programming language of the web, provides a plethora of tools that allow us to interact with data structures efficiently. With the right approach, these inbuilt methods can significantly simplify our code and improve readability. Today, we will delve into some of these methods, focusing on three particular ones: `map()`, `reduce()`, and `filter()`.

### 1. Array.prototype.map()

The `map()` function is a high-order function available on the Array prototype. It returns a new array resulting from applying a function to every element in the source array.

```javascript
let numbers = [1, 2, 3, 4, 5];
let squares = numbers.map(num => num * num);
console.log(squares); // [1, 4, 9, 16, 25]
```

In the example above, we used the `map()` function to square every number in the `numbers` array.

### 2. Array.prototype.reduce()

The `reduce()` function is another high-order function that processes an array element-by-element, gradually combining them into a single output value. It is commonly used for tasks such as computing a sum or product of array elements, or even for transforming an array into an object.

```javascript
let numbers = [1, 2, 3, 4, 5];
let sum = numbers.reduce((accumulator, currentValue) => accumulator + currentValue, 0);
console.log(sum); // 15
```

In this case, `reduce()` adds each number to an accumulator, producing the sum of all the numbers in the array.

An alternative to `reduce()` is `reduceRight()`. It functions similarly to `reduce()`, but processes the array from the end to the beginning, hence the name.

```javascript
let numbers = [1, 2, 3, 4, 5];
let difference = numbers.reduceRight((accumulator, currentValue) => currentValue - accumulator);
console.log(difference); // 3
```

### 3. Array.prototype.filter()

The `filter()` function creates a new array with all elements that pass a test implemented by the provided function. If the function returns `true`, the element is included in the new array.

```javascript
let numbers = [1, 2, 3, 4, 5];
let evenNumbers = numbers.filter(num => num % 2 === 0);
console.log(evenNumbers); // [2, 4]
```

In this example, `filter()` is used to create a new array that only contains even numbers.

These are just three examples of the many powerful methods JavaScript provides for manipulating data structures. By understanding and leveraging these methods, you can write cleaner, more concise code that is easier to read and maintain. 

While these methods might take a little getting used to, once mastered, they can transform the way you write JavaScript and approach problems in your code. So, don't shy away from trying them out in your next JavaScript project.

Happy Coding Guys & Thanks for reading !
Unleashing the Artistry of Digital Embroidery through True Digitizing
Tags: digitalembroidery
Published: 2023-06-23 05:32:09

Discover the captivating world of digital embroidery and unlock its full potential with True Digitizing. Our expert techniques and cutting-edge technology transform designs into stunning embroidered masterpieces. Learn more!

Welcome to the realm of [digital embroidery](https://truedigitizing.com/), where artistry and innovation intertwine seamlessly. At True Digitizing, we are proud to offer a transformative approach to embroidery that takes creativity to new heights. Through our advanced True Digitizing techniques, we breathe life into designs, translating them into intricate and vibrant embroidered works of art.

With our SEO-optimized True Digitizing services, we cater to a diverse range of industries, including fashion, home décor, corporate branding, and more. Whether you need custom embroidered logos, personalized designs, or intricate patterns, our team of experienced digitizers will meticulously digitize your artwork to ensure flawless execution.

True Digitizing sets itself apart by combining expertise with state-of-the-art technology. Our cutting-edge software and machines guarantee precision and clarity, allowing every stitch to convey the essence of your design. The result? Impeccable embroidery that exceeds your expectations.

Experience the true essence of digital embroidery with [True Digitizing](https://truedigitizing.com/). Unlock the limitless possibilities of turning ideas into tangible works of art. Let us bring your vision to life, stitch by stitch, with our unrivaled digitizing expertise. Contact us today and embark on a journey where creativity and technology unite to create stunning embroidered masterpieces.
A Plea for Mature Industry!
Tags: softwareengineering, architecture, webdev, javascript
Published: 2023-06-23 05:19:34

Storage-Facilities Architecture is an attempt to delineate a general solution for typical problems appertain to web software development. If you browsed the source code of any open-source web application, fully developed using JavaScript in particular, you would probably find that its architecture is brutally shaped by a framework or, even worse, by a library (there are tools proclaimed as libraries, but they are usually used as frameworks in the sense that they specify at least one part of the architecture). Developing a large software project bounded to a specific framework is a pernicious decision which is significantly what led to the wide range of irrelevant, to the art of software development, titles: React Developer, VueJS Developer, ExpressJS Developer, ...etc (“Software Developer” or even “JavaScript Developer” should be sufficient). This article prescribes a general architecture, perceived as a receptacle box in which various frameworks can be plugged, that web developers can implement regardless of what technology will be used in the future. 
This article is a plea for mature industry!

Read the full article on Substack:
[https://open.substack.com/pub/moehab/p/storage-facilities-architecture](https://open.substack.com/pub/moehab/p/storage-facilities-architecture)
Domain Driven Design explained
Published: 2023-06-23 05:08:32

Finally a new post!

This time I want to share a post related to "Domain Driven Design", there you're going to find the description a brief explanation, and examples of some of the main aspects that define "Domain Driven Design".
In this post, I want to help you to understand what is a Domain, subdomain, context, entities all those things that define an application development based on DDD.

I hope you like this post!, and if like you please share it to help others to understand this wonderful world of DDD. 

In the following link you can find the post:

[Domain Driven Design](https://medium.com/@josueparra2892/domain-driven-design-672b4c95e494)