teleren/devto huggingface dataset:
Finding my way into Machine Learning - Roadmap 2020
Tags: machinelearning, learning, beginners, resources
Published: 2020-08-04 13:24:03

You all know how every beginning is though and the way my journey with Machine Learning started is no different. So many questions, so many resources and paths you can go down to...Let me share how I ended up finding everything I needed in a single resource that acts as my compass on the road to learning ML.

## Tha struggle is real

It's no secret I work in a tech company, but what you might not know is that being a Biz Dev in such a company means you need to learn a lot. And fast! Really fast! 

So once our team decided to take on a [project that involves Machine Learning](https://bit.ly/2BXV6AL) I needed to make the next huge jump out of my comfort zone and pick things up on the move. But how do you grasp all the concepts of Machine Learning in just a few days?

I had so many questions in my head...How does Machine Learning actually work? How do people start learning Machine Learning? What resources do they use? What tools? What do you need to learn first? What kind of people do ML? Is there a nice community that could help(I found one [here](https://bit.ly/30qBvSV)😊)? What are the most common problems ML solve? How do you solve such complex problems?... And so on down the rabbit hole.

## The art of making things simple 

So in my case, I needed an all-in-one kind of solution. **A single resource that can give me a well-synthesized overview that I can consume in just a couple of hours.** I couldn't afford to sign up for a speedy course or simply watching a couple of lectures. It just doesn't work like that. I needed to see the bigger picture before I can dig into details. I needed a visual roadmap. A sort of a compass that can show me the directions.

## The 2020 Machine Learning Roadmap

And luckily I found one, that I really think is worth sharing with you guys(I'm in no way affiliated with the content creator, but this dude definitely knows how to create value). This roadmap with all its extensiveness, interactiveness, and visuals managed to help answer my questions in no time.

I do believe helping spread quality content is worth the time and this is why I wrote this short post. 

How did you start your Machine Learning journey? Did you find any useful shortcuts and resources?

Sharing is caring, so without further ado here you go:

{% youtube pHiMN_gy9mk %}

Enjoy! 😊
Clean Contracts - a guide on smart contract patterns & practices
Tags: programming, learning, blockchain, ethereum
Published: 2020-08-04 12:49:56

---
title: Clean Contracts - a guide on smart contract patterns & practices
published: true
tags: #programming #learning #blockchain #ethereum 
canonical_url: https://wslyvh.com/clean-contracts/
---

Blockchain and smart contract development are still relatively new and highly experimental. They require a different engineering mindset than traditional web, or app development where ‘move fast and break things’ has become the norm. 

Blockchain development is much more like hardware, or financial service development. Smart contracts are complex instruments that offer the possibility to have self-enforcing contracts including transparent, tamper-proof, and immutable information. They have the authority to allocate high-value resources between complex systems. Often working autonomously. With huge financial loss at risk. This makes smart contracts critical components in these systems. Development of such components requires more investment, design, and effort upfront. Solid engineering practices, rigorous testing, and a strong security mindset. 

![WTFs per minute](https://dev-to-uploads.s3.amazonaws.com/i/f4upbwiz9cb50hpzgwmt.jpeg)

In a series of blog posts, I’m planning to go through several patterns, practices, and principles that can be applied to blockchain and smart contract development to reduce the risks associated with it. 

In this first article, I’ll cover more general engineering practices based on the concepts of Clean Code.

1. Naming 
1. Structure & Ordering
1. Documentation & Natspec 
1. Formatting 
1. Contracts & Data structures 
1. Systems 
1. Standards & Libraries 
1. Error handling 
1. Testing
1. Security & code analysis 
1. Continuous Integration 

Full blog post at [wslyvh.com](https://www.wslyvh.com/clean-contracts/)
How to color the moved code in git
Tags: github, git, productivity, bash
Published: 2020-08-04 12:49:24

We already know that we can customize the diff output colors, but git is able to detect moved blocks of code and style them differently from the usual removed/added lines!

## The moved block

We can use the argument [--color-moved](https://git-scm.com/docs/diff-options/2.19.0#Documentation/diff-options.txt---color-movedltmodegt) to color moved code for any command that generates a diff: `git diff`, `git log -p`, `git show`...

```bash
git diff --color-moved --
```

We can also set this in the `.gitconfig` file:

```bash
git config --global diff.colormoved default
git diff --
```

![Block of moved text](https://dev-to-uploads.s3.amazonaws.com/i/p2g7o6wjf6j77wttb9ky.jpg)

By default, git detects a block of moved text of at least 20 alphanumeric characters 👀. That's why the 3 and 4 is not "moved code" for git.

## The moved line

If we want to color any line moved we can use the *plain* mode:

```bash
git diff --color-moved=plain --
```

![Line moved](https://dev-to-uploads.s3.amazonaws.com/i/ut37fhtzcnlhowbcvdr7.jpg)

The blue lines show the blocks that were moved verbatim, while the red and green lines show the corrected typos. But git thinks this mode is not very useful in a review to determine if a block of code was moved without permutation. 🧐

### Ignoring the white spaces

We can ignore indentation of moved code using [--color-moved-ws=allow-indentation-change](https://git-scm.com/docs/diff-options/2.19.0#Documentation/diff-options.txt---color-moved-wsltmodesgt):

```bash
git config --global diff.colormovedws allow-indentation-change
git diff --
```

![Moved code with indentation](https://dev-to-uploads.s3.amazonaws.com/i/7jlh9n8uw2uftilxfsm2.png)

### Dimming the moved code

If we set the *dimmed_zebra* mode 🦓 the moved blocks of code won't take our attention like the added or removed lines:

```bash
git config --global diff.colormoved dimmed-zebra
git diff --
```

![Dimmed moved code](https://dev-to-uploads.s3.amazonaws.com/i/tlt0y4zyq4yzrxiyb6zi.png)

### What about delta?

Delta is a diff viewer that makes the visualization of the moved lines of code even better 🤩. After install, just need to set it to be git's pager:

```bash
git config --global core.pager delta
git config --global delta.line-numbers true
# git config --global delta.side-by-side true
git diff --
```

![The delta moved code](https://dev-to-uploads.s3.amazonaws.com/i/a9rkhrm4rg1io5cktqyq.png)

The `--color-moved` support was added in the new version 0.4.0, you can learn more of Delta [here](https://dev.to/cloudx/delta-a-new-git-diff-tool-to-rock-your-productivity-2773).
لماذا لايهم أي Framework جافاسكريبت تختار ؟

Tags: javascript, react, angular
Published: 2020-08-04 12:47:38

خلال مسيرتك البرمجية قد تسأل مرة على الأقل عن لماذا إخترت العمل بإطار معين بدل الآخر كإختيارك مثلا Vue , Angular , React , Svelte .

وإجابتك غالبا ماتكون أن الإطار سهل في بداية التعلم , أو انه متوافق مع تقنية أستعملها سابقا , وهنا قد يرميك الأخر بالتحيز فقط , أي أنك لم تكن مقتنعا به لولا أنه كان متوافقا مع تلك التقنية السابقة .

وهذا لايقتصر فقط على إطارات داخل جافاسكريبت بل معمم على جميع بيئات العمل , ولهذا كتبت المقال للحديث أكثر عن موضوع إختيارك لإطار عمل Javascript او للغة أخرى .


[تتمة المقالة](https://ko5.netlify.app/blog/why-it-doesnt-matter-which-javascript-framework-you-choose/)
How to customize Emacs
Tags: emacs, productivity
Published: 2020-07-27 21:10:39

Last time I wrote why I quit vim for Emacs. This time I&rsquo;ll cover customization topic.


<a id="org213dd7a"></a>

# Prerequisties

First of all - I&rsquo;m using [Doom Emacs](https://github.com/hlissner/doom-Emacs). It makes configuration way easier in my opinion, especially at the beginning of the Emacs adventure.
Second - my Doom configuration files are available [here](https://github.com/pgronkievitz/doom-dots). I&rsquo;ll try to update this repository more often than my dotfiles.


<a id="org1eaf211"></a>

# What am I using?

I&rsquo;ve tried to recreate my vim setup as much as possible. I&rsquo;ve wanted to gain some possibilities, not to change my habits. That&rsquo;s why I&rsquo;m using EViL mode (and I don&rsquo;t want to strain my pinky). Most of my packages are language support, so nothing very interesting, but some deserve some attention.

-   `ein` - support for Jupyter notebooks. It saves my day with full integration&rsquo;
-   `org` - basically org mode with lots of flags;
-   `web` - emmet and some other useful stuff.

There&rsquo;s also `mu4e` which caught my eye. It&rsquo;s email client for Emacs. I don&rsquo;t need to load whole[ GMail](https://mail.google.com) website!
I&rsquo;ve also installed some packages outside of these available by default in Doom Emacs such as:

-   `conda`
-   `pyvenv`
-   `xkcd`
-   `org-ref`.


<a id="orgcb0da66"></a>

# Theme

I&rsquo;m big fan of Monokai Pro, so I&rsquo;ve put in my config
``` elisp
    (setq doom-theme 'doom-monokai-pro)
```
I also don&rsquo;t like default font, so I&rsquo;m using JetBrains Mono in size of 14.
``` elisp
    (setq doom-font (font-spec :family "JetBrainsMono Nerd Font" :size 14))
```
The best way to move with Vim keybindings in my opinion is `<N><movement>`. That&rsquo;s why I&rsquo;m using relative line numbers
``` elisp
    (setq display-line-numbers-type 'relative)
```

<a id="org0bced55"></a>

# Other customization

There&rsquo;s just *awesome* (and **thicc**) guide how to customize your own Emacs [here](https://tecosaur.github.io/emacs-config/config.html) by @tecosaur.
68 : How does let use in javascript and Why
Tags: javascript
Published: 2020-08-04 12:43:40

let allows you to declare variables that are limited in scope to the block, statement, or expression on which it is used. ... When used inside a block, let limits the variable's scope to that block. Note the difference between var whose scope is inside the function where it is declared.

The reason why let keyword was introduced to the language was functioned scope is confusing and was one of the main sources of bugs in JavaScript.

let can also be used to avoid problems with closures. It binds fresh value rather than keeping an old reference as shown in the examples below.

* A variable defined using a var statement is known throughout the function it is defined in, from the start of the function. (*)
* A variable defined using a let statement is only known in the block it is defined in, from the moment it is defined onward. (**)

[Reference](https://stackoverflow.com/questions/762011/whats-the-difference-between-using-let-and-var)
Get WordPress data into the Gatsby Default starter
Tags: webdev, wordpress, gatsby, react
Published: 2020-08-04 12:35:48

---
title: Get WordPress data into the Gatsby Default starter
published: true
description: 
tags: webdev, wordpress, gatsby, react 
canonical_url: https://lbry.tv/@spences10:8/get-wordpress-data-into-the-gatsby:c
#cover_image: https://i9.ytimg.com/vi/qsFuTMnZjFs/maxresdefault.jpg?time=1596534300000&sqp=CJzcpPkF&rs=AOn4CLAz7WWrPYYMSqF7dFB6QGruM_eJzg
---

Catalin's site: https://catalins.tech/

Demo: https://catalins-tech.vercel.app

Sauce: https://github.com/spences10/gatsby-wordpress-example

Gatsby WordPress plugin: https://www.gatsbyjs.org/packages/gatsby-source-wordpress/


---
Follow me on:

📃 Website: https://scottspence.com
🐦 Twitter: https://twitter.com/spences10
💼 LinkedIn: https://linkedin.com/in/spences10
🐙 GitHub: https://github.com/spences10
👨‍💻 Dev.to: https://dev.to/spences10
How to Scroll to Top using Button. 

Tags: css, html, javascript
Published: 2020-08-04 12:35:19

Here in this post i will give a step by step information about how to create a Scroll to top button.


###Step 1: Add HTML:

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/nf0sol6fzs1xa4ovibux.png)
---
###Step 2: Add CSS:

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/wts9645fbv03iukkqjn6.png)
---
###Step 3: Add JavaScript: 
 Get the button:

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

When the user scrolls down 25px from the top of the document, show the button.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/2hcu4ngq7q4i6icufn6t.png)

When the user clicks on the button, scroll to the top of the document.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/uub4t2klp8lo9ph0i6o0.png)
---
That's all guys , now you can use this special button to make the things easier.
8 ML/AI projects to make your portfolio stand out.🔥
Tags: python, machinelearning, datascience
Published: 2020-08-04 12:34:39

1. **Sentiment analysis** for depression based on social media post⠀
⠀
2. Sports match video to text summarization using **neural network**
⠀
3. Handwritten equation solver using **CNN**⠀
⠀
4. Business meeting summary generation using **NLP**
⠀
5. **Facial recognition** to detect mood and suggest songs accordingly⠀
⠀
6. Finding out habitable exo-planet from **images captured** by space vehicle like Kepler⠀
⠀
7. **Image regeneration** for old damaged reel picture⠀
⠀
8. Music generation using **deep learning**

>If you want to explore above listed ideas you can go through this [blog](https://towardsdatascience.com/8-ml-ai-projects-to-make-your-portfolio-stand-out-bfc5be94e063).
A compilation of Different Machine Learning Algorithms/Models for beginners in Data Science Competitons(Kaggle)
Tags: datascience, kaggle, machinelearning, ai
Published: 2020-08-04 12:26:48

Hola, 

Before reading I want the reader to know that I am not an expert in data science.I am an SDE by profession. I have started spending quite a lot of my time on Kaggle and learning about data science in General.

Here I have compiled a list of frequently used ML Algorithms by various Kaggle Grandmasters, so that I can frequently lookup to this list, keep adding more stuff here for faster lookup during future Competitions(This post is just meant to be my cache)

If you consider yourself an expert, please skip this post.


1) *Linear Model*
      1. Especially good for sparse high dimensional data. 
      2. Usually split a given space into two sub spaces with a line/hyperspace.
      3. Regularization is usually done for Linear models in pre processing during Competitions

  eg:
  1. Logistic Regression
  2. Support Vector Machines

  Best Implementations:- 
 - Sckit Learn 
 - VowPal Rabbit 

2) Tree Based Methods (Uses Decision tree to create models)

  Here we divide spaces into sub spaces until probability of a class in a divided.

 eg:
 1. Random Forest 
 2. Gradient Boosted Decision Trees(We improve prediction probabilities based on probabilities of sum of the previous ones)
 3. ExtraTrees Classifier

 Disadvantages:
 1. Hard to capture linear splits if it exists while classifying

 Best Implementations:
 - Sckit Learn
 - XGBoost
 - LightGBM

 3) K-NN(K nearest neighbours) methods

 Based on intutiton/assumption that nearest neighbours have 
 similar labels. 

 Best Implementations are in Sckit Learn

 4) Neural Networks

 - The most used ones according to a Kaggle Grandmaster are Feed-forward neural network which produces smooth non-linear decision boundaries. 

 Best Implementations:
 - TensorFlow
 - Keras
 - mxnet 
 - Pytorch 
 - Lasagne

Making Inferences from Decision Surfaces
 1. If lines parallel to the axis and boundaries are smooth then its probably a Random Forest

 Important: Choose a model for a Particular Competition based on use the use case as no model is better than others in all situations
Python Zero to Hero - Ep.17 - Python docs
Tags: python, documentation, tutorial, beginners
Published: 2020-08-04 12:22:40

---
title: Python Zero to Hero - Ep.17 - Python docs
published: true
description: To make code usable we have to ensure users and developers know what the code is doing. We can add comments to explain thing but it's still limited. That's why we need to write docstrings in Python and with a bit of magic (a.k.a Sphinx) we can make the docstrings into a documentation website.
tags: python, documentation, tutorial, beginner
---
To make code usable we have to ensure users and developers know what the code is doing. We can add comments to explain thing but it's still limited. That's why we need to write docstrings in Python and with a bit of magic (a.k.a Sphinx) we can make the docstrings into a documentation website. If you have any questions or any suggestions about which Python topics to cover, please leave your comment at my [Twitch channel](https://www.twitch.tv/cheukting_ho)

You can get the slide deck [here](https://slides.com/cheukting_ho) and the example code and homework form [GitHub here](https://github.com/Cheukting/python02hero). Ask questions at my [Twitch channel](https://www.twitch.tv/cheukting_ho)
Salesforce services and their benefits

Tags: salesforce
Published: 2020-08-04 12:19:58

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

We all know what the sales force is and how it helps to strengthen the foundations of a [business](https://www.cloudanalogy.com/). This article would be perfect if this is your first time hearing about Salesforce, or if you are new to introducing Salesforce to your business. So, let's start with the basics.

**What is Salesforce?**
Salesforce is a multi-tenant environment that provides an environment that meets the business needs of your business. This is CRM software that contains tools that your sales team will use to manage your business well. You can easily record, manage, and analyze all customer activity in one place with your cloud-based software. This means that you only need an Internet connection to manage all your things from one place.

**Why Salesforce?**
1. **Salesforce improves the quality and management of customer data:** It's also one of the core features of every CRM on the market, but salesforce does it better. Adding, updating, deleting and all other necessary functions can be easily done with Salesforce CRM companies.

2. **Improved customer service and support:** Salesforce gives your business a simple and long-lasting way to improve customer service and support options. It is about improving and managing customer-business relationships by increasing the efficiency, automation and quality of customer interactions.

3. **New clients:** Customers are the key to any business. The more customers you have, the more profit the company will make. Salesforce Services creates an excellent customer database that helps the company find the right customers who are interested in your product or business.

4. **Increase the effectiveness of campaigns:** Salesforce provides reports and data on marketing campaigns and also tracks apps available on the [AppExchange](https://www.cloudanalogy.com/). It can also be integrated with a large number of other platforms and othe[ programs. This in turn increases efficiency and facilitates marketing campaigns.

5. **Increase profit margins:** Increased efficiency increases sales and reduces costs, as well as customer satisfaction, and everything else ultimately leads to a positive change in overall profit margins. Salesforce will help you achieve maximum value and customer interaction experience while increasing productivity.
What's the strangest Wi-Fi name you've ever seen? 😮
Tags: watercooler, discuss
Published: 2020-08-04 12:15:04

This weekend, I went to my aunt's home. Being the obnoxious techie that I am, the first thing I said when I stepped into the house was this:

*"What's the Wi-Fi name and password?"*  

My 10-year old cousin came running to me and, with great pride, she said, "The Wi-Fi name is YouWillBeHacked. I chose this name, you know."

I connected to the Wi-Fi. Thank God I wasn't hacked. 😂

Sarcasm aside, I've been curious since then. What is the strangest or maybe even the coolest Wi-Fi name you've ever come across? 🤨

Let everyone know!
Daily Developer Jokes - Tuesday, Aug 4, 2020
Tags: jokes, dailydeveloperjokes
Published: 2020-08-04 12:00:04

---
title: "Daily Developer Jokes - Tuesday, Aug 4, 2020"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
cover_image: "https://private.xtrp.io/projects/DailyDeveloperJokes/thumbnail_generator/?date=Tuesday%2C%20Aug%204%2C%202020"
published: true
tags: #jokes, #dailydeveloperjokes
---

Generated by Daily Developer Jokes, a project by [Fred Adams](https://xtrp.io/) ([@xtrp](https://dev.to/xtrp) on DEV)

___Read about Daily Developer Jokes on [this blog post](https://xtrp.io/blog/2020/01/12/daily-jokes-bot-release/), and check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/).___
### Today's Joke is...
![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e12590d3e5c1.png)

---
*Have a joke idea for a future post? Email ___[xtrp@xtrp.io](mailto:xtrp@xtrp.io)___ with your suggestions!*

*This joke comes from [Dad-Jokes GitHub Repo by Wes Bos](https://github.com/wesbos/dad-jokes) (thank you!), whose owner has given me permission to use this joke with credit.*

<!-- 
Joke text:
___Q:___ What do computers love to do at the beach?

___A:___ Put on some spam block for protection so they can safely surf the net while catching some .WAVs!
 -->
The features of low code business app builder
Tags: lowcode
Published: 2020-08-04 09:58:51

The low-code development platform market is booming. More and more suppliers are providing sophisticated and intuitive tools to the market. However, some tools are not perfect enough, and ultimately waste a lot of time and money. This can make it difficult to find a low code business app builder that meets the specific requirements of the organization.

Finding the right low-code development platform is crucial, because different low-code development tools are suitable for different purposes-but there are some key features that can help you pick out good tools from bad ones. High-quality low-code tools provide some key features that make them stand out from the crowd. This is what you should be looking for.
The feature of high quality low code business app builder
Visual development tools
This is the first thing you should evaluate when creating low-code applications. All good low code business app builders have powerful visual development tools, making it easier to visually obtain code modules and link them together.
Easy to deploy
If you cannot deploy them as easily as you create them, then low-code applications will be worthless. This is why it is important to have a low code business app builder that allows you to deploy and maintain low code applications without any difficulty.
Scalability and security
A good low-code platform will enable you to expand your application as your company grows. This ensures that you don’t have to develop a new application every time the old application cannot support growth. If your system does not have proper security, low-code development tools will become the company's responsibility, not an asset.
https://www.yeeflow.com/enterprise
Bumbag - an accessible & themeable React UI Kit
Tags: news, react, javascript, discuss
Published: 2020-08-04 11:45:48

Jake Moxey has recently announced the release of his library [Bumbag](https://bumbag.style), which lets you quickly build out your React app using over 70 accessible and themeable components.

{% twitter 1290610936747683842 %}

If you're looking for an example of the library in action, it's currently being used on [a website to track COVID-19 restrictions in Melbourne](https://canileave.melbourne/).

------

Do you use (or have you ever used) a React component library? I'm interested to hear how you think this one stacks up against other similar libraries out there.