teleren/devto huggingface dataset:
The Graphical Learning Technique | Learn things Faster
Tags: beginners, discuss, firstpost, webdev
Published: 2021-04-20 12:42:46

**Introduction :**

Hey there, welcome to my blog. Here, I discuss the various subjects and techniques to learn more efficiently. If you're interested in who am I and what I do check this out!

**What is Graphical Learning Technique?**

If you're in a software-related field you may know about the graphs. We're not talking about algebraic graphs. Here's how a graph looks like in the computer field.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3knk6sal0waw6odlsy62.png)

Here, the numbers indicate the information. Our brain functions more like a graphical memory than just a simple structure like an array or list. All the information that we grasp gets connected with other information and makes complicated graphs. Graphs are mainly used for faster retrieval as well as storing things efficiently.

The graphical Learning technique is based on this principle. When we are reading some sort of textbook or a manual, we need to follow a certain path to learn faster. We can not read this stuff as we read the novel or a story because the things are new to us and we don't know the connection between them.

***A simple path to follow :***
1. Just Go through the chapter without certain attention or reading anything (i.e. flip the pages calmly) It works like the assignment of memory as we do it in any program.

2. Go to the quiz section of the chapter and see the questions. This will lead you to know what to learn and focus on (Just like providing a data-type to the brain)

3. Read the topic and titles of that chapter. It works like declaring parent nodes to a graph so that we get an idea of what to store at which memory part.

4. Read the first and last lines of each and every paragraph. It gives you the length or boundaries of the content

5. Read the chapter thoroughly by taking notes.
i.e. Insertion of the data in memory which we created.

**Conclusion :**

I hope you'll surely give it a try at least once and if you do so you do not need the feel of how it works. If you haven't visited my blog yet go and do visit at https://irfanwritess.web.app

Happy Coding !
Apache Spark and BigQuery with AWS Sagemaker Studio
Tags: sagemaker, amazonwebservices, aws, spark
Published: 2021-06-14 07:30:13

---
title: Apache Spark and BigQuery with AWS Sagemaker Studio
published: true
date: 2021-04-20 12:28:51 UTC
tags: sagemaker,amazonwebservices,aws,spark
canonical_url: https://medium.com/analytics-vidhya/apache-spark-and-bigquery-with-aws-sagemaker-studio-180db7575f85
---

[![](https://cdn-images-1.medium.com/max/1773/1*pcMvnRVAI0mag8uVkooyjA.jpeg)](https://medium.com/analytics-vidhya/apache-spark-and-bigquery-with-aws-sagemaker-studio-180db7575f85?source=rss-6a5fd2acfac------2)

Extend the capabilities of Sagemaker Studio container images with new libraries.

[Continue reading on Analytics Vidhya »](https://medium.com/analytics-vidhya/apache-spark-and-bigquery-with-aws-sagemaker-studio-180db7575f85?source=rss-6a5fd2acfac------2)
Container CI CD Pipeline
Tags: microservices, devops, docker, kubernetes
Published: 2021-04-20 12:22:13

Let’s look at a timeline from the time Docker and container technology first debuted back in 2013 to the year 2017. CI-CD Container adoption has grown from 0% to 20% and is predicted to see an adoption of 50% by the end of the year 2020 as per reports. Container technology has seen a journey from small-scale test deployments to large-scale production deployments in enterprises across industries.
The Right Way to serve static files when using Django with Gunicorn
Tags: python, django, gunicorn, webdev
Published: 2021-04-20 12:11:00

Yesterday, I learned during deployment that your `Django` app when used in combination with `gunicorn` will refuse to serve static files, do whatever you may. I looked up almost every Stack Overflow answer post on this topic including [this](https://stackoverflow.com/questions/59857966/static-files-not-loading-in-production), [this](https://stackoverflow.com/questions/54972837/django-2-1-static-files-loading-in-production-but-not-development) and [this](https://stackoverflow.com/questions/59857966/static-files-not-loading-in-production).

I meddled with almost every hopeful setting including `STATICFILES_DIRS[]`, `STATIC_ROOT` and `STATIC_URL` but to no avail. Its as if Django is designed to refuse serving of static files when using `gunicorn` and that's what I started to suspect after everything failed.

And my suspicion was almost confirmed by [this post](https://stackoverflow.com/questions/20175243/django-gunicorn-not-load-static-files) which says that:

> Gunicorn will only serve the dynamic content, i.e. the Django files

But I know that's not strictly true because I've used Gunicorn with Flask in the past and it serves static files of your Flask app without any issues at all!

But then I thought that its better to handle static files using `nginx` anyway and since I was already using `nginx` as the front proxy on my server anyway, I thought of trying that post's suggestion. As mentioned, I added a new location section to my `nginx` configuration file as follows:

```bash
location /static {
		autoindex on;
		alias /path/to/staticfiles;
	}
```

And that's exactly what worked! I bypassed `gunicorn` entirely and static files are now being served directly by the front server and I think this is a more efficient setup than having `gunicorn` serve the static files.

But why `gunicorn/django` refuse to serve static files directly still remain a mystery. I think the problem lies somewhere in Django and not gunicorn because as I said, I've seen gunicorn serve Flask static files before.
Kubernetes Opensource deployment tool
Tags: opensource, kubernetes, devops, docker
Published: 2021-04-20 12:09:16

Deploy your App to
K8s within minutes
HyScale is an open-source application deployment tool
that helps you effortlessly deploy to Kubernetes.

With HyScale’s app-centric abstraction capabilities, app
teams can move to k8s much faster and save significant
time spent on overcoming k8s complexities.
How to add Video in README.md file?
Tags: github, markdown, howto
Published: 2021-04-19 23:24:10

Recently, the CEO of Github, [Nat Friedman](https://twitter.com/natfriedman) share some [small improvements](https://twitter.com/natfriedman/status/1383169103028908034) made to Github that hopefully improve our life just a little bit.

There are 5 cool improvements, but I want to highlight one that is even cooler 😎.

So, what is it ??

---

## Video files that you drop onto markdown files are now `automatically embedded`! 🤘

To me, it is cool tho. You just drag your video file on your laptop or pc to the markdown file in Github. Done.

Easy peasy.

Before this, I can embed the video either change it to the gif or create a new file and reference it to the README file.

Thanks, Github 🚀.

If you try it, the result will be like this;

![Screenshot 2021-04-20 at 07.15.42](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yebcdj8k5k3mwidsg45c.png)
 
I created this [repo](https://github.com/asyraffff/readme-with-video) as an example so you can look at the raw or markdown file.

The end :p

---

Follow me on [Twitter](https://twitter.com/asyr0f) 😉
Daily Developer Jokes - Tuesday, Apr 20, 2021
Tags: jokes, dailydeveloperjokes
Published: 2021-04-20 12:00:23

---
title: "Daily Developer Jokes - Tuesday, Apr 20, 2021"
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%20Apr%2020%2C%202021"
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/5e12592cb43a5.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 did the Class say in court when put on trial?

___A:___ I strongly object!
 -->
JavaScript Interview Question #34: Different ways to get the current date in JS
Tags: webdev, beginners, codenewbie, javascript
Published: 2021-04-20 11:53:05

![js-test-34](https://learn.coderslang.com/js-test-34.png)

How do you prefer to get the current date in JS? What will be logged to the console?

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Both `new Date()` and `Date.now()` in JavaScript return us the current date and time.

The difference between them is that `new Date()` returns the `Date` object and `Date.now()` returns the number of milliseconds elapsed from the midnight of Jan 1, 1970.

If you need to compare two dates in different formats, you can always get the number of milliseconds from any `Date` object using the built-in `getTime()` function.

Otherwise, you won’t have any luck comparing a `number` to an `object`.

---

**ANSWER**: `false` will be logged to the console.

[Learn Full-Stack JavaScript](https://js.coderslang.com/sign-in)
Compiling data, web or e-mail scrapping?
Tags: help, javascript
Published: 2021-04-20 11:36:30

**Hello**, 
I'm little new on this dev, "solution creator" line of thought... I also a little self impostor, always feel like it's a dumb question, anyway, I need some help with this scenario:
At my work, we receive some requests through our client's interaction to a bot on ours website. Each comes on a e-mail with the submitted info, also available at the bot's control panel. I need to compile the data into a sheet and update by given schedule.
I'm currently at Javascript, thinking about try Puppeteer to web scraping the data then export JSON for some fancy view or CSV to format on Excel later...

Is it easier to do through the panel (complex analysis for simple update, I think) or through the e-mails? 

Can someone help start to think about a solution? I would appreciate

Thanks!
React-Notifications ⚠️
Tags: react, beginners
Published: 2021-04-20 11:21:57

Here I’ll show how we can handle notifications in our React project. First, we’ll be using **react-notifications**🔔, which, as its name suggests, is a notification component for React.

## Installation:

Go to the client *project directory* and install the following npm package:

 `npm install --save react-notifications`
    or
 `yarn add react-notifications`

## Setting up the Notification container:

Now update the *App.js* file. Import *NotificationContainer* from react-notifications and the _notifications.css_ file. 

```javascript 
...
// React Notification
import 'react-notifications/lib/notifications.css';
import { NotificationContainer } from 'react-notifications';
...
...
return (
 <Router>
  <div>
   ...
   ...
   <NotificationContainer />
  </div>
 </Router>
);
```

So far, we have completed our setup for *NotificationContainer*.

> NOTE: Use only one NotificationContainer component in the app.

Now it’s time to pass notifications from different components to display their message.

## Setting Notifications from components:

```javascript 
// React Notification
import { NotificationManager } from 'react-notifications';

// Add this line where you want to show the notification
NotificationManager.info('Hey I am Adyasha', 'Info!', 2000);

```
Horray, you did it. Now you can run your project.

## Available NotificationManager APIs:

You can apply this same method to different components in your project. Notifications will be displayed in different colors depending on the notification type.
For this package, there are four different APIs available to us of the following types:

- info
- success
- warning
- error

![Image](https://camo.githubusercontent.com/5552056a6a08decb8c056714ddb5f14cdde85cf998c81e2d6c8693b363923ede/68747470733a2f2f6465762d746f2d75706c6f6164732e73332e616d617a6f6e6177732e636f6d2f692f63327a6235743430776872376f327233366561672e706e67)

Here’s an example for the _success_ type — simply replace _success_ with the proper notification type for the given situation :

` NotificationManager.success(message, title, timeOut, callback, priority); `

> You can also pass five different parameters along with the message: _message_, _title_, _timeOut_, _callback_, and _priority_.

The parameters that follow the notification type are described below:

- _message_: The message we want to pass. It has to be a string.

- _title_: The title of the notification. Again, its type is a string.

- _timeOut_: The popup timeout in milliseconds. This has to be an integer.

- _callback_: We can pass a function (type; function) through the notification. It executes after the popup is called.

- _priority_: This is a boolean parameter. We can push any notification to the top at any point by setting the priority to true.

That's all. Thanks for your patience ❤️! Have a nice day ;)

Find me on Twitter [@Adyasha8105](https://twitter.com/Adyasha8105)👀.
20 useful free resources for Web Developers
Tags: webdev, codenewbie, beginners, javascript
Published: 2021-04-20 11:35:02

_If you found value in this thread you will most likely enjoy my tweets too so make sure you follow me on [Twitter](https://twitter.com/VladPasca5)  for more information about web development and how to improve as a developer. This article was first published on my [Blog](https://vladpasca.hashnode.dev/)_

#### 1.  [HTML and CSS Free Templates](http://www.mashup-template.com/templates.html)
#### 2.  [The Modern JavaScript Tutorial](https://javascript.info/)
#### 3.  [JavaScript questions](https://github.com/lydiahallie/javascript-questions) 
#### 4.  [JavaScript Cheat Sheet](https://zerotomastery.io/cheatsheets/javascript-cheatsheet-the-advanced-concepts/) 
#### 5.  [Squarespace logo Maker](https://www.squarespace.com/logo#N4IghgrgLgFgpgExALgGZgDYGc4F8gAA) 
#### 6.  [Flexbox Defense](http://www.flexboxdefense.com/) 
#### 7.  [Grid Garden](https://cssgridgarden.com/) 
#### 8.  [100 Free Illustrations](https://illlustrations.co/) 
#### 9.  [Curated Colors in Context](https://www.happyhues.co/) 
#### 10. [Learn Git Branching Interactively](https://learngitbranching.js.org/) 
#### 11.  [Free Image and Photo Resizer](https://promo.com/tools/image-resizer/) 
#### 12.  [Public APIs](https://public-apis.xyz/g) 
#### 13.  [Lorem Picsum](https://picsum.photos/) 
#### 14.  [Responsively](https://responsively.app/) 
#### 15.  [Website Speed test](https://t.co/T6qGaJx77n?amp=1) 
#### 16.  [Dev fonts ](https://t.co/chSSKWCzDE?amp=1) 
#### 17.  [Codeimg](https://t.co/oafw32JCKx?amp=1) 
#### 18.  [Generative Placeholders](https://t.co/fmsVPF5bZE?amp=1) 
#### 19.  [Wireframer](https://t.co/lyjtdUHdSx?amp=1) 
#### 20.  [Git Command Explorer](https://t.co/T5VJgxcW1k?amp=1) 

#### The end

_I hope found this useful and if you did please let me know. If you have any question feel free to DM me on  [Twitter](https://twitter.com/VladPasca5) ._
Top 10 AI projects for Resume 
Tags: python, ai, programming, productivity
Published: 2021-04-20 11:14:49

1 Jarvis AI

{% youtube NZMTWBpLUa4 %} 

2 Face Recognition + Attendence 

{% youtube sz25xxF_AVE %}

3 Personal AI Trainer

{% youtube 5kaX3ta398w %}

4 Write in air 

{% youtube QBGBnjIkRaw %}

5 Car Detection 

{% youtube O3b8lVF93jU %}

6 Stock Detection 

{% youtube QIUxPv5PJOY %}
   
7 Distance Detection 

{% youtube mFLZkdH1yLE %}

8 Object Detection 

{% youtube RFqvTmEFtOE %}

9 Hand Tracking 

{% youtube NZde8Xt78Iw %}

10 Ball Tracker 
{% youtube FN-YWTbVda8 %}

__Do you want to Kick-start a career in Cyber Security and want to know how hackers hack in real life ☠️☠️__

Join Now and support us !!! 
200+ Members already Joined

https://t.me/infosecbugbounty
How Machine Learning Changing Marketing?

Tags: machinelearning, python, learnpython, datascience
Published: 2021-04-20 11:08:46

There is a lot of publicity about machine learning (ML). In fact, it’s the most talked about business issue at the moment. However, when you overdo inspiration, ML’s extensive applications for media professionals, sellers, and shops are self – evident.

Many vendors are struggling with high data that they can access. Collecting even the essential statistics of information is problematic considering the total amount and the various ways in which it can be analyzed. This indicates that targeting ads and deep understanding of the target audience is incomprehensible. It takes a lot of time to swim through historical reporting.

To do that, we need to use a kind of AI machine learning that enables computers to learn things by clearly programming them into important tasks, the way the human brain does.

In advertising, machine learning allows software to basically mimic the mind of a buyer who is experienced in making the optimizations a buyer wants. In addition, the framework learns after some time and produces more accurate results when working on new campaigns, which creates intense interrelationships for the human mind to discover.

The insights ML can bring are amazing, to be honest. Profile information and behavioral statistics mean that we can now accurately see each person in your target audience. As you know, it is classified as “cognitive”. Cognitive intelligence includes details such as a user’s behavior, cognitive and media habits, interests and desires. Cognitive advertising creates a value by fully understanding customer thinking than ever before, and ML and AI are the developments behind it.

Social media platforms are an incredible source of important information. These platforms are places where individuals talk about their inclinations, follow their favorite artists and comment on the places they visit. Machine learning frameworks can go into this data to build inputs that help advertisers connect more accurately with the primary target audience.

When you provide a computer with an important database of information, you can achieve mental interactions that the human mind will be more eager to create. In the light of analyzing some of the information, a framework using AI may conclude that young people who like a particular type of music and are interested in sports are obliged to download an application.If your campaign targets app downloads, the framework will ensure that these audiences have the option of viewing your ads, which will come with optimizations that the buyer will never want to do.

Techno Dot Academy offers a wide variety of courses to accelerate the career in the software field. Our expert team of educators focus on industry relevant skills and prepare the learners to become future ready Machine Learning professionals. Techno Dot Academy helps to master the concepts in ML and pioneers our career in the top companies. Enrich your knowledge and enhance your skills with TDA. 

Visit: https://www.techno.academy/
How to onboard yourself onto a new project
Tags: development, onboarding, requirements
Published: 2021-04-20 11:37:01

---
title: How to onboard yourself onto a new project
published: true
date: 2021-04-20 10:56:00 UTC
tags: development,Onboarding,requirements
canonical_url: https://craignicol.wordpress.com/2021/04/20/how-to-onboard-yourself-onto-a-new-project/
cover_image: https://craignicol.files.wordpress.com/2020/02/wp-1582925757549.jpg
---

In a well-managed software environment, you’ll have a mentor to help you get up to speed with a new project. But that doesn’t always happen. So here’s some tips I’ve picked up about how I onboard myself onto a new project.

## Always ask questions.

That’s how to understand documents and code. If it seems like something obvious, [ask a rubber duck first](https://en.wikipedia.org/wiki/Rubber_duck_debugging), but on my team, I always prefer the developers who ask for help when needed than the ones who struggle along in silence.

For big documents, always expect to send a clarifying follow-up. Write notes and questions as you go through. Some things will be answered, even if not in the order you expect, but reviewing the document shows you’re taking it seriously, and you’ve taken time to process it.

## Rewrite it on your own terms

I’ll tend to write notes about the business domain, possibly a glossary, as well as key concepts that will inform how it needs to be built, such as the main user flows, any special rules around security or performance, or specific highlights that meet the project goals (i.e. the high-level view of what must the project have to be successful. Sometimes it helps me to draw diagrams for the flow, or for the connections between different parts of the system.

## Ask more questions

For other questions, a good rule of thumb would be if you can’t figure it out yourself or via Google (or project docs) within 30-60 minutes, ask someone else.
Which Linux distro do you use?
Tags: linux, devops, discuss, watercooler
Published: 2021-04-20 10:48:13

Hello everyone!

A few weeks ago I've created a blog post and asked if you use Linux and why. Following this one, I would like to use you which is the Linux distro that you use and why you've chosen it. Also, feel free to share your experience and what other distros you've used along the way before choosing your current distro.

For me, it was Linux Mint for my work PC. This was my first Linux experience. I've bought a laptop that came with OpenSUSE and I've used it for some time, but then I've upgraded to a dual boot setup with Ubuntu 16.04. Now I'm using Ubuntu 20.04 with KDE and CentOS 7 for my servers.

I'm curious to hear what you're using and what was your journey as well!