teleren/devto huggingface dataset:
Kubernetes Tutorial: Managing TLS Certificates with Ambassador
Tags: opensource, docker, programming
Published: 2019-05-27 20:12:48

---
title: Kubernetes Tutorial: Managing TLS Certificates with Ambassador
published: true
description: Learn about the basic Kubernetes concepts while deploying a sample application on a real cluster.
tags: #opensource #docker #programming 💻
canonical_url: https://auth0.com/blog/kubernetes-tutorial-step-by-step-introduction-to-basic-concepts/
---

In this article, you will learn about Kubernetes and develop and deploy a sample application. To avoid being repetitive and to avoid conflicting with other resources, instead of addressing theoretical topics first, this article will focus on showing you what you need to do to deploy your first application on a Kubernetes cluster. The article will not avoid the theoretical topics though; you will learn about them on the fly when needed. This approach will prevent abstract discussions and explanations that might not make sense if introduced prematurely.

At the end of this article, you will have learned how to spin up a Kubernetes cluster (on DigitalOcean), and you will have an application up and running in your cluster. If you find this topic interesting, keep reading!

[Continue Reading 🛠](https://auth0.com/blog/kubernetes-tutorial-step-by-step-introduction-to-basic-concepts/?utm_source=dev&utm_medium=sc&utm_campaign=tutorial_kubernetes)
Screencaps: Developer Lyfe
Tags: ohmyzsh, hacks
Published: 2019-05-27 20:12:12

Here's some stuff I have in my #ohmyzsh custom aliases/entries... always attempting to make life as a developer 1%, 5%, 10% easier (because: always new surprises to patch and watch for)...

Post a pic or screencap of your #developerlyfe?

( o_o)
How to make Solidity based smart contracts async & DApps less complex within the TRON & Ethereum network
Tags: blockchain, javascript
Published: 2019-05-27 20:00:30

looking for some serious alpha testers!

https://medium.com/@CaptainJS_v2/how-to-make-solidity-based-smart-contracts-async-dapps-less-complex-within-the-tron-network-d32acee6d25b
3 advantages of value based pricing
Tags: webdesign, webdev, pricing, website
Published: 2019-05-27 19:49:43

---
title: 3 advantages of value based pricing
published: true
description: Why value based pricing is a better strategy for you and your client
tags: web design, web development, pricing, website
---

When it comes to pricing your web design and development services there are 3 main strategies you can use for pricing:
 - Hourly 
 - Fixed price
 - Value based pricing

Today I'd love to let you know why value based pricing is the best strategy for you and your client.

When it comes to pricing your services, especially if you sell something expensive it can get tricky.
There is such a huge range of prices on the market starting from $100 per website services on Fiverr to 6 figure prices.

But what is the best website pricing strategy and how much should your client [pay for the website](https://progmatiq.com/blog/how-much-does-website-cost)?

I believe that doing a value based pricing is something that every developer should aim for.
And here are 3 reasons why it beats other pricing strategies:

1. It motivates you to work more efficiently. With hourly pricing it's not in your best interest to work faster because you will earn less. Therefore, the more you work - the more a client will pay you. 
Think about it for a second. If a client pays you more it means that the value of project is much bigger. It doesn't make much sense because client is always interested in getting a quality product delivered ASAP to start making money from it. Therefore - the hourly pricing strategy is not optimal for any side.

2. Your client's budget is protected. If you don't deliver on time (and 
as we all know things tend to get longer than expected in our business) - a client wouldn't have to pay you more because the price is fixed. 
This will make him slightly happier than if you were to charge him :)

3. You usually can earn more. This is why the value based pricing is better than the fixed pricing - it is usually more profitable for you as a service provider.
Why? Because a fraction of perceived value is usually higher than a simple fixed price that you would've likely calculated using the following formula - hours x hourly rate.
This obviously assumes that you work with real businesses and not a mom & pop shop that sells homemade sandwiches in a local store.

Let me give you an example. Let's say you're a [wordpress developer](https://andriy.space) work with an insurance company and they plan to have a website created that will bring them $150k in revenue in the next year.
Then you can easily charge them $15k for your work even if it doesn't take a lot of your time.

On the other hand, you should have a minimum level of engagement - meaning that you won't work with very small clients (obviously if you want to - you can) because the value of your work to them is much lower.

I hope this article has been helpful :)
Missing my family. 
Tags: python, tech, family, code
Published: 2019-05-27 19:43:35

---
title: Missing my family. 
published: true
description: 
tags: Python, tech, family, code
---

So. I’m a quadruplet. Yes, gasp! We exist!  

It’s hard for me. My family lives in NY, and I recently moved to Florida for my new tech job. Besides going away to college, my siblings and I have never been apart more then 30 minutes from each other (living in our apartments etc). These last two months have been hard, being away from them all. Missing going out to dinners, hanging out at one of our apartments or our parents, or even just going to the bars together. 

But although it’s hard to be away from my best friends, they’ve supported me in my move and my decision to join my new company and to keep excelling on what I aim to do. 

So here’s to everyone and their siblings.
What tool can you not live without?
Tags: discuss, productivity, devtips
Published: 2019-05-27 19:42:01

---
title: What tool can you not live without?
published: true
description: We all have a tool that we love so much not using them makes us feel incomplete
tags: discuss, productivity, devtips
cover_image: https://i.postimg.cc/T13VLVWB/tools.jpg
---

We all have a tool that is almost an extension of ourselves and not using it feels too weird. This thread is a great opportunity to discover new tools to power charge how you do things. 

What is yours ?
HyperOOP SPA framework: now with detailed and more explanatory Readme 
Tags: frontend, spa, javascript, typescript
Published: 2019-05-27 19:39:35

---
title: HyperOOP SPA framework: now with detailed and more explanatory Readme 
published: true
description: 
tags: frontend, spa, javascript, typescript
---

Since my last posting about HyperOOP, I have received many complaints about the Readme file. Now the file is more complete and (I hope) clearly describes the [framework](https://github.com/hyperoop/hyperoop).
Introducing Dropdowns - Add dropdown to iOS app easily
Tags: ios, swift, dropdown
Published: 2019-05-27 18:56:50

---
title: Introducing Dropdowns - Add dropdown to iOS app easily
published: true
description: 
tags: ios,swift,dropdown
---

I'm making a new framework, [Dropdowns](https://github.com/onmyway133/Dropdowns)

Dropdowns provides the quickest way to present a dropdown in your app. It is very lightweight, just provide a list of items and the action closure you want to handle.

![](https://github.com/onmyway133/Dropdowns/raw/master/Screenshots/x.png)

![](https://github.com/onmyway133/Dropdowns/raw/master/Screenshots/dropdown.gif)

Dropdowns works by showing a child `UIViewController` as a dropdown from a TitleView. The most common use case is to show from a UINavigationController, in that sense, you can just create a list of items, and provide to TitleView.

```swift
let items = ["World", "Sports", "Culture", "Business", "Travel"]
let titleView = TitleView(navigationController: navigationController!, title: "Menu", items: items)
titleView?.action = { [weak self] index in
  print("select \(index)")
}

navigationItem.titleView = titleView
```

For customizations, Dropdowns uses `TableController` by default, to show list of items in a `UITableView`. We can customise to show anything you want by using contentController.

```swift
let contentController = TableController(items: items, initialIndex: 0)
let dropdown = DropdownController(contentController: contentController, navigationController: navigationController)
```
Welcome to the Angular fika-series 
Tags: angular, introduction, intermediate, fika
Published: 2019-05-27 19:38:14

This is the introduction post for my serie called "Angular intermediate fikas", the target audience is beginner developers which knows the basics of 
Angular and has started working their way to intermediate level. 

This is my way to give you tips and tricks that I often get asked about and to highlight different ways to make your code more robust by utilizing built in features in Angular.

These posts aims to be short and consist with a working sample that you can try out during a short [fika (coffee-break)](https://en.wikipedia.org/wiki/Coffee_culture#Sweden).
How can designers help break the cycle of designing for addiction?
Tags: ethics, technology, ux, design
Published: 2019-06-01 12:27:30

---
title: How can designers help break the cycle of designing for addiction?
published: true
tags: ethics,technology,ux,design
canonical_url: https://uxdesign.cc/how-can-designers-help-break-the-cycle-of-designing-for-addiction-4295f400287f 
---

#### It’s time we bridge the gap between feel-good Design & Ethics panels and the work we do everyday as digital product designers.

![](https://cdn-images-1.medium.com/max/1024/1*t0bzpsU7bhXzqW9gMdofKQ.jpeg)

If you use digital products on a daily basis, you have likely experienced the proliferation of [design patterns](https://www.darkpatterns.org/) that try to manipulate you to engage further, deeper, or longer.

Eager for clicks and views, tech platforms are always looking for new ways to use basic human instincts like shame, laziness and fear to their advantage. Digital junk foods — from social networking apps to streaming platforms — promise users short-term highs, but leave depressive existential lulls in their wake.

![](https://cdn-images-1.medium.com/max/1024/0*g3X-rzwTgW16E_Bq.png)

The result? Our relationship with technology is becoming increasingly characterized by dependency, regret, and loss of control.

While the products we build every day have evolved, our ways of thinking about user engagement have scarcely changed since the days of dial-up. We assume that the higher the metrics, the more successful the business and, thus, the smarter the product designer.

> Over the past few decades, we have helped build a corporate culture that systematically prioritizes short-term gains over longer-term product health.

### As designers, how do we break the cycle of designing for addictive engagement?

Change has to start somewhere. Seeing a gap between our ideas/intentions and the work we do every day, we have decided to create a more practical guide to provoking change.

Our third and latest UX Essay provides a starting point with **practical ideas** that we can apply to our designs, to our process, to our company, to our community, and to our personal life — to start breaking the business-as-usual cycle of designing for addiction.

Hope you enjoy the read:
https://essays.uxdesign.cc/tech-diet/

* * *
MongoDb migration frameworks
Tags: discuss
Published: 2019-05-27 19:04:31

---
title: MongoDb migration frameworks
published: true
tags: discuss
---

What do you do when you need to upgrade/downgrade schema and seed on first install your MongoDB?

I'm looking for opinions, examples, tutorials, and suggestions from the community.

Here's an example of one using node-migrate

https://www.freecodecamp.org/news/how-to-automate-database-migrations-in-mongodb-d6b68efe084e/



Background:

I have a Micro Services (5) application that uses MongoDd. I'd like to allow my services to upgrade their schema in an automated way. In other words, I'd like to avoid running scripts or queries manually. If I have to downgrade a version of a service, it should be able to downgrade the schema as well. It's also possible that a service is scaled horizontally, more than one clone is running. Therefore, this solution must avoid  collusion or duplication. Two or more clones should not attempt to apply a migration at the same time.

I'm leaning towards using node-migrate to implement the migration steps. ~~What to do about the control of race conditions is not clear yet for me. I'm thinking about putting the database in read-only mode for the duration of the upgrade.~~ I realized that this last statement does not make sense. I would never roll out all instances at once. It would always be one at a time. Therefore, the first one to get a new version will take care of the upgrade.
Salary Ranges and Levels – Levels.fyi
Tags: discuss
Published: 2019-05-27 18:40:11

Hi All,

I'm one of the makers behind www.Levels.fyi! We're looking for ways to improve our salary visualizations and data and would love more feedback from the community. So my question to you:

1) What additional data pertaining to compensation would you want to see?
2) What visualizations do you think would be cool to have?

P.S. One new page we just released:
https://www.levels.fyi/salary/Google/

Cheers,
  Zaheer M.
Best Top 12 Text Editors for Programmers
Tags: text, tips, code, editor
Published: 2019-05-27 18:38:20

---
title: Best Top 12 Text Editors for Programmers
published: true
description: 
tags: text, tips, code, editor
---
###Code Editors/Text Editors
Whether you're taking notes, coding, or writing markdown, a good text editor is a part of our daily lives!

-   [Atom](https://atom.io/): A text editor that's modern, approachable, yet hackable to the core. One of our favorites!
-   [Sublime Text](http://www.sublimetext.com/): A sophisticated text editor for code, markup, and prose with great performance.
-   [Notepad++](https://notepad-plus-plus.org/): A free source code editor which supports several programming languages running under the MS Windows environment.
-   [Visual Studio Code](https://code.visualstudio.com/): Code editing redefined and optimized for building and debugging modern web and cloud applications.
-   [TextMate](https://macromates.com/): A code and markup editor for OS X.
-   [Coda 2](https://panic.com/coda/): A fast, clean, and powerful text editor for OS X.
-   [WebStorm](https://www.jetbrains.com/webstorm/): Lightweight yet powerful IDE, perfectly equipped for complex client-side development and server-side development with Node.js.
-   [Vim](http://www.vim.org/): A highly configurable text editor built to enable efficient text editing.
-   [Brackets](http://brackets.io/): A lightweight and powerful modern text editor; written in JavaScript, HTML and CSS.
-   [Emacs](https://www.gnu.org/software/emacs/): An extensible, customizable text editor with built-in functions to aid in quick modifications of text and code.
-   [Dreamweaver](https://www.adobe.com/ca/products/dreamweaver.html): Not your typical code editor, however, Dreamweaver can be used to write code and build websites through a visual interface. Learn more in this [simple Dreamweaver tutorial.](https://websitesetup.org/dreamweaver-tutorial/)
-   [SpaceMacs](http://spacemacs.org/): A text editor design to operate in both Emacs and Vim editor modes.
Spine and Leaf Networks, a Topology
Tags: bgp, datacenternetworking, ebgp, ibgp
Published: 2020-03-08 00:40:28

---
title: Spine and Leaf Networks, a Topology
published: true
date: 2019-05-27 18:28:00 UTC
tags: BGP,Datacenter Networking,eBGP,iBGP
canonical_url: 
---

Before we get too far - this is going to be a simple topology, relatively speaking. I'll be putting the switch configs on my GitHub account as well when I get to that point. The diagram is as follows:

[![](https://1.bp.blogspot.com/-Xw44WWPzM0A/XO4HOQqIw3I/AAAAAAAAAlo/fEHCnUr1lW461lm4e2rYCD6s82BFhRcCACLcBGAs/s640/Clos%2BFabric%2B%25282%2529.png)](https://1.bp.blogspot.com/-Xw44WWPzM0A/XO4HOQqIw3I/AAAAAAAAAlo/fEHCnUr1lW461lm4e2rYCD6s82BFhRcCACLcBGAs/s1600/Clos%2BFabric%2B%25282%2529.png)

  
This was drawn programmatically with [drawthe.net](http://go.drawthe.net/). File is [here](https://raw.githubusercontent.com/ngschmidt/labfabric-diagram/master/clos-fabric.yaml)
Semantic Versioning
Tags: softwareengineering, knowledgebase, webengineering
Published: 2019-06-12 21:18:19

---
title: Semantic Versioning
published: true
tags: software engineering,knowledge base,web engineering
canonical_url: https://www.aheil.de/2019/05/27/semantic-versioning/
---

In my current team (actually the whole company) we end up within the dependency hell day by day. Not only that many teams just don’t do any versioning, if they do there are no clear rules how they should do.

[Semantik Versioning specification](http://Semantic%20Versioning%20specification)provides a great introduction of how and when to use (semantic) versioning. Definitely worth a read.

> _In the world of software management there exists a dreaded place called “dependency hell.” The bigger your system grows and the more packages you integrate into your software, the more likely you are to find yourself, one day, in this pit of despair._
> 
> In systems with many dependencies, releasing new package versions can quickly become a nightmare. If the dependency specifications are too tight, you are in danger of version lock (the inability to upgrade a package without having to release new versions of every dependent package). If dependencies are specified too loosely, you will inevitably be bitten by version promiscuity (assuming compatibility with more future versions than is reasonable). Dependency hell is where you are when version lock and/or version promiscuity prevent you from easily and safely moving your project forward.

Link: [https://semver.org/](https://semver.org/)
What to ask a presumptive employer?
Tags: career
Published: 2019-05-27 17:53:14

I'm thinking about something that maybe you can help me out with? When you're looking for a new job and get invited to an interview, usually what happens is that the presumptive employer starts asking you a bunch of questions about your career, experiences etc. Sometimes they even make you write some code or ask you to solve some programming problem (if it's a programming job you're interviewed for) at home. Maybe they even check out your public repos on Github (or some other source code platform). And there's nothing strange about that at all. 

The point I'm getting to (and that I've been pondering for a couple of days) is that it's often mostly all about you. Yes, they likely did the two-minute company introduction and introduce Paul who's a developer and is sitting in on this interview... But when it comes to the code writing, the aptitude tests and the probing of days gone by, it's usually just your experience and your days gone by that is of interest.

Why is that? The last couple of interviews I've been to, I asked the employer a bunch of questions. I was the one who asked most questions. And even then the last one (before my current job) didn't work out very well.

I'd usually say, that when I'm invited to a company for an interview, I go there to interview them. Not the other way around. Perhaps the situation for developers is different in other parts of the world, but in Sweden, senior developers (or any developers for that matter) are very sought after. I heard someone say there's a shortage of about 50.000 developers in Sweden. So, perhaps it's easy for me to say all this.

Perhaps there should be an aptitude test for companies trying to hire you? Well, there is one, the Joel Test, but I think it's kinda lacking for use on a job interview.

Well, so I have a question for you. Well, I had two, actually, but I forgot the other one.

What questions do you ask the company that's interviewing you for a development position?

I'll start you off with a short list. Some of them I got from the Joel test. It's not in any sort of order, I just jotted the points down.

- Do you have meaningful sprint planning and backlog refinement meetings?
- Do developers have quiet working conditions?
- Do developers have their own desk?
- Can developers work from outside the office?
- Are developers administrators on their work stations?
- What are your people turn over? 
- What source control system do you use?
- Can developers use their own tools? Phone, laptop etc...
- What project methodology do you use?
- What progress board or tracking system do you use?
- Are internet all locked down on the company network?
Are you a conference speaker? Share your experience!
Tags: discuss, techtalks
Published: 2019-05-27 17:48:23

---
title: Are you a conference speaker? Share your experience!
published: true
description:  
tags: #discuss, #techtalks
---

If you're a conference speaker, share your experience so far! 
Some insights on the following would be great for people who wish to start speaking at conferences - 
- How did you get started? 
- Tips for writing CFPs?
- Things to keep in mind while preparing for the talk?
- Share any links to resources that you've come across or you have written yourself on the topic of public speaking.
Advanced Gestures on the Web - iOS in React
Tags: showdev, react, gestures, webdev
Published: 2019-05-27 17:35:44

---
title: Advanced Gestures on the Web - iOS in React
published: true
description: I've attempted to partially replicate the iOS home screen on the web to prove that advanced gestures on the web are possible. 
cover_image: https://thepracticaldev.s3.amazonaws.com/i/s9bgsyzcgsrroxl0p4qw.png
tags: showdev, react, gestures, webdev
---

I've been working a lot with building react components recently that support gesture controls - things like swipe to open / close, pinch to expand... basically, all of the stuff that is standard in native apps but is relatively rare on the web.

My conclusion: It's actually quite possible... and FUN! So much fun, in fact, that I got carried away with a little demonstration app. I thought, what better way to prove that advanced gestures are possible on the web than by reimplementing the iOS home screen functionality?

So here it is: __react-iphone__. 

![iOS home screen rendered on the web using react](https://thepracticaldev.s3.amazonaws.com/i/ynioepasr2ud8buhcyb5.png)

__[View the demo](https://react-gesture-responder.netlify.com/).__

__[Browse the source](https://github.com/bmcmahen/react-iphone).__

Try long pressing an icon to enable drag and drop. Swiping up, down, left or right at various parts of the screen will trigger some of the behavior that you expect in iOS. It's not all there, but I think it proves the point.  

It's built using [react-gesture-responder](https://github.com/bmcmahen/react-gesture-responder) and [react-spring](https://www.react-spring.io/). I also wrote a [short tutorial](https://benmcmahen.com/building-react-components-with-gesture-support/) on how to use these tools to implement a "swipe to like" feature.

It works pretty well in iOS Safari too (just enter full screen)! Haven't had the chance to try android yet, so I'd love to get some feedback there.