teleren/devto huggingface dataset:
paperie - looking for beta testers
Tags: sideprojects, documentation, beta, showdev
Published: 2019-09-02 17:59:53

---
title: paperie - looking for beta testers
published: true
description: I made a simple documentation tool.
tags: sideprojects, documentation, beta, showdev 
cover_image: https://thepracticaldev.s3.amazonaws.com/i/cfuj3ivytfrtf9c59s78.PNG
---

So I made a very simple documentation tool during the summer, and I think it is time to go live soon, but have a beta test phase first!

Check that nice logo! Do you like that? ;)

These are the main features of the application:

- Manage your organisations, projects and documents

![organise your projects](https://thepracticaldev.s3.amazonaws.com/i/3tvu0brgyzc9p4r9ys60.gif)

- Add your custom CSS

![you can add your custom CSS](https://thepracticaldev.s3.amazonaws.com/i/hecbzul3tgvf78oje8d3.gif)

- Publish your documents (you can add a password, too)

![this is how you can publish your documents](https://thepracticaldev.s3.amazonaws.com/i/koz78tdkcmfvm4qszjy8.gif)

- Download your documents in PDF format

![download icon](https://thepracticaldev.s3.amazonaws.com/i/c3xaqeik7lqev9cv0eu4.gif)

# Looking for beta testers

If you think this application could help you or your company/organisation, and you want to have a forever free plan with all the features included then connect me here or send a letter to leonora.der@floppylab.com and I will send you all the details.

Looking forward to working with you! :)

---

Here is a longer list of features:
- manage people
  - registration
  - login / logout
- manage organisations
  - users can create organisations
  - an organisation has a name and can have a logo and custom CSS
  - manage people’s access
- manage projects
  - users can create projects in a selected organisation
  - a project has a title and a description
  - can be archived/restored
  - manage people’s access
- manage documents
  - users can create documents in a selected project
  - a document has a title, version and a description
  - view the rendered document
  - publish document
  - view the published document
  - download document in pdf format
  - manage people’s access
- manage files
  - users can create markdown files or upload markdown files, images or other resources to a selected document
  - manage the order of files within the document
  - edit markdown files
Presentations I would love to watch
Tags: devjournal, qualityassurance, security, infosec
Published: 2019-09-02 17:18:16


I was thinking if i could present or watch a presentation, what subjects would I be interested in.

### Information Security

__My Mobile App is leaking, what do I do?__

 - With the amount of new applications that are on the Google and iOS Marketplace, it is inevitable that some of the applications are not going to be as secure as they should be. The focus of the applications are the easy targets of kids games. How do we know that the new Dora the Explorer app isn't mining your phone and telling the world your secrets. This talk will show you how to check the applications
 - What to look for when browsing the Marketplace
 - Permissions, why do you want to access that?


__Is there any room at the Inn?__

 - It's late, you've gone through passport control and you arrive at your hotel. You've paid €/$/£25 for next day breakfast and all you want to do is crash in your room.
   - You get into your room and notice that they have Wifi. Sometime's it's a private one, sometimes it's a public wifi with no credentials. As a savvy user of the Internet, you want to know the dangers and what you can do to secure your laptop and data. This presentation will tell you how.

__Did you check the front door?__

 - You've got a new modem and you've hooked up all of your devices to your network. You've got your macbooks, PS4, XBoxes, Iot Kettle, your Google Home/Alexa. How do you check that you've locked the front door and no-one is spying on you.
   - How to check your IoT devices
   - How to ensure that you've locked the front door and you have no open ports
   - Good Home Network Hygiene 
   

__Hi, My name is 'Name'__
 
- You work as a QA but you're interested in Information Security. How do you approach your Information Security department and integrate yourself with them. How do you let them know that you're interested in what they do. I know people enjoy talking about themselves (well maybe not Info Sec people, what with Social Engineering). How can you do the above without annoying them.


These are just ideas I've had and I'll be thinking and doing a post about the Quality Assurance talks that would be interesting. Let me know what you think and if there are good presentations about the above, then please let me know.
Determining class of an object with case equality operator (===)
Tags: ruby
Published: 2019-09-02 16:59:53

Case equality operator (or triple equals, `===`) in Ruby returns true if the passed class is in the ancestors list of the passed object's class:
```ruby
1.class.ancestors # [Integer, Numeric, Object, ...]
Numeric === 1 # true
Object === 1 # true
```
So it can be used for determining object's class:
```ruby
String === 'abc' # true
'abc'.class #=> String
```
In cases above the case equality operator works like `#kind_of?` (or `#is_a?`):
```ruby
1.kind_of?(Integer) # true
1.is_a?(Numeric) # true
```
The classes above has different implementations of `===` operator, that's why the results of comparison are different:
```ruby
String.===('abc') # the same as String === 'abc'
```
Also it means that order of the arguments is important:
```ruby
1 === Integer # false
```
Making changes to React Docs
Tags: react
Published: 2019-09-02 16:53:02

Hi everybody!

I noticed one thing here in the https://reactjs.org/ and wanted to share with you. In the "Advanced Guide" part of the documentation "Forwarding Refs" section comes BEFORE "Refs and the DOM" section. However, the docs explain what refs are, how to use them and why would someone want to forward refs in the "Refs and the DOM" section. I thought that bringing an attention to the issue and reordering the docs would help the community. Cheers!
The 7 Most Popular DEV Posts from the Past Week
Tags: top7
Published: 2019-09-02 16:45:16

---
title: The 7 Most Popular DEV Posts from the Past Week
published: true
description: A round up of the most-read and most-loved contributions from the community this past week.
tags: icymi
cover_image: https://thepracticaldev.s3.amazonaws.com/i/sfwcvweirpf2qka2lg2b.png
---
Every Monday we round up the previous week's top posts based on traffic, engagement, and a hint of editorial curation. The typical week starts on Monday and ends on Sunday, but don't worry, we take into account posts that are published later in the week. ❤️


#1. Program w/ Prolog


>_It just_ **doesn't.make.sense**

..until it does! Luke shares how learning Prolog changed their perspective on problem solving.

{% link https://dev.to/lukegarrigan/the-programming-language-that-changed-my-life-2kc7 %}

#2. No more calculator apps!

Cameren recommends ten interesting public facing APIs to consider for your next project. 

{% link https://dev.to/camerenisonfire/10-intriguing-public-rest-apis-for-your-next-project-2gbd %}


#3. Deep Dive

This is the kickoff post in a series on how Node.js works internally. In this post, we learn about the history of Node.js and JavaScript.

{% link https://dev.to/khaosdoctor/node-js-under-the-hood-1-getting-to-know-our-tools-1465 %}

#4. Two Birds, One Stone

A massive list of tutorials and projects for new developers to tackle, ranked by difficulty.

{% link https://dev.to/mibzman/100-project-ideas-oda %}

#5. Time For Change

Kevin details their preferred front-end project architecture for scalable and maintainable apps. 

{% link https://dev.to/kevtiq/how-to-create-a-scalable-and-maintainable-front-end-architecture-4f47 %}

#6. Career Change

An extensive guide meant to ease job seekers through the entire job hunting process, from resume prep to interview day.

{% link https://dev.to/countrysidecoder/the-ultimate-guide-to-finding-a-job-in-tech-521l %}

#7. Balancing Act

Ali shares three useful strategies from Ladybug podcast on giving your side projects the attention they deserve.

{% link https://dev.to/ladybug/three-tips-for-balancing-side-projects-and-a-full-time-job-39e0 %}


_That's it for our weekly wrap up! Keep an eye on dev.to this week for daily content and discussions...and if you miss anything, we'll be sure to recap it next Monday!_
2019 Goals — August Update
Tags: goals, devjournal
Published: 2019-09-02 16:36:41

---
title: 2019 Goals — August Update
published: true
description: A progress update on my goals for 2019
tags: goals, devjournal
cover_image: https://images.unsplash.com/photo-1557689536-1dd254e4dc75?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1950&q=80
---

## Achievements

Here, I’ll share the goal followed by the related achievement of the month after the arrow.

### Intellectual
- Launch 2 projects on Product Hunt -> Launched the landing page for dip.chat 🎉

I worked all month getting things ready and last Friday, I launched the landing page for a virtual coworking community I've started called [dip.chat](https://dip.chat/) 😄

I'm really excited because we already have 200 members 😱

The idea behind it? Well, it came to me after months of going to coffeeshops in the weeknights and weekends to find the atmosphere I wanted while working on my side projects. 

I knew I could make it work when I heard about [Tandem](https://tandem.chat/). Tandem allows you to create rooms where you can instantly video/audio chat. By combing Tandem with a private Slack Workspace, dip was born 😄

I don't have any immediate plans for the future, but for now, you can sign up at [dip.chat](https://dip.chat/).


### Professional
- Write 6 articles -> How to Release a Custom React Component, Hook or Effect as an npm Package

This was a blog post in the making. I probably started it in August but Twilio finally published it on their blog! You can read it here: [How to Release a Custom React Component, Hook or Effect as an npm Package](https://www.twilio.com/blog/release-custom-react-component-hook-effect-npm-package)

- React Custom Hooks Workshop

Another project long in the making is the React Custom Hooks Workshop I've been working on for egghead. It's finally happening! In two weeks, I'll be teaching my workshop called "Create & Publish Custom React Hooks". There are still some tickets left if you're interested:

[Tickets](https://ti.to/egghead-live-online-events/create-publish-custom-react-hooks-with-joe-previte/)


That's all folks! Until next month!

### 
[Photo by Erik Mclean on Unsplash]
Need help dockerizing Spark
Tags: help, docker, devops
Published: 2019-09-02 16:30:00

---
title: Need help dockerizing Spark
published: true
description: 
tags: help, docker, devops
---

**Need Help**

I have been working on docker,where I have to run the spark application.
I tried using docker repository spark images but ran into issues, so I tried doing my own.

It worked out but every run its downloading spark and i am losing previously ran job logs.

*My requirments*

1. Is it possible to have seperate spark image and supply app.jar to it.

2. Instead of writing logs in docker can I direct it to host file system. 


*Docker file*

```
FROM alpine

ENV SPARK_VERSION=2.2.0
ENV HADOOP_VERSION=2.7
  
RUN apk add tar
RUN apk add aria2
RUN mkdir spark
RUN cd spark
WORKDIR /spark



#copy app.properties to docker
COPY app.properties .

# copy /home/exa9/SparkSubmit/App/target/App-0.0.1-SNAPSHOT.jar

ADD target/App-0.0.1-SNAPSHOT.jar app.jar


#Downloading Apache Spark and extracting

RUN aria2c -x16 http://archive.apache.org/dist/spark/spark-2.2.0/spark-2.2.0-bin-hadoop2.7.tgz

RUN apk add --no-cache curl bash openjdk8-jre \

      && tar -xvzf spark-${SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}.tgz





WORKDIR /spark/spark-2.2.0-bin-hadoop2.7/bin
CMD ./spark-submit --class com.Spark.Test.SparkApp.App --master local[*]  /spark/app.jar /spark/app.properties






```
New Start
Tags: newstart
Published: 2019-09-02 16:21:39

Today I'm going to start opening up more, to the #devcommunity, to #friends and #family. Before I felt like I was not good enough to have a voice, to be heard, even though I have been in this space for three years now and I know a lot; I can do a lot. So, look out world I am coming... 
Well until the world burns that is. This is a new start.
30 Days of Functional Programming
Tags: functional
Published: 2019-09-02 15:57:35

I have long had a fascination with learning new things. However, it is generally unstructured and follows whatever the interest of the moment is. I have been and continue to be a proponent of [motivation based learning](https://www.dslemay.com/blog/2018/09/10/the-439-day-journey-that-changed-my-life), believing that we learn best when there is an internal vested interest. At least for me, one downside of this approach is a propensity for cursory knowledge on many topics without revisiting them in more depth. This large surface area of topics has resulted in consistently saying, “One day I will get back to exploring topic X in depth”. Anecdotal experience has indicates lower follow through.

## A Proposed Solution

In a desire to explore topics in greater depth, I am engaging on a sort of gamified learning experiment. Over the next 30 days I am committing to spend at least 30 minutes each day on focused study on a topic of interest. From [my experience completing](https://www.dslemay.com/blog/2017/11/27/top-5-things-i-took-away-from-completing-100daysofcode/) the 100 Days of Code challenge, I found the consistent application on a focused goal a rewarding pursuit. It provides a sense of direction and loose boundaries around the learning process. With so many exciting things to learn and explore, it can be easy to shift from one to another as I have been known to do.

My vision for this experience is a means to have time-boxed focused study of a given topic. They may not occur every month, and a given topic may warrant more than one round of 30 days. I elected a shorter calendar duration than the 100 days of code challenge given the more specific nature of the topics.

So why functional programming? I’ve been looking for various areas to branch out of my normally realm of focus and further diversify my programming knowledge. I have come to appreciate the functional paradigms of the array methods in JavaScript and want to further my understanding of functional programming concepts. I have a couple of resources that I have been meaning to work through on the topic, and plan to finally make them a priority. In the same vein as 100 Days of Code, I will be sharing progress and lessons learned along the way with the hashtag [#30DaysofFP](https://twitter.com/search?q=%2330DaysOfFP+from%3adslemay+since%3a2019-08-01) on Twitter.
Codemod with jscodeshift help needed
Tags: help, jscodeshift, codemod, javascript
Published: 2019-09-02 15:38:21

I'm trying to write a small codemod to refactor some of the code. Consider I've somethihng like this:

```js
import { mod1, mod2, mod3 } from 'package1'
import localMod from 'package2'
```

and I wanted to change this to:

```js
import { mod1, mod3 } from 'package1'
import * as mod2 from 'new-package'
import localMod from 'package2'
```

As a first step, I'm trying to remove `mod2` from the 1st line of import which I did successfully, but I'm not able to remove the comma after `mod1`.

My code snippet so far look like this:

{%gist https://gist.github.com/astexplorer/1e88dc9f2b9ed28631d5977632b918d3/fcfe5a38bb5cab8a295d4aff106c4205ab5f5180 file=transform.js %}

Please help.
How I demonstrate growth mindset recently
Tags: javascri
Published: 2019-09-02 15:26:14

Hello everyone! I'm going to talk about my mindset has growth recently.

I was born in Rwanda and growth there. No difficult challenge I met. I could almost find everything I wanted cause I was with my parents. Little a bit I observed how parents and their fortune went away and I decided hard working.

So I left my parents in village and I join the town. I have little knowledge about the town and the people I knew in the town, I had not their contact.

By arriving in the town I went near bus station and carry bugs of passenger so their paid me in return I went to fast food houses to buy food. As I continue this job I get increased my money and begin communication with different people telling their experience. Luckily I met with an IT person who interested me a lot in the carrier of information technology.

I started there to attend some training in the field of computer until I found I am passionate with programming. It was not so easy as I spent a lot of my hours doing code, without a time to collaborate with my family and my friends. This time I was discouraged and started planning to leave the field. By reminding myself the main reason I left my parents in the village, energy came to me and I tell myself that tomorrow will be better with better familiarizing with codes so go through them without any problem.

I continued and I continued until I applied in Andela, the big family to employ, collaborate, teaching,... and now I am on the last stage of steps to join Andela.

I have expectation of being one of Andela members so:

I will enjoy the life in it including enjoying development of big software so big problems could be solved with help of my contribution
I will travel across the world meeting with people of different culture so I will like to adapt to those culture.
I will have new friends from andela and its partnership companies so this is new family that could care me and I could care it. 

I cannot skip the power of prayers as christian
Bootstrap Off Canvas
Tags: codepen, css, bootstrap, javascript
Published: 2019-09-02 13:16:57

# Bootstrap Off Canvas

<p>Just a simple implementation of off canvas on Bootstrap.</p>

---

# Basic Usage

<p>Import these lines on your source code.</p>

```html
<link rel="stylesheet" href="css/bootstrap-off-canvas.css">
<script src="js/bootstrap-off-canvas.js"></script>
```

<p>Then wrap your usual Bootstrap code in these lines of HTML codes.</p>

```html
<div class="off-canvas-wrapper">
  <div id="offcanvasid" class="off-canvas">
    <div class="off-canvas-nav">
      <div class="nav nav-pills nav-fill flex-column">
        <a href="#" class="text-left nav-item nav-link active">Link 1</a>
        <a href="#" class="text-left nav-item nav-link">Link 2</a>
        <a href="#" class="text-left nav-item nav-link disabled">Disabled Link</a>
      </div>
      <div class="off-canvas-content" data-target="#offcanvasid">
        <a href="#" class="off-canvas-toggler" type="button" data-target="#offcanvasid" aria-controls="offcanvasSupportedContent" aria-expanded="false" aria-label="Toggle off canvas menu">Toggle off canvas</a>
        <!-- Your usual Bootstrap code goes here -->
        <div class="container">
          ...
        </div>
      </div>
    </div>
  </div>
</div>
```

---

# Options

<p>In `off-canvas-nav` class, you may use the Bootstrap's Colors utility:</p>

[Colors](https://getbootstrap.com/docs/4.3/utilities/colors/)

<p>In `off-canvas-content` class, you may add `overlay` class to add overlay mask on the content part of your source code.</p>

# The repository

<p>Please click the link below to go to my Github repository</p>

{% github takaneichinose/bootstrap-off-canvas %}

---

# Conclusion

<p>In someone want to use this, you may use this as you please. I think, there is still a big room for improvements, so if anyone of you found a bug, or have a suggestion for feature improvement, please comment down below.</p>

---

# Demo

{% codepen https://codepen.io/takaneichinose/pen/pGxRLQ %}
How I demonstrated Growth Mindset recently
Published: 2019-09-02 14:24:48


One week ago I became aware how far I was qualified to be able to build the server side part of the app called Free Mentors and I was wondering how I was going to learn server side technologies so fast.On this journey of learning new server side technologies I had first to figure out what I knew and good at, after examining the last projects I have build I figured out that I was good at project management tool called pivotal tracker, git, github, css, html, and javascript.This made it easy for me to learn some of the technologies at hand like node.js which would require good knowledge of javascript.To complete the project's server side part I had to learn node.js, express, eslint, airbnb style guide, mocha, travicci, heroku and coveralls. Having known the knowledge I had to learn it was starting to seem possible.At this point I was attending andela prebootcamp circle 10, which was a good thing because I didn't have to struggle to find the right people to talk to about how I can learn these technologies.And it is in this prebootcamp that they I found the learning materials where I could go and learn on my own so at this point the process was becoming more easier.Immediately I started learning node.js and I exercised on a few core modules (path,fs,...) and latter I express.js. Along the way I had to be on time, so the skill I had to know at a certain time were not the skills I knew, so I faced another problem which was that the task that I was handling was above my present skill level.But I became excited to learn about these technologies even though I didn't have the prerequisite knowledge, I just went and started learning and at the end of the day I had gained something.Now another problem raised because I didn't know how to handle the next challenges because I didn't know how to solve them because I had jumped the content just to learn about the skills which was needed at that time.So at this point I had to level up my skill set on which I had jumped and I found the way of breaking down the learning resource and learn those parts that are very important to get the app working and I focused on those.All of this was possible for me because I knew that I must adapt very fast to the environment even though I haven't yet reached that level.And also I don't fear to dive right in the resources that I have to start learning. When I don't have time to learn from videos or books, then I take someone else code and I learn their code to understand how it works and from there I am able to write my own code. Any time I have a skill gap I see it as a time to stop sleeping a lot and spending my nights acquiring new skills. Along this journey I have survived because of the ability to communicate and ask questions and apply answers I get.Lastly these are the steps I take to have better skills; know what I need to learn, do everything in my power to find people who have those skills, and do exactly every advice they give.