teleren/devto huggingface dataset:
How Nameko makes microservice development less difficult.
Tags: namekomicroservice
Published: 2019-02-14 10:03:38

---
title: How Nameko makes microservice development less difficult.
published: true
description: 
tags: nameko microservice
---

Before I proceed with how  Nameko, a python framework makes microservice development, let have in mind that microservice is just another way developing software by building services or components separately from each other.   

Assuming we have decided to build a Bus Ticketing System with the following components in mind: 

- Register 
- Login(Reset) 
- Email 
- Billing
- Booking 
- Notification
- Verification

In a monolithic pattern, a team of software engineers would develop the following functions using a server-side language such as Ruby, Golang, Node.js or Python for all components. 

These components would all reside on each instance of web servers backed by a load balancer such as Nginx to prevent DDOS attack. 

However, in a microservice pattern, the structure is a bit different. These components could be developed with different server-side languages or frameworks.

Nameko as a microservice framework has made it possible for software developers to implement services with ease with the help of dependency injection.   

Dependency injection by Nameko allows software developers to separate code for external entities such as databases, Cached systems from the services code. 

For instance, the `register` service and `login` service could just call the `insert()` function or `query()` function from a  `mongodb` or `postgres` database.

Also have in mind that both the `register` service and `billing` service may have a separate `postgres` database to store users' details. 

This is how nameko make microservice development quite flexible for software engineers without the hustle of clustering services with the backend code.
Learn to build a web site without using any frameworks?
Tags: discuss
Published: 2019-02-14 09:58:57

---
title: Learn to build a web site without using any frameworks?
published: true
tags: discuss
---

I'm considering a course about creating a web site without any frameworks. I'm trying to gauge interest and see what types of things you'd be interested in learning.

The course would start with Python, and a basic HTTP server. From there we'd build a functioning website using as few third-party packages as possible. Perhaps we'd build our own templating system, create a CSS generator, and eventually get into dynamic pages with pure JavaScript and JSON requests.

Would you be interested in learning about this topic?  And what specifically would interest you the most.

Feel free to [sign up](https://edaqa.com/web_without_framework/) so I know who to remind once I create the course. :)
What Do You Think About Immutable Data?
Tags: programming, discuss, javascript, react
Published: 2019-02-14 08:29:04

---
title: What Do You Think About Immutable Data?
published: true
description: A series of discussions about trending JS patterns. This week's topic is Immutable Data.
tags: programming, discuss, javascript, react
cover_image: https://thepracticaldev.s3.amazonaws.com/i/r5aswlbgux7t0t1n22ts.jpeg
series: What Do You Think?
---

A few things are becoming de-facto solutions in JavaScript with a lot of tutorials but without much discussion about the practical benefits and reasons. The goal of this series is to talk about these topics.

The rules:

- Speak about the whys, not the hows. It's okay to include a few favorite libs and patterns but it should not be the main focus of your comment.

- No Googling! I am interested in **Your** opinion, experience, anecdotes, and gut feelings.

---

### This week's topic is **Immutable Data**

- Why is it so popular?

- When do you use it? Does it belong to the back-end, the front-end or both? Do you use it together with specific patterns or tech stacks?

- Do you use it because it's your stack's best practice? Do you consciously choose a stack the relies on immutable data?

- Did you ever have issues with mutable data?

- Whatever pops into your mind about Immutable Data.

*All comments are welcomed, there is no wrong answer!*
Tell Me Why? Open Source vs Proprietary
Tags: discuss, question, opensource, proprietary
Published: 2019-02-14 08:27:31

---
title: Tell Me Why? Open Source vs Proprietary
published: true
description: 
tags: discuss, question, opensource, proprietary
---

I want to start some projects but i am stuck in thinking.. should i develop my project as open-source or closed-source? And why?

Can somebody help me with some thoughts?
What's the Craziest Question You Ever Asked on Stack Overflow?
Tags: discuss
Published: 2019-02-14 07:08:43

---
title: What's the Craziest Question You Ever Asked on Stack Overflow?
published: true
description: 
tags: discuss
---

As developers who have progressed out of the "beginner" phase, we often underestimate just how far we've come. That's the nature of programming. Things that at one point seemed like the most complex thing in the world become second nature, so we write them off.

Slowly, over time, we become better and better developers. And as we grow, we often forget the pain we went through, which at best leads us to overlook our own talent and value, and at worst makes us hostile towards new developers ("You don't even know what X does? How can you call yourself a programmer!") 

I thought it would be a fun exercise for those of us who have "been around" for a while to look back at some our oldest questions on Stack Overflow, the stuff from way back when, and share some of the "craziest" stuff we ever asked. The stuff that seems so basic and fundamental to us now, but at one point made about as much sense to us as quantum physics (or some other crazy complex concept if you happen to be an expert in the field.)

If you're a beginner reading this, I hope this discussion helps you realize that we've all been there, and if we can do it, so can you! 

And if you're past the beginner phase, I hope this exercise helps you realize the value of your own skill, and makes you a little bit more understanding of and forgiving towards newer developers.

So here it goes.

**What's the craziest question you ever asked on Stack Overflow?**

Feel free to add explanations, code snippets, links to the questions, and any other information you want!

*If you are a new developer and any of these examples are something you currently struggle with, I hope labeling them as "crazy" isn't off-putting. The intention here isn't to make anyone feel stupid for not knowing something, but rather to highlight that we've all struggled with the same fundamental concepts at some point in our developer career.*
Which one to choose React Native, Flutter or Swift for Mobile App Development?
Tags: reactnative, flutter, ios
Published: 2019-02-14 06:01:18

---
title: Which one to choose React Native, Flutter or Swift for Mobile App Development?
published: true
description: Hi Guys! I need some sort of advice. I’m web developer and developing web application and api from last 2 and half year now i want to get into mobile app development.I want to build ios apps so which stack you suggest React Native, Flutter or Swift?
tags: react-native, flutter, ios
---
Laravue - a beautiful dashboard for Laravel
Tags: vue, laravel, php, dashboard
Published: 2019-02-14 05:43:39

---
title: Laravue - a beautiful dashboard for Laravel
published: true
description: The purpose is to build an enterprise backend application for Laravel using builtin VueJS as frontend and many newest technology stacks such as vuex, vue-router, i18n, axios... Besides, this project is to experiment with Laravel's libraries like Envoy, Scout, etc... 
tags: vue, laravel, php, dashboard
---

### Introductions
Couple months ago I was trying to find a new solution for my project, and I had built a SPA dashboard with Vue (using this [great framework](https://github.com/PanJiaChen/vue-element-admin), Laravel [Lumen](https://lumen.laravel.com/) as API gateway, Laravel [Passport](https://laravel.com/docs/5.7/passport) as SSO server). After some weeks of working, I found that architecture has some limitations, especially in deployment and hard to open source (because many components involved, CORS setup,...). Then one day new idea came to me: 

> Why don't we use builtin VueJS of Laravel to build a SPA dashboard?

And Laravel + VueJS = [Laravue](https://github.com/tuandm/laravue)

Demo: https://laravue.dev
Documentation: https://doc.laravue.dev

![Laravue](https://thepracticaldev.s3.amazonaws.com/i/k8xbnmrpaokp8n1vbk85.png "Laravue")

[Laravue](https://github.com/tuandm/laravue) is a beautiful dashboard inspired by [vue-element-admin](https://github.com/PanJiaChen/vue-element-admin) but beyond that. It provides all necessary components for building an enterprise application for admin to control business and manage others. My plan is to apply newest technologies/libraries/components of Laravel/Vue to this project and make it easy to use for everyone. In the demo, API will be served by Laravel itself and most of them are faked - but easy to implement.


### Getting started

```
# Clone the project with composer
composer create-project tuandm/laravue
cd laravue

# Migration and DB seeder (after changing your DB settings in .env)
php artisan migrate --seed

# Install passport
php artisan passport:install

# install dependency
npm install

# Build for development
npm run dev # or npm run watch

# Start local development server
npm artisan serve
```

### Next steps
- This project is on heavy development and it has not being built as Laravel plugin (as it should be). Next step will be a standalone plugin for Laravel to easy to integrate to existing Laravel websites.

- Provide full documentation and strict coding convention. PHP/Laravel has an excellent [PSR] (https://www.php-fig.org/psr/) and VueJS has a good standard [here](https://vuejs.org/v2/style-guide/) but it's too basic and not enough.

- Fully tests.

#### I greatly appreciate any feedback, comments, suggestions,... they absolutely make me and this library better. Thank you.


Also, this is my first DEV post 🎉
Announcing RSS Feed for LaravelCollections.com
Tags: laravel, php, sideprojects
Published: 2019-02-14 01:27:02

A lot of users requested an RSS Feed for [LaravelCollections.com] (https://laravelcollections.com/?utm_campaign=rss-announcement)

We now have an RSS Feed that’s updated every time we add a new resource to the site.

[https://laravelcollections.com/rss.xml] (https://laravelcollections.com/rss.xml) — is the feed url. Do take a look.
Changelog: See Your Tag Moderators
Tags: changelog, meta, opensource
Published: 2019-02-14 00:53:21

---
title: Changelog: See Your Tag Moderators
published: true
description: Tag moderators play an important role in our dev.to community. Now see who they are!
tags: #changelog #meta #opensource
---

Ever wonder who helps to moderator the various post tags?  Well, now you get to meet them (so to speak)!  In a [proposed feature](https://github.com/thepracticaldev/dev.to/issues/1677) started by @jess, the thought was that it would be nice when looking at a tag's page (such as https://dev.to/t/javascript), a user could find out who moderates a particular tag.

Whether on desktop or mobile, the left sidebar will show a list of the moderators below the other currently displayed information.

![Tag Moderator Example](https://user-images.githubusercontent.com/32000565/52248833-3fc0ad80-28be-11e9-873f-300f854a0825.png)

If you haven't done so yet, make sure to take a minute and thank these awesome people who give back to the community in a great way!
[GameDev] Crystal Blast
Tags: gamedev, unity3d, startup
Published: 2019-02-14 00:01:52

---
title: [GameDev] Crystal Blast
published: true
description: The new game published
tags: #gamedev #unity #startup
---

Hi everyone!

Few days ago we published the new game. No ads, no payments, it's only about the fun. The technicals issues are still happing for us because the game dev is new are for us.

Briefly that can't handle ourselves now but probably the community could help us to find out the problem.

We are using Unity. It's awesome platform for fast prototyping the games for multiple platforms.

The issues:

- on using Android publish for our other game ( [Sweety Jumper](https://play.google.com/store/apps/details?id=com.balconygames.sweetyjumper) ) we added in app purchases package and ads package (google ads). it compiles well enough but after the installation on the device it didn't open the ads and it's impossible to buy anything in production or beta testing modes for purchases. Did anyone have the same issues on building for android from Unity? ios is working fine on device in the same.
Probably someone can suggest anything how to debug it properly, I believe it could be the dependencies with jars on building the apk but don't see the proper way how to resolve it.

Our game new game is [Crystal Blast](https://play.google.com/store/apps/details?id=com.balconygames.CrystalBlast)

Product Hunt for Upvotes:
- Sweety Jumper [Up](https://www.producthunt.com/posts/sweety-jumper)
- Crystal Blast [Up](https://www.producthunt.com/posts/crystal-blast)

If you have time please review the game, I would appreciate.

Thank you for reading!


![image1](https://thepracticaldev.s3.amazonaws.com/i/f9nezuzng1584d0ohjye.png)
![image2](https://thepracticaldev.s3.amazonaws.com/i/wxe01vj66150r979iz2o.png)
![image3](https://thepracticaldev.s3.amazonaws.com/i/gggekuxlcwesvp4michr.png)
![image4](https://thepracticaldev.s3.amazonaws.com/i/qgxvnpq8cy2rojhcqvzr.png)
![image5](https://thepracticaldev.s3.amazonaws.com/i/1bncnwcm9lo6qmho4y0s.png)
Glitch Projects
Published: 2021-11-19 17:29:22

---
title: Glitch Projects
published: true
date: 2019-02-14 00:00:00 UTC
tags: 
canonical_url: https://www.weckmann.me/posts/glitch-projects/
---

Let’s talk about Glitch! Glitch is a place to develop your NodeJs projects with community support and abundant inspiration.

![Glitch.com home page](https://www.weckmann.me/assets/images/glitch.png)

Glitch has _several_ easy to use features:

- Git
  - Read & Write Support
  - Import From Git Url
- Export Files
- Collaborative Editing
- Embedding Projects
- Custom Domains
- Logs
- Console Access
- Rewind (Git Versioning)
- SQLite Built In
- Community Help
- Asset Storage
- User Profiles
- Private Codebases

All of these features are free!

### Community

With a large and growing community glitch has thousands of projects for you to browse and pull inspiration from. They feature categories such as Hello Worlds, Games, Building Blocks, Learn to Code, Tools for Work, Community Picks, and lots more!

Start your project on [Glitch](https://www.weckmann.me/posts/glitch-projects/%22https://glitch.com%22) today!

* * *
 

[Reply via email](mailto:arpitbatra123@gmail.com?subject=Reply:%20Glitch%20Projects)
Checking the validity of a certificate in Concourse
Tags: continuousintegrati, concourseci, certificates
Published: 2020-05-08 09:08:54

---
title: Checking the validity of a certificate in Concourse
published: true
date: 2019-02-14 00:00:00 UTC
tags: Continuous integrati,Concourse CI,Certificates
canonical_url: https://hceris.com/check-certificate-validity-concourse/
---

We had a situation recently where a certificate that we created using [LetsEncrypt](https://letsencrypt.org/) was about to expire, and we barely noticed in time thanks to a reminder email. For a variety of reasons we cannot automate the renewal right now, but this made me think that relying on emails begin read on time is just asking for trouble.

What I did was making this check part of our build pipeline in [Concourse](https://concourse-ci.org/), which should be triggered 30 days before the expiration of the certificate, so that we get plenty of time to address it.

## Repeated checks in Concourse

_Concourse_ uses the [time](https://github.com/concourse/time-resource) resource to model a periodic trigger. You can define a daily check just like this:

```yaml
- name: 24h
  type: time
  source:
    interval: 24h
    start: 11:00 AM
    stop: 11:15 AM
    location: Europe/Berlin
```

Then you can define a job that will be triggered every 24 hours by getting this resource:

```yaml
- name: certificate
  serial: true
  plan:
  - aggregate:
    - get: git
      passed: [prepare]
      trigger: true
    - get: 24h
      trigger: true
    - get: dev-container
      passed: [prepare]
  - task: check-certificate
    image: dev-container
    params:
      CERT: certs/fullchain.pem
    file: git/pipeline/tasks/check-certificate/task.yml
```

Using the timer as a resource is a bit funky compared to what you would do in something like _Jenkins_, but once you get used to how _Concourse_ does things, it makes sense to use a resource to model every “input” coming from the outside.

## Checking the certificate

We can leverage `openssl` to do this check, and integrate it into our pipeline by installing the it on the container as well (through `apk` if you use alpine). The script to check a certificate looks like this:

```bash
#!/bin/sh

set -e

export THIRTY_DAYS=2592000

if openssl x509 -checkend "${THIRTY_DAYS}" -noout -in "${CERT}"
then
  echo "Certificate is good for another day!"
  exit 0
else
  echo "Certificate has expired or will do so within 30 days!"
  exit 1
fi
```

You can see that we are checking the certificate file that is part of the proxy that serves the domain, and not the live URL. This relies on your pipeline running often enough so that what you have there matches what is deployed.

## That’s it?

Pretty much! With this check your pipeline will become red one month before the expiration of the cert, giving you ample time to do something about it. Next step could be automating not only the alert, but the renewal of the certificate as well?
5 great tools that every Front end web developer should know
Tags: tools, frontend, webdesign
Published: 2019-02-13 23:00:36

---
title: 5 great tools that every Front end web developer should know
published: true
description: 
tags: Tools, Front End, Web design
---

 every front end web developer need to master CSS, but we know that we need to write many lines of CSS code to create something simple and this, is not productive at all, fortunately, there are some super-hero who pass so  much time in darkness to create great tools that will help us and make us more productive .
I decided to make you a list of 5 great tools that will help you for sure.

hope you will enjoy it ^^ 

<a href="https://doctorcodetutorial.blogspot.com/2019/02/5-tools-to-improve-your-productivity-in.html">5 great tools that every Front end web developer should know</a>
Favorite Epigrams?
Tags: discuss
Published: 2019-02-13 21:57:27

---
title: Favorite Epigrams?
published: true
description: 
tags: discuss
---
Two of my favorite epigrams:

- In theory, there is no difference between theory and practice, but in practice, there is. *-- Jan L. A. van de Snepscheut*
- The string is a stark data structure and everywhere it is passed there is much duplication of process. It is a perfect vehicle for hiding information. *-- Alan J. Perlis*

What about yours?

[Updated to add:]

> ‘Tis not in mortals to command success,
But we’ll do more, Sempronius – we’ll deserve it.
    -- *Joseph Addison’s Cato, a Tragedy (1712)*
Sending ngrok links via SMS to Verizon users?!
Tags: discuss
Published: 2019-02-13 21:06:33

---
title: Sending ngrok links via SMS to Verizon users?!
published: true
description: 
tags: discuss
---

I was publishing some funny article titles in development and wanted to share them with my partner. Naturally, I set up a ngrok link for easy sharing. I texted him the link a few times and even though my provider, t-mobile, said it sent, he never received them! He was getting all my other messages/links/etc but not the ngrok links. I've tried one other verizon user who also didn't receive my link. 

Is this just a weird coincidence or does verizon block ngrok? Not seeing anything on a quick search. Note: not having an issue w/ any other mobile service providers!
What does full stack engineering mean to you?
Tags: discuss, fullstack, interview
Published: 2019-02-13 18:11:57

---
title: What does full stack engineering mean to you?
published: true
description: 
tags: discuss, fullstack, interview
---

I entered the software engineering world as a full-stack engineer, a generalist expected to be able to work on a variety tasks from the low-level to high-level and anywhere in between.

Now, as I continue my software journey I find myself wondering if I continue to fit that mold. There are benefits to specializing in the software world, experts in Android, React and countless other technical subjects are able to reach a greater depth and often rise to higher levels as experts in their field.

On the other hand, while it may be more difficult to gain expertise in the general field of full-stack engineering, most companies are looking for full-stack/general software engineers--gobs of them.

In my case, I prefer backend engineering, but wonder if it's too early to specialize. Since particularly for less-experienced engineers, most companies want people that can pick up whatever task you might give them.

When it comes to interviewing, many engineers are divided on the subject. Some see full-stack engineering as an invitation to ask any question, some specific, some broad. Others believe that asking highly specialized front-end questions, like how to style something in CSS, is unfair for a full-stack engineer. Just this week I screened a candidate who was concerned about what kinds of questions might be asked for a full-stack engineer. General front-end questions or more specific?

What about you? What interview questions do you find appropriate for a full-stack engineer? If you moved from full-stack engineering to something more specialized, how did it go?

![pancakes](https://thepracticaldev.s3.amazonaws.com/i/q7x3aif4s87ffp2v9rqr.gif)
Source: Giphy.com
Question: Is there an agile explanation in a form of drawing / comic?
Tags: question, agile, comic
Published: 2019-02-13 16:08:53

---
title: Question: Is there an agile explanation in a form of drawing / comic?
published: true
description: Visual learning is my learning tool, drawings / comics helps me to understand things
tags: question, agile, comic
---

Is there such a thing to learn about agile principles and what agile manifesto contains in drawing / comic form? Asking the dev.to crowd! :-)
Imposter Syndrome in Diagrams
Tags: beginners, impostersyndrome
Published: 2019-02-13 15:50:28

---
title: Imposter Syndrome in Diagrams
published: true
description: Everyone has these feelings
tags: beginner, impostersyndrome
---


!["are you my mentor?"a bird asks a cat](https://thepracticaldev.s3.amazonaws.com/i/c0qdbaa1z8o19o8jnxrb.jpeg)

![flowchart showing different cycles of working on hobby projects versus working experience](https://thepracticaldev.s3.amazonaws.com/i/k6w512c7y2nhby4yl86r.jpeg)

![line chart of high and lows](https://thepracticaldev.s3.amazonaws.com/i/tqjb5u1x4e7efvud0kv8.jpeg)

![johari window](https://thepracticaldev.s3.amazonaws.com/i/9fjg9c2dvxsc54adl6s5.jpeg)

![unhealthy thinking patterns](https://thepracticaldev.s3.amazonaws.com/i/9yjci8fox2lbdh6utt20.png)

![10000 hour rule](https://www.ronitbaras.com/wp-content/uploads/2016/05/10000-hours-to-mastery.png)

![Dunning-Kruger effect](https://loneswimmer.files.wordpress.com/2014/11/dunning-kruger.jpg)

![Microsoft Education Success Factors wheel](https://i.pinimg.com/736x/94/f1/c8/94f1c854ffb3e76703d7d524395f5605.jpg)
Lightweight Java micro services framework
Tags: java, jersey, jaxrs, microservices
Published: 2019-02-13 16:05:09

---
title: Lightweight Java micro services framework
published: true
description: A wrapper to a Grizzly HTTP server with Jersey (JAX-RS), dependency injection (HK2) and JSON support.
tags: java,jersey,jax-rs,microservices
---

# Shrimp

> A wrapper to a Grizzly HTTP server with Jersey (JAX-RS), dependency injection (HK2) and JSON support.

https://github.com/lucasepe/shrimp

would you kindly tell me what you think?

All the best!