teleren/devto huggingface dataset:
Wat if... ?
Tags: discuss, go, microservices, package
Published: 2023-12-08 18:01:52

Imagine if each 'package' in our code acted as an independent Microservice. Consider the classic grep.h from UNIX as an example – a distinct unit with a unique function. What if we expand this idea, transforming our packages into microservices?

Under this innovative approach, a 'package' would transcend its traditional role. Instead of merely being a collection of functions or a library, it would assume the identity of a Microservice, albeit without an inherent transport layer. This means each package, akin to grep.h, becomes a self-contained service with its own API and data management, yet initially, it operates without dedicated transport mechanisms like HTTP or MQ.

This perspective shift is not just semantic. It revolutionizes how we construct software, especially monolithic applications. A monolith could be envisioned as a composite of numerous microservices (packages), each responsible for a distinct aspect of the application. This modular approach enhances scalability and maintainability, as each microservice (package) can be developed, tested, and deployed independently.

This restructuring blurs the traditional distinction between monolithic and microservice architectures. It suggests a hybrid model where a monolith is built from numerous microservices, each packaged as a standalone unit but working cohesively within a larger system.

Could this be a stepping stone towards more modular and maintainable monolithic architectures?

what do You think?

__tiny example: https://github.com/9glt/nanoservice__
رنگ سال 2024: هلویی مخملی، نمادی از آرامش و اعتماد
Published: 2023-12-08 17:53:38


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tf21uvfuzuj4sjs5sa2p.jpg)
موسسه رنگ پنتون هر ساله با توجه به شرایط مختلفی که در جامعه و اقتصاد و حتی سیاست وجود دارد، یک رنگ را به عنوان رنگ سال انتخاب می کند. رنگ سال 2024، «هلویی مخملی» (Peach Fuzz) است. این رنگ ترکیبی از رنگ‌های نارنجی و صورتی است و نمادی از اعتماد، اطمینان و آرامش است.

**چرا رنگ هلویی مخملی رنگ سال 2024 شد؟**

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

کارشناسان موسسه رنگ پنتون معتقدند که رنگ هلویی مخملی بازتابی از تمایل ما به بازگشت به آرامش و امنیت در سال‌های آینده است. سال‌های اخیر، سال‌های پرتنشی بوده است و همه ما به دنبال آرامش و اطمینان هستیم. رنگ هلویی مخملی می‌تواند این آرامش و اطمینان را به ما منتقل کند.

**ترکیب رنگ هلویی مخملی**

رنگ هلویی مخملی ترکیبی از رنگ‌های نارنجی و صورتی است. این رنگ گرم و دعوت‌کننده است و احساس آرامش و راحتی را به افراد منتقل می‌کند. رنگ هلویی مخملی را می‌توان با رنگ‌های مختلفی ترکیب کرد. برای مثال، می‌توان آن را با رنگ‌های سفید، کرم، خاکستری یا آبی روشن ترکیب کرد.

**کاربرد رنگ هلویی مخملی**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4qhbh4k2ocvdeoklalk2.jpg)
رنگ هلویی مخملی را می‌توان در طراحی داخلی، مد و فشن و حتی در هنر و موسیقی استفاده کرد. در طراحی داخلی، می‌توان از این رنگ برای ایجاد فضایی گرم و دعوت‌کننده استفاده کرد. برای مثال، می‌توان از این رنگ برای رنگ‌آمیزی دیوارها، مبلمان یا پرده‌ها استفاده کرد. در مد و فشن، می‌توان از این رنگ برای ایجاد ظاهری زنانه و جذاب استفاده کرد. برای مثال، می‌توان از این رنگ برای لباس، کیف، کفش یا لوازم جانبی استفاده کرد. در هنر و موسیقی، می‌توان از این رنگ برای ایجاد فضایی آرام و دلنشین استفاده کرد. برای مثال، می‌توان از این رنگ در نقاشی، موسیقی یا طراحی لباس استفاده کرد.

**نتیجه‌گیری**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/67geyg249023k0cfajav.jpg)
رنگ هلویی مخملی رنگی زیبا و آرامش‌بخش است که می‌تواند در سال 2024 تأثیر زیادی بر زندگی ما داشته باشد. این رنگ می‌تواند به ما کمک کند تا آرامش و اطمینان را در زندگی خود بازیابی کنیم.
Auth2 Explained: The Essential Guide for Developers and Architects
Tags: oauth2, webdev, tutorial, programming
Published: 2023-12-08 17:53:24

## What is Auth2?
Auth2, also known as OAuth 2.0, is an industry-standard authorization system that allows a website or application (client) on behalf of a user to access resources hosted by another website or application (resource server). It provides secure delegated access without requiring the client to store or expose the user's credentials.

### Brief History
**Released**: OAuth 2.0 was first released in 2010 as a replacement for OAuth 1.0.
**Alternatives**: Prior to Auth2, solutions such as SAML and Basic Authentication were used, but they had limitations like complexity, security issues, and a lack of flexibility.

## Key Features:
**Security**: Securely grants access to resources without sharing user credentials.
**Simplicity**: Easier for developers to implement compared to other authorization protocols.
**Flexibility**: Supports various authorization flows for different applications and devices.
**Widely adopted**: Used by major websites and applications like Google, Facebook, and Twitter.


![Differences between SAML vs OpenID Connect](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dbqh83c02y6xsi5j9n94.png)

For any architect, most crucial thing is to decide the best alternatives for their solutions. So here is the basic idea when to use one over other - 

SAML: This protocol is ideal for large organisations with complicated security needs and the need for SSO across several apps.

OpenID Connect: This is appropriate for online and mobile apps that require easy authentication and authorization as well as quicker integration.

## Advantages of Auth2:
**Improved security**: No need to store or share user credentials directly.
**Ease of Use**: Simpler implementation for developers and a better user experience.
**Wide Adoption**: Most major online services and apps support widespread adoption.
**Scalability**: Easily handles huge amounts of authentication requests.

## Limitations of Auth2:
**Vulnerable to attacks**: Auth2, like every protocol, is vulnerable to attacks if not implemented appropriately.
**Limited control over user data**: Clients have limited control over user data obtained through Auth2.
**Complexity for certain scenarios**: Certain use cases may necessitate further configuration or customisation.

We use various preventions to avoid Vulnerability assaults but that is quite long to mention here, I can write a whole blog on that if needed let me know.

## Conclusion
Auth2 has evolved as the main online authorization standard, providing a combination of security, convenience, and flexibility. Its extensive use and simplicity of integration make it an invaluable tool for both developers and users. However, it is critical to understand its limits and put suitable security measures in place to prevent such risks.
Boz Digital Bundle Free Download
Tags: vstplugin
Published: 2023-12-08 17:45:27



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/61o5f9w8gk41pgrqptdy.png)Tech Specs (MAC & Windows)
Software Type: Music Software
Platform:, MAC & Windows
Upgrade/Full Version: Full Unlocked
Download/Boxed: Download
License Type: Lifetime Activation
Format:AAX, VST3,VST,VST2 AU, Standalone
Hardware Requirements – PC:Intel / AMD Multi-core CPU, 4GB RAM minimum
OS Requirements – OSX : 10.15  or later
 
[Free Download 
](https://kalaplugins.com/boz-digital-bundle/)
Included Plugins In This Bundle
Boz Digital Labs Big Clipper 2
Boz Digital Labs Panipulator v3
Boz Digital Labs Plus 10db 2
Boz Digital Labs ReCoil
Boz Digital Labs The Hoser XT 2
pyaction 4.27.0 Released
Tags: github, docker, python, showdev
Published: 2023-12-08 17:35:33

## TL;DR

I just released [pyaction](https://github.com/cicirello/pyaction) 4.27.0, a [Docker container with Python, git, and the GitHub CLI](https://dev.to/cicirello/pyaction-a-docker-container-with-python-git-and-the-github-cli-930). You can pull pyaction from either the [GitHub Container Registry](https://github.com/cicirello/pyaction/pkgs/container/pyaction) or from [Docker Hub](https://hub.docker.com/r/cicirello/pyaction).

This release updates the version of the GitHub CLI included in the container.


## Changelog 4.27.0 - 2023-12-08

### Changed
* Bumped GitHub CLI to 2.40.0.


## Current Version List

This latest release of pyaction includes the following:
* Python 3.12.0
* [GitHub CLI 2.40.0](https://github.com/cli/cli/releases/tag/v2.40.0)
* git 2.39.2
* curl 7.88.1
* gpg 2.2.40



## More Information

Please consider starring pyaction's GitHub repository:

{% github cicirello/pyaction %}

For more information, see my earlier post about pyaction here on DEV, as well as its webpage. 

{% link https://dev.to/cicirello/pyaction-a-docker-container-with-python-git-and-the-github-cli-930 %}

{% embed https://actions.cicirello.org/pyaction/ %}



## Where You Can Find Me

Follow me [here on DEV](https://dev.to/cicirello) and on [GitHub](https://github.com/cicirello):

{% user cicirello %}

Or visit my website:

{% embed https://www.cicirello.org/ %}
Amp Credit Loan Customer Care Helpline Number ;)).9330079553. Contactjfj
Tags: web3, javascript
Published: 2023-12-08 17:31:08

Amp Credit Loan Customer Care Helpline Number ➒➌➌⓿⓿➐➒➎➎➌;)).9330079553. ContactAmp Credit Loan Customer Care Helpline Number ➒➌➌⓿⓿➐➒➎➎➌;)).9330079553. Contact
What's The Difference Between Brokers And Exchange Platform Providers?
Published: 2023-12-08 17:25:35

In the cryptocurrency industry, brokers and exchanges are essential since they streamline transactions and simplify the investing process for institutional and individual clients. Conventional brokers, often referred to as [broker-dealers](https://b2broker.com/news/how-does-a-broker-dealer-work/), provide necessary services, including research, consultations, and portfolio management, in addition to facilitating open trading in various marketplaces. On the other hand, cryptocurrency brokers streamline intricate crypto operations by carrying out transactions and investment possibilities on behalf of clients.
Understanding The Standard Vs. Crypto Exchanges
Conventional exchanges, such as the New York Stock Exchange (NYSE), aggregate a vast array of market trading opportunities and make them accessible to investors globally, offering a simplified trading environment for individuals and businesses. 
Strict government regulations govern them because of their significant influence on financial markets. On the other hand, cryptocurrency exchanges adapt their services to the erratic and turbulent cryptocurrency market. They frequently use automated [market makers](https://b2prime.com) and other protocols to control trade flow and [maintain liquidity](https://b2prime.com/news/the-importance-of-high-liquidity-in-cryptocurrencies/).
Broker Organisations
Brokers serve as middlemen between buyers and sellers, offering specialised services based on the risk tolerance and financial objectives of each side. They could also provide other services, including margin trading, portfolio management, and financial counselling. By fixing the price of digital currencies, crypto brokers facilitate transactions by removing the need for price wrangling between buyers and sellers. Additionally, cryptocurrency brokers may provide cutting-edge services, including risk management procedures, consultations, and in-depth market analysis. 
Differences Between The Two Institutions
Exchanges are unbiased online marketplaces facilitating peer-to-peer trading, [allowing buyers](https://b2prime.com) and sellers to interact directly and determine asset prices based on supply and demand dynamics. They don't carry out deals or offer advice concerning specific services. On the other hand, brokers provide many valuable services that assist traders in making the right trading decisions. Working with a broker has several disadvantages, such as spread costs, less control over transactions, and fewer alternatives for novices.
In Summary,
In conclusion, it is essential to differentiate between [brokers and exchanges](https://b2prime.com/mu/news/whats-the-difference-between-exchange-and-broker/) to choose the best alternative for your current trading requirements. While they have many similarities, the two services are fundamentally different and facilitate different trading strategies. So, make your choice diligently and consider your options well.
gnu-on-alpine 3.19.0 and alpine-plus-plus 3.19.0 Released
Tags: docker, linux, github, showdev
Published: 2023-12-08 17:23:59

## TL;DR

I just released [gnu-on-alpine](https://github.com/cicirello/gnu-on-alpine) 3.19.0 and [alpine-plus-plus](https://github.com/cicirello/alpine-plus-plus) 3.19.0, [two lightweight containers for implementing GitHub Container Actions with shell scripting](https://dev.to/cicirello/gnu-on-alpine-and-alpine-plus-plus-two-lightweight-containers-for-implementing-github-container-actions-with-shell-scripting-360i). Both containers are built upon [alpine](https://hub.docker.com/_/alpine) to keep the image size small for fast loading within GitHub Actions, and both are preinstalled with bash, coreutils, findutils, and gawk; and alpine-plus-plus is additionally preinstalled with git.


## Changelog gnu-on-alpine 3.19.0 - 2023-12-08

### Changed
* Bumped alpine to 3.19.0.

## Changelog alpine-plus-plus 3.19.0 - 2023-12-08

### Changed
* Bumped alpine to 3.19.0.


## More Information

For more information, see my earlier post about gnu-on-alpine and alpine-plus-plus here on DEV, as well as their GitHub repositories and project pages. Please consider starring on GitHub.

{% link https://dev.to/cicirello/gnu-on-alpine-and-alpine-plus-plus-two-lightweight-containers-for-implementing-github-container-actions-with-shell-scripting-360i %}

{% github cicirello/alpine-plus-plus %}

{% github cicirello/gnu-on-alpine %}

{% embed https://actions.cicirello.org/alpine-plus-plus/ %}

{% embed https://actions.cicirello.org/gnu-on-alpine/ %}


## Where You Can Find Me

Follow me [here on DEV](https://dev.to/cicirello) and on [GitHub](https://github.com/cicirello):

{% user cicirello %}

Or visit my website:

{% embed https://www.cicirello.org/ %}
How does a web scraper work?
Tags: datascience, python, analytics, learning
Published: 2023-12-08 17:19:38

Recently I made a web scraper for my EEG attention classification project, here's how a web scraper works.

**1. Request:**

* The web scraper starts by receiving a request from the user specifying the target website and desired data.
* The request may also include specific instructions for filtering or parsing the extracted information.

**2. Fetching Data:**

* The scraper initiates a web request to the target website, mimicking a regular browser visit.
* This request retrieves the website's HTML code, which contains all the content and structure information.

**3. Parsing the HTML:**

* The scraper then parses the downloaded HTML code using various techniques like regular expressions or dedicated libraries.
* This process identifies and extracts the desired data based on the provided instructions.

**4. Data Extraction:**

* The extracted data can be targeted specific elements like text within specific HTML tags or attributes.
* Alternatively, the scraper can extract entire sections or tables based on their structure and position.

**5. Handling Dynamic Content:**

* Some websites use dynamic content generated by JavaScript or other scripting languages.
* Web scrapers often utilise headless browsers or dedicated libraries to handle such dynamic content and extract the relevant data.

**6. Data Processing:**

* Once extracted, the data can be cleaned, formatted, and converted to the desired format (e.g., CSV, JSON).
* This may involve removing unwanted elements, handling inconsistencies, and structuring the data for further use.

**7. Storage and Output:**

* Finally, the processed data is stored in a chosen location (e.g., local file, database) or delivered to the user.
* The output format and delivery method depend on the specific application and user needs.

**Additional Points:**

* Web scrapers can be automated to run periodically and collect updated data over time.
* Advanced scrapers can handle complex website structures and utilise various techniques to avoid detection and bypass anti-scraping measures.
* Ethical web scraping practices involve respecting robots.txt guidelines and using responsible scraping techniques.

###Links
* [Code](https://github.com/metal0bird/Things-that-should-not-exist/blob/main/web%20scraper%20/download.py)
* [My GitHub](https://github.com/metal0bird)
Neo4j: List predicates
Tags: neo4j, cheatsheet
Published: 2023-12-08 17:05:17

```
all(x IN coll WHERE x.property IS NOT NULL)
```
Returns true if the predicate is true for all elements in the list.
```
any(x IN coll WHERE x.property IS NOT NULL)
```
Returns true if the predicate is true for at least one element in the list.
```
none(x IN coll WHERE x.property IS NOT NULL)
```
Returns true if the predicate is false for all elements in the list.
```
single(x IN coll WHERE x.property IS NOT NULL)
```
Returns true if the predicate is true for exactly one element in the list.

> ## Useful links
> - [Create Online cheatsheet](https://simplecheatsheet.com/)
> - [Neo4j Cheatsheet](https://simplecheatsheet.com/neo4j)
AI Directory: Health
Tags: aidirectory, cheatsheet
Published: 2023-12-08 17:05:14

* [![Favicon](https://icon.horse/icon/ubiehealth.com) Ubie ai symptom checker](https://ubiehealth.com)

> ## Useful links
> - [Create Online cheatsheet](https://simplecheatsheet.com/)
> - [AI Directory Cheatsheet](https://simplecheatsheet.com/ai-directory)
Black Hat Europe
Published: 2023-12-04 14:22:43

🔒 As RELIANOID are a excited cybersecurity professional team with a passion for staying at the forefront of information security trends, we already attended Black Hat Middle East & Africa 2023 last month, and from today, we are present at Black Hat Europe, in London. Will you be there too? Let's connect and discuss the future of cybersecurity! 🔐 #BlackHatEurope #InfoSec #CybersecurityInnovator #CyberSecurity #EthicalHacking #InfoSecPros #SecurityConference #BlackHatEvents #ICTSecurity #TechInnovation #NEOMsponsorship #LondonEvents #GlobalTechCommunity #CyberDefense #OffensiveSecurity #DigitalSecurity #BHEurope2023 #InnovativeTech #NetworkingSecurity #EdgeSecurity #TechLeadership #CyberAwareness #SecurityEducation #FutureTechTrends #EuropeTechScene #ITSecurity #BlackHatCommunity #SecurityTraining #InteractiveLearning #DigitalTransformation #TechCollaboration #SecurityInnovation #UKEvents #LondonEvents #UKCybersecurity

https://www.relianoid.com/about-us/events/black-hat/
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oddbogmim4ttny7g7k3l.jpg)
How much Azure Open AI would cost?
Tags: azure, generativeai, openai, cost
Published: 2023-12-08 16:45:55

Azure OpenAI Service is a cloud-based platform that allows you to leverage large-scale, generative AI models using Azure infrastructure. The pricing for Azure OpenAI Service is based on a pay-as-you-go consumption model, which means you only pay for what you use. The price per unit depends on the type and size of the model you choose, as well as the number of tokens used in the input and output.

There are different types of models available in Azure OpenAI Service, such as language models, image models, embedding models, and speech models. Each model has a different price per unit, which you can find in the [Azure pricing calculator](https://azure.microsoft.com/en-us/pricing/details/cognitive-services/openai-service/). Some models also have additional costs for training, hosting, or inference.

For example, if you want to use the GPT-4 8K model, which is a large-scale language model, you would pay $0.03 per 1,000 tokens for the context prompt and $0.06 per 1,000 tokens for the completion. A token is roughly four characters for typical English text. You would also pay $102 per compute hour for training and $7 per hour for hosting the model.

If you want to use the Standard Dall-E model, which is an image model that can generate images from text, you would pay $2 per 100 images. There are no additional costs for training or hosting this model.

If you want to use the Standard Ada model, which is an embedding model that can create vector representations of text, you would pay $0.0001 per 1,000 tokens. There are no additional costs for training or hosting this model.

If you want to use the Whisper model, which is a speech model that can generate natural-sounding speech from text, you would pay $0.36 per hour. There are no additional costs for training or hosting this model.

To estimate your expected monthly costs for using Azure OpenAI Service, you can use the [Azure pricing calculator](https://azure.microsoft.com/en-us/pricing/details/cognitive-services/openai-service/) and enter your expected usage details. You can also use the [Azure Cost Management](https://azure.microsoft.com/en-us/pricing/details/cognitive-services/openai-service/) features to set budgets and monitor your actual costs. You can review forecasted costs and identify spending trends to optimize your spending.
Introducing HTTP Requester: The Chrome Extension That Simplifies API Testing for Developers
Tags: api, chrome, opensource, webdev
Published: 2023-12-08 16:27:20

## Embrace a Minimalist, Powerful Approach to API Testing!

Hello Devs! Today, I'm excited to share something that many of us in the web development community have been longing for – a straightforward, lightweight tool for API testing. Meet **HTTP Requester**, a Chrome extension that simplifies API testing without the bloat of traditional tools.

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

### Why HTTP Requester?

In our daily development work, efficiency and simplicity are key. HTTP Requester is born out of these necessities. It's a tool that strips away the unnecessary, focusing solely on what's essential for API testing.

- **Lightweight & Efficient**: No heavy downloads or complex setups. It’s a simple extension that lives in your browser.
- **Privacy-Conscious**: HTTP Requester runs locally, meaning your API requests and data stay on your machine.
- **Community-Driven & Open Source**: Being open source, it thrives on community feedback and contributions.

### Features at a Glance

- **Send and Test API Requests Easily**: Whether it's GET, POST, or any other HTTP method, HTTP Requester handles it smoothly.
- **Clear Response View**: Quickly view status codes, headers, and response bodies in a clean, organized manner.
- **Customization for Your Needs**: Set headers, add query parameters, and craft your request body as needed.

### For Developers, By Developers

HTTP Requester is not about bells and whistles; it's about functionality and ease of use. We understand that not every developer needs a full-featured API testing suite for quick checks or minor tests.

### Get Started Now!

While HTTP Requester is on its way to the Chrome Web Store, you don’t have to wait! You can start using it today:

1. Visit the [HTTP Requester GitHub repository](https://github.com/nexys-system/http-requester-chrome).
2. Follow the instructions to clone or download the extension.
3. Load it into your Chrome browser as an unpacked extension.

### Join the HTTP Requester Community

Your feedback and contributions are what make open-source projects like HTTP Requester truly valuable. Share your suggestions, report issues, or contribute to the code – every bit of input helps to refine and improve.

### Conclusion

HTTP Requester is a testament to what we, as a community, can build when we focus on simplicity, efficiency, and privacy. It’s a tool for those quick API tests, for those moments when you need clarity without complexity.

We’re excited to see how HTTP Requester evolves with your input and support. Let’s make API testing simpler and more accessible for every developer out there.