Devchat.tv Episode Roundup

Devchat.tv Episode Roundup

Download on the App Store

All Devchat.tv Episode Roundup episodes

  • JSJ 271: SharePoint Extensions in JavaScript with Mike Ammerlaan and Vesa Juvonen
    JSJ 271: SharePoint Extensions in JavaScript with Mike Ammerlaan and Vesa Juvonen

    This episode is a live episode from Microsoft Build where AJ O'Neal and Charles Max Wood interview Mike Ammerlaan and Vesa Juvonent about building extensions for SharePoint with JavaScript.

    [00:01:28] Mike Ammerlaan introduction

    Mike has worked at Microsoft for a long time on multiple Microsoft products and projects. He's currently on the Office Ecosystem Marketing Team.

    [00:01:52] Vesa Juvonen introduction

    Ves a is Senior Program Manager for the SharePoint Splat team. He's been with Microsoft for about 11 years and manages the community and documentation for the SharePoint framework.

    [00:02:18] What is the SharePoint Framework?

    This is how you write SharePoint extensions with JavaScript. SharePoint has changed. It now works with common modern development tools and web development techniques. SharePoint consolodates the extension effort

    [00:03:32] What is SharePoint?

    File sharing, team sites, communication points for teams. Part of Office 365. You use Web Parts to add functionality to SharePoint. Web Parts provide functionality like widgets and are scoped to a team, group, or set of users. It's usually hosted on premises, but you can also use it with Office 365 as a hosted solution.

    [00:05:56] What extensions can you build for SharePoint?

    You can build widgets for your front page or intranet. You can also add user management or data management or document management.

    Examples:

    • Dashboards
    • Mini Applications
    • Scheduling and Time Tracking
    • Document Storage
    • Source code repositories
    • [00:07:39] What is WebDAV and how does it relate?

      WebDAV is a protocol for accessing documents and SharePoint supports it among other protocols for managing documents.

      [00:08:36] Do I have to build front-end and back-end components to get full functionality?

      You can build the front-end UI with Angular and other frameworks. And then build a service in Azure on the backend. The backend systems can then access Line of Business systems or other data systems.

      It really does take multiple skill sets to build extensions for SharePoint.

      [00:11:10] SharePoint on Mobile

      There is a mobile web app and the Web Parts work through the mobile application. You can also use any browser to connect to the application.

      [00:12:08] Building extensions with standard Angular or React component libraries

      There are standard Yeoman templates. You can also pull in the components through React or Angular just like what Microsoft does.

      Newer Angular versions are designed for Single Page Apps and SharePoint isn't necessarily set up to work that way. The Web Parts are isolated from each other and Angular requires some workarounds.

      [00:14:30] Getting around sandboxing

      Google and Microsoft are talking to each other to see how to work around this when there are multiple sandboxed applications that can't talk to each other in very simple ways.

      [00:15:39] Application library or naming collisions if my UI uses different versions or clobber page wide settings

      There are guides for a lot of this. React does a bunch of the isolation work.

      Addons are iframed in and an API token is given to grant access to the data and APIs.

      Microsoft also reviews and approves plugins.

      [00:18:30] How do you get started and make money at this?

      Look at the SharePoint store. You can build things through websites and pages and offer the plugins through the store.

      You can request a SharePoint tenant installation from the Microsoft Dev Tools for free. Then you can build into the tenant site. The rest of the tools are available on npm.

      SharePoint Developer Tools

      [00:22:13] Automated testing for SharePoint extensions

      Unit testing is built in for JavaScript. Testing the UI's require you to sign into Office 365. There are people doing it, though.

      [00:22:54] Building internal-only extensions

      SharePoint is an enterprise tool, so a lot of enterprises may not want to install extensions from the store. You can definitely build and install private plugins for SharePoint setups. They also have their own backend systems that will require custom development.

      [00:25:50] Office 365, SharePoint, and OneDrive

      Office 365 is used by people across many different sized organizations and SharePoint is much more enterprise. Office 365 tools store files and information in SharePoint.

      What about OneDrive versus Sharepoint? OneDrive is focused for one person. SharePoint is focused around a team. But they have the same APIs and use the same technology stack.

      [00:29:05] The history and future of SharePoint

      It started out on premises and has moved to the cloud. The SharePoint team is working to keep it available and useful in the modern cloud based era.

      [00:30:25] What does the API footprint look like?

      It spans modifying lists, data objects, attributes, items in a list, put Web Parts on a page, modify the experience, and manage and modify access, users, and documents. SharePoint is a way of building a way of conveying information.

      SharePoint is layers of data and scopes.

      [00:35:26] Tutorials and Open Source

      dev.office.com
      The Sharepoint framework is not open source yet, but they're working on that. They also need to open source the Yeoman templates.
      Open source samples are available at github.com/sharepoint.

      Picks

      Charles Max Wood

      • BlueTick
      • Zapier
      • ScheduleOnce
      • Moo.com
      • Advice: Take the time to go talk to people.
      • Vesa adds that you should go to a session that's on something completely outside your experience.

        AJ O'Neal

        • The Circle
        • Spontaneity/Happiness: AJ tells a story about a woman he saw running through sprinklers.
        • Oh the places you'll go by Dr. Seuss: AJ talks about a journal entry he read at a yard sale.
        • Mike Ammerlaan

          • Super hot VR on Oculus Rift
          • Vesa Juvonen

            • Family
            • A big thanks to Microsoft, DotNetRocks, and Build!

              54 min
            • AiA 149: Angular, Web Bluetooth, and IoT with Uri Shaked
              AiA 149: Angular, Web Bluetooth, and IoT with Uri Shaked

              In this episode, Shai Reznik, Ward Bell, Lukas Ruebbelke, and Charles Max Wood talk to Uri Shaked about using Angular with Web Bluetooth and IoT.

              [00:02:27] – Introduction to Uri Shaked

              Uri is an Angular GDE from Israel. His Angular Story episode is here.

              [00:03:21] – Introduction to Hardware with Angular

              Angular allows you to build web applications that scale quickly. For hardware devices, you need some kind of interface. Instead of a button, you have a mobile app or web application. This is one place where Angular comes into play. Building control panels, etc.

              You can do this with pure JavaScript or native mobile apps as well.

              [00:05:20] – Does it run on the IoT device? or on the web?

              It can do both. You can run Angular on a webserver on a Raspberry Pi or you can use Web Bluetooth to connect to the IoT device.

              [00:06:45] – What are the advantages of using web technologies?

              There's no hardware setup. And using Angular Material or Ionic, the UI looks right without spending a ton of time.

              RxJS allows you to gather sensor data from accelerometers, heart rate monitors, etc. connected via bluetooth.

              [00:09:20] – The physical web

              An IoT device that broadcasts its own URL. You can then interface with the device simply by scanning for and browsing to the device. One example is walking into a room, scanning, and then controlling the lights without installing an app.

              [00:10:34] – Security

              Security is optional on Bluetooth Low Energy. Bluetooth devices used to pair using pin codes and they got set to 0000 or 1234 by default. So now BLE devices don't require it. Some devices add security on top of bluetooth or use the pairing mechanism.

              Security is an ongoing concern with IoT in general. The devices that Uri has played with don't implement security.

              Uri actually had an audience member hack into the smart bulb he was using during a demo.

              [00:15:08] – How do you manage your connection to the device through Angular?

              Uri uses async/await to manage the promises based functions that allow you to connect to the device. He wraps all of this in a service.

              The bluetooth terminology used for the functions that manage the device are also called services. Don't get them confused.

              [00:16:48] – What's the most useful thing you can do with this?

              Connecting to an EEG headset that measures brainwaves. Uri wants to allow headset owners to perform EEG experiments in the browser. Otherwise, they have to set up a bluetooth dongle and install python and some libraries to make it work. He'd like to make it simple enough to browse to a webpage and click "Connect."

              He'd like to show the user pictures and then guess which one you're looking at.

              [00:19:58] – What is the most useless thing you've build with this?

              Uri 3D-printed a robot and installed an accelerometer into it and connected it to a WebGL based system to show the orientation of the robot.

              [00:22:32] – How do you get started?

              You need a browser and a bluetooth device. A smart lightbulb or a robot. You can use your smartphone to simulate a bluetooth device. Uri wrote an Android app that simulates a smart light bulb. Then you can connect the app to your computer's browser and control the smart bulb app from your computer.

              [00:25:00] – Ward has a proposal for Uri

              Connect lights in your t-shirt to an arduino device and control it from your phone. 

              Web Bluetooth is much simpler than native APIs for Android or iOS.

              [00:29:45] – Commercial applications

              Physical web applications and connecting to remote tools and sensors.

              Smart counters for your electric meter.

              Jen Looper's blog post on web bluetooth and beacons.

              The Louvre uses beacons.

              [00:33:00] – The physical web

              Uri ran a beacon that broadcast his personal site. He took his trash out and one of his neighbors kept getting a notification about his website on his phone.

              Picks

              Lukas Ruebbelke

              • Antifragile
              • Chef's Table on Netflix
              • Shai Reznik

                • 59 Seconds
                • Volunteering - Ari Lerner teaching prisoners to code
                • Ward Bell

                  • The "other" Uri Shaked
                  • Smart Coffee Machine
                  • YouTube video on telling if someone is lying
                  • Uri Shaked

                    • Ward's yet-to-be-made shirt
                    • AngularUP Conference
                    • WebAssembly
                    • Charles Max Wood

                      • Data Skeptic podcast
                      • Links

                        • @urishaked
                        • urish.org
                        • 42 min
                        • RR 320 Shrine and File Uploads with Janko Mahronic
                          RR 320: Shrine and File Uploads with Janko Mahronic

                          Jerome Hardaway, Dave Kimura, and Charles Max Wood discuss Shrine with Janko Mahronic on this episode of Ruby Rogues. Janko is a Ruby developer. He is the creator of Shrine, which handles file uploads. Shrine tries to solve existing problems and gives many ways to upload files. It tries to accommodate and provide every option for whichever types of file you may be uploading. Tune in to find out more about Shrine!

                          Questions

                          [00:03:56] What does Shrine do that CarrierWave doesn’t do?

                          One of the main reasons Shrine was created was to support background jobs. CarrierWave was missing support for background jobs. There is a CarrierWave extension for uploading in back-end but it doesn’t work reliably. It doesn’t delete files in the background and is missing the ability to have stable basic grounding capability. Shrine was created because of this reason.

                          [00:06:06] Does Shrine have good support for Rails?

                          Yes, you can hook up any backgrounding library. It has a designed interface in the way that Shrine can realize data for you. Shrine can call the background library directly. It can be an active job or custom background library. Inside the job, call Shine again to load all objects back up to finish the job.

                          [00:07:40] Does Shrine work across multiple file types or is it geared towards images?

                          Shrine works for any types of files. It is called the Ruby method. It can be implemented in any way you want. It has a functional style. You give the original file for the input and then move it to the processed files on the outputs. The processing can be anything: as long as you produce a file object on the output, you can call whatever you want to call, even an external service.

                          [00:09:04] What’s the biggest file that you’ve tested Shrine with? Have you run into any kind of memory leaks?

                          In Shrine nothing is done through memory, everything is done via streaming. When you’re streaming you don’t lose anything. It works for both small and large files.

                          [00:11:48] Explain what goes into building a file upload system. What are the concerns?

                          The framework handles the way the file is uploaded for you. Once the file is uploaded it’s stored into a temporary file. A gem handles most of the heavy work. Shrine makes a wrap around it. A lot of work goes into deciding which file attraction process needs to go in which order. It is important that you don’t upload in a data based transaction (?) 14:41 if processing lasts for longer time, whole time. There is a lot of time and decisions about what to do when.

                          [00:15:10] Do you have any blog posts about a migration plan? Do you have a good way to switch to Shrine?

                          Yes, Janko wrote migration guides. They include what codes you need to have to transition to Shrine. None of them involve re-uploading file because files are already there, they just need to be assigned ids. Then records can be updated with the file in a way that Shrine would be able to find them, just need to do record updates.

                          [00:17:29] What do you think active storage will do to the future of Shrine?

                          Janko may not be the best person to ask. He created Shrine for people who are not using Rails. It is difficult to tell at this point what active storage will do for the future of Shrine.

                          [00:19:50] How is the community adoption implementation? What is your process with that?

                          There is a Google group for people to ask questions. The setup doesn’t look that much different. Adoption is more that Janko tries to write a lot of blog post emphasizing some of the things that are better in Shrine. Most of the adoption started from the Go Rails screencast. When the author started to release videos. People were able to see what it looks like from start to finish. Go Rails is a great way to bring a library closer to a wide population.

                          [00:23:26] What stack are you using?

                          The preferred web framework is Roda and Sequel.

                          [00:25:00] Is there anything out there that you feel that these uploading that you adding to Shrine?

                          He feels like there is integration missing, which would be nice to have but he started working on he already knew what he wanted Shrine to support up front. Most of those features were added in the first and second release of Shrine. People won’t find on demand processing in Shrine because he decided not to add that.

                          [00:29:54] Security Points of Shrine

                          Uploads have to be authenticated. If a file is uploaded to a URL another person should not be able to review that file. If you want to authenticate files, you need to serve the files from your Rail set.

                          [00:32:55] How much time have you spent doing Shrine?

                          Two years.

                          Picks:

                          Dave:

                          Wallabag: https://wallabag.org/en

                          Charles:

                          Stair Points
                          Skil Saw: http://www.amazon.com/dp/B0731Q92BY/?tag=chamaxwoo-20

                          Janko:

                          Event Machine: http://www.rubyeventmachine.com/

                          Links:

                          GitHub: https://github.com/janko-m

                          Twitter: https://twitter.com/jankomarohnic?lang=en

                          44 min
                        • iPS 207 White Label Apps
                          iPS 207 White Label Apps

                          On this episode on iPhreaks, we have panelists Guilherme Rambo, Erica Sadun, and Jaim Zuber talk about White Label Apps, its technical challenges, and its advantages over web apps, etc. Don't miss this one!

                          [00:01:10] – Introduction to White Label Apps

                          This is an app that you built at one time but you skin different things for different customers. There are a lot of customers around that will build an app but they got different versions of the app that they distribute on behalf of their customers. Your controls have a lot of the same behavior in your app but the color is different, the icons are different, maybe there’s text difference.

                          [00:03:50] – Pre-built components

                          This kind of notion of pre-built components has been in the development arena, specifically, in Apple’s ecosystem for a very long time. When the app store first started, you could buy custom widgets, custom controls, and custom art.

                           [00:06:10] – Customization

                          Most of the companies have a very limited ability to customize. You can start up with things like changing the name of the app. You can change the icon. You can change the color scheme. You can change some text. You just solve the problem the user is going to deal with.

                          [00:12:35] – Technical challenges

                          For Erica, one of the biggest issues is going to be the customer ticketing process on tracking or the customer service process. Typically they’re calling the end owner of the app, which is not a very good solution. And you also have to support the businesses because those businesses have to support their customers.

                          [00:16:10] – Corporate Entity

                          If you are selling your apps to small realtors, you'll probably just manage everything yourself. You’ll do certificates, customer profiles. You’ll host it under your own app ID. But if you sell to bigger organizations, they might have their own Apple ID and want to keep it under their roof with their own Apple account. You need things like getting your own certificate with their Apple ID, getting provision profile, creating the app ID, going to iTunes connect and doing the same thing.

                          [00:22:15] – If-def approach

                          Typically what happens in most companies is your team leader goes, “Hey, we could sign a new customer. Let’s make the app. Let’s rebrand it. Let’s white label it.” The developers will shrug off their shoulders and say, “I don’t know how to do this so I’ll do something like creating an if-def for different texts.” That’s going to be a problem. But this is where a lot of people start.

                          [00:25:40] – Interface file approach

                          One approach is you could create your own tool to customize the apps. They are all the same app but there is one internal configuration file or database or whatever is different between them.

                          Developers run into problems on finding ways to build internal tool that will reach their configuration file and modify the app as needed. Most of the companies that have a mature platform they can just drop the configuration file and build a list of file that describes where the images are, what the texts are if they have any features that are turned on or off. Most companies can build a configuration file because they’ve narrowed down what problems they’re going to solve.

                          [00:35:30] – Saturation of apps

                          There has been a push back in apps. We got to a point where a lot of companies build apps that no one cared about. No one downloaded them. If they download them, they didn’t use them more than once. People can make a smarter decision if they really need an app. They’re not going to download the apps for every business out there. If you are running a business and have loyal customers, you can get them to order easily with their app by first calling in. That might work in some cases or you can be making an app for more than just one pizza place.

                          [00:40:35] – White label components vs. websites

                          Web sites are not going to do push notifications so if you need to get a hold of people or notify them of something important, you need to get them to order an app. Their user experience is going to be better. But there’s a lot of benefits for something that you don’t use very often for making a web app because web apps work on every platform. Anytime that you can take advantage of the specific hardware features like 3D Touch or Touch ID, you need an app because you can’t use them on the web yet. The Touch ID is also great for apps that need some level of security like a banking app.

                          Picks

                          Erica Sadun

                          • Guardians of the Galaxy 2
                          • Gee Rambo

                            • Stranger Things
                            • Jaim Zuber

                              • Turnpike Troubadours
                              • 53 min
                              • 256 FS Boundaries with Clients
                                FS 256 Boundaries with Clients

                                Today’s episode features a discussion centered on Boundaries with Clients. Philip, Jonathan, and Curtis explore how you set these boundaries for yourself. Tune in to find out what they have to say!

                                What boundaries do you have with clients?

                                Jonathan keeps Thursdays completely free to do things he enjoys even if they are concerning work. Curtis only does calls on Tuesdays.

                                Why have boundaries?

                                It eliminates and helps make decisions. For example, if a new client can’t do a call on Tuesday then Curtis knows he can’t work with them because they won’t be a good fit for each other. It protects the ability to get stuff done. If you have a do not disturb mode on your phone turned on, you can tune texts out from everyone and only receive important phone calls. A good book to read on the subject is Boundaries by Dr. Henry McCloud. When people want to schedule things, have to make sure it fits into your schedule. If it is an emergency you can make adjustments.

                                “You should be comfortable with saying no without a justification.”

                                Sometimes you can’t come up with a justification for saying no, so you just say yes. Philip’s life goal is to get to the point where you can say no without having a reason. If you have trouble saying no it’s always good to have an external reason why.

                                Problems with boundaries

                                Family and work life can be a hard balance. Part of putting family first is providing for them. Freelancers can easily become overwhelmed by work if they do not set boundaries. Because of your clients out number family, demands are made continually and you feel you have to comply because work is by the hour. Some say “I am putting family first by working.”

                                It is easy to draw boundaries if there’s no cost or personal trade off associated with it. If you wouldn’t give up anything by having a boundary, there’s no reason to make one. If something is not a temptation resisting it doesn’t make you a virtuous person.

                                It is harder to say no to people the closer they are to you. It is harder to say no to a long-term client than a prospective client. Jonathan doesn’t have a harder time saying no to clients than family or friends. This is because he only works with people he likes. If you don’t control your life, someone else will. People will put demands on your life until you don’t have any time left.

                                Goals

                                The goal for clients should be to produce the best product you can for them. In order to do so, you have to work within boundaries. Clients should understand your schedule; if they do they will rework theirs if you will be most productive for them at a certain time. It is obvious if you’re overworked. If this happens you need to say no, force yourself to be more intentional with your time, and slow down.

                                Discipline

                                Boundaries can look like discipline. Mostly need to discipline yourself: have to be careful with the schedule that you create, including at home. There is a need to be conscious enough to know the warning signs of needing more discipline. For some, twitter is a warning sign. Discipline can look like deleting twitter off of your phone.

                                Productivity

                                A lack of discipline in fear response is business but not productivity. This happens when you feel like you need to do something but are not doing anything productive. When this happens you need to do something more effective. This could mean you need to stop having coffee meetings with people if it’s not working. Email and social media make you look like you’re doing something but it’s not a good use of time. There’s a difference between effective and productive work. Effective work shows you did something. It distracts you from work you should be doing.

                                It takes time to learn discipline and boundaries. You should have a long-term vision of where you are going. There are other blueprints out there but someone else’s blueprints are not going to work for you.

                                Picks

                                Jonathan
                                https://www.satchel-page.com/products/mailbag

                                Curtis

                                Boundaries: https://curtismchale.ca/recommends/boundaries/
                                Deep Work: https://curtismchale.ca/recommends/deep-work/

                                Philip

                                Send a handwritten card to somebody and watch them be blown away!

                                1 hr 3 min
                              • MRS 012 My Ruby Story Simon Moro
                                MRS: 012 Simon Moro

                                This episode is a My Ruby Story with Simon Moro. Simon is an Australian record producer and mixer. He has been teaching himself Ruby for the last 18 months, Rails framework, and is a frustrated aspiring entrepreneur. Through negative experiences with outsourcing and finding tech co-founders, he wanted to empower and educate himself.

                                How did you get into programming?

                                He remembers that the first computer in his home was actually called a dinosaur. His first experience with a computer made him intrigued. He was a lot of gaming consoles when he was young. Personally liked Sega and his best friend liked Nintendo. It was like an early Apple vs. Android rivalry.

                                He was introduced to visual basic in an InfoTech class in high school. His high school didn’t have a strong tech department so it was a very simple class. There was a button that you would click which would display a dialogue box with a calculator. He was fascinated by the way you could write instructions. He had always been full of ideas. The idea that you could create a digital product just by writing text fascinated him. He started borrowing books from the library and even bought a few. He tried to teach himself.

                                When he got older he used HTML and found WordPress useful as a music programmer and for the digital products he created. It wasn’t until 18 months ago that he thought he would try to learn a language and build something.

                                Connection Between Music and Programming

                                There are a lot of programmers that are also musicians. People don’t often acknowledge that there is creativity in code. Music and code may be appealing to people for the same reasons: because there is both science and creativity in both areas. Music is about agreements within a culture. Musicians agree that certain notes blended with each other either do or do not work. This is how they program symphonies and refactor sheet music to make it easier to read. Music is a process of solving problems creatively using a structure where if you go outside of that structure it won’t work. This is similar to front-end frameworks. In musical theory a lot of things are mathematical. There is a science of music and what makes it sound good. This is foundational in the same way math is the foundation in computer science.

                                Did you start programming in WordPress or did your interest in programming come from something else?

                                Simon did little in WordPress in terms of learning to program. He delved into CSS and changed themes using Envarto. He outsourced those tweaks to people from freelancing websites. He did try to learn PHP for his wife’s product but realized he didn’t do it correctly.

                                He was involved in Melbourne startup world and heard about Ruby on Rails through that. He researched it after he heard about it and read about the philosophy behind it. He raised capital to build a product production management tool for music producers. He built it in Ruby on Rails, and a company in Deli built that for him. He had to fire them and start again.

                                Because he’d been exposed to it, decided he’d delve into it and teach himself because if he’d started his learning at the same time he’d hired the company he could have taken over once he fired that company. He tells people that they can teach themselves if they have time and has people they can ask for help if they get stuck.

                                Are you building the mbp for your own product?

                                Simon built it himself. He had found a tech co-founder 18 months ago but it went south. Five weeks ago he finally decided to do it himself. He focused on one particular feature for receiving client feedback on a work in progress for music. A band that’s sending demos to each other can upload a song and add comments of change requests within the site.

                                How did you come to Ruby? What was it about Ruby and how did you find it that made you decide to want to do this type of work in Ruby as opposed to PHP or something else?

                                Simon started reading the philosophy around Ruby; then looked at the code. He thought the Ruby language and the Rails code made sense compared to PHP. He believed that PHP had too much code. He also likes the elegance of Ruby and the Rails framework, the organization, and the syntax.

                                What kinds of things have you done with Ruby? Is this your first and only product/project? Have you done other things? Ways to learn?

                                He believes that the way he is learning is most useful to beginners. The first thing that he did is to jump into a Ruby on Rails course through Treehouse. He found it confusing but he completed the course. A friend told him he thought it’d be helpful to learn Ruby through lynda.com. After that, he could separate Rails and Ruby. He started making quick prototypes to help learn and putting together budgets for projects apps, which he used for himself.

                                Do you find that the courses were enough or did you have to find groups of people who were coding or find a mentor?

                                It has helped by having people he could reach out to. He hasn’t had formal meetings with mentors. He had a problem with Track Bits and his friend Rahj helped find a solution to a problem one day. He has had moments where he’s been stuck like that and had someone help him. It is difficult to know what questions to ask Google to get the answers. Having someone to point the things out he doesn’t know that he doesn’t know is helpful.

                                What was it that made you get to the point that you said, “I’m pretty comfortable with this, and I think I can do a good job with it.”

                                He graduated from audio production in 2000. He has generally been the opposite of confident. He always assumes that he can always learn more, when he started out he was more confident than he is now in his craft. He now knows how important his role is in his client’s potential for connecting with an audience and his client’s potential for going further in their career. When he was younger he thought he could do things because he was trained so he could do things.

                                Picks

                                Simon:

                                • Kevin Skoglund Lynda.com https://www.lynda.com/Ruby-training-tutorials/303-0.html
                                • Official documentation: http://ruby-doc.org/
                                • Cycling
                                • Zwift: www.zwift.com
                                • Charles:

                                  • Envarto: www.envato.com
                                  • Free Music Archive: www.freemusicarchive.org
                                  • YouTube: www.youtube.com
                                  • Links:

                                    • Track Bits: www.trackbits.com
                                      •  
                                      • 39 min
                                      • MJS #026 Chris Coyier
                                        MJS 026 Chris Coyier

                                        This week’s episode is a My JavaScript Story with Chris Coyier. He is from the ShopTalk Show and CodePen. Listen to learn more about Chris!

                                        How did you get started programming?

                                        Chris has an atypical story. good time in life. He is from a small town in Madison, Wisconsin and had a very privileged upbringing. He went to a nice high school that had a programming elective in his high school. He took a class that taught Turbo Pascal and loved it. He had a lot of fun doing it and became set on doing it in college.

                                        How do you go from that to professional web developer?

                                        Have to give up on it first. He almost got a degree in university management computer systems, which was more management focused than programming focused. He tried and gave up on Java. He then tried graphic design and ended up getting a degree in that. He got into digital prepress at print jobs where he designed documents. It was fun but it was not as fun as being a “real programmer” would be in his mind. He then got a job at an agency doing web developer work. During this time JavaScript was not on his radar.

                                        How do you get from front-end work to building something like CodePen and starting a front-end podcast?

                                        He has made his career his hobby. He loves doing this stuff. When he was building websites for the first time he started CSS tricks. It became really fun. He grew it over ten years. Because it’s his career and hobby he got better over time. All of his time was spent helping friends, writing, or at conferences. He then decided to build CodePen with some of his friends.

                                        What are you working on these days?

                                        Chris wants to be careful not to be working on too many things at once. His top priority is CodePen, which he says is hard to keep up with what developers want there. The second priority is CSS tricks. He likes to publish quality articles for people to read. This third priority is his podcast.

                                        What’s the thing you’ve done that you’re the proudest of?

                                        CodePen is what has been so continually rewarding. This last month he is all money accounted for. He is really proud of CodePen because they made a company from nothing. He and his coworkers have made the podcast over a decade of growing an audience and it feels entrepreneurial.

                                        Charles’ most proud thing is the decision to go full time with his podcast for the last year and a half.

                                        Picks

                                        Chris:

                                        • CodePen https://codepen.io/
                                        • ShopTalk www.shoptalkshow.com
                                        • Alien Covenant http://www.alien-covenant.com/
                                        • Charles:

                                          • www.getacoderjob.com
                                          • React Native www.reactnative.com
                                          • www.gocd.org
                                          • JS Dev Summit https://jsdevsummit.com/
                                          • Links

                                            • GitHub https://github.com/chriscoyier
                                            • Twitter https://twitter.com/chriscoyier
                                            • https://chriscoyier.net/
                                            • 43 min
                                            • RR 319 Machine Learning with Tyler Renelle
                                              RR 319 Machine Learning with Tyler Renelle

                                              This episode of the Ruby Rogues Panel features panelists Charles Max Wood and Dave Kimura. Tyler Renelle, who stops by to talk about machine learning, joins them as a guest. Tyler is the first guest to talk on Adventures in Angular, JavaScript Jabber, and Ruby Rogues. Tune in to find out more about Tyler and machine learning!

                                              What is machine learning?

                                              Machine learning is a different concept than programmers are used to.

                                              There are three phases in computing technology.

                                              • First phase – building computers in the first place but it was hard coded onto the physical computing machinery
                                              • Second phase – programmable computers. Where you can reprogram your computer to do anything. This is the phase where programmers fall.
                                              • Third phase – machine learning falls under this phase.
                                              • Machine learning is where the computer programs itself to do something. You give the computer a measurement of how it’s doing based on data and it trains itself and learns how to do the task. It is beginning to get a lot of press and become more popular. This is because it is becoming a lot more capable by way of deep learning.

                                                AI – Artificial Intelligence

                                                Machine learning is a sub field of artificial intelligence. AI is an overarching field of the computer simulating intelligence. Machine learning has become less and less a sub field over time and more a majority of AI. Now we can apply machine learning to vision, speech processing, planning, knowledge representation. This is fast taking over AI. People are beginning to consider the terms artificial intelligence and machine learning synonymous.

                                                Self-driving cars are a type of artificial intelligence. The connection between machine learning and self-driving cars is abstract. A fundamental thing in self-driving cars is machine learning. You program the car as to how to fix its mistakes. Another example is facial recognition. The program starts learning about a person’s face over time so it can make an educated guess as to if the person is who they say they are. Once statistics are added then your face can be off by a hair or a hat. Small variations won’t throw it off.

                                                How do we start solving the problems we want to be solved?

                                                Machine learning has been applied since the 1950s to a broad spectrum of problems. Have to have a little bit of domain knowledge and do some research.

                                                Machine Learning Vs Programming

                                                Machine learning is any sort of fuzzy programming situation. Programming is when you do things specifically or statically.

                                                Why should you care to do machine learning?

                                                People should care because this is the next wave of computing. There is a theory that this will displace jobs. Self-driving cars will displace truck drivers, Uber drivers, and taxis. There are things like logo generators already. Machines are generating music, poetry, and website designs. We shouldn’t be afraid that we should keep an eye towards it.

                                                If a robot or computer program or AI were able to write its own code, at what point would it be able to overwrite or basically nullify the three laws of robotics?

                                                Nick Bostrom wrote the book Superintelligence, which had many big names in technology talking about the dangers of AI. Artificial intelligence has been talked about widely because of the possibility of evil killer robots in the Sci-Fi community. There are people who hold very potential concerns, such as job automation.

                                                Consciousness is a huge topic of debate right now on this topic. Is it an emergent property of the human brain? Is what we have with deep learning enough of a representation to achieve consciousness? It is suggested that AI may or may not achieve consciousness. The question is if it is able to achieve consciousness - will we be able to tell there isn’t a person there?

                                                If people want to dive into this where do they go?

                                                • Machine Learning Guide Podcast: http://ocdevel.com/podcasts/machine-learning
                                                • The Master Algorithm. https://www.amazon.com/Master-Algorithm-Ultimate-Learning-Machine/dp/0465065708
                                                • Andrew Ng course: coursera.org/machine/learning
                                                • Machine Learning Language

                                                  The main language used for machine learning is Python. This is not because of the language itself, but because of the tools built on top of it. The main framework is TensorFlow. Python in TensorFlow drops to C and executes code on the GPU for performing matrix algebra, which is essential for deep learning. You can always use C, C++, Java, and R. Data scientists mostly use R, while researchers use C and C++ so they can custom code their matrix algebra themselves.

                                                  Picks

                                                  Dave:

                                                  • 20-gallon Husky oil free air compressor: http://www.homedepot.com/p/Husky-20-Gal-Vertical-Oil-Free-Electric-Air-Compressor-0332013/207040335
                                                  • Charles:

                                                    • Twitter T gem: https://rubygems.org/gems/t/versions/2.10.0>
                                                    • Ruby Dev Summit: www.rubydevsummit.com
                                                    • Rake: https://www.sitepoint.com/rake-automate-things/
                                                    • Tyler:

                                                      • Machine Learning Guide Podcast: http://ocdevel.com/podcasts/machine-learning
                                                      • Philosophy of Mind: Brains, Consciousness, and Thinking Machines (The Great Courses): https://www.amazon.com/Great-Courses-Philosophy-Mind/dp/1598034243
                                                      • 50 min
                                                      • JSJ 270 The Complete Software Developers Career Guide with John Sonmez
                                                        JSJ 270 The Complete Software Developers Career Guide with John Sonmez

                                                        This episode features a panel of Joe Eames, AJ O’Neal, as well as host Charles Maxwell. Special guest John Sonmez runs the website SimpleProgrammer.com that is focused on personal development for software developers. He works on career development and improving the non-technical life aspects of software developers. Today’s episode focuses on John’s new book The Complete Software Developers Career Guide.

                                                        Did the book start out being 700 pages?

                                                        No. My goal was 200,000 words. During the editing process a lot of questions came up, so pages were added. There were side sections called “Hey John” to answer questions that added 150 pages.

                                                        Is this book aimed at beginners?

                                                        It should be valuable for three types of software developers: beginner, intermediate, and senior developers looking to advance their career. The book is broken up into five sections, which build upon each other. These sections are: - How to get started as a software developer - How to get a job and negotiate salary - The technical skills needed to know to be a software developer - How to work as a software developer - How to advance in career

                                                        Is it more a reference book, not intended to read front to back?

                                                        The book could be read either way. It is written in small chapters. Most people will read it start to finish, but it is written so that you can pick what you’re interested in and each chapter still makes sense by itself.

                                                        Where did you come up with the idea for the book?

                                                        It was a combination of things. At the time I wanted new blog posts, a new product, and a new book. So I thought, “What if I wrote a book that could release chapters as blog posts and could be a product later on?” I also wanted to capture everything I learned about software development and put it on paper so that didn’t lose it.

                                                        What did people feel like they were missing (from Soft Skills) that you made sure went into this book?

                                                        All the questions that people would ask were about career advice. People would ask things regarding: - How do I learn programming? - What programming language should I learn? - Problems with co-workers and boss - Dress code

                                                        What do you think is the most practical advice from the book for someone just getting started?

                                                        John thinks that the most important thing to tell people is to come up with a plan on how you’re going to become educated in software development. And then to decide what you’re going to pursue. People need to define what they want to be. After that is done, go backwards and come up with a plan in order to get there. If you set a plan, you’ll learn faster and become a valuable asset to a team. Charles agrees that this is how to stay current in the job force.

                                                        What skills do you actually need to have as a developer?

                                                        Section 3 of the book answers this question. There was some frustration when beginning as a software developer, so put this list together in the book. - Programming language that you know - Source control understanding - Basic testing - Continuous integration and build systems - What kinds of development (web, mobile, back end) - Databases - Sequel

                                                        Were any of those surprises to you?

                                                        Maybe DevOps because today’s software developers need to, but I didn’t need to starting out. We weren’t involved in production. Today’s software developers need to understand it because they will be involved in those steps.

                                                        What do you think is the importance of learning build tools and frameworks, etc. verses learning the basics?

                                                        Build tools and frameworks need to be understood in order to understand how your piece fits into the bigger picture. It is important to understand as much as you can of what’s out there. The basics aren’t going to change so you should have an in depth knowledge of them. Problems will always be solved the same way. John wants people to have as few “unknown unknowns” as possible. That way they won’t be lost and can focus on more timeless things.

                                                        What do you think about the virtues of self-taught verses boot camp verses University?

                                                        This is the first question many developers have so it is addressed it in the book. If you can find a good coding boot camp, John personally thinks that’s the best way. He would spend money on boot camp because it is a full immersion. But while there, you need to work as hard as possible to soak up knowledge. After a boot camp, then you can go back and fill in your computer science knowledge. This could be through part time college classes or even by self-teaching.

                                                        Is the classic computer science stuff important?

                                                        John was mostly self-taught; he only went to college for a year. He realized that he needed to go back and learn computer science stuff. Doesn’t think that there is a need to have background in computer science, but that it can be a time saver.

                                                        A lot of people get into web development and learn React or Angular but don’t learn fundamentals of JavaScript. Is that a big mistake?

                                                        John believes that it is a mistake to not fully understand what you’re doing. Knowing the function first, knowing React, is a good approach. Then you can go back and learn JavaScript and understand more. He states that if you don’t learn the basics, you will be stunted and possibly solve things wrong. Joe agrees with JavaScript, but not so much with things algorithms. He states that it never helped him once he went back and learned it. John suggests the book Algorithms to Live By – teaches how to apply algorithms to real life.

                                                        Is there one question you get asked more than anything else you have the answer to in the book?

                                                        The most interesting question is regarding contract verses salary employment and how to compare them. It should all be evaluated based on monetary value. Salary jobs look good because of benefits. But when looking at pay divided by the hours of work, usually a salary job is lower paid. This is because people usually work longer hours at salary jobs without being paid for it.

                                                        What’s the best place for people to pick up the book?

                                                        simpleprogrammer.com/careerguide and it will be sold on Amazon. The book will be 99 cents on kindle – want it to be the best selling software development book ever.

                                                        Picks
                                                        Joe

                                                        Wonder Woman

                                                        AJ

                                                        The Alchemist

                                                        Charles

                                                        Artificial Intelligence with Python

                                                        John

                                                        Algorithms to Live by: The Computer Science of Human Decisions Apple Airpods

                                                        Links

                                                        Simple Programmer Youtube

                                                        1 hr 1 min
                                                      • AiA 148 What's New in NativeScript with TJ VanToll
                                                        AiA 148: What’s New in NativeScript with TJ VanToll

                                                        On today's episode of Adventures in Angular, we have panelists Alyssa Nicoll, Ward Bell, and Charles Max Wood. We have a special guest, TJ VanToll of Progress. If you want to stay current with NativeScript, tune in!

                                                        [00:01:55] – Introduction to TJ VanToll

                                                        TJ works as a Developer Advocate for Progress, which is a software development company behind KendoUI, NativeScript, and few other tools.

                                                        [00:02:20] – NativeScript

                                                        NativeScript is completely free, completely open-source tool that lets you build iOS and Android native apps with Native user interfaces using JavaScript. It also provides built-in support for both TypeScript and Angular, as well. If you’re an Angular developer, it’s a tool that you can use to take Angular and build for Native iOS and Native Android.

                                                        [00:03:15] – Native apps using JavaScript core or v8 on Android

                                                        NativeScript uses Native UI components so they’re not using web view, the DOM, HTML, etc. For people that are coming from an Angular background, your apps look like Native apps. They’re using the same building blocks that you’d use if you’re building your app straight up in Xcode or Android Studio. You’re still building your apps the same way, the same file and folder structure, routing, etc. But the real learning curve that it takes to build NativeScript apps is that you have to use their user interface components to build your apps.

                                                        [00:05:35] – Template syntax

                                                        If you’re building a fairly complex Angular app, when you have all custom components, it’s going to look exactly like a NativeScript app. It’s basically using a suite of custom Angular components vs. using divs and spans as you’re building blocks.

                                                        Angular is an optional dependency. NativeScript, at its lowest level, it’s just a technology that’s allowing the communication between JavaScript and these Native objects. The reason why the team spends a lot of time working with Angular integrations is that the model that Angular uses happens to be a really good fit for NativeScript. Any JavaScript developer who doesn’t really like using frameworks at all, using these components and syntax that they’re not familiar with could make their learning curve a little bit heavy.

                                                        [00:08:05] – What’s new in NativeScript

                                                        Over the last 6 months or a year, the team’s focus has been performance, tooling, and plug-ins.

                                                        Performance:

                                                        In the last release, specifically, NativeScript 3.0 was shipped back in May. That release is really the combination of profiling over the NativeScript source-code based on how fast your apps start up, how you can render your UI, etc. There is a cost to working with NativeScript because we are letting you write your source code in JavaScript. The team’s effort has been in really optimizing how fast you can paint your UI’s, how fast you can transition from one page to the next, the startup time, etc. One of the performance penalties that NativeScript has is because you’re using JavaScript, there is one step that truly Native apps don’t have. Specifically, Angular is not necessarily known for being the world’s smallest JavaScript framework. But Angular is being known for being very tool able. So the team shipped a Webpack plug-in that helps you reduce the footprint of your app, which means faster start-up times when you’re using Angular with NativeScript.

                                                        Tooling:

                                                        The other thing that’s related to tooling with NativeScript is the command line interface. You build NativeScript apps with the command line interface. The team is working on adding some more visual tooling, more like a companion to the CLI. There are problems that visual tooling can solve like how do you build your icons? How do you deal with splash screens? How do you deal with some of these Native configuration files? There is a thing called NativeScript Sidekick that can help you with some of these tasks. There’s an early beta out now.

                                                        Plug-ins:

                                                        The team purposely try to keep NativeScript core light, trying to keep our footprint small. TJ encourages developers, on your own team, and the NativeScript community to do that to your plugins because the NativeScript plug-in ecosystem explodes over the last few months. There are somewhere over 500 plug-ins. Their new plug-ins market place is plugins.nativescript.org/ that shipped several months ago. Now, they’re trying to work to add some consistencies to the plug-ins and adding some documentation around as well.

                                                        [00:13:25] – NativeScript 3.0 upgrade and compatibility with NativeScript 2.0

                                                        It’s like Angular 2.0 to Angular 4.0 in a sense that there are few breaking changes but for most apps, it’s going to be fairly transparent or fairly trivial to update. It had some breaking changes with NativeScript plug-ins and one of the main reasons that they bumped the version number up is part of that performance changes to specifically render your interface faster. They also have to change their layout mechanism and some of the API with the NativeScript visual tree. Those are things that are unlikely to hit your common app because you’re probably just coding using their Angular components, in which case, you don’t necessarily need to know what’s going on under the hood. The team also worked with the plug-in authors of the top 30 or 40 most downloaded plugins out there to make sure that they were absolutely ready to go for the launch date for 3.0.

                                                        If you are getting trouble with the upgrade, you can reach out on their forums. They’ve been trying to tackle these issues when they come up.

                                                        [00:15:30] – Communication, upgrade, breaking things, and bugs

                                                        Progress, as a company, haven’t done project quite like NativeScript before. It’s a project that’s completely open-source and completely free. They want to give people some freedom to of experiment and build their own things. But they try to be as transparent as possible on what we’re trying to do and reach out for feedback.

                                                        They have a NativeScript Slack channel, which has a lot of people in there. They’re the first point of contact when making changes. And for the actual upgrade process, they try to actually put a good effort to get plug-ins where people have put on a considerable amount of effort into them.

                                                        [00:17:35] – NativeScript 4.0

                                                        Debugging:

                                                        If you’re a Visual Studio Code user, you can now just directly do this step debugging directly within the debug tab in VS Code for your completely Native iOS and Android apps. The team also launched support for the Chrome developer tools for NativeScript but they’re only available at a very limited capacity right now. Right now, in the Chrome dev tools, the console works and you can see network request but it’s not the full experience that you’d expect if you’re using those tools for web apps.

                                                        Visual tree:

                                                        One of the big pinpoints when it comes to learning NativeScript is learning how to build a visual tree with NativeScript. You can mess with CSS in your web apps, you can play around with layouts, play around with colors, etc. That’s possible to break that to NativeScript as well.

                                                        Performance:

                                                        The other big thing is again related to performance. We’ve got a lot of efforts going on at the moment, specifically, around start-up time. I mentioned we shipped a lot of performance-related things for NativeScript 3.0 but most of those were focused on the runtime experience – how fast we can paint your UI, how fast we can paint more complex Native user interfaces. We’re not turning our attention more to just how fast we can start-up your app and what sort of things we can do to optimize that and bring that number down as much as possible. A lot of that involves how can we fight with web configuration files to get exactly what we want, what are the best ways to reduce the number of files we’re using, use whatever we can to reduce that bundle size.

                                                        The last that’s related to toolings is some of the visual tooling that we have. They think they can bring some fairly powerful behavior to NativeScript developers. In the past progress, they've had some premium tools for working with mobile apps that let you do things like build apps in the cloud. Say, you are a Windows developer and you want to build iOS apps, we have some premium tooling that could do that today. We think we’re going to be able to bring that to the open-source version of NativeScript, sort of make that work with directly within the NativeScript CLI.

                                                        [00:21:15] – Store on distribution of apps

                                                        With NativeScript, things are going to work exactly the same as if you’re building things from the ground up with Xcode or Android Studio. NativeScript CLI spits out the Native app package - that’s .apk file for Android and .ipa file for iOS. You just head out to the Native stores and actually register your apps and use those stores as the distribution model to get your app out to your users.

                                                        There are certain people, especially companies, that don’t need to distribute their apps publicly. Think an app that you need your internal people to have, maybe they’re sales rep, maybe they’re doing an inventory job. In Progress, they sell some of the tools that you can use to distribute your apps locally to users. Because it’s generating those exact same Native binaries, once you have that, you can use any iOS or Android distribution model that you want to use.

                                                        [00:22:30] – Start-up performance

                                                        One of the big performance advantages that Native apps have is you don’t necessarily have to deal with a network. In terms of media files, a web app might need to worry about your initial load of image assets or video assets. But with Native apps, you have the ability to package that in the file.

                                                        The specific cost when it comes to start-up time is not getting JavaScript from the network. The cost is actually the registration of your JavaScript code with v8 or JavaScript core. It’s the same reason that there’s a cost for that in the browser if you feed Angular into v8. There’s a cost that it will take to be able to parse that thing and run with it.

                                                        [00:25:30] – Lower cost for low-powered devices

                                                        TJ has zero concerns about NativeScript start-up performance on a high-end iPhone7. Startup time is like a millisecond. It’s not something that a person’s going to care about on a typical Native app. The bigger cost is on Android. It’s not because Android is necessarily slower. It’s because it has a wider range of performance characteristics from Google Pixel to some crappy Android 4.2 device that is still on the market.

                                                        The team uses v8 on Android to run JavaScript. V8 has this feature called heap snapshots so you can pre-register some of your JavaScript codes directly in the heap memory of v8. Essentially, it’s a trick to shave-off some of those milliseconds when your app starts up.

                                                        [00:27:10] – Service workers

                                                        In NativeScript, there’s no service worker. You’re just using NativeScript API’s, which are abstracting away completely Native iOS or Android API. All of the things that a service worker does, you can accomplish in NativeScript. You can run in the background. You can get a user’s location in the background. You can send push notifications in the background. Anything that an app on your phone can do today that you’ve seen is possible to do on NativeScript apps. One of the reasons to build on NativeScript is your app can send push notifications when it is offline in iOS. It’s something that you can’t do on the web today.

                                                        [00:29:05] – Getting started with NativeScript

                                                        Javascript

                                                        If you go to nativescript.org, there’s a Get Started button. There are 2 different tutorials you can go through to learn NativeScript. There’s one on Getting Started with NativeScript with straight up JavaScript if you’re the person who doesn’t like dependencies on framework completely.

                                                        Angular

                                                        And then, if you want to learn how to use Angular to build Native apps, there’s the other tutorial on NativeScript that’s on Angular.

                                                        Video tutorials

                                                        Also, community members just launch nativescripting.com, which is a companion to those tutorials but it’s the video-version of them

                                                        [00:30:00] – Testing

                                                        Unit test

                                                        Unit testing on NativeScript is built directly into the NativeScript CLI. You can use any of the normal unit testing libraries that you might think of using – Mocha, Chai, Jasmine. For CI, there is NativeScript Travis. The team has articles and information on how you can build NativeScript on an automated way.

                                                        Functional test

                                                        And because NativeScript is generating Native iOS and Android apps, there are a lot of tools out there that lets you automate starting up and running application if you want a functional test. They start your apps, click the buttons, and make sure those behaviors still work. Internally, the team use a tool called Appian, which lets you automate our iOS and Android apps.

                                                        Picks

                                                        Ward Bell

                                                        • Being Mortal by Atul Gawande
                                                        • Alyssa Nicoll

                                                          • Hyper.is – JavaScript, HTML, CSS terminal
                                                          • Charles Max Wood

                                                            • Ego is the Enemy by Ryan Holiday
                                                            • TJ VanToll 

                                                              • Pokemon Go
                                                              • My Dad Wrote a Porno podcast
                                                              • NativeScript Newsletter
                                                              • Twitter @NativeScript
                                                                •  
                                                                • 39 min