teleren/devto huggingface dataset:
SmartRCCar
Tags: computervision, imageprocessing, raspberrypi, opencv
Published: 2019-08-19 07:29:22

###Self Driving car with Computer Vision using OpenCV library
https://github.com/Jamshid-M/SmartRCCar

![alt text](https://camo.githubusercontent.com/6ab68909ef04cef7a1a859e42f5d8fb6a115ec9d/68747470733a2f2f64726976652e676f6f676c652e636f6d2f75633f6578706f72743d766965772669643d315a4255335a796b59445a67506438382d79454a7a396f6a634e3133394c51582d)

### **Step 1**
Taking frame as input from RaspiCam

![alt text](https://github.com/Jamshid-M/SmartRCCar/raw/master/examples/original.png)

### **Step 2**
Denoising frame with ```GaussianBlur ``` OpenCV fucntion

![alt text](https://github.com/Jamshid-M/SmartRCCar/raw/master/examples/blurred.png)

### **Step 3**
Finding edges with ``` Canny ``` edge detection, OpenCV function

![alt text](https://github.com/Jamshid-M/SmartRCCar/raw/master/examples/Canny.png)

### **Step 4**
Finding yellow colors in the frame with ``` inRange ``` OpenCV function

![image](https://github.com/Jamshid-M/SmartRCCar/raw/master/examples/inRange.png)

### **Step 5**
After applying step 3 and step 4 we use ``` bitwise_and ``` for two frames, this function returns intersection points of two frames. <br/>
Also applying dilate function will help you with finding lines by increasing pixels near our line pixels.

![alt text](https://github.com/Jamshid-M/SmartRCCar/raw/master/examples/Canny+inRange.png)

### **Step 6**
Finally we have to mask our frame for avoiding unnecessary lines and pixels in our frame 

![alt text](https://github.com/Jamshid-M/SmartRCCar/raw/master/examples/mask.png)

After this step we just apply ``` HoughLines ``` function and find right and left lines appropriately.<br/>
With the help of right and left lines we will predict turn in predictTurn function

In this project I've made also traffic light recognition with color filtering and traffic sign recognition with Cascade classifier (xml)
Boost Your Magento 2 Store with Recent Sales Notification Extension
Published: 2019-08-19 07:29:10

The [Magento 2 Recent Sales Notification](https://www.mageants.com/recent-sales-notification-for-magento-2.html) extension is the best choice for promoting the trending and best selling items for your customers visiting the store. The recent order notification pop up shows various product details like product link, time, purchase location, product image and product name.
The Magento recent sales notification extension helps bait visitor to the trending products of the store by allowing the “someone recently purchased” notification to popup in real time.

**Key Features**

The notification popup can be displayed in mobile or desktop
The notification text color and the icon color from the backend can be changed 
The customized notification layout from the store backend can be changed
The  popup position can be choose by the admin
Visitors can close popup by allowing close button

**Overview**

Do you know that sending emails to people and bragging about your product is not an effective marketing way? Instead let your performances speak. The Magento recent sales notification displays the new orders by attracting the customers to buy your products of their choice.
Easy to Use Shipping Table Rates
Tags: webdev, magento, php
Published: 2019-08-19 07:23:17

Applying [Magento 2 Shipping Table Rates](https://www.mageants.com/shipping-table-rates-for-magento-2.html) for calculating the shipping fees on combination of various conditions like weight and destination, items and destination, price and destination. All of them are listed in the table rate file which one can import and export in the Magento 2 settings. Calculate shipping cost on product page whenever the customer has any query regarding the product cost and it appears in the estimate section.

With the help of Magento 2 Shipping Table Rates one can create multiple flexible shipping with the individual rates. 

**Key Features**

Shows the estimated time for delivery for every shipping method
Can generate many shipping methods
Rate conditions are flexible
Can import the table rates or can even edit the same
Images and comments are displayed on the checkout and product pages

Overview 

For faster delivery and table rate shipping magento 2, one must offer different shipping options to its customers. More than one shipping option allows the customer to choose its own shipping method which leads to some good shopping experience. The Magento 2 Shipping Table Rates extension calculates the shipping price accurately depending on the weight of the product, shipping destination, quantity and price before defining the shipping rates via CSV file.
add android studio project to Github
Tags: android
Published: 2019-08-19 07:08:55

Hi🙋‍♂️
1:sign ub to Github www.github.com
2:download git
3: open project in android studio 
and go to File ...Settings ...Version Control ... Git.
4:click to test button
5:go to File...Settings...vertion contorol...Github and set your email and password github acount and click ok;
6:go to VCS ... Import 
to Version Control ... Share Project on GitHub. and set repository name ; click SHARE button.
7:click OK

8: end🙋‍♂️

tanks😍
asteroid game extension for vscode
Tags: game, vscode, extension, javascript
Published: 2019-08-19 07:00:46

---
title: asteroid game extension for vscode
published: true   
description: play asteroid game in your vscode enviroment
tags: game, vscode, extension, javascript 
cover_image: https://thepracticaldev.s3.amazonaws.com/i/kgvrrqzr4hkzgs1mfln0.png
---


Hi   
i wrote a asteroid game extension, that runs into your `vscode` .  
enjoy it and send me your feed back.

  
it's **two** mode of gaming,   
## 1) when you destruct your code 😰      
![code](https://github.com/Arshiamidos/Asteroids_vscode_extension/raw/master/1.gif)

## 2) destroy a website 😅  .    
![web](https://github.com/Arshiamidos/Asteroids_vscode_extension/raw/master/2.gif)


[link](https://marketplace.visualstudio.com/items?itemName=arashmidos.asteriods) to install   
[link](https://github.com/Arshiamidos/Asteroids_vscode_extension) to github
Improve Your Sales with Frequently Bought Together

Tags: githunt, php, webdev
Published: 2019-08-19 06:52:38

It facilitates the store owners to add multiple products into the cart when checking a single product or item. It tracks to add multiple products into the cart.


Key Features:
	
1.Here, it can be displayed frequently bought products on the product 	details page. It may add unlimited products with the main product on 	the product detail page.
 	
2.The admin can customize the display of frequently bought items 	together in a list. Then it manages and decides the position and the 	layout of the suggestion block. 	
 	
3.With the help of this extension, customers can easily add or edit 	the frequently bought products.
 	
4.This particular type of extension supports all products like simple 	downloadable, configurable, bundle product, etc. 	


This extension of [Magento 2 as Frequently Bought Together](https://www.mageants.com/frequently-bought-together-for-magento-2.html) is one of the best traffic and sales drive extension. It suggests the related products based on the customer’s order status as well as purchase history. Here, the admin may select the position of the product within the page. It helps in improving the user’s experience to increase the conversation rate.
Change your git comment character
Tags: git, gitgud
Published: 2019-09-02 19:35:26

---
title: Change your git comment character
published: true
tags: git, gitgud
canonical_url: https://thomashartmann.dev/blog/change-your-git-comment-character
cover_image: https://thomashartmann.dev/images/change-git-comment-char.svg
---

<div><p>You prepare to commit your files, having made sure that all the right changes are in, that they belong to one logical change, and that you have the id of the task that they belong to. Your editor opens up and you see those familiar commit message instructions, but wait! You suddenly remember that you should start your commit with the id of the task prepended with a <code>#</code> character, but that would lead git to think that that line is a comment.</p>
<p>How do we solve this?</p>
<p>Easy! We simply tell git not to use the <code>#</code> character for comments, but pick a different character instead.</p>
<h2 id="in-short">In short</h2>
<p>There’s two ways to do it, both producing the same result. You can either run a command from the command line or edit your git config directly. In this case, imagine we want to use a semicolon (<code>;</code>).</p>
<p>Command line:</p>
```sh
git config --local core.commentChar ';'
```

<p>Directly modifying your git config file:</p>
```conf
[core]
  commentChar = ";"
```

<h2 id="motivation">Motivation</h2>
<p>So why might you want to do this? As mentioned in the introduction, maybe your team has a standard format for commit messages, where each commit should lead with the id of the task that the commit relates to.</p>
<p>We use GitLab at work, where if you put a number after a <code>#</code> in your commit message, it will create a link to the issue with that id, which also adds an entry to the history of said issue. In addition to this, if all commits are prefaced with the task id, it becomes very easy to find out what task a commit relates to when looking at the history.</p>
<h2 id="what-might-go-wrong">What might go wrong?</h2>
<p>This is such a simple modification that there’s not much you need to be aware of, but if you try and use a comment character consisting of more than one character, git will fail when you try and invoke a command:</p>
```sh
error: core.commentChar should only be one character
fatal: bad config variable 'core.commentchar' in file '.git/config' at line 6
```

<h2 id="finishing-thoughts">Finishing thoughts</h2>
<p>It’s a simple thing, but it’s one of those things that improves your life just that little bit. You can even combine it with the custom config we mentioned last time to have this apply to all repos in your work directory, new <em>and</em> old.</p>
<p>Now as a final thought, what should you pick as a comment character? It’s really up to what you need for your specific use case, but I find that <code>;</code> is very rarely something that you’ll want to start your sentences with, so that’s my go-to.</p></div></section>
AngularJS Factory Vs Service Vs Provider
Published: 2019-08-19 05:42:50

AngularJS is a JavaScript based framework used to design single-page component-based web apps. For beginners, such as myself, it can be a little confusing as to what logic and data should be put in the controller, or what service should be used instead. Typically controllers should not be full of persistent because they are instantiated only when needed and then discarded. That just leaves the many service methods you have to choose from. 

###Factories###
Factories are the most frequently used method for registering a service. The reason for that being that they are easier to write and use, and your business logic and other data is never exposed to the rest of the app. The factory method takes two parameters: the string you want to name the factory, and the factory function which will declare and return the object. Any properties attached to the new object will then be available to other parts of the app through a controller. Because the service is wrapped in an instance of an object, the internal logic and data remains unexposed.

###Service###
Very similar to the factory is the service. The main difference between the two is that the service method uses a constructor function to register the service. Services are instantiated in AngularJS with the 'new' keyword, which means properties are added using the 'this' keyword, and the service constructor returns 'this'. When passed through to the controller, the properties on 'this' will be available in that part of your app, but, because of this all of the internal logic of a given service is exposed to the rest of the app.

###Providers###
Providers also do basically the same thing, but with a little more work involved and a few bonus features. Providers are the only service that can be passed directly into the .config() function. This allows alterations to be made to portions of the service before it is made available to the rest of the app. Also the only properties on the provider that will be available to the controller will be the ones assigned to this.$get. This allows the programmer to keep internal logic hidden or exposed as they see fit. 

This is just a brief rundown of a few service methods available to you in AgularJS, and there's obviously a lot more detail involved, but this should help clear up some of the uses. You will probably want to use a factory most of the time, use a service for simpler logic, and use a provider when you need more customization options.
Test assignments💥
Tags: testtask, testassignments, test, tests
Published: 2019-08-19 05:37:54

---
title: Test assignments💥
published: true
description: Test assignments for developers.
tags: test-task, test-assignments, test, tests
cover_image: https://pocket-image-cache.com//filters:no_upscale()/http%3A%2F%2Flamcdn.net%2Flookatme.ru%2Fpost_image-image%2F-BC8D7qv1ByWQO-g8sVgBQ-article.jpg
---

Recently, I had a problem with the missing unified test base for developers. Therefore, I decided to collect all the test tasks for any languages/frameworks/platforms.

-------

So you're welcome to contribute! If you have test assignments, you can share it in comments or directly in GitHub Pull Request! **I will be glad for any kind of help.😉 😊**


👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇👇
# https://github.com/Devit951/Test-Assignments
10 Best Juicers in India – Reviews & Buyer’s Guide (2019)
Tags: 10bestjuicersinindia
Published: 2019-08-19 05:35:22

Juicing has gained massive popularity for its ability to energize, rejuvenate, and detox both inside and out. Especially, juicing vegetable, green leaves,  is an excellent way to attain more minerals and nutrients than cooking them.

With modern juicers, you can blend fruits, vegetables, and green leaves without making your hands and kitchen platform messy.

Buying in a good juicer is a good one. But if you don’t consider your wants and other factors while buying, then your money can go waste.

While choosing a juicer brand, it’s essential to consider a few factors like capacity, juicer type, juicing speed, ease of use, power, attachments – pusher, hopper, jars, auger. Our “Buying Guide” mentioned in our article will help you understand these factors and analyze the options as per your necessities.

Apart from that, we have also chosen out some of the best juicers in India after tremendous research, online reviews, and testing. If you haven’t got much time, then you can happily choose anyone among them.

We highly recommend you to read the best Juicer in India Buying Guide at the end of the blog to get in-depth knowledge about all the latest gas stoves technologies.

10 Best Juicer in India
One of the most suitable places for buying the best Juicer in India is e-Commerce websites like Amazon. You get an effective variety of best Juicer in India with exquisite functions and affordable prices.

Before buying a juicer read some comprehensive reviews about juicers <a href="https://kitchenfactory.in/best-juicer-in-india/">10 Best Juicers in India – Reviews & Buyer’s Guide (2019)</a>
Why is react good?
Tags: react
Published: 2019-08-19 05:15:04

---
title: Why is react good?
published: true
description: ReactJS basically is an open-source JavaScript library which is used for building user interfaces specifically for single page applications.
tags: #react
---

description: ReactJS basically is an open-source JavaScript library which is used for building user interfaces specifically for single page applications. But must I use the react in my project?
3 Productivity Tips
Tags: productivity, motivation
Published: 2019-08-19 02:10:09

---
title: 3 Productivity Tips
published: true
description: 
tags: productivity, motivation
---

Happy Sunday! I'm taking a break from the algorithms this week to write about something near and dear to my heart: productivity. As someone who's currently looking for a job, my days are wide open and thus I have to hold myself accountable for getting work done. It can feel a little overwhelming to be faced with a new day and no plan of how to fill it. So with that, my first tip:

# schedule everything

Like a lot of people these days, I have a virtual calendar. I use it to keep track of the many events, meetups, dinners, hikes, etc. that happen in my life. A few weeks into my job search I realized that a whole day could go by and I would wonder, 'what did I even do today?' Or I would wake up with no real plan of what I wanted to accomplish.

I will say, I'm a born planner; I briefly considered becoming the next Marie Kondo. So I decided to start planning out my days ahead of time, in (possibly excessive) detail. I created a separate calendar and add blocks of time, usually 1 to 2 hours, to work on various tasks. Some examples from my own calendar include: LeetCode, clean kitchen, admin, slack bot.

I'm always moving tasks around, adjusting times, and adding new ones. Now I can have a clear idea of what my day looks like, and no longer look back wondering what I even accomplished. Productivity win!

# take breaks

As I schedule everything now, that means I also schedule time to relax. We all know it's important to take breaks, but sometimes it can be hard to remember, especially when you're deep in the coding zone. Now, if it's on the calendar, I can look forward to it, which makes me more productive!

I also like to schedule 'admin' time, which is a fancy way of saying 'check every social media site 5 times'. It's usually about an hour of time for me to check my finances, socials, and watch a [Gourmet Makes](https://www.youtube.com/playlist?list=PLKtIunYVkv_RwB_yx1SZrZC-ddhxyXanh) video (you're welcome).

# if it takes less than 5 minutes, just do it now

A final tip that I find very effective is to just do the small things now. There are so many little things that might not be super urgent and thus are easy to keep putting off. Some examples from my own life include taking out the trash, putting away my laundry, or cleaning off my desk. All simple things that once completed, make me feel great!

Well there we have it, my top three tips for keeping up your productivity. Thanks for reading, see you next week!
I tried to use Test-Driven Development
Tags: test, java, tdd
Published: 2019-08-19 03:36:46

---
title: I tried to use Test-Driven Development
published: true
description: We will look into how to use test-driven development in order to write code. I go through the process I use in order to create self-documenting code. The code should be able to validate itself and ensure that the thing you want it to handle it should handle.
tags: test, java, tdd
cover_image: https://thepracticaldev.s3.amazonaws.com/i/nc9t4nq8d94n2cqz78qj.jpg
---

{% youtube 9R94sKLBTGo %}

We will look into how to use test-driven development in order to write code. I go through the process I use in order to create self-documenting code. The code should be able to validate itself and ensure that the thing you want it to handle it should handle.
I work 25+y with Software Development and being a Maker, Ask Me Anything!
Tags: ama
Published: 2019-08-19 02:45:47

---
title: I work 25+y with Software Development and being a Maker, Ask Me Anything!
published: true
tags: ama
---
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/kwu75o75lj517mzmv89x.jpg)

I worked in different Roles since I started to work professionally with Software Development (without any degree) over 25 years ago. From "Web-Master" to CTO/CEO, as an owner, employee, and freelancer, from Switzerland, Brazil, Serbia... 
Well, AMA, if you believe me, that today I don't work with Cobol and Pascal ;-)

Cheers
Stefan
[Full-Stack Dev & Maker](https://www.altafino.com)
UPDATE: 6 Job Boards running on the now multi-tenant "boardengine"
Tags: career, go, python, rust
Published: 2019-08-19 02:39:42

---
title: UPDATE: 6 Job Boards running on the now multi-tenant "boardengine"
published: true
description: 6 Job Boards with multi-tenant boardengine.io
tags: career,go, python,rust
cover_image: https://thepracticaldev.s3.amazonaws.com/i/nbwls1enl8y881729y1d.png
---

*Updated, see below*


February 2019 I launched fullstackjob.com as a single-tenant [Job Board for Full-Stack Developers](https://fullstackjob.com). From the beginning, the plan was to build it as the basis for an "Engine", which can handle multiple boards for a different kind of Niche or Company Job Boards. To not potentially lose to much time before launching first board I did not implement multi-tenant layer, but the coding was done to add this layer as fast as possible after.

Now, about 4 months later, I added the layer and do a soft launch today of the new [javascriptjob.xyz Job Board for JavaScript Developers](https://javascriptjob.xyz). As written above, this board run's on the same code and instance, to show up possibilities of boardengine.io

Next Step is now to build a new landing page for [boardengine](https://www.boardengine.io) and start commercialization.

Soon I plan to make a more technical post about how I implemented multi-tenancy (Stack: Golang, Vue.js, ArangoDb, Redis, Nsq, Rancher/Docker)

*UPDATE*

Since I published the original post, about 3 years ago I added two new boards:
- [Full-Stack Developer Jobs: https://fullstackjob.com](https://fullstackjob.com)
- [React & ReactJS Jobs: https://reactjsjob.com](https://fullstackjob.com)
- [JavaScript Jobs: https://javascriptjob.xyz](https://javascriptjob.xyz)
- [Python Jobs: https://pythonjob.xyz](https://pythonjob.xyz)
- [Rust Developer Jobs: https://rustjob.xyz](https://pythonjob.xyz)
- [Golang Jobs: https://golangjob.xyz](https://golangjob.xyz)



Cheers Stefan
[Full-Stack Dev & Maker](https://altafino.com)