teleren/devto huggingface dataset:
By Any Other Name
Tags: testers, testing
Published: 2018-10-26 20:03:20

---
title: By Any Other Name
published: true
tags: testers, testing
canonical_url: 
---

Earlier this week, Ash Coleman [asked a question](https://twitter.com/AshColeman30/status/1054903908567408640) on Twitter: “Today I walked a team through several analogies to describe testing, like ‘gatekeeper’ or ‘goalie’… Curious, which analogies do you use to describe testing and testers?”

I really liked this question! I didn’t have an immediate answer, so it was a fun thought exercise. I first considered the analogies that Ash used. In a company that has a supportive and widespread consideration of quality, I think gatekeeper can be a great analogy! It brings to mind that testers are kind of the last line of defense - meaning that testers are the last chance to add quality or prevent regressions before something goes live, but that everyone else was also working hard at supporting testing and quality all along the way.

However, that scenario doesn’t fit my experience with the gatekeeper analogy. I’ve seen the gatekeeper analogy used as an excuse for other people not to include quality practices in their work, or to pay less attention to the details, because it’ll be caught by the tester. The gatekeeper perspective places the responsibility of testing and quality onto the shoulders of testers alone, which causes all sorts of problems.

Someone else replied to Ash’s tweet with a great analogy about Indiana Jones: “I like to think Indiana Jones… exploring and prodding and figuring out what and how it might be used”. I love this one! I see a lot of ways that testers are like Dr. Jones - intrepid explorers, we search the way ahead; we look for pitfalls and ways to avoid them; we need to be flexible and iterate quickly based on needs. We also try to do good in addition to doing well, often teach and educate people around us, and make sure everyone’s prepared for the journey. I also happen to look quite dashing in a fedora 😉

_(And we generally feel strongly about people having tickets to capture the work being done!)_
![Indiana Jones "no ticket" scene](https://thepracticaldev.s3.amazonaws.com/i/2jmq80mdsu13eycynwtl.gif)

**I’m curious to hear what analogies you think describe testers! Does the Indiana Jones comparison resonate with you, or something else?**
Magento Product Designer: Changing the Online Retail Scenario
Published: 2018-10-26 06:33:36

---
title: Magento Product Designer: Changing the Online Retail Scenario
published: true
description: Magento product designing tools available in the market are easily integrable and come with an array of features and functionalities. Using it, your customers can create unique products on the canvas you provide. By the year 2020, most of the ecommerce store owners will offer product personalization so that they can get over selling mundane products.
tags: 
---
<img src="https://www.brushyourideas.com/wp-content/uploads/2018/08/Magento-Product-Designer-Changing-the-Online-Retail-Scenario.png"></img>

Some years ago, e-retail was a game with few players. Now, it is a humongous playground with giants like Amazon, eBay, and Walmart competing against each other. In a playground so huge, you might be just a speck. To make your presence felt, you can’t just open up an ecommerce website and wait for people to flood in. You will have to make your e-store interactive. Create a real marketplace.

Eddie Machaalani & Mitchell Harper; the Co-CEOs of Bigcommerce said that “By 2020, brick and mortar retail spaces will be little more than showrooms.” The question is how? How can you be unique with your products and stand out? The biggest answer to this is, “Get over the one-size-fits-all” psyche. And help your customers get over them too. If you have a Magento based ecommerce website and you are looking forward to be a one-of-a-kind-store, a Magento Product Designer can work wonders for you.

To Know more about product :- https://www.brushyourideas.com/magento-product-designer/

To know how and in what ways, Read full article <a href="https://www.brushyourideas.com/blog/magento-product-designer-changing-online-scenario/">here</a>
What is Robots.txt ? And its importance.
Tags: robotstxt, crawling, searchenginebots, googlebots
Published: 2018-10-26 06:07:38

---
title: What is Robots.txt ? And its importance.
published: true
description: Robots.txt concept and its importance. Get more info about implementations steps and how we can use it for our ranking.
tags: robots.txt, crawling, search engine bots, google bots
---

Crawling and indexing are two different concepts which we really need to understand. We know how to see robots.txt but there is misconception about robots.txt. Most of the peoples consider robots.txt is for “noidex” or “doindex”. But please understand robots.txt is not for used for indexing purpose.
It is mainly used to instruct Google bot or any other third party search engines bots to crawl certain part of the website. It may be image, text or any multimedia which we use on web page, apart from this there is also sensitive data specially in ecommerce business where peoples use their credit or debit card information for transaction purpose. To hide those sensitive data from google bot or any bot which want to crawl our website, we recommend to any website we must use robots.txt file.
How to check whether robots.txt is available for any website.
Robots.txt mainly resides mainly at the root of the domain.
-	So, we can check any domain robots.txt file at www.xyz.com/robots.txt.
How to implement robots.txt on our website
-	If you are WordPress user, you can use various plugins to configure your robots.txt
-	If you are non-WordPress user, then you can simply use cPanel of your domain. And you add robots.txt file at .htaccess place.
Basic Structure of robots.txt
User-agent:*
Disallow: /wp-admin
Disallow: /track/

This will prevent robots from crawling your admin folder followed tracks, comment feed, comments 

Summery:
Robots.txt file is mainly used to stop the search engine bots from crawling particular parts of your website. If you want to deindex the already indexed pages of your website, then I would recommend remove those urls from google.
Starting A Project Of Personal Interest
Tags: angular, webdev, career, javascript
Published: 2018-10-26 02:34:30

---
title: Starting A Project Of Personal Interest
published: true
description: Being a complete fresher to software development, I want to take this humongous task of learning Angular and handle two projects at the same time(one at work and my personal project)
tags: #angular, #webdev, #career, #javascript
cover_image: https://proxy.duckduckgo.com/iu/?u=https%3A%2F%2Fliquidplanner-wpengine.netdna-ssl.com%2Fwp-content%2Fuploads%2Fproject-methodology.jpg&f=1
---

I have been very passionate about programming ever since my graduation. I have used Python for academic project. I have learnt a lot of machine learning algorithms. Later on I was pivoted to Front-end web development and completed Responsive Web-Design Certification course from FCC.

#Where am I now

![Problem, oppertunity](https://proxy.duckduckgo.com/iu/?u=http%3A%2F%2Fwww.finerminds.com%2Fwp-content%2Fuploads%2F2013%2F03%2Fshutterstock_115912405.jpg&f=1)

I'm at the initial stages of learning Angular and yet to create my first application. But, I don't want to sit back and relax. I want to start developing my idea into a real product. Been doing extensive research on it regularly and I just don't feel ready. It's mostly because of technical experience. 

At work, there's a constraint on how much I can learn. The experienced person spends a very less time with us and always wants us to learn on our own. Although it is good in a way, this is affecting my learning pace. Solving a dependency bug takes me a day or two.

#My plan
![Master Plan](https://proxy.duckduckgo.com/iu/?u=http%3A%2F%2Fzigma.com.br%2Fwp-content%2Fuploads%2F2016%2F02%2FPLANEJAMENTO.png&f=1)
It is clear that I have to work my ass off to see these projects into products.  To prevent myself from exhausting mentally, I have been doing my personal project in the early morning. From my understanding, it'll take at least take 12-15 days for me get comfortable with Angular. Meanwhile I'll continue my research. May be I'll find something that I have missing.

VS 2017 has been a nightmare for me. Getting the platform ready for the Angular development has been hectic job already(I would really love some suggestions on this).

#Tell me this
![Tell me!](https://proxy.duckduckgo.com/iu/?u=http%3A%2F%2Fmemecrunch.com%2Fmeme%2F27TI%2Ftell-me-more%2Fimage.png&f=1)
Am I taking too much of workload that I can't handle? 

Am I putting the effort in the right direction?

Am I learning right?

#####This is my first ever blog post. Any feedback or comments are welcome.
What do you to wind down after a weekday?
Tags: discuss
Published: 2018-10-26 01:24:48

---
title: What do you to wind down after a weekday?
published: true
description: It's nice to wind down; how do you do it?
tags: discuss
---

I'm pretty tired today -- probably because I've been getting enough sleep, except last night -- but I'm somehow still wired enough to want to do things. Still, I'm too tired to actually _go_ and do something except mindlessly scroll down some feed or play Chrome dino.

### How do you like to wind down your weekday?
react-use-localstorage
Tags: react, localstorage
Published: 2018-10-26 01:36:20

---
title: react-use-localstorage
published: true
tags: React,localstorage
canonical_url: https://www.slightedgecoder.com/2018/10/25/react-use-localstorage/
cover_image: https://thepracticaldev.s3.amazonaws.com/i/ml3oa662se10cjxab24f.jpg
---

_Photo by [Chris Scott](https://unsplash.com/photos/NEc3YEN1FFw?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/search/photos/hooks?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)_


[React Hooks](https://reactjs.org/docs/hooks-intro.html) was just announced today at [React Conf 2018](https://conf.reactjs.org/).

You can check the [official documentation](https://reactjs.org/docs/hooks-intro.html) & also following article,

{% link https://dev.to/vcarl/everything-you-need-to-know-about-react-hooks-doh %}

so I won’t go into it further.

I created a simple hook called [react-use-localstorage](https://www.npmjs.com/package/react-use-localstorage), which lets you store state in [Local Storage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage).

## 🚀 Prerequisite

You need to use following React versions.

- **react** : 16.7.0-alpha.0
- **react-dom** : 16.7.0-alpha.0

_It’s bleeding edge and not recommended to use in production._

You can follow along on [CodeSandbox](https://codesandbox.io/s/09xj95vxl).

## ⚒ How to use it

First, install the package, react-use-localstorage.

{% gist https://gist.github.com/dance2die/0f4e5b5493593d2a903ac8dc7cda4088 %}

And use it in a “Functional Component”.

{% gist https://gist.github.com/dance2die/b98da9374585f1df9325bb279ce973f0 %}

## 🏃 Working Demo

The demo shows that state is saved directly in local storage.

![](https://i0.wp.com/www.slightedgecoder.com/wp-content/uploads/2018/10/2018-10-25_20-00-40.gif?w=1170&ssl=1)

## 💫 Additional Context

The source code is available on [GitHub](https://github.com/dance2die/react-use-localstorage) with MIT license.

The post [react-use-localstorage](https://www.slightedgecoder.com/2018/10/25/react-use-localstorage/) appeared first on [Sung's Technical Blog](https://www.slightedgecoder.com).
Simple UI Element Dragging Script in Unity C#
Tags: unity3d, gamedev, ui
Published: 2018-10-26 01:21:09

---
title: Simple UI Element Dragging Script in Unity C#
published: true
description: Quickly add UI drag functionality to any UI element.
tags: unity, gamedev, UI
---

Attach this script to your gameobject/prefab to enable a simple drag mechanism for your UI elements. You'll also need to add the `EventSystem` object to your scene.

It's fairly straightforward. The overridden `UnityEngine.EventSystems.OnPointerDown` and `OnPointerUp` methods simply toggle the dragging `bool`. Then the `Update` method will modify the position of the object this script is attached to.

With this solution, the UI element's center will snap to the cursor, but to make this cleaner, an offset can be added based on the position within the UI element when the `OnPointerDown` is triggered.

```
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;

public class UIElementDragger : EventTrigger {

    private bool dragging;

    public void Update() {
        if (dragging) {
            transform.position = new Vector2(Input.mousePosition.x, Input.mousePosition.y);
        }
    }

    public override void OnPointerDown(PointerEventData eventData) {
        dragging = true;
    }

    public override void OnPointerUp(PointerEventData eventData) {
        dragging = false;
    }
}

```
Setting up postfix, dovecot and sieve
Tags: postfix, dovecot, mail, sieve
Published: 2019-10-28 09:54:26

---
title: Setting up postfix, dovecot and sieve
published: true
date: 2018-10-26 00:00:00 UTC
tags: postfix,dovecot,mail,sieve
canonical_url: https://foursixnine.io/blog/2018/10/26/postfix-dovecot-sieve.html
---

# The horror

While trying to set up my mail system, I ran into multiple tutorials to figure out what was the best way to avoid multiple error messages, mainly because you, like me (you silly human!), simply copy and pasted random stuff from stack overflow, and tutorials in howtoforge and places like that…

## The mistakes

You tried something like this

```
spamassassin unix - n n - - pipe flags=DROhu user=vmail argv=/usr/bin/spamc -e /usr/lib/dovecot/deliver -f ${sender} -d ${user}@${nexthop}
```

or this:

```
mailbox_transport = lmtp:unix:private/lmtp
virtual_transport = lmtp:unix:private/lmtp
```

## The pain

so you ended up with something that looks similar to this:

```
Oct 24 01:13:24 nergal postfix/pipe[10207]: fatal: get_service_attr: unknown username: vmail
Oct 24 01:13:25 nergal postfix/master[10104]: warning: process /usr/lib/postfix/bin//pipe pid 10207 exit status 1
Oct 24 01:13:25 nergal postfix/qmgr[10106]: warning: private/spamassassin socket: malformed response
Oct 24 01:13:25 nergal postfix/master[10104]: warning: /usr/lib/postfix/bin//pipe: bad command startup -- throttling
Oct 24 01:13:25 nergal postfix/qmgr[10106]: warning: transport spamassassin failure -- see a previous warning/fatal/panic logfile record for the problem description
```

## Resignation

So what worked for me was to leave the service in the master.cf as I had it working…

and simply add to master.cf

```
spamassassin unix - n n - - pipe flags=R user=app argv=/usr/bin/spamc -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
```

and in the main.cf

```
mailbox_command = /usr/lib/dovecot/deliver
```

## The light

Sieve filtering started to work after these changes :)

- Check [This article](https://www.vultr.com/docs/simple-mailserver-postfix-dovecot-sieve-centos-7)that gave me that life saving line
PROTON - Pragmatic automagic python3 framework
Tags: python3, framework, api
Published: 2018-10-25 22:05:52

---
title: PROTON - Pragmatic automagic python3 framework
published: true
description: PROTON is a high level Python3 framework that facilitates rapid server side development with clean and pragmatic design.
tags: #Python3, #framework , #API
---

PROTON aims at easing server-side development for all Python enthusiasts. Essentially, by running a shell command, developer will auto generate necessary Model, Controller and APIs! All of this with connectivity to Transactional Databases (PROTON supports Postgresql, MySQL & SQL Server),caching (Redis middleware), Auto generated OpenAPI specs & descriptive logging! One command, to get a production ready server-side stack!

https://github.com/PruthviKumarBK/PROTON

Happy coding,
Pruthvi | http://www.apricity.co.in
Should you be using Discord instead of Slack?
Tags: discord, slack
Published: 2018-10-26 07:05:28

---
title: Should you be using Discord instead of Slack?
published: true
tags: Discord, Slack
canonical_url: https://miguelpiedrafita.com/slack-discord/
cover_image: https://images.unsplash.com/photo-1524635962361-d7f8ae9c79b1?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjExNzczfQ&s=5ce4347d83c09ca6a31d33796da11b24
---
_Originally published on [my blog](https://miguelpiedrafita.com/slack-discord/)_

You may have seen some Slack-Discord migrations recently (Laravel's new Discord channel is a great example) and wondered why are developers moving to a "gaming chat" and if you should too. Here are some things you need to know to know about Discord before making a decision:

First off, **Discord is not "gamers-only"**. Yes, they've focused on gamers, but their platform is awesome for any kind of use (and [they explicitly welcome developers](https://discordapp.com/open-source)).

Also, **Discord is free**. Yes, you can buy [Discord Nitro](https://discordapp.com/nitro) to get exclusive perks (animated profile pictures, animated emoji, etc), but normal use it's free. That's right; no message limit, free calls, unlimited images, etc.

Talking about calls, Discord [has been described as the best **VOIP** solution in the market](https://twitter.com/sn0wbirdtbh/status/864934396373151745) and they even provide **videochat and screen-sharing** (only for groups now tho, they're working on server support for it).

And what about integrations? You're probably using Slack webhooks to get GitHub or Travis notifications and those platforms doesn't seem to provide Discord support, do they? Well, not explicitly, but if you append `/slack` to any Discord webhook [it'll behave exactly like a Slack webhook](https://support.discordapp.com/hc/en-us/articles/228383668-Intro-to-Webhooks), and you'll be able to use it anywhere.

So, who's using it? There are official Discord communities for [Yarn](https://discordapp.com/invite/yarnpkg), [Vue](https://discord.gg/HBherRA), [Laravel](https://discord.gg/Ru8NTWT), [GraphQL](https://discord.gg/ef2h6QM), [Elixir](https://discord.gg/elixir), [OBS](https://discord.gg/obsproject), [Vapor](https://discord.gg/vapor), [Brave Browser](https://discord.gg/k57tYrS), [Rainmeter](https://discord.gg/Rainmeter), [Gentoo](https://discord.gg/QNMGcB6), [Statamic](https://statamic.com/discord) and probably a lot more.

While Slack is more enterprise-focused and has a bigger app marketplace, I'd encourage you to try Discord. Maybe you'll like it better!

_Liked this article? Consider [supporting my work](https://miguelpiedrafita.com/patreon)._
Help test the DEV beta app!
Tags: ios, meta
Published: 2018-10-25 20:48:25

---
title: Help test the DEV beta app!
published: true
description: Happy bug hunting 🐛
tags: ios, meta
cover_image: https://thepracticaldev.s3.amazonaws.com/i/mlidphnj7jbeklftbvpe.jpg
---

To all the iOS users out there: we'd love your help testing the DEV beta app. None of us on the core team are mobile experts but, with the help from a few community members, we've stood something up that can be released soon after a few bugs are sorted out.

If you're interested in helping us report and/or fix these bugs, please download the app. This link should provide all the details (you'll have to download TestFlight first): https://testflight.apple.com/join/7Wq8VRLQ


And the GitHub repo for anyone interested in poking around:

{% github https://github.com/thepracticaldev/DEV-ios %}

Thanks for your help 🙏
How to make a .onion site
Published: 2018-10-25 20:45:38

---
title: How to make a .onion site
published: true
description: The Tor browser is a powerful free tool for browsing the internet anonymously that also unlocks a portion of the deep web in the form of .onion addresses.
tag: tor, domain, web site, hosting
---

*The Tor browser is a powerful free tool for browsing the internet anonymously that also unlocks a portion of the deep web in the form of .onion addresses. If you own or are looking to create a website, you may want to learn how to create a .onion site to protect yourself and your visitors.*


## How do I create a .onion domain name?

**Step 1**. Copy the address [http://dhosting4okcs22v.onion](http://dhosting4okcs22v.onion/register.php) to the url line after the Tor browser is turned on.
**Step 2**. Accept the Username, Password, Confirm password, Copy and Usage agreement on the page that opens.
**Step 3**. After you become a member, you will receive a warning message. Random domain names such as fzrcdjvzulfpczfd.onion will be generated.
**Step 4**. You can log in by typing your username and password at [http://dhosting4okcs22v.onion/login.php](http://dhosting4okcs22v.onion/login.php).
**Step 5**. After performing the input process, the control panel will announce.

### HTML (Demo) Site Setup and Configuration

**Step 1**. Click the FileManager link in the control panel. The new tab will open.
**Step 2**. Enter your password on the pop-up page.
**Step 3**. Click the www folder.
**Step 4**. Select the index.hosting.html file and press the Delete key.
**Step 5**. Download the file [tor.zip](https://github.com/ahmetcadirci25/tor/archive/tor.zip) and choose the Browse button and click Upload.
**Step 6**. Select [tor.zip](https://github.com/ahmetcadirci25/tor/archive/tor.zip) and export the html file we made by pressing Unzip.
**Step 7**. [fzrcdjvzulfpczfd.onion](http://fzrcdjvzulfpczfd.onion) to view the html file we uploaded.


{% github ahmetcadirci25/tor %}


#### Source: 
[Ahmet Çadırcı](https://ahmetcadirci.com/) | [https://ahmetcadirci.com/2018/onion-uzantili-tor-sitesi-nasil-kurulur/](https://ahmetcadirci.com/2018/onion-uzantili-tor-sitesi-nasil-kurulur/)
Scrum in hardware / embedded software development
Tags: discuss, scrum, embedded, software
Published: 2018-10-25 20:17:55

I had fun today at a hardware  Scrum hackathon. Using an Arduino, we developed software and put together hardware simultaneously, in 60 minute mini-sprints.

Now I’m wondering: whose doing Scrum, or something similar, in real life hardware / embedded software development? What are your experiences?