teleren/devto huggingface dataset:
How to install XAMPP on Windows?
Tags: beginners, tutorial, xampp
Published: 2020-07-01 23:53:14

####Note: Windows XP or 2003 is not supported.
XAMPP is an easy to install Apache distribution containing MariaDB, PHP, and Perl.

####Step 1 - Download the required version of the Xampp from [https://www.apachefriends.org/download.html](https://www.apachefriends.org/download.html).


![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/mhrocis87x2r3amy2j3t.JPG)

####Step 2 - After download, open the setup wizard and click Next.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/9nvg7rpwu9lxnq6pxngn.JPG)

####Step 3 - Now select the components you want to install and click Next. (If you are a beginner by default select all the options)


![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/dw3rdw7y1g61bwniwsq1.JPG)

####Step 4 - Select a folder where you want to install the XAMPP and click Next.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/59f7vzx63fpiuqcr0hp3.JPG)

####Step 5 - Select your preferred language and click Next. (XAMPP provides two options English and Deutsch)

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/4vjcbxxzqw2yx7kx9rw8.JPG)

####Step 6 - Click Next.(You may direct to a XAMPP website, now return to the setup wizard)

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/woqadnfg3lb8kll2nd7v.JPG)

####Step 7 - Now XAMPP is ready to install, just click Next and Finish.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/wtfekrkm4f8dw3wcf7hv.JPG)


Now the XAMPP icon is clearly visible on the right side of the start menu. Show or Hide can be set by using the control panel by clicking on the icon.
* **To start Apache and MySql**, just click on the Start button on the control panel.


![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/ltj04lhaof9r8bs9nsda.JPG)

* **Note:** Suppose Apache is not starting, it means some other service is running at port **80**. In this case, stop the other service temporarily and restart it.

* **Making server request:** Open your web browser and check whether the XAMPP service has properly installed or not. Type in the URL: [http://localhost](http://localhost). If you are able to see the default page for XAMPP, you have successfully installed your XAMPP Server.

* **To check if PHP is Working:** All the website related files are organized in a folder called *htdocs* and then run index.php file by using [http://localhost/index.php or http://localhost](http://localhost/index.php or http://localhost).

* **Note:** For every new website or application, its always better to create a different folder inside *htdocs*, to keep it organized and avoid confusion.
Erlang Punctuations
Tags: syntax, erlang
Published: 2020-07-01 23:08:30

```erlang
-module(tut15).

-export([start/0, ping/2, pong/0]).

ping(0, Pong_PID) ->
    Pong_PID ! finished,
    io:format("ping finished~n", []);

ping(N, Pong_PID) ->
    Pong_PID ! {ping, self()},
    receive
        pong ->
            io:format("Ping received pong~n", [])
    end,
    ping(N - 1, Pong_PID).

pong() ->
    receive
        finished ->
            io:format("Pong finished~n", []);
        {ping, Ping_PID} ->
            io:format("Pong received ping~n", []),
            Ping_PID ! pong,
            pong()
    end.

start() ->
    Pong_PID = spawn(tut15, pong, []),
    spawn(tut15, ping, [3, Pong_PID]).
```

### Period `.`

To signal the end of a function. So each function is a sentence, huh.

### Comma `,`

To separate expressions in a function. Each expression is a clause, huh.

(Also, of course, to separate parameters and tuple members. But that's common.)

### Semicolon `;`

To separate pattern match branches. Each pattern match is an independent clause, hmm.
How To Install Unity 2020.1
Tags: unity3d, tutorial, beginners, gamedev
Published: 2020-08-26 20:29:59

---
title: How To Install Unity 2020.1
published: true
date: 2020-07-01 22:00:00 UTC
tags: unity, tutorial, beginner, gamedev
description: In this article, you will learn how to install Unity 2020.1 using UnityHub 2.3.2 to start developing games.
canonical_url: https://genomagames.com/tutorials/unity/2020/07/02/how-to-install-unity-2020/
cover_image: https://genomagames.com/assets/2020-07-02-how-to-install-unity-2020/unity_2020_background.jpg
---

In this article, you will **learn how to install Unity 2020.1.0b13 (Beta)** using UnityHub 2.3.2 to **start developing games**.

<!--more-->

_**UPDATE:** [Unity 2020.1 is no longer in beta](https://blogs.unity3d.com/es/2020/07/23/unity-2020-1-is-now-available/) but you can still use this guide for stable releases_

## Requirements

To install Unity, you will need first to install [UnityHub](https://unity3d.com/es/get-unity/download).

## Unity Installation

Now to **install Unity** start UnityHub and go to **Installs** section and then click on the **ADD** button. ![00-UnityHub_2.3.2_Add_Install_Button](https://genomagames.com/assets/2020-07-02-how-to-install-unity-2020/00-UnityHub_2.3.2_Add_Install_Button.png)

Then select the Unity version you would like to install, in this case **Unity 2020.1.0b13 (Beta)** and click **NEXT**. ![01-UnityHub_2.3.2_Install_Unity_Panel_with_Unity_2020.1.0b13_(Beta)_selected](https://genomagames.com/assets/2020-07-02-how-to-install-unity-2020/01-UnityHub_2.3.2_Install_Unity_Panel_with_Unity_2020.1.0b13_(Beta)_selected.png)

Check the box of **[Microsoft Visual Studio Community 2019](https://visualstudio.microsoft.com/es/vs/)** to install it as it will be the [IDE](https://en.wikipedia.org/wiki/Integrated_development_environment) you will be using for coding. ![02-UnityHub_2.3.2_Install_Unity_2020.1.0b13_(Beta)_Panel_with_Microsoft_Visual_Studio_Community_2019_selected](https://genomagames.com/assets/2020-07-02-how-to-install-unity-2020/02-UnityHub_2.3.2_Install_Unity_2020.1.0b13_(Beta)_Panel_with_Microsoft_Visual_Studio_Community_2019_selected.png)

You will have to agree to Microsoft Visual Studio Community 2019 License terms. ![03-UnityHub_2.3.2_Install_Microsoft_Visual_Studio_Community_2019_Panel](https://genomagames.com/assets/2020-07-02-how-to-install-unity-2020/03-UnityHub_2.3.2_Install_Microsoft_Visual_Studio_Community_2019_Panel.png)

After that, you will see a box with a loading bar meaning that the installation of Unity and Visual Studio is in progress. ![04-UnityHub_2.3.2_Installs_Section_with_Unity_2020.1.0b13_(Beta)_being_installed](https://genomagames.com/assets/2020-07-02-how-to-install-unity-2020/04-UnityHub_2.3.2_Installs_Section_with_Unity_2020.1.0b13_(Beta)_being_installed.png)

Once the installation completes, you will be ready to open or start a new project with Unity 2020.

Checkout [Unity 2020.1 Manual "Installing Unity" Chapter](https://docs.unity3d.com/2020.1/Documentation/Manual/GettingStartedInstallingUnity.html) for more info

Happy Game Dev! :space\_invader:
Humble Software Bundle: Learn Python Programming with PyCharm (pay what you want and help charity)
Tags: python, webdev, machinelearning, codenewbie
Published: 2020-07-01 21:55:28

[Humble Software Bundle: Learn Python Programming with PyCharm (pay what you want and help charity)](https://www.humblebundle.com/software/python-programming-software?partner=indiekings)

Everything you need to learn Python programming and make it stick. Get learning materials like PyCharm - 6 months subscription, Python for Data Scientists - course, Effective Pandas, Data-driven web apps with Flask and SQLAlchemy, and more.
Which modules do you think are missing from node.js?
Tags: javascript, node, webdev, discuss
Published: 2020-07-01 21:49:11

I’ve been coding in javascript/node.js on and off for a couple of years now. I use it mostly for  writing backend for small websites. So far I can find all modules I need, be it from the built-in library or by installing them separately using npm.

Which modules do you think are missing from node.js?

I can think of wild unusual ones such as image processing, sound processing, serial communications. However I'm sure that these modules exist already if I try to find them.
Brand : crawler to get up-to-date brand assets
Tags: typescript, node, brand, tool
Published: 2020-07-01 21:35:01

<center>// start</center>

Hi everyone! 
[GitHub of the Project](https://github.com/DaxSoft/brand)

-----

One of the projects I am working has a page where you can search for stock market enterprises (company). One of my struggles of the project was the requirement to get the brand logo of the company. So I was searching around the web several tools to make it more easy... I have found some, however, either the price was not affordable or the tool itself not attend all my needs. So I have decided to create one using the concept of 'scraping into the web'.

-----

<center>// How To Use</center>

Warn: It is not ready for production.
To use it you need to install on your Node project the package 'puppeteer' and this one '@vorlefan/brand'.
The function itself is really easy to use. Few options, you can read the doc on the github page.

Example:

```js
const { BrandCrawler } = require('@vorlefan/brand').default
const puppeteer = require('puppeteer')

let URL = 'https://www.lojasrenner.com.br/'

void (async function () {
    const test = await BrandCrawler({
        website: URL,
        puppeteer,
        timeout: 1e9,
        instagram: true,
        pageTimeout: 0,
        twitter: true,
        facebook: true,
    })

    console.log(test)
})()
```

The return you can find on the github page (I don't want to polute this post here xD)

-----

<center>// Use Case</center>

If you are building a 'brand search' or the app that you are creating requires the logo and banner from the enterprise in question, I guess that this will suit you pretty well :)

-----

<center>// End</center>

There a lot of feature that I'm planning for this module, then if you want to, please contribute or follow up the news xD
Day 166: Don't Show It
Tags: hiphop, code, coding, lifelongdev
Published: 2020-07-01 21:32:17

_liner notes_:
- Professional : Pretty chill day. Had a company wide meeting, then a quick talk prep session. Spoke with the Web Component team to get my code into the repo. I think because of the timezone differences and being busy, wasn't able to get it done today. Hopefully tomorrow. Rest of the day, worked on an outline for my next blog post.

- Personal : Got the dashboard's login system for my new side project working. So now a user can enter in their email, the system will check to see if they are authorized and then email them a link to click so they can access the dashboard. Wasn't too bad getting it to work.

![A stone cabin on top of a mountain in Tungnath, India](https://dev-to-uploads.s3.amazonaws.com/i/e01uwi6k4026bnky69fn.png)

Going to get the radio show edited and submit it to the station so it can be played this weekend. While I have my laptop open, I'll go through some submitted tracks. If I have time, I'll probably sketch out how I want my dashboard laid out what data I want and when to and don't show it. The goal is for the user to be able to start a live stream session and broadcast to YouTube and Twitch. We'll see how that goes.

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube DVo7R9btJ_Y %}
Day 4: Class v Instance
Tags: python
Published: 2020-07-01 21:30:20

### Konnichiwa! 

Welcome to day 4! Python is an object orientated programming language (OOP) and this was the first introduction to one of the core ideas of OOP. The object of this task was to create a class. A class is kind of like a blueprint for a car. It contains all details about the amount of wheels, engine type, windows etc. based on this data we can construct the car. The car is the object.

This task asked us to create a Person class with an instance variable(age), then to work out if the person was young or old depending on the age given. I felt it hit close to home as i don’t consider myself old, but apparently anything over 18 is! 

Heres my code: 

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/zkk7c0072ied7156s5l9.png)
#028 Kubernetes - Pods
Tags: kubernetes, devops, tutorial
Published: 2020-07-01 21:00:32

# Introduction

this is part 28 from the journey it's a long journey(360 day) so go please check previous parts , and if you need to walk in the journey with me please make sure to follow because I may post more than once in 1 Day but surely I will post daily at least one 😍.

And I will cover lot of tools as we move on.
***

# Pods

![pod](https://dev-to-uploads.s3.amazonaws.com/i/yb5m8jugbx8eeg4y8zxf.png)

Pod is the smallest component in Kubernetes.
Kubernetes Cluster must have at least 1 master , let's say we have only 1 Node . So this node will be master and worker in same time.
A pod is an encapsulation of container . Why encapsulation? because I don't need my container to run directly , so I can control it using pod.
***

# Load Balancing

![Pods](https://dev-to-uploads.s3.amazonaws.com/i/j911h6hwlf4paby8aut4.png)

you can't put 2 containers from same type inside one pod , Instead you make another pod.
Why make another one? because if the load balance for 1 container is full or down, another container can serve.

![2nodes](https://dev-to-uploads.s3.amazonaws.com/i/w8qrrgxmade0r5j33ykh.png)

you can also put the Pod inside a new complete Node.
***

# Multi-container Pods

![multi-pod](https://dev-to-uploads.s3.amazonaws.com/i/w12jd83gau9hsq0xgdkj.png)

You can put 2 containers from different type example python and SQL in 1 pod , but it's not recommended because if 1 Pod  down you will loose both app and DB , So it's risky. It's very rare to use 2 containers in 1 Pod , which is container that heavily depend on container 1 , so if container 1 down their is no reason to container 2 be running , Example we have a container process data for web server so if this web server down their is no reason to this container to be running.
Destructuring a property with a different name
Tags: javascript, es6, 100daysofcode, codenewbie
Published: 2020-07-01 20:32:45

So, you want to destructure an object but the property name is already assigned to another variable in the same scope or you just don't like the property name?

A property can be destructured from an object and assigned to a variable with a different name using the following syntax:
 
```javascript
const personal = 'Something personal...'

const info = {
  personal: 'pjately.dev',
  social: {
    twitter: 'twitter.com/pjately',
    github: 'github.com/pranjaljately',
  },
}

const { personal: profile } = info

console.log(profile); // pjately.dev
```
Short, simple and sweet.
Peace.
KVision v3.11.0 is released (with support for Onsen UI web components)
Tags: kvision, kotlin, onsenui
Published: 2020-07-01 20:06:52

---
title: KVision v3.11.0 is released (with support for Onsen UI web components)
published: true
description: KVision is an open source web framework created for Kotlin/JS.
tags: kvision,kotlin,onsenui
---

[KVision](https://github.com/rjaros/kvision) is an open source web framework created for Kotlin/JS. It allows developers to build modern web applications with the Kotlin language.

I have released KVision 3.11.0, after a few weeks of effort to fully implement [Onsen UI](https://onsen.io/) library bindings. Now you can create hybrid and mobile web applications, with natively designed web components, that automatically choose the look and feel based on the platform on which they are running. All with fully type-safe, consistent Kotlin API and readable DSL builders.

There is a [new example application](https://github.com/rjaros/kvision-examples/tree/master/onsenui-kitchensink), which is almost one to one rewrite of the official [Vue Kitchen Sink example](https://github.com/OnsenUI/vue-onsenui-kitchensink). You can see live demo for both [iOS](https://rjaros.github.io/kvision-examples/onsenui-kitchensink/?platform=ios) and [Android](https://rjaros.github.io/kvision-examples/onsenui-kitchensink/?platform=android) design.

Other highlights of this release:

* extended functionality of the Maps module (contributed by Jörg Rade)
* upgraded dependencies (Javalin 3.9.0, Jooby 2.8.8, Spring Boot 2.3.1, ReduxKotlin 0.5.1, Tabulator 4.7.1, Chart.js 2.9.3 and others)

For more details about this release see the [changelog](https://github.com/rjaros/kvision/releases/tag/3.11.0).

Don't forget to ⭐️ my [project](https://github.com/rjaros/kvision) if you like it!

As always, any feedback is appreciated!
Top  Edpresso Articles  - June 2020
Tags: python, oop
Published: 2020-07-01 20:06:30

> [Edpresso](https://www.educative.io/edpresso) is a free database of short, concise articles on dev topics written by our community members.

Happy July 1st! 

Many great articles were written by our contributor community last month. The ones below received the most attention from our viewers ☕️


## 1. [How to set up a Spark environment](https://www.educative.io/edpresso/how-to-set-up-a-spark-environment)
This article walks you through how to install Spark and set up Jupyter Notebooks in a Linux/Mac environment. Before you start, make sure that you have Java8 or above ​and Python 3 installed. Check out [Peter Geng’s](https://www.educative.io/profile/view/6647238009815040) Educative profile to learn more about him. 

##2. [What are mutable and immutable objects in Python3?](https://www.educative.io/edpresso/what-are-mutable-and-immutable-objects-in-python3)
“A mutable object is a changeable object that can be modified after it is created.” “An immutable object is an object whose state can never be modified after it is created.” Read the rest to and further understand how each object type is handled and used in Python. Check out [Mandava Kranthi Kiran’s](https://www.educative.io/profile/view/5213277744267264) Educative profile to learn more about him. 

##3. [How to set up ChromeOS for web development](https://www.educative.io/edpresso/how-to-set-up-chrome-os-for-web-development)
Learn how to enable developer mode in Chrome OS and about Caret, CodePad, Quantum, Zed, and Chromebrew. Install Linux with Crouton and discuss IDEs and stacks. This article is very comprehensive and gets a lot done in a short amount of time. Check out [Martin Victor Onuoha’s](https://www.educative.io/profile/view/5133693384392704) Educative profile to learn more about him. 

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/rz0pnxx0zc8hi5pqrd4w.png)

##4. [Minimum coin change in C++ - a dynamic programming question](https://www.educative.io/edpresso/minimum-coin-change-in-cpp---a-dynamic-programming-question)
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/yb1hdr76re99t2m2l07x.png)  The Minimum Coin Change problem is a famous programming interview question that can be solved with a recursive approach and a dynamic programming approach (bottom-up). If you are interviewing, this problem is worth understanding. Check out [Harsh Jain’s](https://www.educative.io/profile/view/5084051834667008) Educative profile to read more shots written by him.


##5. [Object-oriented concepts as explained to a 6-year-old](https://www.educative.io/edpresso/object-oriented-concepts-as-explained-to-a-6-year-old)
This is the top-rated article for the month of June. Learn about classes, objects, and OOP principles in a way so easy that a 6-year-old could understand it. Check out [Chisom Nwokwu’s](https://www.educative.io/profile/view/6290023419740160) Educative profile to learn more about her. 

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/1ad0ymob0pbfrwa8bzox.png)
How can you find the most Secure Web Hosting
Tags: webhosting, cloudhosting, security, autoscaling
Published: 2020-06-30 05:57:24

No matter what type of website you plan to create, security is the most significant element to be considered. Lack of security can result in loss of crucial data as well as income. Thus, it’s necessary for you to determine whether your web host provides security adequately.

I am going to list out some of the most common and important security features, and if the web hosting company/site is providing you with these features, your business is in safe hands,

1.) SSL- It refers to Secure Sockets Layer, which provides an encrypted path between the browser and application server. A SSL certificate is very necessary if you want to run an e-commerce site, as it can help prevent user information from being stolen and also keeps the security of credit card or banking numbers, name, address, phone numbers, and other personal information.

2.) Firewall- A dedicated software firewall for each and every environment is a must, as it prevents unauthorized access to your private network and sensitive data.

3.) DDoS and malware protection- The result of effective DDoS protection is that your website is less likely to go down when under attack. Your website visitors are also less likely to be affected by poor website performance during an attack. In addition, malware protection and monitoring is also offered to keep your site guarded.

4.) SFTP- short for SSH File Transfer Protocol, it is a computing network protocol for managing and accessing files on remote file systems, it is one level above FTP. Although FTP is secure, files can occasionally be intercepted and modified with little or even no indication, while SFTP has no such vulnerability.

5.) Backups- Backups should be performed frequently in order to guard your site in case of a disaster or problem. A host that has sound back up procedures is a bonus. However, check to see how often the cloud host backs up their servers, which method are they using and where are the backups stored.

6.) Server maintenance - The cloud host should make sure that the server is maintained adequately to ensure attacks are restricted. Also, check if the host has a ‘published security protocol’, which is a good indication that they are on top of patches and upgrades.

If you deal with sensitive information, you must ensure that you are keeping your site as safe as possible. Don't neglect it when choosing a secure web host company, and your site will stay efficient and healthy.

Keeping all of the above information in mind will help you get started finding the right secure host for your needs. If you ask me, my hosting provider offers all these mentioned security features, and as a fact, I am a quite privileged and satisfied customer. Therefore, if you're still in search of a secure web hosting site, this solution is definitely worth a go. To know about their hosting plans- https://cloudjiffy.com/
100 Days of SwiftUI — Day 31
Tags: 100daysofswiftui
Published: 2020-07-01 19:11:28

---
title: 100 Days of SwiftUI — Day 31
published: true
date: 2020-07-01 19:10:47 UTC
tags: 100daysofswiftui
canonical_url: https://zeitschlag.net/100-days-of-swiftui-day-31/
---

Well, [Day 31](https://www.hackingwithswift.com/100/swiftui/31): It's review time again! I had to answer twelve questions — I scored 12 out of 12! — and solve three challenges to improve the game called _WordScramble_.

To be honest, I wasn't very creative when solving those questions, but that's fine with me today. Please have this picture of a cat as an excuse:

![Blue](https://zeitschlag.net/content/images/2020/07/Blue.jpg)

As always: Thanks for reading. What have you learned recently? Do you attend a daily course like me? I'm looking forward to hearing from you :-)

<!--kg-card-end: markdown-->