teleren/devto huggingface dataset:
OSD600 - Lab 7 Static analysis tools
Published: 2020-11-14 04:55:03

This week in Open Source development for [Lab 7](https://github.com/Seneca-CDOT/topics-in-open-source-2020/wiki/lab-7) we learned about how and why you would want to add helper tools to your project. The objective was to set up a contributing guide and set up tools to ensure that new code that enters your repository is formatted the same and lint free.  Eeesh! I did not realize how many bells and whistles you can add to one project. My curiosity was sparked though.

The first thing I needed to do was create my branch from my [URL Link-Checker](https://github.com/strawberries73/OSD600-Journey-on-rocky-trails).  The second thing I did was create a [CONTRIBUTING.md](https://github.com/strawberries73/OSD600-Journey-on-rocky-trails/blob/master/CONTRIBUTING.md) file. The next thing was to set up a source code formatter and I am using JavaScript, so I went with [Prettier](https://prettier.io/). I created a [.vscode](https://github.com/strawberries73/OSD600-Journey-on-rocky-trails/tree/master/CommandToolLinkCheck/.vscode) folder that holds settings.json.  
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/fp14auasrqvt3w4vjq0x.png)

After I tested this to make sure it worked, I moved on to the next task.  Set up a linter with [ESLint](https://eslint.org/). This is especially good for Javascript because we don't always need a semi-colon. Consistency is key. 

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

I tested my code and added some mistakes on purpose to make sure prettier and lint were working. Happy with the results I rebased and squashed my commits and then [merged](https://github.com/strawberries73/OSD600-Journey-on-rocky-trails/commit/c287f4d21d9d8945f32bf4182e5ad1ed4c878221). 

I look at it this way.  A project is an investment and it's about protecting that investment from looking like a bad reno job.  Keep the code pretty.... make sense to me!  Order is peace of mind.  Um... *I'm not OCD at all...*
Impostor indo para as provas na faculdade 01
Published: 2020-11-14 04:50:12

Se você também é um impostor como eu acredito que raramente tirava xerox das matérias ou estudava antes da prova.

Em uma das faculdades eu ia sem ter estudado nada ANTES falando que se eu aprendi, aprendi.

O foda era quando eu lia um problema, lembrava da aula, via o quadro, MAS não conseguia ler o que estava escrito e nem lembrava do que tinha sido dito.

AHHHH na faculdade de manhã eu sempre dormia nas aulas pois no ensino médio não era possível.

Tudo bem que ficava usando internet discada apenas de madrugada e fazia meus roles, porém não tinha vontade de estudar o que me foi passado.

Posso contar apenas uma situação específica que me aconteceu, pois como eu NUNCA tirava xerox de nada, a não ser que fosse obrigatório.

Nessa faculdade que ia de manhã eu xeroquei 1 livro de Comunicação de Dados, logo como eu tava com aquilo na mão quis ler para ver qualé.

Li o conteúdo duma aula antes de vê-la, esse dia foi loco e nunca esquecerei, aposto que você também não esqueceria.

Como dito anteriormente eu SEMPRE dormia nas aulas da faculdade de manhã, porém nessa eu já tinha lido o conteúdo e o que aconteceu?

Eu estava como sempre deitado na mesa, porém estava ouvido e o professor fez certa pergunta.

Demorou muito tempo e ninguém respondeu, pensei: bah mas isso eu sei.

Levantei minha cabeça e respondi.

Meu professor falou: 

- Sério isso pessoal? O cara TÁ DORMINDO E ELE RESPONDEU?

Fiquei meio assim mas beleza, voltei minha cabeça para a mesa como se fosse voltar a descansar quando o professor fez outra pergunta, eu esperei que alguém respondesse e nada...

Fui obrigado a levantar a cabeça e responder.

Nesse momento o professor DEU UM ESPORRO NA TURMA:

- Não é possível que a única pessoa que respondeu ESTÁ DORMINDO NA SALA!!!!!!!!

Depois disso sempre pensei: bah então para me dar bem nas aulas é só eu ler antes? Todo mundo tirou essa cópia do livro. Por que ninguém leu?

Depois dessa aula eu até fiquei mais esperto nessa matéria pois eu já conhecia o conteúdo por ter lido antes da aula.

Passei com uma mão nas costas e vi muita gente sem entender quase nada da matéria, mesmo tendo o mesmo conteúdo copiado.

De duas faculdades que fiz, esse foi a segunda e última cópia de livro que fiz em TODA A FACULDADE.

ps: dessa faculdade foi a única cópia de livro que fiz e na outra também só fiz 1 cópia.

ps2: teria sido bem mais fácil eu me formar se eu tivesse apenas feito o básico que TODOS faziam.
Demystifying open source
Tags: hacktoberfest
Published: 2020-11-14 04:47:27

<!-- ✨This template is only meant to get your ideas going, so please feel free to write your own title, structure, and words! ✨ -->


### I am
<!-- If you are new to the DEV community, introduce yourself and share a bit about why you joined DEV and decided to participate in Hacktoberfest this year.  --> 
a full-stack web developer trying to keep my focus on dev-ops from getting me siloed.
### Background
<!-- Are you brand new to open source? What about coding in general? Tell us about how you got here →
I started coding in college. The first time I heard about open source was from a recruiter. 
"And what about open source? Do you contribute to any open source projects?"
This recruiter liked me, and was trying to sell me to an indifferent potentially mentor. This mentor's reasonable indifference towards me as an employee was related to my complete lack of experience. 
"No" I didn't know much about open source but I knew I wasn't doing it.
"Alright." The recruiter was disappointed. 
I did not get that internship.

Later that year, I graduated, got a job, and started working full time as a software developer. As I started writing realworld software, I started to understand the role open source plays in the software development community.
### Progress


<!-- Share a bit about where you’re at in your Hacktoberfest journey. What stage are you at? How has the process been?  -->
This Hacktoberfest I contributed to 2 different repos, with two very different managing institutions. One, Mattermost Inc, is a a startup with over 1 hundred full time employees and millions of dollars in funding. The other, tridactyl, is a volunteer community. Even though these managing institutions are quite different, my interactions with both were uniformly delightful. 
### Contributions


<!-- This is where you can list the contributions you made and explain why you chose the projects you did. Don’t forget to add links!  -->
https://github.com/mattermost/mattermost-webapp/pull/6862
https://github.com/tridactyl/tridactyl/pull/2934
https://github.com/mattermost/mattermost-webapp/pull/6963
https://github.com/mattermost/mattermost-webapp/pull/6966
### Reflections
<!-- Overall, how has your Hacktoberfest 2020 experience been? If you’re a first-timer, will you participate again? What have you learned? Have you made any interesting connections? What is your next step in open source?  -->
I was extremely impressed by the welcoming, friendly, and professional interactions I had during Hacktoberfest. I'm excited to see how many friends and coworkers I can get to start contributing to open source with me.
My first post..
Tags: hacktoberfest
Published: 2020-11-14 04:35:35

<!-- ✨This template is only meant to get your ideas going, so please feel free to write your own title, structure, and words! ✨ -->


### Introduction
I am a blockchain student developer, I joined DEV to learn more about programming. I decided to participate in Hacktoberfest 2020 following my instructor's advice 
### Background
I always wanted to learn programming but finally took real steps to fulfil my programming dream by joining a blockchain development boot camp

### Progress
Currently I am learning javascript and slowly getting to understand the logic of programming

### Contributions
My contributions were all uploading and sharing my own code I have on github. here are the links:
https://github.com/abe4x4/Objects/pull/1
https://github.com/abe4x4/Functions/pull/1
https://github.com/abe4x4/Syntax-Functions/pull/1
https://github.com/abe4x4/DOM/pull/1
https://github.com/jinwoov/hacktoberfest/pull/120
https://github.com/Bhushan0246/Hacktoberfest/pull/36


### Reflections
This was my first participation and it was a great learning experience. I am planning to do a better job in next year's participation.
Experience of #Hacktoberfest2020
Tags: github, hacktoberfest, digitalocean, intel
Published: 2020-11-14 04:19:20

This October, I have completed the #Hacktoberfest challenge. An awesome experience to jump into open source platforms like 
github
 . It's not too late to leave your mark! Click below to get started: https://hacktoberfest.digitalocean.com 

Waiting for #Hacktoberfest2021
My first Hacktoberfest.
Tags: hacktoberfest
Published: 2020-11-14 04:09:43

###Hello everyone!

Tonight I got the confirmation mail that my contributions during *hacktoberfest 2020* are approved. It was my first *hacktoberfes* and contribution to open-source. It was really helpful for me to explore and learn.

I'm new to this community, but  I saw many posts about the hacktoberfest 2020, and in-general about open source contribution. As a developer I thoroughly enjoyed my first-time contributing to open-source.

I did simple contributions this hacktoberfest, but it helped me a lot for my learning.

Already waiting for *hacktoberfest 2021*, thanks @DigitalOcean.
5 Color Inspiration Website You Should Bookmark
Tags: design, webdev, beginners, codenewbie
Published: 2020-11-14 03:48:02

# Introduction

![Color Inspiration](https://dev-to-uploads.s3.amazonaws.com/i/fll95a6vvtkm60oo9gwc.gif)

The hardest part of a coder is to choose the color for your project which can include logo, website, digital illustration, etc. To ease your process of choosing colors, I have come up with 5 websites to get great color inspiration for your next project. So let's get started.


## 1. [Picular](https://picular.co/)

![Picular](https://dev-to-uploads.s3.amazonaws.com/i/eevy18l5f1fp295zhttj.png)

Picular provides you for of different object. It has a search box to get the desired color like honey, summer, monkey, etc. It is a lightning-fast color generator that uses Google's Image Search to generate color.

## 2. [Color Hunt](https://colorhunt.co/)

![Color Hunt](https://dev-to-uploads.s3.amazonaws.com/i/a9bqlykpiq0fy3topucd.jpeg)

One of the most loved website for color inspiration on the web. It has thousands of exciting color pallet which are categories into new, trendy, popular and random.

{% post https://dev.to/surajondev/5-netflix-documentaries-for-every-designer-3a4g %}

## 3. [Make Tints and Shades](https://maketintsandshades.com/)

![Make Tints and Shades](https://dev-to-uploads.s3.amazonaws.com/i/e2ysnsd69y3jpdzl5byr.jpeg)

This website is great for getting different tints and shades of any color. You just have to enter hex code for tints and shades.

## 4. [Color Review](https://color.review/)

![Color Review](https://dev-to-uploads.s3.amazonaws.com/i/vic4t9rvkjokzcb6edm4.jpeg)

A great website to check the contrast of background and foreground color before using it in design. It can be used to choose the primary and secondary color of the design. It provides you with a contrast score too. A score above 10 is an ideal contrast.

{% post https://dev.to/dailydotdev/5-react-based-projects-every-beginner-must-try-571o %}

## 5. [Khroma](http://khroma.co/)

![Khroma](https://dev-to-uploads.s3.amazonaws.com/i/6uijxbdy1w5cdhj2w7r7.jpeg)

Khroma uses AI to learn which colors you like and create limitless pallet for you to discover, search and save. It also allows you to search by hue, tint, value, color as well as hex and RGB value.

## Last Note

If you have another website that helps you to deal with color confusion, You can comment below. Thank you so much for reading the blog post.

<hr/>

# Support

If you are loving my content, then you can support me by buying me a coffee on BMC.
> Think less, give more to love more to live more.
-Debasish Mridha

<a href="https://www.buymeacoffee.com/surajsrv11" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-green.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>
Use local dev tools on remote files with SSHFS
Tags: terminal, ssh, shell, virtualmachine
Published: 2020-11-14 03:31:22

I often have to work with virtual machines or remote hosts. To utilize my local development environment while doing so I configure SSH and SSHFS. Enabling the use of tools on the local host while working with files on the remote, with the security of ssh.

**SSHFS** (SSH filesystem) enables the mounting of a remote directory over a normal ssh connection to the local filesystem. Prior to installing, make sure [SSH is setup](/posts/ssh-ubuntu-virtualbox/post) with the appropriate keys.

1. Download & Install [FUSE for macOS](https://osxfuse.github.io/)
2. Download & Install [SSHFS](https://osxfuse.github.io/)

## Mount remote filesystems

The following command mounts the remote directory to a specified mount point.

```
sshfs username@remotesystem:/remote/path/to/directory ~/mount/point
```

The [`rmount`](https://github.com/tkolleh/dotfiles/blob/master/ws/usrBinScripts/executable_rmount.sh) and [`rumount`](https://github.com/tkolleh/dotfiles/blob/master/ws/usrBinScripts/executable_rumount.sh) bash scripts facilitate convenient mount and unmounts using `sshfs`. To begin using the scripts.

1. Create a folder named **mounts** in your user home directory, `~/mounts`.
2. Download the scripts and make them executable, `chmod u+x <path-to-script>`.

The functions reference host named in the local `~/.ssh/config` file, configured with a key pair (without a password). See [earlier blog](/posts/ssh-ubuntu-virtualbox/post) post on the subject for reference.

```c
Host ml
  HostName ec2-*.compute-1.amazonaws.com
  User ubuntu
  PreferredAuthentications publickey
  IdentitiesOnly yes
  IdentityFile ~/.ssh/aws
  Port 22
```

Executing `rmount ml` - will mount the entire filesystem to a local `ml` (`~/mounts/ml`) folder. A folder created by the function. The default "mounts" path, created earlier, can be changed by modifying the function. Executing `rmount ml:/home/ec2-user` mounts the `ec2-user` directory in `~/mounts/ml/`. Running `rumount ml`, removes the `ml` folder and unmounts the remote filesystem. 

With a remote filesystem mounted locally, local development tools can be used without having to download each file or having to remember to sync files. Its a secure tunnel to your remote filesystem where files behave almost as if they're local.

<br/>

I'm publishing this as part of 100 Days To Offload. You can learn more by visiting [#100DaysToOffload](https://100daystooffload.com).

<br/>

[Original post...](https://curiousstemlovingfellow.com/posts/sshfs-ubuntu-virtualbox/post/)
S1E17: Brain Matters - How Brain Computer Interfaces Extend Reality, Part 1
Published: 2020-11-18 00:38:42

---
title: S1E17: Brain Matters - How Brain Computer Interfaces Extend Reality, Part 1
published: true
date: 2020-11-14 02:56:37 UTC
tags: 
canonical_url: https://anchor.fm/xrseapod/episodes/S1E17-Brain-Matters---How-Brain-Computer-Interfaces-Extend-Reality--Part-1-emc2t5
---

We force our brain to conform to our tools and applications, but what if we could adapt our environment to our mind? Brain Computer Interface (BCI) is so much more than controlling objects with our mind. We explore what is BCI and debunking myths with Neuroscientist and President of Emotiv, Olivier Oullier and Chief Commercial Officer, Kim Old. Join us for this episode, Part 1 of 2, Brain Matters: How Brain Computer Interfaces Extend Reality. Listen, Share and Subscribe!

Brain Matters...see what we did there?

-XRSEAPOD Team, Kirby, Nirav, Steven and Vinay

--- Send in a voice message: https://anchor.fm/xrseapod/message
Software Engineer in Residence
Tags: hiring, career
Published: 2020-11-14 01:41:10

📣  We're looking for two more junior- and mid-level software developers to join our Software Engineer in Residence program - an accelerated path to leveling-up... 

👩🏽‍💻🧑🏻‍💻 👉  We're looking for passionate software engineers committed to their continued personal growth and development from junior and mid-level to senior and lead-level... 

🤔 https://www.softwareresidency.com/careers

❓ Leave questions below
VUI Video 2
Tags: affinity, voxable
Published: 2020-11-14 00:47:54

Here is the video: 

{% youtube 4UIUrF8VNiU %}

Some highlights:

What I learned this week - affinity mapping and affinity groupings.

Why it's useful - It helps showcase the types of things users can ask the assistant.

How it helps in the long run - The affinity mapping and groupings help the bot prepare for types of questions, and various ways a user could ask things.
WordPress File Permissions/Privileges Best Practices
Tags: wordpress
Published: 2020-11-14 00:14:16

## 3 very important general rules:
All files should be 664.
All folders should be 775.
wp-config.php should be 660.

##A quick way to do this:
For example, I copied the whole 'themes' folder from local to server, replaced the old one on server. Then I have to carefully manipulate the `chown` and `chmod`:
```bash
# dive into 'wp-content' folder, 
# where contains 'themes' folder.
cd /A/CERTAIN/PATH/wp-content

# change privilege of 'themes'
sudo chmod 775 themes 

# ATTENTION! For I am currently using 
# 'Bitnami WordPress Production-Ready 
# Stack Deployment On AWS' solution, 
# I confirmed before replacing 'themes', 
# the original group is 'root' and 
# owner is 'daemon'. So please confirm 
# yours before do this step.
#
# This step is to change 'themes' OWNERGROUP 
# to 'root' and OWNER to 'daemon'.
sudo chown -R root:daemon themes 

# dive into 'themes'
cd themes

# change all files to 664
sudo find . -type f -exec chmod 664 {} + 

# change all folders to 775
sudo find . -type d -exec chmod 775 {} + 
```

Inspired by [Benjamin's detailed article @ smashingmagazine.com](https://www.smashingmagazine.com/2014/05/proper-wordpress-filesystem-permissions-ownerships/)

Hope this helps!
So proud to be a coder!
Trying to grow an open-source ETL project with PHP
Tags: bigdata, database, opensource, php
Published: 2020-11-13 23:38:18

Hello!

I hope whoever is reading this post is having a good day.

Some friends and I have been working for a while on an open-source ETL project with PHP:

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

https://github.com/TheCocoTeam/source-watcher-core

We are trying to grow it and add more features to it.

There are many use cases in mind; It can be used to extract data from conventional formats such as CSV and JSON and databases, but we want to expand it to use API endpoints and web-scrapers, and many other integrations.

We want to keep the project open-source. Eventually, the goal is to start adding more formats, non-relational databases, big data formats such as Avro, Snowflake, and even integrate with other technologies such as R.

Any form of help is more than welcome, ideas, reviews, code collaboration, whatever you have in mind!

Thanks!
New: Jekyll tutorials!
Tags: html, css, tutorial
Published: 2020-11-13 23:33:27

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

We recently released the first batch of our Jekyll tutorials! You can see them on our [Jekyll Basics](https://simpledev.io/jekyll/jekyll-basics/) topic page.

## What is Jekyll?

Jekyll is a static site generator, which means it's a tool that makes it easier to build static sites. When building a multi-page static site using just HTML, you end up with a lot of code you have to repeat on each page (if each page is using the same general layout). Jekyll, on the other hand, lets you reuse code by creating common layouts and template parts that can be used with each page, without having to copy and paste large chunks of code.

## Before You Start

To get the most out of these tutorials, you should be familiar with HTML, CSS, Sass, and the terminal (though you don't have to be an expert at all of them). Luckily for you, we have tutorials for all of these topics! Check out [our home page](https://simpledev.io/) for links to all of our tutorials.

##Conclusion

Let us know what you think of these tutorials in the comments below! We'll be adding more Jekyll tutorials soon.
Concurrent Futures and Showing Progress 
Tags: opensource, python
Published: 2020-11-13 23:32:11

I made a few updates to Gustavo: one major; one minor; and some refactoring. {% github slaterslater/gustavo no-readme %} The main issue I wanted to address was performance. I found that Gus took far too long to make HTTP requests compared to other similar tools. I didn't implement a time object to get precise measurements, but it felt like a list of 800 URLs could take anywhere from 5-8 minutes to process. Gus would check a list of URLs one after the other and I wanted them checked (practically) all at once.

This project is one of my first times working with Python and I was really impressed with how easy it was to implement threading. After importing `concurrent.futures` I found that using a list comprehension really made for an elegant solution.
```python
with concurrent.futures.ThreadPoolExecutor() as executor:
  results = [executor.submit(get_status, url) for url in urlist]
```
That's all it took to exponentially improve the performance. The first line creates a ThreadPoolExecutor which creates, starts and joins threads. The second line is a list comprehension which creates a list of threads executing `get_status()` for each url in the list.

During the processing, the iterative version of Gus would update the console with a print statement ie: *"Checking URL 123 of 456."* This didn't really make much sense in the threaded version of Gus as it would print *"Checking URL 456 of 456."* in a fraction of a second and then waits for the `get_status()` functions to complete. I thought a progress bar would be a nice touch. {% github verigak/progress no-readme %} In the end I used a Spinner which advances the animation each time a thread completes. I noticed that once the Spinner finishes, it would leave itself on the console line and the program would continue. I read through the source code and found that the Spinner class had a `writeln()` which takes a string. Thank you very much Stack Overflow for answering the question: [Is there go up line character?](https://stackoverflow.com/questions/11474391/is-there-go-up-line-character-opposite-of-n)

The updated function looks like this:
```python
def process_list(urlist, wanted, output):
  processed = []
  formatted = out.rtf_format if output  == 'rtf' else out.json_format if output  == 'json' else out.std_format
  spinner = Spinner('Checking URLs ')
  with concurrent.futures.ThreadPoolExecutor() as executor:
    results = [executor.submit(get_status, url) for url in urlist]
    for connection in concurrent.futures.as_completed(results):
      status = connection.result()
      if status['desc'] in wanted:
        processed.append(formatted(status))
      spinner.next()  
  spinner.writeln("\033[F")  # move cursor to the beginning of previous line
  spinner.finish()
  return processed
```
The remaining changes I made were to refactor **gus.py** into smaller related files:

File | Purpose
-|-
gus.py | creates a Gus class
const.py | any constant values needed for processing
args.py | handles all command line argument parsing
urls.py | all HTTP checking functions
out.py | output formatting functions