teleren/devto huggingface dataset:
Why Coding should be compulsory in Primary Schools of developing countries? 
Tags: coding, codingeducation
Published: 2018-09-27 10:34:26

---
title: Why Coding should be compulsory in Primary Schools of developing countries? 
published: true
description: 
tags: coding, coding education
---
It is safe to say that the technological advancement all the across the world is driven by the development in information technology. Software developers and programmers are constantly trying to come up with new software applications and algorithms that can generate value for the stakeholders and can revolutionize the user experience. The need for better software applications is constantly increasing, owing to the digitisation of almost all business activities at a global scale. Moreover, the massive popularity of smartphones and smartphone applications also demand the development of new software for the users. 
However, the rising popularity and demand for the knowledge of coding can only be met if such training is provided at an early age and across the entire world. Coding should be made compulsory and should be made a part of the curricular for all schools. It is necessary for the authorities to understand the potential importance of coding and how it can have a good impact on job market. The growing demand for coders indicates that anyone with the knowledge of coding will have a good opportunity to land on good jobs. 
Even though coding has become an integral part of the curriculum in many countries, but in order to enrich the global talent pool, more emerging economies should take the initiative of producing more programmers and software developers. This is only possible if the students from a very early age are given the opportunity to learn coding where they can explore new career possibilities. Moreover, the knowledge of coding will also allow them to develop their own applications, thereby working as freelance programmers as well. At present, coding is quite popular only among fragmented groups and communities. Many students make extra time for coding by buying more time from [cheap writing service by PenMyPaper](https://penmypaper.com/). This allows them to pursue their hobby and passion.
In the near future, it can be hoped that more developing nations will introduce coding in the school curriculum, in order to make the students capable of becoming programmers and software developers. Not only will it help to improve the national economy but at the same time it will also be beneficial for the students as well. Thus, it can be highlighted that introducing coding at an early age of the students is highly essential in the long run.
Some tips to improve your life
Tags: productivity, habit, routine, discuss
Published: 2018-09-27 10:00:43

---
title: Some tips to improve your life
published: true
description: 
tags: productivity, habit, routine, discuss
---


For some time now I've been looking for and researching ways to improve my life. On this journey I applied some ideas and would like to share them with you.

* Always wake up at the same time
* Wake up 1 hour before you start work
* Get enough sleep and wake up naturally
* Drink water when you wake up
* Stretch when you wake up
* Have breakfast
* Do the most difficult task first.
* Hydrate yourself during the day.
* Learn something new often
* Read books or articles
* Eat every 3 hours.
* Forget your social network feed
* Have goals and work on them
* Control your money
* Do some physical activity
* Write about something
* Get outside of the house
* Watch the sunset or sunrise
* Take pictures
* Be a minimalist
* Plan a trip
* Stay in the sun for at least 15 minutes
* Keep your focus on goals
* Eat healthy food
* Learn a new language
* Take your dreams off paper
* Identify and eliminate a bad habit
* Forget the computer for a while
* Always sleep the same time

Do you do something else to improve your life? Leave in comments :D
How to re-initialize jquery libraries on component load angular?
Tags: angular, jquery, help
Published: 2018-09-27 09:51:54

---
title: How to re-initialize jquery libraries on component load angular?
published: true
description: re-initialize jquery libraries on component load angular
tags: Angular, jquery, help
---

How to re-initialize jquery libraries on component load in my angular app?


[Angular](https://therichpost.com/category/angular6)

        import $ from "jquery";

        ngAfterViewInit() {
          //your code
        }


Thank you
Therichpost
7 Steps of Web Development Process
Published: 2018-09-27 09:31:50

---
title: 7 Steps of Web Development Process
published: true
description: It explains the how web development process work with simple steps and example so unfamiliar persona can also understand it easily.

tags: 
---

Before the beautiful web pages shine on the internet, before the eyes of the owner gets watery with ecstasy, before the web app attracts huge traffic, before it becomes a badass revenue generating machine and before it creates an apogee of user experience, the web application goes through various stages that people are generally unaware about.

Read more :[Web Development Process](https://techuz.com/blog/web-development-process-a-guide-to-complete-web-development-life-cycle/)
I just wanna be a freelancer. Want to take up projects to work on and get going through in Development. Any pointers from here..
Tags: discuss
Published: 2018-09-27 09:23:04

---
title: I just wanna be a freelancer. Want to take up projects to work on and get going through in Development. Any pointers from here..
published: true
tags: discuss
---

I longed to be a freelancer and I need to improve my skills as well as to earn quite few bucks. Any pointers on http://dev.to to start working on! Or anyways and suggestions to get moving on as a part time developer.
How would you manage a system which the original author have left your team?
Tags: discuss
Published: 2018-09-27 07:47:14

---
title: How would you manage a system which the original author have left your team?
published: true
description: #discuss
tags: #discuss
---

You may be assigned to manage a system. Unfortunately, the original author of your system have left your team. 

How could you manage your system such enhancement, bug fixing, etc?
Creating Trusted SSL Certificates for localhost on MacOS
Tags: localhost, ssl, openssl
Published: 2018-10-31 23:03:43

---
title: Creating Trusted SSL Certificates for localhost on MacOS
published: true
tags: localhost,ssl,openssl
canonical_url: http://george.mand.is/2018/09/localhost-trusted-ssl-certificates-mac/
---

Recently I was working with the [Stripe Elements](https://stripe.com/docs/stripe-js/elements) toolkit for a piece of custom billing software [my web development company](https://snaptortoise) uses. The library is a collection of well-designed UI components for interfacing with Stripe’s services. Specifically I was working with their [Payment Request Button](https://stripe.com/docs/stripe-js/elements/payment-request-button) which is designed to work with [the W3C Payment Request API standard](https://www.w3.org/TR/payment-request/) currently being discussed.

To implement the Payment Request Button you need to be using a secure (https) connection. This isn’t difficult to setup using [OpenSSL](https://www.openssl.org/), but the Payment Request API requires a little more than a basic SSL certificate in place — it has to be a trusted as well. Stripe’s suggestion to use a service like [ngrok](https://ngrok.com/) is a good one, but not necessarily always possible or desirable. Such was the case for my project.

Creating a trusted SSL certificate for your localhost server on macOS turned out to require a lot of steps and a fair amount of research. When I finally generated the certificates and had everything running smoothly I decided to package it up in a single command you could run in the terminal and made a GitHub project out of it:

[github.com/snaptortoise/ssloca](https://github.com/snaptortoise/ssloca)

Now, instead of copying-and-pasting cryptic OpenSSL commands into the terminal like I’m sure so many developers before me have done, you can generate and trust these certificates in two lines:

`git clone git@github.com:snaptortoise/ssloca.git && cd ssloca``./create-local-certificates.sh`

You should end up with a folder called `certs` containing all the locally generate certificates including the root certificate and the certificate for your server. More information on what and how things are generated can be [found in the code](https://github.com/snaptortoise/ssloca/blob/master/create-local-certificates.sh).

I called the project [SSLoca](https://github.com/snaptortoise/ssloca) — a portmanteau of SSL, local and loca, in Spanish. Because getting **SSL** to work **locally** made me feel a little **crazy**.

There’s plenty of room for improvement in my script, and I know there are lots of developers out there who have jumped through the same hoops to solve this problem. Please give it a look, let me know if you found it useful and by all means submit a pull request if you have thoughts on how to improve it.
Implementing the Queue Data Structure in Javascript
Tags: javascript, computerscience, datastructures, video
Published: 2018-09-27 04:52:23

---
title: Implementing the Queue Data Structure in Javascript
published: true
description: In this video, we are implementing the Queue Data Structure in Javascript.
tags: javascript,computerscience,datastructures,video
cover_photo: https://thepracticaldev.s3.amazonaws.com/i/lmpdd6sk2rgj2zq5w5yo.jpg
---

In this video, we are implementing the Queue Data Structure in Javascript. While a JavaScript Array can be used as a queue, this video is meant for educational purposes as we will go into more complex data structures in the future.

A queue is a simple linear data structure which is a container of objects that are inserted and removed according to the first in and first out principle. Elements can be enqueued from the back and dequeued only from the front.

[Link to YouTube Video](https://youtu.be/VnjBI3Zfxyc)
[Link to the CodeSandbox](https://codesandbox.io/s/5zk0zjqmx?module=%2Fsrc%2Findex.js)

![Queue Data Structure](https://thepracticaldev.s3.amazonaws.com/i/lkgf80jmtry868zwknri.png)

---

#### If this video was helpful, ❤️ it and [subscribe to my YouTube channel](https://www.youtube.com/channel/UClCm-WAOgN6XLwCpefSVezg?sub_confirmation=1).


{% link https://dev.to/theoutlander/how-to-improve-your-development-experience-ldl %}
How is the https://dev.to platform developed? Is it just a Wordpress app? Or a full fledged Application?
Tags: discuss
Published: 2018-09-27 04:39:42

---
title: How is the https://dev.to platform developed? Is it just a Wordpress app? Or a full fledged Application?

published: true
tags: discuss
---

I always dreamed to own a startup wherein I have a product that's worth a many and would love to engage people to provide the best outcomes possible. Besides this, I used to learn how a platform is built from scratch and the efforts put in place to bring such a huge webapp besides resolving issues that are hosted in the internet. So, on seeing an app like dev.to, the similar kinda thought arised. Just to diacuss the way the platform has build up and the challenges that has been faced to put forth would give a bright idea for young minds to articulate things. Thanks!!
A node module that returns an array of Bad Words and Top Swear Words Banned by Google.
Tags: showdev, javascript, node, npm
Published: 2018-09-27 04:22:35

---
title: A node module that returns an array of Bad Words and Top Swear Words Banned by Google.
published: true
description: Full List of Bad Words and Top Swear Words Banned by Google. As they closed the api.
tags: #showdev, #javascript, #node, #npm
---

Google has inadvertently created an API that third-party developers can use to check whether a word entered by a user is likely to be offensive or not. This is now closed and was part of the  Googles What Do You Love? site. So I scrapped this before it was closed and its now in a node module for people to use in projects. Hope you enjoy!!


## Installation

```sh
$ npm install --save google-profanity-words
```

## Usage

```js
const googleProfanityWords = require('google-profanity-words');

googleProfanityWords.list(); //  [ '5h1t','5hit','a55','anal','anus',etc.....]  Returns a array of Profanity. 350

```
You can follow me on here and on the following for more code and projects.


- **[Twitter](https://twitter.com/RobertJGabriel)** or
- **[Github](https://github.com/RobertJGabriel).**
Do you have any laptop desk stand suggestions?
Tags: help, suggestion, workplace, health
Published: 2018-09-27 03:24:03

---
title: Do you have any laptop desk stand suggestions?
published: true
description: 
tags: help, suggestion, workplace, health
cover_image: https://thepracticaldev.s3.amazonaws.com/i/1h4vb2ff6jtwstw0mgvz.jpeg
---

<center>Cover image by [Ryan Riggins](https://unsplash.com/@ryan_riggins)</center>

---

I've been dealing with some neck pains lately due to the height of my chair in relation to my desk. I'm aware that the ideal height should be to have the top edge of the display aligned with my forehead, but I wonder if that would require me to also get an external keyboard and mouse for my laptop 🤔

<center>I would love to learn from your experience, Mr/Mrs Reader.</center>
Serialization in Node REST APIs
Tags: help, node
Published: 2018-09-27 03:00:17

---
title: Serialization in Node REST APIs
published: true
tags: help, node
---

One of the things I learned a while back was that database columns should not be mapped directly to the JSON responses an API serves (columns can change, backward compatibility etc).
There should be some layer of separation between the logic of forming the response and fetching/querying it.
In Rails we have Active Model Serializers and the new fast_jsonapi gem from Netflix. Is there a widely-used analogous package for Node or some best practices that large-scale organizations using Node (like Ebay, Paypal, Netflix etc) employ?
Assuming we're talking about an API built up on Express.
Beating the Clock
Tags: agile, deadlines, discuss, freelancing
Published: 2018-09-27 01:25:46

---
title: Beating the Clock
published: true
description: How Close have you ever cut it while still meeting a deadline?
tags: #agile #deadlines #discuss #freelancing
---

Anybody in the design, engineering, IT, PM, or development world is experienced with deadlines. If you work on an agile team, you know the feeling of wondering how much less stressed you would feel with two days left in a sprint if you hadn't "wasted so much time" refilling your coffee as often as you did. Those of your in the game industry are creepily familiar with the space under your desk, strictly reserved for crying and sleeping during the crunch before release.

As the description says, today our team shipped a project with a measly 23 minutes remaining in the "by end-of-day, 9/26/18" deadline. Basically, our client had originally hacked together a web-based ordering system for their delivery service on WordPress and had two options, find a master WordPress developer who had experience in optimizing the bloated mess their system had become, or have their entire system rebuilt by hand on another platform. Guess which one they went with? I'll give you a hint, I've never worked with WordPress in my life 😋.

The size of the team to do the job: 2; one designer: my wife, and one developer: me. The time to do the job? 6 weeks

Granted, my wife and I are both veterans of our respective fields and have been freelancing together solving these kinds of problems for about two years now, but even so the task was daunting. But after 5 weeks, 6 days, 23 hours, and 37 minutes, their system was designed, fully rebuilt in Flask ("microframework" my ass!), containerized with Docker, tested and deployed to a Hosting Winds SSD VPS. What used to be a loaded down, single thread, copy pasta mess that prominently displays the "this plugin should do the trick right?" mentality of most of the "WordPress Developers" in my area (Portland, ME), is now set up to concurrently receive and handle multiple order requests across 4 cores and their threads. 

My question to you all is: what is the closest you have ever cut it while still meeting a deadline, what skills did you use to manage your time, energy and stress in the process, and how did the project turn out?
Text editor fetishists, unite!
Tags: productivity, discuss
Published: 2018-09-27 00:21:06

---
title: Text editor fetishists, unite!
published: true
description: Why use the one true editor when you can have all of them?
tags: productivity,discuss
---

Do you remember my [article](https://dev.to/tux0r/acmeacme2k-a-lesson-in-sane-ide-defaults-2cb6) about the `acme` IDE?

Well, I admit that I implicitly lied to you when I made the impression that `acme` would be the last editor you'll ever need. In fact, I am currently using quite a bunch of editors in parallel.

* `acme2k` (as described in the article): General purpose IDE/editor at work and when I'm on Linux.
* `sam`: Taking multiple notes at work and when I'm on Linux.
* `notepad`: Taking single notes at work.
* [Notepad3](https://www.rizonesoft.com/downloads/notepad3/): Replaced Notepad for me at home (Windows 10) - it supports Perl-compatible regular expressions and I use them a lot.
* [GNU Emacs](https://www.gnu.org/software/emacs/): General purpose IDE/editor at home (Windows 10).
* `ed`: Linewise editor for quick configuration changes on my servers.
* `nvi`: A non-intrusive full-screen editor for more complex changes on my servers. (No syntax highlighting, of course.)

Not counting specialized IDEs (because certain things, like Android development and doing stuff with Delphi, require one), that makes 7 - and some of them are changed (ir)regularly.

My first thought when looking at this list was: I need help. But I probably don't - I use it as an argument: Never settle! Embrace what the world of text editors can offer to you. You will never find the Swiss Army knife. Yes, I know, Emacs *can do anything* (and includes the kitchen sink). Yes, I know, "modern" JavaScript-based multi-gigabyte "text editors" (you can't tell the difference to an IDE anymore, can you?) can do *anything* as well. Not every problem is a nail though just because you have a hammer...

What is *your* pet peeve when it comes to software?

(My other one are file managers, but that's probably worth a second article.)
Reads of the week
Tags: productivity, programming, work
Published: 2018-09-27 00:03:12

---
title: Reads of the week
published: true
description: 
tags: Productivity, Programming, Work
---

I consume some articles on Medium every week, some of them made me reevaluate my learning strategies, or improve my coding habit, or just let me know some useful career tip. Sometimes I feel the content could reach more people. So I'm bringing them to my audience here, first as a general test. Feel free to contact me or discuss one or two subjects of the reading list.

### #Learning #Writing #Productivity

- [Learning From the Feynman Technique](https://medium.com/taking-note/learning-from-the-feynman-technique-5373014ad230)

- [Why I Still Use Vim](https://medium.com/commitlog/why-i-still-use-vim-67afd76b4db6)

- [The power of culture: how to hire and attract amazing people](https://medium.com/swlh/the-power-of-culture-how-to-hire-and-attract-amazing-people-fd9e37b6d520)

- [George Orwell’s Six Rules For Great Writing](https://medium.com/personal-growth/george-orwells-six-rules-for-great-writing-4db6d31ff136)

### #Programming
- [Putting comments in code: the good, the bad, and the ugly.](https://medium.freecodecamp.org/code-comments-the-good-the-bad-and-the-ugly-be9cc65fbf83)

- [Tests Should Not Be Optional](https://medium.com/@plainprogrammer/tests-should-not-be-optional-579151593ebc)

### #Work #Careers
- [Genuinely useful career resources for self-taught developers](https://medium.freecodecamp.org/genuinely-useful-career-resources-for-self-taught-developers-8e679cec25ab)

- [Ikigai: The Japanese Secret to a Long and Happy Life Might Just Help You Live a More Fulfilling Life](https://medium.com/thrive-global/ikigai-the-japanese-secret-to-a-long-and-happy-life-might-just-help-you-live-a-more-fulfilling-9871d01992b7)

### #AI #Blockchain

- [The future of AI is on blockchain](https://blog.goodaudience.com/the-future-of-ai-is-on-blockchain-1b4049ae2963)

- [Is The Singularity Coming?](https://arcdigital.media/is-the-singularity-coming-ef8580d4ce97)

### #Basic Income

- [The Real Story of Automation Beginning with One Simple Chart](https://medium.com/basic-income/the-real-story-of-automation-beginning-with-one-simple-chart-8b95f9bad71b)

### #Life Lessons #Self Improvement

- [The 3 Keys to Becoming Irresistible](https://medium.com/personal-growth/the-3-keys-to-becoming-irresistible-d2f689ea4bf1)

**Did you find any article useful? Which one? Why?**

That's it!
Use Vim as a Python IDE
Tags: python, vim, spacevim
Published: 2019-06-23 14:35:02

---
title: Use Vim as a Python IDE
published: true
tags: ["python", "vim", "spacevim"]
canonical_url: https://spacevim.org/use-vim-as-a-python-ide/
---

# Use Vim as a Python IDE

This is a general guide for using SpaceVim as a python IDE, including layer configuration and usage. Each of the following sections will be covered:

<!-- vim-markdown-toc GFM -->
- Enable language layer
- Code completion
- Syntax lint
- Import packages
- Jump to test file
- running code
- Code formatting
- REPL
- Debug
<!-- vim-markdown-toc -->
### Enable language layer

To add python language support in SpaceVim, you need to enable `lang#python` layer. Just press `SPC f v d` to openSpaceVim configuration file, and add following configuration:

```
[[layers]]
  name = "lang#python"

```

for more info, you can read the [lang#python](https://spacevim.org/layers/lang/python/) layer documentation.

### Code completion

Base on which completion engine is used, `lang#python` layer load the jedi plugin automatically.The completion menu will be opened as you type.

![complete python code](https://user-images.githubusercontent.com/13142418/46339650-f5a49280-c665-11e8-86d4-20944ec23098.png)

### Syntax lint

1. [neomake](https://github.com/neomake/neomake) - Asynchronous linting and make framework for Neovim/Vim

I am maintainer of javac maker in neomake, the javac maker support maven project, gradle project or eclipse project.also you can set the classpath.

### Import packages

When edit python file, you can import the package automatically, remove unused package and format package list.

```
pip install --user isort

```

### Jump to test file

SpaceVim use vim-project to manager the files in a project, you can add a `.projections.json` to the root of your project with following content:

```
{
  "src/*.py": {"alternate": "test/{dirname}/{basename}Test.py"},
  "test/**/Test*.py": {"alternate": "src/{}.py"}
}

```

with this configuration, you can jump between the source code and test file via command `:A`

### running code

To run current script, you can press `SPC l r`, and a split windowswill be openen, the output of the script will be shown in this windows.It is running asynchronously, and will not block your vim.

![code runner](https://user-images.githubusercontent.com/13142418/46293837-1c5fbc00-c5c7-11e8-9f3c-c11504e2e04a.png)

### Code formatting

1. [neoformat](https://github.com/sbdchd/neoformat) - A (Neo)vim plugin for formatting code.

For formatting java code, you also nEed have [uncrustify](http://astyle.sourceforge.net/) or [astyle](http://astyle.sourceforge.net/) in your PATH.BTW, the google’s [java formatter](https://github.com/google/google-java-format) also works well with neoformat.

### REPL

you need to install jdk9 which provide a build-in tools `jshell`, and SpaceVim use the `jshell` as default inferior REPL process:

![REPl-JAVA](https://user-images.githubusercontent.com/13142418/34159605-758461ba-e48f-11e7-873c-fc358ce59a42.gif)

### Debug