teleren/devto huggingface dataset:
MA 14: Shawn Wang on Open Knowledge
Published: 2020-09-16 23:30:04

---
title: MA 14: Shawn Wang on Open Knowledge
published: true
date: 2020-09-02 13:01:29 UTC
tags: 
canonical_url: https://hopeinsource.com/open-knowledge/
---

What does it mean to be code adjacent? Shawn Wang joins Henry to chat about not just open code but open thinking with his experience in community managing, the idea of tumbling, moderating /r/reactjs, starting the Svelete Society meetup, documenting and learning in public, being historians of our field, fresh notes vs. awesome lists, the meta language, and adoption curves. _Transcript_: https://maintainersanonymous.com/open-knowledge.  
  
**Shawn** : [https://twitter.com/swyx](https://twitter.com/swyx)  
**Henry** : [https://twitter.com/left\_pad](https://twitter.com/left_pad)  
  
**Headings:**

- Intro: Tumbling as an Alternative to Community Manager 
- Specific, Limited-term Maintainer Roles
- Separation of Maintainer Concerns
- Babel W18, like YC W18
- Becoming a Moderator for /r/reactjs
- Learning with "I Promise to Answer Every Question"
- History and Memento Mori: A Time Before Git
- Where's the Story of How Projects Get Started?
- A Culture of "Document Yourself More"
- Learning Gears: Explorer, Connector, Miner
- Finding A Vision People Can Rally Around
- Being Code Adjacent
- Maybe We Need a JavaScript Community Manager
- Cheat Sheets and Awesome Lists
- Personalized Docs, Documentation Levels
- Open Source Knowledge, Proof of Work
- Twitter as a Permanent Hallway Track
- Find the Intersection of Two Communities
- Documenting Underlying Assumptions
- "Fresh notes"
- Starting a Meetup: Svelte Society
- Keeping it Alive
- Taking Part in Category Creation
- The Meta Language
- Parenting and Figuring Things Out
- Not Everything Needs to be in Public
- CSS 4: Does It Even Matter if No One Knows?
- Adoption Curves: Focusing too much on the head
- Removing the Learning Curve with Better Defaults
- Philosophy of Technology
- Spatial Software, The Mind

**[★ Support this podcast by donating ★](https://github.com/sponsors/hzoo "★ Support this podcast by donating ★")**
How to deploy your website to Github pages
Tags: github, webdev, beginners, codenewbie
Published: 2020-09-02 12:57:43

Github pages allow us to easily deploy websites as long as they don't have any backend. In this article, I'm going to show you how I deploy websites using Github pages.

### 1. Create a repo
You can't deploy on Github pages without a repository that contains all your files so make sure you have the repo ready.

### 2. Install gh-pages
Next, you have to install the package gh-pages in your repository.

```npm
npm install gh-pages
```

### 3. Add this script in package.json
In the package.json file add this script.

```json
"homepage": "https://[github-username].github.io/[github-repository-name]"
```

### 4. Create a deploy script
Inside the scripts object in package.json file add the following script.

```json
"publish": "gh-pages -d src"
```
This script will deploy to Github pages anything in the src directory. You can change src to the name of the directory containing the files you want to deploy.

### 5. Run the script
Next, run the publish script in your command line to deploy to gh-pages.

```bash
npm run publish
```
It may take a bit of time but when it's done you'll see a line that says published.

### 6. Change the source branch in the repo settings

For your website to be deployed successfully, you'll have to go into the settings of your repository. In the Github pages section change the source branch from master to gh-pages. This branch was created when the publish script was run succesfully.

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

Once done, go to the url provided and you'll see your live website.
Clutch Celebrates VIBIDSOFT’s Excellence!
Published: 2020-09-02 12:55:20

There’s a reason why outsourcing has become such a popular business model — it’s a great way for businesses to lower operational costs and streamline operations while ensuring growth and innovation.

It might seem intimidating to hire a company from across the world, but our team at VIBIDSOFT will quickly dispel such fears and prove that investing is our services is more than worthwhile. We’re an Indian-based software outsourcing firm that provides offshore and onshore software development and IT services.

What sets VIBIDSOFT apart from other outsourcing companies is our focus on delivering cost-effective, timely, and high-quality services that satisfy our clients. We also know that no two businesses are alike — so no two development processes should be alike, either. We tailor our services and approach to each individual client’s objectives.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/0n1qsb5r928ij7gmkrkw.png)![Alt Text]

What else sets VIBIDSOFT apart? The fact that Clutch, the premier ratings and reviews platform in the B2B industry, clutch recently recognized us as a top web development company! The Clutch Leader Awards recognize a company’s commitment to building their expertise, providing outstanding customer service, and producing top-tier results for clients. Clutch highlights the highest-ranking firms across industries and locations, and we’re thrilled to be listed among the leading companies on the site!

“We are feeling immensely proud to be top web developer in India.” — CEO, VIBIDSOFT
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/4kmykkc92ffsw30beqts.png)
To be eligible for a Clutch Leader Award, companies must show a remarkably strong capacity for delivering high-quality work to their clients. One of the main ways that companies can show this is by collecting client reviews on their Clutch profile, so we’re incredibly grateful to our clients that have taken the time to review our work and abilities as a software partner! We’re proud to report that we have a perfect 5-star rating.

https://clutch.co/press-releases/recognizes-150-best-web-developers-india

The above link shows the results of Clutch’s Leaders Matrices on January 23, 2020. Vibidsoft stands 86th in Top 150 web developers from India.

Here’s what a real estate company had to say about VIBIDSOFT after our team built their website from scratch:

“I was impressed with their integrity and their relentless efforts to solve problems. They earned my trust and I’m planning to use them again.” — CEO, Unlocked Real Estate

They also noted that we’re capable of doing “almost anything in the IT world.” That is something that we really appreciate hearing, since we strive to be the top company in the IT industry!

To learn more about our services, please don’t hesitate to reach out — we’d love to hear from you!
How To Handle Events In Discord.py
Tags: discord, python, bot, machinelearning
Published: 2020-09-02 12:52:55

Hello, Guys today we are gonna see How to Handel Events in Discord.py

## What is An event
An Event is like which takes place when a person leaves/enters a server or a person's role changes or Someone boosts a server which is a rare thing I am joking but anyways jokes apart so basically what and all happens in a server is basically a sort of event so I will be listing all the events available in Discord.py

## New member joins
{% gist https://gist.github.com/raghavmri/24966247f7246669307fc2b0dd79a06a %}

## Some person Leaves
{% gist https://gist.github.com/raghavmri/3a19220deee598424c0450e26f7d35a9 %}


## Conclusion
Thanks For Reading my post till the end

Do Support me on Patreon - https://www.patreon.com/gogamic
Python Betiği İle Eklenti Geliştirme
Tags: limanmys, opensource, python, linux
Published: 2020-09-02 12:46:32

Liman MYS üzerinde python, bash veya powershell betikleri çalıştırabilmekteyiz.   

**1.**İlk olarak **Sistem Ayarları > Eklenti > Yeni** yolunu izleyerek eklenti oluşturuyoruz. Yaptığımız işlem bize varsayılan olarak views klasör altında index.php ve functions.php olmak üzere iki dosya oluşturmaktaydı.

Visual Studio Code ile Liman sunucusuna bağlanıp eklenti dosyalarına erişebiliyoruz. Bu konu hakkında Mert Çelen'in yazdığı yazıya [buradan](https://dev.to/liman/eklenti-gelistirme-ortami-kurulumu-3ofm) ulaşabilirsiniz.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/4w134awibwmjwybkr1ac.JPG)

**2.**Scripts klasörü içine liman sunucusunda liman user'ı ile aşağıdaki kod yardımıyla devtopython adında python dosyası oluşturulur.

`touch /liman/extensions/devtopython/scripts/devtopython.py`

Veya Visual Studio Code arayüzü ile scripts klasörüne sağ tıklayıp new file diyerek oluşturabilirsiniz.

**3.**index.blade.php dosyasına gerekli kod parçacıkları yazılır. Aşağıdan erişebilirsiniz.

```
<button class="btn btn-primary mb-2" onclick="runScript()">Python scriptini çalıştır</button>
<div id="devtoPython"></div>

<script>
    function runScript(){
        var form = new FormData();
        request("{{API('runPythonScript')}}", form, function(response) {
            message = JSON.parse(response)["message"];
            $('#devtoPython').html(message);
        }, function(error) {
            $('#devtoPython').html("Hata oluştu");
        });
    }
</script>

```

Butona tıklandığında anda javascript fonksiyonu çalışıp backend de **runPythonScript** php fonksiyonuna gidecek.

**4.**functions.php sayfasının içeriği ise aşağıdaki gibidir.

```
<?php 

    function index(){
        return view('index');
    }

    function runPythonScript(){
        $output = runScript("devtopython.py","",false);
        return respond($output,200);
    }

?>
```

runScript helperı Liman üzerinden betik çalıştırmamızı sağlamaktadır. 3 parametre almaktadır. Birinci parametre betik adı, ikinci parametre betiğe gönderilmek istenen parametrelerdir, üçüncüsü ise betiğin sudo veya normal çalışacağını belirtmektedir. Üçüncü parametre false verilir ise normal, true verilir ise betik sudo ile çalıştırılmaktadır.

**5.**devtopython.py içerisinde istediğiniz python komutlarını kullanabilirsiniz. Örnek amaçlı kullanılan betiğin içeriği aşağıdadır.

```
#!/usr/bin/python3
print("Merhaba Dünya !!")
```


Eklentinin görsel çıktıları aşağıdadır. 
Butona basılmadan önceki görsel ;

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/108ahxkqkukp73ghmmrq.JPG)

Butona basıldıktan sonraki görsel ;

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/10qk05b3jaxyp1pocufw.JPG)

Eklentinin koduna [buradan](https://github.com/mustafaakbel/Devto-Python-Extension_Example) ulaşabilirsiniz.
Intro: Fullstack JS User Roles & Management
Tags: mongodb, javascript, showdev, webdev
Published: 2020-09-02 12:43:59

## Background 
I've been working on developing minimum viable product (MVP) starters since I work with a lot of startups and entrepreneurs. This starter is for B2B businesses, creating a full user-auth workflow with basic user management. I would not consider this a beginner project, as it integrates quite a lot, so if you're just starting out, don't be overwhelmed! Though I hope it can be a useful reference for those looking to expand their skills.

## Tech Stack
It uses a [Quasar](https://quasar.dev) frontend (cross-platform Vue component framework), [Feathers](https://feathersjs.com/) backend, [Amazon SES](https://aws.amazon.com/ses/) for transactional emails, and [MongoDB](https://mongodb.com) as the datastore. It can be run with [Docker Compose](https://docs.docker.com/compose/gettingstarted/), or separately in their respective repos for development.

## Features
This starter is relatively basic. It has the following features:

* User Registration with email verification
* User Login/Logout
* Password Reset
* Update Profile
* Update Email
* Update Password
* User Roles
* User Administration (update users, including user role, send password reset, deactivate user)

# The Series
I'll be breaking this down into a multi-part series. I'm not sure how many parts there will be as of this writing - I'll cover as much makes sense. Leave comments with questions, thoughts, suggestions, and I'll incorporate it into future sections. I'm also open to peer reviews of the code and suggestions for improvement!

# Resources
Below are some links to technology resources that are used in this project. Otherwise, let's move onto the next part, where I'll review the client code. 

## The Repository

> Note: I would advise against copying/pasting any code snippets found in any article in this series and instead go directly to the repository to view the code. Due to the amount of code involved, I've omitted lines of code in these articles for brevity. Please view the repo for the full source code.

{% github meditatingdragon/quasar-feathersjs-user-management no-readme %}

## Tech Links

* [FeathersJS](https://feathersjs.com/)
* [MongoDB](https://mongodb.com)
* [Docker Compose](https://docs.docker.com/compose/gettingstarted/)
* [Quasar Framework](https://quasar.dev)
* [AWS SES](https://aws.amazon.com/ses/)
* [Mongoose](https://mongoosejs.com/docs/index.html)
* [Vuelidate] (https://vuelidate.js.org/)
* [Joi Validate] (https://joi.dev/api/?v=17.2.1)
Create Pull Request (only)
Tags: actionshackathon
Published: 2020-09-02 12:43:38

[Instructions]: # (To submit to the GitHub Actions x DEV Hackathon, please fill out all sections.)


Create Pull Request against another or the same repository. There is no extra functionality. If the Pull Request already exists, the action exits without failing.

```
    - name: Make a PR
      uses: MindaugasLaganeckas/create-pull-request@v1
      with:
        token: ${{ secrets.SUPER_SECRET }}
        owner: ${{ env.OWNER }}
        repo: ${{ env.REPO }}
        headBranch: ${{ env.DEST_BRANCH }}
        title: "Install Release Drafter"
```

### Submission Category: 

Maintainer Must-Haves


### Yaml File or Link to Code
https://github.com/mindaugaslaganeckas/create-pull-request/
Create A Custom 404 Page In Gridsome
Tags: vue, webdev, gridsome
Published: 2020-09-02 12:37:54

---
title: Create A Custom 404 Page In Gridsome
published: true
description: How I created a custom 404 page in Gridsome for my site! 
tags: vue, webdev, gridsome
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/r2z2a3fp4225wyyvuupr.png
canonical_url: https://terabytetiger.com/lessons/create-a-custom-404-page-in-gridsome/
---

The other day I was playing around in [Gravit](gravit.io) and made this:

![the word error with a rainbow gradient and black shadow 3D pop-out effect](https://dev-to-uploads.s3.amazonaws.com/i/8e3p6rxnfucccdr0e963.png) 

And thought "Hmmm, I should find something to do with this." I decided it would fit perfectly on my site as the [404 page](https://terabytetiger.com/404). 

So let's see how that's done! 

## Gridsome's 404.vue file

> add a `404.vue` page to your `src/pages/` folder

By default, navigating to a path that doesn't exist will return a plain page with "404 - not found" in an h1 tag - not particularly interesting or helpful since the user now has to either go back a page or change the URL themselves. 

Gridsome makes replacing the default 404 page fairly straightforward - add a `404.vue` page to your `src/pages/` folder. 

Besides displaying the error message, I also applied my default layout to the page so that the user could easily get back to a valid page, and so the error page wasn't as jarring. 

As of the time of writing, this is the code behind my 404 page:

```vue
//src/pages/404.vue

<template>
  <Layout>
    <div class="post max-w-4xl mx-auto text-center">
      <h1>
        404 - page not found
      </h1>
      <p>Oops! That page returns an</p>
      <g-image
        src="~/assets/errorsAllTheWayDown.png"
        width="500"
        quality="50"
        alt="error text with a rainbow gradient and shadows creating a pop-out 3d effect"
      />
    </div>
  </Layout>
</template>
```

Now that I have some customization in place, I might start experimenting with adding fun elements to turn my 404 page into a bit of an Easter Egg like [DEV's offline page](https://dev.to/offline)! 

---

I also made a 'flat' version of the error image which is [available on RedBubble](https://www.redbubble.com/i/sticker/Bubbly-Rainbow-Error-Message-by-12vanblart/55968987.EJUG5)! 👀

---

Have you seen any interesting offline or 404 pages recently? Share your favorites below! 👇
Scenario of Blockchain in India
Tags: blockchain, blockchaindevelopment, cryptocurrency
Published: 2020-09-02 12:23:42

INTRODUCTION: BLOCKCHAIN

Blockchain is the system of the breaking the data into numerous blocks without the whole data being copied. The actual data is safe and secure when it is introduced in the systems of Blockchain. The different designs are resistant to the modification of the data. Each block contains the some segment of the data which is embedded in the system of Blockchain.

Blockchain are secured by designs and exhibits the decentralized computing system. Blockchain were introduced by the Satoshi Nakamoto in 2008. It was introduced to serve the purpose of the world’s largest crypto currency i.e. Bitcoin.

The Blockchain were introduced to solve the problems of the copying of false data or the modified data when the multiple transactions are involved.  Blockchains for bitcoins were specially designed so that it doesn’t involve the interference of the trusted authority or the central server.

It encouraged the designs of other digital and virtual cyrptocurrencies. For instance – Anycondirect (European Based Cryptocurrency), Cex and Kraken (U.S.A based cryptocurrency).

ADVANTAGES: BLOCKCHAIN

For example – Let us say that the cryptocurrency like Bitcoin is exchanged into the form of tokens in any area for the promotion. It is a digital cryptocurrency which consists of the banks details for the accountant holder. The Blockchain is designed in such a manner that the details of Bitcoin are processed further without leaking the other details of bank. In this manner, the privacy is maintained in the Blockchains.

Open Blockchains are more user friendly than some traditional ownership records, which, while open to the public, still requires physical access to view.

SCENARIO IN INDIA: BLOCKCHAIN

The Blockchain will give the major boost to the Indian Economy in the upcoming years. E-Commerce websites helps the customers to connect with the different items directly via the online mode, in the similar manner Blockchain  helps to create the network of transaction in a more secure way. Prime Minister Narendra Modi stated in one of his speech “Blockchain will create the revolution in India”. Internet is referred as the exchange of Information whereas the Blockchain is to the exchange of transaction. Blockchain will allow people to move forward towards the campaign of “Digital India”.
Quest Global Technologies has build a niche in the stream of blockchain application development by implementing, deploying decentralized custom blockchain application. We even provide you additional support to fast forward your business and get ahead by your rivals. With Quest Global Technologies you can find a find a perfect blockchain application solution for different industries to build fast, unique and secure identity for your business.

The Blockchain development services we offered cryptocurrency development, Ethereum ERC20 token development, smart contract development, cryptocurrency wallet development, cryptocurrency exchange development, ICO development, STO development, etc.
AzureFunBytes New Episode Reminder - 9/3/2020 2 PM EDT - DevOps on @Azure w/ @DonovanBrown
Tags: tutorial, beginners, azure, devops
Published: 2020-09-02 12:20:14

New #AzureFunBytes - 9/3/2020 at 2 PM EDT.

This week, my guest is [Donovan Brown](https://twitter.com/DonovanBrown)!  Donovan will join me to discuss DevOps! We'll discuss how bringing people and process together improves the experience for our customers.  Donovan will help me "rub some DevOps" on some deployment targets we'll spin up to ensure repeatable, reliable releases.

 We'll take questions, discuss how Donovan got his start and tons more.

{%youtube yecw2rUlywA %}

AzureFunBytes! - Byte-sized content with a live Twitch show!

Learn about Azure fundamentals with me!

Live stream is available on Twitch at 2 pm EDT Thursday. You can also find the recordings there as well.

https://twitch.tv/azurefunbytes
https://twitter.com/azurefunbytes

Join me, ask questions, and learn about Azure!

[Microsoft Learn: Azure Fundamentals](https://cda.ms/1jV)
[Microsoft Azure: $200 Free Credit](https://cda.ms/1tj) 
[DevOps at Microsoft](https://cda.ms/1B2) 
[What is Azure Pipelines?](https://cda.ms/1zZ) 
[What is Azure Repos?](https://cda.ms/1B0) 
[What is Azure Boards?](https://cda.ms/1B1)
[Azure DevOps Documentation](https://cda.ms/1zY)
Daily Developer Jokes - Wednesday, Sep 2, 2020
Tags: jokes, dailydeveloperjokes
Published: 2020-09-02 12:00:14

---
title: "Daily Developer Jokes - Wednesday, Sep 2, 2020"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
cover_image: "https://private.xtrp.io/projects/DailyDeveloperJokes/thumbnail_generator/?date=Wednesday%2C%20Sep%202%2C%202020"
published: true
tags: #jokes, #dailydeveloperjokes
---

Generated by Daily Developer Jokes, a project by [Fred Adams](https://xtrp.io/) ([@xtrp](https://dev.to/xtrp) on DEV)

___Read about Daily Developer Jokes on [this blog post](https://xtrp.io/blog/2020/01/12/daily-jokes-bot-release/), and check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/).___
### Today's Joke is...
![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e1258ef9deee.png)

---
*Have a joke idea for a future post? Email ___[xtrp@xtrp.io](mailto:xtrp@xtrp.io)___ with your suggestions!*

*This joke comes from [Dad-Jokes GitHub Repo by Wes Bos](https://github.com/wesbos/dad-jokes) (thank you!), whose owner has given me permission to use this joke with credit.*

<!-- 
Joke text:
___Q:___ What did the proud React component say to its child?

___A:___ I've got to give you props
 -->