teleren/devto huggingface dataset:
Join Learning Group 
Tags: learning, webdev, automation, react
Published: 2018-09-22 11:02:47

---
title: Join Learning Group 
published: true
description: Join Learning Group
tags: #learning #webdev #automation #react
---

Stay updated to technology and join below groups : 

1. Join Selenium Automation group :
https://groups.google.com/forum/#!forum/selenium-automation-learning-group

 
2. Join React and React Native Group :
https://groups.google.com/forum/#!forum/react-and-react-native-latest-updates
How To Wait For Page To Load/Ready In Selenium WebDriver
Tags: selenium, webdriver, automation, testing
Published: 2018-09-22 10:32:34

---
title: How To Wait For Page To Load/Ready In Selenium WebDriver
published: true
description: How To Wait For Page To Load/Ready In Selenium WebDriver
tags: #selenium #webdriver #automation #testing
---

Post Link: <a href="https://www.skptricks.com/2018/09/how-to-wait-for-page-to-load-ready-in-selenium-webdriver.html"> How To Wait For Page To Load/Ready In Selenium WebDriver </a>

In this tutorial, we are going to explain how to wait for page to load/ready in selenium webdriver. Generally selenium WebDriver handles web page loading or wait for page to load by It self. But sometime web pages are taking more time to load page, due to that driver script unable to find specified element in web page and that results in issue. So in that case selenium webdriver will throws exception message in console and stop the script execution. Here in this example we are using javascript executor to overcome page load issue and javascript executor also provides predefined function, that helps to check page load status.

<a href="https://www.skptricks.com/2018/09/how-to-wait-for-page-to-load-ready-in-selenium-webdriver.html"> How To Wait For Page To Load/Ready In Selenium WebDriver </a>
<img src="https://4.bp.blogspot.com/-FNbh5HjKNhs/W6YClJQzPeI/AAAAAAAAB5g/V5ixlkCN4HUBJOu2xgDLs2eyE2CAhRLHQCLcBGAs/s400/sel.png" />

Javascript execution example to check page loading status :
JavascriptExecutor js = (JavascriptExecutor)driver;
js.executeScript("return document.readyState").toString().equals("complete");

<a href="https://www.skptricks.com/2018/09/how-to-wait-for-page-to-load-ready-in-selenium-webdriver.html">Read More...</a>
How to create a Manjaro Linux live USB through the CLI
Tags: manjaro, usb, cli, tutorial
Published: 2018-10-02 23:12:54

---
title: How to create a Manjaro Linux live USB through the CLI
published: true
tags: [manjaro, usb, cli, tutorial]
canonical_url: https://lobotuerto.com/blog/how-to-create-a-manjaro-linux-live-usb-through-the-cli/
cover_image: https://thepracticaldev.s3.amazonaws.com/i/q9407upv9esr120sq26r.jpg
---

***

You can check the latest updated version of this article at [lobotuerto's notes - How to create a Manjaro Linux live USB through the CLI.](https://lobotuerto.com/blog/how-to-create-a-manjaro-linux-live-usb-through-the-cli/)

***

# Download the Manjaro i3 community edition

Talking about **Manjaro** I prefer the **i3** community edition.

Be sure to have an `.iso` file ready, or download the latest image from [here.](https://manjaro.org/community-editions/ "Manjaro Community Editions")

# Verify with SHA1 or SHA256

After you download the `.iso` file, you can also download the `.sha1` or `.sha256` files.

To verify the **ISO** against them, you can do this:

```
sha1sum -c manjaro-i3-17.1.12-stable-x86_64.iso.sha1
sha256sum -c manjaro-i3-17.1.12-stable-x86_64.iso.sha256
```

If everything is allright, you’ll see: `manjaro-i3-17.1.12-stable-x86_64.iso: OK`for both of them.

# Find the right letter for your device

Insert the stick into a port and get a list of connected devices with this:

```
sudo fdisk -l
```

Identify the letter for your drive on the output, in my case the drive I’m looking for is this one:

```
Disk /dev/sdc: 14.3 GiB, 15376318464 bytes, 30031872 sectors
```

_I can tell because it’s —supposedly— a 16GB device, look at the **14.3 GiB** size reported above._

In this example, the letter for the drive is the `c` from `sdc`. It could have been `b`, `d` or something else. Just **make sure** that it is indeed the drive you want to trash.  
You won’t be able to recover anything from it once it’s been _zeroed._

# Zero the bits out of the USB drive

Next, let’s _zero_ the drive out, this serves as a security measure and also it allows you to tell ifthe drive is still functioning well —if the drive is dying, the process will take an unusually long time, or it’ll get stuck before reaching the end, that’s a sign that you need to get a new USB.

Ok, let’s write zeros all over the USB drive with:

```
sudo dd if=/dev/zero of=/dev/sdc bs=4M status=progress conv=fdatasync
```

**NOTE:** Remember that the command above is considering that the USB is located at: `/dev/sdc`.  
Make sure you have the right path for yours!

That command will report progress back to you.

# Copy the ISO image to the USB drive

When finished, go to the directory where you downloaded the **.iso** file and deploy it to the USB drive like this:

```
sudo dd if=manjaro-i3-17.1.12-stable-x86_64.iso of=/dev/sdc bs=4M \
status=progress conv=fdatasync
```

That’s it, now you should have a bootable USB with **Manjaro Linux** in it!
docker+node+vue+apache
Tags: help
Published: 2018-09-22 00:55:51

---
title: docker+node+vue+apache
published: true
tags: help
---

Hi Dev's

I have 1 physical server with Centos 6. This a old server, with a lot services for my office, and now goes to migrating at new technologies. (Vue and node)


The cuestion... 

Its a great idea dockerizer the Website of my business?

I need dockerizer vue+node on same container, or one container for vue frontend and other for node backend container?

PD: I learning docker ... and English xD
Sketchnotes for "Getting Started with Redux"
Tags: blogentry, react, sketchnotes
Published: 2018-09-22 06:00:26

---
title: Sketchnotes for "Getting Started with Redux"
published: true
tags: Blog Entry,React,Sketchnotes,react
canonical_url: https://www.slightedgecoder.com/2018/09/21/getting-started-with-redux-sketchnotes/
cover_image: https://thepracticaldev.s3.amazonaws.com/i/c4b3l70rr3lctj8hfnyp.jpg
---

Recently read [The Sketchnote Handbook](https://www.goodreads.com/book/show/15858089-the-sketchnote-handbook) by [Mike Rohde](http://rohdesign.com).

One of the benefits is to retain knowledge longer by helping you convert abstract knowledge into visual representations.

Here are my first sketchnotes created while watching [Getting Started with Redux](https://egghead.io/courses/getting-started-with-redux).

## Sketchnotes

Here are the sketchnotes summarizing most of videos.

![page 01](https://i0.wp.com/www.slightedgecoder.com/wp-content/uploads/2018/09/page-01.jpg?w=1170 "page 01")
![page 02](https://i1.wp.com/www.slightedgecoder.com/wp-content/uploads/2018/09/page-02.jpg?w=1170 "page 02")
![Page 03](https://i1.wp.com/www.slightedgecoder.com/wp-content/uploads/2018/09/Page-03.jpg?w=1170 "Page 03")
![page 04](https://i1.wp.com/www.slightedgecoder.com/wp-content/uploads/2018/09/page-04.jpg?w=1170 "page 04")
![page 05](https://i1.wp.com/www.slightedgecoder.com/wp-content/uploads/2018/09/page-05.jpg?w=1170 "page 05")
![Page 06](https://i0.wp.com/www.slightedgecoder.com/wp-content/uploads/2018/09/Page-06.jpg?w=1170 "Page 06")
![page 07](https://i2.wp.com/www.slightedgecoder.com/wp-content/uploads/2018/09/page-07.jpg?w=1170 "page 07")
![page 08](https://i1.wp.com/www.slightedgecoder.com/wp-content/uploads/2018/09/page-08.jpg?w=1170 "page 08")
![page 09](https://i0.wp.com/www.slightedgecoder.com/wp-content/uploads/2018/09/page-09.jpg?w=1170 "page 09")
![page 10](https://i2.wp.com/www.slightedgecoder.com/wp-content/uploads/2018/09/page-10.jpg?w=1170 "page 10")
![page 11](https://i0.wp.com/www.slightedgecoder.com/wp-content/uploads/2018/09/page-11.jpg?w=1170 "page 11")


## 👍 Benefits

As mentioned above, I was able to understand “why”s behind each method in Redux.

## 👎 Downside

So far, my drawing skill is quite lacking thus it took over 5+ hours to finish for the 2 hour course.

## 🧐 What I Learned

Coming up with visual way helped me to extract only the important part.
I need more practice and continuous effort.

## 👋 Parting Words

I’d not recommend if you are an auditory learner (but great for visual or kinetic learners).

**_but it wouldn’t hurt._ 😎**

_The post [Sketchnotes for "Getting Started with Redux"](https://www.slightedgecoder.com/2018/09/21/getting-started-with-redux-sketchnotes/) appeared first on [Sung's Technical Blog](https://www.slightedgecoder.com)._
A special case of Impostor Syndrome
Tags: impostorsyndrome, health, lifestyle, codingproblems
Published: 2018-09-21 22:26:16

---
title: A special case of Impostor Syndrome
published: true
description: A short story about my way to deal with Impostor Syndrome even after a few years of coding
tags: impostor syndrome, health, lifestyle, coding problems
---

Being a programmer isn't as easy as they say on the internet. And probably everyone here can approve that.

Even if we love what we do as programmers, sometimes we are not as happy as we should be. A good reason for that is the Impostor Syndrome, that's a common problem for the developers who just started their way into the industry.

## But first, what's up with this syndrome? Is it a mental problem or something?

Basically not, it's just a bad impression that we develop about ourselves. We under-estimate ourselves and we think that this isn't our place and we are not a good fit for this job.

Usually, that's just in our mind, and we have to get over it in order to be a good programmer. But still, it might be a huge problem in our process of learning.

Ok, in an another way of speaking let's see what <a href="https://en.wikipedia.org/wiki/Impostor_syndrome">Wikipedia</a> says about it:

<i>"Impostor syndrome (also known as impostor phenomenon, impostorism, fraud syndrome or the impostor experience) is a psychological pattern in which an individual doubts their accomplishments and has a persistent internalized fear of being exposed as a "fraud"."</i>

## Ok, what's the special case?

Well... in my case, it doesn't really go away. I already have a few years of coding already, but still... I have moments when I feel like an impostor.

And that's probably not just me, probably a lot of people got the same problem as I do but they don't talk about it.

Probably in my case it became more intensive since we started <a href="https://tadamus.com">Tadamus</a>.

Those moments are really hard to pass, and if you are not a strong one it might make you stop.

## What can be done?

Nothing, <b>ignore it</b>. Keep on your track, work for your passion and for your future. Keep building awesome things or start building even more awesome things.

Keep in mind that you are unique in your own way and whatever happens with your life, it was meant to happen and it will bring progress in one way or another.

<b>Keep your head up and be prepared for that opportunity that's going to come!</b>
Remote workers, how do you handle at home distractions?
Tags: discuss, remote
Published: 2018-09-21 21:44:01

---
title: Remote workers, how do you handle at home distractions?
published: true
description: 
tags: discussion, #remote
---

I work remotely and juggle two kids (6mo, 3yr). I am basically a stay at home dad that moonlights as a tech lead. I am curious how others manage their remote work vs family life?

To start things off I have two workstations one in my kitchen, and one in my office. My general day consists of many meetings; I mostly float between the two depending on what the noise level is like plus what the kids are doing. Trying to split my concentration between the two. (FYI not a good idea.)

What about you?
Mark as read and/or private labels?
Tags: meta
Published: 2018-09-21 21:04:04

---
title: Mark as read and/or private labels?
published: true
tags: meta
---


Just a thought that my Reading list is growing, even though I'm reading things. Of course I could unmark them so they're off my reading list entirely... but it's also nice to have a log of the things I added there.

So, maybe another option is being able to mark a post as read and the ability to toggle `Read posts` on and off in the reading list.

Or maybe there's a better solution!
Less clutter, More information please
Tags: life
Published: 2018-09-21 20:48:31

---
title: Less clutter, More information please
published: true
description: How I changed the layout of my phone to make it more informative and less clutered
tags: life
---

A while back my Nexus 5x died and I was very, very sad and begrudginly I got a new phone, well because I had to. So I decided to take this opputunity to re-organise my phone and the layout. 
The phone I got was a [WileyFox Swift 2X](https://wileyfox.com/products/swift-2-x). I quickly installed Google Now launcher and was back in familar territory. 

The change I decided was that instead of having many screens which had many small app icons on them (around 4 screens in total) I would instead limit myself to half the home screen for app icons (the other half being the clock widget I have) and only allow extra screens to show widgets. 

### Why?
Here's the thing, I was finding it harder and harder to get to the apps I wanted and I was also losing track of what apps were on my phone. Also I couldn't even remeber their names just the icon. This was a problem as when I had to reinstall a bunch of them (the ones not installed through the plays store) I ended up spending more time than I needed trying to recall what they were actually named. 

So now my screens only display information to me, I can quickly swipe left and right to see actual information. If I need more information I can tap into the widget or I will just search and launch the app from the main app area. 

### Pros
I find myself quickly deleting any app that I don't need. My home screen feels less clutered and I spend less time trying to find apps on the home screen or coming up with the next awesome new folder layout. I'm also feel less templated to play distracting games that would otherwise be sitting there inticingly 

### Cons
I have since started to want more apps on the main screens so maybe I need to increase my area. As well many apps don't support widgets, instead doing the long press technique to show more options which I lose out on when they're not right there on the main screens.
Instance property vs parameter in Swift
Tags: property, parameter, ios, swift
Published: 2018-09-21 19:36:41

---
title: Instance property vs parameter in Swift
published: true
description: 
tags: property, parameter, ios, swift
---

![](https://cdn-images-1.medium.com/max/1600/0*89A3rxRYnDn64se_.png)

The other day I was refactor my code. I have

    extension MainController: TabBarViewDelegate {

      func buttonDidPress index: Int) {
        let initialIndex = tabBarView.selectedIndex
        let wholeAppContentView = updateWholeAppContentView()
        view.addSubview(wholeAppContentView)
      }
    }

The delegate method does not look right, as it’s hard to tell between required delegate method, or just instance method. Also it lacks a subject. I like this post [API Design](https://mattgemmell.com/api-design/), you can read section Rule 19: Always say who’s talking
> *This is a simple rule, and an equally simple mistake to make. In your delegate methods, always pass the sender as a parameter. Always. Even for singletons. Even for things you cannot conceive would ever be used more than once simultaneously. No exceptions.*

So I refactor the delegate, and conform to it.

    extension MainController: TabBarViewDelegate {

      func tabBarView(_ view: TabBarView, buttonDidPress index: Int) {
        let initialIndex = tabBarView.selectedIndex
        let wholeAppContentView = updateWholeAppContentView()
        view.addSubview(wholeAppContentView) // This is the culprit ⚠️
      }
    }

Even with just 1 line change in MainController.swift, the whole UI breaks, as all the views were added to the tab bar. Strange 😡 .

It didn’t take long until I remember that parameter takes precedence over instance property if they have same name. So in this case, the compiler, without warning, assume you're dealing with view from TabBarView ⚠️

That’s why you often use self to disambiguate.

    struct User: Codable, Equatable {
      let firstName: String
      let lastName: String

      init(firstName: String, lastName: String) {
        self.firstName = firstName
        self.lastName = lastName
      }
    }

Back to our code. The workaround is to specify self to specify view of MainController

    self.view.addSubview(wholeAppContentView)

Well, you may say, who should add view again in case of tab bar changes 😬 This is a bad example, but the lesson is learned 😇

Original post https://medium.com/fantageek/instance-property-vs-parameter-in-swift-498c65252df8
Re-use personal modules via NPM/Yarn?
Tags: npm, help, javascript, yarn
Published: 2018-09-21 18:07:23

---
title: Re-use personal modules via NPM/Yarn?
published: true
description: Is there a way to streamline code re-use between projects?
tags: npm, help, javascript, yarn
---

Hey all!

Just curious if anyone has a work flow for streamlining internal code-reuse between projects via npm/yarn?

For example, most of my projects use `sequelize` and have models like `User`, `CredentialChange`, `Transaction`, etc. that I'd love to reuse internally.

Is there a best practice for using NPM to pull in that code (ideally still in a form that I can extend).
Service Workers
Tags: javascript, es6, pwa
Published: 2018-09-21 18:05:18

---
title: Service Workers
published: true
description: 
tags: javascript, es6, pwa
---
Get your Service Workers basics right -
I've written a blog that explains the fundamentals of Service Workers and the other blog in series demonstrates this specific feature of Offline-first experience with the help of an example project.

1. Service Worker Fundamentals - https://hackernoon.com/service-workers-62a7b14aa63a

2. Example Projects leveraging the power of Offline-first experience - https://hackernoon.com/building-pokemon-app-to-evaluate-the-power-of-berries-service-worker-176d7c4e70e3
Raising security awareness with a CTF competition... did you already participate in one, how it was?
Tags: security, securityawarenes, discuss, infosec
Published: 2018-09-21 17:40:37

---
title: "Raising security awareness with a CTF competition... did you already participate in one, how it was?"
published: true
description: "CTF or Capture the Flag is a competition aimed to raise awareness around security in an organization of any size." 
tags: "security,securityawarenes,discuss,infosec" 
---

Example of a platform to organize one can be found at https://github.com/facebook/fbctf/wiki

**TLDR**

CTF or Capture the Flag is a competition aimed to raise awareness around security in an organization of any size.

The competition is made of several challenges with different levels of difficulty and expertise that are up to the organizer to setup.
Have you ever been in a hackathon
Tags: discuss
Published: 2018-09-21 17:35:40

---
title: Have you ever been in a hackathon
published: true
description: 
tags: discuss
---

Hi people.
I've never been in a hackathon and there's one coming soon. I'm doubtious about participating. Has anyone been in one? It's a valuable experience?
Saludos
Haskell for javascript programmers.
Tags: haskell, javascript, functional
Published: 2018-09-21 17:16:52

---
title: Haskell for javascript programmers.
published: true
description: An explanation of functional programming like you've never seen.
tags: haskell, javascript, functional.
---

This is such a wonderful video. I just gotta share it.

{% youtube pUN3algpvMs %}
Juggling Multiple Languages Simultaneously
Tags: discuss
Published: 2018-09-21 16:54:29

---
title: Juggling Multiple Languages Simultaneously
published: true
tags: discuss
---

I've been coding Javascript, Ruby and Go almost everyday for the past few months and I'm just wondering if in the long run it hurts my chances of learning expertise in either of them. I clearly feel the "switches" I have to make daily.
Plus, is the "jack of all trades, master of none" problem a real and significant one?
Jelly Fin: Attacking The Monolith
Tags: jellyfin, vue, reactnative
Published: 2018-09-21 14:42:01

---
title: Jelly Fin: Attacking The Monolith
published: true
description: We've barely made it past "Hello, World!" and we're already feeling like a monolith
tags: jellyfin, vuejs, reactnative, 
---

Hey Jellies!

What a ride it has been so far!  We've got an amazing amount of interest in Jelly Fin from all walks of experience and it's just been wonderful meeting new people who are interested in contributing.

As you may know, we were initially building a mobile native app using React Native and I was tearing my hair out trying to get a build green with a simple smoke test.

Already, my little "Hello, World" had outgrown itself and we, as a team, needed to step back and evaluate.  We're finding our traction and refactoring to get everything copacetic.

### Attacking The Monolith

So, since we have a GitHub organization, I'm taking this opportunity to break up our monolithic structure into separate parts:

* **jelly-fin** - The main project.  Will be React Native and represent native apps for iOS and Android
* **jelly-fin-api** - Our backend.  This will house our FireBase functions and other items related to the API.
* **jelly-fin-web** - Our Web Client.  This will be a VueJS web app that will have a responsive design but also functions as a hub for larger operations.

### We're Launching A Web Version!

Ok, I'm a little excited for this one.  I was going to wait until after we had a mobile version going, but after thinking about it, Jelly Fin (at its heart) can play on both frontiers.  

I've decided that the best approach for this is VueJS.  I've used Vue in a past job and it was very easy to pick up on.  It borrows from Angular and React, so if you have experience in either, it should be easy to pick up.  If you have experience in neither, Vue has some of the best documentation out there.

Also, within seconds, I was able to spin up the project and have everything I needed with linting, tests, and even precommit-formatting!  I've missed that about JavaScript tools.

**We're still actively looking for contributors, so if you want to get in at the ground floor, come check us out!**

Main Project

{% github https://github.com/jelly-fin/jelly-fin %}

New Shiny Baby Web Project

{% github https://github.com/jelly-fin/jelly-fin-web %}

[![Fork Me](https://thepracticaldev.s3.amazonaws.com/i/1t97hzq8a97wewgq1mxd.png)](https://github.com/jelly-fin/jelly-fin)
The Dangers of Drinking and Refactoring
Tags: ruby, rails, wtf, drunk
Published: 2018-09-21 13:53:23

---
title: The Dangers of Drinking and Refactoring
published: true
description: WTF is this shit
tags: ruby, rails, wtf, drunk
---

![WTF](https://thepracticaldev.s3.amazonaws.com/i/g43artauu2mwni8rakxw.png)

I wish I could tell you what happened here but I can't