
Sign up to save your podcasts
Or


John Epperson has been doing ruby for 12 years and is a friend of Andrew Mason. He got into Docker a couple years ago and felt like something was missing, so he wrote Shiplane. He liked Docker because it was a promise that he could delegate a lot of the manual devops work to something else, and that something else was able to automate all of it. What he noticed was if you have a Docker thing in development and want to transfer it into production, there was no clear path to get a Docker item from development to production. The process wasn’t truly automated, so he created ShipLane in an attempt to automate it.
ShipLane solves this problem by assuming that you have a box out there, whether it’s a VM or an actual physical box, and you have SSH access to it. It logs in, it makes sure you have Docker installed, and gives you the ability to actually take your development docker compose, and convert it to a productionized version. It also hooks in to Capistrano and replaces that with ShipLane commands. Right now ShipLane is using Docker Raw and creates a network for your stuff to work within, deploys your containers, and then your service is up and running. There are different tools you can use to run Docker in production, but John didn’t want to run containers by using Docker Run with a bunch of stuff after it, didn’t want to maintain a custom script, so he automated it. John is currently working on a version that will translate your Docker Compose files into Kubernetes YAML files.
There’s a lot of choices to be made in Rails, none of which are wrong, but one choice begets many more, and there’s so many to make and so many consequences it’s difficult to know your path, and ShipLane provides clearer a path. John talks about how to get started with ShipLane. First, you need to gem install ShipLane and Capestrano, put it in your bundle file, and require it in Capestrano (there’s a generator). It has Capestrano listed as a dependency requirement. Andrew has used ShipLane and found it very quick and effective, only took them about 30 minutes. John asks for feedback from users on ShipLane, since many people are using it but no one has given any.
John talks about the versatility of ShipLane as a general solution. He addresses some concerns that people have about putting stuff into containers, and assures them that ShipLane is intended to work right out of the box. It is important that when containerizing services available on the platform of our choice to step back and question if you creating this infrastructure correctly. They discuss some methods for deciding what goes into containers.
The panel discusses some of the advantages of Docker, particularly deployment time. Everything is already bundled, the assets are precompiled, so it cuts your deployments down a lot. They talk about different frameworks for Ruby that they like for their scaling abilities, such as Docker, Kubernetes, and Elastic Beanstalk. While Elastic Beanstalk is not one of the primary targets of ShipLane, it is designed as a generalized path to go from development to production, so it shouldn’t matter what your production target is in the end. If you’re gonna pick a provider that isn’t one of the big 3, then ShipLane is a great option
If you’re picking a SASS provider, there’s always a possibility that it isn’t compatible with the generalized version, but if we’re targeting Kubernetes it should generally work.
The panel discusses the general advice not to use Docker in development and whether or not it has merit. John finds that flips back and forth between projects, and those projects all have different dependencies, so Docker makes it easier to switch between projects because he doesn’t have to think about the dependencies. They talk about how John manages his Docker /compose version with these various projects. They all agree that Kubernetes should not be run locally.
Finally they discuss whether tools like ShipLane are the next step with Docker. They believe that containerization is here to stay, but the only thing that might remotely threaten Docker is going back to bare metal development or going serverless. They discuss whether going serverless kills Docker. Ultimately, the most important thing is that the problem gets solved.
Charles Max Wood
Andrew Mason
David Kimura
With special guest: John Epperson
Sentry use the code “devchat” for 2 months free on Sentry’s small plan
Cloud 66 - Pain Free Rails Deployments Try Cloud 66 Rails for FREE & get $66 free credits with promo code RubyRogues
React Round Up
Links
ShipLane
Mountain West Ruby 2016 - Surviving the Framework Hype Cycle by Brandon Hays
Docker
Capistrano
Docker Swarm
Kubernetes
Docker Compose
Chef
Puppet
Digital Ocean
Postgress
Sinatra
Elastic Beanstalk
Follow DevChatTV on Facebook and Twitter
Charles Max Wood:
VESA adjustment for your monitors
Velcro strips
For Love of Mother Not
David Kimura:
Grapes.js
Mario Kart Tour
Andrew Mason:
Hacktoberfest
Chuck
John Epperson:
Glenscotia 15 year scotch
Immortals book
Follow John on Github, on rockagile.io, and Twitter
Dinesh Pandiyan is a developer from India. He started as a backend engineer and then moved to frontend. Currently he is working for ThinkMill in Sidney, Australia. Today Dinesh and the panel are talking about devtools and progressive SSR.
Dinesh got started with React Redux. The panelists talk about their experiences using primarily Redux for projects. Dinesh talks about his transition from backend to frontend and how it’s a totally different world. On the backend he was working in Java and it ran on a server, but on the frontend, code runs in a browser and the browser is very different for each user. Frontend development is tricky because you don’t know where your code is going to run.
One of the trickiest parts of frontend development is debugging something in production. Unless you have good logging tools, you won’t know what’s going on. Debugging this stuff when it’s running on client browsers is hard, but when you’re in development mode your own browser you’ve got handy tools.
They talk about some of the tools in React, and agree that console.log is the greatest debugging tool of all time. Dinesh talks about some of the most surprising features about React dev tools. You can benchmark your preferences and identify weaklings in your project, which are things that slow down your application or things that might slow it down. On an application level, you have to build a mental model of how the data flows from the top, where things change, etc, and dev tools can help you build that pretty easily. They talk about how things had to be done before great React tools. In fact, Dinesh chose React just for the devtools. They talk about how the dev tools for React compare to Java. The most important thing is that you have a good debugger that can stop where you want it to.
They transition to talking about the differences between SSR and progressive SSR For SSR (Server Side Rendering), rendering happens on the server and you send it to the client. CSSR (Client Server Side Rendering) is when all the rendering happens on the client’s side. PSSR (Progressive Server Side Rendering) is where you render small chunks on the server and then send it to the client bit by bit. They talk about how this has been occurring from the beginning of the internet. This concept is similar to microfrontends.
Dinesh gives advice on how to implement PSSR. He says that when you surver render, it loads on differently. Your framework has to do one complete pass of the histiema, so this means you cannot send things to the client until the whole histema is designated. To beat this they’ve been doing a mix of SSR and CSR, with the header, body, and non critical content rendering on the client side. PSSR bridges the gap between SSR and CSSR.
How do we make it real and how do we use it?
The panel discusses ways to make PSSR a reality. Dinesh has been experimenting with it with extra services, and he gives his method for doing it, emphasizing the importance of where you divide your code is very important, it has to be in sequence. CSS Grid solves this problem, so you could render things out of order and the browser puts it in the right spot. They talk about other ways to get around it. Lucas shares some of the difficulties he’s encountered with streaming and rendering. They talk about the new feature for the Phoenix framework for Elixir, Live View Now. For this feature, you don’t need client side frameworks to generate dynamic content and it enables two way streaming. However, it does not scale well for extremely large apps. They talk about some of the tradeoffs for using this feature. They conclude by discussing the gap between website optimization and device performance.
Panelists
Thomas Aylott
Dave Ceddia
Lucas Reis
With special guest: Dinesh Pandiyan
Progress KendoReact | Try now for FREE: kendoreact.com/reactroundup
Sentry use the code “devchat” for 2 months free on Sentry’s small plan
My JavaScript Story
Links
React Redux
Console.log
Puppeteer
Webpack
Datadog
CSS Grid
Transport headers
Phoenix
Elixir
Follow DevChatTV on Facebook and Twitter
Lucas Reis:
Ben Hoyt Wholesome Learning Elm
Cast iron skillet
Thomas Aylott:
6 Lessons Children Need to Learn
Dinesh Pandiyan:
To-Do List app
David Ceddia:
On the Utility of Phoenix Live View
Joe Leo joins Charles Max Wood on this week's My Ruby Story. Joe is the Founder and CEO of the agile software consultancy, Def Method. He shares his journey as a developer. Joe was tutored by his uncle and learned how to code in Basic on a command line. He wanted to be in the music industry and liked math.
Joe is currently working on holistic product development and is delving into areas such as what makes a good product manager and what makes a good product design. Charles and Joe talk about difficulties in quantifying good product management skills or writing tests and other non-coding aspects that surround making a product.
Host: Charles Max Wood
Joined by Special Guest: Joe Leo
Sentry use the code “devchat” for 2 months free on Sentry small plan
React Native Radio
My Angular Story
CacheFly
RR 423: The Well-Grounded Rubyist with David A. Black & Joseph Leo III
The Well-Grounded Rubyist: Covers Ruby 1.9.1 by David A. Black and by III Joseph Leo (Author)
Joe's LinkedIn
Def Method
https://devchat.tv/blog/what-really-makes-a-10x-engineer/
Joe Leo
https://www.kobee.io/
ACR 2019 Ruby·Rails·React Conference
Charles Max Wood
Sign Up on Devchat.tv for our weekly episode round-up
How to Stay Current in Technology Effectively in 2019
All In by by Adrian Gostick and Chester Elton
For Men Only by Shaunti Feldhahn, Jeff Feldhahn
In this episode of My JavaScript Story is Charles talks to Eduardo San Martin Morote. Eduardo is a freelance developer, a core team member of Vue.js, and loves contributing to open source. Eduardo started web development with games. He then majored in Computer Science and Mathematics.
Eduardo works as a freelancer so he can work on Open Source projects in his free time. One of the problems he draws attention to is the sustainability of Open Source Projects. The developers that maintain the projects on Open Source are not funded, and even though many companies use Open Source code they don't have sponsor it even though they have the financial means to do so.
Charles Max Wood recommends another podcast Devchat.tv hosts, Sustain Our Software that addresses this problem among others for Open Source.
Eduardo and Charles talk about characters that have accents that have to be encoded and how they deal with this problem. Eduardo then talks about some of the projects he is working on currently with Vue.js.
Sentry use the code “devchat” for 2 months free on Sentry small plan
Adventures in Blockchain
Adventures in DevOps
CacheFly
Host: Charles Max Wood
Joined by Special Guest: Eduardo San Martin Morote
VoV 038: Webassembly and Typescript with Eduardo San Martin Morote
VoV 010: “Vue Libraries, Open Source, Meetups” with Eduardo San Martin Morote
Eduardo's LİnkedIn
Eduardo's Twitter
J2EE
jQuery
Eduardo San Martin Morote
Tajin
Eduardo's GitHub
Charles Max Wood
Subscribers
Subscribe to your favorite podcast on Devchat.tv
https://canny.io
Suggest a Topic or a Guest for your Favorite Podcast on Devchat.tv by clicking on Suggest A Topic Or Guest
Guest Paige Niedringhaus has been a developer full time for 3 years, and today she is here to talk about Node 12. One of the things she is most excited about is the ES6 support that is now available, so things that used to require React, Angular, or Vue can now be done in Node. The require function will not have to be used in Node 12. AJ is worried about some of these changes and expresses his concerns. Paige assures him that in the beginning you won’t have to switch things to imports. You may have to change file extensions/types so Node can pick up what it’s supposed to be using. They are also trying to make it compatible with CommonJS.
Node 12 also boasts an improved startup time. The panel discusses what specifically this means. They talk about the code cache and how Node caches the built in libraries that it comes prepackaged with. The V8 engine is also getting many performance enhancements.
Paige talks about the shift from promises to async. In Node 12, async functions will actually be faster than promises. They discuss some of the difficulties they’ve had in the past with Async08, and especially callbacks.
Another feature of Node 12 is better security. The transcripted security layer (TLS), which is how Node handles encrypted strains of communication, is upgrading to 1.3. The protocol is simpler to implement, quicker to negotiate sessions between the applications, provides increased end user privacy, and reduces request time. Overall, this means less latency for everybody. 1.3 also gets rid of the edge cases that caused TLS to be way far slower than it needed to be.
The conversation turns to properly configuring default heap limits to prevent an ‘out of memory’ error. Configuring heap limits is something necessary when constructing an incredibly large object or array of objects. Node 12 also offers formatted diagnostic summaries, which can include information on total memory, used memory, memory limits, and environment lags. It can report on uncaught exceptions and fatal errors. Overall, Node 12 is trying to help with the debugging process. They talk about the different parsers available and how issues with key pairing in Node have been solved.
Paige talks about using worker threads in Node 12. Worker threads are really beneficial for CPU intensive JavaScript operations. Worker threads are there for those things that eat up all of your memory, they can alleviate the load and keep your program running efficiently while doing their own operations on the sideline, and returning to the main thread once they’ve finished their job. None of the panelists have really used worker threads, so they discuss why that is and how they might use Worker Threads in Node 12.
In addition, Node 12 is making Native module creation and support easier, as well as all the different binaries a node developer would want to support. Paige makes it a point to mention the new compiler and minimum platform standards. They are as follows:
GCC minimum 6
GLIVC minimum 2.17 on platforms other than Mac and Windows (Linux)
Mac users need at least 8 and Mac OS 10.10
If you’ve been running node 11 builds in Windows, you’re up to speed
Linux binaries supported are Enterprise Linux 7, Debian 8, and Ubuntu 14.04
If you have different requirements, go to the Node website
J.C. Hyatt
Steve Edwards
AJ O’Neal
With special guest: Paige Niedringhaus
Sponsors
Tidelift
Sentry use the code “devchat” for 2 months free on Sentry’s small plan
Sustain Our Software
Links
Async
CommonJS
njs
Promise
Node
Event Stream
llhttp
llparse
LLVM
Papa Parse
Json.stringify
Json.parse
Optimizing Web Performance TLS 1.3
Overlocking SSL
Generate Keypair
Follow DevChatTV on Facebook and Twitter
J.C. Hyatt:
AWS Amplify framework
12 Rules for Life: An Antidote to Chaos by Jordan Petersen
React and Gatsby workshops
Steve Edwards:
The Farside comic coming back?
AJ O’Neal:
Field of Hopes and Strings
Link’s Awakening
Dune
Paige Niedringhaus:
DeLonghi Magnifica XS Automatic Espresso Machine, Cappuccino Maker
CONNECT.TECH Conference
Follow Paige on Twitter, Medium, and Github
In this week’s episode of Elixir Mix the panel interviews Travis Elnicky, software architect at Podium. Podium is Utah based company that has been using Elixir for three years. Travis explains Podium’s history and its experience adopting Elixir.
When Travis started at Podium they were a small startup with, he was their 16th employee. They were using Ruby on Rails and focusing on collecting reviews for local businesses. When they saw a need for a messenger application, they tried a few solutions choosing Elixir because of the familiarity they felt coming from a Rails background. After switching to Elixir, Podium grew rapidly. Now Podium has 700 employees, 130 of whom are engineers.
Travis discusses with the panel how things are run over at Podium. Their teams are aligned around products and features. This makes all their engineers' full-stack developers. Podiums teams run with a lot of autonomy, they also have teams that help with internal tooling to tie the products together.
The panel is curious about the recruitment process at Podium. Travis explains that their hiring is mostly based on referrals, which they found has been pretty reliable. The panel discusses the value of referrals incentives programs. By hiring referrals they save money placing ads and going to fairs. Referrals tend to be more aware of the job they are going into and already have a friend to help them transition jobs and frameworks.
Next, Travis walks through what it is like for a new hire at Podium. After onboarding, the new hire sits down with their team lead and codes, taking it all the way to production. The panel considers the advantages of new hires diving in, whether or not they know Elixir. It introduces them to the work they will be doing, gives them confidence by contributing to the team, and the one on one attention shows them the culture of unity at Podium.
Podium has a lot to offers its developers. It has a team whose focus is internal developer experience. Podium maintains a focus on learning and growing in Elixir. They offer training for those who are unfamiliar with Elixir. Once per week, they do a Nerd Lunch, the company buys them all lunch while Podium engineers teach their fellows about software.
Elixir 101 training also happens every week and is also taught by Podium engineers. Allowing Podium engineers to teach gives learners a chance to teach which in turn helps them learn. It also allows engineers to network outside their assigned teams. The panel considers how people-centered all the solutions are at Podium.
The panel wonders if Podium ever uses outside trainers or services. Travis shares the wonderful experience they have been having by using Plataformatec’s Elixir Development subscription. He says it has been incredible to be able to jump on a call, talk to them and get some feedback. Using the subscriptions allows their senior developers to level up, while the other classes and lunches helps the junior developers to level up.
Podium recently sponsored ElixirConf and send a big crowd to a few different conferences every year. Travis explains the value of the conference is not only in the education received by the engineers who get to go. At Podium, the engineers who go to the conferences then come back and present what they learned at the conference, sharing what they think Podium could apply to their stack. This makes the conferences valuable to the entire team.
The last topic the panel discusses in the episode is the CI at Podium. The panel explains that most of the feedback for a new developer should be coming from the CI. Travis explains how the CI is set up. When he started they were using Github and has moved to Gitlab. They use credo checks, unit tests, sobelow, and dialyzer.
The panel asks about Elixir formatter and how they check format in the CI. Travis explains what he likes about credo and gives tips for running it. The panel has Travis introduces sobelow and what it does for Podium. Dialyzer is considered by the panel, they explain the trade-off of using dialyzer while sharing times that it had saved their bacon.
Panelists
Mark Ericksen
Eric Oestrich
Michael Ries
Travis Elnicky
Sentry– use the code “devchat” for two months free on Sentry’s small plan
Sustain Our Software
Views on Vue
CacheFly
Two Years of Elixir at Podium: Thoughts
https://www.podium.com/
http://pages.plataformatec.com.br/elixir-development-subscription
https://docs.gitlab.com/ee/ci/
https://github.com/rrrene/credo/
https://github.com/nccgroup/sobelow
https://hex.pm/packages/dialyxir
https://hexdocs.pm/mix/master/Mix.Tasks.Format.html
https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/calendar.ex
https://github.com/jeremyjh/dialyxir#explanations
https://www.linkedin.com/in/travis-elnicky-4a3b2844/
https://twitter.com/_elnicky
https://twitter.com/podium_eng?lang=en
https://www.facebook.com/Elixir-Mix
https://twitter.com/elixir_mix
Mark Ericksen:
https://thinkingelixir.com/
Eric Oestrich:
Links Awakening
Michael Ries:
Hacktoberfest
https://nats.io/
Travis Elnicky:
Designing Elixir Systems with OTP
Dillon Kearns is an Elm consultant who provides coaching and training to help people accelerate the way they write Elm to keep their codebases maintainable as they grow. He's the author of elm-graphql, and recently announced a new static site framework, elm-pages.
Today the panel is discussing how building libraries and frameworks can aide with the learning process. Dillon talks about how building frameworks and working with languages has helped him. He uses them as a laboratory to learn new techniques. When working on a library or framework, he always tries to bring his best programming self to that project.He believes that libraries and frameworks are a low risk way to practice your skills because they’re unlikely to get adopted when you’re starting out.
The panel defines what libraries and frameworks are and how they differ from one another. Libraries and frameworks are a type of project, with a library solving a specific class of problems. A framework is plugable and can be extended to solve problems that a framework author may not have imagined, though it does a set of core things. A library is something you put into your existing code base, a framework is the core you’re building on top of. They talk about an article, The Difference Between a Library and a Framework, that compares a library to a trip to Ikea when you already have a home, but you need to fill it with furniture, and a framework to building a home.
Next they talk about how libraries and frameworks are built and who builds them. Both are often built in open source, and some are funded by big companies while some are passion projects. They talk about the libraries that they’ve created and how it helped them to become a better developer. When Preston Lamb builds libraries, he learns how to do things he’s never done before. He doesn’t have a huge user base, but he finds it fun to sit down and have an idea, figure out how to do it, and make it reusable. Jesse Sanders talks about the company Rebug, and how somebody gave him the idea to write it as a schematic. Making libraries and frameworks is a continual way for developers to take a look at situations they don’t come across a lot and put them in a different mindset to make things truly reusable so that it can be adopted by others in the community. Dillon has found that making Elm GraphQL has given him the chance to be involved in very interesting conversations in the community. Creating a library or framework gives you the opportunity to be considered an expert in something and see they types of questions people are asking, problems they’re solving, and their interesting approaches.
The panel talks about the difference between fluency and understanding, and agree that one of the best ways to learn is by teaching. By being involved in creating a library, you’re seen as an expert in that library, so people come to you with their questions and you have to figure out how to answer them. One of the most valuable things about building a library or framework is learning the core basic concepts of the language.
They agree that it is best to start this kind of project as soon as you find something that interests you, and assure listeners that even if you mess it up and it’s never used, the learning experience is the true value. Often times, you’ll surprise yourself and make something that’s actually useful. Building or contributing to frameworks takes away the mystery and magic of programming, makes problems seem more approachable, and helps you understand the fundamentals. To find a project to contribute to, they suggest checking Twitter, Slack channels, and Github. If you find a library you like on Github, they’ll often have a #goodfirstissue, and you can tackle that problem to get started. Listeners are encouraged to be curious and look up source code on Github if you ever have a question to see how different libraries tackle this problem.
Finally, they talk about how to decide what requires a small exercise and what requires a library or framework. If the goal is short term, it only requires a small focused exercise. If the goal is long term or you find yourself doing the same thing repeatedly, consider a library or framework to make that code reusable and publishing it for others to use. Their closing thoughts are don’t focus on making something popular, just make something useful to you and maybe someone else will find it useful, and a reminder that there’s something to learn from everybody. Always have an open mind and try to get clarity on what someone is saying, even if it sounds like a bad idea at first.
Brooke Avery
Jesse Sanders
Preston Lamb
Sam Julien
Mike Dane
Luis Hernandez
With special guest: Dillon Kearns
Sponsors
Thinkster.io
Sustain Our Software
React Native Radio
Links
Elm
The Difference Between a Framework and a Library
Angular
Elm GraphQL
Follow DevChatTV on Facebook and Twitter
Dillon Kearns:
Non-Violent Communication: A Language of Life by Marshall B. Rosenberg
Incremental Elm Consulting
Follow Dillon on Twitter, LinkedIn, and Medium
Preston Lamb:
One Second Every Day
Jessie Sanders:
Crashlands
Mike Dane:
FUNCL bluetooth headphones
Luis Hernandez:
Svelte framework
Brooke Avery:
Star Wars Drones (check Costco first)
On this episode of Adventures in DevOps the panelists talk about how to containerize an app in a container using services such as Docker or Kubernetes. Charles mentions that he is wanting to host a Ruby on Rails application and Scott has experience with web deployments in Python and Django. They share that regardless of the languages and technologies used, the principles behind deploying a containerized application are the same.
The next topic covered by the DevOps panelists is how to create containerized instances using Docker. The discussion centers on creating the container instances on a network and best practices that can be used for managing and maintaining them. The DevOps panelists cover the difference between an internal network deployment and what is needed to push a containerized application to a cloud instance using Kubernetes, Docker, DigitalOcean, or another service. Scott asks Charles if he is using a good CI/CD (continuous integration/ continuous delivery) mechanism, to which Charles shares that he is using Cloud 66 for its ease of use. When it comes to storage, they discuss whether to use the cloud services storage option or using a container to run a Postgres engine. They also go over the best way to run the shell commands for configuring their environment.
The topic then moves to security and asset management when using Docker. Charles mentions that he tries to avoid putting API keys or other secrets into the Docker file and Scott shares how he uses a secrets management platform such as AWS Parameter Store, AWS Secrets Management, and others. They discuss the benefits that are provided by secrets management platforms. The DevOps panelists also talked about how a CI/CD platform can help with the portability of a containerized application
Charles asks Scott how to begin with helping someone who wants to take their existing application and containerize it using the Docker approach. Scott responds with describing how he would look at where there application is and help them configure their containerized instance and set it up on a container service such as Docker or Kubernetes. Scott mentions that the strength of moving an application to a container service helps the application to scale up and down as needed. The container model helps a team to locally replicate their CI/CD model and be able to test it locally before the application is pushed to the cloud instance.
The panelists talk about reverse proxies for pushing a Ruby on Rails app. Chuck prefers nginx and Scott emphasizes that it is important when pushing to production to spend some time verifying that the reverse proxy configuration is correct and won’t expose the application in a way that it shouldn’t be. Chuck shares that the use of a cloud platform such as GCP (Google Cloud Platform) of Microsoft Azure reduces the overhead with configuring containers and building images so that when he hands it off to the platform, it will take care of a large part of the setup including creation of the reverse proxy.
Panelists
Charles Max Wood
Scott Nixon
Sponsors
Sustain Our Software
Views on Vue
Dev Ed
Links
Docker
Kubernetes
Ruby on Rails
Python
Django
Cloud 66
PostgreSQL
DigitalOcean
Bitbucket
Google Cloud Platform
Microsoft Azure
AWS Parameter Store
AWS Secrets Manager
Nginx
Picks
Charles Max Wood
Height Adjustable VESA Adapter
Velcro Strips
Scott Nixon
The Gymkhana Files
The Grand Tour
In this week’s episode of Adventures in Angular the panel has fun interviewing Narwhal rocks star and NgRx expert, Wes Grimes. Wes starts by sharing how he got started in NgRx. In a previous company, Wes was the lead architect for a project that had need of a state management solution, so it was his job to figure out how to use NgRx. While figuring it out he created a structure for using NgRx and used that structure to write a blog article about best practices for NgRx.
This blog article took the world by a storm and now has over 200,00 views. People are now building libraries and courses based on his article. The panel has a little considering the possible searches that lead people to his article. Jennifer Wadella shares some of the weirder searches that have led people to her posts. After their fun, the panel tries to get back on track.
This article thrust Wes into the world of helping people understand NgRx, what he calls a mystical machine. He explains how this article was only the beginning of learning NgRx and that he is currently working on revising that first post. The main point covered in the article was how to organize the store and how to store it in the file system. It walks through creating angular modules for each slice of the store. The second point is covers heavily is the use of barrels.
The biggest problem Wes see people run into in NgRx is they do not know where all their actions are. He shares the solution he uses for this problem, using a public API to group actions so they are easier to find. The panel expresses their frustration with the hard time the CLI has with barrel files. Wes explains why this is a common problem and shares a solution.
The panel asks for other gotcha’s to watch for when using NgRx. Wes explains how and what developers miss out on when they fail to use selectors to their fullest. When selectors are used correctly and completely developers receive all the benefits of the testing they do on NgRx. The other benefits are builtin memoization and reusability.
Another gotcha he warns against is using facades before fully understanding NgRx. This really fires up the panel, who then debates the use of facades in NgRx. Aaron Frost expresses his opinion that NgRx isn’t for everything and that by using facades you may not need to use NgRx. Wes explains that the large companies he works for are already committed to NgRx as their solution and he advises them not to use facades.
Wes explains the downsides of using NgRx, the first is when developers jump in before they understand it and back themselves into a corner. Another downside is the upfront investment cost when learning NgRx.
The panel jumps in wondering what Wes thinks of hiding those developers unfamiliar in NgRx with a facade. Wes explains how in doing this the team would be compromising architecture in order to avoid teaching developers to use NgRx properly. He clarifies that he doesn’t think facades are bad but in order to use them correctly in NgRx developers must first understand how NgRx works. Aaron explains why when working with developers unfamiliar with angular he advises them not to learn NgRx right away.
Wes shares how he has seen developers misuse facades. When using a facade it entices developers to hop back and for between imperative and declarative code. Aaron jumps in and explains that imperative code in reactive programming is very bad. He invites listeners to go out and learn more about this because it is very important to understand.
The panel considers strategies to help teams code reactively. Wes recommends requesting data from the server. This pattern is straight forward to implement and handles a lot of the common use cases in the store. Aaron suggests turning off default change detection, doing so will force the programmers to code reactively. Another way suggested is to structure teams separating concerns.
The episode ends with Wes sharing his experience joining the NgRx core team by working in the documentation, filling in gaps that he found. He also shares what will be coming to NgRx. The platform will be expanding beyond just state management, supplying reactive libraries for angular. They are also getting ready for an experimental release of NgRx component.
Aaron Frost
Brian Love
Jennifer Wadella
Shai Reznik
Alyssa Nicoll
Wes Grimes
Sentry use the code “devchat” for 2 months free on Sentry small plan
Angular Bootcamp
Flatfile
Cachefly
NgRx — Best Practices for Enterprise Angular Applications
The Facade of NgRx Facades
Building with Ivy: rethinking reactive Angular | Mike Ryan | #AngularConnect 2019
https://twitter.com/wesgrimes
https://www.facebook.com/adventuresinangular
https://twitter.com/angularpodcast
Brain Love:
The Great Hack
Shai Reznik:
RxJS: A Better Way To Write Frontend Applications - Hannah Howard - JSConf US 2018
Complex Features Made Easy With RxJS - Ben Lesh
Aaron Frost:
Lizzo
Jennifer Wadella:
https://twitter.com/began_7/status/1177880930549223424
https://github.com/vmbrasseur/Public_Speaking
Wes Grimes:
ngGirls
In this week's episode of Adventures in Blockchain, Charles Max Wood interviews Eric Berry and Kevin Owocki, discussing open source sustainability using blockchain. Eric Berry is a panelist on Sustain Our Software podcast and runs Codefund. Kevin is the co-founder of Gitcoin. Our guests start by explaining what each of their companies does and how they help sustain open source.
Kevin explains that Gitcoin is a place you can get coin if you are a software engineer working in open source. Their mission is to support open source software. Kevin discusses how blockchain creates new hope for open source sustainability. One project Kevin introduces that helps move them towards their goal is called bounties. Bounties allow engineers to collect cryptocurrency for work they do in opensource.
Codefund is an ethical advertising platform that is specifically run to grow and sustain open source. Eric shares how they do this by inviting bloggers, application builders, and other maintainers, to put a small bit of code on their sites that specifically advertise what they are doing. This allows them to receive passive revenue constantly without having to spend time marketing.
Gitcoin and Codefund are related, Kevin and Eric share the story of how they started helping one another. When Kevin was building Gitcoin he met Joseph Lubin, co-founder of Ethereum and was invited to join ConsenSys. Using his work with ConsenSys as a stepping stone Gitcoin was able to level up. At this point, Eric reached out to Kevin because he was looking for a way to more easily distribute funds.
Next, the panel considers how sustaining open source is made easier through open source. In the blockchain ecosystem, there is a lot more liquidity and a lot less bureaucracy. Kevin explains that when people think of blockchain they only see bitcoin prices and miss all the potential that the blockchain has.
There are many problems paying people with “real” currency. For example, credit card companies take fees, transfer money across borders is difficult and worst of all there are knowledge workers that don’t have access to a stable financial system like in parts of Africa. By using the blockchain to pay these great developers can work for western companies and in open source.
Eric shares how he uses the blockchain to pay maintainers and advertisers. The inbound advertisers at Codefund are already using eth and dai, which is easily turned around to pay their publishers. Currently, it is not all done on the blockchain, Eric explains what it looks like paying everyone. Codefund's goal is to eventually be completely on the blockchain and to be constantly paying their maintainers.
Taxation is something discussed on this weeks Sustain Our Software, Eric brings it up in hopes of hearing Kevin’s take on taxation in the blockchain. Kevin explains that he wrote an EIP or Ethereum improvement proposal, block reward funding for open source maintainers. The blockchain has miners who receive coin for the work they do. Those miners use an algorithm to show proof of work. Open source maintainers do work for the blockchain as well and his proposal says that maintainers should receive coin for what they do for the blockchain. The problem that some have with this idea is that it is hard to prove the software they are writing will directly impact the blockchain or that it even got done.
The panel considers ways to prove the value created by maintainers and how paying maintainers show them they are valued. Burn out is a big obstacle for the maintainability of open source. Everyone has responsibilities, to family and other things and its a shame when those doing open source have to quit because they can’t meet those responsibilities. The panel discusses ways that we can help maintainers not burn out. They also talk briefly about entitlement in open source, Kevin introduces his no asshole policy.
Charles asks Kevin to explain how Gitcoin’s bounty network works. The architecture of Gitcoin’s bounty network uses the smart contract in Ethereum called standard bounties, which acts as an escrow function. When an issue is posted it goes into standard bounties which holds the eth. When someone starts the work they are put in contact with the funder and when they submit their work they get paid.
Kevin explains the rules of social etiquette in the network that keeps everyone happy. He shares some of their results and statistics and explains how disputes are handled. They will be launching a new service called Gitcoin grants, which uses CLR matching. Kevin also explains how they use monthly hackathons to help the open source community.
Eric takes a turn to explain what Codefund is doing to help in open source. They will be releasing a Codefund sponsorship service, this will help open source projects to find the right sponsors. He tried something similar in 2017 with some promising results but was shut down Github. Now that they have worked it out with Github they will be trying again. Charles having remembered their first attempt shares some of his feelings about Codesponsor and his excitement that they will be trying again.
To end the episode the panel reiterates how blockchain could change the financial world. Kevin compares it to how the internet changed the world, at first it was slow but it grew and changed. Charles compares it to the discovery and growth of the radio. The panel considers how the blockchain will evolve and what it could mean for the future of the world.
Charles Max Wood
Eric Berry
Kevin Owocki
React Native Radio
Adventures in DevOps
The Freelancers Show
CacheFly
________________________________________________________________________________________________________________________
"The MaxCoders Guide to Finding Your Dream Developer Job" by Charles Max Wood will be out on November 20th on Amazon. Get your copy on that date only for $1.
________________________________________________________________________________________________________________________
Disrupting Open Source Sustainability
Sustain Our Software
CodeFund
GitCoin Results
Gitcoin
OSCoin
The Master Switch: The Rise and Fall of Information Empires
Join The Blockchain Developer Bootcamp
https://www.facebook.com/Adventures-in-Blockchain-1180850735452512/
Charles Max Wood:
MaxCoders.io
The United States of Trump: How the President Really Sees America
Eric Berry:
AirPods Case
Open Collective badge project
Kevin Owocki:
Sustain Web3 Conference in Boulder, Colorado, Feb 2020
Kinesis Advantage2 Ergonomic Keyboard (KB600)