teleren/devto huggingface dataset:
Hashnode Technical Writing Bootcamp
Tags: beginners, codenewbie, learning, blogging
Published: 2020-09-22 09:34:59

---
title: Hashnode Technical Writing Bootcamp
published: true
description: A summary of Hashnode Technical Writing Bootcamp by Catalin Pit
tags: #beginners #codenewbie #learning #blogging
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/fcslue8l44s8ks916efo.png
canonical_url: https://dinmon.tech/hashnode-technical-writing-bootcamp
---
It's been three weeks since I joined Hashnode and I can say with no regrets that I did the right thing.

I accumulated a long list of accomplishment in which I will name a few:
- Written four blog posts
- Participated in the technical writing Bootcamp
- Met up with the charismatic Catalin Pit
- Engage with the Dev community. 

In this article, I'd like to share a summary of Catalin's talk at the Technical Writing Bootcamp. He spoke about target audience, article structure and paid articles. Let's jump right in!

## Content
- Know your target audience
- Article structure
- Paid articles
- Conclusion

## Know your target audience

In this section, Catalin spoke about the importance of knowing your audience. And how in doing so, it can save you from losing it. For example, if you target junior developers as an audience, avoid complicated topics. Instead, choose the right words and appropriate language that best suits them.

Thinking about it, writing a blog is like selling a product to someone to a specific niche. Customising your content to the image of your audience will guarantee you success.

## Article structure


> It's the little things that count, hundreds of 'em. — Cliff Shaw

This quote sums up how simple tips about writing an article can have a significant impact on the reader.
In his talk, Catalin went over key points to improve your articles. I have combined them into the below bullet points to keep it short:
- Add heading and introduce section to your post.
- Prefer short sentences over complex sentences.
- Favour sentence with an idea and be concise.
- Use active voice over passive voice.
- DO NOT include acronyms with no definition.
- Create an impact on the first paragraph
- Use the ordered list for instructions and unordered list for other things like ideas.

In sum, what he was trying to explain is that format matters. A well-structured article with headings, spaces, paragraphs is more comfortable to read.

## Paid Articles

Writing is good. Having an audience is good. But what if, you can make some money from it?

Catalin gave two pathways to follow to make some side money. Getting in touch with FreeCodeCamp to introduce your blog post's idea.  Or, pitching to potential websites to promote your content and earn some money.

Either way, both demand consistency and hard work to publish on those platforms.

## Conclusion

This talk was very informative, and it was the first of a kind that I attended. I hope that this article will help in promoting excellent writers in the future.

If I may add one advice from all what Catalin said is to: read blog posts more often to pick up the TO-DOs to write articles.
Special Event: Cracking The Engineering Management Interview with Mallika Rao
Tags: career, techtalks, motivation, interview
Published: 2020-09-22 09:03:19

**How Do You Prepare For Working At a Big Tech Company Like Twitter? What Steps In Your Career Lead To This?**

**About this Event**

In this North Fireside Chat, we'll explore the topic of cracking the engineering management interview and advancing your tech management career with **Mallika Rao, Software Engineering Manager at Twitter.**

**Register to attend here:**

https://www.eventbrite.com/e/cracking-the-engineering-management-interview-with-mallika-rao-tickets-121733438993

**We'll drill down into topics like:**

* How Do You Prepare For Working At a Big Tech Company Like Twitter?
* How Do You Land and Ace an Important Job Interview?
* What Steps In Your Career Lead To This?
* What Are The Best Practices in Engineering Management?
* How Can Developers Better Their Professional and Personal Skills?
* How Can You Boost Your Career Opportunities?

Join our **free** North Fireside Chat to find out answers to these questions, and more!

**This North Fireside Chat's guest speaker will be Mallika Rao.**

Mallika Rao loves solving difficult problems in tech. She takes both the Engineering and Leadership aspects of her job very seriously. Working for big companies and startups, she discovered that she is someone who is deeply curious and will put in whatever work it takes to satiate that curiosity. She is soon starting her new position as **Software Engineering Manager at Twitter**.

She applies the first principles and life theories that she loves formulating to her leadership. When she’s not working, she’s still working—on herself, building stuff in her backyard, or climbing a mountain. With a relentless pursuit of growth, she approaches every job like her first job. She believes that her team and people are the company’s first customers and walks this talk every day. Her mantra, inspired by stoicism, is that "happiness is in usefulness".

**At the end of the chat, we will have a Q&A session with the audience.**

Please feel free to send us in your questions via the event registration here on Eventbrite, the live comments section on YouTube, where we'll be streaming the event - or drop us a line at founders@telepat.io.

**Join the accelerator club for outstanding developers.**

**Telepat North** is a club for outstanding coders, offering members free books, courses, learning resources, swag, and remote work opportunities!

If you’re interested, you can learn more by visiting [Telepat North](https://north.telepat.io/?utm_source=dev.to&utm_medium=page&utm_campaign=dev.to).

If you enjoyed this article, press the “Follow” button to get more content that will help you become a better technology professional. You can also [subscribe to our YouTube channel](https://www.youtube.com/channel/UCehgPeVnbdWf4or-ywsSkSw), and follow us on [Facebook](https://www.facebook.com/telepatio/), and [LinkedIn](https://www.linkedin.com/showcase/telepat-north/).
The 6 commandments of web scraping
Published: 2020-09-22 09:00:38

The 6 commandments of web scraping are:

1. Though shalt always use a framework.
2. Though shalt use CSS selectors or XPath for web scraping.
3. Though shalt build monitors that check for expected results in your crawler.
4. Though shalt imitate humans at every turn.
5. Though shalt use a rotating proxy service.
6. [Optional] Though shalt use these 4 external services to stabilize your web crawler.
My #100DOC - Day 26
Tags: 100daysofcode, challenge, log
Published: 2020-09-22 08:57:10

### Day 26: September 21, 2020

#### **Today's Progress**: 
1. **[Continued with Tim Buchalka's Java Programming Masterclass course](https://github.com/pablohs1986/javaProgrammingMasterclass_Buchalka)** (1h 10min):<br>I ended Numbers To Words exercies.
    
#### **What I learned**: 
* Review of how to count digits of an int and reverse it in Java.

#### **Total time**:
1h 10min.
Understanding Docker: part 7 – Docker Registry
Tags: docker, devops, beginners, cloud
Published: 2020-09-22 08:57:08

---
title: Understanding Docker: part 7 – Docker Registry
published: true
description: Serie of sketchnotes about Docker. Explaining in a visual way Docker principles.
tags: Docker, DevOps, beginners, Cloud
series: Understanding Docker in sketchnotes
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/1m963oskq7sxnwod4441.jpg
---

Understanding Docker can be difficult or time-consuming. In order to spread knowledges about Cloud technologies I started to create sketchnotes about Docker. I think it could be a good way, more visual, to explain Docker (and others technologies like Kubernetes and Istio).

We continue the serie of Docker Sketchnotes with a focus about Docker registry.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/1m963oskq7sxnwod4441.jpg)
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/mrq9rmbq1zl79qf5e760.jpg)

If you are interested, I published all the sketchnotes on Docker (and new ones!) to make a "book" of 93 pages: ["Understanding Docker in a visual way"](https://gumroad.com/aurelievache#YTLzM).

As usual, if you like theses sketchnotes, you can follow me, and tell me what do you think. I will publish others sketchs shortly :-).
Count of positives / sum of negatives with JavaScript
Tags: javascript, 100daysofcode, codenewbie, codewars
Published: 2020-09-22 08:43:45

{% youtube m1i8jWBavY8 %}

To solve this problem, we'll take 3 different approaches.
Enjoy the video 😀🙏

Also written version https://losseff.xyz/katas/016-count-of-positives-sum-of-negatives/javascript/
how to make the current page   active in HTML-CSS with the help of js
Tags: webdev, discuss, javascript
Published: 2020-09-22 08:37:40

Hii, I am new to web development and I am loading my navigation across all webpages with the help of load. Now my question is how can I make the current page active. I have already tried adding the class active, used eventlistener but it doesn't work. The page url changes but the active status remains default. Tell me how can I solve this issue.
Thank you
Web design does not need Paid Software
Tags: design, webdev
Published: 2020-09-22 08:34:25

## **Introduction**
In this post I am going to discuss what are some options for designing Wireframes/UIs using free tools for self-growth and knowledge improvement. Before proceeding, I would like to note that not all software in here is free for commercial purposes, but for individualistic improvements it is a great start. 

In order to proceed, let us make some considerations:
* tools have to be free or freemium providing a huge amount of features or some extended storage in the platform or website;
* there has to be no installation process 
* the output wireframe/UI can be downloaded and edited easily

Now that we have setup some basic consideration to proceed on how to assess the tools, I will categorize the post in Online tools, and offline tools.

## **ONLINE TOOLS**
In this category I am going to share the tools that I see as powerful for creating designs on the web. There are many wireframe tools, although none of them are highly customizable or very restrictive.

### **Canva.com**
Canva is definitely one of the biggest players in the online design for website or for other type of formats. In one of my recent videos on Youtube I made a point showcasing that it is possible to design wireframes in Canva by using properties such as shapes and grouping items for the scenario. Here I share my video again:

{% youtube uKvO5zpdiso %}

If you have watched my video, you may see that it is possible to create great wireframes for web design related material. You can also use multiple pages in canva allowing to both do wireframes as well as convert to a design interface with styled items and portions of the site.

### **An online paint website**
In this type of website I am referring to all cloud hostings like google drawings or its alternatives for designing wireframes and UI design. These tools allow users to create great wireframes, unfortunately for ui designs is very bad. Either normally users need to install on their account some stock photos to use for templates or use urls and embed them. 

Secondly depending on the tool, there may be some restrictions on file size, cloud size and projects number.
Many website outweigh the benefits from the disadvantages, therefore I added them on this list

## **OFFLINE TOOLS**
There are many offline tool available by default, here are some suggestions by categories.

### **A writing software**

Some writing software allow to write and create sketches from within the application. this is great for wireframes and documenting the purpose or goal of the interface or annotate the components.

### **An offline Sketching tool**

This tools are similar to the online versions such as the Paint, paint3D on Windows or Notes app in macOS/iOS. They are downloaded by default in the operating systems since they are developed by the operating systems companies and have powerful drawing features. For designing the website this is though a limitation and it is probably best to invest into an online tool.
A static version of your website hosted on a CDN?. Test it here for free
Tags: saas
Published: 2020-09-22 08:32:21

Ever wondered what a static, CDN hosted version of your website would feel like? Ever wanted to see how much better it would perform? Test its page speed rank on Google against the regular one? You can now do that risk free. My new product EdgeNet does just that. Basically, EdgeNet is going to be a SAAS service that converts your website into a static one and deploys it on a world wide CDN automatically. It also detects content changes and automatically syncs it. I am developing this because I needed a way to increase the page speed for many of my websites but wanted to retain the control that a CRM gives me. Just tell me your website and I will create and host a temporary static one on a worldwide CDN in very quick time. All for free. Then tell me if you find any issues or have any other feedback. That's all I want. I want to test my technology against as many different types of websites as possible.
Thread - DevSecOps Automation on GitHub Thread - Part 1
Tags: github, security, tutorial, devops
Published: 2020-09-22 08:16:16

## Code Scanning

GitHub is working immensely to improve security issues in the open source repositories hosted on its platform, further evolving from its traditional **Source Code Management** approach to **DevSecOps** using its in-house Continuous Integration platform, **GitHub Actions**.

> Securing Software, Together

With above motto in mind, GitHub has released its new feature called **Code Scanning** in [Beta](https://github.com/features/security) - releasing publicly soon after taking feedback from those who are using it in early access.

## What is Code Scanning?

Code Scanning is an upcoming GitHub Native tool to find security vulnerabilities and coding errors in the repositories.

For any error/vulnerability found, GitHub creates an alert in the repository which can be removed only after the triggering cause has been fixed.

Code Scanning is automated using GitHub Actions and can be setup using **time-driven** triggers or **event-driven** triggers

## The CodeQL Engine

Code Scanning uses [CodeQL](https://securitylab.github.com/tools/codeql) Engine for semantic code analysis.

QL is an object-oriented programming and query language that powers CodeQL.

CodeQL supports both compiled and interpreted languages including - C/C++, C#, Golang etc.

## Third-Party Support

GitHub's Code Scanning is compatible with third-party tools given that they follow the open standard **SARIF** protocol (Static Analysis Results Interchange Format)

### References / Further Readings

https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/about-code-scanning

https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/sarif-support-for-code-scanning

### Adios

The posts are meant to spread awareness about the latest tips and tricks for upcoming and trending technologies in the software world.

If you like this work, please support me by following me on Dev, [GitHub](https://www.github.com/NishkarshRaj) and [Twitter](https://www.twitter.com/NishkarshRaj1). Cheers! :heart:
Images Dataset is not Loading!!!
Tags: machinelearning, python, scipy
Published: 2020-09-22 08:06:04

You can see the given code in the image and the error its giving. I am using ubuntu 18.04 and everytime I try to load the dataset from the image folder it shows an error. Guys if you know how to handle this plz help me. This simple problem is wasting my lot of time!!!

Code:
import numpy as np
import matplotlib.pyplot as plt
import os
import cv2
from tqdm import tqdm

DATADIR = "'/home/akshat/Documents/Cats and Dogs/training_set      /training_set/IN/Dog'
"

CATEGORIES = ["Dog", "Cat"]

for category in CATEGORIES:  # do dogs and cats
    path = os.path.join(DATADIR,category)  # create path to dogs and cats
    for img in os.listdir(path):  # iterate over each image per dogs and cats
        img_array = cv2.imread(os.path.join(path,img) ,cv2.IMREAD_GRAYSCALE)  # convert to array
        plt.imshow(img_array, cmap='gray')  # graph it
        plt.show()  # display!

        break  
    break  

Error:
FileNotFoundError: [Errno 2] No such file or directory: '/home/akshat/Documents/Cats and Dogs/training_set/training_set/IN/Dog'

OS:Ubuntu 18.04

Tell me what I am doing wrong???
Card like countdown using HTML, CSS and JS.
Tags: html, css, javascript, tips
Published: 2020-09-22 08:04:35

Hi everyone!

Here I will post weekly simple tips and tricks for all the web developers and for those who are interested to pursue web development.
Hope you guys enjoy it.

Feedbacks and questions are welcome.

{% codepen https://codepen.io/shahirhossaini/pen/abNQgqp %}
100 Days of Code: Day 1
Published: 2020-09-22 08:02:04

Starting off day 1 of #100DaysOfCode

Setup my Laravel 8 development environment with Vagrant and Homestead. Moved the existing [HypeTracker](https://github.com/justinhodev/hype-tracker/tree/refactor-db-schema) database using the migrations feature. Really great documentation and tooling, really impressed by Laravel as a framework.

Don't knock off PHP! Frameworks such as Laravel and upcoming PHP 8 makes it extremely relevant for any developer.

Read why I'm refactoring an old project here.

{% link https://dev.to/justinhodev/coming-face-to-face-with-my-worst-code-3ln %}

Also managed to sneak in a leetcode easy but I'm proud to say I completely botched it haha.

![LeetCode Attempts](https://dev-to-uploads.s3.amazonaws.com/i/59pudty8wqs7xdqomaxm.png)
![Submission Performance](https://dev-to-uploads.s3.amazonaws.com/i/mtr51rhbtc377456dx33.png)

Lesson learned - I've gotten way too rusty at these since my last interview. Will have to brush up on algorithms.

If you are reading this, try taking the #100DaysOfCode challenge or comment what programming related task you were up to today!

Follow me below to keep up with my journey!
Learn Git visually !! BEST WAY TO LEARN GIT
Tags: git, github, beginners, bash
Published: 2020-09-22 07:53:10

###**Git** is a powerful version control system which is essential for programmers. But at the same time Git has a very steep learning curve as it requires a deep understanding and exposure to the process of programming. 

###Git offers a number of tools to handle multiple programming contributions, changes, sorting, comparison while keeping track of all.

###One the best way that I found to understand all of that is through **visualization of git.** 

###👉🏾 https://learngitbranching.js.org/   🚀🚀🚀🚀

###**Learngitbranching** offers that visualisation and is brilliant to start from zero and gradually understand the different stances of branching.

🏀🏀
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/xyrbfdjsi5ni269yb695.PNG)

🏀🏀
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/mw79i868he7l5im0luod.PNG)
The Trial Period for Staff Augmentation in JetThoughts
Tags: startup, engagement, team, development
Published: 2020-09-22 07:51:20

*We offer a 2-week trial with no obligation. So you can test everything and see how it goes with no financial risks at all. Let’s see how it works…*

##**What is the trial period?**##
The Trial period is primarily designed to test out whether new employees are a good fit for the business and allow both employer and employee to start an employment relationship.
This means that you try out JetThoughts’ service and get a better idea of how we work. The trial period is generally taken up to two weeks, this is enough time to confirm the engagement will be successful.

##**Why do we use the Trial period?**##
Nowadays, everyone uses different advertising tools and it’s hard to choose the one from all the companies that can really help. The trial period helps employers to be sure they’ve made the right recruiting decision and don’t regret it.
Moreover, employers can use the trial period to evaluate the performance, skills, and abilities of our team members.
This reduces the expense of continuing to employ someone who is unsuitable for the job and enables them to be replaced more swiftly.

##**How does the Trial period work?**##
If you’re completely satisfied with the results, we’ll ask for the first payment (for the time) and request to continue the engagement for as long as you’d like. Next to the trial period if both parts are comfortable with each other, you’ll get bi-weekly invoices to pay.

If you’re not completely satisfied, you won’t be billed. From there, we can either part ways, or we can provide you with another member of our team who may be a better fit and with whom we will begin a second, no-risk trial.

We understand that sometimes you can actually really forget about the ending of the Trial period. That’s why you’ll get a notification in two days before ending.

Given the potential pitfalls, if you are considering using the Trial period with us for your next hire, feel free to contact us and discuss further.
Python Lib path in RHEL 7
Tags: python
Published: 2020-09-22 07:46:00

I have a Virtual machine with RHEL 7. Where Python2.7 is installed (by default) comes with it. I have installed Python 3.6 installed separately like below.

wget https://www.python.org/ftp/python/2.7.6/Python-3.6.XX.tgz --no-check-certificate
tar -zvf Python-3.6.tgz
rm -rf Python-3.6.tgz
cd Python-3.6
./configure --prefix=/opt/python3.6 --enable-shared
make
make altinstall

Just ignore the path and all.

Now when I am installing the django framework I am getting below error.
Exception:
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/usr/lib/python3.6/site-packages/pip/commands/install.py", line 365, in run
    strip_file_prefix=options.strip_file_prefix,
  File "/usr/lib/python3.6/site-packages/pip/req/req_set.py", line 789, in install
    **kwargs
  File "/usr/lib/python3.6/site-packages/pip/req/req_install.py", line 854, in install

Its looking for Python site_packages in /usr/lib/python3.6 whereas it should look in /opt/python3.6/lib/python3.6/site_packages , any idea who to change that ?