teleren/devto huggingface dataset:
I have a bunch of questions on how to behave when contributing to open source
Tags: help, discuss
Published: 2018-01-11 17:57:29

---
title: I have a bunch of questions on how to behave when contributing to open source
published: true
description: how to I behave when contributing to open source
tags: help, discuss
---

I want to start contributing to open source. I think I know the mechanics of doing so. I have also skimmed through [Open Source Resources for Beginners](https://dev.to/jess/open-source-resources-for-beginners) posted by @jess which I'll use the sources she provided to find projects. I have few questions 

1. After I contribute first time, am I illegible for `first-time-only` issues any more? How about `beginner` issues?
2. Should I ask whether I can work on the issue every time I want to do so?
3. What happens if I claim the responsibility of wanting to solve an issue and after few days of trying I can't? Is it a bad thing to start the open source "career" as the guy that can't finish? 
4. Do I do anything if I have contributed but after a week the pull request hasn't been accepted?
5. How about me taking the initiative of: correcting spelling, adding instructions to the readme, or (my favorite) creating demos. Should I just open an "issue" (even though it's not technically an issue) and ask if they want it, or should I just make the pull request and see what happens?
6. Relating to question 5 (more for the github interface maybe), if I want to ask the owner "hey I see you made a function that let's you scroll to an element, but you haven't provided a demo, would you like me to do it" do I open an issue (even though it's not) or reach out to them through email or what ever else. **Or is it ever a good idea just to make a pull request with a message and let them decide whether they want it**

Context that made me ask the above:

I made my first contribution a week a go, I asked whether they wanted their document translated to Albanian, they said yes, but nothing happened after I made the pull request - everything fine in my end (hence question 4). Github timeline thing says that I made the first pull request (fireworks and everything)

Few days a go I found a fantastic issue, the owner had made it especially for beginners, it was as simple as adding two lines of code. But I had never come across of that issue before. I would have solved it with a bit of research. 23 hours later, I check back and they owner had solved it (which is fine) (hence question 3), in this case I know I would have solved it, but for the future what's the best thing to do. 

Two more, sort of, unrelated questions: 

- I read that new contributors should blog about it. I do not get that, what would I blog about? Isn't that just a tweet's worth of content "I contributed yet again". I'm serious, I'd love to get into this in every way I can!
- I've had few personal goals I needed to solve hence programming has been a hobby till now, as I start looking for work, do these contributions go on my CV under "work experience"?

Hope this made sense.

Thanks devs
How to read a documentation?
Tags: help, documentation, learn
Published: 2018-01-12 23:20:07

---
title: How to read a documentation?
published: true
tags: help, docs, documentation, learn
---

My biggest issue so far as a software developer is reading a doc. How many times did I open the docs of a new tool I am learning only to end up on Google asking how to do this and that.

Man pages are a bit easier to understand because usually I use them on specific functions. But for a frameworks like ExpressJS or bigger ones like Qt I am completely lost.

What are your tips to read a documentation efficiently?
A showcase of my new personal website
Tags: showdev
Published: 2018-01-12 20:14:31

---
title: A showcase of my new personal website
published: true
description: A post to showcase and collect feedback of my new personal website
tags: #showdev
cover_image: https://thepracticaldev.s3.amazonaws.com/i/3m8pntzfg6vgsujoqs0e.png
---
WordPress Theme Development has come to my mind a ton of times, but never really had the time to get into it, until a few days ago. I decided to take my chance and build myself a personal website (because apparently everyone has one 😁). I fiddled around, figuring out what would the design be like, so I thought nothing represents me better than the tool I'm using, which is Visual Studio Code. So I spent my last weekend on making the WordPress theme. I downloaded [this boilerplate](http://html5blank.com) and started to develop the site and learn about WordPress on the fly. So [here's my site](http://nikolovlazar.com), check it out and I'm hoping you can give me some feedback! Thanks!
CSS Modules in 30 seconds
Tags: css, inthirtyseconds
Published: 2018-01-12 16:50:24

---
title: CSS Modules in 30 seconds
published: true
description: 
tags: css, inthirtyseconds
---
CSS Modules allows us to write CSS rules that are restricted to a certain part of the UI. It is not an official specification or browser implementation, but rather a process enabled by a build tool like Webpack. In contrast to a regular CSS selector, which can match any element, a CSS Modules selector can only match elements in a specific part of the UI (e.g. in a specific React Component). Build tools accomplish this by transforming the selectors we write into new, globally unique selectors and then applying the new selector to the associated UI element.
How we coached the TechCrunch writer to program without code.
Tags: webdev, webdesign, nocode
Published: 2018-01-12 16:03:27

---
title: How we coached the TechCrunch writer to program without code.
published: true
description: 
tags: web development, web design, no-code
---

To Code, or Not to Code? Read [TechCrunch opinion](https://blog.zeroqode.com/how-we-coached-the-techcrunch-writer-to-program-without-code-22d3ffe857e6) on the potential of codeless development with Zeroqode
Evening Rust: Episode 0
Tags: video, coding, rust, competition
Published: 2018-01-12 15:22:51

---
title: "Evening Rust: Episode 0"
published: true
description: First episode of a new series in my quest to learn Rust and play coding games.
tags: video, coding, rust, competition
---

{% youtube ZH_EgCMM4aQ %}

I start my journey to learning Rust on the CodinGame site. I manage to finish a few of the puzzles, thanks to the provided templates. Not much Rust really learned yet.

Watch my streams live on [Twitch - Mortoray](https://www.twitch.tv/mortoray). 
These streams will be late at night (23:00-01:00 Berlin/CET). 
Next Episode Tonight (Friday)
What is Time Complexity?
Tags: video, coding, algorithms, leaf
Published: 2018-01-12 15:20:19

---
title: What is Time Complexity?
published: true
description: An introduction to the basis of measuring algorithms.
tags: video, coding, algorithms, leaf
---

{% youtube U9wlEGvLYKQ %}

An introduction to time complexity: how to count the steps in a program. A look at worst case, average case, and mention of best case. The relevance to profiling, efficiency, collections and encryption.

Watch my streams live on [Twitch - Mortoray](https://www.twitch.tv/mortoray)
インターネットの安全
Tags: security, opensource, basic
Published: 2018-01-12 14:30:15

---
title: インターネットの安全
published: true
description: ソフトを開くを使って安全にネットを見る
tags: security, open source, basic
---


会社または国ば利用者の権利に違反した。。。利用者はそれに気がつか。そのため、開発者ばソフトを開くの工具作った！

## DuckDuckGo

安全なブラウザです。プライバシー保護を尊敬。[試みるにここをクリックください](duckduckgo.com)

![](https://images.duckduckgo.com/iu/?u=http%3A%2F%2Fwww.technobuffalo.com%2Fwp-content%2Fuploads%2F2014%2F09%2FDuckDuckGo-Logo.jpg&f=1)

## HTTPS EVERYWHERE

あなたはHTTPプロトコル案じるですか
[試みるにここをクリックください](https://www.eff.org/https-everywhere)

![](https://images.duckduckgo.com/iu/?u=https%3A%2F%2F2.bp.blogspot.com%2F-5ahOO1RokZo%2FWP0HNlqTCKI%2FAAAAAAAAAwY%2FGJjxDQtnTikWVMT1NehGJCfVq8WhGYjpQCEw%2Fs1600%2Fhttps-everywhere-logo_0.png&f=1)

## PRIVACY BADGER

COOKIESば消す。[試みるにここをクリックください](https://www.eff.org/privacybadger)

![](https://www.eff.org/sites/all/themes/badger/badger-stroke.png)


## PROTONMAIL

安全な[電子メール](https://protonmail.com/)。

![](https://images.duckduckgo.com/iu/?u=http%3A%2F%2Fwww.zdnet.de%2Fwp-content%2Fuploads%2F2015%2F11%2Fprotonmail.jpg&f=1)

以上。安全に楽しむ
Hi, I'm Akinoso Toyosi 
Tags: introductions, beginners
Published: 2018-01-12 14:16:50

---
title: Hi, I'm Akinoso Toyosi 
published: true
description: 
tags: introductions, beginner
---

I am a Front End Developer from Lagos, Nigeria.

I am relatively new to programming, with less than a year's experience.

I'm also very interested in design in general as well as the development of AR/VR.

I currently work with the web using HTML, CSS, Javascript as well as JS Libraries and frameworks.

Super looking forward to be active and contribute on here.

Oh, I'm also a movie head too...Cool music as well, i'm quite open to new songs to love too.

Yeap, Story of my life in a few sentences.

Nice to meetcha ;).
Process Large Files Using PHP
Tags: php, webdev
Published: 2018-01-12 12:58:05

---
title: Process Large Files Using PHP
published: true
description: 
tags: #php #webdev 
---

If you want to process large files using PHP, you may use some of the ordinary PHP functions like file_get_contents() or file() which has a limitation when working with very large files.

https://likegeeks.com/process-large-files-using-php/

Thanks in advance.
Linux Bash Scripting – Parameters And Options
Tags: linux, bash, beginners
Published: 2018-01-12 12:56:48

---
title: Linux Bash Scripting – Parameters And Options
published: true
description: 
tags: #linux #bash #beginners
---

1 Read Parameters
2 Check Parameters
3 Counting Parameters
4 Grabbing All Parameters
5 Shift command
6 Bash Scripting Options
7 Separate Options From Parameters
8 Process Options With Values
9 Standard Options
10 Getting User Input
11 Reading Password
12 Read Files

https://likegeeks.com/linux-bash-scripting-awesome-guide-part3/

Thanks in advance.
Quick! Tell me everything you know about Codility tests
Tags: discuss, help
Published: 2018-01-12 12:30:06

---
title: Quick! Tell me everything you know about Codility tests
published: true
tags: discuss, help
---

Yikes, I need to do a  [Codility](https://app.codility.com/programmers/) test for a job application (JavaScript) in the next two days. As I've never done these type of tests before (and don't perform in tests too well in general unless they're mindless trivia. Max speed of a cheetah? 75mph. Next!) I was wondering if there are people who have experiences with Codility they'd like to share!

Thanks a milli 🙏🏽
Inheritance in Swift
Tags: ios, swift
Published: 2018-01-12 08:24:29

---
title: Inheritance in Swift
published: true
description: introduction to inheritance in swift
tags: ios, swift
---
A class can _inherit_ methods, properties, and other characteristics from another class. When one class inherits from another, the inheriting class is known as a _subclass_, and the class it inherits from is known as its _superclass_. A class that does not inherit from another class is known as a base class.

{% gist https://gist.github.com/agoiabel/af67fc146324735961958ed8183f9066 %}

The above code snippet shows how the `someSubclass` inherited from the `someClass` class. Classes in Swift can call and access methods and properties belonging to their superclass and can provide their own overriding versions of those methods and properties to refine or modify their behavior. Classes can also add property observers to inherited properties in order to be notified when the value of a property changes.

### Accessing Superclass Properties and&nbsp;Methods

Assuming we have a base class named `Person` and a `Youtuber` class that inherit from the Person class

{% gist https://gist.github.com/agoiabel/849418250ec26a3b52e012a5e2d2c6f8 %}

The first thing I want us to notice is the `class Youtuber: Person{}`. We simply said the `Youtuber` be a type of `Person` which make it inherit all the properties and method of the `Person` class.

Secondly, when we initialize the `Subclass`, we use the `super.init()` method to pass the parameters needed by the `superclass` constructor since a `Youtuber` is actually still a `Person`.

We can access the `celebrateBirthday()` method of the `Person` class from the `Youtuber` subclass like below

{% gist https://gist.github.com/agoiabel/b00f5979be1198774e45c6bf2e3a64e9 %}

### Overriding Methods

At times, the `subclass` might wish to override a method contained in a `superclass`. We will make use of the `override` keyword within the `subclass` like below:

{% gist https://gist.github.com/agoiabel/c4114dfdc7b35584f0d8dc344b15fd53 %}

I initialized the `Person` class as well as the `Youtuber` class, the celebrateBirthday method in the Person class will return a different value to the Youtuber class because of the `override` function that print a different content in the Youtuber class.

### Overriding Properties

we have seen how to override `methods` in swift, but there are cases where we actually need to override properties.

{% gist https://gist.github.com/agoiabel/018bd16c230b7873158b96970f921657 %}

Immediately after the `super.init()` in the inside `init` method, we set the country variable. Note that, we can only do this after we have initialize the superclass.

### Preventing Override

We can prevent a method or property from been overridden by a subclass by using the keyword `final func` or `final var`.

There is more to inheritance like observers. Didn’t cover that here because am not pretty sure how to use it now. Will update this article when I fully understand the concept. Lemme go read up `enum and optionals`. Yes, will write about it when done.

_I am happy to share this article with you.
Migrate WordPress Website To Another Host Easily
Tags: tutorial
Published: 2018-01-12 07:03:36

---
title: Migrate WordPress Website To Another Host Easily
published: true
description: This is a easy to understand tutorial and you can easily learn how to migrate WordPress websites to another host in few easy steps.
tags: tutorial
---

Migrate WordPress site is a bit messy, if not done correctly. I thought I should give everyone a guide, a sort of a helping hand for this evergreen issue. So, let’s start the WordPress migration process. 

<a href="https://www.cloudways.com/blog/migrate-wordpress-to-another-host/">Full turorial original source.</a>
Developer evolution
Tags: longs, original, dev
Published: 2020-07-07 09:33:33

---
title: Developer evolution
published: true
date: 2018-01-12 00:00:00 UTC
tags: Longs,Original,dev
canonical_url: 
---

One of the great things of staying on the same job – and on the same project – for a long time is that once in a while you get to see code you wrote years ago. Yesterday was one of those days. I had the opportunity to see how much my coding skills had evolved.

I was confronted with a performance issue from a piece of code I wrote 5 years ago. After a couple of hours I and a colleague pinpointed the bottleneck and rewrote the problematic code. The code ran 6–8x faster.

I want to make 3 points from this:

- Don’t optimize prematurely. The code was in production for 5 years and was good enough. In that time I could improve my understanding of the whole system, a crucial skill to make good design decisions.
- Challenge yourself. The bottleneck was quite obvious once I saw it. 5 years ago I didn’t have the maturity to question my own code. This could have been avoided with tools like pair programming or code reviews but it’s always a good thing to take a critical look at your work before checking in
- Measure. Sometimes the problematic code is not that obvious. There are great tools that help you to measure the performance of your code. Learn to use them.

I want to thank the developer – or team – behind [CodeTrack](http://www.getcodetrack.com/). It’s a great tool and on top of that completely free! If you work in .net it’s a must have.
How does one overcome 'The Impostor Syndrome'? 
Tags: beginners, career, tips, discuss
Published: 2018-01-12 06:38:18

---
title: "How does one overcome 'The Impostor Syndrome'? "
published: true
description: 
tags: #beginner #career #tips #discuss
---

I'm currently a 3rd year Computer Science student, who recently just transferred from a community college into a university, and I feel like I'm not quite ready or feel like I don't have the necessary skill sets that I need in order to succeed, not only in my upper division courses, but as well as when it comes to things like internships. There are these doubts in my head that would creep up from time to time telling me that I've only gotten up to this point of because of sheer luck and that sooner or later, reality will come crashing down and expose me. I've read and heard stories of students and even those who already have their career in the tech industry experience this so my question is: how did you overcome it? Does it comeback from time to time? If so, what do you do?
暗号通貨の相場をターミナルで表示する
Tags: bitcoin, blockchain, cryptocurrency
Published: 2018-01-12 04:07:33

---
title: 暗号通貨の相場をターミナルで表示する
published: true
description: 暗号通貨の相場をターミナルで表示する
tags: bitcoin,blockchain,cryptocurrency
---

暗号通貨ジャンキーのエンジニアの為に。
暗号通貨の相場は[Coinmon](https://github.com/bichenkk/coinmon)を使ってターミナルで確認しましょう。

        npm install -g coinmon
        coinmon

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


# 日本円で表示する
        coinmon -c jpy


![](https://thepracticaldev.s3.amazonaws.com/i/8ks4ylzjjqsrp70t9xkt.png)

# 通貨を指定して表示する
        coinmon -f btc


![](https://thepracticaldev.s3.amazonaws.com/i/591zfs37exm1ufma3rkc.png)


以上。
これで職場でも安心ですね。
UE4のVR Preview開始時に高さが合わないのを何とかしたかった
Tags: oculus, ue4, unrealengine
Published: 2018-01-12 01:09:00

---
title: UE4のVR Preview開始時に高さが合わないのを何とかしたかった
published: true
tags: Oculus, UE4, UnrealEngine
date: 20180112T01:09Z
canonical_url: https://qiita.com/shiena/items/00a8cc8f681bed1ddde7
---
# はじめに

UE4でVR Previewを見るときにPlayボタンを押してからOculusを被っていたんですが、センサーの範囲外だとカメラが床の高さになってしまい、やり直しが面倒なので四苦八苦した記録です。

# VR Previewを遅延させてみる

VR Previewを実行した時にOculusがセンサーの範囲に入っていればいいので、VR Previewの前に遅延を入れてみました。
それで必要なことは次の3つです。

* 実行の契機となるもの(ボタンとか)
* タイマー
* BluepirntもしくはC++からVR Previewの機能を実行する方法

1つ目はエディタ拡張にするには大袈裟なのでalweiさんの[UE4 Blutilityによるお手軽なエディター拡張](http://unrealengine.hatenablog.com/entry/2016/10/05/215937)で解説されている方法のうち、`GlobalEditorUtilityBase`を継承したBlutilityアセットをダブルクリックして呼び出す方法を使います。

2つ目はBlueprintの`Set Timer by Event`ノードを使います。

3つ目は試行錯誤した結果、VR Previewの機能そのものを直接実行できなかったので、Playボタンのキーボードショートカットの`Alt+P`をツールバーに送る事で実現できました。
これは関数ライブラリーとしてC++クラスを追加して次のコードを書きます。

```cpp:MyBlueprintFunctionLibrary.h
#pragma once

#include "CoreMinimal.h"
#include "Kismet/BlueprintFunctionLibrary.h"
#include "MyBlueprintFunctionLibrary.generated.h"

UCLASS()
class MYPROJECT_API UMyBlueprintFunctionLibrary : public UBlueprintFunctionLibrary
{
	GENERATED_BODY()

	UFUNCTION(BlueprintCallable, Category="MyBPLibrary")
	static void PlayInEditor();
};
```

```cpp:MyBlueprintFunctionLibrary.cpp
#include "MyBlueprintFunctionLibrary.h"
#include "Kismet2/DebuggerCommands.h"

void UMyBlueprintFunctionLibrary::PlayInEditor()
{
	FPlayWorldCommands::GlobalPlayWorldActions->ProcessCommandBindings(EKeys::P, FModifierKeysState(false, false, false, false, true, true, false, false, false), false);
}

```

依存モジュールがあるので`PublicDependencyModuleNames`に`"Slate", "SlateCore", "UnrealEd"`を追加します。

```c#:MyProjectBuild.cs
using UnrealBuildTool;

public class MyProject : ModuleRules
{
	public MyProject(ReadOnlyTargetRules Target) : base(Target)
	{
		PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
	
		PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore" });

		PrivateDependencyModuleNames.AddRange(new string[] { });

        if (Target.bBuildEditor == true)
        {
            PublicDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore", "UnrealEd" });
        }

		// Uncomment if you are using Slate UI
		// PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });
		
		// Uncomment if you are using online features
		// PrivateDependencyModuleNames.Add("OnlineSubsystem");

		// To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true
	}
}
```

適当なフォルダにBlutilityを作って以下のノードを組みます。
そしてこのアセットを呼び出すと3秒後にVR Previewが始まります(厳密には最後に実行したプレイモード)
やったね！

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


# もっと簡単な方法

レベルブループリントに以下のノードを組んでおけばOculus Touchの左コントローラーのメニューボタンを押したときに位置トラッキングをリセットできるのでした。ちゃんちゃん

![image.png](https://dev-to-uploads.s3.amazonaws.com/i/0vkj5quvo67nxrrajxsg.png)
Would fake projects/websites really get you a mid-level job as a web designer?
Tags: discuss
Published: 2018-01-11 20:10:13

---
title: Would fake projects/websites really get you a mid-level job as a web designer?
published: true
description: 
tags: discuss
---

I just saw a youtube video where someone explained that employers want to see that you can work on big projects. They want to know how much training you would need. 

Then he went on to say that as a beginner you should reach out to local businesses and ask whether you can create a website for them. **However, you can even create your own business** and he gave portfolio example like [this one](https://kabdul23.github.io/portfolio/index.html#portfolio), the work is all made up. The websites are bike shop, redskins landing page, fast food shop, engineering company. They are great looking websites but they aren't real clients. 

Does it really mean that someone with such a portfolio can get hired for mid-level position (let's assume that the websites were a lot more complex, with backend and so forth), purely the fact that they are fake and that the candidate hasn't had a really client - even though they made sites the imaginary client would be proud of - can they be mid-level candidates?
API Gateway: the Microservices Superglue
Tags: node, apigateway, microservices
Published: 2018-01-11 17:20:12

---
title: "API Gateway: the Microservices Superglue"
published: true
description: Express Gateway is an API Gateway that sits at the heart of any microservices architecture, securing your microservices and exposing them through APIs.
tags: #nodejs #apigateway #microservices
canonical_url: https://auth0.com/blog/apigateway-microservices-superglue/
---
Express Gateway is an API Gateway that sits at the heart of any microservices architecture, securing your microservices and exposing them through APIs.

In this tutorial, we'll show you how an API Gateway can be a great tool when you have multiple microservices that need to share multiple tasks.

[Read more 🏘](https://auth0.com/blog/apigateway-microservices-superglue/?utm_source=dev&utm_medium=sc&utm_campaign=apigateway_microservices)

![API Gateway: The Microservices Superglue](https://thepracticaldev.s3.amazonaws.com/i/d4ibx3ecbe0j2xko8x62.png)
Open Source API Gateways?
Tags: security, network
Published: 2018-01-11 14:16:23

---
title: Open Source API Gateways?
published: true
description: Reviewing what is out there and if any are any better than others.
tags: security, network
---

I've been reviewing the market recently for open source API Gateways. I'm looking to sit my gateway in-front of a number of API services provided by node.js express applications.

I'm looking for basic rate limiting, throttling and some form of API monitoring. Upon a quick Google search I've come across the following products but I'm completely clueless as to whether the community feels any one is better than the other or if anyone has any real world experience with these products and can offer some insights into good / bad points.

https://tyk.io
https://moesif.com
https://gravitee.io/
https://apiumbrella.io/
https://getkong.org/