teleren/devto huggingface dataset:
3 Trends that Will Disrupt Managed Services in 2023
Tags: managedservices, cloud, machinelearning, observability
Published: 2023-01-02 18:51:00

---
title: 3 Trends that Will Disrupt Managed Services in 2023
published: true
description: In this post, we introduce three trends that are poised to disrupt managed service offerings in 2023 and beyond.
tags: managedservices, cloud, machinelearning, observability
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rgtbha6mya20kc4rq4za.jpg
# Use a ratio of 100:42 for best results.
published_at: 2023-01-02 18:51 +0000
---

If nothing else, the last year has brought the winds of change to the tech sector. From high-visibility [layoff cycles](https://layoffs.fyi/) at FAANGs and crypto companies, to turbulence in our [social media infrastructure](https://rotational.io/blog/twitter-wont-disappear-overnight/), to pop culture’s discovery of deep learning products like AI art and ChatGPT.

But many of us in tech are beginning to sense even bigger, deeper rumblings that suggest some fundamental changes afoot for commercial cloud and managed services. In [this post](https://rotational.io/blog/disrupt-managed-services/), we explore three changes to look out for in 2023. 

Read the article [here](https://rotational.io/blog/disrupt-managed-services/)!
Introduction to Software Engineering for beginners
Tags: programming, beginners, career
Published: 2023-01-02 18:39:11

A component of software engineering is programming. The process of adding instructions to a machine, such as a computer or mobile device, is also sometimes referred to as coding. The device is responsible for deciphering these logical instructions, which are expressed in a specific programming language.

 https://link.medium.com/svRNymuDgwb
The Challenges and Rewards of Software Development
Published: 2023-01-02 18:18:31

**As a software developer**, I know firsthand just how challenging and complex this field can be. But it's exactly these challenges that make it so rewarding and valuable. When a project is completed and delivered to users, the sense of accomplishment is unparalleled.

But let's be real - software development is no walk in the park. It requires a unique skill set, a wealth of knowledge, and a constant drive to learn and improve. It's a field that's always evolving, and it's up to us as developers to stay ahead of the curve.

And let's face it - software development projects are rarely smooth sailing. There will be setbacks, obstacles, and moments when you feel like throwing in the towel. But it's in these moments that you have to dig deep and remember why you love this work. It's not easy, but it's worth it.

Good developers are in high demand and well compensated because they have the skills and knowledge to navigate the complexities of a software development project and deliver high-quality results. So, to all my fellow software developers out there - don't be discouraged by the challenges you face. Embrace them as opportunities to grow and improve. The struggles we encounter are what make us valuable, and they ultimately lead to that amazing feeling of success when we deliver top-notch software to users.

What are your thoughts on above ?
Integer to String and String to Integer in Java
Published: 2023-01-02 18:17:02

## We can use value of :
Alexander Nikiforov on website ( [teamtreeHouse](https://teamtreehouse.com/community/how-can-i-convert-string-into-int-and-int-into-string-in-c-and-java))
on Oct 2, 2016
In Java you should use valueOf method for both conversions:

https://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html#valueOf(java.lang.String)

https://docs.oracle.com/javase/7/docs/api/java/lang/String.html#valueOf(int)

So to convert int to String you write:

```
int number = 1;
String stringFromNumber = String.valueOf(number);
// shorthand will be
String stringFromNumber = number + "";

```
To convert int to String is harder, because you have to account for NumberFormatException, see Docs links above:

```
String numberString = "1";
int intFromString;
try {
  intFromString = Integer.valueOf(numberString);
} catch (NumberFormatException nfe) {
   // do something
   System.out.println(numberString + " is not a number");
} 

``` 
or 
## we can use parseInt:

This method is used to get the primitive data type of a certain String. parseXxx() is a static method and can have one argument or two.

Syntax
Following are all the variants of this method −

static int parseInt(String s)
static int parseInt(String s, int radix)

```
public class Test { 

   public static void main(String args[]) {
      int x =Integer.parseInt("9");
      double c = Double.parseDouble("5");
      int b = Integer.parseInt("444",16);

      System.out.println(x);
      System.out.println(c);
      System.out.println(b);
   }
}
```

> 9
> 5.0
> 1092
Architecture of Kubernetes(Slave Node)
Tags: kubernetes, devops, beginners, tutorial
Published: 2023-01-02 18:13:45

1. Kubelet :
Kubelet is responsible for controlling the PODs, i.e it conveys the message to the API server which then forwards it to the Controller Manager to check if the desired state is maintained or not.
It always listens to Master Node, on port number 10255 which can also be changed according to the need.
Provides the feedback of success or failure to master.

2. KubeProxy :
Kubeproxy is responsible for assigning dynamic IP addresses to PODs and establishing communication between PODs. 
PODs are not allowed to communicate directly with each other, therefore KubeProxy is needed.
It runs on each slave node and makes sure that each POD get its own IP.

3. Container Engine :
The Container Engine is not supposed to be the internal part of K8s. Also, the major role of the Container Engine is to create containers in POD.
Generally it's seen, Docker is used as a Container Engine but ContainerD, and Rocket are some Container Engines that can be used as well.  
Responsible for pulling container images, exposing the container on the ports that are mentioned in manifest.
Also, looks after initialization and termination of containers.

4. POD :
POD is supposed to be the atomic / control unit of K8s. 
POD’s can not communicate directly with each other.
POD’s have containers in them.
Ideally a POD is supposed to have one container in it but we can keep more than one container as well, in such case, all the containers will be tightly coupled i.e. if any of the container starts malfunctioning, other containers that are connected with it will also get affected and at the end, that POD will be deleted.
Every time a new POD is created meaning if a POD has more than one container out of which a container of POD is not created then, Control Manger will create a whole new POD which will be assigned a whole new ip address.
Either the entire request of creating n number of PODs is fulfilled or not even a single container associated to that request is created.
Multi Container PODs share access to the same volume and memory space.
	
Limitations of POD : 
By default no facility of autohealing and autoscaling, for that higher objects of K8s are added.
In case of crashing of PODs, there is a dependency over Higher Level Kubernetes objects for rollback.
	
[Architecture of Kubernetes(Slave Node)](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xahrfxyh1j6ed120vdzm.png)
🛠 MiroTalk's WebRTC rooms scheduler server.
Tags: opensource, docker, mongodb, javascript
Published: 2023-01-02 17:53:36

**GitHub**: [https://github.com/miroslavpejic85/mirotalkwebrtc](https://github.com/miroslavpejic85/mirotalkwebrtc)

**Live demo**: [https://webrtc.mirotalk.com](https://webrtc.mirotalk.com)
How to add Discord like QR Code Login
Tags: typescript, webdev, javascript, python
Published: 2023-01-02 17:53:10

We've all experienced the new form of logging into your account where you log in by scanning a QR code from a mobile app. The first time I interacted with it was with Discord. By now millions of people have been on this 👇 page to experience this amazing platform.

![PC: https://discord.com/login (discord login screen)](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lvc3jehirkq0h0oz4jz7.png)

Besides beautifully crafted graphics, you can observe a QR code that you can scan using the discord mobile app to log in instantly.
In this article, I'll show you my approach that I reverse-engineered to achieve the same login experience in my application.

## ❓ What we're going to build?
In this article, I'll explain my approach to adding a QR code login. The app built as a reference has two main screens. Let's briefly discuss what it does.
Suppose a user is logged in on Device A and wants to log in on Device B. On Device A, the user will navigate to the page to enter (for simplicity; since both clients are browser based) a code shown on Device B's login screen. On success, the user will be automatically logged in on Device B.

## 👩‍💻 What's the stack?
In this article, I am going to use the following stack but you should be able to mimic this approach with any backend and frontend technology out there.
### Backend
- Django
- Redis
- PostgreSQL

### Frontend
- Nextjs (React/Typescript)

##🎳 Architecture
To get better understanding of application architecture, visit [this](https://www.figma.com/file/ryqQbDKT2vUDalZcyyHFZQ/django-qr-code-login?t=fpG6kg3HxSq6ZJJY-1).

## 😺 GitHub Repo
The demo project source code can be found on GitHub
{% github https://github.com/mabdullahadeel/yt-django-qr-code-login %}

## 🎥 Video
Watch me build a complete demo application 👇

{% youtube 8Pi5wp732Xw %}
【Node.js】How to fix the error "fetch is not defined"
Tags: node, apolloserver
Published: 2023-01-02 17:49:36

Version of node.js...v14.15.4

##PROBLEM##
When I executed query in Apollo Server, I encountered this error message from the server.
 

```
"errors": [
    {
      "message": "fetch is not defined",
      "locations": [
        {
          "line": 3,
          "column": 1
        }........
```
What does this mean? "fetch" is a method that handles request and response in asynchronous communication. Looks like this method is causing this error message.

```
const resolvers = {
	Query: {
		singlePokemon:async(parent, args) => {
	  let res = await fetch(`https://pokeapi.co/api/v2/pokemon/${args.id}`);
```
##SOLUTION##
The version of Node before 18 does not have the fetch API. So, you need to install an external module.
https://www.npmjs.com/package/node-fetch

```
npm install node-fetch
```
Mobile app framework Titanium SDK 12 available
Tags: javascript, mobile, titanium, programming
Published: 2023-01-02 14:26:38

**The final version of Titanium 12 is now available!**

After the first fully community version 11.0.0 in July this is the second big release after the Axway area. During July we saw 11.1.0 and 11.1.1 of course with some bugfixes and support for iOS 16 and Xcode 14.

**Some major features:**
* support for Dynamic Island on iOS
* Material 3 support on Android
* new iOS error message UI
* many updates to the included modules like maps, facebook and many more
* many documentation updates, better FAQ and legacy texts got removed

the full release notes are available at [tidev.io](https://www.tidev.io/blog/sdk_12_0_0_ga) and you can read my [Titanium News #13 article](https://dev.to/miga/titanium-news-13-n8e) with some details and screenshots.

## Start using Titanium SDK

Want to join and create mobile apps with an easy to use but still very advanced framework? Have a look at [fromzerotoapp.com](fromzerotoapp.com) and start creating awesome apps in no time.

And if you are a Android/Java or iOS developer and want to work on the SDK yourself: have a look at the [official github repo](https://github.com/tidev/titanium_mobile). Pull request are always welcome!
How To Track Your Website’s Google Rankings: 5 Easy Methods
Tags: ecommerce, pagespeed, googlerankings, seo
Published: 2023-01-13 08:37:53

---
title: How To Track Your Website’s Google Rankings: 5 Easy Methods
published: true
date: 2023-01-02 17:27:22 UTC
tags: ecommerce, pagespeed, googlerankings, SEO
canonical_url: 
---

 ![How To Track Your Website’s Google Rankings: 5 Easy Methods](https://codesphere.ghost.io/content/images/2023/01/search-console-positions-3-1024x467.jpg)

Tracking your website's Google rankings can be an essential part of your online marketing strategy, as it can help you understand how well your website is performing in search results and identify areas for improvement. In this article, we will cover some ways you can track your Google rankings and how to use this information to improve your website's visibility and traffic.

1. Use a ranking tracking tool: Several tools can help you track your website's Google rankings over time. Some popular options include Ahrefs, SEMrush, and Serpstat. These tools allow you to enter your website's domain or specific page URLs and see how they rank for various keywords in Google search results.
2. Check your website's search engine performance: You can also check your website's search engine performance through Google Search Console. This is a free tool provided by Google that allows you to see how your website is performing in search results, including the keywords it ranks for and the number of clicks it receives.
3. Monitor your website's traffic: Another way to track your Google rankings is to monitor your website's traffic using a tool like Google Analytics. This will give you an understanding of how much traffic your website receives from Google search results and can help you identify any changes in traffic that may be related to changes in your rankings.
4. Identify ranking factors: Once you understand how your website is performing in Google search results, you can begin to identify any ranking factors that may be impacting your rankings. This could include the quality and relevance of your website's content, the number and quality of external links pointing to your website, and your website's technical SEO (e.g., page load speed, mobile-friendliness).
5. Make improvements: Once you have identified any areas for improvement, you can begin making changes to your website to improve its rankings. This could include updating and optimizing your website's content, acquiring high-quality links, and addressing technical SEO issues.

Regularly tracking your website's Google rankings and identifying areas for improvement can help increase your website's visibility and traffic in search results. This can ultimately lead to more success for your online business or website.

Learn more about improving page load speed, a/b testing content with [Codesphere](https://welcome.codesphere.com/?utm_source=googlerankingblog&utm_campaign=Blog#calendly).
![A/B Testing](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0o6rugl40ip890u1qly8.png)
How To Create Responsive Hero Section Using HTML CSS Step By Step For Beginners
Tags: html, css, beginners, tutorial
Published: 2023-01-02 17:22:11

{% youtube 0bfs2noaudw %}

Hi Guys, today we want to show How To Create Hero Section Using HTML CSS Step By Step For Beginners.
Please, if you love it, Support us with Like & Subscribe.🙏🙏❤️❤️

https://shorturl.at/gKWY9

In the comments, you can say what design you want so that we can prepare the video for you.

If you want to know how the design was done, check here : https://youtu.be/4pclqflsll8
Hi Its me Basim
Tags: testing, postman, swift
Published: 2023-01-02 17:21:33

This post contains nothing and it is created for a testing purpose in dev.to know how a post is created at first 😅

First of all let me introduce myself. I am Basim Hilal a Btech Graduate in IT from Kerala. I started my job career as a Quality Assurance Analyst for a product based company (HotelKey). I am just curious about testing related topics like automation testing, api testing, api testing tools, manual testing hacks, scope of a tester in IT industry, etc. I hope this community will help me to learn about these interesting topics.

Work as a Developer was my dream goal initially but my skills are not enough to become a developer since I am not improved my coding skill after the degree. I started as a QA to learn testing and also learn new technologies. I wish to develop a ios app or web application in future. I am sure I can achieve my goals. 

Thanks guyzz 😊
Tidbit: com.android.ide.common.signing.KeytoolException: Failed to read key <alias> from store "C:\..\<keystore-name>.keystore"
Tags: reactnative, android
Published: 2023-01-02 17:14:33

When attempting to create the release bundle for a React Native app, I followed the steps in the (guide)[https://reactnative.dev/docs/signed-apk-android] and generated the keystore. However, when I ran this command to create the release AAB:

```
cd android
./gradlew bundleRelease
```


 I encountered an error message with the following syntax:

```
* What went wrong:
Execution failed for task ':app:packageRelease'.
> A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable
   > com.android.ide.common.signing.KeytoolException: Failed to read key <alias> from store "C:\Users\...\<keystore-name>.keystore": Get Key failed: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.
```
Given that there was no instruction from the CLI to create a key password, this might be a bit confusing.
The solution is to use the keystore password in the key password field in your build.gradle file. For example,

```
MYAPP_UPLOAD_STORE_FILE=my-upload-key.keystore
MYAPP_UPLOAD_KEY_ALIAS=my-key-alias
MYAPP_UPLOAD_STORE_PASSWORD=<keystore-password>
MYAPP_UPLOAD_KEY_PASSWORD=<keystore-password>
```

The reason why this works is that different store and key passwords are not supported for PKCS12 keystores.
 
If you liked this article, then please [support me] (https://www.buymeacoffee.com/hmcodes)
Web Development Frameworks in 2023
Tags: techzpad, javascript, programming, frameworks
Published: 2023-01-02 17:03:23

## Most Popular Web Frameworks in 2023

**1. Frontend Web Frameworks
**
1. React
2. Angular
3. Vue.js
4. Bootstrap
5. Foundation

**2. Backend Web Frameworks
**

1. Django (Python)
2. Laravel (PHP)
3. Rails (Ruby)
4. Express (JavaScript/Node.js)
5. Flask (Python)

Read More Articles about the [top 5 Web Development Frameworks in 2023](https://techzpad.com/web-development-frameworks)
How to Prevent Bots From Submitting Forms
Tags: nextjs, webdev, programming, security
Published: 2023-01-02 16:54:37

To prevent spam form submissions in Next.js, you can use a honeypot field. A honeypot field is an invisible field that is hidden from the user but visible to bots. When a bot fills out the form, it will also fill out the honeypot field, indicating that it is a spam submission.

You can follow these steps:

1. Create a new form element in your Next.js page or component.
2. Add a hidden input field to the form. This will be your honeypot.
3. Give the honeypot input field a name that is not related to your form. For example, you can name it "favorite_color" or "email2".
4. Set the value of the honeypot input field to an empty string.
5. Add a validation function to your form that checks if the honeypot field has a value. If it does, the form submission is considered spam and can be discarded.
6. If the honeypot field is empty, you can proceed with your form submission as normal.


Here's an example of how your form element might look with a honeypot input field:

```html
<form onSubmit={handleSubmit}>
  <input type="text" name="name" placeholder="Name" />
  <input type="email" name="email" placeholder="Email" />
  <textarea name="message" placeholder="Message" />
  <input type="hidden" name="favorite_color" value="" />
  <button type="submit">Submit</button>
</form>
```

In your form submission function, you can check the value of the honeypot field like this:

```javascript
const handleSubmit = e => {
  e.preventDefault();
  const formData = new FormData(e.target);
  if (formData.get("favorite_color") !== "") {
    // Form submission is spam
    return;
  }
  // Form submission is valid, proceed with processing
}
```

This is a simple way to create a honeypot in Next.js to protect your form from spam submissions. You can also consider using other spam prevention techniques such as CAPTCHAs or reCAPTCHAs.


---


Please consider following and supporting me by subscribing to my channel. Your support is greatly appreciated and will help me continue creating content for you to enjoy. Thank you in advance for your support!

[YouTube](https://youtube.com/@codeofrelevancy)
[Discord](https://discord.com/invite/f8jwnzcRz2)
[GitHub](https://github.com/codeofrelevancy)
3 steps to deal with slow pace at work.
Tags: webdev, beginners, productivity, resilience
Published: 2023-01-02 16:54:21


Photo by <a href="https://unsplash.com/@sharmine27?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Alysha Rosly</a> on <a href="https://unsplash.com/s/photos/strength?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>
  
To me, a slow learner is somebody who takes a bit longer to grasp concepts that most people easily get and I like to consider myself as one. And in the Software Engineering space, it can be a deal breaker and lead to giving up on the journey itself. Sometimes people want you to be a genius and easily forget that you aren’t and that geniuses are rare birds. Or should I say they easily forget that they didn’t start just as they are today but it took them sometime to get to where they are. 

But we aren’t talking about others, we are talking about you. How you can develop resilience while going through some tough times at work. Here are some steps that I believe might be helpful.

## Step one: Remember why you started.
In one of my previous articles, that you can read  [here](https://dev.to/audreymengue/why-would-you-get-started-in-tech-416l)🙂, you define why you started and you do that so you get motivated to wake up every morning and face the day no matter what. Because you know why you started in the first place and nobody except you can change that. So take a 5 minutes break, a deep breath, put a smile on your face and voila, you can move on to the next step.

## Step two: Remember the efforts it took to get where you are.
You getting a job in today's world is not easy and besides everybody wants to break into tech so it has become highly competitive and yet you got a job so congratulate yourself for that. Trust me, you have come far, very far. Now, take a 5 minutes break, a deep breath, put a smile on your face and voila, ou can move on to the next step.

## Step three: Remember where you are heading to.
You will not be a junior forever and you won't even be a senior forever. All I am saying is that you have a plan for your life and you are very  much in charge of your destiny. The situation you are facing shall pass too just, follow your plans and stick to it. You have a life after and aside work so use that time to stick to your plans. And no, I am not going to tell you to take 5 mins and deep breath instead, I will ask you to drink a glass of water because these first steps got you all excited to continue the day. Good luck and do not forget to take care of yourself.