Devchat.tv Episode Roundup

Devchat.tv Episode Roundup

Download on the App Store

All Devchat.tv Episode Roundup episodes

  • 254 FS Fairness in Pricing
    Fairness in Pricing

    Do you have questions about fairness in pricing? This episode features a discussion of this topic between Jonathan Stark, Curtis McHale, Philip Morgan, and Reuven Lerner. Tune in to learn more!

    Do you think it’s fair for someone to charge you more for a product than they charge other people?

    Reuven’s answer is that it is fair, but annoying. He wants to feel as if he has gotten a good deal, which is based on price for him. It’s fair to charge different people different prices, but he wants it to be to his advantage. 
Jonathan’s take on this is that people are bad at absolute value. Is thing worth X? He argues that value should not be based on price, but instead on value. He does not believe that the word fair can be applied to pricing at all.
 Curtis suggests some people equate fairness and value. He buys locally and will pay more sometimes at local stores, because he sees value in that. This is called the “feel good feeling.”
 Philip describes that he has two decision-making skills when it comes to price. The first is that money is not infinitely available, which he dislikes sometimes because he feels like it holds him back. Then there’s a no brainer category where if something has value to him, he doesn’t compare price. But he does have a threshold where he refuses to overpay, much like Reuven.

####How do you calculate overpay?
Philip suggests that there’s a feeling that he can figure out what the lowest price that a product sometimes gets sold for is and what overpaying would be for that product.  Jonathan doesn’t compare the price he is given to what other people spend on the same product. He personally determines the value that he will get out of the product. Philip suggests that the value depends on situation. Jonathan, who says that it has no value to him so he will not pay much for it, gives an example of a screwdriver. He still won’t shop around to find the cheapest one – just the cheapest one for him. 
####Two Types of Consumers: Maximizer and Satisfier   Curtis explains the difference between the two different types of consumers. A maximizer has to find the best price no matter what. For instance, if they buy a pair of jeans but then see a cheaper pair of jeans, then the value of the purchase made decreases. A satisfier has the mindset that if he finds a product that is cheap enough for them, they don’t think about the purchase again. Jonathan has never heard of these terms before, but based on the descriptions, these are the two types of people he hears from through emails. 

    Why does this topic matter?

    Because, as freelancers, you will set prices for products and services so there is a need to be aware that those two camps exist. Jonathan thinks the best clients are the ones not looking for the cheapest price, which are the satisfiers. He calls these the value shoppers because they are looking for the best product. Curtis agrees that maximizers create the “race to zero” – they lower your price quickly. One group of people will be angry no matter how you sell, so just pick how you are going to do it and stick to that path.


    Can you sell to both groups?

    Reuven believes that you can sell to both groups although it is challenging. He doesn’t believe many have the luxury of choosing what types of clients they work with yet. The proposed solution is to create a monopoly of a market of one; to differentiate yourself so there’s no other business to compare yours to.

    Philip suggests that pricing is a big part of the overall positioning of products.

    There are low-end and high-end brands that are controlled by price differentiations. 
He uses BMW as an example. They couldn’t drop the price to $20,000 all of a sudden. Consumers would not be happy because it would no longer be a status symbol or a high-end brand.

    Value-pricing

    It will be difficult to do value pricing well if you believe that there is fairness in pricing. While there is no scientific evidence to support this belief, Jonathan sites that his experience from clients has informed this belief. There appears to be a correlation between people who believe in fairness in pricing and their ability to value price. Because these people believe they are being unfair with their prices, they lower their prices, which make it tough for them to make money. He suggests for these people to attempt to offer products as services instead and establish set prices. This pricing point may be a better fit for these types of people’s personalities. 
####Relationship between the price set for something and your brand. Philip tells a story about a Hi-Fi Man, a Chinese company that makes headphones. They made headphones in the one to two thousand dollar range. The quality was known as less than what you paid by people when they first came out. In the last six months, they introduced a product priced at six thousand dollars. The reaction from people was very negative. There is a relationship between brand and a company that can justify a price - they couldn’t. Questions are asked when this happens.

    What does this mean for freelancers?

    Some freelancers decide they are going to price every service as the same thing out of fairness to their clients. But it wouldn’t be nice or fair to charge different clients different amounts of money for the same work. Every client wants a different result. Hourly billing is bad for everyone. People should set prices they are comfortable with selling to their clients. They should be self-aware of their pricing and know what kind of buyers they want to attract.

    Picks
    Curtis

    Are you a satisficer or a Maximizer

    Jonathan

    Leviathan Wakes

    Phillip

    My Dad Wrote a Porno Podcast

    Reuven

    How Online Shopping Makes Suckers of Us All

    The Impossible State: North Korea, Past and Future

    53 min
  • 253 FS Building Better Training Exercises
    Building Better Training Exercises

    On today’s episode, Philip Morgan and Reuven Lerner discuss Building Better Training Exercises. Reuven Lerner provides insight on how he creates and makes training more effective through the use of exercises.

    How can you make your training more effective by giving good exercises and questions for people to learn from?

    Reuven thinks that it is ineffective to teach people simply through lectures. He says that people will not remember what was said long term because they will not internalize the material. Having people do things can combat this; in other words have them do exercises throughout training in order to help them retain information.

    How many and what types of exercises should they do?

    Exercises should be a good balance of easy and hard. They should be interesting and amusing, but also effective and stick with your audience. Reuven says that this is a hard balance to reach and takes time but is well worth the effort. In his experience, students learn and appreciate this more.

    Ways We Think About Learning

    A typical teacher talks the entire class. During this time, students may listen and get the information taught while in the classroom. But after class, they lose a good majority of the material.

    Reuven discusses Jean Piaget, a psychologist, who studied children to research how people learn. His theory is that people do not learn by hearing things. Instead, they construct their own knowledge through teaching themselves. His theory states that children are like scientists - they’re constantly doing experiments and trying new things. Reuven, like Piaget, is a constructivist - he believes people should create their own knowledge. Another person discussed is Seymour Papert who studied under Piaget. He was a mathematician who looked at how people learn efficiently. He agreed with Piaget; that people create their own knowledge. The best way is to create something that is of value to them. Talking to people isn’t going to teach them; having them do things they’re interested in will. Provoking them to think is the best way to accomplish this method. 

    Reueven’s goal in training is to maximize the doing and creating new things. His personal balance is that he does 30% exercises and 70% lecture/discussion. He is constantly experimenting with exercises to see what works.

    Can exercise be too granular?

    Exercise can never be too granular; can never be too simple. He has discovered during his time teaching that the simpler the exercises are, the more people feel they are being taught.

    How do you order exercises? Do you sequence or order them in some way?

    Typically structured so that exercises follow each new topic. For example, introduce Topic A, and then do Exercise A. Then within topics he gives multiple exercises that build on each other.

    How do you help people interpret what/if they did something wrong?

    Reuven simply says that he doesn’t. His solution walks them through the answer step by step, which should teach them the technique they are learning. He does what is called a “think aloud,” which helps students understand not just the content, but also the process it takes to get to the content. In his email courses, he follows up by asking how the students did and what answer they got.

    How could you define prerequisites so that people don’t lie or misinterpret what advanced means?

    There are problems with this in certain places. In order to combat this Reuven suggests using a pre-class survey. He sends this to participants of his classes in advance in order to gauge what topics need to be taught. This way he has something to show the training manager if they are to say that people complained the course was too basic.

    How do you come up with a new exercise?

    Hitting the sweet spot between easy and hard is hard. The first time you do an exercise it usually fails. So try to make topics relevant to their lives. The smaller and easily graspable the concept is, the better. There are three popular exercises that work. One is the “monkey see-monkey do” exercise. First, I’ll do it and then you’ll do it also. The second is to take something people know and then re-implement it. Third is to do longer projects that build on themselves. Philip agrees with Reuven – he usually starts with most basic problems and builds from there. He states that this is because people do it in the real world. 

    Can you think of any exercises that a trainer could try himself or herself where they might develop some skills?

    Reuven suggests people speak at conferences, local user groups, or do webinars. Each of those are great opportunities to try out material. Will help understand where people have questions. Philip agrees that people should start small. This means speaking at webinars and venues where you can be the person who’s teaching.

    Picks
    Phillip

    Stainless Steel USB Cables

    Reuven

    Music for Makers

    Trainerweekly.com
    Weekly Python Exercise
    Tech Training Group on Facebook

    1 hr 2 min
  • 206 iPS Build Special 1: Embeddinator 4000 with James Montemagno
    iPS 206: Build Special 1: Embeddinator 4000 with James Montemagno

    This episode is live at the Microsoft Build 2017 in Seattle with Andrew Madsen and Jaim Zuber. We have James Montemagno from the Mobile Developers Tools Team at Microsoft. Tune in and learn more about Embeddinator 4000!

    [00:01:05] – Introduction to James Montemagno

    This is James Montemagno’s third time on iPhreaks. He is a Principal Program Manager on the Mobile Developers Tools Team. He is a long-time Xamarin developer for almost 6 years now.

    [00:01:55] – What is it that you wanted to talk to us about?

    The Embeddinator 4000 is an open-source project. It falls underneath the Mono open-source. It’s a Github organization so it’s not under Microsoft branding. It’s been around for a while but the team re-tooled it in a way that every single iOS, Android, Mac, Linux, and Windows developers is going to love. Their goal is to bring .NET to every developer.

    Developers still want to find a way of sharing code. There are a few ways to do it today. You can write a bunch of C++ but no one wants to do that. The Embeddinator has the ability to execute C# and .NET code anywhere. It enables every developer writing applications in any language to take a .NET library to write some business logic. And then, compile that through a tool into a native library that they can consume in Objective-C, Swift, Java, or C++ library.

    [00:04:20] – C# library, not Xamarin-based

    It’s not Xamarin-based so you don’t need the Xamarin toolkits. You could use Visual Studio 2017. It’s just a command line tool so you can run it on Mac or PC. You don’t need anything besides the ability to write a C# library. Run that into the Embeddinator, which would then give you a dynamic library if you’re just doing an Objective-C Mac OS app, or it would give you a framework for iOS.

    [00:07:20] – How do you take a C# / .NET library and give it an Objective-C interface?

    Each platform whether it’s Objective-C for Mac, for iOS, or Swift for iOS, will be able to create those specific libraries, which will go to their own tooling.  Obviously, the syntax is different. There are some things in C# that don’t necessarily exist in Objective-C. So it has to be converted into a call block or maybe you’ll not write that type of code because you know you’re going to consume this library.

    All the code is open-source on the Github page. You can think of it that it is going to provide the native interfaces and then, kind of P/Invoking into the compiled-up run time or the machine code that’s there.

    [00:09:00] – Difference from Microsoft Windows Bridge for iOS

    That bridge application is focused on iOS applications, specifically, on games. These games are brought over into to a UWP application. On the other hand, Embeddinator is very powerful for companies which are literally doing the same thing over and over again. This also allows collaboration with other teams. If mobile developers are calling their mobile API, they could just have one shared mobile API that’s being called across each platform.

    The difference here is you’re not porting any application, you’re creating a common framework or a common element that’s going to be running natively on each platform. You’re first writing it in C#, and then, embedding it into each application.

    [00:12:05] – Libraries and frameworks available

    All of .NET is available to them. When they’re creating .NET libraries, Embeddinator supports almost everything in .NET 4.6, which is a large amount of .NET. It can be embedded into your applications.

    [00:13:15] – What else is brought in?

    What you’ll see inside of this framework is a bunch of registers and header files.  The bindings that get created are all here. It will create the header files that will talk and communicate to that framework specifically. It's executing .NET code based on the device you’re running it on - ARM32, ARM64, i386, your simulators, x86, x64-bit.

    [00:14:40] – Is there a reason you’re not using frameworks on MAC OS?

    The team got a dynamic library that they’re working first but the plan is doing framework. They want to keep it simple and do frameworks everywhere. They’re also going to be adding Swift support, Java support for Android, C, C++, Linux support, and continuously putting it into more and more platforms.

    [00:23:35] – Development cycle

    The getting started is you have this library, run this command line, and then, drag and drop some files. That’s just day one. But you don’t want to do that over and over again. The command essentially says. “Run this Objective-C generation in this DLL. I want to create a framework. It’s iOS. Put it in this directory.”

    You have 2 IDE’s open. Visual Studio for Mac and Xcode. When you’re writing your C# code, you’d write that in Visual Studio. In each of the libraries, you can have a post-build step. When you hit compile, you can essentially run this command line. The output directory would be your Objective-C, iOS or Mac application. And then, it’s available immediately inside of Xcode.

    [00:25:10] – Debugging

    At this point, you’re not going to be debugging across Xcode. Think of it like you’re debugging another framework. Think of creating a library but then, create a unit test around it. You can test it. You can write a console application. You can write a Xamarin application that is a bunch of buttons that you click to test the Native functionality.

    [00:26:15] – How to integrate with Visual Studio?

    It’s not yet super integrated into Visual Studio, where you can right click and say Export to this.

    When you go to the Github page, there are walk-through tutorials – Getting Started with Mac OS, Getting Started with iOS, etc. There’s a download package that you have to install that will install all the Embeddinator and all of the requirements. It requires Mono, which is the .NET runtime on Mac. But when you install Visual Studio for Mac, it will bring it in. That’s all you really need. The Embeddinator 4000 is literally inside the /Library/Frameworks/Xamarin/.Embeddinator-4000. And then, you start executing some commands, which are documented.

    [00:27:50] – Microsoft announcement with regard to Embeddinator

    The Embeddinator is available. It’s part of the Mono project. Microsoft is actively working on it. Core members of the Xamarin team are working on this tooling to make it a great experience. Give it a try. Essentially, it’s under development but it’s a v1-type of release for Mac, iOS, and Objective-C, Swift applications, etc.

    [00:31:15] – How large is Mono

    There is an advanced optimizer and linker so you’re not bringing in the entire Mono runtime or the entire .NET installation. The actual Mono runtime is extremely small. It’s usually in a few MB. But on different devices, there’s a difference in runtime because they’re executing code a little bit different. And it’s not as big as Swift.

    [00:32:30] – Microsoft as open-source supporter

    The Embeddinator project started under the Mono organization. The license should be under MIT license. It’s copyright Microsoft, technically. The project is also accepting external contributions.

    [00:34:45] – How to fix a bug

    When you go to the Embeddinator source code, it’s all just C# code. There’s probably going to be command line and build things. There’s documentation to getting started.

    For iOS developers, if you can read Swift, you can read C#. It’s still object-oriented, still, have classes and methods.

    Picks

    James Montemagno

    • Coffeehouse Blunders podcast
    • Chess.com
    • Andrew Madson

      • Merge Conflict podcast
      • 44 min
      • 255 FS Getting Started in a New Niche
        Getting Started in a New Niche

        Philip Morgan and Rueven Lerner lead this week's podcast. They discuss Getting Started in a New Niche. Listen to learn more!

        The problem, who does it affect, why should we worry about it?

        The problem: You can have a focus, validate that it is good, be excited about it, and still feel held back by not having proof that you are a low-risk choice because you have never done work in that area of focus. So the problem is how do you change your focus; how do you start something new if you have no proven track record?

        The who: Everybody at some point in their career; everybody who is trying to make a change in their business.

        How to tackle this from a marketing perspective

        There are three options that are proposed if a company wants to see your work.

        1. Compromise
        2. Alan Weiss says that if someone raises an objection when you are speaking with him or her in a sales conversation, it means they are interested. People only raise objections if they are interested in what you are saying; it means you have their attention. It's a good sign - they're listening and you have their attention. If you have a company’s attention, offer a case study discount. Tell them that you will reduce your price for them because you know it is a little bit of a risk for them because you have no proven track record, but it isn’t a big risk otherwise you wouldn’t propose it. This can also be an important lesson about discounting; you are exchanging a discount now to get new clients later on. Short-term cash for long-term success.

          1. Adapt existing proof.
          2. Proof could be case studies, testimonials, examples of previous work, or a testimonial from previous clients or professors. You should look for opportunities to adapt any existing proof so that it works for your new market vertical focus. Focus on your ability to mitigate risk, solve problems, and help influence outcomes in a positive way because all of these are constants.

            1. Produce content marketing that focuses on the problems of the market and how you would address them.
            2. Five Examples of Problem Solving

              1. A Tear Down
              2. This is where you go to relevant companies or their websites, and research what they are doing well and why. This helps people understand what is going on behind the scenes. It is easy to do and takes a little preparation. It benefits you because it helps you to learn more about your client.

                1. Interviews
                2. Demonstrates that you are interested. You put in a lot of effort: plan, schedule, execute, publish, and edit interviews with people who are in the space. It demonstrates to clients that you're applying your intelligence in a way that can be very profitable for that potential client. It also shows you can get people interested.

                  1. Educational resource center
                  2. This is a cohesive collection of content online that focuses on a single theme. This is easy to do and can link to someone else's content within context.

                    1. Create an email course describing the process you would use to work with the client
                    2. This is not "a shell game," it is not saying that you have more domain knowledge than you really do. It reassures clients that they aren't about to throw away their money.

                      1. List
                      2. Curate other people's content and link to it in a weekly email and/or send a simple tip each week. Keep the emails very short. They should be 200 words tops. This will contribute to your learning and will increase the familiarity of people who are on your email list, which will help marketing.

                        Showing up       

                        This has a subtle but powerful effect on people. It flatters people when you take an interest in what they are interested in and they take notice if you don't have experience. Gets your foot in the door.

                        Picks:

                        Reuven:

                        https://letsencrypt.org/

                        **Philip:**

                        Techflex: (https://www.techflex.com/)

                        (http://www.useronboard.com/)

                        List of resource centers:

                        https://philipmorganconsulting.com/what-is-an-educational-resource-center/

                        1 hr 2 min
                      3. MRS 011 My Ruby Story Greg Baugues
                        MRS O11 Greg Baugues

                        This episode of My Ruby Story features Greg Baugues. Greg has been on two previous episodes, episode 142 where he discussed mental illness, and episode 258 where he discussed Twilio. Greg has been at Twilio for three and a half years. He worked on the developer/evangelism team for three years. A couple of months ago he became the lead developer of the community team. He lived in Chicago for eleven years, where he first started using Ruby. He moved to Brooklyn, New York a year ago.

                        How did you get into programming?

                        When he was five or six his parents owned a TRS-80 when he was five or six. It had a cassette drive and when turned on it booted into basic. He wrote programs in basic on this computer and it was an instant gratification to him. On a back cover of a magazine, he read there would be a code printed in basic that he would copy line by line. Later, his family bought a PC that had MS-DOS with QBasic, and his friends introduced him to Pascal, C, and C++. When he graduated high school he started PHP and got into web stuff.

                        How did you get from PHP and web stuff to Ruby?

                        In 1999 Greg used PHP to start a dot-com company with which they sold eight months later for all equity. He jokes that he “started and sold a company and all I got was a polo shirt out of it.”  This reinforced that he always wanted to work in programming but that he would never be happy just programming. He wanted to be involved working on the people side of things, too. He got a job at a consulting agency at Table XI where he was a sales guy. He claims that he wasn’t good at sales, so stopped programming for one and a half to two years in order to become better. Then he traveled with his wife in Europe for a while. This showed him that he spent his free time programming. After this he picked up Ruby for the first time. Ruby was his first language of choice because Table XI and most of Chicago was using Ruby at the time. He also fell in love with it.

                        What was it about Ruby that you thought was cool?

                        Greg finds Ruby beautiful and expressive. He believes that it makes more sense than for loop and believes that you can explain it to someone who’s never done coding before and it makes sense to them. Writing Ruby is the closest you can come to writing pseudo code that actually runs. Ruby doesn’t look much different from pseudo code. He thinks it is a joy to write in Ruby.

                        What contributions do you feel like you’ve made to the Ruby community?

                        Greg believes that his biggest contribution would be in the vein of mental health. He has Bipolar Disorder and was on a Ruby Rogues podcast where he spoke about it. Because of his disorder, he failed out of college, had trouble with relationships, getting out of bed, paying bills, and a lot of guilt. He finally got treatment in 2007 where medication slowly helped. Four years ago he had a coworker who overdosed that had been showing symptoms of the same disorder. The next day instead of doing a lightening talk he had scheduled about fantasy football, he gave a talk about mental illness and started giving talks about mental illnesses everywhere in the Ruby community.

                        Charles tells Greg that he heard someone speak about him and said he’d decided to go get help and have a relationship with his family again. He said that Greg’s episode of the podcast had helped him, and others have emailed him about it too. He explains that changing the way someone lives is just as important as writing source code. Greg says that he has learned that we are not alone in this community. There is a value of sharing your story and being vulnerable. It is easy to underestimate the compassion and empathy people have in the Ruby community.

                        What are you working on now?

                        Greg just had a conference called Signal for Twilio two weeks ago. There were 2,000 developers and 100 speakers at the conference. He was part of the team that organized speakers. Two months ago he started a leadership role with the developer community team for the first time. He’s trying to learn how to be in a management role for the first time. There were a million developers that signed up for Twilio so he is trying to figure out how to organize a community of developers instead of just having customers.

                        Picks

                        Greg:

                        • Phil Nash: https://philna.sh/
                        • The Manager’s Path by Camille Fournier: http://shop.oreilly.com/product/0636920056843.do
                        • The Tim Ferriss Podcast with Jamie Foxx: https://www.youtube.com/watch?v=YGnnEfmP8K4
                        • The Ezra Klein Show: https://www.vox.com/ezra-klein-show-podcast
                        • Charles:

                          • Ruby Dev Summit: https://rubydevsummit.com/
                          • Links:

                            • Twilio Voices: https://www.twilio.com/docs/api/twiml/say
                            • Twitter: https://twitter.com/greggyb
                            • 39 min
                            • MJS #025 Helen V. Holmes
                              MJS 025: Helen V. Holmes

                              This episode features a My JavaScript story with Helen V. Holmes. Helen has never before been a guest on the show. She is both a designer and front-end programmer who previously worked for Mozilla. In January, she started her own freelancing business. Listen to Charles Max Wood and Helen discuss how she got into programming, what made her decide to open a freelance business, and more!

                              How did you get into programming?

                              Helen started by making themes for herself and friends in LiveJournal using other people's CSS themes. Once she got to college she realized that although this wasn't a career, it was an aspect of a career. She then majored in graphic design, going on to do internships in both front-end development and design. Since college, she has gone back and forth between front-end development and design work.

                              How long ago was that?

                              Helen graduated college in 2013.

                              Did you graduate in computer science?

                              Helen did not even minor in computer science. At the time, she was focused on making stuff. The computer science major was too heavily focused on theory. She did take a couple of classes in it, but the graphic design major was more focused on building prototypes. Her graphic design major didn't teach her how to do anything - she said that you're on your own, and you have to figure out how to show off your ideas. The major appealed to her at the time because of that reason. Now Helen thinks majoring in computer science would have been really helpful for her career.

                              Charles points out that you don't have to have a computer science degree to do this work. Helen agrees; it can be wasted on you if you don't have the right enthusiasm to learn everything. Both say that you can get the education you want through self-education. Helen explains that so much of successful programming is good communication - this can be learned in college, while the specifics of how to code can be learned later.

                              How do you get from a graphic design major to "serious programming?"

                              Helen doesn't know how serious the programming she does is now. Her first real job was at Capital One as a front-end developer on their design team. She was doing prototypes and communicating between the design and production/engineering teams. She realized that nobody knew how to write JavaScript when trying to communicate between the two teams, so she decided that she should learn. A lot of the engineers came to the same realization at the same time. She started to write React as she was leaving Capital One. Everyone was trying to improve his or her JavaScript chops at the same time.

                              Did you get into Angular or React at Capital One?

                              When she first started at Capital One everyone was writing Angular. She wrote a lot of Angular in the beginning of her work. Most of the prototypes could be solved with React. Near the end of her time, she started using a lot of React.

                              What do you see is the difference between Angular and React?

                              Angular solves a lot more problems than React. It brings logic to the client side. React is only about solving visual problems. That's why it appealed to Helen. The design team she worked with was all about solving visual problems.

                              Why did you choose the front end?

                              Helen mainly chose it because she was a graphic design major. She believes that because the web is so accessible that it is the easiest thing. She also thinks the front end is fun.

                              How'd you wind up at Mozilla?

                              She met James Long through a mutual friend. Once they met, he thought she'd be a good addition to their team. He told her why it'd be a good switch for her - they were doing React work and they were looking for someone to understand problems that engineers go through.

                              What do they use React on?

                              She was on the browser team. The front-end of the developer tools was a JavaScript application that wasn't Angular. They were working on moving it to become a more documented framework. They wanted to use Redux and React. The team was converting it panel by panel.

                              What made you decide you were going to go freelance?

                              Helen had been missing things that she had done in college such as branding and illustration work. She had done some illustration work while at Firefox. She ultimately wanted to do a variety of different things instead of just product work. What gave her courage to go into freelance work was that James Long was also going freelance at the same time, so she thought that she was in good company. She also is related to a lawyer, so it wasn't as scary filing the paperwork because she had someone to ask for help during the process.

                              What contributions do you feel like you've made to the JavaScript community?

                              Helen believes that the highest impact work she has done has been on the Firefox browser. She didn't write a lot of code, but feels like what she did write is being used by a lot of people. She is most proud of the CSS grid because she says that it is exciting for people who do layout stuff on the web.

                              What are you working on now?

                              Helen started her own business at the beginning of the year. She is figuring out how she wants her skills to grow and with what kind of clients she wants to work. She has a lot of side projects, one being what she calls an art project. She is translating JPEG to Pixel art. She is taking NeoPixels, which are little programmable LEDs, and taking a matrix of values and displaying them on a sight board.

                              With everything that's out there in JavaScript, how do you keep current?

                              Helen answers that she doesn't. She tries to stay current with the tools she is using, which is React. She doesn’t try to be good at everything because she is also a designer, so she says that she has to pick and choose what she stays current on. Charles says that is what he tells people to do. There is so much out there that there is no way that anyone is going to stay current on everything. He says to keep current on what you are doing specifically.

                              Picks         

                              Helen:

                              • Wonder Woman http://wonderwomanfilm.com
                              • Debt: The First 5,000 Years https://www.amazon.com/Debt-First-5-000-Years/dp/1612191290
                              • Charles:

                                • JavaScript Jabber Slack Room https://devchat.tv/javascript-jabber-slack
                                • Monthly Webinars  https://devchat.tv/webinars
                                • Angular Remote Conf https://devchat.tv/conferences/angular-remote-conf-2017
                                • Links

                                  • Helen V Holmes Twitter https://twitter.com/helenvholmes
                                  • 30 min
                                  • RR 318 Metaprogramming with Jordan Hudgens

                                    RR 318 Metaprogramming with Jordan Hudgens

                                    Today's Ruby Rogues podcast features Metaprogramming with Jordan Hudgens. We have panelists Jerome Hardaway, Brian Hogan, Dave Kimura and Charles Max Wood. Tune in and learn more about metaprogramming!

                                    [00:02:00] – Introduction to Jordan Hudgens

                                    Jordan is the Lead Instructor at Bottega. Bottega has locations in Salt Lake City, Utah and in Phoenix, Arizona. They’re a full-stack development code school.

                                    [00:02:55] – Metaprogramming

                                    Metaprogramming was one of those scary concepts. At the code school, when the students learn about metaprogramming and how it works, you can tell that it’s definitely a pretty exciting thing. Its formal definition is it’s a code that writes code. It can dynamically, at run-time, render other methods available to the program.

                                    [00:04:10] – Use cases for metaprogramming

                                    The best use case that Jordan has ever seen is implemented in Rails and that’s code that can run database queries such as User.find_by_email. By passing the email, it will go and find the user with that particular email. Now, there is no method in active record or in the user model that is called find_by_email. That’s something that is created at run-time.

                                    Another one is something that Jordan has implemented and that’s a phone parser gem. It essentially parses and validates a phone number. It also has a country code lookup. With all the countries in the world, that would be very time-consuming. But within 8 lines of code, it could do what a hundred lines could do without metaprogramming.

                                    [00:06:50] – Performance implications

                                    Jordan never had performance issues because the generation of methods is not something that’s incredibly memory intensive. You might run into that but it would be a poor choice to do in terms of readability.

                                    In Brian’s experience, it comes down to the type of metaprogramming you do. If you have a bunch of logic somewhere and method_missing, that’s going to be a performance bottleneck. And if you’re generating a bunch of methods when the application starts up, it might increase the start-up time of the application. But after that, the performance of the application seems to not have any fluctuation at all.

                                    There are 2 main types Jordan works with. First is method_missing. Method_missing could have a little bit of performance hit because of how Ruby works. The system is going to look at every single method. The second type is define_method. In define_method, you’re really just creating a large dynamic set of methods at runtime. When you start up the Rails server, it’s going to build all those methods but it’s not going to be when you’re calling it. Whereas in method_missing, it has a different type of lookup process. 

                                    [00:11:55] – Method collisions on monkey patching

                                    That’s one of the reasons why monkey patching can have a bad reputation. You don’t know who else may be overriding those set of methods or opening up that class. Jordan’s personal approach is trying to separate things out as much as humanly possible. If there’s something that can be done in the lib directory, you can place that functionality inside of a separate module. And if you’re creating a gem, you have to be sensitive to other gems in that space or even the Rails core.

                                    [00:17:25] – How to be good citizens to other developers

                                    Metaprogramming has a lot of potentials to do great things but it also has a potential to cause a number of problems in the application. For Jordan’s students, what he usually does is walk them through some examples of metaprogramming where it can be done poorly. But then, he will follow it up with showing exactly when this is done right.

                                    He shows examples of poorly written classes that have dozen nearly identical methods. And then, he also shows how they could take all those methods, put the names in an array, and show how to leverage things like define_method to generate them. He also shows them how doing monkey patching can cause issues, how they can actually open up the string class and change one of the basic functionalities. Show that when they override that, that affects the entire rest of the application.

                                    [00:24:45] – Worst examples of metaprogramming

                                    Jordan ran into this hive of metaprogramming. When he opened up one of its classes, he had no idea what that class did. It was method_missing all over the place. Usually, there are 4 or 5 lines of code inside of that. It’s relatively straightforward and makes logical sense when you read it. This was nothing like that.

                                    They had multiple conditionals inside of the method_missing. One other hard thing about it is it does not have any test whatsoever. You need some test to make sure you’re capturing that functionality and to check if changes broke anything. You can’t also decipher what the inputs and outputs are.

                                    [00:28:35] – Testing

                                    Follow as much as real world examples. For example, in the phone parser gem, you can see some tests in there for that. You can also pass in the input that you plan to give. See if that matches the output. Jordan tells his students that respond_to_missing is as important to putting method_missing in there

                                    [00:35:25] – Resources to get started

                                    Paolo Perrotta’s book Metaprogramming Ruby is one of the standards for metaprogramming in Ruby. He also gave some fantastic examples. He created a story about a new developer who goes into a company and learns how to implement metaprogramming from senior devs. It’s very entertaining and it also covers all the different aspects to think of metaprogramming, when to use it and when it could be a very bad idea to use it.

                                    Picks

                                    Jerome Hardaway

                                    • Don’t Know Metaprogramming in Ruby? By Gavin Morrice
                                    • Dave Kimura

                                      • Sherlock TV Series on BBC
                                      • Brian Hogan

                                        • iOS application: Workflow
                                        • Overwatch
                                        • Charles Max Wood

                                          • Ruby Dev Summit
                                          • Angular Dev Summit
                                          • Focuster
                                          • Jordan Hudgens

                                            • Petergate
                                            • Comprehensive Ruby Programming by Jordan Hudgens
                                            • Twitter @jordanhudgens
                                            • Instagram @jordanhudgens
                                            • Blog crondose.com
                                            • 46 min
                                            • JSJ 269 Reusable React and JavaScript Components with Cory House

                                              JSJ 269 Reusable React and JavaScript Components with Cory House

                                              On today’s episode of JavaScript Jabber, we have panelists Joe Eames, Aimee Knight, Charles Max Wood, and playing the part of both host and guest, Cory House. Encourage your team to investigate reusable components, whether that’d be React, Angular, Vue, or Ember. Tune in!

                                              [00:01:35] – Overview

                                              We can finally write reusable components that it is really lightweight. It doesn’t take much framework-specific code to get things done.

                                              Around 3 years ago, the idea of web component standard was all front-end developers could share our components with each other whether someone is in Angular or React. Web components continue to be an interesting standard but people continue to reach for JavaScript libraries instead – React, Angular, Vue. 

                                              [00:04:50] – Browser support issue

                                              The story in JavaScript libraries is easier. You have more power, more flexibility, more choices, and get superior performance, in certain cases, by choosing a JavaScript library over the standard right now. If you try to use the web components standard, you have to Polyfill-in some features so you can run things across browser. You also won’t get JavaScript features like intelligently splitting bundles and lazy load different components.

                                              Whether you’re in Angular or React, you have this model of putting your data in your curly braces. That setup is non-existent in standardized web components. You have to play the game of putting and pulling data into and out the DOM using DOM selectors. You actually take a step backward in developer ergonomics when you choose to leverage the platform instead.

                                              [00:07:50] – Polymer

                                              The reason that Polymer is useful is it adds some goodness on top of web components. One of those things is that it makes it easier to bind in data and not having to do things like writing a DOM query to be able to get your hands on this div and put this text inside of it. With Polymer, you can do something that feels more like Angular, where you can put in your curly braces and just bind in some data into that place. Polymer ends up adding some nice syntactic sugar on top of the web components standard just to make it easier to create web components. Polymer is also used to bundle in Polyfill for the features across browser.   

                                              [00:14:20] – Standards are dead

                                              No. The standard itself has been embraced at different levels by different libraries. What you can see for the near future is popular libraries leveraging pieces of the web components platform to do things in a standard-spaced way. Effectively, Angular, Vue, Aurelia, are going to be abstractions over the web components standard. Arguably the most popular way to do components today is React. But React completely ignores the web components standard. When you look at React, you can’t see what piece of the web components standard would fundamentally make React a better component library.

                                              Cory can’t seem to run to anybody that is actually using the standard in production to build real applications. People continue to reach for the popular JavaScript libraries that we so often hear about.

                                              [00:17:05] – Libraries making reusable components

                                              There is a risk that it would have been a waste for people writing components on Angular, for React, for Vue. But it’s not necessarily safer writing on the web component standard when you have so few people leveraging that standard. There’s always the risk that that standard may shift as well.

                                              As an example, Cory’s team created approximately 100 reusable components in React. If they end up moving to a hot new library, the components are really just functions that take parameters and contain HTML. There is little there

                                              [00:21:20] – Why opt for reusable components

                                              Reusable components are inherently useful in a situation where you’re going to be doing something more than once. If you think about any work that you do as a software developer, we’d like to think that we’re coming in and creating new things but often it is groundhogs day. There are all sorts of opportunities for reuse.

                                              As a company, we want to encapsulate our forms in reusable components so it’s literally impossible for our software developers to do something that goes against our standard. That’s the power of reusable components.  

                                              [00:31:20] – Rigid component vs. flexible component

                                              As component developers, if we try to create a reusable component in a vacuum, bad things happen. If you’re going to do a reusable component, start by solving a specific problem on a given application. If we think that a component’s going to be useful in multiple places, we put it in a folder called reusable right there in our application source folder.

                                              We try to follow that rule of three as well. If we’ve taken that component and used it in 3 places, that’s a good sign that we should extract it out, put it in our NPM package, that way, everybody has this centralized component to utilize. At that point, it has been tested. It’s been through the fire. People have used it in the real world in a few places so we can be confident that the API is truly flexible enough.

                                              Be as rigid as you can upfront. Once you add features, it’s really hard to take features away. But it’s quite easy to add features later. If you start with something rigid, it’s easier to understand. It’s easier to maintain and you can always add a few more switches later.

                                              [00:36:00] – Reusable components

                                              The reason that we can’t reuse code is every time a new project comes up, people are spending up their own ideas rather than leveraging standards that should have been put in place previously.

                                              We’ve had the technical ability to do this for a long time. We just haven’t been around long enough for consolidation to happen, for standardization to happen. You look at how quickly things are changing in our industry. For instance, a couple of years ago, everybody had pretty much decided that two-way binding was the way to build web applications. And then, React came along and shook that up. So today, you have different ways of thinking about that issue.

                                              [00:42:45] – Component development on teams

                                              Aimee’s team has component development and they’re using Angular 1.6. All of our base components are sitting in a seed application. We just go in when we want to create a new property and we just extend all of those components with specific functionalities that we need.

                                              [00:47:45] – Mobile to web crossover

                                              Cory’s team is creating React components but it’s not leveraged on a mobile application. But people use React Native components on the web. And in fact, if you use create-react-app today, you can do that right now. It’s wired up to work in React Native components. In that way, you can literally have these same components running on your Native mobile apps as you do on your web application.

                                              [00:50:00] – Challenge

                                              Cory’s challenge for everybody listening is sit down with your team and have a quick conversation about whether you think components make sense. Look back at the last few months of development and say, "if we have a reusable component library, what would be in it? How often have we found ourselves copying and pasting code between different projects? How much benefit would we get out of this story?"

                                              Once you’ve realized the benefits of the component model, both in the way that makes you think about your application, in a way that it helps you move faster and faster over time, I really think you won’t go back to the old model. I’d encourage people to investigate reusable components, whether that’d be React, Angular, Vue or Ember.

                                              Picks

                                              Cory House

                                              • Creating Reusable React Components on Pluralsight
                                              • Ted Talk: Why You Should Define your Fears Instead of Your Goals by Tim Ferriss
                                              • Joe Eames

                                                • UI-Router
                                                • Persistence
                                                • Aimee Knight

                                                  • Ask HN: People who completed a boot camp 3+ years ago, what are you doing now?
                                                  • NgAtlanta
                                                  • Charles Max Wood

                                                    • Upwork.com
                                                    • JSJ 269 Reusable React and JavaScript Components with Cory House

                                                      On today’s episode of JavaScript Jabber, we have panelists Joe Eames, Aimee Knight, Charles Max Wood, and playing the part of both host and guest, Cory House. Encourage your team to investigate reusable components, whether that’d be React, Angular, Vue, or Ember. Tune in!

                                                      [00:01:35] – Overview

                                                      We can finally write reusable components that it is really lightweight. It doesn’t take much framework-specific code to get things done.

                                                      Around 3 years ago, the idea of web component standard was all front-end developers could share our components with each other whether someone is in Angular or React. Web components continue to be an interesting standard but people continue to reach for JavaScript libraries instead – React, Angular, Vue. 

                                                      [00:04:50] – Browser support issue

                                                      The story in JavaScript libraries is easier. You have more power, more flexibility, more choices, and get superior performance, in certain cases, by choosing a JavaScript library over the standard right now. If you try to use the web components standard, you have to Polyfill-in some features so you can run things across browser. You also won’t get JavaScript features like intelligently splitting bundles and lazy load different components.

                                                      Whether you’re in Angular or React, you have this model of putting your data in your curly braces. That setup is non-existent in standardized web components. You have to play the game of putting and pulling data into and out the DOM using DOM selectors. You actually take a step backward in developer ergonomics when you choose to leverage the platform instead.

                                                      [00:07:50] – Polymer

                                                      The reason that Polymer is useful is it adds some goodness on top of web components. One of those things is that it makes it easier to bind in data and not having to do things like writing a DOM query to be able to get your hands on this div and put this text inside of it. With Polymer, you can do something that feels more like Angular, where you can put in your curly braces and just bind in some data into that place. Polymer ends up adding some nice syntactic sugar on top of the web components standard just to make it easier to create web components. Polymer is also used to bundle in Polyfill for the features across browser.   

                                                      [00:14:20] – Standards are dead

                                                      No. The standard itself has been embraced at different levels by different libraries. What you can see for the near future is popular libraries leveraging pieces of the web components platform to do things in a standard-spaced way. Effectively, Angular, Vue, Aurelia, are going to be abstractions over the web components standard. Arguably the most popular way to do components today is React. But React completely ignores the web components standard. When you look at React, you can’t see what piece of the web components standard would fundamentally make React a better component library.

                                                      Cory can’t seem to run to anybody that is actually using the standard in production to build real applications. People continue to reach for the popular JavaScript libraries that we so often hear about.

                                                      [00:17:05] – Libraries making reusable components

                                                      There is a risk that it would have been a waste for people writing components on Angular, for React, for Vue. But it’s not necessarily safer writing on the web component standard when you have so few people leveraging that standard. There’s always the risk that that standard may shift as well.

                                                      As an example, Cory’s team created approximately 100 reusable components in React. If they end up moving to a hot new library, the components are really just functions that take parameters and contain HTML. There is little there

                                                      [00:21:20] – Why opt for reusable components

                                                      Reusable components are inherently useful in a situation where you’re going to be doing something more than once. If you think about any work that you do as a software developer, we’d like to think that we’re coming in and creating new things but often it is groundhogs day. There are all sorts of opportunities for reuse.

                                                      As a company, we want to encapsulate our forms in reusable components so it’s literally impossible for our software developers to do something that goes against our standard. That’s the power of reusable components.  

                                                      [00:31:20] – Rigid component vs. flexible component

                                                      As component developers, if we try to create a reusable component in a vacuum, bad things happen. If you’re going to do a reusable component, start by solving a specific problem on a given application. If we think that a component’s going to be useful in multiple places, we put it in a folder called reusable right there in our application source folder.

                                                      We try to follow that rule of three as well. If we’ve taken that component and used it in 3 places, that’s a good sign that we should extract it out, put it in our NPM package, that way, everybody has this centralized component to utilize. At that point, it has been tested. It’s been through the fire. People have used it in the real world in a few places so we can be confident that the API is truly flexible enough.

                                                      Be as rigid as you can upfront. Once you add features, it’s really hard to take features away. But it’s quite easy to add features later. If you start with something rigid, it’s easier to understand. It’s easier to maintain and you can always add a few more switches later.

                                                      [00:36:00] – Reusable components

                                                      The reason that we can’t reuse code is every time a new project comes up, people are spending up their own ideas rather than leveraging standards that should have been put in place previously.

                                                      We’ve had the technical ability to do this for a long time. We just haven’t been around long enough for consolidation to happen, for standardization to happen. You look at how quickly things are changing in our industry. For instance, a couple of years ago, everybody had pretty much decided that two-way binding was the way to build web applications. And then, React came along and shook that up. So today, you have different ways of thinking about that issue.

                                                      [00:42:45] – Component development on teams

                                                      Aimee’s team has component development and they’re using Angular 1.6. All of our base components are sitting in a seed application. We just go in when we want to create a new property and we just extend all of those components with specific functionalities that we need.

                                                      [00:47:45] – Mobile to web crossover

                                                      Cory’s team is creating React components but it’s not leveraged on a mobile application. But people use React Native components on the web. And in fact, if you use create-react-app today, you can do that right now. It’s wired up to work in React Native components. In that way, you can literally have these same components running on your Native mobile apps as you do on your web application.

                                                      [00:50:00] – Challenge

                                                      Cory’s challenge for everybody listening is sit down with your team and have a quick conversation about whether you think components make sense. Look back at the last few months of development and say, "if we have a reusable component library, what would be in it? How often have we found ourselves copying and pasting code between different projects? How much benefit would we get out of this story?"

                                                      Once you’ve realized the benefits of the component model, both in the way that makes you think about your application, in a way that it helps you move faster and faster over time, I really think you won’t go back to the old model. I’d encourage people to investigate reusable components, whether that’d be React, Angular, Vue or Ember.

                                                      Picks

                                                      Cory House

                                                      • Creating Reusable React Components on Pluralsight
                                                      • Ted Talk: Why You Should Define your Fears Instead of Your Goals by Tim Ferriss
                                                      • Joe Eames

                                                        • UI-Router
                                                        • Persistence
                                                        • Aimee Knight

                                                          • Ask HN: People who completed a boot camp 3+ years ago, what are you doing now?
                                                          • NgAtlanta
                                                          • Charles Max Wood

                                                            • Upwork.com
                                                            • 58 min
                                                            • AiA 147 Codelyzer and Static Analysis Tools for Angular with Minko Gechev
                                                              AiA 147: Codelyzer and Static Analysis Tools for Angular with Minko Gechev

                                                              The week on Adventures in Angular features panelists Alyssa Nicoll, Shi Resnick, Lukas Ruebbelk, and Charles Max Wood. The special guest this week is Minko Gechev who is here to discuss Codelyzer. Minko is currently working on a start up. Angular JavaScript is the programming language that excites him the most.

                                                              How do you work in a start up and still have free time?

                                                              He tries to find an overlap between the work he's doing in the startup and work he does in his spare time. This is why he had previous work that was completely Angular (Angular Seed). This startup is more complicated because the overlap isn't as much.

                                                              What is Codelyzer?      

                                                              Last year, he worked on the Angular Style Guide. He thought it was a good idea to have an automated way to verify a given project that follows the Angular Style Guide. He built on top of that and built Angular and provided similar style checks on top of templates, Angular CSS Styles inside of the components, and the Angular expressions inside of the templates. Codelyzer is a tool for static code analysis for Angular applications.

                                                              How is it used?                                              

                                                              It can be used as a set of rules on top of tslint. You install it with mpm. Then tslint performs static analysis and verifies whether the source code follows some style guidelines that our team has agreed upon. When Codelyzer is used, we can also analyze the templates on Angular applications. After that, you can confirm it follows these rules by running tslint on top of the entire project.

                                                              How many of the default tslint rules do you agree with?

                                                              Minko states that that is a lot of tslint and Angular rules that align and that he agrees with most of them. He does admit there are some he finds annoying, such as specific semi colon rules. Overall, he believes that if the team has agreed upon the rule, it is following in order to avoid arguing.

                                                              What do you recommend as the best way to add Codelyzer to a project that started without it?

                                                              He thinks you should add one rule at a time. All the wordings will be fixed one by one, eventually fixing the entire project. He has also started working on style analysis on top of the application, which is performance analysis. He doesn’t know what data the application will process. But he still considers that a given component will have performance if it has a huge -- in the template. So static analysis we can find such templates and eventually warn the users about eventual performance issues that are possible.

                                                              How hard is it to add or change in Codelyzer?

                                                              It might be slightly harder compared to tslint because there are more things that can be statically verified. In Tslint there's a visitor pattern. There is a classical design from the Ganga; it is used for the reversal of syntax 3 of a Typescript code. So when you implement the visitor pattern, you visit a specific construct, verify whether the name follows some guidelines. It is pretty much the same thing in Codelyzer but you can also implement the same visitor pattern for visiting the template of the component. Currently, the project has more than 20 contributors. It looks complicated but not if you spend 30 to 40 minutes looking at the code.

                                                              What was the motivation behind going deep into Angular?

                                                              The style was easy for static (automated) verification. This way saved a lot of time from code reviews. Code reviews still have to be performed, but at least can skip the verification from style guides because they can be automatically done.

                                                              He likes compilers, it is the front end of a compiler: analyzing Syntax 3 part of a compiler itself interesting algorithms. There is another rule from Codelyzer being worked on that isn't completely stable yet. It is to find out which styles are actually used inside of the template. Codelyzer can find out some of the styles that are no longer applied to some of the styles within the template. This is not ready yet but it will be ready in a couple of configurations.

                                                              Is the idea of searching through of finding either redundant or non-used style, is this something Codelyzer's doing for the very first time (no one has ever done it) or are there tools that this would replace?

                                                              For Angular, there is no other tool like that. JavaScript or HTML may be close. The Browser can do that.

                                                              If I want to write a rule do I take the abstract syntax and tell it what to look for? How does that work?

                                                              You can’t learn it by heart, so I usually copy and paste the existing code and then modify it. It is a standard typescript rule so you need to provide an abstract rule; you'll need to provide the visitor. If the rule is super complicated, you need four visitors.

                                                              Are you relying on tslint to break things down into tokens and the abstract syntax and then doing the work from there?

                                                              Yeah. I did some extensions of tslint. Just extending tslint because it would have been too much work to create something from scratch. He is relying on tslint’s error reporting.

                                                              So in order to set this up on a CI machine, it needs to be able to run node and install some mpm packages?

                                                              Yes. Run node, install tslint, install Codelyzer and have this rule directory with the Codelyzer rules inside tslint.

                                                              Is there a visual proof for knowing what the rule does?

                                                              There is documentation on codelyzer.com/rules.

                                                              Picks:

                                                              Shi:

                                                              • Reflect API
                                                              • Driving on the right side of the road
                                                              • Minko Gechev
                                                              • Alyssa:

                                                                • Apple Airpods:https://www.apple.com/airpods
                                                                • Crutches

                                                                  Lukas:

                                                                  • iPhone 7+ portrait mode: https://techcrunch.com/2016/09/21/hands-on-with-the-iphone-7-plus-crazy-new-portrait-mode/
                                                                  • Vulfpeck-1612: https://www.youtube.com/watch?v=jRHQPG1xd9o
                                                                  • Charles:

                                                                    • Angular Dev Summit www.angulardevsummit.com
                                                                    • Minko:

                                                                      • Pixel: https://madeby.google.com/phone/
                                                                      • Angular IO: https://angular.io/
                                                                      • Philip Wadler’s Monads for Functional Programming: http://homepages.inf.ed.ac.uk/wadler/papers/marktoberdorf/baastad.pdf
                                                                      •  

                                                                        42 min