teleren/devto huggingface dataset:
Learning HTML CSS and JavaScript 
Tags: htmlcssjavascript
Published: 2021-06-30 13:15:23

HTML CSS and JavaScript are used majorly in web development. If you want to learn HTML, CSS, and JavaScript, you are learning web development. HTML and CSS are easy to understand, while JavaScript is a bit challenging.

HTML is the easiest to learn. CSS is not very difficult to understand but very, very involving. In JavaScript, the challenge of learning JavaScript is well-documented by many web developers across the divide.

For any web developer, all students of web developer these three languages are essential.

There are blogs, YouTube channels, and books that cater to the newbie up to the expert.

Type of Learners

There are four types of learners: visual learners, kinesthetic learners, auditory learners, and writing or reading learners. As an individual, it is essential to know the kind of learner you are. 

Visual Learners

A visual learner is an individual who strongly prefers to learn through observing, seeing diagrams pictures. This type of learner is also known as spatial. Here the learner will understand quickly when the information is visually presented; hence visual learners learn web development quite well through watching videos.

Auditory Learners

An auditory learner is a student who learns through listening to the sound instead of watching, writing, or reading the material. Most auditory learners favor reading aloud.

 Kinesthetic Learners

The learners are also known as tactile learners. They learn through doing things or experiencing. They like to get their hands dirty, which involves touching, tweaking, and handling to comprehend the concept. Notably, this learner may find it challenging to spend time alone learning new material periods and prone to struggle in learning.

Writing or Reading Learners

According to meals are flaming 1992 in their VARK modalities Theory, writing or reading learners favor learning through written words. These learners prefer learning through writing or reading books, articles, and blogs to master new concepts.

Learning Web Development

 You will likely fall into the four broad types of learners discussed above—learning web development.

You will have to be visual to see the syntax of the code. Likewise, you will need to listen to instructions when how and why a code is written the way it is written. In addition, for you to master the language, you must write code.

Even though they are extremes, most students exhibit the four types of learners in different degree levels.

Conclusion

In summary, it all depends on your motivation goal and, to a considerable extent, the drive to learn HTML, CSS, and JavaScript. I hope I have given you a little overview of how to learn.

Let me know your views in the comments below.
Starting OOP in PHP
Tags: php, beginners, tutorial, webdev
Published: 2021-06-30 12:57:10

PHP can be written in OOP (object oriented programming) style.   This article will go over classes and objects in PHP. 

## Benefits of OOP
Using object oriented programming makes the code cleaner by providing a structure. This can be beneficial in the long run if the code is easier to maintain and repeated code is minimized. 

## Creating a class 
Start by creating a class called Clothes. For the properties we have brand, which is the brand of the clothing and type is the type of clothing. Next, we create the setters and getters. Notice the $this keyword inside the methods, it refers to the current object.

```
<?php
class Clothes{
 public $brand;
 public $type; 

function set_brand($brand){
  $this->brand =$brand;
}
function get_brand(){
  return $this->brand;
}

function set_type($type){
  $this->type = $type; 
}

function get_type(){
  return $this->type;
}
}

```
## Creating the objects 
Now we start defining the objects in the class, to create a object we use the new keyword. $shirt is an instance of the class Clothes. For the end result, we print out the brand. 

```
//objects
$shirt = new Clothes();
$shirt->set_brand('Gucci');
$shirt->set_type('Shirt');

echo "Brand: " . $shirt->get_brand();
```

Here is the full code for the example put together:
```
<?php
class Clothes{

 public $brand;
 public $type; 

function set_brand($brand){
  $this->brand =$brand;
}
function get_brand(){
  return $this->brand;
}

function set_type($type){
  $this->type = $type; 
}

function get_type(){
  return $this->type;
}
}

//objects
$shirt = new Clothes();
$shirt->set_brand('Gucci');
$shirt->set_type('Shirt');

echo "Brand: " . $shirt->get_brand();
?>
```
### PHP beginner resources 
Here are my 2 favorite resources for learning PHP:
[W3 schools](https://www.w3schools.com/php/php_oop_what_is.asp)
[Hacking with PHP](http://www.hackingwithphp.com/)
PWA VS NATIVE APP: THE ULTIMATE CHOICE
Tags: app
Published: 2021-06-30 12:40:11

When planning to have an app for your business, you should make a crucial choice of PWA vs native. Each type has its own benefits, so the task is not an easy one.

PWA VS NATIVE APPS: AN OUTLINE OF COMPARISON
Back in the day, native software was the only way to go. Developers used to take a target platform and set of devices to create a specific, narrowly-optimized solution, which was a native app in a nutshell. In those blessed times, there was no such thing as the choice between progressive web apps vs native solutions and, usually, the only dilemma one could face was “Android or iOS?”.

Things changed with the introduction of tons of new hardware models and a bunch of new OS’s - all with their own specifics and nuances. It has simply become too difficult to satisfy the needs of all users in all existing niches. On top of that, eager entrepreneurs started invading global markets, looking for affordable ways to build dedicated mobile apps.

The format of PWA appeared as a great cost-efficient, universal alternative to native solutions. Progressive Web Apps work from a browser, which spawns tons of advantages:

For users - there’s no need to download anything, no need to get a powerful smartphone to match the specs, just make sure you’re connected to the Wi-Fi and you’re good to go.
For software providers - no need to upload the solution to any of the app stores or spend budget on the thorough optimization for different devices/OS’s. However, this great innovation.
One great BUT, however, is that this seemingly game-changing innovation isn’t free from its own downsides. Thus, PWA solutions don’t work offline, limiting the capabilities of certain user niches. They also can’t access some of the native hardware features (like accelerometer) and can’t be distributed in app stores (which can be a significant disadvantage for some businesses).

To sacrifice the exclusiveness and commercial ambitions over wide accessibility and ease of use at a more affordable budget? Or to keep it narrowly optimized, niche-targeted, and highly functional with bigger investments? This is, basically, the web app vs native app choice most modern mobile app development companies and entrepreneurs have to figure out.

This is an extract. Read the full article: https://requestum.com/pwa-vs-native-app
SERVICE MARKETPLACE DEVELOPMENT: FULL GUIDE
Tags: marketplace
Published: 2021-06-30 12:37:17

An online service marketplace is a place where a buyer can compare and purchase services from several sellers at once. The marketplace acts as an intermediary between the consumer and those who offer their services.

You can use ready-made solutions to organize your business - create your own online store or sell through social networks. However, an online service marketplace is a much more convenient platform for selling services, because this format provides more chances to attract an interested buyer. Why? Because the buyer is more likely to visit a resource promoted on the internet than an unfamiliar website.

Read the full article: https://requestum.com/service-marketplace-development
user interview to validate hypothesis of utility prog for Mac
Published: 2021-06-30 12:36:11

Hey guys,
we together with a friend want to create one utility program for Macbook and I want to validate this problem hypothesis before building something. Could you please help us with that? It would be a user interview for 5-10 minutes. Just would like to know if you have such a pain :)  
Would much appreciate that🙌🏻
HOW TO MAKE AN APP LIKE ONLYFANS
Tags: app
Published: 2021-06-30 12:31:42

Do you want to create an OnlyFans app? Are you looking for expert advice and professional consulting? Find out more in this article.

HOW TO MAKE AN APP LIKE ONLYFANS
OnlyFans is a platform that caused a real upheaval in the online content market. The format of a social network based on subscriptions happened to be extremely convenient and brought the website huge popularity. The platform is favored not only by adult entertainment workers, but also by A-list celebrities and influencers. Despite the popularity of the service, its niche is quite free and cannot boast of fierce competition. Also, the quarantine has highly increased attendance of such sites, which will play into your hands too if you want to create an app like OnlyFans. In addition, there are stunning success cases. For example, Bella Thorne, a young American actress and former Disney star, earned two million dollars in less than a week after signing up (her monthly subscription costs 20 dollars).

This is an article: https://requestum.com/how-make-app-like-onlyfans
HOW TO START A STREAMING SERVICE EASY AND FAST
Tags: streaming
Published: 2021-06-30 12:24:29

How to start an online video streaming business? Our experts believe streaming is the media technology of the future. Popular streaming platforms have already become irreplaceable, and their profits are measured in billions. So if you are interested in how to start a streaming service, now would be the best time to learn.

BEST ONLINE VIDEO STREAMING SERVICES
The largest online video streaming services are examples of great business success.

NETFLIX
Starting price: $7/month.

An American multimedia streaming web service for movies and TV series. The main feature of Netflix is the ability to watch videos at any time, while other services show one episode a day or week. Due to this, users stay on Netflix much longer, watching two or more episodes in one session, with many watching the entire season at once.

If you are wondering how to start a business like Netflix, first you need to figure out what makes Netflix attractive:

a trial version;
parental controls;
a huge database of films and TV series;
a lot of unique content;
intuitive interface.
From a simple streaming service Netflix has grown to funding movies and TV shows, many of which are very niche projects whose development would never have paid off on the big screen and TV. Netflix often buys out franchises that other companies have abandoned. The service does this to expand its audience and diversify its content, and many fans are very grateful for it. It’s not a guarantee that you can create your own Netflix, but you can surely try!

This is extract. Read the full article: https://requestum.com/how-start-streaming-service
WEBRTC VS WEBSOCKETS
Tags: webrtc, websockets
Published: 2021-06-30 12:21:17

Real-time peer-to-peer signaling and media exchange is an important capability for most interactive web applications. Use cases of direct exchange technologies range from simple text chats to interactive solutions. We asked the specialists in the field to help us analyze the key differences between WebRTC vs WebSocket, their pros, cons, and basic principles of work.

WEBRTC VS WEBSOCKETS – WHAT’S THE DIFFERENCE?
Let’s start with the WebRTC definition. It is a real-time direct media exchange technology, an open-source project originally. Its main goal is to provide the connection means for browsers and mobile apps. A connection is established through signal indication and synchronization - the whole process is essentially called signaling.

To establish a WebRTC connection between two devices, a signaling server is required. It is an intermediary that on top of its main function of establishing a connection also minimizes the risk of valuable information and confidential data leakage.

The WebRTC specification does not specify what exactly to use to transmit signaling data: WebSocket, XMLHttpRequest, or another virtual transport.

What is WebSocket? Both WebRTC and WebSocket are technologies for communication capabilities. What is the difference between them? WebSocket is a computer communication protocol that enables communication and data exchange. With the help of this web communication solution and WebRTC technology combined, modern web applications allow you to exchange audio and video content with a large number of users in real time.

The most significant advantage and feature of WebSockets is the availability of two communication methods over a single TCP connection.

This is an extract. Read the full article: https://requestum.com/webrtc-vs-websockets
Selling Options Available To Houston, Texas Homeowners 

Published: 2021-06-30 12:17:57

The thing we love about Houston is, you literally have different options to explore if you wish to sell my home. It’s not like other areas where you only have to work with a real estate agent or risk making losses. Those options are the things that we’re going to talk about today. 

We just realized Houston, Texas residents don’t really know how lucky they are, so We buy Fast Houston Houses is here to remind them. 

For the record, nobody’s saying that selling my home fast in Houston, Texas is a cakewalk. Nobody is also saying that you’ll be able to find a buyer within 24 hours or less. All we’re saying is, the fact that we can explore more than one option is what makes us… different. And being different is good because it means we’re unique. 

Let’s just circle back to the 24-hour thing that we mentioned earlier. It’s true that it’s difficult to find the right buyer for my home within that timeframe, but not impossible. Just call We Buy Fast Houston Houses and we’ll tell you how. 

Anyway, moving on to pressing matters,

Different Ways Of Selling My House Quickly 

Rent To Own

The renting to own selling method is increasingly becoming popular in Houston, Texas. and it’s exactly what you think it is. You just have to rent out my house, the way landlords do, and collect rent for a specified period of time. But it’s different from renting because; one, the rental payments will be higher, and two, after the agreed upon period elapses, the house will no longer be yours. 

Owner Financing 

In owner financing, you’ll be acting as the lender. If you’ve ever borrowed money before, you’ll know how this works. You first find a buyer, have a sit-down with them, sign all the papers that have to be signed, and hand the keys over to them. Now every month you’ll be receiving an agreed upon amount until the debt is paid in full. 

FSBO

That’s an abbreviation that stands for For Sale By Owner. You’ll obviously be the owner, and the seller. There will be no real estate agent involved in that transaction.

One of the main perks of the FSBO selling method is that you get to keep all the money that you could have used to pay commission. but the catch is, you’ve got to have the skills required to close the deal and the connections needed to reach out to buyers. 

The Direct Sale 

Have you ever heard of cash buyers before? They are the people who help Houston, Texas residents sell fast without having to rely on real estate agents. We believe this is the best method of selling my home in Texas because you could still sell the property without repairs. In addition, if you work with someone like say… We Buy Fast Houston Houses, nobody will ask you to pay the closing costs. 
So what do you think? Did you learn anything here today? Reach out, and let us know. 

For more info: http://superiorhomeinvestors.com/
Grpc is here to stay
Tags: grpc, microservices, cloud, hybrid
Published: 2021-08-05 12:33:57

---
title: Grpc is here to stay
published: true
date: 2021-06-30 09:48:44 UTC
tags: #grpc, #microservice, #cloud, #hybrid
canonical_url: https://tech.forums.softwareag.com/t/grpc-is-here-to-stay/242401
---

[gRPC](https://grpc.io/) is defined as a general purpose RPC mechanism that is performant, platform and language agnostic using modern cloud-native based technologies to support a Microservice-based architecture. It is the latest incarnation (December 2020) of Remote Procedure Call (RPC) and was created by Google in 2015 as an Open Source project that is now under the umbrella of Cloud Native Computing Foundation (CNCF). In 2017 it was the sixth project to join the CNCF and as of December 2020 is in incubation status within the CNCF maturity levels.

Despite gRPC only being in incubation status within the CNCF maturity levels, it has been adopted by both large and small organisations in production and should be viewed as a tool to add to your tool-belt. Like REST, SOAP, WebSockets, MOM and plain old HTTP, it is not meant to be a one size fits all (even though its general purpose like most of them are); it should be used where appropriate, for example:

- When a usage is Service rather than Resource orientated - seeing developers trying to make something Resource orientated where they’re really Service/RPC is a good sign gRPC might be a better fit!
- When “well” structured data (that can be defined) is used.
- When streaming is necessary.
- When performance is important.

We strongly recommend using this if your needs match one of the above. If you need more information, please visit the [Software AG Technology Radar](https://techradar.softwareag.com/technology/grpc/) on gRPC.

[Read full topic](https://tech.forums.softwareag.com/t/grpc-is-here-to-stay/242401)
Learning Python-Basic course: Day 7, Exercises and coding challenges⚔️
Tags: learningpython, python, tutorial
Published: 2021-06-30 12:02:33

Welcome 🖐️ Today's agenda is solving more interesting questions! ❤️ intricate patterns and mind-blowing sequences ✨
---
____
Let us now today solve some more questions 😀 on while loops and for loops. 😁 We will look at 2-3 sample questions followed by exercises and a coding challenge ⚔️.

Sample questions-

1) Write a program to print Fibonacci numbers.
```python
a=0
b=1
print('0,1,',end="")
for i in range(0,10):
   a,b=b,b+a
   print(b,end=",")
```
**Simultaneous assignment of values**
Note the second last line. This is the Python syntax for simultaneous assignment. This is equivalent to using a temp variable like-
```python
temp=a
a=b
b=b+temp
```
This python shortcut comes very very handy while swapping two numbers to

2) Write a program to display times table from 1-10
```python
for i in range(1,11):
    for j in range(1,11):
        print(i,"*",j,"=",j*i)
    print()
```

OUTPUT-
```
1 * 1 = 1
1 * 2 = 2
1 * 3 = 3
1 * 4 = 4
1 * 5 = 5
1 * 6 = 6
1 * 7 = 7
1 * 8 = 8
1 * 9 = 9
1 * 10 = 10

2 * 1 = 2
2 * 2 = 4
2 * 3 = 6
2 * 4 = 8
2 * 5 = 10
2 * 6 = 12
2 * 7 = 14
2 * 8 = 16
2 * 9 = 18
2 * 10 = 20
.
.
.
. for numbers upto 10
```
What such a small amount of code can do in seconds took us years to learn...🤩

Exercises-

1)- Modify the factorial program we did in day 4 to error check for zero and negative numbers.(using if-else) [Answer](https://github.com/Aatmaj-Zephyr/Learning-Python/blob/15c67abac0cfe0a98dca8aca04feff544f2cc379/Basic/Day%207/Exercise%20solutions/Exercise%201.py)

2)Write a program to give the following output. [Answer](https://github.com/Aatmaj-Zephyr/Learning-Python/blob/15c67abac0cfe0a98dca8aca04feff544f2cc379/Basic/Day%207/Exercise%20solutions/Exercise%202.py)
```
1
121
12321
1234321
```

3) Write a program to display [perfect numbers](https://www.britannica.com/science/perfect-number#:~:text=Perfect%20number%2C%20a%20positive%20integer,28%2C%20496%2C%20and%208%2C128.) from a range entered by a user (include 0).

Coding challenges-⚔️
1) Write a program to display terms of this infinite pattern until 50.
```
1, 2,2,3,3, 4,4,4,5,5,5,6,6,6, 7,7,7,7,8,8,8,8,9,9,9,9,10,10,10,10,.....
```

Comment your answers below. Let's see who can solve tis one. 🗡️🛡️ Beware, it is harder than it seems....😉

Answer to this question will be given in tomorrow's session. 🤞 So stay tuned by following me for updates 👍. Please like and comment below 😊
Тест скорости веб-сайта
Tags: devops, tutorial, devjournal
Published: 2021-06-30 11:58:13


![Инструменты онлайн тестирования скорости сайта](https://cdn.hashnode.com/res/hashnode/image/upload/v1625053385451/tkAT4yi5Q.png)

## Тест скорости веб-сайта

**Скорость сайта** может быть решающим фактором для его успеха. Более быстрая загрузка веб-сайтов может выиграть благодаря более высокому рейтингу SEO, более высоким показателям конверсии, более низким показателям отказов и лучшему общему опыту пользователей и вовлеченности Важно использовать множество бесплатных инструментов для тестирования *скорости сайта*.


-  [Website Speed Test](https://tools.keycdn.com/speed): тест скорости страницы, разработанный  [KeyCDN](https://www.keycdn.com/) , который включает разбивку водопада и предварительный просмотр сайта.

- ** [Google PageSpeed Insights](https://developers.google.com/speed/pagespeed/insights/)**: PageSpeed Insights анализирует содержание веб-страницы, а затем генерирует предложения по ее ускорению.

-  [Google Chrome DevTools](https://developers.google.com/web/tools/chrome-devtools/?hl=en): набор инструментов веб-разработки и отладки, встроенных в Google Chrome.

-  [Dotcom-Tools](https://www.dotcom-tools.com/website-speed-test.aspx): проверьте скорость вашего сайта в реальных браузерах из 25 мест по всему миру.

-  [WebPageTest](http://www.webpagetest.org/): Запустите бесплатный тест скорости веб-сайта из разных мест по всему миру, используя реальные браузеры (IE и Chrome) и с реальной скоростью соединения с потребителем.

-  [Pingdom](https://tools.pingdom.com/fpt/): протестируйте время загрузки этой страницы, проанализируйте ее и найдите узкие места.

 
- [GTmetrix](https://gtmetrix.com/): дает вам представление о том, насколько хорошо загружается ваш сайт, и дает практические рекомендации по его оптимизации.