
Sign up to save your podcasts
Or


On today’s episode of JavaScript Jabber, Charles Max Wood and panelist Joe Eames chat with Rebecca Turner, tech lead for NPM, a popular Javascript package manager with the worlds largest software registry. Learn about the newly released NPM 5 including a few of the updated features. Stay tuned!
Rush Limbaugh’s children’s books
Gravity Falls
NPX
Funstream
Twitter @rebeccaorg
On today’s episode of Adventures of Angular we’ve got panelists Ward Bell, Joe Eames, Alicia Michael, John Papa, Charles Max Wood, and our special guest Shayne Boyer. Shayne is a Senior Developer Advocate at Microsoft and on the Azure team. The last time he was on the show was Episode 082 of Adventures in Angular and we talked about getting started with Angular 2. Today we are going to talk a bit about Angular and Azure. Stay tuned.
John Papa’s course on Angular CLI course.
Troy Hunt used Azure functions to fight DDOS attacks article.
Serverless framework. NPM serverless.
Keyvo Smartlock
Azure
My Ruby Story with Charles Max Wood
How did you get into Programming?
Inspired by his Grandfather
Electrical engineering in College
Programming gets more serious
His first job with Ruby on Rails
Shifting into Podcasting
What are you working on now?
Picks
Charles’ Links
My JS Story Justin Meyers
On this week’s episode of My JS Story, Charles Max Wood interviews Justin Meyers Cofounder and CEO of Bitovi, a Javascript consulting firm focused on simplifying Javascript development through the use and creation of open source tools as well general consulting, training, and web applications. He was on Episode 202 and talked about DoneJS and CanJS. Tune in to hear Justin’s full story!
7th Grade and a TI82 [3:02]
Grunt work is good for you. [4:51]
Open Source and reducing waste. [6:23]
The Last desperate gasp. AKA shaving his head. [9:40]
How Javascript MVC came to be. [13:23]
Bitovi begins. [17:24]
Who does the heavy lifting at Bitovi? [20:48]
Exploring HTTP2 and Push. [23:42]
Justin’s side Parsing Project. [28:45]
A way other companies can learn from Bitovi. [29:52]
Picks [34:26]
Justin:
Dean Radcliff’s Antares Framework
Charles:
Boom Beach
Clash of Clans
BlueTick.io
Nimble
Keeping up with Justin’s work.
Bitovi.com’s Blog
Justin’s Twitter.
Sponsors
Cachefly.com
On today’s episode of My Angular Story we have special guest Aaron Frost. This episode might as well be both, a My Angular Story as well as a My Javascript story. Aaron has worked with us on JS Jabber and was a panelist for Adventures in Angular. You also may know him from NG Conf, the original Angular Conference. Stay tune to hear his story!
Before Aaron got involved with Javascript or Angular, he worked as a loan officer, and he wasn’t the best at it. Luckily his job exposed him to small bits of SQL. Aaron goes to say that SQL “was like speaking English”. In 2010 he shifted into development. At the time, most web developers hated Javascript, so anytime they could pin Javascript work on him they would. Aaron loved it.
Aaron decided to go to college to learn programing, mainly as a means to an end. His goal was primarily to get a job. After finding the job, he dropped out of classes. Aaron says that he was confused by why he was still in school considering he had the job and at any rate, Aaron had learned how to teach himself. Between Stack Overflow and podcasts and Youtube, Aaron has all the resources he needed.
Aaron talks about his time working with Kynetx, writing a language called Kynetx Rule Language. Kynetx was a platform where developers could create web browser plugins and it would work across the platforms. Aaron talks about the lack of frameworks then, leaving mainly only jQuery.
In one of the corporations Aaron worked for, they used a framework called Backbone. Five Hundred programmers all prescribed Backbone for their work, but Aaron nudged someone in the stack team to look into Angular. It was a no brainer, Angular allowed to get the job done in much less code. They adopted it and got proficient.
Aaron and Kipp Laurence decided that after they were unable to find an Angular conference to goto online that “Oyee! We should make one!” Reluctantly Aaron agreed and afterwards had someone from Google on board to send a whole team to the conference.
Aaron is a GDE. He talks a bit about what that process what like and how it’s changed. He talks about what Google looks for in a GDE and clears any misconception that a GDE is about people who contribute to the community and are natural evangelists.
Aaron talks about how one of his first projects will always be his favorite. His brother worked in real estate and used a particular website for work. The website had an annoying Captcha that had to be filled out pretty frequently. His brother asked Aaron to attempt to create a way to bypass the Captchas. Aaron talks about how at first he thought it was impossible, but after contemplating using a canvas and some basic calculations, he was able to put together a web browser extension to handle the task. They marketed the tool to others that used the website.
Aaron says that there is a theme that is reoccurring for him. Aaron talks about how often programmers and developers spend their efforts “chasing the pendulum” instead of focusing on solving the issues that the company needs them to solve. Programmers should worry less with how cool their patterns are or if they are using the latest Frameworks, and more about getting the job done.
Aaron’s Twitter
Superpowereds
Nimble
Today's Ruby Rogues podcast features DynamoDB on Rails with Chandan Jhunjhunwal. DynamoDB is a NoSQL database that helps your team solve managing infrastructure issues like setup, costing and maintenance. Take some time to listen and know more about DynamoDB!
[00:02:18] – Introduction to Chandan Jhunjhunwal
Chanchan Jhunjhunwal is an owner of Faodail Technology, which is currently helping many startups for their web and mobile applications. They started from IBM, designing and building scalable mobile and web applications. He mainly worked on C++ and DB2 and later on, worked primarily on Ruby on Rails.
[00:04:05] – Introduction to DynamoDB on Rails
I would say that majority of developers work in PostgreSQL, MySQL or other relational database. On the other hand, Ruby on Rails is picked up by many startup or founder for actually implementing their ideas and bringing them to scalable products. I would say that more than 80% of developers are mostly working on RDBMS databases. For the remaining 20%, their applications need to capture large amounts of data so they go with NoSQL.
In NoSQL, there are plenty of options like MongoDB, Cassandra, or DynamoDB. When using AWS, there’s no provided MongoDB. With Cassandra, it requires a lot of infrastructure setup and costing, and you’ll have to have a team which is kind of maintaining it on a day to day basis. So DynamoDB takes all those pain out of your team and you no longer have to focus on managing the infrastructure.
[00:07:35] – Is it a good idea to start with a regular SQL database and then, switch to NoSQL database or is it better to start with NoSQL database from day one?
It depends on a couple of factors. For many of the applications, they start with RDBMS because they just want to get some access, and probably switch to something like NoSQL. First, you have to watch the incoming data and their capacity. Second is familiarity because most of the developers are more familiar with RDBMS and SQL queries.
For example, you have a feed application, or a messaging application, where you know that there will be a lot of chat happening and you’d expect that you’re going to take a huge number of users. You can accommodate that in RDBMS but I would probably not recommend that.
[00:09:30] Can I use DynamoDB as a caching mechanism or cache store?
I would not say replacement, exactly. On those segments where I could see that there’s a lot of activity happening, I plugged in DynamoDB. The remaining part of the application was handled by RDBMS. In many applications, what I’ve seen is that they have used a combination of them.
[00:13:05] How do you decide if you actually want to use DynamoDB for all the data in your system?
The place where we say that this application is going to be picked from day one is where the number of data which will be coming will increase. It also depends on the development team that you have if they’re familiar with DynamoDB, or any other NoSQL databases.
[00:14:50] Is DynamoDB has document store or do you have of columns?
You can say key value pairs or document stores. The terminologies are just different and the way you design the database. In DynamoDB, you have something like hash key and range key.
[00:22:10] – Why don’t we store images in the database?
I would say that there are better places to store the, which is faster and cheaper. There are better storage like CDN or S3.
Another good reason is that if you want to fetch a proper size of image based on the user devices screen, resizing and all of the stuff inside the database could be cumbersome. You’ll repeat adding different columns where we’ll be storing those different sizes of images.
[00:24:40] – Is there a potentially good reason for NoSQL database as your default go-to data store?
If you have some data, which is complete unstructured, if you try to store back in RDBMS, it will be a pain. If we talk about the kind of media which gets generated in our day to day life, if you try to model them in a relational database, it will be pretty painful and eventually, there will be a time when you don’t know how to create correlations.
[00:28:30] – Horizontally scalable versus vertically scalable
In vertically scalable, when someone posts, we keep adding that at the same table. As we add data to the table, the database size increases (number of rows increases). But in horizontally scalable, we keep different boxes connected via Hadoop or Elastic MapReduce which will process the added data.
[00:30:20] – What does it take to hook up a DynamoDB instance to a Rails app?
We could integrate DynamoDB by using the SDK provided by AWS. I provided steps which I’ve outlined in the blog - how to create different kinds of tables, how to create those indexes, how to create the throughput, etc. We could configure AWS SDK, add the required credential, then we could create different kinds of tables.
[00:33:00] – In terms of scaling, what is the limit for something like PostgreSQL or MySQL, versus DynamoDB?
There’s no scalability limit in DynamoDB, or any other NoSQL solutions.
David Kimura
Jason Swett
Charles Maxwood
Chandan Jhunjhunwal
This episode is live at the Microsoft Build 2017 with Charles Max Wood and AJ O’Neal. We have Wade Anderson and Ramya Rao from the Visual Studio Code Team at Microsoft. Tune in and learn more about what’s new with Visual Studio Code!
[00:01:20] – Introduction to Ramya Rao and Wade Anderson
Ramya Rao and Wade Anderson are in the Visual Studio Code Team at Microsoft.
[00:02:00] – Elevator Pitch for Visual Studio Code
Our vision on Visual Studio Code is to take what was best out of the IDE world (Visual Studio, Eclipse, IntelliJ, etc.) and bring what was best from the lightweight editor world (Sublime Text, Notepad++, Atom) and merge those two together. We wanted the lightweight features from text editors and the debugging capabilities of Visual Studio and Eclipse. We did general availability last year. We’ve been stable for a year. Additionally, this is Visual Studio Code for Mac, Windows, or Linux. It’s also built in Electron.
[00:03:45] – What are your roles on the team? Do you have particular parts that each of you work on?
Wade’s title is a Program Manager. He does more non-developer things but Ramya is an engineer on the team so she gets a lot more coding that Wade does. Everybody has a key area to own but nothing stops them to go into another area. We try to share knowledge between people but we always have that one key owner that you always go to.
Ramya is a recent addition to the team. She started out maintaining the Go extension, maintaining and adding features. She’s slowly branching out to the Emmet features of the product.
[00:05:30] What is Emmet?
Emmet, or Zen Coding, is a must-have tool for you. You can write, say abbreviations and that expands to really huge HTML to update tags, rename tags, etc. That is one of the features of Emmet and Sergey actually wrote the library. We have an in built integration in the product. I [Ramya] am currently working on that.
[00:06:28] Does Visual Studio Code make it easy to go to the parts that I need to customize on an HTML?
In that case, we have a multi-cursor software in Visual Studio Code, as well. You could place your cursor in different positions, and then, simultaneously edit things.
[00:07:42] Is Emmet an extension or does it come with Visual Studio Code?
Right now, it’s in Built. If you want to know more about Emmet features, you can to emmet.io. That has all the documentation that you need to learn about Emmet features. In Visual Studio Code right now, we’re looking at making into an extension. We pull it out of the main code and maybe more people can contribute and make it even more better.
[00:08:21] – What’s new in Visual Studio Code?
One of our main pillars for this year is to improve performance of the product. We’ve grown a larger team so we’re adding a lot more features every month. Last few months has been, “How can we get some stability on the issues coming in while making sure we’re reducing our tech load?” We really keep to those core principles that we started with at the beginning, which was, we want a fast, lightweight editor.
We built a few extensions that we call key map extensions. They are just a mapping of key bindings that you learned in Sublime Text. You don’t have to re-learn any key bindings in Visual Studio Code.
We also build this Welcome page where you can flip through and see features really briefly. In that Welcome page, one of the key things is an interactive playground where you can play with existing code in different sections. Additionally, as we’ve mentioned, we also put multi-cursor features.
Another thing is workbench naming. You can change the theme of Visual Studio Code but it will be restricted to the editor and not the rest of the workbench.
[00:13:40] – Do you know how Xterm.js works as it was one of the features that you’ve added in Visual Studio Code?
Daniel’s another engineer that’s here with us today. He was the largest contributor to the Xterm.js project. He built the integrated terminal for Visual Studio code so I can’t speak to the internals of how that works.
[00:14:12] – Are we going to start seeing Visual Studio Code integrated into web experiences with other Microsoft products?
That’s actually where we started. We were Monaco editor where you get this cloud-based editing experience. We’re getting people to use it but we’re only getting people who were already using Microsoft products. When electron came out, we saw an opportunity of, “Hey, can we port this Monaco editor to Electron and we could then, run it on Mac and Linux.”
[00:19:45] – What are the performance things that you’ve done?
One thing that we did recently was adding an ability to calculate the start time for Visual Studio Code? That’s one of our full steps to get more information from the user-side. How can you get a profile of what things are running? Which part of the process took much time?
We also need to identify what are the things people are doing that’s causing the editor slow down. An example is when you open a large file and things get laggy.
Another exercise we did was we looked at all of our extension API’s to see which one of those could be a malicious extension.
The difference between VS Code and Atom is that, we ask questions like, “Are we using good data structures? Are we managing our memory properly? Are we removing stuff we don’t need anymore?” That just comes down to all those little things you learn from basic textbooks that have been around for decades about how to write good code. That’s what we have been doing and that’s what we’ll continue to try to do, to try and improve the performance.
[00:25:55] – Do you have problem on the desktop? Are all the modules just load at once?
We definitely don’t load everything at once. Different parts of the editor is loaded differently. When you do the Require, we don’t do it at first load. We do it when we notice that the user wants to use Emmet. We don’t try to load all the library at the beginning and delay the whole process.
We try to lazy load as much as possible, even the extensions. We have a separate process called extension host that takes care of loading all the extensions. Whether the extensions are completed loading or not, that does not stop you from typing in a file. Simple actions shouldn’t be bugged down by fancy actions.
[00:28:25] – What’s coming next for Visual Studio Code?
Every month, when we plan our iteration, we create iteration draft plan. We put it out there for people to see. Performance and helping people get started are probably the top two for us. You can look at github.com/Microsoft/vscode, look for the label ‘iteration plan draft.’ So that’s the current work that we’re doing that month.
Another feature is the multi-root workspace where you can open multiple folders. When you look at the issues and sort by most comments, multi-root is the number one. The second one that is little paper cuts around formatting and auto-intending – just things that make your code prettier.
AJ O’neal
Charles Max Wood
Wade Anderson
Ramya Rao
Charles Max Wood and Burke Holland discuss Kendo UI. Burke Holland is on the Developer Tools Division at Progress. The discussion ranges from the introduction of Kendo UI to tests used for Angular apps. Stay tuned to discover what Kendo UI can do for you!
[00:01:50] Shutout for Angular Remote Conf
Charles will be picking speakers really soon so get your ticket at the early bird price.
[00:02:15] – Introduction to Burke Holland
Burke Holland is working for Progress in the Developer Tools Division on the Developer Relations Team. They work on products like NativeScript, KendoUI and all the developer tools that Progress makes, which is mostly UI components and mobile frameworks
Questions for Burke Holland
[00:03:00] – What is Kendo UI?
Kendo UI is a Javascript UI library. It has open source components (Kendo UI Core), but it’s primarily commercial. It’s more on heavy lifting text scenarios like grid that has sorting and filtering, drag and drop, grouping, scheduler, robust calendar interface, pivot grids, Gantt charts, data visualizations. We’ve rebuilt Kendo UI from the ground up using Angular components. It’s the Kendo UI Core Angular that was released last January.
[00:08:00] – How are Kendo UI elements pulled for use into an app?
There’s a private npm repo that you would just pull in and bundle some of the widgets together. Inputs can be a drop down list, a combo box, autocomplete, etc. Using npm and install -@progress/kendo-angular-input, you get all of those inside your npm modules folder. We and the team are pushing to move to the public npm repo so that people don’t have to register for an account.
[00:13:00] What about mobile development? Does this work with NativeScript?
Kendo UI widgets do not work inside of NativeScript for mobile apps. However, we are looking for a possibility of merging their NativeScript UI library with Kendo UI so that you can build a website, a progressive web app, a NativeScript app, etc.
[00:16:00] Do you also have to pull in some CSS?
Kendo UI has their own CSS that is based on Sass. It has a theme builder to customize themes that you can pre-select from. Integration for Bootstrap 4 was also built because Kendo UI does not have a layout system so it doesn’t provide you with any grid system for layouts or for responsive design.
[00:19:00] Do you just import it into my app and then use the components, is it that simple?
It is recommended to use Angular CLI to use Kendo UI’s components and import it into an app. First step is to create a new project with the Angular CLI because Kendo UI is designed to work with it. You can work with SystemJS, instead, but it requires some tweaking. Next, you would need to add the private npm repo which registers the end point on the terminal. And then, npm-install to install the components. After that, you can include them in your app module file. Import Kendo grid from @progress/kendo-angular-grid. Then, you can import them into your module so you use it in your templates.
[00:23:00] – Can I tie a chart to a grid, update the chart and have the grid change?
Everything that Angular updates, Kendo UI just updates too. If you buy two components to the same array and you update that array, both of those components are going to update because they’re using Angular’s binding.
[00:24:00] – Does Kendo UI work with the older versions of Angular?
Kendo UI works with Angular 1.x. By the way, AngularJS means Angular 1.x. Meanwhile, Angular means Angular 2 and up. Directives for Angular 1.x wrap Kendo UI components.
[00:28:00] – When moving my component in AngularJS to Modern Angular, do I have to include both of those in the product?
I can’t provide any guidance here, other than I wouldn’t do that. If you migrate, you’re going to be firing up a new project but you should be able to move your application logic over pretty well. However, we still have this idea of services and injection and those things are transferable. And then, when you use Kendo UI components, the only thing that’s really transferable there is the configuration settings.
[00:29:00] – How do you write tests if you’re testing Angular app? Are there other things that you should be testing?
That would mean there’s some sort of functional testing and unit testing. If we’re talking about unit testing, you should just test the way that you would normally test Angular. For functional test, you need a functional testing tool like Selenium or Test Studio.
[00:30:00] – Is there anything else that people need to know about Kendo UI?
We’ve got a lot of other components coming so stay tuned on that. We’re also working on some React stuff. We always love to get feedback. We have a github repo.
Burke Holland:
Charles Max Wood:
We crash Microsoft Build and discuss everything from how Adam got into programming, to what React Native tooling Ryan and his team are working on at Microsoft and much much more!