teleren/devto huggingface dataset:
Using Machine to Machine (M2M) Authorization
Tags: m2m, iot, authorization
Published: 2018-07-11 17:58:13

---
title: Using Machine to Machine (M2M) Authorization
published: true
description: How to set up non-interactive apps using the client credentials grant and Auth0 to perform IoT device, CLI tool, and more machine to machine API authorization.
tags: #m2m #iot #authorization 
canonical_url: https://auth0.com/blog/using-m2m-authorization/
---
Many times, a secure, authorized communication channel between different parts of an autonomous system is required. Think of two backend services from different companies communicating through the internet. For these cases, OAuth 2.0 provides the client credentials grant flow. 

In this post, we will take a look at how the client credentials grant from OAuth 2.0 can be used with Auth0 for [machine to machine communications](https://auth0.com/docs/applications/machine-to-machine).

[Read on 📠🗣💻](https://auth0.com/blog/using-m2m-authorization?utm_source=twitter&utm_medium=sc&utm_campaign=m2m_auth)

![Using Machine to Machine (M2M) Authorization](https://thepracticaldev.s3.amazonaws.com/i/xjkk9suzp3bymfx6j4cq.png)
I'm Addy Osmani, Ask Me Anything!
Tags: ama, webdev, javascript
Published: 2018-07-11 16:43:21

---
title: I'm Addy Osmani, Ask Me Anything!
published: true
description: 
tags: ama, webdev, javascript
cover_image: https://thepracticaldev.s3.amazonaws.com/i/tlpkz92ej3zazvlwf9x4.png
---

My name is Addy and I’m an engineering manager on the [Chrome](https://www.google.com/chrome/) team at Google leading up Web Performance. Our team are responsible for trying to get pages on the web loading fast. We do this through web standards, working with sites & frameworks in the ecosystem and through tools like [Lighthouse](https://developers.google.com/web/tools/lighthouse/) and [Workbox](https://developers.google.com/web/tools/workbox/). I give talks about speed and have written books like Learning JavaScript Design Patterns and Essential Image Optimization. I'm married to the wonderful [Elle Osmani](https://twitter.com/ARebelBelle) who co-runs our side-project [TeeJungle](https://teejungle.net) at the weekends. 

To learn more, you can find me on Twitter at [@addyosmani](https://twitter.com/addyosmani)
Write With Me (Day 6)
Tags: discuss, writewithme, dev, design
Published: 2018-07-11 16:27:07

---
title: Write With Me (Day 6)
published: true
description: 
tags: discuss, writewithme, dev, design
---

So, you may have noticed that I have missed a couple days of the writing challenge. However, instead of stopping, I'm going to just keep going. This has been a positive motivation for me. Several others have also reached out to me and said they enjoyed motivation as well. So, as long as I and others are inspired, I'm going to keep writing :)

Today I got to meet with Jess Chen. She is a product designer at Facebook, and she gave me some much-needed inspiration to follow my passion for design. 

First, Jess gave me some insight into different types of Design. Specifically the difference between Industrial Design (product design in the hardware space) and Service Design. I won't go into detail about the differences, because at this point I can't give an appropriate intro.

Jess encouraged me to surround myself with other designers. Even if I go to a meetup and ask "Why am I going to these," I will likely hear some conversations that happen to give me insight to the design community. One thing she said really stuck out to me, "It's good to get exposure to the community." 

In the past couple of months, I have started to have a big passion for designish type stuff. Thanks Jess for giving me some inspiration today to continue growing in this field.

If you want some inspiration as well check out [Jess's website.](https://www.jesschen.com/)

Then, take a look at [Jess's Instagram](https://www.instagram.com/just_chen/). 

![Pciture Of Instagram Photo](https://thepracticaldev.s3.amazonaws.com/i/5xct50z5cem4j6bzb913.png)

Jess is a baker, and now I also want to be a baker. *Yum*
Hello World!
Tags: introductions
Published: 2018-07-11 16:24:24

---
title: Hello World!
published: true
description: My introduction post
tags: introductions
---

Hello World ! ☺

My name is Lea Rosema. I am a passionate Full Stack Software Developer, currently based in Papenburg, Germany.

You can find me on GitHub as [terabaud](https://github.com/terabaud).

At the age of 8, I started to learn coding with the [Schneider CPC 464](https://cpcbox.com) in [Locomotive BASIC](http://www.cpcwiki.eu/index.php/Locomotive_BASIC). At the age of 13, I switched to a 386 PC and further advanced my coding skills. I learned Turbo Pascal and x86 Assembly Language and created my first games and graphics demos using [mode 0x13](https://en.wikipedia.org/wiki/Mode_13h). 

In the late 90's, I started playing with the web platform. Since then, I fell in love the web platform. I never used `<blink>` but a fair amount of `<marquee>` and started gaining backend skills with Perl CGI Scripting. Then, I switched from Perl to PHP/MySQL and ASP.NET/Microsoft SQL Server. Today, I focus on JavaScript in node.js and in the browser.

As a life-long learner, I always keep up-to date with modern web technologies and love to work on projects following agile and test-first development workflows.

I also enjoy creative coding and audio/graphics programming, playing with HTML5 Canvas, SVG, WebGL and exploring new JavaScript APIs for fun and profit. Check out my works on [CodePen](https://codepen.io/terabaud/).
The dev.to codebase will go open-source on August 8
Tags: meta, opensource
Published: 2018-07-11 16:05:55

---
title: The dev.to codebase will go open-source on August 8
published: true
description: Eight is a very lucky number
tags: meta, opensource
---

After mentioning a vague roadmap to open-sourcing the [dev.to](/) codebase, we've finally decided on a date for the launch: **August 8 (8/8)**.

## Eight is a very lucky number 🎱 🤗

The overall benefits of open source code are numerous and fairly well-known, so I don't think I need to get into that too much right now for this audience. As such, I'll just mention a few key items of note:

- The first release will consist of **_our code_, not a framework for immediately building an instance of a platform like this**. However, that is a perfectly valid use case in the future. If you are interested in contributing such that we can eventually help people stand up their own version of this platform for their own business or society, we'll definitely welcome that input. **But don't try to do that on day one, it would be silly.** I wrote a post a few months back about [what this platform could be](https://dev.to/ben/how-devto-could-topple-facebook-2nj3) in this sense. Our core business will remain serving the developer community as best we can.

- We are a **for-profit company**. We're working our butts off to grow a big, profitable dev network. I mention this because open source is sometimes conflated with non-profit. The transparency that comes with open-sourcing should add accountability and will help ensure we remain aligned with the community and un-evil as we grow.

- The code will be released under the [GNU General Public License](https://www.gnu.org/licenses/gpl-3.0.en.html). Similar platforms have released using this license and we believe our use cases and ideology fit the same model.

We still have lots to iron out before August 8. If you want early access right away to help us in the push, please **[fill out this form](https://thepracticaldev.typeform.com/to/HkjWky)**.

Thanks for being an awesome community! Happy to discuss and answer your questions in the comments.
Something about me
Tags: introduction
Published: 2018-07-11 15:33:15

---
title: Something about me
published: true 
description: about me
tags: introduction
---

# Something about me 😎

Hello, friends, my name is **Adan Palacios**, I'm studying engineering at Technological University of Mexico (UNITEC) in Mexico.
I enjoy developing web applications, I currently work with frameworks like Django and Laravel and other JavaScript libraries like
Reactjs and Vue.js and sometimes Angular and more...
I have a YouTube channel where I teach you how to program in different languages like  **Python**, **Java**, **JavaScript**,
**php** and **C++** also i teach you the basics web technologies like **HTML5**, **CSS** and again **JavaScript**,
and I also share resources for developers, if you want to go to my channel just click  [my channel!](http://bit.ly/2sOMBBV).

**Code is Poetry**
Common Voice ora parla Italiano, ti va di donare la tua voce?
Tags: voice, italian, machinelearning, opensource
Published: 2018-07-11 15:31:58

---
title: Common Voice ora parla Italiano, ti va di donare la tua voce?
published: true
description: 
tags: voice, italian, machinelearning, opensource
canonical_url: https://www.mozillaitalia.org/home/2018/07/11/common-voice-ora-parla-italiano-ti-va-di-donare-la-tua-voce/
---

Common Voice (https://voice.mozilla.org) è un progetto di crowdfunding di Mozilla. Non quello classico pensato per raccogliere soldi, bensì dati testuali e vocali basati su lingue specifiche, nato dal progetto Open Source di riconoscimento vocale DeepSpeech (https://github.com/mozilla/DeepSpeech) che funziona grazie alla tecnologia di Machine Learning, imparando a riconoscere le lingue tramite parole e pronunce.

Per l'articolo completo -> https://www.mozillaitalia.org/home/2018/07/11/common-voice-ora-parla-italiano-ti-va-di-donare-la-tua-voce/
How not to get distracted while learning something new ?
Tags: help
Published: 2018-07-11 15:08:22

---
title: How not to get distracted while learning something new ?
published: true
tags: help
---

When i start learning something new, I usually get distracted and overwhelmed by the things created using that technology and exploring those things, it drail's me from my path.

*Inshort:*

How to stay focused and motivated while learning something new?
Just Code Challenge Week 1 & 2 Recap
Tags: challenge, justcode, xojo, learn
Published: 2018-07-11 13:41:00

---
title: Just Code Challenge Week 1 & 2 Recap
published: true
description: Check out some of the many projects from the Just Code Challenge
tags: #Challenge, justcode, Xojo, learn
---

People are having fun this summer by just coding in the [Just Code Challenge](https://dev.to/lefebvre/just-code-challenge-28la)! Here's a recap what some have made in the first two weeks:

## Week 1

A few of my favorites are noted below, but you can find all the projects for week 1 in these two forum conversations: [Just Code Challenge](https://forum.xojo.com/48375-just-code-challenge), [Week 1 Projects](https://forum.xojo.com/48422-just-code-challenge-week-1-projects)

Bill Kapeles created a simple app that uses a SQLite database to track topic ideas for any writing you do, such as for articles or blog posts. He called it Write Idea -- I love that name!

Chad Posner started on his multi-week ListBox Canvas control as a way to learn Xojo.

Christian Mézes created a version of the classic [Conway's Game of Life simulation](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life). I've always wanted to try this myself.

Wayne Golding and Jonathan Eisen each created simple calculators.

Jeremie Leroy made an iOS app that displays the weather for your location.

## Week 2

All the week 2 projects are in the [Week 2 Projects forum conversation](https://forum.xojo.com/48550-just-code-challenge-week-2-projects). Here are some of note:

Christian Mézes returned with another graphical entry, this time bouncing bubbles.

David Feugey created something interesting by combining the Evaluator XojoScript example with the clipboard to have it evaluate expressions in the clipboard and then put the result into the clipboard. Pretty cool. [Everything is a remix](https://magoz.blog/everything-is-a-remix/)!

Jay Jennings made a mini Soundboard for playing sound files.

Tim Parnell made a project to show you how to do live searching with a ListBox.

Week 3 just ended and projects are starting to roll in. Post yours to the [Week 3 Project conversation](https://forum.xojo.com/48658-just-code-challenge-week-3-projects) in the [forum](http://forum.xojo.com). I can't wait to see what people make in Week 4.

A reminder that **you only need to complete 10 projects in order to qualify for any of the prizes** so jump in now!
First job post college advice
Tags: discuss
Published: 2018-07-11 13:18:01

---
title: First job post college advice
published: true
description:  
tags: discuss
---
Greetings all, first post here (been a member since like April 2017).I recently started my first job and it has been amazing so far. Only issue, I do not get to develop as much as I am wanting. I do a lot of supports for apps. Not first line support but if the call in cannot solve issues with the app then it will be forwarded to my team and we will try to replicate and find out where and what is causing this issue. My question is, how do I ensure I do not fall behind as a developer over time. I still spend an hour or two after work, working on personal projects but I feel like that is not sufficient enough to grow as a developer compared to someone who gets to come in and develop for 8+ hours a day. Any insight on this would be greatly appreciated.
Optional Chaining JavaScript / TypeScript
Tags: safechain, javascript, showdev, chain
Published: 2018-07-11 12:50:57

---
title: Optional Chaining JavaScript / TypeScript
published: true
description: A Simple worry-free way to chain property on the object in JavaScript
tags: safechain, javascript, showdev, chain
---

![alt text](https://images.unsplash.com/photo-1527427337751-fdca2f128ce5?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=7f0965bc37ef09044780baa8af91e2b3&auto=format&fit=crop&w=1350&q=80 "Nabin Adhikari, SafeChainJs")

While working with JavaScript or Typescript, one of my most dreadful experience is reading property of object since there is no optional chaining (please correct me if I'm wrong). Obviously, we can have multiple if/else statement for safe property extraction, I think there should be a better clean approach. 

Then, I started searching for such libraries and they work very well except they were lacking one most important feature (for me) to give fallback value. That is why I started thinking of creating npm module to solve this problem as my first npm module ever so that I could help other developers as well.

Today, I've created [safechainjs], which exactly does what I wanted and I am very excited to publish my first ever npm modules. I'd be very honored for any feeback or suggestion [here].

It is very easy to get started. For e.g.
```sh
$ npm install --save safechainjs
```
For a object like this:
```javascript
const obj = {
    name: {
        firstName: "Albert",
        lastName: "Einstein"
    },
    dob: "1897/03/14",
    wife: ['Maric', 'Elsa']
};
```
We can easily and safely pull out properties using safechainjs like this.
```javascript
const safechain = require('safechainjs');
const fname = safechain(obj, 'name', 'firstName', 'Unknown'); // Albert
const address = safechain(obj, 'address', 'postcode', 0); // 0
const wives = safechain(obj, 'wife', []); // ['Maric', 'Elsa']
```

Minimum three parameters are needed for function to sucessfully work.
* First argument is the object to get property from
* Multiple arguments to grab property in multiple level
* Last argument is fallback value to be returned incase of missing request property

I'd really appreciate if you use it and provide any suggestions or feedback.
Happy JS
[Nabin Adhikari]

[safechainjs]: <https://www.npmjs.com/package/safechainjs>
[here]: <https://github.com/nabinadhikari/safechainjs>
[Nabin Adhikari]: <http://www.nabinadhikari.com>
JPA Code example (Ep.1)
Tags: jpa, java, mysql
Published: 2018-07-11 12:37:38

---
title: JPA Code example (Ep.1)
published: true
description: เป็นการลองเขียน CRUD JPA แบบบ้านๆ 
tags: JPA, Java , MySql
---

#### เกริ่นไปเรื่อย 
--- 
บทนี้อาจจะดูวุ่นวายนิดหน่อยครับ แต่ไม่ปัญหาที่เราจะติดอะไร เพราะบทนี้จะใช้พื้นฐาน ในการสร้าง สรา้ง 

`class`
`method`
`getter`
`setter`

เราจะเริ่มต่อจากบทที่เเล้ว ที่เราเตรียมไว้นะครับ 

#### สิ่งที่เราต้องสร้างไว้ มีตามนี้ครับ

Entity หรือ POJO 1 ตัวครับ คือตัวที่เอาไว้ทำการ map กับ table ใน Database 

- Employee.java

Service เอาไว้ทำเกี่ยวกับพวก create ,update ,find ,delete

- CreateEmployee.java
- DeleteEmployee.java
- FindEmployee.java
- UpdateEmployee.java

Persistence คือ เราจะเรียกให้เข้าง่าย ๆ วันมันคือไฟล์ที่เอาใช้ config สิ่งต่างๆ คล้ายๆไฟล์ poperties โดยปกติจะมีอยู่แล้วใน `META-INF`

- Persistence.xml

---

#### จะได้หน้าตา ประมาณนี้
![alt text](https://thepracticaldev.s3.amazonaws.com/i/ynzakmbdaf8oit2heyq8.PNG)

---
### วิธีสร้าง
ความจริงเราสร้างตามที่ตัวเองถนัดได้เลยนะ แต่ถ้าเอาตามผม ก็ดูตัวอย่างตามด้านล่างนี้ครับ
1.สร้าง Pacakage ขึ้นมาก่อน 

`คลิกขวาที่ src -> new --> Package`
![alt text](https://thepracticaldev.s3.amazonaws.com/i/fi4n5dky2hydjslmfu8n.PNG)
---

2.ตั้งชื่อ package 
ตัวอย่าง `com.ชื่อโปรเจค.ชื่อสำหรับบอกการใช้งาน` เป็น pattern ของผมเอง แต่มันไม่ได้ตายตัวนะ  เราสามารถสร้างตามที่เราเข้าใจ ได้เลย มันก็จะได้น่าตาประมาณนี้
![alt text](https://thepracticaldev.s3.amazonaws.com/i/ew6htbjjxoh9viy82v4o.PNG)

---

3. สร้าง class 
`คลิกขวาที่ ชื่อ package ที่เราสร้างไว้ -> new --> class`
![alt text](https://thepracticaldev.s3.amazonaws.com/i/6x0ie1vndb7afd6tlu19.PNG)

##### สังเกตดู

`Package : มันจะชี้ไปที่ๆเราสร้างไว้ เพื่อบอกว่า class ที่เรากำลังสร้างอยู่ตอนนี้จะอยู่ภายใต้ package นี้ `
`Name : คือชื่อ class ที่เราจะตั้ง `

![alt text](https://thepracticaldev.s3.amazonaws.com/i/7ss8uwhwo79gxp6akbg8.PNG)

---

4.เหลือ Package สำหรับ Service ละในนั้นก็จะมี 4 class ตามรูปภาพด้านล่างนี้  เราลองสร้างกันดูเองนะ
![alt text](https://thepracticaldev.s3.amazonaws.com/i/6ltro6qzqjtb3dl4ku4m.PNG)
2018 North America User Groups
Tags: softwareag, technology, webmethods, adabas
Published: 2019-08-15 12:49:35

---
title: 2018 North America User Groups
published: true
tags: SoftwareAG, technology, webMethods, adabas
canonical_url: http://techcommunity.softwareag.com/techniques-blog/-/blogs/2018-north-america-user-groups
---

# New York City and Chicago

**Weren’t able to attend the North America User Groups in San Francisco or Austin? No problem, we’re bringing them to New York City and Chicago!**

| Issue 3, 2018 | [<font color="#000000"><img alt="" id="yui_patched_v3_11_0_1_1435667347988_855" src="http://techcommunity.softwareag.com/image/image_gallery?uuid=202eb7e1-9148-4c65-b29a-54c4302ab65e&amp;groupId=10157&amp;t=1326987658425" style="width: 22px; height: 22px; vertical-align: text-bottom;"> <span id="yui_patched_v3_11_0_1_1492771711676_1198">Download PDF</span> </font>](http://bit.ly/2L76spb) |

Please join us for the Software AG North America User Groups, taking place in New York City on Sept. 17 and Chicago on Sept. 19 Participation in the user groups is free of charge for customers, so pass along the invite!

## Share best practices

At the user groups, customers will have the opportunity to network with their peers, gain insight into technology challenges, share best practices for design & development, as well as get the latest product training/education from Software AG and communicate one-on-one with Software AG experts.

There will be informative, thought-provoking general session presentations and breakout track sessions based on product type.

## Why attend?

There are numerous reasons to attend the North America User Groups! Here are just a few:

- Platform for networking with your peers
- Learn tips and tricks
- Share best practices for design & development
- Gain direct access to Software AG experts
- Access to customer presentations and exchange of experiences
- Opportunity to give input into product changes and enhancement

## Breakout Sessions:

**New York City:**

- Alfabet
- ARIS
- webMethods
- Adabas & Natural

**Chicago:**

- Alfabet
- ARIS
- webMethods

**Register today!**

- New York City: [http://bit.ly/NYC\_UserGroup](http://bit.ly/NYC_UserGroup)
- Chicago: [http://bit.ly/Chicago\_UserGroup](http://bit.ly/Chicago_UserGroup)
Execute Javascript String using setTimeout
Tags: javascript, javascriptstring
Published: 2018-07-11 11:35:25

---
title: Execute Javascript String using setTimeout
published: true
description:  Execute Javascript String using setTimeout
tags: javascript,Javascript String
---
 
 


 
```  

window.sum=0;

window.ExecuteJavascriptString = function()
{
  
    var data = "var a=3;"+
       "var b=4;"+
       "sum=a+b;"+
       "ShowResult()";
    setTimeout(data, 1);
}
ExecuteJavascriptString();  


window.ShowResult = function(){
    console.log(sum);
    alert(sum);
}

 ```
Introduction // Building a Decentralised Blog
Tags: personal, decentralised, blog
Published: 2018-07-11 11:01:38

---
title: Introduction // Building a Decentralised Blog
published: true
description: An introduction to my "personal dev time" this summer
tags: personal, decentralised, blog
---

Before starting my new job at [Tessian](http://tessian.com/) (for which I am very excited), I want to focus on some projects that I've been working on in my free time. I'll be using dev.to to document these endeavours, partly to keep myself sane and partly to get the word out for all the cool stuff I'm making. 

One of these projects is called [journal](https://github.com/lukebarnard1/journal). It's a self-hosted blog application backed by the [Matrix](https://matrix.org) protocol, an open, decentralised, federated messaging system. The idea is that all of the data required to display, discuss and share the blog are stored in a Matrix room. Matrix rooms are federated across the Matrix servers of users participating (writing blogs, commenting) and Matrix has APIs for streaming events to web clients. As such, journal benefits from having a decentralised backend with streamed updates.

I'm currently designing the specifics of how this would work with respect to my chosen requirements. The POC (see the GitHub repository prior to any releases) showed how journal would work in principle and gained a fair amount of interest in the Matrix community. The new design hopes to fix the main problems of the POC and produce something that can be easily run in production with little setup. 

One key requirement missing from the POC was simple sharing of blog articles. Conceptually simple, sharing a URL to a blog post is a standard way to get exposure to multiple audiences on the web, but the POC lacked a way to link to specific articles. 

Another unmet requirement was rendering articles as quickly as a static webpage. At its inception, journal was designed to be a web client that did all networking via Matrix. This, however, does not afford server-side rendering which is necessary for showing articles quickly and showing previews of content on social networking sites and other link-sharing mediums.

I have some interesting thoughts on these, which hopefully will follow in subsequent blogs. Yesterday evening was spent diving head-first into [Next.js](https://nextjs.org) as a potential solution to the above, but I'll hold off on posting the new architecture of journal until I've checked it for sanity.

If you have any comments or queries, feel free to comment.

Follow me for more updates 🚀

Next chapter: https://dev.to/luke/chapter-1--building-a-decentralised-blog-2n8e
If you want to change the world, start off by making your bed
Tags: motivation, life
Published: 2018-07-11 10:34:10

---
title: If you want to change the world, start off by making your bed
published: true
description: A speech from Admiral William McRaven on life and learning
tags: motivation, life
---
I'm reposting for you a great video [Alex Gwartney posted here](https://dev.to/alexgwartney/stop-saying-you-dont-have-time-4la). This retiring Admiral and Navy Seal trainer delivers one of the most inspiring and uplifting speeches you will ever hear. 
{% youtube U6OoCaGsz94 %}