teleren/devto huggingface dataset:
Why does wix offer free websites (Professional response)
Tags: wixcomwix
Published: 2019-11-16 17:36:57

Hi I'm Ibrahim From TGD Dev
![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/hnqqufdh3kjnxreyhkpu.png)
I've seen many people being afraid of this.

Here's my response

You see every web provider like wix has a domain name system.
Domain name systems find the website becuase you see websites need IP addresses like 198.98.23.1 That will be translated using that system so if you go GitHub.com it will actually go to the IP. If you out the IP you will still be on GitHub

In conclusion That's how a website works but that's not the question.

Why does wix offer it free?
![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/ttyy2fzm9yet06h60v01.png)
Here's the breakdown reason is You DONT get a domain you get a Sub-Domain Like if you called your website EverYalOn it would come out as EverYalOn.wixsite.com/everyalon 

Here's how it works A Bot is requested to create U a domain basically creating an IP see wix is owned by Google Google has enough money to buy these bots. 

And So Google will make it.

The bot will then use your text EverYalOn and rename it too https://EverYalOn.wixsite.com/EverYalOn

But it's not professional For it to be professional it needs stuff like Google analytics, Cookies, Terms of use, Etc,, 

Wix won't provide this by doing so they will trick you into purchasing their subscription

How Google does this is easy they buy bots bots do the work for them They earn from you! By buying a subscription 

Subscriptions Are one the best ways to earn money online.

I hope this helps you not to be afraid of wix.

Sincerely Ibrahim From TGD Dev.
How Your Company moving from using the existing (legacy) application architecture to a new one?
Tags: issues, scaling, discuss
Published: 2019-11-16 17:29:43

---
title: How Your Company moving from using the existing (legacy) application architecture to a new one?
published: true
cover_image: https://thepracticaldev.s3.amazonaws.com/i/5u15mvwxcrsqf91gwt3p.jpg
description: The cost behind upgrading existing application to the new version
tags: Issues, scaling, discuss
---

Have you thinking about your current running system is needed to rebuild? The same situation is happen to us, as the current application is majority supporting almost all of our business process.

## Short Story

The story began when our system is highly developed to support our customers in a short period of time. This kind of process unfortunately ignores the process of designing scalable application, actually we design it to scale, but, at that time the insights are very limited to us to make our system is stable longer.

Our system is based on RESTful and divided into more than 5 microservices, which each microservices are tightly tied to one service that act like an API Gateway.

The "API Gateway" service is not like another(Kong, Ambassador, etc), it is a NodeJs application which also holds a logic composition when the "request" is coming and pointed to another service for the specific operation. It also responsible for Authentication with the outside world which adds more complexity when we try to excluding it from the service.

## Need Help!
1. Is that situation ever happened to you? if yes, how to deal with that?
2. Is there any best practice about step-by-step to move seamlessly into a brand new system?
3. Because we use Functional paradigm, please comment if you do know about refactoring recipes in functional programming, any experience or advice will be appreciated.
4. How to make a decoupled microservices, when between microservices needed an authorization and (eventually) depends on one Auth (like) service to verify the request?
Mashroom Server - Micro-Frontend Integration Platform
Tags: microfrontends, node, webdev, javascript
Published: 2019-11-16 17:19:25

A few months ago we've open sourced *Mashroom Server*, a platform that allows you to easily build Web-Portals from Microfrontends (either server-side rendered Express.js web-apps or client-side SPAs). React, Vue or Angular apps can be developed completely independent (and without any lock-in) and then later integrated into Portal pages (even via Drag'n'Drop). The platform also comes with security, theming, i18n, storage and communication out of the box.

Version 1.2 has just been released today: https://medium.com/mashroom-server/mashroom-server-1-2-released-f4e5502d855d

Check out the homepage for the current features: https://www.mashroom-server.com/
Hadoop in Windows
Tags: hadoop, windows, bigdata
Published: 2019-11-16 17:19:14

Hi Devlopers,
I am getting this error when i try to execute start-dfs.cmd:

'C:\Java\jdk1.8.0_231\bin\java -Xmx32m -classpath "C:\hadoop-3.2.0\etc\hadoop;C:\hadoop-3.2.0\share\hadoop\common;C:\hadoop-3.2.0\share\hadoop\common\lib\*;C:\hadoop-3.2.0\share\hadoop\common\*" org.apache.hadoop.util.PlatformName' is not recognized as an internal or external command,
operable program or batch file.
The system cannot execute the specified program.
The system cannot execute the specified program.

can you help me this. plz.
Is anyone using Yarn v2 in production?
Tags: webdev, javascript, discuss, react
Published: 2019-11-16 16:24:49

As most of you will probably know there are two concurrent versions of Yarn being actively developed: 1 and 2. [Version 1](https://yarnpkg.com/lang/en/) is the original Yarn that's being continuously updated and [version 2](https://next.yarnpkg.com/) is a reimplementation of this package manager with a new architecture.

Lately, I'm wondering if moving to Yarn v2 could be beneficial in my new React projects but I haven't been able to find much information that assures me that it would be worth it. That's why any feedback you may have will be greatly appreciated  :-).
Top Tricks Hackers do to infect your system on Social Internet
Tags: security, social
Published: 2019-11-16 16:07:17

In Recent years, number of hackers and cyber techies are increasing day by day as users of social networking sites grown. Out there, Many attackers use their technical knowledge to infect other’s computers while compromising sensitive data. You may hear about a variety of social engineering tricks that can harm your system by a great extent. They may use social media, phone calls, or any other method and lure victims to provide sensitive personal or corporate information.

**Phishing
In this case, hackers try to obtain personal information of target individuals; it may include names, social security numbers, and addresses as well. They make use of some embed links to redirect users towards some suspicious URLs that usually appear to be legitimate. In this case, attackers create a sense of urgency to the victims so that they can act promptly and get trapped.

**Fake Authorities
In this case, Attackers try to create some good pretext or fabricated set up with an aim to steal personal information of victims. Such types of attacks are executed by some scammer who pretends that they require a specific type of sensitive information for your welfare. They often try to manipulate targets and force them to take some actions that could exploit the structural weakness of a company or organization.

To read more : [Medium Article](https://medium.com/@vinodc45/top-tricks-hackers-do-to-infect-your-system-on-social-internet-ce6c47479bf6)
PDF Booklet: Understand recursion with these 8 JavaScript examples for beginners
Tags: javascript, recursion, algorithms, books
Published: 2019-11-16 15:55:41

Recursion is one of the most useful but very little understood programming technique. There are special kind of problems that can be solved very easy and elegant with a recursive function (e.g. locating a file in an hierarchical file system).

This article doesn't intend to offer an explanation of how recursion works ... but instead it offers you a PDF booklet with 8 classical problems implemented both using a recursive solution as well as an iterative solution.

As you'll see ... for some problems recursion comes more naturally, as for the others it should not be the first choice.


# How to run the code?

Examples from this article have been developed using the [codeguppy.com editor](https://codeguppy.com/code.html). If you never tried [codeguppy.com](codeguppy.com) before, now is a good time to give it a try.

However just by replacing `println()` with `console.log()` you can run it in any environment you prefer.

# Download PDF

[![PDF Booklet](https://thepracticaldev.s3.amazonaws.com/i/ifxq4c7p33zv4zwrlsj4.png)](https://codeguppy.com/site/download/recursive_problems.pdf)

[https://codeguppy.com/site/download/recursive_problems.pdf](https://codeguppy.com/site/download/recursive_problems.pdf)


# Next steps

The PDF booklet shows one way of implementing these problems. If you come up with a new solution, please send us a message on Twitter at [@codeguppy](https://twitter.com/codeguppy)... or leave a comment here.
Cryptocurrency wallet 
Tags: onlinecasino, casino, poker, blockchaincasino
Published: 2019-11-16 15:43:53



Is there anybody who are interested in Cryptocurrency Exchange. Here is a good news for them. A company called properSix Offers for it's client an initial cryptographic tokens called pro6 token in return for their support. Using this token they can access in every sector of this company. It's security system will be so strong and highly secured because it use the latest Artificial Intelligence Blockchain technology. It also has a Hydrogen Blockchain based multifactor factor authentication method. It gives a trade password for the users.The exchange is drag drop and scale so user can easily fix their own design. It also offer video sponsorship for next six months. It's transaction speed is gone be more than 6000 TPS. It's providing many others opportunities for it's customers. I am so excited about this company. I just sign up and waiting for when it goes live.

https://propersix.trade/
How it works?
Tags: netflix, spotify, twitch
Published: 2019-11-16 15:31:15

---
title: How it works?
published: true
description: How it works
tags: netflix, spotify, twitch
cover_image: https://www.onlygfx.com/wp-content/uploads/2017/11/grunge-question-mark-cover.png
---
Hi, last day I was thinking about how Netflix, Spotify, Youtube works.
Sometimes when I'm visiting some differents webs I always check and inspect with the DevTools to see what does it have (resources, images, comments in HTML code, tags, ajax calls, what libraries it uses...)
When I visit websites that offer you multimedia content I always find a video tag or source tag with a link attr to the video that is hosted in his own server, and with that link I can access to the video from my browser.
My question is: How netflix, spotify of plattforms like this send videos, music...? Im pretty sure they don't use ajax to send the complete album of ACDC or netflix don't use an iframe to show me the last episode of Breaking bad.

<img src="https://clearlakeiowa.com/wp-content/uploads/2018/08/Thanks-a-Million-Banner-e1535472738766.jpg" width=100% height=auto />
Dev.to is full of goodies
Tags: rss, meta
Published: 2019-11-16 15:13:56

---
title: Dev.to is full of goodies
published: true
description: 
tags: RSS,meta
---

I was reading this post {% post https://dev.to/ben/i-have-some-bad-habits-that-date-back-to-my-days-making-geocities-websites-before-css-was-much-of-a-thing-496c %} and while scrolling the replies I noticed [someone mentioning *guestbooks*](/ninjabunny9000/comment/hn4d).

I'm not entirely sure what made me chain that thought but I instantly asked myself:

> Does dev.to support RSS feeds? 🤔

I took a quick look at the source code of my profile page and found yet another reason why this is a cool platform:

```html
<link
  rel="alternate"
  type="application/rss+xml"
  title="The Practical Dev RSS Feed"
  href="https://dev.to/feed/olistik"
/>
```

🎩

I guess it'd probably be a good idea to update the `title` attribute to reflect the user's profile, though.. 🤓

But there it is, each dev.to's user has a personal RSS feed:

```
https://dev.to/feed/<username>
```

And so do I. 🙇🏻‍♂️

[My dev.to RSS feed](https://dev.to/feed/olistik).
Hexagonal Architecture doesn't really work
Tags: design, architecture, hexagonal
Published: 2019-11-16 15:10:07

---
title: Hexagonal Architecture doesn't really work
published: true
description: 
tags: design, architecture, hexagonal
---
For various reasons, I've been reading a lot of late on Hexagonal Architecture / Ports and Adapters. On the face of it, this seems really neat. 

Basically, you define an inner domain, with the domain models, interfaces for all of the ports that the domain depends on - the driven ports, and interfaces for the ports that the domain exposes - the driving ports. The domain then also has a service that implements the driving ports on terms of the driven ports.

The benefit here is that anything depending on the Driving ports needs know nothing about the internals, and anything implementing the Driven ports can be plugged in. This means, for example, we can plug the domain into a web server, a command line app or an Android app with no business logic changes. It also means we can plug in a Postgres database, or a DynamoDB database with no changes to the business logic.

This all sounds really good. But does it work?

My very first thought was about changing database technology, and the fact that different databases do different things. And specifically about text searching.

If I decide to use Postgres then it has full text searching built in, so I only need one port and one adapter. If I decide to use DynamoDB then it does *not* have support for text searching, so I would need a second port for a full text engine, and an adapter for CloudSearch.

The problem here is that the choice of infrastructure defines the ports, and this is exactly *Not* the point.

The alternative is that we implement the DataStore and the TextSearch ports for Postgres, but have the TextSearch just do nothing when indexing documents. Except this is a waste of effort. Worse, it seems reasonable that the TextSearch port returns the ID of the matching records for the DataStore port to fetch, but if they're both the same database then this is a performance sink - it's two queries when one would suffice.

So, unless someone can enlighten me (please!), it seems that this architecture is potentially very tied to the infrastructure decisions after all.
Autosizing TextViews in Android Studio
Tags: help, android
Published: 2019-11-16 14:23:42

Hi everyone,

I created an Android app ( a single screen app with information of athletic club). I used a ScrollView and inside it a RelativeLayout with some TextViews/Imageviews. I would like to change all the TextView's size depends from device size.

[I read articles about Autosizing like this.](https://developer.android.com/guide/topics/ui/look-and-feel/autosizing-textview)

Update:
My question is:
Can I use autozising TextViews in RelativeLayout and keep all my positioning in same time? Unfortunately, when I use any kind of code for autosizing then my TextViews move from right to left.  Or I am on a wrong path and I need to rethink it?

Any advice I would really appreciate.
Thank you
Startup idea failed - what’s next?
Tags: discuss, startup, sideprojects
Published: 2019-11-16 14:22:51

1 year ago I’ve started working on a startup idea. I’ve created a pitch deck with market research and an MVP app to prove it works.

I thought the idea was good so I tried to find a founding. I had really advanced talks with one investor, we were really close to sign a contract, but then Google I/O happened. Investor got scared because he thought that they may be working on similar thing and may be our competitors. I do not agree with him but somehow it got me really bumped down, and I didn’t have energy to start looking for investor once again. So it was on my hard drive for last 6 months getting dusted.

Now I see two ways how I can proceed:
1. Open source the project
2. Try to find an investor

Personally I’m more convinced to make it open source but maybe you have any other ideas? What are your thoughts on this? Maybe you were in similar situation?

Thanks! 

P.S. Sorry for not writing for last 2 weeks I had last minute trip to Los Angeles 🏀. I will try to write articles regularly again :)
Should university teach current or future technologies? 
Tags: discuss, career, webdev, computerscience
Published: 2019-11-16 13:59:58

So at my University we are being taught technologies like PHP and JQuery for our web development module. However, if current trends continue these technologies will soon be overtaken by the more newer ones like Node JS and React. I have a similar situation in a few of my other modules. Where I have to question if by the time I graduate won't half of these technologies be outdate and only use in legacy programs?

<b>Shouldn't we teach the Developers of the future, the technology that will be used in that future?</b>
how i build my first npm package, a command like chat application
Tags: node, cli, pusher, chat
Published: 2019-11-16 13:27:15

## hello everyone, 

I recently started developing a command line chat application . This idea was floating with me for quite sometime , i actually made a prototype few months ago , but it was for proof of concept kind of thing. So i recently build it with more features and little more tidy 😂 . 

#### What exactly i build

![aloha logo](https://res.cloudinary.com/dijjqfsto/image/upload/v1573906463/aloha_y6rz3f.png)

[Aloha-cli-chat](https://www.npmjs.com/package/aloha-cli-chat) is a real time command line chat application build with Nodejs. So this is a chat application , but it runs on your command line!. 

for sometime i was goofing around with pusher services for my University second year project, and i came across with [pusher chatkit](https://pusher.com/chatkit) service. It is a awesome out of the box real time chat service you can integrate with many different environments. So i wanted to test it out. I could have implemented a node react web app to test , but it was very common. I wanted to do something different. so with some research i decided to build a command line chat application, it was easy to start with, and matched with my NodeJs skill set . 

#### how i made it

Aloha-cli-chat's command line interface and backend server both are build with NodeJs. I used Mongodb for storing user data.but most hard part is done by pusher chatkit. 

To get a better understanding, i'll break down the process. 

First a new user can signup to our chat application via command line.

After signing up a our system will create a new pusher chatkit user on behalf of that user , and we can authenticate this user with our system (from credentials we collected) .

in a successful authentication , our system will issue a `auth token` from pusher  and send it to the client , so client can start chatting , creating chat rooms etc.

![high level overview](https://thepracticaldev.s3.amazonaws.com/i/6tijxtzwqnuukcwyqjth.png)

#### what i learned by building this.
well , 
I learned how to publish a npm package .
How to get data from the command line.
A better understanding about pusher chatkit service, and how i can integrate it in my future projects.
 
Although this is not ideal for common day-today use, this is a great beginner friendly project as a beginner myself, i learned a great deal from this project.  <br/>you'll find many things to improve, and more creative features to add. So i decided to make this a open source project so everyone can join with me to build a better , robust CLI chat application.
PRs and issues are welcome .

{% github RizkyRajitha/alohacli no-readme  %}

### Thanks for Reading 🙌
<br/>
### what are your plans ? 💭
### share them in the comments section.
### I'd love to hear your feedback!
The BEST Way To Create Forms In React - React Hook Form Tutorial - How To Create Forms In React
Tags: react
Published: 2019-11-16 13:06:21

---
title: The BEST Way To Create Forms In React - React Hook Form Tutorial - How To Create Forms In React
published: true
description: New library react-hook-form is the best way to create forms in ReactJS today.
tags: react
---

{% youtube bU_eq8qyjic %}

How to create forms in React.

Right now the best way to create forms in React is to use React Form Hook library.
Self Motivation..!
Tags: webdev, career
Published: 2019-11-16 12:33:42

Yes, self motivation. Today, I was scrolling LinkedIn. Just got some abbreviation of NO, FAIL, END. I had already forgotten the abbreviation of those word. But, today got to know again and really, I had needed that a lot..!

The abbreviations are:

NO   - Next Opportunity
FAIL - First Attempt in Learning
END  - Effort Never Dies

How do you guys motivate yourself, If you feel down, demotivated? I would like to know from you guys.
Fluent MongoDB queries from Java
Tags: productivity, mongodb, java
Published: 2019-11-16 12:33:12

MongoDB is doing great, firmly holding a prestigious #5 on the db-engines ranking site. It means that we, developers, are using it a lot.

When looking on the official [driver API](https://mongodb.github.io/mongo-java-driver/3.11/driver/tutorials/perform-read-operations/#filters-helper), we can see an effort to make an API as fluent as possible:

```java
collection.find(and(gte("stars", 2), lt("stars", 5), eq("categories", "Bakery")));
```

Yet, there are many issues:

* All fields are Strings without auto completion.
* No type safety on operators (Is `stars` a number?! Is `categories` a collection (?!) of Strings or …?!).
* Do we really like using `gte` for `>=` ?! I mean, is it easy to read and understand this expression?
* And finally, when the schema changes, we are back to 80' with find-replace…

There is a simple and effective solution to those issues — [FluentMongo](https://github.com/streamx-co/FluentMongo), which adds the missing ingredient to the API — type safety and Java integration. It lets you use **normal Java** to write filters, projections, updates, sorts and indexes. For example:

```java
collection.find(builder.filter(r -> r.getStars() >= 2 && r.getStars() < 5 &&
                                    r.getCategories().contains("Bakery")));
```

You can be both **[productive](https://github.com/streamx-co/FluentMongo)** with MongoDB and write a **maintainable** code now!
Run webpack in the browser
Tags: node, javascript, webpack
Published: 2019-11-16 11:39:42

"Run webpack in the browser", A lot of discussion on this topic, I also tried a different way, and finally I ran part of the nodejs api into the browser (using a lot of great libraries), and, success Implemented the "webpack compiler feature" of the latest version of webpack.
Not only that, many nodejs libraries can be executed, if you want to know more, please visit https://github.com/nodebowl/nodebowl

Run webpack 4 in browser demo https://nodebowl.com/static/examples/webpack.html (just test chrome)
YPSKA #5 Next.js
Tags: ypska, javascript, staticsitegenerator, react
Published: 2019-11-16 11:27:33

First of all, it hasn't been a week yet and I'm kind of running out of topics ;-) The problem isn't that there isn't enough technology to write about, it's more that I don't wan't to write about things that you probably already know about (Yes, you probably know most of the things I'm highlighting, but there might be something for everyone). So if you think something you're missing in my list please send me a message at hf@happycoders.agency and I'll take it into consideration. 

So today I want to point your attention to [Next.js](https://nextjs.org/). I stumbled upon this when reading about the JAM stack (this will be featured in the near future). Next.js is among other things a server site rendering tool (look another topic ;-)), it creates "static" site from your React-site. It is also a framework to build React-applications, without all the hassle with webpack-configuration etc.

I think it is a nice framework that is easy to get started with. There's a good tutorial att the website to get you up to speed, why not check it out right away.