teleren/devto huggingface dataset:
Plugin for VS Code.
Tags: extensions, vscode, typescript, beginners
Published: 2023-10-08 12:20:33

🚀 Turn your Visual Studio Code into a powerful tool for creating the file format you want with our new extension!

📁 **VS Code Extension: File Creator**

Now it's easier than ever to create the right file format. Our extension provides you:
📝 **Ease of Use**: Create files of the desired format in just a few clicks.

🔧 **VS Code Integration**: Fully integrated into your development environment.

[File Creator](https://github.com/Noloquideus/File-Creator-Plugin-VSCODE)
Telegram Tamplate
Tags: backend, tutorial, beginners, python
Published: 2023-10-08 12:12:40

🚀 Hello friends! We are glad to present you our new project - "Telegram Tamplate"! This is a template for creating unique Telegram bots with minimal effort.

🔥 Features of the project:
- Ease of use
- Flexible settings
- Open source

🌐 More about the project and a link to the [repository](https://github.com/Noloquideus/Telegram_tamplate) here.
tac and rev — cat's antagonists
Tags: terminal, beginners, linux, bash
Published: 2023-10-08 12:07:46

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


```
nuclearegg69@zenbook-f13:~$ cat alphabet.txt
apple
banana
carrot
donkey
nuclearegg69@zenbook-f13:~$ tac alphabet.txt
donkey
carrot
banana
apple
nuclearegg69@zenbook-f13:~$ rev alphabet.txt
elppa
ananab
torrac
yeknod
```
Redirection in unix-like operating systems
Tags: bash, cli, beginners, linux
Published: 2023-10-08 12:01:01

When we run a process, a table named the file description table gets assigned to it. The table describes the relevant file contents to the process. If the process wants to read a file or write to a file (relevant file), that file gets assigned a numerical non-negative integer value and added to the table. This integer value is called a 'file descriptor'.

The 3 first values of the table are assigned by default so file descriptor 0,1,2.

File descriptor 0 is the `standard input (shorted for stdin)` of the process which is by default the keyboard input but could be changed to a file.  

File descriptor 1 is the `standard output` (shorted for stdout) of the process and it could be directed to a file. If the process is run from the terminal, the stout is by default the terminal so it gets printed in the terminal. 

File descriptor 2 is the `standard error` (shorted for stderr) of the process, also could be directed to a file and if ran from the terminal, the terminal is the default location of error output. 

## How to redirect?

### Redirecting standard input

```
cat < fileAsStandardInput.txt
```

This will pass the file as stdin to `cat`. Since the default stdout is the terminal. It will get printed in the terminal.

### Redirecting standard output

```
cat fileToBeRead.txt > outputFile.txt
```

`cat` will read the argument file and output the result to the `outputFile`. No text will be printed to the terminal

```
cat file2ToBeRead.txt > outputFile.txt
```
The file will be read and outputed to outputFile.txt. But if we read the file only the second file content is there. The first file content `fileToBeRead` is gone. That's because when the os opens the output file, it opens it in `write` mode.

If we want the text to be added to whatever is in that file, we have to open the file in the `append` mode. Fortunately, there's a way to do that.

```
cat file2ToBeRead.txt >> outputFile.txt
```

That way, the text will be appended


### Redirecting standard error

```
kfjalkfjlkkj 2> errorsLog.txt
```
`kfjalkfjlkkj` is not a command or maybe who knows if you were a maniac and made an alias for it. Anyways, naturally, an error would be printed to the terminal saying something across the lines of this is not a command. You can redirect that to the errorsLog.txt file using the command above. You could also append it using `2>>`. 

### Redirecting stdout and stderr to the same file

There is more than one syntax for that:

```
cat fileToBeRead.txt > outputAndError.txt 2> outputAndError.txt
```

```
cat fileToBeRead.txt 2>&1 outputAndError.txt
```

There is some newer syntax in newer versions of bash but let's not dive into that. You could search it though if you are interested.

Well, this concludes it. That was redirection. Thanks for reading and see you in the next article.
c programming language
Tags: webdev, c, programming
Published: 2023-10-08 11:52:05

C programming language has been influential since its creation in the 1970s by Dennis Ritchie. 

It is a powerful and widely used language that can be used to develop software like operating systems, databases, and compilers. Additionally, it is an excellent language to learn to program for beginners. 

**difference between C , Java , Python**

Are you familiar with the differences between compiled and interpreted languages? If not, here's a quick overview: 

C is a compiled language, while Java and Python are interpreted languages. This means that C code must be compiled before it can be executed, while Java and Python code can be executed directly.

But that's not all - C is also a low-level language that provides direct access to the computer's memory, while Java and Python are high-level languages that abstract away many of the details of the computer's hardware. 

In terms of structure, C is a procedural language, meaning that it is structured around functions that perform specific tasks. 

On the other hand, Java and Python are object-oriented languages, meaning that they are structured around objects that contain data and methods for manipulating that data. 

Knowing the differences between these languages can help you choose the right one for your next project.
Most ask FAQs about Google AdSense for WordPress website | Readmorr.com
Tags: googleadsense, adsense, webdev, readmorr
Published: 2023-10-08 11:30:02

Most ask FAQs about Google AdSense for WordPress website | Readmorr.com
Yes, you can use Google AdSense on a WordPress website. WordPress.com allows users to apply for AdSense, but approval is not guaranteed. However, having your own domain name and website can increase your chances of approval.

Full article: https://readmorr.com/approval-from-google-adsense-for-wordpress-website/
If you have a free WordPress.com website, you can still apply for AdSense, but the approval process may be more difficult. It’s recommended to have your own domain name and website to increase your chances of approval.
The best type of website for AdSense is one that has high-quality content, receives a lot of traffic, and is focused on a specific topic or niche. This will attract advertisers who are interested in your audience and will pay more for ad space.
To make $100 a day on AdSense, you need to have a website that receives a lot of traffic and has high-paying ads. This can be achieved by focusing on a specific niche, creating high-quality content, and using SEO techniques to increase your website’s visibility.
AdSense pays per thousand views, and the amount varies depending on the advertiser. The average pay rate is around $1-$2 per thousand views, but some advertisers pay much more.
To monetize your WordPress site, you can use AdSense, affiliate marketing, sponsored posts, or selling your own products or services. It’s important to choose a monetization method that fits your website’s niche and audience.
AdSense does pay without clicks, but the amount you earn will be lower than if someone clicks on an ad. The amount you earn per view depends on the advertiser and the ad format.
You can monetize your free blog with AdSense, but the approval process may be more difficult. It’s recommended to have your own domain name and website to increase your chances of approval.
The minimum content for AdSense is not specified, but it’s recommended to have at least 10–15 high-quality posts before applying.
The number of blog posts required for AdSense approval varies depending on the quality of the content. It’s recommended to focus on creating high-quality content rather than a specific number of posts.
There is no specific number of articles required for AdSense approval, but it’s recommended to have a website with high-quality content that attracts a lot of traffic.
WordPress does not pay per-view, but you can monetize your website with AdSense or other methods.
WordPress does not pay you for blogging, but you can monetize your website with AdSense or other methods.
Both Blogger and WordPress can be used for AdSense, but WordPress is generally considered to be more flexible and customizable. However, the most important factor in AdSense's success is the quality of your content and the amount of traffic your website receives.
My First pull request got merged 🎉
Tags: opensource, webdev, css, hacktoberfest
Published: 2023-10-08 11:27:04


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


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jh1jbnga9a8n5u88we2i.png)
Azure ML: start experimenting with Hugging Face models in minutes!
Tags: ai, mlops, azure, opensource
Published: 2023-10-09 12:43:50

---
title: Azure ML: start experimenting with Hugging Face models in minutes!
published: true
date: 2023-10-08 11:15:04 UTC
tags: ai,mlops,azure,opensource
canonical_url: https://julsimon.medium.com/azure-ml-start-experimenting-with-hugging-face-models-in-minutes-744fccb50703
---

In this video, I show you how to deploy Hugging Face models in one click on Azure, thanks to the model catalog in [Azure ML Studio](https://azure.microsoft.com/en-us/products/machine-learning/). Then, I run a small Python example to predict with the model.

{% youtube lqSXVBur_nQ %}

To get started, you simply need to navigate to the Azure ML Studio website and open the model catalog. Then, you can click on a model to select it. This will initiate the setup process, which takes care of all the required infrastructure for you. Once the setup is complete, Azure ML Studio provides a sample program and you can start testing the model immediately!

If you want to experiment with the latest state-of-the-art models, Azure ML Studio provides a hassle-free way to do so. Try it out and explore the possibilities of cutting-edge AI models with just one click!
Code Calling
Published: 2023-10-08 11:07:46

For those who are reading it , this piece isn't about technology, not yet at least . It's day 4 of my journey into the world of tech, computers, coding, web-dev , programming , DSA etc. 
That's right , I'm a newbie, a beginner but you got to start somewhere. Although I have my bachelor's degree in computer science and engineering and even backed a good job ,but my heart's desire was somewhere else ; 
I wanted to join the Armed Forces, so I dedicated my heart and mind ,left my job and walked towards it ,against all odds - family , background, opportunities. Studied , worked hard physically and mentally for the dream I had , until 1 month ago; Due to **Cubitus valgus**,( a bone condition in which your elbows bend more than is necessary) I was declared unfit and permanently dismissed, which explains why I struggled in physical training.I was disappointed and feeling overwhelmed and confused because I had worked so hard for this for a whole year and had given it everything I had.
 
I took a long breath and a break for 20 days to figure out what I want .

**"Life gives you lemons "** fitted so right. Then I began looking for what I wanted—finance, technology, whatever.
Is it too late for me to begin my career in this profession now that the employment market is weak after reading on Quora about how people are having trouble finding work? My hopes weren't high because the majority of responses were negative.

Up until lately, I didn't read blogs, but I did come across one written by Jack. I requested him to be my mentor and guide me in tech world out of desperation. Then I questioned why anyone would help me or even reply to my email, but to my surprise, he did so very quickly. To make a short tale shorter, he accepted and first requested that I start blogging about the things I learn and study.
Now that I've started to take an interest in this job field and even enjoy learning new things, I'm feeling a little less scared and a little more confident about myself in this journey. After only six days, I've already stopped worrying about the **"Lemons"** and i'm motivated to learn and work harder. This is my first blog, and I'll continue to write about the new things i explore as I work towards being a software engineer.

Coming up next- GIT
Benefits of Using Apache AGE
Tags: apacheage, postgres, opensource, database
Published: 2023-10-08 11:02:34

**Advantages of Using Apache AGE**
Built upon the dependable and potent PostgreSQL relational database is the Apache AGE extension. It provides several strong justifications for doing so:

Graph query optimization: AGE is skilled at efficiently managing complex graph queries. It combines PostgreSQL's power with more efficient graph query processing.

RDBMS Compatibility: AGE maintains compatibility with relational database management system (RDBMS) features despite its graph capabilities. This provides assistance with ACID transactions, stored procedures, triggers, constraints, multi-version concurrency management, and more.

AGE supports hybrid querying, which lets users to easily combine SQL and Cypher queries for effective and flexible data retrieval.

AGE's implementation is based on the graph query language openCypher, which was created specifically for Neo4j and other graph databases. This language guarantees an effective and standardized method for graph querying.

No Data Migration: One of the unique features of AGE is that users may take benefit of graph analytics and visualization without having to move their data from their relational databases. By doing this, migration's complications and risk of data loss are eliminated.

Versatility: AGE offers versatility by enabling users to simultaneously query numerous graphs, making it appropriate for a range of use cases.

Quick Data Retrieval and Analysis: AGE excels at processing the connections between nodes/entities in a graph quickly, ensuring quick data retrieval and analysis.

**Apache AGE applications include**
Real-time Fraud Detection: AGE is ideally suited for real-time fraud detection in the financial services industry, where it is essential to immediately spot patterns and abnormalities.

Traceability and master data management: AGE can be used in the industrial sector for traceability and master data management, ensuring effective monitoring and management of crucial data.

Criminal and tax fraud investigations: Law enforcement agencies can use AGE to examine intricate networks of data to gain insights in criminal and tax fraud investigations.

User-item interaction graphs can be processed quickly by AGE to power recommendation systems.

Social Networks: AGE is useful for social network analysis and visualization because it can handle the complex relationships between people in social networks.


**Conclusion:**
In conclusion, Apache AGE offers compatibility, performance, and flexibility while obviating the requirement for data migration, bringing the advantages of graph database capabilities to PostgreSQL users. Its potential uses cut across a range of industries, from manufacturing to finance and beyond.
Try Pytheus multiprocess without changing your prometheus code!
Tags: python, programming, opensource
Published: 2023-10-08 11:01:01

There is an extremely experimental feature that allows you to patch in-place the official prometheus_client library.

If you have issues with the official client or just want to try it out it's as simple as:

```python
import prometheus_client
from pytheus.experimental.compatibility import patch_client

patch_client(prometheus_client)
```

This has to be done at the start/initialization of your application and you can load a different backend before applying with patch with patch_client by using load_backend.

This supports all the metrics types Counter, Gauge, Summary & Histogram. It supports the default REGISTRY and generate_latest. It also works with the start_http_server function.

Of course it's extremely limited and you might be using a feature that is not yet supported, but feel free to try! :)

(This was used to test an internal library without having to migrate all of it, so since I worked on it might as well share it! )

https://github.com/Llandy3d/pytheus
Unique Features of AgensSQL : An extension of PostgreSQL
Tags: agenssql, postgres, apacheage, opensource
Published: 2023-10-08 10:53:02

AgensSQL appears as a substitute with unique functionalities adapted to certain requirements, encouraging innovation in the programming environment.

**The benefits of PostgreSQL**
Active Open Source Communities
Numerous Features
dependable performance
Highly Available Backup

**Unique AgensSQL Graph Database Support Features**
AgensSQL distinguishes itself from PostgreSQL by providing unique features made for graph databases. Applications like social networks, recommendation engines, and fraud detection systems, which depend on complex data relationships, might greatly benefit from these features. In order to facilitate quick and effective querying of graph data, AgensSQL makes use of the property graph model and effective graph algorithms.

**Compatibility with Cypher Query Language**
Support for the Cypher query language AgensSQL shines by offering support for this robust and user-friendly tool made especially for querying graph databases. Cypher is quite effective for such jobs because of its pattern-centric approach, which makes difficult searches involving networked data simple.

**Improved Graph Workload Performance**
AgensSQL is a specific extension for graph databases that improves handling of graph workloads. Its indexing and storing methods make it possible to quickly handle graph structures, which speeds up traversal through and analysis of graph data.

**Adaptability**
The features of extension and adaptability are highly valued in AgensSQL. Extensions can be made by developers to add new functionality and satisfy certain needs. AgensSQL is a flexible solution that can be used in a variety of use cases and sectors because to its adaptability.
PostgreSQL Architecture: A Comprehensive Overview
Tags: apacheage, postgressql, agenssql, database
Published: 2023-10-08 10:48:48

**Introduction**
PostgreSQL is an advanced database management system distinguished by its complex design, which consists of numerous levels and parts that work together to offer a flexible and reliable database solution.

At its foundation, PostgreSQL has a client interface that makes it simple to establish connections with the database to run commands and queries. It also uses a server component that constantly watches for new client connections. Each client connection starts a separate server process that performs PostgreSQL operations specifically for that client.

PostgreSQL relies on shared memory, which serves as a shared memory segment available to all server processes, to enable effective communication and coordination among server activities.

**Data Management in PostgreSQL**
In PostgreSQL, data is organized into databases, schemas, tables, indexes, and other data objects that are all kept in data files.

Additionally, PostgreSQL makes use of a transaction log known as Write-Ahead Logging (WAL). This log carefully documents each change made to the data files, catching adjustments before they are made to the actual data files themselves. Even in the event of system failures or power outages, this strategy guarantees data longevity and integrity.

**Key Features**
As a database management system, PostgreSQL stands out for its excellent versatility and extensibility. Custom data types, index types, functions, operators, aggregates, and even programming languages can all be defined by users at their discretion. Support for a variety of data models, including conventional tables and columns as well as objects and classes, is provided.

Additionally, PostgreSQL includes sophisticated locking algorithms and concurrency management strategies that serve as safeguards for data consistency and integrity. The multi-version concurrency control (MVCC) system is one famous method that allows numerous transactions to access the same data at once without interfering with one another.

PostgreSQL is famous for its sturdy performance and low maintenance needs when it comes to stability and reliability. Additionally, it is an open-source database management system, which means that anyone can access its source code with a permissive license. This encourages the growth of a lively and cooperative community of users and developers by making it possible for those with the requisite expertise to use, change, and distribute it in many formats.

**Conclusion**
In conclusion, Understanding PostgreSQL's architecture and fundamental features is essential to utilizing it to the fullest extent possible. Large datasets and sophisticated queries are no problem for PostgreSQL's robust and adaptable database management system. With this knowledge, you'll be able to use PostgreSQL more successfully for your database management tasks.
HTML CSS back to the basics
Tags: webdev, html, css
Published: 2023-10-08 10:42:42

We all know HTML and CSS but it is always better to look back to the basics and re-assure we know the basic. Here are some questions related to HTML that I have found a bit difficult but good to learn again.


- **Which two elements are used to mark-up subscript and superscript text?**

- **Which markup is correct in the below list?**
  

```
<date time="2025-10-08">October 8, 2025</date>
```

```
<date>October 8, 2025</date>
```

```
<datetime time="2025-10-08">October 8, 2025</datetime>
```

```
<time datetime="2025-10-08">October 8, 2025</time>
```

- **Which code produces the output shown in the image below?**

![using sub and sup](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/emm1xtx5kfaa615s2ov8.jpg)

```
2<sub><small><small> 5</small></small></sub><sup>8</sup>
```

```
2<sup><small><small> 8</small></small></sup><sub>5</sub>
```
```
2<sup><small><small> 5</small></small></sup><sub>8</sub>
```

- Which markup is correct in below list?
```
<date time="2025-10-08">October 8, 2025</date>```

```
<date>October 8, 2025</date>```
```
<time datetime="2025-10-08">October 8, 2025</time>
```

- **Why would you want to use the w specification in srcset instead of the x specification?**

- **Which one is pseudo class and which one is pseudo element in the below code ?** 

```
p:first-of-type {
 
}
p::first-letter {
 
}
```
 

- **What is margin collapsing?**

- **When a float needs to be cleared using the parent element, what “display” value should be used?**

- **"flex" is the shorthand property for which three longhand properties?**