teleren/devto huggingface dataset:
chart.js in Angular?
Tags: angular7, chartjs
Published: 2019-01-11 10:34:34

---
title: chart.js in Angular?
published: true
tags: Angular7,Chartjs
canonical_url: https://therichpost.com/how-to-show-multiple-charts-in-one-component-in-angular
---

I am showing multiple charts from chart js in one Angular component and here is the working example picture:

![How to show multiple charts in one Component in Angular?](https://therichpost.com/wp-content/uploads/2019/01/How-to-show-multiple-charts-in-one-Component-in-Angular-1024x433.png)

#### ** For more Information check below link, thank you**



The post [How to show multiple charts in one Component in Angular?](https://therichpost.com/how-to-show-multiple-charts-in-one-component-in-angular)
Requests for posts tag
Tags: meta, discuss
Published: 2019-01-01 17:41:24

We all have our favorite topics in software development, usually because of a combination of expertise and interests.

While reading the following post by @mikeralphson 

{% link https://dev.to/mikeralphson/a-brief-history-of-web-apis-47k4 %}

a draft idea started forming in my mind. I then asked him if he was willing to write a post about the future of Web APIs:

{% devcomment 7oni %}

Dev.to is full of experts on various topics in software development and sometimes I see developers asking *"What should I write about?"*.

Coming up with ideas is not always easy, we all know it.

Hence, my proposal:

**why don't we create a tag that people can use to request posts from the community?**

Does it make sense?

It can be as simple as *"hi folks, I would like to know more about HTTP/2's server push"* or it could be *"I would like to write a post about this or that topic but presently I don't have time, so here you are"*

There's no obligation to anyone obviously, it could also be just a way to know what people want to learn about.

I admit the idea is not fully formed, but it's the first day of the year, I'm just going to put it out there 😜

What do you think?
Top 5 DEV Comments from the Past Week
Tags: bestofdev
Published: 2019-01-01 17:35:26

---
title: Top 5 DEV Comments from the Past Week
published: true
description: Highlighting some of the best DEV comments from the past week.
tags: bestofdev
cover_image: https://res.cloudinary.com/practicaldev/image/fetch/s--7VrAA2ln--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://thepracticaldev.s3.amazonaws.com/i/qmb5wkoeywj06pd7p8ku.png
---

This is a weekly roundup of awesome DEV comments that you may have missed.  You are welcome and encouraged to boost posts and comments yourself using the **[#bestofdev](/t/bestofdev)** tag.

**[Your 2018 in Numbers](https://dev.to/ben/your-2018-in-numbers-1l2k)** offers a really fun way to look back at folks' yearly accomplishments. Basically, you're meant to hop in and drop a list of personal metrics from your past year using mostly emojis. Check out the format here in @helenanders26 recap:
{% devcomment 7ohm %}

In the discussion **[What’s your favorite JS interview question? ](https://dev.to/emmawedekind/whats-your-favorite-js-interview-question-1n0d)**, @ufocoder offered up a satisfying question:
{% devcomment 7mlb %}

Meanwhile, @eljayadobe _displayed_ a sense of humor in **[Don’t set a resolution this year.](https://dev.to/itsjzt/dont-set-a-resolution-this-year-1h4n)**
{% devcomment 7oba %}

In **[A junior, a mid and a senior dev walk into a bar](https://dev.to/anabella/a-junior-a-mid-and-a-senior-dev-walk-into-a-bar-414f)**, we're offered a cautionary tale on DB migration, and @scotthannen reminds us just how important testing is:
{% devcomment 7o2f %}

Finally, speaking of screwing up, reading **[Even the Big Ones Mess Up](https://dev.to/dstarner/even-the-big-ones-mess-up-51dp)** outta make you feel a bit better. We know how @ben feels:
{% devcomment 7n53 %}

See you next week for more great comments ✌
New Year Resolution: Becoming a Youtuber
Tags: challenge, youtube, vlog
Published: 2019-01-01 16:59:54

---
title: New Year Resolution: Becoming a Youtuber
published: true
description: Becoming a Youtuber
tags: 
- challenge
- youtube
- vlog
---

{% youtube ASmi0IYsu0Q %}
HELLO WORLD 2019, I AM STARTING A YOUTUBE VLOG AND PULLING ALL MY NON TECH/TECH FRIENDS INTO THE TECH SCENE AND THE YOUTUBE WORLD. IT WILL BE FUN AND CHAOTIC. :)


Amazing video and sound quality brought to you by IPhone. Still saving up for my camera and microphone.
The Facepalming Dev 🤦‍♂️ #1
Tags: derp, fail, humor
Published: 2019-01-01 16:55:52

---
title: The Facepalming Dev 🤦‍♂️ #1
published: true
description: What's the best way to start the New Year? Doing something that requires an epic facepalm.
tags: derp,fail,humor
cover_image: https://thepracticaldev.s3.amazonaws.com/i/2h4v73fsnjlnbravi1g2.jpg
---

# Preface

I'm intending to turn this into a series of short, humorous posts others can get a chuckle out of.

This first one isn't really software/web development related. But it's the inspiration for this series, so I think I definitely should post it.

# Story

So this morning, 1/1/2019, I go through my normal routine to get ready for work. Once I have everything together, I leave my neighborhood and drive down the highway. As usual, it took roughly 35 minutes for me to get to the city I work in.

The only thing that seemed different was that there was almost no traffic. I guessed that most companies let their employees off for the day, or that maybe I left before most of the traffic would flood the road. No big deal though.

I get to the parking garage and notice the emptiness resembles that of the road I drove to work. Oh well. That just means I get a better parking space. 😊

I walk to the office and lock the door behind me. It was dark, but that was alright. I was early and wasn't expecting anyone else for about another 30 minutes.

I do some normal morning stuff -- make tea, set up my laptop, go through emails and start gathering my thoughts on today's tasks.

Roughly 20 minutes later, I start to get a little concerned. I had messaged my manager a couple of times with no response, and I didn't see any other early birds. But I brushed that off, figuring they were coming in later.

Another 15 minutes passes. The office should be open at this point, but I keep holding onto this thought that everyone was allowed to come in late due to being out for New Year's Eve.

Finally, after 45 minutes of sitting by myself, I decide to call a coworker. My coworker then tells me that the office is closed for New Year's Day. While on the phone, I also get a response from my manager, telling me that we always close for New Year's Day, and that it's in the employee manual.

And that's why this is a derpy moment for me, because my manager was correct. We *do* always close for New Year's Day. I guess it slipped my mind. In fact, I even forgot to ask anyone the evening before if we were closed the next day. I just assumed we were open.

After I'm done shaking my head, I pack up and drive home for the rest of the day.

----

Anyway, that was The Facepalming Dev #1. I hope you enjoyed reading. 😊

Feel free to share a story of your own below and maybe we can all share a good laugh to start off 2019.

### Happy New Year! 🎉 🎆

---

# P.S.

It was brought to my attention that the slang "derpy" could be taken as a reference to people suffering from mental disorders. To avoid unnecessary confusion and/or offense, this series, which was previously called "Derpy Dev Moments", will now be called "The Facepalming Dev". Enjoy!
Web client for Gammu SMSD
Tags: gammu, sms, rpizero, raspberrypi
Published: 2019-01-04 11:39:14

---
title: Web client for Gammu SMSD
published: true
tags: gammu,sms,rpizero,raspberrypi
canonical_url: https://jonnev.se/web-client-for-gammu-smsd/
---

 ![Web client for Gammu SMSD](https://jonnev.se/content/images/2019/01/Screenshot-2019-01-01-at-14.06.59.png)

Finally I have released the client I've written for [Gammu SMSD](https://wammu.eu/smsd/), which I use on my Raspberry Pi Zero [SMS gateway](https://dev.to/joenas/raspberry-pi-zero-as-sms-gateway-58gk). It's a React app with a Node Express backend to fetch the stored messages from a Postgres database. While still a _WIP_ (needs auth and some UI love) it works fine for receiving and sending/replying to SMS.

💻👉 The **source code** is [here](https://github.com/joenas/gammu-client) with instructions for the different ways of deploying.

I myself run it directly on my Raspberry Pi with Docker but it's also possible to have it connect to an existing Postgres instance in case you already have that set up. Or just run it on a separate machine, preferably with `docker-compose` and have your `gammu-smsd` connect to the database container.

I learnt quite a lot building this, both about some Gammu internals and React/Node. My first try was to build the backend in [Crystal](https://crystal-lang.org/) because I figured having a small binary to ship would be perfect for a RPi but that turned out being harder then expected. That might be content for another blog post...

It **also** turned out building Docker images on a RPi was messy which led me to the discovery I wrote about in my [last post](https://dev.to/joenas/building-node-docker-images-for--raspberry-pi-zero-2hfm). I included a version of the script from my example in this repository too, to make it easy for others to build and deploy the `armv6` version of the Docker image.

Anyways I hope someone finds this useful and please drop me a line with any feedback you might have!
Proposal: translate your own content to your native language
Tags: discuss, translated
Published: 2019-01-01 16:26:10

---
title: Proposal: translate your own content to your native language
published: true
description: What if improve this communinity by including everyone effortlessly?
tags: discuss, translated
---

I know you know, at least, read and write in english, but you don't live in England, nor USA, nor Australia... you aren't an english native speaker, in fact your dream (like mine) is to fly to London and improve your english practicing it everyday!

So, why you wrote that beautiful post just in one language that isn't your native one?
How difficult could be to translate it? Probably you originally created that article in your native language inside your mind after all.
You know what happens when an automatic translator try to do that job 🤷‍♂️

My proposal to you: 
- Write your article in english, good!
- Translate it to your mother language, great!
- Put the tag [#translated](https://dev.to/t/translated/top/infinity) in both articles
- Put a link, a reference, in both articles to the other version.

**What do you think about this proposal?**
{% tag translated %}

*Note: I won't translate this article because I want all the comments remain centralized here.*
switch from bash to zsh, and install oh-my-zsh on iTerm2
Tags: zsh, ohmyzsh
Published: 2019-01-01 15:42:45

---
title: switch from bash to zsh, and install oh-my-zsh on iTerm2
published: true
description: install oh-my-zsh on Mac
tags: #zsh #oh-my-zsh
---

> First setup for shell on Mac OS 10.14.2 Mojave.
> Install oh-my-zsh.

## env.

- Mac OS 10.14.2 Mojave
- iTerm2 build 3.2.6

---

## how to install

### switch from bash to zsh

- change shell to zsh by the next command...

```sh
$ chsh -s /bin/zsh
```

### install oh-my-zsh

- install oh-my-zsh by the command below

```sh
$ curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   146  100   146    0     0    234      0 --:--:-- --:--:-- --:--:--   234
100  3952  100  3952    0     0   4481      0 --:--:-- --:--:-- --:--:--  4481
Cloning Oh My Zsh...
Cloning into '/Users/foo/.oh-my-zsh'...
remote: Enumerating objects: 1000, done.
remote: Counting objects: 100% (1000/1000), done.
remote: Compressing objects: 100% (920/920), done.
remote: Total 1000 (delta 23), reused 846 (delta 16), pack-reused 0
Receiving objects: 100% (1000/1000), 643.21 KiB | 3.28 MiB/s, done.
Resolving deltas: 100% (23/23), done.
Looking for an existing zsh config...
Using the Oh My Zsh template file and adding it to ~/.zshrc
         __                                     __
  ____  / /_     ____ ___  __  __   ____  _____/ /_
 / __ \/ __ \   / __ `__ \/ / / /  /_  / / ___/ __ \
/ /_/ / / / /  / / / / / / /_/ /    / /_(__  ) / / /
\____/_/ /_/  /_/ /_/ /_/\__, /    /___/____/_/ /_/
                        /____/                       ....is now installed!


Please look over the ~/.zshrc file to select plugins, themes, and options.

p.s. Follow us at https://twitter.com/ohmyzsh.

p.p.s. Get stickers and t-shirts at https://shop.planetargon.com.
```

- exit the shell, and reopen iTerm2, then you can use oh-my-zsh

---

## setting oh-my-zsh

### theme

- edit oh-my-zsh theme in ```~/.zshrc```
- cf. https://github.com/robbyrussell/oh-my-zsh/wiki/themes

```~/.zshrc
#ZSH_THEME="robbyrussell"
ZSH_THEME="tonotdo"
```

### history

- edit hist-size in ```~/.oh-my-zsh/lib/history.zsh```

```~/.oh-my-zsh/lib/history.zsh
HISTSIZE=500000
SAVEHIST=100000
```
Here we go! Happy new year!
Tags: personal
Published: 2020-01-12 20:11:24

---
title: Here we go! Happy new year!
published: true
date: 2019-01-01 15:15:00 UTC
tags: Personal
canonical_url: https://christophweigert.com/here-we-go-happy-new-year-2/
---

 ![Here we go! Happy new year!](https://images.unsplash.com/photo-1530026091265-6ab5b498c7f9?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjExNzczfQ)

Hi first,

I'm Christoph and here we go. This is my first blog post. After reading so many great blogs, I wanted to start my technology blog. [So here can you read more about me.](https://christophweigert.com/about)

Now the time has come. A new blog is here.   
This blog is based on the [Ghost Blogging platform](https://ghost.org/), the theme is from [Troy Hunt](https://troyhunt.com), hosting is provided by [Hetzner.de](https://hetzner.de) and protected by [Cloudflare](https://cloudflare.com/).

The idea to start my blog wasn't something new, but frankly, I didn't have time to set up a blog or write posts - until now. After reading many retrospectives I had the urge to start.

From now on it will be blogging about programming (MS Stack including C#, .Net, SQL Server) but also about Linux, Ghost, npm, and from time to time there will certainly be something private details. But this time it should not get out of hand. At least that is currently still on my 'goals list'. However, enough of the big words and enjoy reading.

Because this blog post is scheduled for New Year's Eve I wish you a happy new year.
The Rise of Cloud Based Point-of-Sale Applications
Tags: stripe, pointofsale, enterprise, business
Published: 2019-01-01 14:58:50

---
title: The Rise of Cloud Based Point-of-Sale Applications
published: true
description: How products like Stripe Terminal will usher in a new era of enterprise level web apps not tied to a traditional PC.
tags: stripe, point-of-sale, enterprise, business
cover_image: https://thepracticaldev.s3.amazonaws.com/i/rjvjamzj2h93gczjnzx1.jpg
---

Back in 2010 when Ethan Marcotte penned the [Responsive Web Design](https://alistapart.com/article/responsive-web-design) post, I instantly knew the landscape would shift forever. At the time I was building websites in a pseudo, html-flash like platform. I immediately switched course knowing that responsive web design would change the way we develop websites for the foreseeable future.

Eight years later, responsive web design is now standard practice.

My point isn't that I can predict the future, but that we're starting to enter a similar period in time with the pending release of [Stripe Terminal](https://stripe.com/terminal). ICYMI, Stripe has released (invitation only beta) a product called Terminal, a card-reader that offers a JS powered SDK for use in web apps, and an iOS SDK for mobile apps. I've [integrated Stripe Terminal](https://dev.to/nphaskins/how-i-integrated-stripe-terminal-with-ruby-on-rails-33pg) into my gym management software platform [Sport Keeper](https://sport-keeper.com), slated for launch early this year.

Stripe Terminal offers a true JS powered SDK designed solely for building website applications. This is a huge moment in time, because the current solutions are PC based, and a lot connect securely through iframes. Either that, or they use USB card readers and JS to parse the credit card data for entry into a form. 

This won't work when you're using Stripe and their hosted fields. Besides, its just prone to error. By offering a Javascript based SDK, we can get a 100% secure and seamless integration into user interfaces that are only limited by our imagination.

The next few years are going to be exciting and fast-paced, as we're going to see a slew of new startups with iPOS products aimed at replacing the aging fleet of hardware and software across a plethora of industries from health and fitness, to restaurants, and beyond.
📦 webpack secrets
Tags: webpack, webdev, javascript, node
Published: 2019-01-01 14:05:58

---
title: 📦 webpack secrets
published: true
description: Things you can do 🔨 with webpack 📦 that you might not be aware of.
tags: webpack, webdev, javascript, node
canonical_url: https://www.iamdeveloper.com/posts/-webpack-secrets-jg/
cover_image: https://thepracticaldev.s3.amazonaws.com/i/hinf6qqn57jfinnmpprk.png
---

What webpack secrets or less commonly known features do you know? This also includes loaders or plugins that not everyone might be aware of. Please share so we can all become webpack enlightened. 😉

I'll start. Did you know that you can write your webpack config in TypeScript if you have the `ts-node` dev dependency installed? Type checking for my webpack config? Yes please!

{%twitter  930103460149809152 %}
Know Your Data (KYD)
Tags: engineering, data, datamodeling, optimisation
Published: 2019-01-19 08:59:17

---
title: Know Your Data (KYD)
published: true
tags: engineering,data,datamodeling,optimisation
canonical_url: https://medium.com/real-spark/know-your-data-kyd-897f98416986
cover_image: https://cdn-images-1.medium.com/max/1024/0*sZ1adV_WEtfozQtp
series: Know Your Data (KYD)
---

### Introduction — Know Your Data (KYD)

In this new era of artificial intelligence and machine learning, you need not be expert to realise that data is the new diamond, more the merrier. But unless your diamonds are shiny, polished, multi-faceted and easily accessible with low maintenance they are nothing more than just a piece of rock.

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

In my previous organisation (to be called organisation from now on), we analysed millions of user events per day and produced shiny multi-faceted analytics from it. As we know that diamonds come in all shapes and sizes, so they should be maintained based on their potential to fetch money or in simple business terms their ROI.

In my current organisation, we handle data of size in terms of billions of events per day mainly comprised of communication logs between different microservices.

> On another note there is nice must-read series of write-ups from Ankit Sobti (CTO, Postman) on how Postman implemented Microservices. Here is [link for first one](https://medium.com/postman-engineering/conquering-the-microservices-dependency-hell-at-postman-with-postman-part-1-introduction-a1ae019bb934).

Handling data at this scale and complexity, results in plethora of complications and problems. I will write about our approaches to solve these problems.

### SPOILER ALERT

…

…

The solution always lies in the direction realised only after knowing our data.

**_Next Posts in Series_**

[Optimising E-Commerce Data - Sumit](https://dev.to/sumitkumar1209/optimising-e-commerce-data-2nna)

* * *
My Experience in Bootcamp Thus Far
Tags: andela, bootcamp, experience, developer
Published: 2019-01-01 10:46:52

---
title: My Experience in Bootcamp Thus Far
published: true
description: 
tags: andela, bootcamp, experience, developer
---

![](https://thepracticaldev.s3.amazonaws.com/i/4b7xzxb89owlpqb1ngfl.jpg)

**Bootcamp** experience thus far has been amazing. I have learned and experienced so many new things in such a short period of time, and time has gone by so quickly. I am still discovering all the opportunities that [Andela](https://andela.com) has to offer me. [Andela](https://andela.com) is a great and very welcoming place, and from the first day, I felt at home. I have made many new friends from many different backgrounds.

Bootcamp learning sections are great and I enjoy every one of them, especially the onBoarding section (**_Day One_**). The depth and detail of what we are learning are far beyond any other experience I’ve ever had. It is just amazing to think that even the tiniest details of information can have such a huge impact. My self-learning (**_Three days_**) section was also interesting because its a time dedicated to learning how to use technology to solve real-life problems, learning through the aid of guided mentors (_Learning Facilitators_).

These whole experience has made me realize how important is [Andela](https://andela.com) EPIC value. That is probably the best part of Bootcamp, it introduces so many new concepts that changed our view of the tech world. I am currently taking a writing challenge, which I greatly enjoy. Learning a new skill is challenging but it is very rewarding. The course load is intense, so time management is key.

Time has been flying by and it’s hard to believe that we have been on Bootcamp for almost a week already. Life at [Andela](https://andela.com) Bootcamp is a great experience that I plan to make the most out of.

Thanks for reading.
Junior Android Developer looking for a remote role 
Tags: remote, android, junior
Published: 2019-01-01 12:52:59

---
title: Junior Android Developer looking for a remote role 
published: true
description: 
tags: #remote #Android #junior
---
Hi everybody. I'm an Android developer with a year experience based in Lagos, Nigeria, and looking for a junior developer(remote) role. [Here's a link to my github repo](https://github.com/noblemajesty) 

I'm comfortable with building with:
1. Java/Kotlin
2. MVVM/MVP
3. Retrofit
4. RxAndroid
5. Android arch components
6. Instrumented and Unit tests with Espresso/Mockito.

I also have experience in building APIs with Node(Express and a little bit of Hapi), PostgreSQL/MongoDB

I would very much appreciate if you could go through my repo and provide feedback on how I can get better and improve my chances of getting a suitable role.
Create on-the-fly REST API using Postgres database functions
Tags: postgresrestapi
Published: 2019-01-01 12:34:03

---
title: Create on-the-fly REST API using Postgres database functions
published: true
description: Create on-the-fly REST API using Postgres database functions
tags: Postgres REST API 
---

https://medium.com/@thrinz/create-on-the-fly-rest-api-using-postgres-database-functions-6d9061e66f3d