teleren/devto huggingface dataset:
What may cause an SQLSTATE[HY000]: General error: 7 SSL SYSCALL error: EOF detected error mean?
Tags: help, postgres
Published: 2020-02-07 12:24:19

Recently on my database I can across the follwoing error:

```
SQLSTATE[HY000]: General error: 7 SSL SYSCALL error: EOF detected (SQL:
```

Whilst checking many parameters such as memory consumption, max connection limit. I still find no connection from my findings with this particular error.

So I am asking whether you have experienced this error and what diagnostic steps did to ufind the error?

So far I looked and asked theese questions:

1. https://dba.stackexchange.com/questions/259128/what-does-the-error-means-sqlstatehy000-general-error-7-ssl-syscall-error
2. https://dba.stackexchange.com/questions/259025/does-the-hot-standby-feedback-on-may-cause-ssl-syscall-error-eof-detected-e

(Yeap, it may be for dba but I think database-related errors can be answered better on this.)

Sop plz may I have some pointers I am becoming nuts!!!!
Accidentally removed Flutter binary on macOS
Tags: flutter, ios, cocoapods
Published: 2020-02-07 12:07:11

---
title: Accidentally removed Flutter binary on macOS
published: true
description: The 'Pods-Runner' target has transitive dependencies that include statically linked binaries: (/path/to/app/ios/Flutter/Flutter.framework)
tags: Flutter, iOS, Cocoapods
---

I've accidentally removed a binary file named `Flutter` on my Mac via Storage Management.

Afterwards I ran into this issue:
`The 'Pods-Runner' target has transitive dependencies that include statically linked binaries: (/path/to/app/ios/Flutter/Flutter.framework)`

How I've eventually fixed it:

1. Fix Flutter SDK: Via a reinstall, but maybe changing channels and triggering a new build of the Flutter tool might work as well.
2. Clean out the Cocoapods cache: `pod cache clean --all`
3. Remove the Cocoapods cache directory: `rm -rf "${HOME}/Library/Caches/CocoaPods"`
4. Repair the Pub cache: `pub cache repair`
5. Start from a fresh checkout of the project. `.packages` should not be generated yet.
6. `flutter packages get`
7. Run (or build) the iOS app

Some of these steps probably aren't necessary or could be done in a better way, but this is what worked for me.
I just wanted to publish this in case it might help somebody in the future. That somebody might even be me.

If you've encountered the same issue before and was able to fix this, let me know how you did it :)
Makers - Week 6
Tags: javascript, jquery, ruby, beginners
Published: 2020-02-07 11:59:27

This was the first group project in the makers experience. I feel incredibly lucky so far - i have such wonderful classmates. I’m sure most students here feel the same, but the cohesion in our particular cohort seems something special. We socialise, go to great lengths to help each other understand topics, and helpfully quiz each other on topics (it turns out explaining your code to another student/coach is the best way of learning!).

To my great fortune once again, i was randomly assigned to a group containing good friends and serious coders. Our brief was to build a clone of AirBnb, aptly named MakersBnb. This involved building a website in Javascript, attached to a Ruby Controller, attached to a database (both a test and development database.)

3 weeks ago i would have run a country mile at the prospect of making this, but on the contrary I could not wait to get stuck in. I had wonderful people around me, who were not only greta communicators but serious coders. We quickly mapped out our databases and which tables they will each have, our paths in our controller and where they will redirect to, and the classes we needed in order to properly separate our concerns and have solid DRY code (all TDD’s of course!!).

The harmony was great and we quickly jumped straight in, and by the 4/5 day we had covered all of the necessary targets for the minimum viable product. This then left room for a few added features, and then some styling! CSS was never a strong point, but i enjoyed diving into JQuery further, and letting the creative juices flowing. 

This week all in, really helped consolidate the learning I have had from Javascript from the previous week. It was scary at first, but dare i say I am beginning to absorb it at a rate, faster than i ever thought i could! Next week looks to be all about the world of vanilla Javascript (nooo my beloved JQuery!) which should give further insight into this new world.

As always wish me luck.

David
Running a task after the response is sent
Tags: laravel
Published: 2020-02-07 11:53:51

Normally, if you want to run a task and don't want the user to wait until it's done you'd dispatch a queued job. However, sometimes that task is really simple and short that putting it in a queue might be an overkill.

Using Laravel, you can run such tasks after sending the response to the user. It works by keeping the PHP process alive to run the tasks after closing the connection with the browser. You can do that using:

- Terminable Middleware.
- Terminating callbacks (e.g. App::terminating(function(){ }))
- Job::dispatchAfterResponse() using Laravel v6.14.0 or higher.

If you have a job called ClearCache, you can run it after the response is sent like this:

```php
function store(Response $response)
{
 // Do some work

 ClearCache::dispatchAfterResponse();  

 return view('success');
}
```

Remember, this is only a good idea if the task is really short. For long running tasks, dispatching to queue is recommended.
Docker best practices
Tags: aws, docker
Published: 2020-02-07 11:43:11

Hello community,

I am currently deploying docker images in ECS cluster with Fargate compute engine. I want to know why I can't access it from the browser using the public IP. What could I have missed in the configuration? Can I run a multi-container in ECS without an integration with AWS Elastic Beanstalk?

P.S am using published images from docker hub

Thanks in advance.
Angular Boilerplate
Published: 2020-02-07 11:40:54

You can follow this boilerplate https://github.com/brnrajoriya/Angular-Boilerplate

Just clone this project and run npm install and you got all necessary components and a CRUD with JWT authentication as well as commands in readme.md to create new components/services/CRUD operations.

All the points are covered in this Repo
Friendly CRUD application
Functions Boilerplate with Best Practices
Readme.md with description
Separated Directory Structure

#brn.rajoriya #angular #angular-boilerplate #boilerplate #typescript #opensource
Smooth Fullscreen Slideshow Animation
Tags: css, codepen
Published: 2020-02-07 11:19:52


I created a Codepen of a smooth fullscreen slideshow animation for small slideshows 🔥

![Smooth Fullscreen Slideshow Animation](https://dev-to-uploads.s3.amazonaws.com/i/3e2zufnl1xnntme1avvh.gif)

If you like it, you can check out the code here:
👉 [Smooth Fullscreen Slideshow Animation on Codepen](https://codepen.io/_marcba/pen/OJVJYaL)
Tron Founder Finally Met Billionaire Warren Buffet For Charity Lunch
Tags: tron, warrenbuffett, justinsun, johnmcafee
Published: 2020-02-07 10:17:54

Justin Sun, the CEO and founder of Tron, finally got to meet with famous billionaire Warren Buffett (the chairman of Hathaway) after several postponements in 2019.

Read Out More 👉 https://www.cryptoknowmics.com/news/tron-founder-finally-met-billionaire-warren-buffet-for-charity-lunch
The Learn How to Code Planner
Tags: javascript, python, productivity, learning
Published: 2020-02-07 10:10:12

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

**ps**: If you just want to download, go here: https://bit.ly/3biXP4j


Learning how to code can be overwhelming! Often learners confuse a curriculum with a plan to learn coding.

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

A curriculum is a **list of topics** on a particular subject for example JavaScript or python. Whereas, **planning** involves the steps including the time and energy commitments to finish the curriculum.

### Common problematic pattern 

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

1. As I teach students/learners I see a common pattern of wanting to complete topics x, y or z **and then** after they learn a bunch of topics, finally make something.

2. Or students who want to build a project but are really disorganized and have no plan on how to go about it, with limited knowledge and skills. They get overwhelmed with the amount of resources they need to go through to complete a particular task within limited time.

So I decided to publish what I use to complete projects consistently while still picking up new technologies. ☀️

### Better planning for better learning 

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/weckwwh21xzw3s3zlo6x.PNG)
 
Planning is important for learning any skill. It is not enough to jump into conditionals, loops, arrays etc and understand them.

**Meaningful learning comes from a place of knowing where you're going and how you're going to reach there.** 

It is a journey/process. Nobody can validate the end result better than you after having gone through the process **BEFORE** you get a job or paid for your skills in some way. In which case, money is  pretty good validation! 💵

### How the planner works

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


### Learn by Deconstruction ⚔️

You first list out all the features and technologies of your app. And then you deconstruct each feature. By forcing you to deconstruct each step or feature of your app, a concrete plan starts to take form. 

## Download

https://bit.ly/3biXP4j
Angular 9|8|7 Firebase – Send Verification Email to New User
Tags: angular, angular987, firebase, firebaseverificationemail
Published: 2020-02-07 10:02:15

---
title: Angular 9|8|7 Firebase – Send Verification Email to New User
published: true
description: How to send verification email to the new user? I am also going to show you How to prevent new users from accessing their account unless they validate their email address?
tags: Angular,Angular 9|8|7,Firebase,Firebase Verification Email
---

The post [Angular 7|8|9 Firebase – Send Verification Email to New User](https://www.positronx.io/send-verification-email-new-user-firebase-angular/) appeared first on [positronX.io](https://www.positronx.io).

Hello folks, In this Angular 7/8/9 Firebase tutorial, I am going to answer commonly asked question How to send verification email to the new user? I am also going to show you How to prevent new users from accessing their account unless they validate their email address?

Firebase offers many powerful features for creating an authentication system. Sending email verification is not that difficult using Angular Firebase. I am going to show you how you can achieve this functionality very easily using Firebase API AngularFire2 Library.


[click here to read more](https://www.positronx.io/send-verification-email-new-user-firebase-angular/)
Best Coaching Institute for CA, CS, CMA | India 
Tags: onlinecacourse, cscourseinbanglore, cmaonlinecoaching
Published: 2020-02-07 09:59:36

Bhagwati Education LLP was made a reality by prof. Bhavesh Rajini, an Educator, a logician, a polymath who has always been known and recognized for his in-depth knowledge and experience across various disciplines. He has a philosophy that Real Education is conceptual and permanent rather than it being temporary and merely exam-oriented.

In his quest provide quality education to help students not only to clear their examinations with ease but also to give them a Deep, long-lasting knowledge, he started "Bhagwati Education LLP" a frim which has set forth to give students an enriching, long-lasting and impactful learning experience different professional courses.
Solve node-gyp build error due to PYTHONPATH
Tags: npm, macos, node
Published: 2020-02-07 09:54:25

Update
--------------
From [node-gyp@5.1.0](https://github.com/nodejs/node-gyp/pull/2012) onwards, python3 will be used for the build, therefore please follow the steps below, but replace the last step with

```bash
PYTHONPATH=python3 && npm i
```

-------------

Recently, I faced the problem where `node-gyp rebuild` failed due to PYTHONPATH is pointing to python3. This is due to python2 is being deprecated, and `python` now points to python3 by default. While node-gyp requires python2 to build.

To solve this on macOS, just make sure you reinstall python 2 and python 3 and point PYTHONPATH environment variable to python2.

```bash
# Only do this if `where python2` output nothing
brew uninstall --ignore-dependencies python2 python3
brew install python2 python3 


PYTHONPATH=python2 && npm i
```

DONE!

------------

References
- https://github.com/nodejs/node-gyp/issues/1643#issuecomment-456011575
Firebase Create User with Email and Password in Angular 9|8|7
Tags: firebaseuserwithemail, angular987, angular, emailandpasswordinangular
Published: 2020-02-07 09:50:50

---
title: Firebase Create User with Email and Password in Angular 9|8|7
published: true
description: You can use Firebase Authentication to let your users authenticate with Firebase using their email addresses and passwords and to manage your app’s password-based accounts.
tags: Firebase  User with Email, Angular 9|8|7,Angular ,Email and Password in Angular
---

The post [Firebase Create User with Email and Password in Angular 9|8|7](https://www.positronx.io/create-user-with-email-password-in-firebase-and-angular/) appeared first on [positronX.io](https://www.positronx.io). 


Hello folks, In this tutorial, I am going to show you How you can create a user with Email and Password in Firebase with Angular 7|8|9 framework? You can use Firebase Authentication to let your users authenticate with Firebase using their email addresses and passwords and to manage your app’s password-based accounts.

Firebase allows you to create a fast and secure authentication system with its vast API collection. Creating a user with Firebase is very easy and straightforward. You can connect Firebase’s AngularFire2 library with your Angular application and use its powerful features throughout the app.


[click here to read more](https://www.positronx.io/create-user-with-email-password-in-firebase-and-angular/)
Build Firebase Login with Google in Angular 9|8|7
Tags: buildfirebaselogin, angular987, angular, firebaseloginwithgoogle
Published: 2020-02-07 09:48:37

---
title: Build Firebase Login with Google in Angular 9|8|7
published: true
description: Firebase provides various features for the user authentication system.
tags: Build Firebase Login, Angular 9|8|7,Angular ,Firebase Login with Google
---

The post [Build Firebase Login with Google in Angular 9|8|7](https://www.positronx.io/angular-firebase-google-login-auth-system-tutorial/) appeared first on [positronX.io](https://www.positronx.io). 


I am going to explain how to create Firebase Google login Auth system in Angular 7|8|9 . Firebase provides various features for the user authentication system. To create firebaseauth service with Google you must know how to use this powerful real-time database.

You can easily implement Angular Firebase Google login auth service to let your users to authenticate with Google API with Angular app. I will be using Angular CLI AND AngularFire2 library from the node package manager (NPM).

[click here to read more](https://www.positronx.io/angular-firebase-google-login-auth-system-tutorial/)
Oficial Github CLI in beta
Tags: github, discuss, todayilearned
Published: 2020-02-07 09:41:53

I just stumbled upon [**Github CLI**](https://github.com/cli/cli) yesterday, it's still in early stages (**BETA**) but it's kinda cool already, and it's available for major OS.

> **Oficial Description:**
> gh is GitHub on the command line, and it's now available in beta. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already working with git and your code.

GitHub CLI is currently early in its development, and they're hoping to get feedback from people using it. So if you fancy it, give it a go!


Now, I'm kinda hesitant to use it, I already have a pretty good workflow using Github so I don't know if I would benefit from using it, **would you use it regularly?** and **what for?**
Be bold
Tags: personal, people, philosophy
Published: 2020-02-07 09:18:39

---
title: Be bold
published: true
description: Being bold is what sometimes holds us back
tags: personal, people, philosophy
cover_image: https://images.unsplash.com/photo-1579959368919-87012d6d2a80?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1950&q=80
---

Are you bold enough?

We can all be a little bolder sometimes.

Being bold is often what holds us back. As children we’re taught to “look before you leap”, which is great as a child, yet risk taking is an important part of learning.

I'm pretty pragmatic, however sometimes being sensible and realistic isn't bold enough, and find myself assessing risk when it probably isn't necessary.

“Be bold” is a term I picked up on as an editor on Wikipedia. I enjoyed learning about various subjects and began improving the entries as I learned more about the subject matters.

But it's more than just a style guide for Wikipedia, it's a style guide you can adopt for everyday life, a philosophy.

The Wikipedia entry for “[Be bold](https://en.wikipedia.org/wiki/Wikipedia:Be_bold)” starts off by explaining that you should “go for it”. If you want to change something, do it. Less talk, more do. If someone doesn’t like it, it can be easily undone.

Rather than embarking in an edit war, you’re encouraged to follow the “Bold, revert, discuss” cycle, which encourages disagreements to turn into productive discussions.

In software engineering, we can attribute this type of approach to Grace Hopper, who was the developer of the first compiler for a computer programming language, by asking for forgiveness rather than permission.

> "It's easier to ask forgiveness than it is to get permission" -- Grace Hopper, U.S. Navy's Chips Ahoy magazine (July 1986).

If you think it's a good idea, then do it. It is much easier to apologise later if it doesn't work out than it is to get permission before you do it.

In leadership, we should seek success through bold action and risk-taking, not security through the status quo.

> Life is like a wild tiger.
> You can either lie down
> and let it lay its paw upon your head
> Or sit on its back and ride it.
> Ride the wild tiger.

Are you bold enough to ride the wild tiger?
🎂 Celebrate the 5th anniversary of React Summit Amsterdam 
Tags: react, reactnative, javascript, reason
Published: 2020-02-07 09:18:31

### Take part in the biggest React event in the world

When we started organizing [React.js meetups in Amsterdam](https://www.meetup.com/React-Amsterdam/)  in 2015, we had no idea how big the technology would eventually become but we were sure of one thing – we were huge fans, and we wanted to **dedicate our time to helping React become widely adopted**. Five years later, we can finally say: Mission accomplished!

Over a couple of years, as [React Amsterdam conference](https://reactsummit.com) became one of our community events, we were surprised and delighted to see React pick up so much interest from independent open source devs as well as major international companies, and we were happy to lend a hand to speed up the process.

![The 1st React Amsterdam conference in 2016](https://thepracticaldev.s3.amazonaws.com/i/2l0zeixekig1hskkr5sv.jpg)

Together with React, both our team and the [GitNation Foundation](https://gitnation.org.com) have grown to create many more industry-leading conferences in major European cities, along with meetups catering to the local communities of software developers. 

However, React Amsterdam, which has in the meantime become the biggest React.js and React Native conference in the world, still remains our primary focus, and we're excited to **celebrate its 5th anniversary this year under the new name React Summit**. And you're invited to join in on all the fun! 🎉

{% youtube NQyL-Dm7Kig %}

The birthday party will be major – the event will attract **1500+ attendees in 2020**, and both before and after the conference we're going to organize parties where you'll get to network with hundreds of fellow developers and enjoy lots of JavaScript-powered art and audiovisual performances.

Previous React Amsterdam conferences have featured stellar speakers from Facebook, Amazon, GitHub, Microsoft, and other important players on the market, and these companies have been supporting us in pursuing our goal — to give Open Source a human face. And the great thing is that you can meet them in person at React Summit and pick their brains.

And of course, we'll be serving a birthday cake! 🎂

## Wondering how to RSVP to the event? 

## [Reserve a spot](https://reactsummit.com)

{% youtube K_JIIF5xYS4 %}
Setup New Angular 9 Project from Scratch using Latest Angular CLI
Tags: angular, angular98, scratchusinglatestangularcli, setupnewangular
Published: 2020-02-07 09:08:38

---
title: Setup New Angular 9 Project from Scratch using Latest Angular CLI
published: true
description: In this tutorial, we are going to learn how to easily set up a brand new Angular 9 project with SASS, Bootstrap 4, Font Awesome 5, and NgBootstrap from scratch.
tags:  Angular, Angular 9/8, Scratch using Latest Angular CLI, Setup New Angular
published: true
---

The post [Setup New Angular 9 Project from Scratch using Latest Angular CLI](https://www.positronx.io/setup-angular-6-project-using-bootstrap-4-sass-font-awesome-ng-bootstrap/) appeared first on [positronX.io](https://www.positronx.io).

 
In this tutorial, we are going to learn how to easily set up a brand new Angular 9 project with SASS, Bootstrap 4, Font Awesome 5, and NgBootstrap from scratch.

[click here to read more](https://www.positronx.io/setup-angular-6-project-using-bootstrap-4-sass-font-awesome-ng-bootstrap/)
Angular 9/8 Location Service Tutorial with Example.
Tags: angular, angular98, angularlocationservice
Published: 2020-02-07 09:07:27

---
title: Angular 9/8 Location Service Tutorial with Example.
published: true
description: Angular location service will be dealt with in this article, location service is a part of Angular 9/8.
tags:  Angular, Angular 9/8, Angular Location Service
---

The post [Angular 9/8 Location Service Tutorial with Example.](https://www.positronx.io/angular-location-service/) appeared first on [positronX.io](https://www.positronx.io).

 
Angular location service will be dealt with in this article, location service is a part of Angular 9/8. Thanks to this service, you can easily interact with the path of the current URL. When it comes to navigation needs, we mostly depend on the Angular router.

However, in some cases, you need to rely on the location service.Here you will affect the URL without having to involve the router. Also, at times, you can combine the router and the location service to perform a few operations.

[click here to read more](https://www.positronx.io/angular-location-service/)