teleren/devto huggingface dataset:
Machine Learning From Scratch in Python - Full Course [FREE]
Tags: python, machinelearning, numpy
Published: 2021-01-30 15:35:23

---
canonical_url: https://www.python-engineer.com/posts/mlfromscratch-course/
---
In this course we implement the **most popular Machine Learning algorithms** from scratch using pure Python and NumPy.

By the end of this course, you will have a **deep understanding** of the concepts behind those algorithms.

The course is available here:
{% youtube rLOyrWV8gmA %}
Each part starts with a short **theory section** that explains the math and concepts behind the algorithm. Then we **jump to the code** and implement it in a clean, object oriented style. You will get a **hands-on experience** with Machine Learning algorithms and feel more confident using them in your own projects.

## Prerequisites

**Beginner Python skills and a little bit of math** knowledge (Linear Algebra, Differential Equations) is required to follow the course. NumPy knowledge can be benefitial but is not a must. If you want to have a quick refresher, you can checkout my **free NumPy handbook** that covers all essential functions. You can get it [here](https://www.python-engineer.com/numpybook).

## Note

This is a collection of my [ML From Scratch playlist](https://www.python-engineer.com/courses/mlfromscratch/) compiled into one single video. The code for all algorithms is available on [GitHub](https://github.com/python-engineer/MLfromscratch). The jupyter notebooks are available on [Patreon](https://www.patreon.com/patrickloeber).

## Course Overview

1) KNN
2) Linear Regression
3) Logistic Regression
4) Regression Refactoring
5) Naive Bayes
6) Perceptron
7) SVM
8) Decision Tree Part 1
9) Decision Tree Part 2
10) Random Forest
11) PCA
12) K-Means
13) AdaBoost
14) LDA
15) Load Data From CSV
The Importance of Slowing (Way!) Down as a Junior Software Engineer
Tags: devjournal, codenewbie, career, womenintech
Published: 2021-01-30 15:35:00

_This post was originally published on January 30, 2021 on [my blog] (https://alexlsalt.github.io/blog)._

-------

I learned a ton this week at work. Seriously, a ton. And I loved every minute of it.

Well. I loved every minute of it *in retrospect*. During the week (and even the past month) it's been a bit of a rollercoaster. But I do love rollercoasters so I've got that going for me.

This week, one of my major wins was working on my biggest coding push to date (in the context of my new job) and it was a refactoring of several bits of code.

Along with the refactor itself, I was writing tests in the corresponding spec, and I seriously had *zero* experience writing tests.

Regardless, I took each task as it came. I submitted my code changes for review in GitHub and moved on to another task as I waited for the helpful review comments to come back with further hints in the right direction.

I pored over the comments and corrections and caught myself when I'd jump a little too quickly at making the changes - before fully and completely understanding the reasons behind the corrections.

*That* was a big shift from this week, actually! Stopping myself and not letting myself move forward on making further changes to my code before understanding every single word on the code review. Not only that, but not letting myself advance before I could potentially explain the reasoning to someone else regarding why a change was being suggested.

There was a certain magical moment when I consciously caught myself jumping straight into the code without fully understanding it, and I made myself restore the files, go back to the PR, and read the comment twice through, three times through, four, five, six more times through - until it finally clicked.

And that's the way it should be, too. I was so wrapped up in getting the code written and the PR merged that I wasn't slowing myself down enough to truly understand it.

But this is exactly what I mean when I say that we usually need to slow all the way down in order to actually go so much faster.

The act of me submitting more code changes that I didn't understand ran the risk of doing it completely wrong and spending more time than necessary going back-and-forth yet again with the code reviews.

On the other hand, slowing myself way, way, way down, reading through the corrections and suggestions several times through, and clarifying the suggestions in my own words ended up putting me on the right track and getting the PR approved and merged that much quicker.

This is such an exciting time, right at the beginning of this career in software engineering - I really feel like I'm drinking it all in and that every single moment at work is a chance to learn something new or take a lesson one level deeper.
Full-Screen Scrolling Using PagePiling.js
Tags: javascript, css, html, webdev
Published: 2021-01-30 15:28:16


Full-Screen Scrolling Using PagePiling.js
Full-Screen Scrolling Using PagePiling.js

PagePiling.js is a jquery plugin that creates an awesome full-screen smooth effect for websites. So here we made Full-Screen Scrolling Using PagePiling.js and the help of HTML and CSS.

In this element, we used PagePiling.js CDN and also we used a custom class for background images. Here we used nature images from Unsplash(provides free HD images) for the show section in Pile. This is a responsive web page with a mobile and tablet side.

Make it yours now by using it, downloading it and please share it.

[Source code](https://w3hubs.com/full-screen-scrolling-using-pagepiling-js/)
How to install WordPress on localhost?
Tags: wordpress, beginners, programming, tutorial
Published: 2021-01-30 15:09:34

**Hello guys today we will learn how to install WordPress on localhost? So let’s get started.**

Installing WordPress on localhost is very simple. You just have to follow some easy steps. You can not install WordPress on your computer directly. You must have to create an local environment in your system then install WordPress. Initially, it is about just 3 major tasks. Such as:


1. Create an environment
2. <a href="https://wordpress.org/download/">Download WordPress</a>
3. Install WordPress on localhost

###Step:1###
First, we need to create a local environment, please check the below video for creating a local environment in your system.
{% youtube hNe5TeVbfmo %}
**<a href="https://blog.stackfindover.com/how-to-setup-localhost-environment-in-your-system/" rel="dofollow">How to setup localhost environment in your system</a>**

###Step:2###
After setup the local environment we need to download WordPress, then we need to do put Unzip WordPress in the XAMPP **htdocs** folder.

###Step:3###
Also, we need to create a database for WordPress, WordPress site needs a database to save its data. Go to localhost/PHPMyAdmin on your browser. Click on “New” and give it a name then click on “Create” to finish the process.

###Step:4###
After creating database goto browser type localhost/WordPress (name of your WordPress file in the htdocs) on your browser’s address bar and hit enter. Now perform a few more actions to complete the WordPress installation on localhost. Select language and click Continue.
Click on the **Let’s go!** button on the following page.

***Give all Required Information***
in this page requires Database Name (the database you’ve created earlier in Step 3). The username will be “root” and Password blank as mentioned in the XAMPP installation success page.

Hit the **Submit** button at the bottom and click **Run the installation** on the next page.

***Complete WordPress Installation with Admin Information***
Give your site a title, username, password, and email address. Finally hit the Install WordPress button at the bottom.

**You have successfully installed WordPress on your computer. Log into your locally hosted WordPress site now.**

if you have followed all the steps above, you stand no chance of facing any error along the way of WordPress installation on localhost. Now do whatever you want with your WordPress site on your computer.

##WordPress Installation video tutorial:##
{% youtube yIUSHn6HQVc %}

> ***<a href="https://blog.stackfindover.com/how-to-install-wordpress-on-localhost/" rel="dofollow">Click here to read the article with images for the better experience</a>***

###More articles related to web development###
> <a href="https://blog.stackfindover.com/slick-slider-with-motion-blur-effect/" rel="dofollow">Slick Slider With Motion Blur Effect</a>
> <a href="https://blog.stackfindover.com/profile-card-design-html-css/" rel="dofollow">Profile card design HTML & CSS</a>
> <a href="https://blog.stackfindover.com/youtube-loading-animation-using-html-and-css/" rel="dofollow">YouTube Loading animation</a>
GoodDeveloper
Tags: cshap
Published: 2021-01-30 15:01:11

Some One Help me to be good developer
https://www.tutorialsteacher.com/mvc/htmlhelper-textarea-textareafor

Line spacing impacts the feel of a designTwitter Logo, rhythm of the typography, and readability. Too tight and text will feel crowded and become harder to read. Too large and lines will appear unrelated and spacey.


Line spacing impacts the feel of a designTwitter Logo, rhythm of the typography, and readability. Too tight and text will feel crowded and become harder to read. Too large and lines will appear unrelated and spacey.
The Road to Learning Ruby on Rails: Part 1 (Ruby)
Tags: ruby, rails, codenewbie, beginners
Published: 2021-01-30 14:44:21

I'm back with another article this time on learning Ruby and RoR (Really?!?! Anthony isn't Ruby like a dead language?).

Well not quite. Ruby is still around today in some companies but the reason why I decided to learn it is because I do think this is one of the best first languages to learn as a beginner. For those who are on the self taught route into Software Engineering I highly recommend learning Ruby first. For me I have worked in JavaScript and Python and I really enjoy working with those languages as well.

Ruby is literally like pure english which I really like so far. It's an extremely accessible, dynamically typed, and expressive language. I'm currently using Code academy to learn Ruby but I have found an awesome resource on Freecodecamp on learning Ruby.

https://www.youtube.com/watch?v=t_ispmWmdjY&feature=emb_title

I hope this helps newbies get started on learning to programming. Follow me on my journey to getting proficient in Ruby on Rails.
8 additional sites to launch your app for free | Preparing for a launch series [Day 4/7]
Tags: showdev, startup, productivity, beginners
Published: 2021-01-30 14:30:09

# Short intro

I'm releasing my app ([iplan.to](https://iplan.to)) next Monday, targeting Product Hunt and Hacker News as the main sites. 

However, I'm trying to also post it on several sites to boost visibility before the official launch.

# List of sites

This is a selection of the active sites I found, where it's possible to submit your app for free:

🔸 [10words](https://10words.io/): Describe your project in 10 words or less.

🔸 [AlternativeTo](https://alternativeto.net/): Submit your app and explain why it is an alternative to other existing apps.

🔸 [Launched!](https://launched.io/): Simply post your product name, description and a screenshot.

🔸 [AppRater](https://apprater.net/): Get featured on a daily list of new apps.

🔸 [BetaPage](https://betapage.co/): Submit your startup or product and appear on the Recent list after receiving 5 upvotes.

🔸 [Startup Buffer](https://startupbuffer.com/): Get discovered through the website, mobile apps and social networks.

🔸 [Startup Stash](https://startupstash.com/): List your product for a chance to appear on the site and weekly newsletter.

🔸 [Launching Next](https://www.launchingnext.com/): Community of tech startups that daily showcases the latest ones.

# A final thought

The requirements to post on these sites are very similar, so it shouldn't take a lot of time to just do it in all of them at once.

Look forward to seeing how it goes! 🤞

Thanks for reading!
Laravel Jetstream vs Breeze vs Laravel/ui
Tags: php, laravel, vue
Published: 2021-01-30 14:02:37

In this tutorial we will discuss about jetstream, Breeze and Laravel/ui package and We will see how they are different from each other.

{% youtube tyVszXvjQCI %}

*And  Make sure you Like and subscribe* 😉👍👍.

##What is Jetstream??##
Jetstream is not a package or administration dashboard that you will update in the future. It is a starter kit scaffolding for laravel and after installation the templates are yours to maintain. Now you can modified according to your requirement. The authentication portion of jetstream is powered by laravel fortify.


###Use Jetstream if:###
1.You're familiar with Laravel Livewire, Inertia and Tailwind, or 
  don't mind spending time learning them and;
2.You want immediately start building the core functionality of 
  your app without investing much time in boilerplate.

##What is Laravel/ui??##
if you want to use laravel 8 with vue or react you can use it with laravel/ui package . I believe you already know about laravel/ui package. It provides a quick way to scaffold all of the routes and views you need for authentication and includes preset for Vue or React with bootstrap.
###When to use Laravel/ui:###
1 . You want to use vuejs , reactjs and bootstarp in your 
    application.


##What is Breeze??##
Laravel Breeze is small version of jetstream which provides you Auth system with laravel blade and Tailwind css. Laravel Breeze is the latest scaffold package released, offering a more up-to-date version of laravel/ui. It provides the same authentication functionality as laravel/ui, but uses Tailwind instead of Bootstrap, and does not include presets for Vue or React.
Breeze does not use Fortify under the hood, but instead publishes controllers to your app so they're easier to modify (like the laravel/ui package).

###When to use Breeze:###
1. You just want a more up-to-date laravel/ui.
2. You'd like to modify the authentication functionality of your 
   app quickly.
3. You're building an app from the ground up that doesn't 
   requires the features that Fortify or Jetstream provide.
Day27:100DaysOfCode
Tags: 100daysofcode, programming, productivity
Published: 2021-01-30 13:36:29

Another contest day--
eduational round cf div2

just got one ques correct :(
tried to solve one more ques today of the same contest nd got it right.

leetcode ques on basic nd complex maths
integrated the chatbot with my flutter app
here's the repo link-
https://github.com/singhtaran1005/flutter_dialogflow

will be starting further with spring from today....
(integrating code with a database and further.....)

You can Follow me->
https://github.com/singhtaran1005
https://www.linkedin.com/in/taranpreet-singh-chabbra-27517918a/
Twitter Advanced Search in Natural Language
Tags: twitter, nlp, showdev
Published: 2021-01-30 13:30:04

Have you ever thought that Twitter Advanced Search is messy, and their syntax is hard to learn? Well it is history now.

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

I created a [Chrome extension](https://chrome.google.com/webstore/detail/twitter-natural-advanced) that automatically detects whether the search request resembles an “advanced search”. If so, when pressing enter, the input will be translated into a search with Twitter advanced search syntax.

[Source code](https://github.com/quantleaf/twitter-natural-advanced-search)

This tool was made possible with [query.quantleaf.com](https://query.quantleaf.com), a service that lets you query database tables with natural language. The service is based on a natural language like programming language, which means that the search text you write is treated as code, and the output is created when you run the program!

Feedback is highly appreciated!

Best regards
Marcus
Smart Proctor
Published: 2021-01-30 13:27:17

What is a Smart proctor?

Unlike traditional proctoring, online proctoring involves a proctor who observes the test-taker so as to verify their identity, answer any questions they'll have, and stop, identify, and/or report cheating and malpractice. Using secure technology, online proctoring may be a viable alternative to on-site testing.

Features

The purpose is simply to provide accountability, making sure students do not cheat or manipulate the test in any way.
Detect cell phone, tablet, and laptop use while a student is taking an assessment.
Detects another type of suspicious activities like not focusing on the screen.

Tech Stack

Teachable Machine
Machine Learning
Html, CSS, Js
Tensorflow
Is [ ] truthy in JS ?
Published: 2021-01-30 13:17:07

The code snippet below can be really confusing.
```js
if ([]) {
  console.log([]==false)
}
```
- If `[]`_(empty array)_ is truthy then why is `[]==false` evaluating to `true`?
- If `[]` is falsy then why is the code entering the if block?
Let's answer both these one by one.

The following are the only falsy values in JavaScript:
- `false`
- `""` _(empty string)_
- `0`
- `NaN`
- `null`
- `undefined`

So, `[]` is definitely not falsy

#### Why is the code entering the if block?
The code is entering the if block because JavaScript is trying to coerce `[]` to a Boolean which results in being `true`.
```js
console.log(Boolean([])) // true
```

#### Why `[]==false` is true?
> Equal (==)
If the two operands are not of the same type, JavaScript converts the operands then applies strict comparison. If either operand is a number or a boolean, the operands are converted to numbers if possible; else if either operand is a string, the other operand is converted to a string if possible. If both operands are objects, then JavaScript compares internal references which are equal when operands refer to the same object in memory.

So, one of the operands here is a Boolean, so JavaScript will try to convert both the operands into Numbers and do a strict comparison. Since both `Number([])` and `Number(false)` give `0`, the comparison will become `true`.

```js
console.log([]==false)
// This is similar to:
console.log(Number([])===Number(false))
```

*Thanks!!*
You can follow my (Instagram page)[https://www.instagram.com/js.cruise/] for more such amazing content.
My opinion on the PHP 8.1 Enum RFC
Tags: php, rfc, php81
Published: 2021-01-30 13:16:09

## TL;DR

The basic and backed enums of this RFC are a nice implementation of enums in PHP, but in its current form it simply does too much.

## Foreword

Yesterday Brendt from Spatie posted [a blog post about new things in PHP 8.1](https://stitcher.io/blog/new-in-php-81). The one things that caught my eye was enums and since I've been wanting them in PHP for quite a while now I got a bit excited to say the least.

Reading [the RFC](https://wiki.php.net/rfc/enumerations) started good and well but the further I went, the more I disliked it.

## Basic enums

The basic enum implementation of this RFC looks like so:

```php
enum Suit {
  case Hearts;
  case Diamonds;
  case Clubs;
  case Spades;
}
```

Using `case` to denote an enum value is slightly odd, but I'll take it. If it would be possible I believe it'd be better to omit this all together:

```php
enum Suit {
  Hearts;
  Diamonds;
  Clubs;
  Spades;
}
```

## Backed enums

Backed enums very much remind me of enums in TypeScript which are incredibly useful. Having this in PHP is very nice indeed.

```php
enum Suit: string {
  case Hearts = 'H';
  case Diamonds = 'D';
  case Clubs = 'C';
  case Spades = 'S';
}
```

This feature alone would likely cause me to drop [myclabs/php-enum](https://github.com/myclabs/php-enum) as my enum implementation.

### No mixing

Backed enums and Basic (or Pure) enums cannot be mixed together, so something like this is not allowed:

```php
enum Suit: string {
  case Hearts = 'H';
  case Diamonds = 'D';
  case Clubs;
  case Spades;
}
```

I completely agree, otherwise it would just turn into a giant mess.

## Enum methods

This is the point where the RFC lost me. I understand that having methods in an enum. Hell, in some cases I add a `random()` method in enum classes made with `myclabs/php-enum`. But that's usually as far as I'm willing to go.

If you need to add an interface or trait to an enum, why not just use a class instead?

The examples list extra information you can list with an enum, but doesn't that just beat the whole point of making enums to begin with?

## Closing thoughts

I'd be incredibly happy if this RFC got accepted, enums are something that PHP can really use. Unfortunately, this implementation just does too much and it wouldn't surprise me if it got rejected on that basis.

However, should it be accepted, I'll be unlikely to use those enum methods.

---

Thanks for reading. This was my first proper post on this site and I'd like to improve my writing skills.

Any feedback on this post is greatly appreciated.
Release 0.9.0 of Spellcheck (GitHub) Action
Tags: github, action, release
Published: 2021-01-30 12:50:16

---
title: Release 0.9.0 of Spellcheck (GitHub) Action
published: true
description: another release of a spellchecking GitHub Action
tags: #github #action #release
//cover_image: https://direct_url_to_image.jpg
---
Release 0.9.0 of the [Spellcheck Action](https://github.com/marketplace/actions/github-spellcheck-action) has made it to the marketplace - pretty unannounced, but this year is of to a very hectic (in the best sense) start, with a lot of open source activity and I am a, bit behind on some of the stuff I want to do when it comes to releases.

The release contains a contribution from Pavel Skipenes and it implements the capability of specifying a custom configuration path.

The default of the spellcheck action is to have the configuration in the root directory of the repository. When I took over the role of maintainer I applied several changes so at least the configuration file could be make _invisible_. (files prefixed with the `.`)

The spellcheck looks for configuration files in the following order:

1. `.spellcheck.yml`
1. `.spellcheck.yaml`
1. `spellcheck.yml`
1. `spellcheck.yaml` (the old default)

With the contribution from Pavel you can specify:

```yaml
config_path: config/.spellcheck.yml # put path to configuration file here
```

Specifying an alternative path to the configuration file.

A complete configuration could look as follows:

```yaml
name: Spellcheck Action
on: push
jobs:
  build:
    name: Spellcheck
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - uses: rojopolis/spellcheck-github-actions@master
      name: Spellcheck
      with:
        config_path: config/.spellcheck.yml # put path to configuration file here
```

So instead of filling up the root directory of your repository, you can push a less significant configuration file to a sub-directory - which is great and very much in line with the _hiding_ of the files, which are just _helpers_ to your project, not core-project files.

Unfortunately we experienced a minor mishap in the handling of the review process, so a proposed documentation change did not make it into release 0.9.0, so 0.9.1 followed just after.

Thanks to Pavel Skipenes for his contribution.