teleren/devto huggingface dataset:
”Grown up” issues
Tags: dailywriting
Published: 2019-07-16 23:39:25

---
title: ”Grown up” issues
published: true
tags: daily-writing
canonical_url: https://marcusblankenship.com/grown-up-issues/
---

I believe 99% of issues which get people fired were “no big deal” at one point.

But then, the issues “grew up.”

Pull the weeds while they’re small, and you’ll need weed killer less often.

## TL;DR

When a manager sees something that concerns them, they may turn a blind eye, hoping the issue will resolve itself.

I get it – I’ve done it myself, too many times. You don’t want to appear a micromanaging jerk.

For example, maybe Jack isn’t using the branching the same as everyone else.

Or he’s rubber-stamping Pull Requests, occasionally.

Or his UI doesn’t quite match the design, in small ways.

In each case, it’s “close enough,” so you don’t say anything.

After all, we’re all busy. We’re all doing our best.

And you don’t want to destroy Jack’s morale.

Or, worse, cause him to get pissed and quit.

So, you say “it’s close enough” and hope he’ll figure it out with time.

Or with hints, or glares, or snide comments.

## But then…

Soon you don’t trust Jack but can’t put your finger on exactly why.

Then, one day, he rubber-stamps a PR one too many times, and you decide to talk to him.

To Jack, it’s a small thing, because it’s the first he’s heard of it.

To you, it’s a big thing, because you’ve got a thousand cuts.

Jack’s confused because the fact that it’s a VERY BIG DEAL to you will always come through.

 

**Make the tough calls even when it’s close.**

Especially in the first few months working with Jack.

Start from day one, giving honest feedback about the tiniest things.

Jack will learn that’s normal – no big deal.

I believe 99% of issues which get people fired were “no big deal” at one point.

But then, the issues “grew up.”

Pull weeds while they’re small, and you’ll need weed killer less often.

Who on your team has some “no big deal” issues which might grow up?

Are you willing to have a quick discussion today before they become a big deal?

Best,  
Marcus

P.S. – I’m thinking of doing our 3-day in-person workshop somewhere in the late fall, probably October. Would your company like to host it? Write me back to discuss.

The post [”Grown up” issues](https://marcusblankenship.com/grown-up-issues/) appeared first on [Marcus Blankenship](https://marcusblankenship.com).
tflookup - Developer diary Epilogue
Tags: tflookup, heroku
Published: 2019-07-09 07:14:42

Dear diary,

it's been some days since I wrote to you about my experience with [creating a Terraform documentation lookup app](https://dev.to/t/tflookup) and while I'm using tflookup on a daily, I noticed something.

When I start my work in the morning and have the first interest in looking up some provider resource of Terraform, I naturally check out tflookup. And that is no fun experience, because I have to wait and waiiiiit until tflookup finally comes up.

That's because, Heroku has something they call [dyno sleeping](https://devcenter.heroku.com/articles/free-dyno-hours#dyno-sleeping) for the free subscription and as not many other people tend to use tflookup currently, the app gets all sleepy and falls into a deep slumber until I wake it up in the morning.

I don't want to pay Heroku for this little side project of mine and being a simple Node.js app, that is easily deployable, I simply deployed it on my server, that I manage for years (and that is already active rebuilding the tflookup index each night)

So from now on, I will be checking out [tflookup on a new address](https://tflookup.blueocean-net.de).

Yours
Dennis
The bug which worth 2k$ 
Tags: security, api, graphql, sql
Published: 2019-07-09 06:28:14

I was testing around a public program on [Bugcrowd](https://www.bugcrowd.com). The program does not allow public disclosure so I will call it __redacted.com__, it was public for about 7 years and lots of 1337 (_1337 => hackers_) have tried it for security vulnerabilities, so I was testing around and was so frustrated, as those were my starting days. Being frustrated I took a break and thought what am I doing I revert back the 1337 methodology which is **try harder**. I took a break and got to sleep after waking up I realize a request which was fetching my saved items so I immediately turn my laptop on and started looking for the request by capturing the request with [BurSuit](https://portswigger.net) so, there was a request which retrieved my saved items and it was sent via [GraphQL](https://graphql.org) to the server after entering a semicolon to the saved `saved_items_id` got the `SQL syntax error`. After reporting the issue within a week got 2k$ bounty and an immediate fix was applied to the endpoint
{% twitter 1098514139176226816 %}
Add Permissions for Android in AndroidManifest.xml in React Native
Tags: reactnative, ios, android, javascript
Published: 2019-07-09 05:20:43

---
title: Add Permissions for Android in AndroidManifest.xml in React Native
published: true
description: Add Permissions for Android in AndroidManifest.xml in React Native
tags: #reactnative #ios #android #js
---

Source : <a href="https://www.skptricks.com/2019/07/add-permissions-for-android-in-androidmanifest-xml-in-react-native.html" > Add Permissions for Android in AndroidManifest.xml in React Native</a>

This tutorial explains how to add permissions for android application in AndroidManifest.xml File in react native application. Permissions is designed to maintain the security between application and application user. The purpose of a permission is to protect the privacy of an Android user. Android apps must request permission to access sensitive user data (such as contacts and SMS), as well as certain system features (such as camera and internet). Depending on the feature, the system might grant the permission automatically or might prompt the user to approve the request. The AndroidManifest.xml file contain all the important information about application like Application Icon details, Application name and all about activities. AndroidManifest.xml file is used to set normal permissions inside it.

<img src="https://1.bp.blogspot.com/-9CR6JaoWtd4/XSLE8A1pDWI/AAAAAAAADFc/L54ZPR2mYWMmlznl_rIELwIPApWABuWQQCLcBGAs/s400/add-permissions-for-android-in-androidmanifest-xml-in-react-native.jpg" />

<a href="https://www.skptricks.com/2019/07/add-permissions-for-android-in-androidmanifest-xml-in-react-native.html" >  Click here to read more... </a>
React Native Runtime Permissions Request Android Example
Tags: reactnative, android, ios, javascript
Published: 2019-07-09 05:17:56

---
title: React Native Runtime Permissions Request Android Example
published: true
description: React Native Runtime Permissions Request Android Example
tags: #reactnative #android #ios #js
---

Source : <a href="https://www.skptricks.com/2019/07/react-native-runtime-permissions-request-android.html" > React Native Runtime Permissions Request Android Example</a>

This tutorial explains how to implement runtime permissions request in android device in react native application. The purpose of a permission is to protect the privacy of an Android user. Android apps must request permission to access sensitive user data (such as contacts and SMS), as well as certain system features (such as camera and internet). Depending on the feature, the system might grant the permission automatically or might prompt the user to approve the request. Android application has its own secure infrastructure to make application user feel that he is completely secure from any threat and also he can manage to give some of his own data as his own permissions. Application developer directly ask the application user for his permission before accessing his personal data like Device Location, Access Camera, Access device storage, Access device Contacts etc.

<img src="https://1.bp.blogspot.com/-hKTxp67fqHQ/XSHgnYzhREI/AAAAAAAADE0/A_sN6qXgzJcpNqS2bdU0icxk5O4wCMZbQCLcBGAs/s640/11.PNG" />

<a href="https://www.skptricks.com/2019/07/react-native-runtime-permissions-request-android.html" >  Click here to read more... </a>
React Native Create Torch Flashlight Application
Tags: android, ios, reactnative
Published: 2019-07-09 05:15:03

---
title: React Native Create Torch Flashlight Application
published: true
description:React Native Create Torch Flashlight Application 
tags: #android #ios #reactnative #ios
---

Source : <a href="https://www.skptricks.com/2019/07/react-native-create-torch-flashlight-app.html" > React Native Create Torch Flashlight Application</a>

This tutorial explains how to create torch flashlight application in react native application. Flashlight is a important part of every mobile phone in current arena. It comes build in with each multimedia smartphone that comes with camera. Flashlight is basically used as camera flash in mobile phones but it can be also used as individual flashlight at night. In react naive there is no direct build in component available to control the flashlight manually but using the react-native-torch NPM library we can easily control both android and iOS mobile phones flashlight and make them turn on and off.

<img src="https://1.bp.blogspot.com/-F3UgWqx-01w/XSG6MkjYRJI/AAAAAAAADEo/wnwgjI5f7WEIXHWe8rMzkGCoBkCnAslZgCLcBGAs/s400/react-native-create-torch-flashlight-app.jpg" />

 <a href="https://www.skptricks.com/2019/07/react-native-create-torch-flashlight-app.html" > Click here to read more... </a>
React Native Create Torch Flashlight Application
Tags: android, ios, reactnative
Published: 2019-07-09 05:13:35

---
title: React Native Create Torch Flashlight Application
published: true
description:React Native Create Torch Flashlight Application 
tags: #android #ios #reactnative #ios
---

Source : <a href="https://www.skptricks.com/2019/07/react-native-create-torch-flashlight-app.html" > React Native Create Torch Flashlight Application</a>

This tutorial explains how to create torch flashlight application in react native application. Flashlight is a important part of every mobile phone in current arena. It comes build in with each multimedia smartphone that comes with camera. Flashlight is basically used as camera flash in mobile phones but it can be also used as individual flashlight at night. In react naive there is no direct build in component available to control the flashlight manually but using the react-native-torch NPM library we can easily control both android and iOS mobile phones flashlight and make them turn on and off.

<img src="https://1.bp.blogspot.com/-F3UgWqx-01w/XSG6MkjYRJI/AAAAAAAADEo/wnwgjI5f7WEIXHWe8rMzkGCoBkCnAslZgCLcBGAs/s400/react-native-create-torch-flashlight-app.jpg" />

 <a href="https://www.skptricks.com/2019/07/react-native-create-torch-flashlight-app.html" > Click here to read more...</a>
React Native version 0.60
Tags: reactnative, android, ios, javascript
Published: 2019-07-09 05:10:46

---
title: React Native version 0.60
published: true
description: React Native version 0.60
tags: #reactnative #android #ios #js
---

Source : <a href="https://www.skptricks.com/2019/07/react-native-version-060.html" >React Native version 0.60 </a>

After months of hard work from hundreds of contributors, the React Native Core team is proud to announce the release of version 0.60. This release handles significant migrations for both Android and iOS platforms, and many issues are resolved too.

<img src="https://1.bp.blogspot.com/-3W3-IAh-AqU/XR3bwjRG5NI/AAAAAAAADD0/YDZ5Mq99-x4im3_skR5jpUDKNuD1ka85QCLcBGAs/s400/react-native-version-060.jpg" />
<a href="https://www.skptricks.com/2019/07/react-native-version-060.html" > Click  here to read more.. </a>
How to Prevent System from Locking of the Workstation Using Registry
Tags: vbscript
Published: 2019-07-09 05:07:57

---
title: How to Prevent System from Locking of the Workstation Using Registry
published: true
description: How to Prevent System from Locking of the Workstation Using Registry
tags: #vbscript
---

Source : <a href="https://www.skptricks.com/2019/07/how-to-prevent-system-from-locking-of-the-workstation-using-registry.html" >How to Prevent System from Locking of the Workstation Using Registry </a>

This tutorial explains how to Prevent System from Locking of the Workstation Using Registry. This example provides you very effective way to disable locking of the Workstation and lets see the below steps :

Open up regedit.exe through the start menu search box, and then browse down to the following key, creating it if it doesn’t exist:

<img src="https://1.bp.blogspot.com/-tInfXA-r-Pw/XR3Qh4eK6LI/AAAAAAAADDg/Olz3PjTTwe0mYFy6v-OuwnV0aPdcqDlQACLcBGAs/s640/11.png" />
<a href="https://www.skptricks.com/2019/07/how-to-prevent-system-from-locking-of-the-workstation-using-registry.html" > Click here to read more... </a>
How do you stay motivated in side projects?
Tags: discuss, productivity
Published: 2019-07-09 04:54:29

When I'm working on a side project, I always have the moment where I think about things which prevent me from continue working on the project.

This are mostly totally irrelevant things like legal things (in Germany a website needs an imprint, data privacy statement, ...), which are not worth thinking about in such an early state.

I do also often delete all my source code and start from scratch when it comes to designing things.

What are your struggles and do you maybe have some advices how to keep them aside?

<hr />

If you like my content, you might want to follow me on Twitter?! [@fullstack_to](https://twitter.com/fullstack_to)

Cover Image by [Rumman Amin](https://unsplash.com/@londonwoodco?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/search/photos/demolish?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)
Second Job Board running on the now multi-tenant "boardengine"
Tags: showdev, career
Published: 2019-07-09 04:51:23

---
title: Second Job Board running on the now multi-tenant "boardengine"
published: true
description: Soft Launch of javascriptjob.xyz
tags: showdev,career,javascript
cover_image: https://thepracticaldev.s3.amazonaws.com/i/1kwrq4imzuyib4z7odl5.png
---


February 2019 I launched fullstackjob.com as a single tenant [Job Board for Full-Stack Developers](https://fullstackjob.com). From the beginning, the plan was to build it as the basis for an "Engine", which can handle multiple boards for a different kind of Niche or Company Job Boards. To not potentially lose to much time before launching first board I did not implement multi-tenant layer, but the coding was done to add this layer as fast as possible after.

Now, about 4 months later, I added the layer and do a soft launch today of the new [javascriptjob.xyz Job Board for JavaScript Developers](https://javascriptjob.xyz). As written above, this board run's on the same code and instance, to show up possibilities of boardengine.io

Next Step is now to build a new landing page for [boardengine](https://www.boardengine.io) and start commercialization.

Soon I plan to make a more technical post about how I implemented multi-tenancy (Stack: Go, Vue.js, ArangoDb, Redis, Nsq, Rancher/Docker)

Cheers Stefan
#Automation Everywhere
Tags: automation, technology, life, discuss
Published: 2019-07-09 04:46:38

---
title: #Automation Everywhere
published: true
description: 
tags: automation, technology, life, discuss
---


{% twitter 1148267128828485632 %}

In past 2 years I was keep listening about automation will kill your jobs.
But if you are doing hard working no once can replace you.

What's your view?
Did you find it easier to learn git through git interfaces such as webstorm git feature, gitkraken, etc ...
Tags: github, git
Published: 2019-07-09 04:32:50

The first time I began learning git I was so confused with implementing git concepts, especially git merge and resolving conflicts. But then when I began working at the company I'm at now, I started using webstorm as a way to execute my git operations and just seeing what's happening visually made it much easier to understand git merge and how to resolve conflicts.

How did you learn and implement git concepts?
Build next gen web apps using web components
Tags: webdev, tutorial, beginners
Published: 2019-07-09 02:39:56

In today`s world the front end technology is evolving really fast. New frameworks are getting launched to simplify the developers life. But with the changing technology it`s really hard to move from one framework to another or update to the newest version. Web components is a relatively new standard enabling front end developers to create cross frameworks compatible components. it lets you write reusable components with native browser Api with zero external dependencies.

In this workshop we will learn to build a web app with reusable components using web components (custom elements, Shadow DOM, Html templates, Modules). We will also get acquainted with helper library lit-element and how we can integrate these components with existing frameworks.

{% youtube o5DgkU77Ka0 %}

**Thanks for reading** ❤
If you liked this post, share it with all of your programming buddies!
Follow us on **[Facebook]( https://www.facebook.com/moriohdotcom)** | **[Twitter]( https://twitter.com/moriohdotcom)**

### Further reading
☞ [How to build a CRUD Web App with Angular 8.0](https://morioh.com/p/f1893bcb9db8 "")
☞ [An Introduction to Web Components](https://morioh.com/p/42a729516be1)
☞ [Web Components Tutorial: Go from zero to hero](https://morioh.com/p/2a0bf8e152a2 "")
Wes Bos talks about his coding journey in the latest Duck Tapes podcast episode
Tags: javascript, opensource, podcast
Published: 2019-07-09 01:32:54

---
title: Wes Bos talks about his coding journey in the latest Duck Tapes podcast episode
published: true
description: https://www.ducktapes.fm/
tags: Javascript, open source, podcast
---

Wes Bos talks about how he got to where he is and answers some questions about his work and personal life.
emacs keybind
Tags: emacs
Published: 2019-07-09 00:37:49

---
title: emacs keybind
published: true
description: memo default keybind
tags: emacs
---

▼ xref
- xref-pop-marker-stack (M-,)
- xref-find-definitions (M-.)
- xref-find-references  (M-?)

▼ mark ring
https://www.gnu.org/software/emacs/manual/html_node/emacs/Global-Mark-Ring.html
https://www.emacswiki.org/emacs/MarkCommands#toc1
- set-mark-command x2 (C-SPC C-SPC)
- pop-global-mark (C-x C-@) / (C-x C-SPC) / my pc (C-u C-SPC)
Job-Interview Etiquette Isn’t Just for the Applicants 
Tags: career, jobs, interview
Published: 2019-07-09 00:20:31

A while back I started a discussion around employers ghosting, or otherwise disrespecting candidates during the hiring process:

{% link https://dev.to/yechielk/are-millenials-ghosting-their-employers-407k %}

Turns out someone at the Wall Street Journal came across the post and had a few questions. You can read the [article that resulted here](https://www.wsj.com/articles/job-interview-etiquette-isnt-just-for-the-applicants-11562578204)!

The main point I tried bringing across is that while it may be true that getting ghosted sucks, it's important to remember that during the interview process it's not just the company that's interviewing you, you're interviewing the company!

If this is the way the company treats job candidates, you can be pretty sure that the way they treat their employees can use some improvement.

Think of the disappointment as the price you paid to find out that this company is **not** the place you wanted to work at.

Chin up! **You** didn't fail the interview, **they** did!
How to fix MacBook Pro when you got 800% kernel_task CPU usage and slowed down
Tags: macbookpro, cpuusage, summer
Published: 2019-07-09 00:03:07

---
title: How to fix MacBook Pro when you got 800% kernel_task CPU usage and slowed down
published: false
description: One day in June, my Mid-2015 MacBook Pro started to slow down. When I checked in Activity Monitor, kernel_task was maxing its CPU usage. I found out the best solution.
tags: MacBookPro, CPU Usage, Summer
published: true
---

One day in June, my Mid-2015 MacBook Pro started to slow down. When I checked in Activity Monitor, kernel_task was maxing its CPU usage.

I've tried to:

- clear my HDD.
- Start in Safe Mode
- Reset PVRAM

Ref: [How to Fix Your Mac’s “kernel_task” High CPU Usage Bug](https://www.makeuseof.com/tag/fix-mac-kernel-task-high-cpu-usage/)

Nothing worked or improved my Mac's performance.

I bought mine in the July of 2016. I've been using it for 3 years.
Perhaps, its time has come.

It was not true.

I found out the best solution.

- Turn on a AC. 
- get a fan, place next to my MacBook Pro, turn it on, and point it to MBP.

That's it.

The summer season started. The temperature rises. I just needed to cool down my MBP.
Load ACF fields via PHP without losing importability
Tags: wordpress, advancedcustomfields, json, php
Published: 2019-07-08 23:01:00

---
title: Load ACF fields via PHP without losing importability
published: true
description: Maintain editability of ACF fields while loading them via PHP.
tags: wordpress, advanced-custom-fields, json, php
---

When working on custom WordPress themes, I almost always utilize the excellent plugin [Advanced Custom Fields Pro](https://www.advancedcustomfields.com/). It makes creating custom fields incredibly easy for essentially any area of a site you can imagine, all via an intuitive GUI in the WordPress dashboard.

To ensure that your fields always load correctly, ACF allows you to export them as PHP for inclusion with your theme, or as JSON for importation in to another WordPress installation.

Loading in the fields via PHP is great because you can trust that your fields will always load as you designed them, but doing this prevents you from being able to import the fields back in to WordPress to make further edits in the future. Going the JSON route, you can easily import your fields back in to WordPress, but by leaving the fields in the back-end, you run the risk of a user accidentally modifying the fields, and breaking the theme.

After going back and forth on which method to rely on for my themes, I thought, "why not both?" Rather than rely on ACF's built-in PHP exportation feature, I realized I could export as JSON, then write my own PHP to load those fields in on the fly. Using this method, I'm able maintain one JSON copy of the fields, which can be imported to be edited, and then exported again without any modification to the PHP.

It's the best of both worlds, allowing maximum control over how fields get loaded while still maintaining the ability to import the fields to be edited via the GUI, without having to maintain two separate copies.

To load in the JSON fields that ACF exports, simply use the function below, pointing `$acf_json_data ` to the location where your JSON is stored in your theme.

{% gist https://gist.github.com/JacobDB/a18b316eeb822aeaf7b25b3cc75d982c %}