teleren/devto huggingface dataset:
What Happens to USDC? USDC depeg
Tags: crypto, blog, news, usdc
Published: 2023-03-11 17:05:51

USDC seems depeg in the last 2 days.

![image.png](https://cdn.steemitimages.com/DQmP9CAwPkZm3G9FoScGt1EM2xpjb6dqUu3mPmmpqXMe86F/image.png)


And this causes BTC to dive:


![image.png](https://cdn.steemitimages.com/DQmVNffCgvuM8282Ykazz52aGSqh1srBat1MBe5htJCTgbf/image.png)

And ETH

![image.png](https://cdn.steemitimages.com/DQmWcxB4DSLVYaGb5Qce4nkhWm6u6WpJBGLDntrbi8PqqXe/image.png)

and STEEM:


![image.png](https://cdn.steemitimages.com/DQmV4sqB1BEajECrUtYPMRRKRKT3532CpzDtFrD1grp8TLw/image.png)

Here is the annoucement from Circle.


![image.png](https://cdn.steemitimages.com/DQmaceL9NTCRJEZZriqHad3oG6xZejqhRoYerwmVchnKamA/image.png)

News:


https://www.coindesk.com/markets/2023/03/10/scrutiny-falls-on-43b-usdc-stablecoins-cash-reserves-at-failed-silicon-valley-bank/


![image.png](https://cdn.steemitimages.com/DQmckjd7cJ8HhfxXLfoU2AbtZ2Rkib1SqYrNSJj1Joi8CwP/image.png)

### A few months back, I heard people saying the USDC is safer than USDT because USDC is more transparent. But who might see this coming? the Bank goes bankcruptcy.. You never know.


<hr/>

### [Steem](https://steemyy.com) to the Moon!
1. You can swap the STEEM/SBD to USDT (TRC-20) via [Steem2USDT](https://steemyy.com/steem2usdt.php)
2. Register a free STEEM account at [here](https://steemyy.com/reg.php)
How to make the Google reCAPTCHA responsive?
Published: 2023-03-11 17:05:34

Google reCAPTCHA is a popular tool used by websites to prevent spam and abuse by bots. Making it responsive means ensuring that it works seamlessly on all devices, including mobile devices with smaller screens. By using the CSS transform property you can achieve changing the width by changing the entire scale of the reCAPTCHA. By adding in just two inline styles, you can make the reCAPTCHA fit nicely on your mobile device. You can make the captcha responsive by simply adding below code to your global CSS:

```
<style>
@media only screen and (max-width: 500px) {
    .g-recaptcha {
        transform:scale(0.77);
        transform-origin:0 0;
    }
}
</style>
```
Homepage for Backend developers
Tags: programming, backend, github, webdev
Published: 2023-03-11 17:00:48

Hello everyone! I want to let you know about my project, which aims to provide the universal information backend developers need. It's called [Backend cheats](https://github.com/cheatsnake/backend-cheats) and it's like a home page for backend developers, with lots of information and resources to help you get structured information on many topics in this area.

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

All content is located directly on the main repository page on GitHub. There are now as many as 13 chapters available, with more on the way:

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

Thank you for taking a moment of your time!
Latest Trends in SEO
Tags: seo, trendsinseo
Published: 2023-03-11 16:50:37


<u>Search Engine Optimization (SEO)</u> is constantly evolving, and staying up-to-date with the latest trends is crucial to achieving success in search engine rankings. As we move into 2023, here are the top five SEO trends to watch.

**Artificial Intelligence (AI) and Machine Learning**
Artificial intelligence (AI) and machine learning have been buzzwords in the SEO industry for a while now, but their importance is only increasing. Google's RankBrain algorithm uses machine learning to understand search queries better, and the use of AI in voice search is also becoming more prevalent. As AI and machine learning continue to develop, they will have an even bigger impact on SEO.

**The Rise of Visual Search**
Visual search is becoming more popular, and it's an area that SEO professionals should be paying attention to. With visual search, users can take a photo of an object and search for it online, which presents an opportunity for businesses to optimize their images and product descriptions for visual search.

**The Importance of Mobile Optimization**
Mobile optimization has been important for a while now, but it's becoming even more critical in 2023. Google is moving to mobile-first indexing, which means that mobile versions of websites will be given priority in search results. To succeed in SEO, it's essential to have a mobile-responsive website that provides an excellent user experience on all devices.

**The Emphasis on User Experience**
Google has always emphasized the importance of user experience, and this will continue in 2023. The search engine will favor websites that provide users with a seamless experience, including fast loading times, easy navigation, and high-quality content. To succeed in SEO, businesses need to focus on delivering the best possible experience to their users.

**The Rise of Voice Search**
Voice search has been gaining popularity in recent years, and it's expected to continue to grow in 2023. SEO professionals need to optimize for voice search by using natural language, incorporating long-tail keywords, and providing concise answers to common questions.

**In conclusion**, SEO is constantly evolving, and it's essential to keep up with the latest trends to succeed. In 2023, the top five trends to watch are the use of AI and machine learning, the rise of visual search, the importance of mobile optimization, the emphasis on user experience, and the rise of voice search. By staying up-to-date with these trends, businesses can improve their search engine rankings and drive more traffic to their website.


That for now, Meet you back in next blog with an another interesting content..
Azure Functions: Hosting Plans
Tags: azure, azurefunctions
Published: 2023-03-11 17:06:10

---
title: Azure Functions: Hosting Plans
published: true
date: 2023-03-11 16:49:38 UTC
tags: #azure #azurefunctions
canonical_url: https://blog.cloudbuff.in/azure-functions-part-8
---

In the previous articles in this [series](https://dev.to/sjejurkar/up-and-running-with-azure-functions-1m8p), we created a few functions and deployed them to Azure. In this article, we will review various options available for hosting our Function App in Azure.

When we create a Function App in Azure, we must specify where our functions are hosted and where they will run. This is done by selecting a hosting plan. Azure offers three basic hosting plans:

- Consumption

- Premium

- Dedicated

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1678515548796/509e2528-9962-4772-a156-874fb84b6b2b.png)

## Consumption plan

This is the default hosting plan and is truly serverless. The cost will depend on the amount of memory used and the number of executions of our functions. Resources used by all functions in a Function App are combined to calculate the cost.

### Advantages

- We pay only when our functions are running.

- Azure will automatically scale our functions based on the load.

- This plan offers a free monthly grant.

> **Note** : Pricing calculation for this plan is somewhat complicated. Hence it is difficult to generalize free usage, but if we have a few hundred thousand function executions per month across all functions in our subscription, those will likely get covered under the free monthly grant.

### Drawbacks

- Cold starts - functions may scale down to zero and when the next invocation occurs, it will require some time to start up leading to a higher response time.

- Maximum memory available per instance is 1.5 GB RAM

## Premium plan

With the Premium plan, specific resource capacity (vCPU and memory) is reserved to run our functions. We can choose one of the available resource configurations. If autoscaling is enabled, Azure will spin up additional instances of the Function host based on load.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1678530195199/25ac2a5b-b716-4173-9bc1-58b49def56c2.png)

### Advantages

- Pre-warmed instances to avoid cold starts and provide consistent response times.

- Predictable pricing as allocation of resources is determined upfront.

### Drawbacks

- This plan can be expensive as you are paying for pre-allocated resources and also for additional instances for scaling.

## Dedicated plan

If we have an existing App Service plan, we can use the Dedicated plan to run our functions. Our functions will run on our App Service. If the server hosting our App Service is underutilized, this plan can help us use the remaining resources well.

### Advantages

- Functions run on an existing App Service

- No additional costs

### Drawbacks

- Auto-scaling is not supported

In this article, we saw a quick overview of options available to host our Azure Functions. Note that this article covers only the basics. Pricing calculations and some finer details are beyond the scope of this article.
Predicting the Outcome of NBA Games with Machine Learning
Tags: machinelearning, predictions, algorithms, datascience
Published: 2023-03-11 16:45:39

Have you ever wanted to know which team will win an upcoming NBA game? What if I told you that you can use machine learning algorithms to make accurate predictions?

In this article, we will explore how machine learning can be used to predict the outcome of NBA games. We will begin by introducing the concept of machine learning and explaining how it works. Then, we will describe the data set that we used for our analysis, which includes team statistics, player statistics, and past game outcomes.

**Preparing the Data**
Before we can build a machine learning model to predict game outcomes, we need to prepare and clean the data. This involves removing any missing or irrelevant data, and selecting the most relevant features for our model.

We decided to use a combination of team and player statistics to predict game outcomes. Some of the key features we used include:

Points per game
Field goal percentage
Three-point percentage
Rebounds per game
Assists per game
Turnovers per game
We also included past game outcomes as a feature, as we believe that past performance is a good indicator of future success.

**Building the Model**
Once we had our data set prepared, we experimented with different machine learning algorithms to predict game outcomes. Some of the algorithms we used include linear regression, decision trees, and neural networks.

After testing our models, we found that a random forest algorithm provided the most accurate predictions. A random forest is a type of decision tree algorithm that combines multiple decision trees to make more accurate predictions.

We trained our random forest model on a subset of the data, and then tested it on a separate subset. We found that our model was able to accurately predict the winner of NBA games with an accuracy of 75%.

**Implications and Limitations**
Our analysis provides valuable insights into the intersection of data science and sports. By using machine learning algorithms, we can make accurate predictions about the outcome of NBA games.

However, it is important to note that our analysis has some limitations. For example, we only used a subset of the available data, and we only focused on regular season games. It is possible that our model would not perform as well during playoff games or with a different data set.

**Conclusion**
In this article, we have demonstrated how machine learning algorithms can be used to predict the outcome of NBA games. By preparing the data and building a random forest model, we were able to make accurate predictions about the winner of NBA games.

While our analysis has some limitations, we believe that this approach has the potential to revolutionize the world of sports analytics. By using machine learning, we can gain a deeper understanding of the factors that contribute to success in sports, and make more informed decisions about game strategies and player acquisitions.
Hello InfrontJS
Tags: webdev, javascript, framework, programming
Published: 2023-03-11 16:37:24

[InfrontJS](https://www.infrontjs.com) is a new frontend framework. The main idea is to provide a robust and framework with minimum overload. Features like data-bindung, VirtualDOM, reactiveness etc. are not part of the framework on purpose. 

InfrontJS embraces the native platform, including the native DOM and vanilla javascript. I think that the modern browser platform already offers you a powerful system to create great applications. That said, you can easily extend InfrontJS with libraries like [snabbdom](https://github.com/snabbdom/snabbdom) (VirtualDOM) or [RxJS](https://rxjs.dev/) (Reactive Extension).

The benefits for this minimalism is that you avoid unneccessary abstraction layers right from the beginning, have more control over your code and the platform. In addition, having a small codebase has the positive effect that you avoid frequent version updates with breaking changes. This assures that developers are less distracted by the framework and can focus on their actual project/product.

Currently, I am working very hard on the release of version 1.0. Beside the framework, I will offer a development server (based on esbuild) and a cli tool to boost the application development.

## Help and Feedback needed

Since I am currently working on it on my own - I really would love to get some feedback. If you are interested in frontend development - maybe you can have a look at it and share your thoughts with me. In addition, feel free to play around with the code and share the word.

## Resources

Currently, I managed to put the following resources online:

* [Website](https://www.infrontjs.com) - Small landing page for now
* [API docs](https://apidocs.infrontjs.com) - Not 100% done yet
* [Github](https://github.com/infrontjs/infrontjs) - The code of the framework
* [Examples](https://examples.infrontjs.com/) - Only four small examples yet
* [Guides](https://guides.infrontjs.com/#/) - Just some blank pages for now. 

The internal dev server called *Frontfire* and a CLI tool will be released soon.

## Social

If you like, you can follow me here on Dev.to or on my [twitter account](https://twitter.com/bennyschuetz) or the [InfrontJS twitter account](https://twitter.com/infrontjs).
How to Set Up Soroban Python SDK on Windows: A Step-by-Step Beginner Tutorial
Published: 2023-03-11 16:24:56

Install Python:

Download the latest version of Python from the official website: https://www.python.org/downloads/windows/
Follow the installation wizard to install Python on your computer.
Install pip:

Open the command prompt (cmd) on your computer.
Type the following command: 

```
python -m ensurepip --default-pip
```
Press Enter.
Pip should now be installed on your computer.
Install Soroban Python SDK:

Open the command prompt (cmd) on your computer.
Type the following command: 

```
pip install soroban
```
Press Enter.
The Soroban Python SDK should now be installed on your computer.
Verify the installation:

Open the Python interpreter by typing 

```
python
```
 in the command prompt.
Type the following command: 

```
import soroban
```
Press Enter.
If there are no error messages, then the Soroban Python SDK has been successfully installed.
That's it! You should now be able to use the Soroban Python SDK in your Python projects.
PostgreSQL parameter statement_timeout
Tags: postgres, database, devops, sql
Published: 2023-03-11 16:09:02

The `statement_timeout` is configuration parameter of PostgreSQL.

It sets the length of time before a statement automatically time out.

Usage examples.

`#1 Example. How to cancel long running SELECT query using the PostgreSQL parameter statement_timeout?`

```
postgres=# select version();
                                                           version
-----------------------------------------------------------------------------------------------------------------------------
 PostgreSQL 15.1 (Debian 15.1-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
(1 row)


postgres=# show statement_timeout;
 statement_timeout
-------------------
 0
(1 row)

postgres=# set statement_timeout='2s';
SET

postgres=# SELECT * FROM generate_series(1,50000000000);
ERROR:  canceling statement due to statement timeout
```

`#2 Example. How to cancel long running UPDATE query using the PostgreSQL parameter statement_timeout?`

```
postgres=# create table abc(a bigint);
CREATE TABLE

postgres=# set statement_timeout=0;
SET

postgres=# insert into abc SELECT * FROM generate_series(1,10000000);
INSERT 0 10000000

postgres=# set statement_timeout='2s';
SET

postgres=# update abc set a=a+2;
ERROR:  canceling statement due to statement timeout
```

`#3 Example. How to cancel long running DELETE query using the PostgreSQL parameter statement_timeout?`

```
postgres=# show statement_timeout;
 statement_timeout
-------------------
 2s
(1 row)
                 
postgres=# select count(1) from abc;
  count
----------
 10000000
(1 row)

postgres=# delete from abc;
ERROR:  canceling statement due to statement timeout
postgres=# select count(1) from abc;
  count
----------
 10000000
(1 row)

postgres=#
```

`#4 Example. How to cancel long running INSERT query using the PostgreSQL parameter statement_timeout?`

```
postgres=# select count(1) from abc;
  count
----------
 10000000
(1 row)

postgres=# insert into abc select * FROM generate_series(1,10000000);
ERROR:  canceling statement due to statement timeout
postgres=# select count(1) from abc;
  count
----------
 10000000
(1 row)
```

`#5 Example. How to cancel long running CREATE INDEX query using the PostgreSQL parameter statement_timeout?`

```
postgres=# show statement_timeout;
 statement_timeout
-------------------
 2s
(1 row)

postgres=# create index abc_idx on abc(a);
ERROR:  canceling statement due to statement timeout
postgres=#
```
nhacaibsports
Published: 2023-03-11 15:46:26

"Tỷ lệ kèo nhà cái trực tuyến - Chốt keonhacai 88 hôm nay mới nhất. Cập nhật soi kèo bsport, soi kèo nhà cái trực tiếp tham khảo kèo bóng đá.
Website: https://bsports.pro/soi-keo-nha-cai/
Hastag :  #Soikèonhàcái  #nhàcáitrựctuyến #keonhacai 88 #SoikèonhàcáiBsport 
SĐT        0945.009.309
Địa chỉ        33 Chu Văn An, Bình Thạnh, Hồ Chí Minh."
https://englishbaby.com/findfriends/gallery/detail/2433673
https://www.quora.com/profile/Bsports-Nhacai
https://peatix.com/user/16356298/view
https://wefunder.com/nhacaibsports
https://onlyfans.com/nhacaibsports
https://forums.ccbluex.net/user/nhacaibsports
https://storium.com/user/nhacaibsports
https://www.sqworl.com/u.php?user=895803
https://pxhere.com/en/photographer/3968336
https://www.dday.it/profilo/nhacaibsports
https://mastodon.top/@nhacaibsports
https://forums.alliedmods.net/member.php?u=339991
https://www.midi.org/forum/profile/106051-nhacaibsports
http://tupalo.com/en/users/3795925
Divide and Conquer approach
Tags: architecture, design, algorithms, computerscience
Published: 2023-03-11 15:24:57

Image from [Unsplash](https://unsplash.com/photos/B-x4VaIriRc)

## Breaking the problem into smaller pieces

The idea behind the divide and conquer concept is breaking down a problem into smaller sub-problems, solving each sub-problem independently, and then combining the solutions to obtain the final solution to the original problem. The concept is based on the idea that if we can break down a problem into smaller pieces, it becomes easier to solve each sub-problem individually.

## Divider and conquer algorithm

This technique is useful and powerful for solving problems that are too large or complex to solve using traditional brute-force methods. By dividing the problem into smaller sub-problems, we can reduce the amount of computation needed to solve the problem, making it more manageable.

So it's more efficient in comparison to brute-force methods and it's usually easier to understand and maintain. It can also be used to solve a wide variety of problems, from simple sorting problems to complex optimization problems. Some well-known algorithms are based on the divide and conquer approach, such as **sorting algorithms** and **binary search**.

## The steps in a practical example

Let's say we want to sort an array of integers whose length can be a very large number. We can use a sorting algorithm to do that. Once this algorithm is based on the divide and conquer approach, the main steps would be:

1. Dividing the problem into smaller sub-problems: finding the base case, breaking the input into subarrays (sub-problems) instead of trying to sort a long array (original problem) at once. In other words, finding smaller instances of the same problem.

2. Conquering the sub-problems: sorting the subarrays recursively.

3. Combining the solutions to the sub-problems: merging the sorted subarrays in a sorting problem to get the final sorted array. 

## Conclusion

Divide and conquer approach is a powerful technique that can be used to solve complex problems efficiently.
MLOps and Databricks!
Tags: datascience, machinelearning, tutorial, programming
Published: 2023-03-11 15:23:19

Hello,

Recently, I went to study about MLOps using Databricks, I gathered some links, e-books and videos, in addition to asking ChatGPT to explain some terms to me, the post below is a compilation of everything:

https://jlgjosue.medium.com/mlops-and-databricks-5e2d682a6cb8
Best Practices for Responsive Web Design
Published: 2023-03-11 15:13:37

The world is quickly becoming mobile, and more and more people are accessing the internet on their smartphones and tablets. This makes it more important than ever to have a website that is responsive and can adjust to any device's screen size. Responsive web design is the practice of creating websites that are adaptable to any screen size, from a small smartphone to a large desktop computer. In this article, we will discuss some best practices for creating responsive web design.

**Mobile-First Approach**

One of the best practices for responsive web design is to take a mobile-first approach. This means that you design your website for mobile devices first and then expand to larger screens. This approach ensures that your website is optimized for mobile devices, which is increasingly important as more people use their phones to access the internet.

**Fluid Layouts**

Another essential aspect of responsive web design is to use fluid layouts. Instead of specifying a fixed width for your website, you can use percentages for widths and heights. This ensures that your website adapts to different screen sizes, providing a consistent user experience across devices.

**Use Media Queries**

Media queries are a powerful tool for responsive web design. They allow you to specify different styles for different screen sizes. This means that you can optimize your website for each device's specific screen size, making sure that it looks great on any device.

**Optimize Images**

Images can significantly impact your website's load time, especially on mobile devices. It's essential to optimize your images for the web, which means compressing them without sacrificing quality. You can also use responsive images, which are images that adapt to different screen sizes, ensuring that your website loads quickly on any device.

**Consider Touch Interactions**

Mobile devices use touch interactions, which are different from mouse interactions on desktop computers. It's essential to consider touch interactions when designing your website, which means ensuring that buttons and links are large enough to tap on a touch screen and that there is enough space between them.

**Test Across Devices**

Finally, it's crucial to test your website across devices. There are many different screen sizes and resolutions, and you want to make sure that your website looks great on all of them. You can use tools like BrowserStack or Sauce Labs to test your website on different devices and ensure that it's responsive and looks great.

In conclusion, responsive web design is essential in today's mobile-first world. By following these best practices, you can create a website that adapts to any screen size, providing a consistent and engaging user experience across devices. With mobile internet usage only set to increase, responsive web design will only become more important in the years to come.