teleren/devto huggingface dataset:
Mega Ramp Car Stunt Game
Tags: gamedev, android, mobile, mobilegame
Published: 2021-04-30 11:19:56

Welcome to our free mega ramp car stunt game 3d: new car games 2021.The new offline game 2021 brings unlimited car driving challenges for stunt driving game lovers. Mega ramp stunt game with new features and best games taste. You will enjoy this mega ramp car simulator as compared with other offline games 2020. If you are crazy about playing car stunts games then this car driving simulator is recommended for you. Download the mega ramp tracks 3d to enjoy the thrill of car racing stunts over impossible tracks. Get one of the best car driving games experience on an impossible track by performing stunts on impossible ramps? Be careful while driving the car on impossible tracks and show your good driving skills of car stunts mega ramp. Car jumping stunt games 3d is hard to drive on zigzag track ramps in sky road. In this offline car game 2021, you must have been impossible track car racing skills.
https://play.google.com/store/apps/details?id=com.mega.stunt.games.mishi.car.racing
Program K-Startup Grand Challenge 2021 Telah Dibuka
Tags: berita, startup, accelerationprogram
Published: 2021-04-30 11:10:27


Program ini merupakan bentuk dukungan pemerintah Korea Selatan terhadap terhadap bisnis kecil-menengah dan startup yang makin menjamur.

{% youtube vp8gX1dyiCw %}

K-Startup Grand Challenge 2021 merupakan program akselerasi dengan total bantuan sebesar **$320.000 USD** yang digagas oleh pemerintah Korea Selatan melalui Ministry of SMEs and Startup (MSS) bekerjasama dengan NIPA (National IT Industry Promotion Agency). NIPA merupakan lembaga publik di Korea Selatan yang fokus pada teknologi, industri dan perkembangan startup di negeri ginseng itu.

Kategori yang dapat diikuti oleh peserta seperti:

*   AI
*   Big Data
*   Cloud Computing
*   IoT
*   Contactless
*   Smart City (Agro, Gov, Factory, etc)
*   Semiconductor (PIM, SoC, etc)
*   Blockchain
*   Fintech
*   Information Security

> Kategori lengkap dapat dibaca di [brosur resmi](https://saltinecomms.us1.list-manage.com/track/click?u=0f98a84958eb78b70c1832319\&id=369635397b\&e=a72f72f32d)

Pendaftaran dibuka dari 15 April - 15 Juni 2021. Program akselerasi diadakan mulai tanggal 15 Agustus - 30 November 2021. Demo Day akan dilaksanan pada akhir November 2021.

K-Startup Grand Challenge 2021 didanai didanai penuh oleh pemerintah Korea Selatan. Semua peserta yang memenuhi syarat akan mengikuti program ini selama 3,5 bulan, Mereka akan mendapat fasilitas mulai dari tempat tinggal, biaya hidup, kantor & peoject space, peserta magang, help desk, visa dan dukungan sponsorsip korporat.

> Untuk mengetahui informasi lengkap, silakan unduh brosur resmi pada [tautan ini](https://saltinecomms.us1.list-manage.com/track/click?u=0f98a84958eb78b70c1832319\&id=369635397b\&e=a72f72f32d)

Semua ini dilakukan pemerintah Korea Selatan untuk mempromosikan perluasan ekosistem bisnis kecil-menengah dan startup di Asia dan untuk membantu founder global terlibat dalam evolusi Korea Selatan menjadi pusat bisnis startup terkemuka di kawasan Asia.

[Daftar K-Startup Grand Challenge 2021](https://www.k-startupgc.org/)

*Originally published at [MauCariApa.com](https://maucariapa.com/k-startup-grand-challenge-2021-telah-dibuka/) on April 30, 2021.*
Consume Spring HATEOAS Rest API using AngularJS example | Spring Boot
Tags: springboot, springhateoas, angular
Published: 2021-04-30 10:55:32

https://grokonez.com/spring-framework/spring-mvc/consume-spring-hateoas-rest-api-using-angularjs-example-spring-boot

Consume Spring HATEOAS Rest API using AngularJS example | Spring Boot

In this tutorial, <strong>JavaSampleApproach</strong> shows you a Spring Boot example that consumes Spring HATEOAS Rest API using AngularJS.

Related Post:
- <a href="https://grokonez.com/spring-framework/spring-boot/how-to-start-spring-hateoas-restapi-with-spring-boot">How to start Spring HATEOAS RestAPI with Spring Boot</a>
- <a href="https://grokonez.com/spring-framework/spring-boot/consume-spring-hateoas-rest-api-using-jquery-ajax-example-spring-boot">Consume Spring HATEOAS Rest API using JQuery Ajax example | Spring Boot</a>
- <a href="https://grokonez.com/spring-framework/spring-boot/http-angularjs-spring-boot">How to integrate Http Angularjs with Spring MVC | Spring Boot</a>

<!--more-->
<h2>I. Overview</h2>
<h3>1. Goal</h3>
We'll build a Spring Boot Application in that:
- <strong>HATEOAS REST Service</strong> provides interface for interacting with <strong><em>Customer</em></strong> Database.
- Client calls API by using <strong>AngularJS</strong>, retrieves and displays:
+ <em><strong>Customer</strong></em> Data (Id, Name) with HATEOAS <strong>Links</strong> by <em><strong>CustomerId</strong></em>.
+ <em><strong>Order</strong></em> Data for <em><strong>Customer</strong></em> above.
<h3>2. Technology</h3>
- Java 1.8
- Maven 3.3.9
- Spring Tool Suite – Version 3.8.4.RELEASE
- Spring Boot: 1.5.4.RELEASE
<h3>3. Project Structure</h3>
<img src="https://grokonez.com/wp-content/uploads/2017/06/consume-spring-hateoas-angularjs-structure.png" alt="consume-spring-hateoas-angularjs-structure" width="334" height="507" class="alignnone size-full wp-image-6252" />

- <strong>HATEOAS REST Service</strong>:
+ <code>Customer</code> class extends Spring HATEOAS <code>ResourceSupport</code>.
+ <code>CustomerRepository</code> provides repository methods and custom finder methods for <code>CustomerController</code> to interact with <code>Customer</code> database.
+ <code>CustomerController</code> is a REST Controller which has request mapping methods for RESTful requests such as:
/{id}, /{id}/orders, /getcustomer/{id}
+ <code>Response</code> class defines structure for returned data of HTTP GET.

https://grokonez.com/spring-framework/spring-mvc/consume-spring-hateoas-rest-api-using-angularjs-example-spring-boot

Consume Spring HATEOAS Rest API using AngularJS example | Spring Boot
How to access MySQL database with Spring Data Rest application
Tags: mysql, springdata, springrest
Published: 2021-04-30 10:44:26

https://grokonez.com/java-integration/access-mysql-database-spring-data-rest-application

How to access MySQL database with Spring Data Rest application

Spring Data REST is a combination between Spring HATEOAS and Spring Data JPA. So in the tutorial, <a href="https://grokonez.com">JavaSampleApproach</a> show you way to create a Spring Data Rest application to manipulate data with MySQL.

Related posts:
- <a href="https://grokonez.com/spring-framework/spring-boot/build-springboot-mongodb-restfulapi">How to build SpringBoot MongoDb RestfulApi</a>
- <a href="https://grokonez.com/spring-framework/spring-boot/use-hal-browser-spring-data-rest-springboot-mysql">How to use HAL Browser with Spring Data Rest | SpringBoot + MySQL</a>
- <a href="https://grokonez.com/spring-framework/spring-boot/spring-data-rest-create-restapis-jpa-one-many-relational-entities-springboot-mysql-hal-browser">Spring Data Rest – How to create a RestAPIs with JPA One-to-Many relational entities | SpringBoot + MySql + HAL Browser</a>

<!--more-->
<iframe width="853" height="480" src="https://www.youtube.com/embed/mCrGpVjfTBU?rel=0" frameborder="0" allowfullscreen></iframe>
<h2>I. Technologies</h2>
– Java 8
– Maven 3.6.1
– Spring Tool Suite: Version 3.8.4.RELEASE
– Spring Boot: 1.5.4.RELEASE
- MySQL
<h2>II. Practice</h2>
In the tutorial, we use Spring Data REST and SpringBoot for building RestAPI application to access MySQL database.

<strong>Step to do:</strong>

- Create SpringBoot project
- Create Customer model
- Implement Customer repository
- Implement client to init database
- Run and check results

<img src="https://grokonez.com/wp-content/uploads/2017/07/spring-data-rest-rest-project-structure-1.png" alt="" width="346" height="185" class="alignnone size-full wp-image-6649" />

https://grokonez.com/java-integration/access-mysql-database-spring-data-rest-application

How to access MySQL database with Spring Data Rest application
Spring Data Rest – How to create a RestAPIs with JPA Many-to-Many relational entities
Tags: springboot, springdata, restapi, manytomany
Published: 2021-04-30 10:35:09

https://grokonez.com/spring-framework/spring-data-rest/spring-data-rest-create-restapis-jpa-many-to-many-relational-entities-springboot-mysql-hal-browser

Spring Data Rest – How to create a RestAPIs with JPA Many-to-Many relational entities | SpringBoot + MySql + HAL Browser

In the tutorial, <a href="https://grokonez.com">JavaSampleApproach</a> will guide how to build a Spring Data Rest application for Jpa <strong>Many-To-Many</strong> relational entities with SpringBoot.

Related posts:
– <a href="https://grokonez.com/spring-framework/spring-boot/use-hal-browser-spring-data-rest-springboot-mysql">Spring Data Rest – How to create a RestAPIs with JPA One-to-Many relational entities | SpringBoot + MySql + HAL Browser</a>
– <a href="https://grokonez.com/spring-framework/spring-boot/access-mysql-database-spring-data-rest-application">How to access MySQL database with Spring Data Rest application</a>
– <a href="https://grokonez.com/spring-framework/spring-boot/spring-jpa-many-to-many">Spring JPA – Many to Many relationship</a>

<!--more-->
<h2>I. Technologies</h2>
– Java 8
– Maven 3.6.1
– Spring Tool Suite: Version 3.8.4.RELEASE
– Spring Boot: 1.5.4.RELEASE
– MySQL
– Hal Browser
<h2>II. Practice</h2>
The tutorial creates a SpringBoot project with 2 JPA entities {<code>Student</code>, <code>Subject</code>} which have <a href="https://grokonez.com/spring-framework/spring-boot/spring-jpa-many-to-many">Many-to-Many</a> relationship. We use Spring Data Rest to <a href="https://grokonez.com/spring-framework/spring-boot/access-mysql-database-spring-data-rest-application">build restfulAPIs for accessing MySQL</a> data which are created by 2 entities. Then using <a href="https://grokonez.com/spring-framework/spring-boot/use-hal-browser-spring-data-rest-springboot-mysql">HalBrowser</a> to consume the rests.

<strong>Step to do</strong>:
– Create SpringBoot project
– Create Jpa entities
– Create Rest repositories
– Implement CommandLineRunner client
– Run and check results

<img src="https://grokonez.com/wp-content/uploads/2017/07/spring-data-rest-hal-many-to-many-project-structure.png" alt="spring data rest hal many to many - project structure" width="344" height="217" class="alignnone size-full wp-image-6941" />
<h3>1. Create SpringBoot project</h3>
Using <strong>SpringToolSuite</strong> to create a SpringBoot project. Then add dependencies:

More at:

https://grokonez.com/spring-framework/spring-data-rest/spring-data-rest-create-restapis-jpa-many-to-many-relational-entities-springboot-mysql-hal-browser

Spring Data Rest – How to create a RestAPIs with JPA Many-to-Many relational entities | SpringBoot + MySql + HAL Browser
Non-technical communication
Tags: development, requirements, teams
Published: 2021-04-30 11:00:52

---
title: Non-technical communication
published: true
date: 2021-04-30 10:30:00 UTC
tags: development,requirements,teams
canonical_url: https://craignicol.wordpress.com/2021/04/30/non-technical-communication/
cover_image: https://craignicol.files.wordpress.com/2017/03/dsc_0551-1.jpg?w=1200
series: mentor
---

If, like me, you love talking about tech, you may find it hard to speak to clients and managers who don’t. So I try and follow one simple rule.

_Let go of the detail._

Have a summary that skips over it, because generally the people you talk to trust you on the detail. If you’ve ever had a boiler installed, they’ll never tell you what pipes they’re using, how it’ll context to the power supply. You agree on the boiler model and the installation date, and let them worry about the detail.

Sure, record the detail for yourself and your team, but make it available on-demand, not as a fire hose.

_TL;DR; everything_
Laravel 8.0 Authentication with Breeze Example
Tags: php, laravel, programming, webdev
Published: 2021-04-30 10:28:08

Hello artisan, Today I am going to show you laravel Authentication with breeze. In this example, we will learn the laravel authentication system with Breeze. Laravel makes it very efficient and easir to the developers.

Read also Laravel 8.0 Auth with Inertia JS Jetstream Example
Create Laravel Project
Firstly create brand new laravel app for use breeze Auth Scaffolding.If you have already a authentication system then it may not work.

composer create-project --prefer-dist laravel/laravel blog
Make Database Connection
Go to your project directory and find .env file and update it like :

.env
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel_auth8
DB_USERNAME=root
DB_PASSWORD=
Install breeze Auth Scaffolding
install auth scaffolding breeze package in laravel app by using the following command

composer require laravel/breeze --dev
Next you have to install laravel breeze for simple auth scaffolding. so let’s run bellow command

php artisan breeze:install
Run php artisan Migrate
open terminal and type the following command on it to create database table

php artisan migrate
Install Npm Packages
npm install
Run npm Packages
npm run dev
Run Development Server
php artisan serve
Go to the browser and enter the following url

http://127.0.0.1:8000/
breeze auth laravel 8.0
Dashboard
http://127.0.0.1:8000/register
breeze auth laravel 8.0
Registration page
http://127.0.0.1:8000/login
breeze auth laravel 8.0
Login page
Hope it will help!
Spring JPA Hibernate Many to Many – SpringBoot + PostgreSQL
Tags: springjpa, springboot, postgres, manytomany
Published: 2021-04-30 10:25:49

https://grokonez.com/spring-framework/spring-data/spring-jpa-many-to-many

Spring JPA Hibernate Many to Many – SpringBoot + PostgreSQL

This tutorial will guide you through the steps configuring <strong>Many to Many</strong> relationship in database with Spring JPA, Spring Boot & PostgreSql.

Related articles:
- <a href="https://grokonez.com/spring-framework/spring-boot/configure-spring-jpa-one-one-relationship-springboot">How to configure Spring JPA One to One Relationship – SpringBoot</a>
- <a href="https://grokonez.com/spring-framework/spring-data/configure-spring-jpa-one-to-many-relationship-springboot">How to configure Spring JPA One to Many Relationship – SpringBoot</a>
- <a href="https://grokonez.com/spring-framework/spring-boot/spring-data-rest-create-restapis-jpa-many-to-many-relational-entities-springboot-mysql-hal-browser">Spring Data Rest – How to create a RestAPIs with JPA Many-to-Many relational entities | SpringBoot + MySql + HAL Browser</a>

<!--more-->
<iframe width="853" height="480" src="https://www.youtube.com/embed/A1xN3pKqFUU?rel=0" frameborder="0" allowfullscreen></iframe>
<div id="tuttoc" class="jsa-toc"></div>

<div id="tutcontents">
<h2>I. Technology for Many-to-Many relationship tutorial</h2>
– Java 1.8
– Maven 3.3.9
– Spring Tool Suite – Version 3.8.1.RELEASE
- PostgreSQL

<h2>II. Overview</h2>

<h3>1. Many to many database design</h3>
<strong>student</strong> and <strong>subject</strong> tables have many to many relationship via <strong>student_subject </strong>table.

<img src="https://grokonez.com/wp-content/uploads/2016/11/design-db.png" alt="many to many relationship database" width="671" height="104" class="alignnone size-full wp-image-1917" />

<h3>2. Project structure</h3>
Look at Package Explorer to see our project structure:
<img src="https://grokonez.com/wp-content/uploads/2016/11/spring-jpa-many-to-many-project-structure.png" alt="spring jpa many to many structure of project" width="734" height="460" class="alignnone size-full wp-image-1918" />

<h3>3. Step to do</h3>
- Create Spring Boot project
- Config <strong>Datasource</strong> and<strong> Hibernate </strong>for JPA
- Create models that mapping with Database design.
- Create JPA repositories
- Implement client for use
- Run & Check result

More at:

https://grokonez.com/spring-framework/spring-data/spring-jpa-many-to-many

Spring JPA Hibernate Many to Many – SpringBoot + PostgreSQL
Some mistakes you may make in PHP
Tags: php
Published: 2021-04-30 10:20:01

Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world. Still during my work, I found it can have tricky behaviors that you may not aware of (yet) and create bugs in your code. 
Here are some of the most common mistakes I encountered :

##  array_merge 

Syntax : *array_merge ( array ...$arrays ) : array*
The function simply merges the elements of arrays together. But it also **reset** the keys of elements if it's numeric. 
For example, a very basic use-case where you have arrays storing `[UserId => UserName]` : 
``` php
$userArr1 = [1 => "John", "3" => "Mary"];
$userArr2 = [6 => "Ted", "22" => "Doe"];


$allUser = array_merge($userArr1, $userArr2);

// $allUser will be
// Array
// (
//    [0] => John
//    [1] => Mary
//    [2] => Ted
//    [3] => Doe
// )
```
Casting the numeric value to string like (string)10 won't work. This behavior is same for `array_merge_recursive()`, so you should keep this in mind when calling these functions.

## empty

Syntax : *empty ( mixed $var ) : bool*
This check whether a variable is empty. Many use this function to check whether a key is set in array. It's all good and simple until value 0 came in.
For example, an user submit formed validation code :
``` php
// Function to check all required field are provided by user
function checkRequiredFields ($input) {
    $requiredField = ['name', 'age', 'number_of_kids']; 
    $errors = '';
    foreach ($requiredField as $field) {
        if (empty($input[$field])) {
           $errors.= "$field is missing"; 
        }
    }
    return $errors;
}
// A valid use-case in real likfe
$userData = ['name' => 'John', 'age' => 22, 'number_of_kids' => 0];

$inputError = checkRequiredFields($userData);
// This return "number_of_kids is missing"
```
This is because 0 is also considered as "empty" even though it's a valid response in many use-cases. I find people make this mistake mostly when validating user's input.
A work around is adding `strlen($var)`
```php
!isset($input[$field]) || strlen($input[$field]) == 0
```

## Ternary operator (?:) vs null coalescing operator (??)
When your first argument is null, they're basically the same 


```php
$a = null;

print $a ?? 'default'; // default
print $a ?: 'default'; // default

$b = ['a' => null];

print $b['a'] ?? 'default'; // default
print $b['a'] ?: 'default'; // default
```
Except that the Ternary operator will output an E_NOTICE when you have an undefined variable.

But when the first argument is not null, they are different :
```php
$a = false ?? 'default'; // false
$b = false ?: 'default'; // default
```


###That's it.
Hope my short article can save you some debugging time.
We Should Stop Hating Web Components
Tags: webcomponents, webdev, vanillajs, javascript
Published: 2021-04-30 10:19:13

So you just heard about this thing called web components and you did a quick google search. apart from a few tutorials and some github pages you also see these catchy articles whose headings starts with "Web Components Doomed" or "Web Components are not the future". The Words might be different but each of those articles try to woo you away from using or even trying out Web Components.

They tell you that Web Components are not being used anywhere and it was destined to fail. but they are telling you only the half truth.

Although its true that Web Components aren't as popular as React or Vue or any other framework, but that does not means they are not being used anywhere. Google has been using web components for a while in many of its platforms. infact Angular also uses Web Components Under the hood.
 
![Web.dev a part of Google Developers network](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d6bkahnhnwqfpaew8kij.png)
 
Github uses a set of custom elements called [Github Elements](https://github.com/github/github-elements)

![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c7ilxry2glo960h2o0so.png)

They also try to scare you by saying there are only a few libraries available for making web components. But the fact is that there a lot of libraries available for easing the development process of web components like [LitElements](https://lit-element.polymer-project.org/guide), [FastElements](https://www.fast.design/) by Microsoft and [Lightning Web Components](https://github.com/salesforce/lwc) By Salesforce. These Libraries are not just actively maintained but infact the number of their users is also increasing. The [State Of JS 2020](https://2020.stateofjs.com/en-US/technologies/front-end-frameworks/) ranks LitElements above Angular. There's also stencil, which is not a framework but a compiler which allows you to use technologies such as JSX and Virtual DOM for creating web components.

But In the end, I accept at first Web Components seem to make simple tasks more complex because you have to use VanillaJS for interacting with the DOM and the state management is still a mystery. but it allows you to create a functional web app without any build process and its also very fast. What Web Components lack now are resources and good tutorials.

Leave your thoughts about Web Components in the comments.

Jai Hind!
@Resource Annotation in Spring
Tags: spring, annotation, resource
Published: 2021-04-30 10:17:50

https://grokonez.com/spring-framework/resource-annotation-in-spring

@Resource Annotation in Spring

@Resource Annotation is used to indicate a reference to a resource, it is considered an alternative to <strong>@Autowired</strong> which is an Spring standard. Similar to Java EE 5, we can use <strong>@Resource</strong> Annotation with <strong>field injection</strong> or <strong>setter method</strong>.

This tutorial will cover those kinds of injection which will be used for matching by <strong>Name</strong>, <strong>Type</strong> or <strong>Qualifier</strong>.

<!--more-->
<div id="tuttoc" class="jsa-toc"></div>

<div id="tutcontents">
<h2>I. Field Injection</h2>
<h3>1. By Name</h3>
We have two implementations of interface <strong>User</strong>: <strong>FreeUser</strong> and <strong>PremiumUser</strong>.
<pre><code class="language-java">
public interface User {
	String getName();
}

public class FreeUser implements User {
	private String name;

	public FreeUser(String name) {
		System.out.println("Call constructor for FreeUser: " + name);
		this.name = name;
	}

	@Override
	public String getName() {
		return name;
	}
}

public class PremiumUser implements User{
	private String name;

	public PremiumUser(String name) {
		System.out.println("Call constructor for PremiumUser: " + name);
		this.name = name;
	}

	@Override
	public String getName() {
		return name;
	}
}</code></pre>
And two Beans of User:

More at:

https://grokonez.com/spring-framework/resource-annotation-in-spring

@Resource Annotation in Spring