teleren/devto huggingface dataset:
Hacktoberfest Week Three — Thank you to our Contributors on Forem ❤️
Tags: opensource, gratitude, meta, hacktoberfest
Published: 2020-10-12 21:39:19

---
title: Hacktoberfest Week Three — Thank you to our Contributors on Forem ❤️
published: true
description: Celebrating the folks who contributed to Forem’s codebase this week during Hacktoberfest
tags: opensource, gratitude, meta, hacktoberfest
series: Hacktoberfest Forem Contributions  
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/p4bldsje2eulkwgrrnnb.png
---


It’s the third week of Hacktoberfest and we’re continuing to celebrate by highlighting the amazing people in our community who have contributed to Forem's codebase!

We’re thrilled to share that we’ve had over 11 contributors this week commit improvements across the many projects we have in our web, iOS, and Android apps 🎉

Thanks to the help of these wonderful contributors, we’ve merged 15 PRs this week. Forem is still a small team so this amount of feature-building and bug-squashing is truly only enabled because of the community. 

As Forem grows, we intend to continue enabling the open source community to improve and expand our offerings with their invaluable help. We appreciate the contributors for helping us sow this open source commitment from day one.
 
If you are interested in contributing check out our post on Forem projects you can contribute to this Hacktoberfest.

{% post https://dev.to/devteam/contribute-to-forem-this-hacktoberfest-5cjj %}

In no particular order, here are the folks who made commits this week, their GitHub profiles, and their merged PRs.

[**Rachael Wright-Munn**](https://github.com/ChaelCodes) 
{% github https://github.com/forem/forem/pull/10577 %}

[**James Cote**](https://github.com/Coteh) 
{% github https://github.com/forem/forem/pull/10578 %}

[**Brunno Souza**](https://github.com/brunnohenrique) 
{% github https://github.com/forem/forem/pull/10384 %}
&
{% github https://github.com/forem/forem/pull/10663  %}
 
[**Drew Bragg**](https://github.com/DRBragg) 
{% github https://github.com/forem/forem/pull/10618 %}

[**Lito**](https://github.com/eusonlito) 
{% github https://github.com/forem/forem/pull/10612 %}

[**Andrew Bone**](https://github.com/Link2Twenty) 
{% github https://github.com/forem/forem/pull/10464 %}
&
{% github https://github.com/forem/forem/pull/10735 %}
&
{% github https://github.com/forem/forem/pull/10740 %}

[**Timothy Ng**](https://github.com/timorthi) 
{% github https://github.com/forem/forem/pull/10216 %}

[**Robin Gagnon**](https://github.com/reobin) 
{% github https://github.com/forem/forem/pull/10487 %}

[**Manaswini**](https://github.com/Manaswini1832) 
{% github https://github.com/forem/forem/pull/10543 %}

[**Christopher Wray**](https://github.com/cwray-tech) 
{% github https://github.com/forem/forem/pull/10719 %}

[**Rafal Trojanowski**](https://github.com/rafaltrojanowski) 
{% github https://github.com/forem/forem/pull/10614 %}

[**Irmela**](https://github.com/irmela) 
{% github https://github.com/forem/forem/pull/10544 %}


Thanks again for improving both Forem and the broader open source community by participating in Hacktoberfest. Happy coding!
My #100DOC - Day 47
Tags: 100daysofcode, challenge
Published: 2020-10-12 21:31:47

### Day 47: October 12, 2020

#### **Today's Progress**: 
1. **[Redesign of my portfolio](https://github.com/pablohs1986/pablohs1986.github.io)** (2h):<br>I ended the first part of works section and started with expandProjectOnClick function.
    
#### **What I learned**: 
* Review flex classes in Bootstrap.
* Review of JavaScript events.

#### **Total time**:
2h.
React Pro Tips - (Spreading Props, Fixing Broken Images, etc.)
Tags: react
Published: 2020-10-12 21:10:59


**Watch My Intro to React Video Playlist Here: https://www.youtube.com/playlist?list=PLY6oTPmKnKbb5sh681mrY7u3Hm1g5ecze**

## React

I regularly post code snippet images on social media, to make sure you don't miss one make sure to follow me on social media.

- Twitter: @alexmercedcoder
- Instagram: @alexmercedcoder
- Facebook.com: Fb.com/alexmercedcoder
- LinkedIn.com: linkedin.com/in/alexmerced

Here are some of those images for your code enrichment!

---
![Clearing Up Conditional Rendering](https://i.imgur.com/nQiHjfE.png)
---
![Passing Multiple Event Arguments](https://i.imgur.com/s34CqxR.png)
---
![Using Fetch in UseEffect](https://i.imgur.com/1lX0QKH.png)
---
![Lifting State](https://i.imgur.com/CfVGjnI.png)
---
![Spreading Props](https://i.imgur.com/xrcIWc1.png)
---
![Create-React](https://i.imgur.com/ck4XJGb.png)

**NOTE:** The webpack template name is actually reactwebp
Here is a few more quick ones

```bash
# Basic React Build
npx create-react-basic projectName
# Loaded React Build with Sass, Context, Router and some pre-build components
npx create-react-loaded projectName
```
---
![React Forms Psuedo Code](https://i.imgur.com/FmVooTJ.png)
---
![Using the Route Component](https://i.imgur.com/mmT41kP.png)
---
![React Context](https://i.imgur.com/jO5mIJP.png)
---
![React Styling with Props](https://i.imgur.com/jRfpjgu.png)
---
![Higher Order Components](https://i.imgur.com/5a4wngE.png)
---
![Fixing Broken Image](https://i.imgur.com/ggSX6WD.png)
Day 28 - Animated Windmill With CSS
Tags: beginners, codenewbie, css
Published: 2020-10-12 20:41:14

Over the weekend, I just wanted to something cute and fun. I ended up with a spinning windmill with CSS! 

## What I Learned
Nothing specific on this one, other than practicing layouts and layers. 

## How This Will Help Me
I continue to practice my knowledge with parent/child relationships.

Onto the next challenge!
Event-Driven Python on AWS
Tags: aws, devops, python, cloudguruchallenge
Published: 2020-10-12 20:41:10

Do you like challenges? Of course, everyone does. Ever since I completed the Cloud Resume Challenge, I was looking forward to the next challenge. Forrest Brazel announced on twitter last month that A Cloud Guru has started a successor to the Cloud Resume Challenge with monthly projects called the #cloudguruchallenge. September month's challenge is "Event-Driven Python on AWS" that runs until 15th of October 2020.

[Check this link for more information about the challenge](https://acloudguru.com/blog/engineering/cloudguruchallenge-python-aws-etl)
Day 27 - Sign Up Component
Tags: codenewbie, beginners, css
Published: 2020-10-12 20:35:25

I completed a sign up component that you can check out [here](https://josno.github.io/signup-form/)!

## What I Learned
I built signup components in React and this was a good lesson on using vanilla Javascript for validation. 

## How This Will Help Me
Because I was able to work with a provided styling guide, I get to move forward with a better sense of creating a well-designed sign up form!

Onto the next challenge!
Daily Coding #1
Tags: codenewbie, challenge
Published: 2020-10-12 20:15:51

Day - 1 (13th October 2020)
**CodeSignal**  <i>centuryFromYear.cpp</i>
```
int centuryFromYear(int year) {

    if(year<=0)
       std::cout << "Enter valid year";

    else if (year <= 100)
        return 1;

    else if (year % 100 == 0)
        return year/ 100 ;
    else
        return year/ 100 + 1 ;
        return 0;
}

```

**GeeksForGeeks**  <i>SumOfArrays.cpp</i>
```
//User function template for C++
class Solution{
public:
	// function to return sum of elements
	// in an array of size n
	int sum(int arr[], int n) {
	    // code here
	    int SUM=0;
	    for(int i=0; i<n; i++)
	    {
	        SUM+=arr[i];
	    }
	    return SUM;
	}

};
```
Xcode basics for cross platform app development (Flutter & React Native)
Tags: xcode, flutter, reactnative, react
Published: 2020-10-12 19:52:26

{% youtube AVPFsi786cc%}

Xcode can be very overwhelming for beginners. In this video, I will show you everything you need to know about Xcode for cross platform app development. What I show you works for both, React Native and Flutter. When you are done with this video, you will know how to build different versions/configurations of your app for debugging, testing, and production/distribution. You will also become familiar with the layout and interface of Xcode 10/11 on macOS Mojave/Catalina.
A funny thing about npm
Tags: discovery, npm, opensource, javascript
Published: 2020-10-12 19:49:58

Every now and then, I need to make a search on npm website. As I often do, I decided to add a new query URL in my browser.

So I searched for a random letter on npm website to see the pattern of the search query.

But, to my surprise, it redirected me to an existing package with this only letter as a name. "LOL", I thought.

Then I tried with "a" and it existed too! As a result, I eventually searched for all the alphabet and... all the alphabet exists! WOW. 😂

As a proof, I made a quick script to gather all of them and their descriptions. You can find it here:

https://github.com/Drarig29/npm-alphabet

Here is the full list:

- [a](https://www.npmjs.com/package/a) : Mocking framework and test framework in compact when-style. With recursive test runner
- [b](https://www.npmjs.com/package/b) : Benchmarks for Node.js.
- [c](https://www.npmjs.com/package/c) : Set and remove comments from files and directories, and view them from the command line.
- [d](https://www.npmjs.com/package/d) : Property descriptor factory
- [e](https://www.npmjs.com/package/e) : A modern universal utility library.
- [f](https://www.npmjs.com/package/f) : Functional Microservice Request Library
- [g](https://www.npmjs.com/package/g) : Globalize module functions
- [h](https://www.npmjs.com/package/h) : generate HTML from javascript array structures
- [i](https://www.npmjs.com/package/i) : custom inflections for nodejs
- [j](https://www.npmjs.com/package/j) : CLI tool for working with spreadsheet files
- [k](https://www.npmjs.com/package/k) : new web framework
- [l](https://www.npmjs.com/package/l) : Mix Async/Sync code with Promises and Streams in a reusable unified line
- [m](https://www.npmjs.com/package/m) : mongodb version management
- [n](https://www.npmjs.com/package/n) : Interactively Manage All Your Node Versions
- [o](https://www.npmjs.com/package/o) : common object helper functions
- [p](https://www.npmjs.com/package/p) : pattern matching in javascript for asyncronous iteration
- [q](https://www.npmjs.com/package/q) : A library for promises (CommonJS/Promises/A,B,D)
- [r](https://www.npmjs.com/package/r) : require relative to your root project
- [s](https://www.npmjs.com/package/s) : SheetJS Spreadsheet Helper Library
- [t](https://www.npmjs.com/package/t) : tree traversal and manipulation
- [u](https://www.npmjs.com/package/u) : A minimalist, functional utility library designed for embedding into another small program.
- [v](https://www.npmjs.com/package/v) : Secure, Synchronized, Realtime, Cloud, Native JavaScript Variables & Events
- [w](https://www.npmjs.com/package/w) : WordBox cli to quickly spin up PHP dev environments.
- [x](https://www.npmjs.com/package/x) : Apply HTML transformations using attributes
- [y](https://www.npmjs.com/package/y) : Simple object inspection tool
- [z](https://www.npmjs.com/package/z) : native pattern matching for javascript

Thank you for reading my first post! 😎
Password salts
Tags: password, salt, feynman, webdev
Published: 2020-10-12 19:26:49

# Password Salts

We should not store passwords in plaintext in our database. If a hacker got access to our database, they would know our user's passwords.

| username | password |
| --- | --- |
| anthony | password123 |

Instead, we should store hashed passwords in our database.

> See this [app for an example of hashing](https://lzfj1.csb.app/)

A hashing function is a one-way function. It means that it's very quick to hash an input, but it's very slow to get the original input from a hash.

This is awesome. If our database gets leaked, the hackers can't easily get the user's original passwords. That's perfect!

Except for rainbow tables.

Rainbow tables are hashes of popular or leaked passwords. If our user's passwords are in the rainbow table, their hashes will match the rainbow table.

> See [this app for an example of rainbow tables](https://leuds.csb.app/)

Another issue is we can tell when different users have the same password. Their hashed password will be the same.

This is where password salts can help. Password salts are randomly generated strings. Each users has their own unique password salt. We "sprinkle" the salt (like the condiment salt) to the end of their password.

We hash the password and salt together, and store it in the database.

> See [this app for an example of hashing passwords with salts](https://de7sk.csb.app/)

This is perfect. Rainbow tables are no longer effective. The hacker will have to brute force all passwords. 

Also, users can use the same password as each other. But the password salt makes their password hashes unique.
October Releases: Horizon 26.2.2, Meridians 2018.1.23, 2019.1.12, and 2020.1.0
Tags: news, horizon, meridian, release
Published: 2020-10-12 19:30:56

---
title: October Releases: Horizon 26.2.2, Meridians 2018.1.23, 2019.1.12, and 2020.1.0
published: true
cover_image: https://pbs.twimg.com/media/EjvIkfVXkAAlBO2?format=jpg&name=large
date: 2020-10-12 19:08:59 UTC
tags: News,Horizon,Meridian,Release
canonical_url: https://www.opennms.com/en/blog/2020-10-12-october-releases-horizon-26-2-2-meridians-2018-1-23-2019-1-12-and-2020-1-0/?utm_source=rss&utm_medium=rss&utm_campaign=october-releases-horizon-26-2-2-meridians-2018-1-23-2019-1-12-and-2020-1-0
---

In October we released a Horizon 26 bug fix release, as well as Meridian maintenance releases on the 2018 and 2019 branches. The biggest news, however, is the release of Meridian 2020.

## Meridian 2020

Meridian 2020 is the latest in the Meridian series, based on Horizon 26.1.3 plus a number of bug fixes that have gone into the 26 series since its release.

This marks the end of official support for Meridian 2017, although we will continue to make critical updates to the 2017 branch for Powered By OpenNMS customers.

For a high-level overview of what's changed since Meridian 2019, see [the Meridian 2020 landing page](https://www.opennms.com/meridian-2020/). The complete release notes are [available on meridian.opennms.com](https://meridian.opennms.com/releasenotes/2020/latest/#releasenotes-2020).

## Meridians 2018.1.23 and 2019.1.12

Meridian 2018.1.23 contained just [a small fix](https://meridian.opennms.com/releasenotes/2018/latest/#_release_meridian_2018_1_23) for using the correct (location-specific) SNMP config in the SNMP Interface Poller.

Meridian 2019.1.12 includes [a number of bug fixes and a few small enhancements](https://meridian.opennms.com/releasenotes/2019/latest/#_release_meridian_2019_1_12).

## Horizon 26.2.2

Horizon 26.2.2 contains [a number of bug fixes and enhancements](https://docs.opennms.org/opennms/releases/26.2.2/releasenotes/releasenotes.html#_release_26_2_2), including documentation improvements, time series updates, and a fix for UEI processing.
Eloquent Javascript
Tags: 100daysofcode, javacript
Published: 2020-10-12 19:04:08

I'm almost done with the book, Eloquent Javascript. My main takeaways for today.

Status codes starting with 
2 - indicate success
4 - indicate something went wrong with the request
5 - indicate an error happened on the server

File Paths when preceded by:
`.` stands for the current directory
`../` refers to one directory up
`/` refers to root of the file system

Remote procedure calls.
>  In this model, communication follows the patterns of normal function calls, except that the function is actually running on another machine.

`tabindex` attribute - used to influence the order in which elements receive focus.

_I have a thing for scanty notes. Like I dont wanna create another book from a book i'm reading._
_Thats it for day 88, I'm gonna try and complete the last chapter tonight_
sticky navbar on scroll reactJS
Tags: react, javascript, help
Published: 2020-10-12 19:02:35

Basically showing how you could achieve the bellow Navbar in react .
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/2rqdpb9okfk3qm6ubyad.gif) 

firstly you need to create a file then name it Navbar,
add 
 import <Navbar /> from '.Navbar'
on your App or Home component,
then go to the Navbar page you created and paste the below code 
```javascript 
import React from 'react'
import './Navbar.css'
class Navbar extends React.Component {
  listener = null;
  state = {
    nav:false
  }
  componentDidMount() {
     window.addEventListener("scroll", this.handleScroll);
   }
   componentWillUnmount() {
      window.removeEventListener('scroll');
    }
   handleScroll= () => {
     if (window.pageYOffset > 140) {
         if(!this.state.nav){
           this.setState({ nav: true });
         }
     }else{
         if(this.state.nav){
           this.setState({ nav: false });
         }
     }

   }

  render(){
  return (
    <div>
    <div className={`Nav ${this.state.nav && 'Nav__black'}`}>
    <img src='imgleftlink'/>
    <img src='imgrightlink' />
    </div>
    </div>
  );}
}
export default Navbar
``` 
create a css file and paste the bellow code for css , edit header color to your taste 
```css
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.Nav {
  margin-left: -40px;
  position: fixed;
  z-index: 2;
}
img ~ img  {
  position: fixed;
  right: 10px;
  top:8px;
}
.Nav__logo{
  margin-top: 12px;
}
.Nav__black{
  z-index: 2;
  background: rgba(0, 0, 0, 0.95);
  width: 100%;
}

```
Real Estate Developer to Software Developer
Published: 2020-10-12 18:54:04

#My journey to software engineering
From an early age I took apart all my toys. I was very interested in their design and learning about new mechanisms was just more interesting than playing with them.  These toys rarely made it back together, and most never functioned again.

Years later, I still find myself drawn to work and hobbies that involve piecing together solutions for difficult problems.  

#Perfecting the process
The process of understanding the big picture, developing a high level plan and then solutions for the unknown has always felt fun and natural to me.  Managing different types of projects always lets me learn new things.  Most importantly it also allows me another iteration of the research and implementation process.

In my previous role as a real estate developer / project manager, I was given a large amount of freedom to achieve our company's goals.  I found myself excelling at the project management aspects but I was increasingly drawn to high performance buildings and environmental solutions that are needed to help solve climate issues.

#Pivoting to solve different problems
After various university tours and many months of research, I resolved to pursue a career in software engineering.  I am drawn to the 'fail fast' approach and the requirement to understand the entire scope of the task at hand, with the ability to construct every detail.  Additionally, pursuing this career change is building on top of the knowledge I've gained from one of my hobbies - programming micro controllers for various items I could not find commercially available.

The next 5 months of bootcamp are sure to be a challenge, full of highs and lows.  After completing the program I hope to find a company that offers great mentors and to continue learning from seasoned professionals. Eventually, my goal is to aid in developing software to better people's lives and facilitate the transition to a cleaner, healthier environment.
Deprecated Decorator
Tags: typescript, javascript, deno, node
Published: 2020-10-12 18:52:08

This is the start of a series I am creating with various useful Typescript decorators.

You can track the progress of the series [on Github](https://github.com/shadowtime2000/useful-decorators).

# The Decorator
I want this decorator to be used like this:
```typescript
class MyClass {

	@Deprecated()
	doSomething() {
		console.log("DO SOMETHING!")
	}
}
```

# Source
```typescript
function Deprecated(): MethodDecorator {
    return (target: Object, key: string | symbol, descriptor: PropertyDescriptor) => {
        const original = descriptor.value;
        descriptor.value = (...args: any) => {
            console.warn(`Warning: ${String(key)} is deprecated`);
            original(...args);
        }
        return descriptor;
    }
}
```
Build a Responsive Website Using HTML and CSS in 30 minutes
Tags: tutorial, webdev, beginners
Published: 2020-10-12 18:48:17

{% youtube d-qVF18Q7es %}

In this video, I will show you how to create a responsive website using HTML and CSS. We will use Grid, Flex, Google Font, Font Awesome,... This tutorial is suitable for people who are starting with HTML and CSS.

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

We are going to create this website and you will be provided with the resources and design.

🚀  **Download the resources and design**:
Download starter: https://bit.ly/2Ifvxh8
Design: https://bit.ly/2GVUJbV

🏝 **Source code**: You have to create yourself 

📝  **Text Editor**: [VS code](https://code.visualstudio.com/)

🧑‍💻 **BEM naming convention** - I created my own, you can follow me or read more [here](https://en.bem.info/methodology/naming-convention/)

- Words within the names of BEM entities are separated by a hyphen (-).
- The element name is separated from the block name by a double hyphen (--).
- Boolean modifiers are separated from the name of the block or element by a double underscore (__).

⛑ **Other tools that I use**

- [Emmet](https://code.visualstudio.com/docs/editor/emmet)
- [Prettier](https://github.com/prettier/prettier-vscode)
- [Live Server](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer)

For other resources, check out **[devchallenges.io](https://devchallenges.io/)**

**Follow me:**

🐦 [Thu Nghiem Twitter](https://twitter.com/thunghiemdinh)
Dev.to Writing: Milestones
Tags: meta, writing, gratitude
Published: 2020-10-12 18:48:07

Last week I hit two modest milestones in my writing. I thought I'd share as I'm interested in how others are succeeding.

Over the last 26 weeks I've written at least one article/post (I guess make that 27 now?). Totaling 34 (now 35) posts on DEV.

I've gotten over 10,000 views across them all (milestone #1) for an average of ~290 views per post. I also just crossed 200 followers (thanks everyone, milestone #2), so I've averaged ~125% views per follower... which is.. good, I guess?

---

My most reacted to article was my last one (check it out?):

{% link https://dev.to/kallmanation/the-night-owls-guide-to-6am-3kld %}

My most commented article is (unsurprisingly) my #challenge:

{% link https://dev.to/kallmanation/unconditional-challenge-fizzbuzz-without-if-2ock %}

And my most viewed articles are both from my With Only CSS series:

{% link https://dev.to/kallmanation/styling-a-radio-button-with-only-css-4llc %}

{% link https://dev.to/kallmanation/styling-a-checkbox-with-only-css-3o3p %}

(at ~2600 and ~2400 views respectively; these two represent half of my total views... making up for all the less than 25 view posts I've made)

Which was surprising to me as I wrote this as I remember those articles not doing very well at all when they were first published.

---

I've also set up [Web Monitization](https://coil.com/?ref=dev) and a [Buy Me a Coffee](https://www.buymeacoffee.com/kallmanation) page. Which has gotten me a grand total of... wait for it: five cents! 

---

Okay, obviously none of these numbers are amazing or gigantic; but I'm proud of what I've done over the last 26 weeks, and I think I'll continue writing for the `< 25` people who read my regular work. Thanks! Peace
Asian betting sổ mơ
Published: 2020-10-12 18:36:14

Asian betting sổ mơ, trang thông tin trực tuyến 24/7 giải đáp các thắc mắc liên quan đến sổ mơ mới nhất. 
asianbettingsomo nhà cung cấp dịch vụ uy tín hàng đầu Châu Á
SDT: 09165993484
Gmail: asianbettingsomo@gmail.com
https://asianbetting.net/giai-ma-giac-mo
https://www.facebook.com/anhkiet.mai.14224094
https://twitter.com/asianbettingso1
https://www.instagram.com/somoasianbetting