teleren/devto huggingface dataset:
Shortcut Alternative to Fn for Linux
Tags: linux, tips
Published: 2024-04-14 01:45:32

My laptop keyboard is not working right now, and I use my backup external keyboard that doesn't have Fn Key. I use several alternative shortcuts. You can customize all the **_Keys_** based on your preference.

**Prerequisite**
- `amixer` from `alsa-utils`
- `brightnessctl`

**Volume Up**
_Key_: `Ctrl + Up (keypad)`
_Command_: `amixer -q -D pulse sset Master 5%+`

**Volume Down**
_Key_: `Ctrl + Down (keypad)`
_Command_: `amixer -q -D pulse sset Master 5%-`

**Brightness Down**
_Key_: `Ctrl + Left (keypad)`
_Command_: `brightnessctl set +5%`

**Brightness Up**
_Key_: `Ctrl + Right (keypad)` 
_Command_: `brightnessctl set 5%-`

These shortcuts were tested on LinuxMint Xfce. I will update this article when I make a new shortcut. I hope this is useful for you.

Thank you.
Making Storage Smarter with AWS S3 Intelligent Tiering
Tags: aws, s3, storage, cloudcomputing
Published: 2024-04-14 01:30:16

In the ever-expanding world of data storage, efficiency is key. That's where AWS S3's Intelligent Tiering comes into play, offering a smarter way to manage your data without the hassle of manual intervention. Let's dive into what it is and why it's advantageous.

The Intelligent Tiering is a storage class that automatically optimizes your storage costs by moving data between two access tiers: frequent access and infrequent access. This means you don't have to spend time and effort constantly monitoring and adjusting your storage needs.

The beauty of this system lies in its adaptability. It analyzes your data access patterns and moves objects between tiers based on how frequently they're accessed. For frequently accessed data, it keeps them in the standard tier for quick retrieval. On the other hand, infrequently accessed data is moved to the lower-cost infrequent access tier, saving you money without sacrificing accessibility.

One of the significant advantages of Intelligent Tiering is its cost-effectiveness. By automatically transitioning data between tiers, you only pay for the storage and access you actually use. This eliminates the need to guess or manually manage your storage requirements, reducing the risk of overpaying for unused resources.

Moreover, this intelligent tiering system enhances performance by ensuring that frequently accessed data remains readily available. You won't experience any delays or performance issues when accessing your critical data, as it's always stored in the appropriate tier based on its access patterns.

Another advantage is its simplicity. Setting up Intelligent Tiering is straightforward, requiring minimal configuration. Once enabled, it operates autonomously, continuously optimizing your storage costs without any manual intervention. This frees up your time and resources to focus on more critical aspects of your business.

Furthermore, Intelligent Tiering offers enhanced durability and availability, ensuring that your data is always secure and accessible. It automatically replicates your data across multiple availability zones, providing built-in redundancy and protection against data loss.

In conclusion, S3's Intelligent Tiering revolutionizes data storage by offering a cost-effective, efficient, and hassle-free solution. 
By automatically optimizing storage costs, enhancing performance, and ensuring data durability, it empowers businesses to manage their data with ease and confidence. 

With Intelligent Tiering, you can rest assured that your data is in good hands, allowing you to focus on what truly matters; growing your business.

I hope you learned something of value and practical to make use of for your next project!

Uriel
How to use an existing Windows VM to create and attach a data disk to the VM.
Published: 2024-04-14 01:04:08

## STEPS REQUIRED TO CREATE AND ATTACH A DATA DISK TO AN EXISTING WINDOWS VM.

* OPEN AN EXISTING AND CHECK THE AVAILABLE DISKS

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

* RIGHT-CLICK ON WINDOWS ICON ON THE TASKBAR AND SELECT DISK-MANAGEMENT


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

* RIGHT-CLICK ON THE UNALLOCATED SPACE


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

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

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

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

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

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

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

## Differences between OS Disk, Data Disk and Temporary Disk


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

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

## Show all the steps you took to initialize the Disk for use

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

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5ekn3xdx4hwnp733ynpn.JPG)

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

## PROJECTS SUBMITTED BY JOHN ADESAKIN
Using the MERN Stack: MongoDB, Express.js, React, and Node.js
Tags: javascript, webdev, react, node
Published: 2024-04-14 00:32:45

## Introduction

The MERN stack is a popular and powerful combination of four technologies: MongoDB, Express.js, React, and Node.js. It is a full-stack JavaScript framework that allows developers to build efficient, dynamic, and scalable web applications. MERN stack has become a go-to choice for developers due to its flexibility, ease of use, and cost-effectiveness.

## Advantages

One of the main advantages of using the MERN stack is its unified codebase. Developers can write the entire code in JavaScript, which reduces the learning curve and increases productivity. MongoDB, a NoSQL database, is highly scalable and provides high performance. Express.js offers an array of features such as middleware support, routing, and error handling. React, a front-end JavaScript library, allows developers to create dynamic user interfaces. Lastly, Node.js, a server-side runtime environment, enables developers to build fast and scalable network applications.

## Disadvantages

Despite its numerous benefits, the MERN stack has a steep learning curve, especially for beginners. Also, the lack of strict conventions and guidelines can make the codebase messy and difficult to maintain. Another drawback is that all technologies within the stack are relatively new, and the community support and documentation may not be as comprehensive as compared to other more established frameworks.

## Features

One of the key features of the MERN stack is its use of JavaScript, which makes it easy to switch between front-end and backend development. It also follows a Model-View-Controller (MVC) architecture, making it ideal for developing complex and large-scale applications. The stack also offers real-time data synchronization between the server and the client, providing a seamless user experience.

### Example of a Simple MERN Application

```javascript
// Server setup with Express and Node.js
const express = require('express');
const app = express();

// MongoDB connection setup
const mongoose = require('mongoose');
mongoose.connect('mongodb://localhost/my_database');

// React component for frontend
class App extends React.Component {
  render() {
    return <h1>Hello, MERN!</h1>;
  }
}

// Starting the Express server
app.listen(3000, () => {
  console.log('Server running on port 3000');
});
```

This example demonstrates a basic setup for a MERN application, highlighting the integration between MongoDB, Express.js, React, and Node.js.

## Conclusion

In conclusion, despite some drawbacks, the MERN stack is a powerful and efficient choice for building modern web applications. Its use of popular JavaScript technologies and the ability to handle large-scale applications has made it increasingly popular among developers. With the right skills and knowledge, the MERN stack can provide an excellent development experience and help create robust and dynamic web applications.
Javascript, tiny functional helpers for modifying the DOM
Tags: javascript, functional
Published: 2024-04-13 23:53:27

Hey all o/, I'm a vanilla JS nut who's recently been on a functional style programming kick. It's been great in methods ... until it came time to modifying elements in the DOM.

It doesn't seem like there is a good way to approach element creation and manipulation with my favorite functions: `.map(), .forEach(), .reduce()`, etc... I know jQuery accomplishes this but I think it's just too much! I don't want anything other than to easily work with HTML elements.

So I made a way :D

I've created three helper functions: `Create(), Select() `and` MSelect()`

Where:

- Create('node name') creates an html element
- Select('#___') selects a single node
- MSelect('.___') selects a list of nodes

Each helper function takes an `object` as a second parameter to assign native properties to during creation or selection. All functions return the element or elements after creation or modification. **That's all it does.**

Here's an example...

```
document.body.appendChild(
	Create('div', {
		children: [
			Create('h1', {
				innerHTML: 'Welcome to JSUI',
				id: 'title',
				style: {
					color: '#222222'
				}
			}),
			Create('p', {
				innerHTML: 'Why would you use this?'
			}),
			Create('ul', {
				id: 'my_list',
				children: [
					'It allows a functional approach to element creation, selection and manipulation',
					'Its absolutely tiny',
					'Its not magic. It just assigns properties and children using functional methods'
				].map(x => {
					return Create('li', {
						innerHTML: x,
						className: 'my_list_elements',
						onclick: function () {
							console.log('Here is my list:');
							console.log(Select('#my_list'));
							console.log('Now I make the list elements bold');
							MSelect('.my_list_elements', {
								style: {
									fontWeight: 'bold'
								}
							});
						}
					})
				})
			})
		]
	})
);
```

Minified code:
`var Select=function(e,t={}){return 0===Object.keys(t).length?document.querySelector(e):Create(document.querySelector(e),t,!0)},MSelect=function(e,t={}){return 0===Object.keys(t).length?document.querySelectorAll(e):document.querySelectorAll(e).forEach((e=>Create(e,t,!0)))||document.querySelectorAll(e)},Create=function(e,t={},r=!1){return Object.keys(t).reduce(((e,r)=>Array.isArray(t[r])?t[r].forEach((t=>e.appendChild(t)))||e:"object"==typeof t[r]?null&Object.assign(e[r],t[r])||e:Object.assign(e,{[r]:t[r]})),r?e:document.createElement(e))};`


Github repo if you're interested in checking it out!
[https://github.com/kapenike/JSUI/](https://github.com/kapenike/JSUI/)

Since this is a helper function and not a library, it doesn't protect you, everything is as ordered. If you assign `children` before you assign `innerHTML` .... the children will be overridden because well ... thats how Javascript works. Make sure to define properties in logical order in an edge case like this.

Happy coding :D
How to redirects to the application from a website or email
Tags: reactnative
Published: 2024-04-13 23:27:26

Could somebody please tell me how to google this? I want to make it so that when a letter comes to the mail, there is a button, when I clicked on which I was transferred to the application, and in the URL there are parameters that could be retrieved. For example, in the application "[Coca-Cola: Play & Win Prizes](https://apps.apple.com/ua/app/coca-cola-play-win-prizes/id1451072799)"
Driving Growth Premier PPC Services in the UK
Tags: ppc
Published: 2024-04-13 23:12:50

Driving Development Head PPC services UK features the apex of Pay-Per-Snap (PPC) the executives mastery. With an emphasis on development and vital execution, our chief PPC administrations in the UK push organizations towards supported development and computerized achievement

**UK PPC Agency**
Learn everything you need to know about PPC agencies in the UK and more from the country's most renowned PPC marketing specialists .Your PPC campaigns and marketing strategies are up to the standards you need to grow your business

**Power of PPC Geeks the Premier UK PPC Agency**
PPC is one of the most important components of your marketing campaign and business strategy. It's also very difficult to get right. For this reason, it is also important to direct the support of PPC Geeks, the most famous UK PPC agency in the country. Whether it's on social media or one of the many search engines that respond positively to well-crafted PPC campaigns, we believe that paying per click is essential to the success of broader business goals and objectives. I know how important it is.

**PPC Audits by the Leading PPC Agency in the UK**
Our PPC audit spans approximately 30+ pages and provides valuable insights on how to improve your PPC advertising. We are the best PPC agency in the UK and have a wealth of experience in doing so, which is why we recommend you take advantage of our PPC audits and Google Ads audits, as well as our many other bespoke PPC services. 


**Google Ads Management Services**
Google Ads is one of the most effective ways for businesses to reach their target audience and increase sales, offering comprehensive Google Ads management services to help you get the most out of your advertising budget.
We can help you create and optimize ads for specific business goals, such as increasing website traffic, generating leads, and increasing sales.
**Comprehensive PPC Management Services**
We do it all, from writing your ad copy to choosing your keywords, monitoring your performance, and adjusting your Google Ads campaign as needed.

**FAQ’s**

What is a PPC service?
PPC or pay-per-click is a type of internet marketing which involves advertisers paying a fee each time one of their ads is clicked.
What does PPC stand for?
PPC is an acronym for pay-per-click. PPC is a form of internet marketing whereby advertisers pay a fee every time one of their ads is clicked on. It can easily be thought of as a way of paying to get people to visit your website.
What does the PPC Agency do?
Pay-Per-Click (PPC) management is the process of overseeing and managing a company's PPC ad spend. This often strategies ad buys while minimizing the overall expenditure.
**Conclusion**
PPC Services UK's Promotional Development Officers represent the pinnacle of PPC management expertise. With a focus on growth and strategic execution, our premier PPC services propel your business towards sustained success. Trust the power of PPC Geeks, the UK's leading PPC agency, to optimize your campaigns and drive results.
The supreme rank of Computing Mascots
Tags: discuss, programming, braziliandevs, community
Published: 2024-04-13 22:44:17


## Introdução 

Nesta semana, nós do Terminal Coffee nos envolvemos em uma grande discussão sobre qual seria o melhor mascote da programação já criado. A discussão foi tão intensa que quase chegamos às vias de fato de nos separar. Para evitar esse tipo de desentendimento, consultamos os maiores especialistas do ramo de tecnologia e design e desenvolvemos, com toda a modéstia,não uma Tierlist mas a Tierlist SUPREMA para eleger o melhor mascote de todas as linguagens de programação.



## A TierList 

Na nossa Tierlist, o maior mascote de todos os tempos está no topo: o Keith "mascote" do C++. Também incluímos mascotes clássicos, como o elefante do PHP, a criatura esquisita do Java, e alguns que, pelo amor dos DEVs, como foi aprovado o Lisp como mascote, não é mesmo? Que vergonha!

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

## Conclusão 

Este foi o post desta semana, um pouco mais curto que o habitual. Mas semana que vem teremos muito mais! Se concordar, discordar ou quiser criar a sua própria tierlist, deixamos o link para que possam se divertir. Deixem suas opiniões nos comentários e até a semana que vem, com muito mais informações únicas(as vezes nem tanto) que você só encontra no Terminal Coffee.



## Links úteis

https://tiermaker.com/create/the-best-of-computing-mascots-16834231
Open Source High-Scale Data Pipeline Platform for Enterprise Data, Analytics, and Machine Learning Applications
Tags: etl, elt, machinelearning, ai
Published: 2024-04-13 22:41:21

Braineous is designed for an optimal out-of-the-box experience for developers focused on **ETL**, **ELT**, **Analytics** and **Machine Learning**.

**Documentation**: https://bugsbunnyshah.github.io/braineous/guides/developer-guide

**Get Started**: https://bugsbunnyshah.github.io/braineous/get-started/

**GitHub**: https://github.com/bugsbunnyshah/braineous_dataplatform

**License**: https://github.com/bugsbunnyshah/braineous_dataplatform/blob/main/LICENSE

**Roadmap**: https://bugsbunnyshah.github.io/braineous/about/

**Apache Kafka** is the backbone for high scale data ingestion and maintenance of source of data truth and in the future for CDC and time travel for a system in the past and training AI models for predictive analytics.

**More details**: https://bugsbunnyshah.github.io/braineous/container-first/

The downstream engine is **Apache Flink**. If **Apache Flink** is the brain, then **Apache Kafka** is the spinal chord. A biological analogy.

**More details**: https://bugsbunnyshah.github.io/braineous/about/

Braineous is built on **Apache Flink** as its data processing engine and supports **Apache Hive** based data lakes.

**Future releases** of Braineous will include a **Data Lake Connector framework** that can support custom data lakes.

**More details**: https://bugsbunnyshah.github.io/braineous/data-lake/

Braineous bridges the unstructured dataset to the structured dataset on the fly. Your data lake evolves with the dataset. **Analytics** and **Machine Learning** need structured queries for training the AI model.

Braineous bridges two Worlds on the fly. Downtime is a time that is entirely unacceptable for Braineous.

**More details:** https://bugsbunnyshah.github.io/braineous/developer-joy/

We would love your feedback when it comes to developer experience, ease of use, and ability to go from 0 to 60 in 15 minutes when it comes to data processing. 

Developer input would be valuable to shape the roadmap.

**Feedback**: https://github.com/bugsbunnyshah/braineous_dataplatform/discussions/16

Thanks

Sohil
How to restore the classic Adobe Acrobat "Single Page" view feature
Tags: adobe, acrobat, productivity, protip
Published: 2024-04-13 22:28:40

Adobe Reader and previous versions of Acrobat DC had a Single Page view feature in which the mousewheel and arrow keys turned the document page instead of scrolling.

To restore it in newer versions of the above, click the highlighted icon shown below at the bottom of the right side panel of the Adobe application window and ensure you have the same options checked:

![Screenshot of Adobe Acrobat DC right sidebar menu, showing `Singe-page view` and `Fit height` options checked `Enable scrolling` unchecked](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uaj8ui0z2hm80dgwqhgs.png)

Specifically, check `Singe-page view` and `Fit height` and uncheck `Enable scrolling`.
MongoDB Shell Commands - A Comprehensive Guide
Tags: mongodb, database
Published: 2024-04-13 22:04:49

### Step 1: Start MongoDB Shell

1. Open your terminal.

2. Run the `mongo` command to start the MongoDB shell:

```bash
mongo
```

### Step 2: Switch to a Database

1. To switch to a specific database, use the `use` command followed by the name of the database:

```bash
use mydatabase
```

Replace `mydatabase` with the name of your database.

### Step 3: Show Databases

1. To show all databases available on the MongoDB server, run the following command:

```bash
show databases
```

This command will list all databases, including empty databases.

### Step 4: Show Collections

1. After switching to a database, you can list all collections within that database using the `show collections` command:

```bash
show collections
```

This command will display all collections present in the current database.

### Step 5: Show Data from a Collection

1. To display all documents (data) in a collection, use the `db.collectionName.find()` method. Replace `collectionName` with the name of your collection:

```bash
db.collectionName.find()
```

For example, to display all documents in a collection named `users`:

```bash
db.users.find()
```

2. You can also apply query criteria to filter the results. For example, to find documents where the `age` field is greater than 18:

```bash
db.collectionName.find({ age: { $gt: 18 } })
```

### Step 6: Insert Documents into a Collection

1. To insert documents into a collection, use the `db.collectionName.insertOne()` or `db.collectionName.insertMany()` methods.

For example, to insert a single document into a collection named `users`:

```bash
db.users.insertOne({ name: "John", age: 30 })
```

2. To insert multiple documents into a collection:

```bash
db.users.insertMany([
    { name: "Alice", age: 25 },
    { name: "Bob", age: 35 }
])
```

### Step 7: Update Documents in a Collection

1. To update documents in a collection, use the `db.collectionName.updateOne()` or `db.collectionName.updateMany()` methods.

For example, to update a single document in the `users` collection:

```bash
db.users.updateOne({ name: "John" }, { $set: { age: 31 } })
```

2. To update multiple documents:

```bash
db.users.updateMany({ age: { $lt: 30 } }, { $set: { category: "Young" } })
```

### Step 8: Delete Documents from a Collection

1. To delete documents from a collection, use the `db.collectionName.deleteOne()` or `db.collectionName.deleteMany()` methods.

For example, to delete a single document from the `users` collection:

```bash
db.users.deleteOne({ name: "John" })
```

2. To delete multiple documents:

```bash
db.users.deleteMany({ category: "Young" })
```

### Step 9: Exit MongoDB Shell

1. To exit the MongoDB shell, type `exit` and press Enter:

```bash
exit
```

These commands cover the basic CRUD operations (Create, Read, Update, Delete) in MongoDB from the shell. Adjust the database, collection names, and query criteria as needed for your specific use case.