
Sign up to save your podcasts
Or


Panel:
Special Guest: Brady Gaster
In this episode, Chuck talks with Brady Gaster about SignalR that is offered through Microsoft. Brady Gaster is a computer software engineer at Microsoft and past employers include Logical Advantage, and Market America, Inc. Check out today’s episode where the two dive deep into SignalR topics.
Show Topics:
0:00 – Advertisement: AngularBootCamp.Com
0:56 – Chuck: Hello! We are going to talk about SignalR, which is an offering through Microsoft.
1:09 – Guest: It started in 2011 that’s when I got involved, but I wasn’t with Microsoft, yet, at that point. I was working on the technology, though.
Effectively you can do real time HTMP but what they did (Damon and David) let’s create a series of abstractions but not we have for Java. They basically cam up this idea let’s do web sockets and then go back to pole / pole / pole. It’s to see what the server and the client can support.
Guest talks about Socket.io, too.
6:45 – Chuck: What we are talking about real time coordination between apps.
6:56 – Guest: Web sockets, 1 million...and 2.6 million messages a second!
7:05 – Chuck: I can set that up like I usually set up web sockets?
7:17 – Guest: There is a client library for each. Effectively you have a concept called a connection.
9:48 – Chuck: How do you handle authentication on the frontend?
9:56 – Guest: We have server side things that we can attribute things.
10:09 – Chuck.
10:12 – Guest: If you authenticate to the site then the site passes the token and it basically sits on top of the same plumbing.
10:38 – Chuck.
10:42 – Guest.
10:54 – Chuck.
10:58 – Guest: We recently just had the DOT NET CONF. We had an all night, 24-hour thing.
11:48 – Chuck: Here you are, here you go.
You hook it all up, JavaScript into your bundle.
12:05 – (The guest talks about how to install.)
13:12 – Chuck: I could come up with my own scheme.
13:25 – Guest: The traditional example is SEND A MESSAGE and then pass you string. Well tomorrow I do that and I just change the code – it’s great b/c I send up a ping and everybody knows what to do what that ping. It’s just a proxy.
14:17 – Chuck: I am trying to envision what you would use this for? If you are worried about it being stale then you refresh. But if you want the collaborative stuff at what point do you ask: Do I need SignalR?
15:00 – Guest: When I do my presentations on SignalR and being transparent I want to send you 1,000 messages but 1 or 2 messages will be dropped. You don’t want to transmit your order data or credit card information. Do you have a hammer and you need a screw? If you need stock tickers and other applications SignalR would work.
Keeping your UI fresh it is a great thing.
19:02 – Chuck: You do that at the Hub? You set up the Hub and it passes everything back and forth. What can you do at the Hub for filtering and/or certain types of events?
19:26 – Guest: I am looking at a slide. What’s the cool thing about SignalR and the API is it’s deceptively simple on purpose. If you want to call out to clients, you can get a message to all of your clients if you select that/those feature(s).
Some other features you have are OTHERS, and Clients.Group.
20:57 – Chuck: Can you set up your own?
20:58 – Guest: I don’t know.
21:12 – Chuck: Clients who belong to more than one group.
21:23 – Guest: Dynamics still give some people heartburn.
(The guest talks about C#, Dev, Hub, and more!)
23:46 – Advertisement: Get A Coder Job!
24:23 – Chuck: How do people get started with this? Do they need Azure?
24:30 – Guest: You don’t need Azure you can go to Microsoft and it’s apart of the .NET team, too.
26:39 – Guest talks about how to install SignalR – see links below!
27:03 – Chuck: You don’t have to KNOW .NET.
27:11 – Guest: It was created by that team (*fair enough*) but you don’t have to know .NET.
27:57 – Guest: You can I could do JavaScript all the way.
29:04 – Chuck: Yes, we keep moving forward. It will look different what people are using.
29:21 – Guest: That was an early thing and I was reading through the old bugs from 2011/2012 and that’s one thing that kept coming up. I didn’t want to use jQuery to use SignalR – now you don’t. It’s a happy thing.
30:45 – Guest: Someone suggested using PARCEL. I have a question do you have any recommendations to have NODE-SASS workflow to have it less stressful?
31:30 – Chuck: It’s out of Ruby that’s my experience with Node-Sass.
31:40 – Guest: I haven’t used Ruby, yet.
31:46 – Guest: I haven’t heard of Phoenix what is that?
31:50 – Chuck answers.
Chuck: It’s functional and very fast.
Once you’ve figured out those features they almost become power features for you. Elixir has a lot of great things going for it.
32:50 – Guest: I tried picking up GO recently.
33:08 – Chuck: Lots of things going on in the programming world.
33:18 – Guest: I have always had a mental block around Java. I was PMing the Java guys and I asked: will this stuff work on...
Once I got it then I thought that I needed to explore this stuff more!
I want to learn Ruby, though.
34:16 – Chuck: Anything else in respect to SignalR?
34:15 – Guest: I really think I have dumped everything I know about Signal R just now.
I would draw people to the DOCS pages.
A guide for anything that could happen on the JavaScript side – check them out!
We have tons of new ideas, too!
37:33 – Picks!
37:42 – Advertisement – Fresh Books!
47:54 – Advertisement – Cache Fly!
Links:
Sponsors:
Picks:
Brady
Charles
Panel:
Special Guest: Sasa Juric
In this episode of Elixir Mix, the panel talks with Sasa Juric who is the author of Elixir in Action (2nd edition) and uses Elixir, Erlang, and OTP. He is from Zagreb, Croatia and you can check out his blog here! The panel talks about his book, past and current projects, in addition to configurations, and Elixir.
Show Topics:
0:00 – Advertisement: Get A Coder Job!
0:50 – Chuck: Panel. Our guest is Sasa Juric. Introduce yourself to us please.
1:12 – Guest: I am known for writing my book and my blogs. I am president to the Elixir forum and helping people out. I have been using Elixir for 5 years; in the past I have used C++ and others.
1:46 – Chuck: App env and configuration and sounds like we could talk about more. Let’s start there, though.
1:59 – Guest.
2:03 – Panel: A little background with configuration b/c it’s been a topic in the community. There is a lot of discussion around it. What is the right way? And there is a change in how we deploy software. We have more docker containers and multiple stages of deployment and tons of configurations through environment settings. Anything you can talk about that?
2:51 – (Guest answers those questions. He discusses in detail about docker configurations.
Also, the guest talks about the various settings per the different environments.)
7:25 – Panel: That was a thorough summary.
7:29 – Guest: I can talk more.
7:35 – Panel: So we have background on configuration is setup and the goals we have. What are some of the ways that a person with Elixir – how do they start? Tips / advice? They have their app and trying to go to production?
8:22 – (Guest answers the question.)
Guest: 90% of the time, this is what you want to do. This is what you do...build it and put it in the folder structure, and you are good to go. Why is this good? You don’t have to have a bunch of...
If you are using Phoenix than you need Node.js and you don’t want to have that on your production. You can easily run side-by-side different versions of Erlang and Phoenix.
11:40 – Panel: You can do that in a single docker file?
11:47 – Guest.
11:51 – Panel: You just copy the files...
11:56 – Panel: I learned I could do that by the distiller 2.0...I hadn’t encountered that before.
12:11 – Guest: Look into the distillery. I want to give compliments to Paul and the team is great. Go to Distillery and see the tutorials.
12:37 – Panel: People think I don’t want to use docker there is an option....
13:01 – Guest.
13:04 – Chuck: Different types of configuration?
13:13 – Guest: Right this discussion too which is probably talking about my blog post, and I have this wild thought about configurations. We can discuss the issues and different solutions. We have these configurations files and they contain these time various configurations and...
There is usually more than 1 configuration file.
17:53 – Panel: You only get agreement. I have had that problem, too, saying what is this configuration? What are THE Settings that are present and yeah that is a problem? You identify these problems in your blog, where it’s not checked in and the code will not...
I have had to work around that in my projects. We are going to create a sample project and it will have defaults. So we can improve the situation.
18:45 – Panel: Class based configurations – I get angry.
19:05 – Guest: I try to challenge this status quo. Some people agree and others disagree. Some say this blanket statement.
19:54 – Loot Crate!
20:47 – Guest: Another thing to note is that configurations are free form key values. Remember, my point is that it boils down to some function being involved with these values.
(Guest continues...)
23:36 – What is your direction that you are proposing?
23:40 – Guest: We are going to discuss other issues.
23:49 – Panel: As background, as apart of that whole configuration in those distillery docs...
24:41 – What is the next step in the discussion?
24:48 – Guest: Let’s take a step back.
(Guest talks about Distillery 2.0.)
27:09 – Guest continues...
29:50 – Panel: That makes sense and flexible.
29:58 – Guest: The other complaint is that the Phoenix generator is pushing the community in the wrong direction by forcing a lot of things by default. When you generate your project with...
My team we have used the configuration b/c it seems the right way to do, but what constitutes this? Should this go here and what is a configuration?
30:52 – Panel: I don’t have a synced answer – I don’t have a boundary to say what does or doesn’t’ go in there.
31:13 – Guest: Like the operator might decide to change the HPP port or maybe you want to...? You have to make the decision – what will those things be?
31:32 – Panel: React to a configuration change, it’s very clear to...
31:57 – Guest: It is very arbitrary by its nature. One of the main things (in the blog post) my coworker said it felt like a configuration. What does that mean? Should we have some sort of rules? What is a configuration and what isn’t?
32:33 – Panel comments.
32:55 – Guest: Now I am swinging in a new extreme. You started with parameters nothing more and there is nothing more than functions and parameters.
34:41 – Chuck: You keep bringing up JSON is there a reason why?
34:55 – Guest: I am not a super fan of JSON for various reasons but we decided on JSON b/c it’s fairly easy. Most of our clients and admin can add it.
35:18 – Chuck: Asks a question.
35:30 – Guest: Getting a configuration...
36:35 – Panel.
36:39 – Guest: With Distillery 2.0...
36:47 – Chuck: What formats do you like if you don’t like JSON?
36:58 – Guest: I am not sure. I would like to run everything in Elixir directly.
37:47 – Panel: I have been using Kubernetes. I like that I can have comments.
38:00 – Panel.
38:10 – Panel.
38:17 – JSON is terrible but you can use it and everyone can, too.
38:27 – Guest: I would probably pick JSON between those two. It’s the lesser of 2 evils.
38:40 – Panel.
39:03 – Guest: The key is to clean up this configuration in the first place. My impression is...
39:30 – Panel: I wrote a library, and there was configuration but it doesn’t belong – it’s not a configuration setting nor...so where should those kinds of settings be? I know they are just parameters, but...so we can pull out our configuration files?
40:11 – Guest: It should be grouped by scope. Take Phoenix application...
41:54 – Panel: That’s your exposed configuration – conceivably – but it should be hard coded.
42:04 – Guest: It won’t be hard coded, and the server will be different in production than your machine.
42:17 – Panel.
42:30 – Guest: Precisely. You have to ask: is this a configured parameter or not?
42:43 – Chuck: Can you talk about how to encrypt and/or protect these secrets?
42:56 – Guest: There are these secrets that are broad secrets via...and it depends on you how you’re going to protect them. Use some encryption scheme.
43:20 – Panel.
43:28 – Guest: Right.
43:31 – Chuck: In Rails it has a secret file, too and you have to provide the key to the app. Then your KEY is a secret. It feels like this circular problem.
43:53 – Guest.
44:54 – Panel: When you are dealing with that sort of thing...library will absolutely assume...and it limits flexibility.
45:17 – Guest: It’s not just an Elixir thing I have seen it in Erlang, too.
47:32 – Chuck: Any stories of people getting this wrong or right? I guess people don’t talk about that; any good stories?
47:54 – Guest: A lot of stories, actually!
49:52 – Panel: Being that Elixir is a more functional language, how do I put in a configuration that will be available at runtime and available very early. I think that is why we stick things up there by putting it in there.
50:35 – Panel.
50:43 – Panel: If it is a library and passes it to a configuration - where does it put it?
50:53 – Panel: A library and not an application...
51:05 – Guest.
51:45 – Panel: Where do I put it?
52:03 – Guest: There are some libraries that have to be configured before we start. The only case that needs some setting before we start is LOGGER.
53:00 – Panel.
53:15 – Guest.
54:00 – (Guest mentions à la Carte – check it out here! It’s just a factory.)
55:38 – Chuck: Let’s do picks!
55:46 – Fresh Books!
Links:
Sponsors:
Picks:
Sasa
Chuck
Mark
Josh
Panel:
In this episode of the Freelancer’s Show, Jeremy, Erick, and Reuven discuss the topic, “When Your Clients are Wrong.” The panel gives practical advice on how to work with different client/work situations that may not be ideal. They suggest to think about the situation logically, have a conversation with the client, and try to work out a win-win situation for both sides.
In particular, we dive pretty deep on:
1:16 – Let’s introduce this topic a little bit more softer than I did!
1:34 – After giving your clients some new / different options and they still aren’t satisfied.
1:58 – This is so difficult and delicate b/c it’s easier when you don’t need the money. If you only have 1 client or a handful of clients they are they only ones you can rely on for your income then it’s a lot harder and worse. Many times if a client asks you to do the wrong thing sometimes you can leave, but sometimes that’s not always realistic. If you can walk away if it really is horrible then maybe you can.
You have a solution to a problem (you know how to solve this problem!) and your client says, “no.” What then?
3:59 – For me, the arrow in my quiver would be I believe in this so much let’s try it for free and run an experiment, if that’s a cost concern.
4:45 – You are willing to invest in it?
4:53 – Nothing is coming to my mind right now. For my blogging business...
If it were years worth of blog posts than I wouldn’t do that for free.
5:47 – When I was doing consulting projects I would recommend: we should store things this way, or...Sometimes my clients will say “NO” this is not the way I want to do it. I was working with a company in Tel Aviv, and I wanted to have a bunch of different columns in the database. The CEO was like you are using all of those columns?! Right, that would work if you were living in the 1960’s! I presented my case to him, but it was the beginning of the end. He still saw himself as the CEO but also a brilliant software guy he didn’t want me second-guessing his brilliant decisions.
7:51 – It’s worth throwing it out there – you always do have the option of going on with idea. Pick your battles – live to live another day.
9:05 – If you come in and say: “I am right and this is why...” they will not go for it. It’s not good to win that argument. Kind of tease it out – let’s look at time and cost. Maybe overtime the customer will see what you are trying to do.
10:02 – It’s a good opportunity to say: Let’s take a step back and see the goals of this project. Maybe we have a mismatch of what our goals are or the current state of the project. I thought you were concerned about X but I see now that you are actually concerned with Y. I see now – maybe I misunderstood your situation. That could help the client refocus.
11:29 – They brought on this team of 40 people in Rails and then realized nobody knew Rails. I had a blast, but the way it worked if something wanted to change something then they would do a change request to the...
Panelists go back-and-forth.
15:49 – “I hope I am wrong” mentality might be better than: “Man that is horrible, you are going to fall down on your face.”
He talks about a credit card issue and showing that this case had to be implemented with this specific client/company.
18:00 – Advertisement – Digital Ocean!
18:41 – There is a wide range of “wrongness” where clients aren’t in the best place and the level of “wrongness”.
We aren’t going to steal a logo for you. Are they asking you to do something wrong or is it a difference between 1% to 2%?
20:20 – This would be a better play vs. something illegal vs. something in-between. If a client is trying to roping you into plagiarism don’t do it.
22:08 – You can say I am turning down this work b/c we won’t be a good fit or I really can’t fulfill what you want me to do and that work can come back to you from another avenue.
22:50 – If you just can’t find anything else, but I know there are people that specialize in x, y, and z. They will finish the work better than me and I would recommend these people for those reasons. They respected that.
23:42 – Blood money – I wouldn’t want to help you for the specific reasons. People will respect that b/c they will see that you have their best interest at heart.
Panelists continue to go back-and-forth.
25:47 – Was the client a cheapskate?
26:57 – Engaging with a client and see where they are. Predict future
28:05 – I have a client with a small business and their business in teetering on the edge of collapse. I have been clear with them and they tell me their budget. We just are adding duct tape to the problem just for a quick fix.
29:00 – It would be ideal that you had money but let’s figure out the next, best thing.
29:15 – Okay what do we want to do in 6 months or in a year so that way we can pay for things in installments that is less painful that way. I am trying to think – has anyone asked you to do something truly unethical?
29:48 – Yeah the logo thing was a family dispute.
29:56 – For our blogging agency I was asked to misrepresent something on a website. They asked if we could post a commercial and we were ghost writing it. Anytime that comes up I can pass. It hasn’t come up too much over the years. I cannot stress enough DON’T DO UNETHICAL THINGS.
31:16 – What can you do setup the relationship so this possibly isn’t an issue in the future?
32:00 – Panelist talks about clients and more.
The more consultative a relationship is the more they will listen to their expertise. Getting paid for your brains and less for your hands.
32:30 – Most times clients disregard your advice b/c they just see you as a pair of hands.
33:22 – In my initial calls with training people...
34:00 – Panelist talks about his 4-day training course and how companies try to squeeze the program out in only 2-3 days instead, because their workers are “smarter than the average person.”
35:28 – I can point to this data to show that I AM an expert. The more narrow I am with my focus the more they are inclined to hear me out and trust me.
36:11 – I have been doing this for years now I know how long it will take. Other things that we can say about this?
36:32 – General piece of advice would be if the client is disagreeing then it can be a real gut check and it’s important to keep a cool head and you don’t want to fight with your client.
37:35 – Advertisement – Fresh Books!
Sponsors/affiliates:
Picks:
Jeremy
Erick:
Reuven:
Panel: Charles Max Wood
Guest: Nassredean Nasseri
This week on My Ruby Story, Chuck talks with Dean who is a senior software engineer at VTS, Inc. in New York City. Dean uses Ruby and is an advocate for the software. He and Chuck discuss his background, current projects, and more!
In particular, we dive pretty deep on:
1:00 – Dean: Hi, Everyone!
2:07 – Chuck: E363 of Ruby Rogues is your past episode.
1:13 – Dean: I am a Ruby developer and out in NY City. I have been developing Ruby for the past 6 years now.
1:42 – Chuck: What made you want to do something like Fir?
1:50 – Dean: I love developing developer tools and using something that I can use in my day-to-day work – I like that. I am constantly debugging and trying new things. That’s how I operate. I wanted to build a tool that would take the concepts that were missing from IRB and...put in a shell like FITCH. That was the motivation to that project.
2:42 – Chuck: Check out his past episode to get into the nitty gritty. Let’s roll back – how did you get into programming?
3:10 – Dean: I started programming in 2009/2010. I was a senior in High School and I wanted to make a social media website. I knew about HTML and other things but databases and servers I had no idea about. I downloaded WAMP – you familiar? It stands for: WINDOWS APACHE, MYSQL, and PHP.
4:19 – Chuck: What about programming that got you started?
4:27 – Dean: To build the thing that was in my head. My motivation was I wanted to see this THING to get built. I had a UI and I used jQuery. I got further and further; I realized that I was enjoying it. I liked the feeling and I spent 6 hours and I felt rewarded.
5:12 – Chuck: I played with programming as a younger person but in college I was introduced to...and I liked something coming together. Programming felt like a toy for me. I built a platform for people to find an apartment with their amenities that they wanted. It never came to light but it was fun to build.
6:00 – Dean.
6:12 – Chuck: I was a software consultant for a while. They spent 10’s of thousands of dollars on this project and me. You get into PHP and how did you come to Ruby?
6:40 – Dean: I didn’t study computer science in college. My friends who had a “background” and they said that I needed to use Python. Python held me back b/c of the 2 to 3 split and the server getting up on my machine b/c certain tendencies needed x, y, and z. That drove me away from Python but I did like the language. My friend told me to try Ruby and I read a book (Ruby on Rails by Michael, 2nd ed.) and I got Ruby. That was really cool to me. I went through the tutorial and that was powerful for me. Motto: Keep things fun and simple and then build on things later.
8:59 – Chuck: I hear people complain about Ruby. Can you still do that?
9:13 – Dean: Yes, I think so. The thing that stands out to me is action cable. Maybe a beginner doesn’t want to have to think about. Rails is the best way to get up and running with minimum friction.
9:45 – Chuck: I worked through a company and I was their tech support – so I can relate to that. Other things that people worry about: Action Cable, etc. you don’t have to worry about that until later. That makes sense. What have you done that your proud of?
10:24 – Dean: I worked at a company and proud of the certain features I have built and shipped. I am proud of learning more and more about Ruby internals. I am proud of FIR, too.
11:43 – Chuck: Yeah, FIR does sound interesting. I hear people say that often: I built this thing and it makes a difference in this way. What are you working on now?
12:11 – Dean: Tech Ops; it’s a hybrid between DevOps and...
We have worked on projects like migrating CAM CAM CAM to PUNDIT. That was the last huge Ruby project we’ve worked on.
Our ongoing mission is to make sure things are up to date.
I have been migrating from our former CI provider to Circle CI. It’s been a challenge. It requires DOCKER and it was important for us to use...
(Dean goes into more detail.)
Dean: We have been working on flaky tests, which was more Ruby focused.
(Dean goes into more detail.)
15:42 – Chuck: I am curious to see what those tips are?
15:49 – Charlie McMillan – check out his blog post: Tips to Fixing Flaky Feature Specs. There is a real art to it.
16:06 – Chuck: Anything else?
16:16 – Dean: That’s pretty much the good stuff.
16:24 – Chuck: Over the course of your career what is an overarching theme?
16:42 – Dean: From the technological side – not really – but important to my development is empathy. Develop empathy for your colleagues, and customers. I love the tech stuff, but I made mistakes. I was so tech focused that maybe at the expense of my team. The soft skills are really important to this business. Being empathetic in this field and this is equally as important to being a really good empathetic person.
18:03 – Chuck: As we continue to see things grow – you can build small applications on your own. But when you are building a Facebook or something complex – then at that point your ability to work with people trumps your technical abilities. Once your past that can you work with other people?
19:06 – Picks!
19:14 – Advertisement – Fresh Books!
Links:
Sponsors:
Picks:
Charles
Dean
Panel: Charles Max Wood
Guest: Benjamin Hong
This week on My JavaScript Story, Charles speaks with Benjamin Hong who is a Senior UI Developer at Politico where he lives in the Washington, D.C. area. He has worked with other companies including Treehouse, Element 84, and Udacity. Charles and Benjamin talk about his past and current projects, and how it’s different working for the government vs. working for a business. Check it out!
In particular, we dive pretty deep on:
1:06 – Chuck: Tell us a brief introduction, please.
1:23 – Ben: I am a lead frontend developer at Politico.
1:43 – Chuck: It’s an area that can affect everyone. How did you get into developing?
1:52: Ben: I had everything you can think of to develop at first.
2:10 – Chuck: For me it was a TI90 calculator!
2:18 – Chuck: Was it somebody or something that pushed you towards this area?
2:32 – Ben: I wanted to change something with the theme, Googled it, and it went from there, and the Marquis Tag.
2:51 – Chuck: And the Blink Tag! The goodies. So you got the he HTML book – and what website did you build that was your first big project?
3:07 – Ben: It was fiddling around, but it was fortune cookie universe.
3:20 – Chuck: You will have to recreate it!
3:27 – Ben: I think this was 1993/1995 timeframe.
3:40 – Chuck: Yep, me too same time frame. If you had something move on your website it was so cool. You went to building...
4:02 – Ben: JavaScript was a roadblock for me. There was nobody to correct me. I had a JavaScript book and it was a massive failure.
4:33 – Chuck: You took a break and you came back?
4:40 – Ben: Oh – people will PAY you to do this?!
4:54 – Chuck: Did you go to college?
5:01 – Ben: Yes, I have a Master’s in a different field. I was always a tech junkie. I just wanted to put things together.
5:20 – Chuck: Take us through your journey through JS?
5:30 – Ben: I started off with the jQuery piece of it. I needed Java, and it took me awhile to wrap my head around it at first. Through the trial and process of trying to get into Angular and React, too.
6:19 – Chuck: Did you play with Backbone, Knockout, or Ember?
6:32 – Ben: I did do SOME Ember and some Knockout. Those were my first interactions.
6:49 – Chuck: What got you into the profession? How did you get from your Master’s to being a tech guy?
7:14 – Ben: From the Master’s field I learned a lot about human experience, and anted to breed the two together. Also, consulting and helping to build things, too.
7:44 – Charles: What was the career change like?
7:53 – Ben: I went to the federal government at first around the recession – it was good having a stable job. I was bored, though. While I was working for the government I was trying to get my foot in the door. From there I have been building my way up.
8:30 – Ben: I was working on Medicare.gov and then later...
8:46 – Charles: We won’t use the word “disaster”!
What is it like to work for the government?
9:20 – Ben: Yep. The federal government is a different area because they are stake holders. They were about WHO owned the content, and who do we have to talk to get something approved. It was not product oriented like a business. I made my transition to Politico, because I wanted to find solutions and diversify the problems I was having.
10:31 – Chuck: Have you been there from the beginning?
10:39 – Ben answers the question.
Ben: They were looking for frontend developers
10:54 – Chuck: You are the lead there now. What was that like with the transition?
11:08 – Ben talks about the beginnings stages of his time with Politico and the current situation. He talks about the different problems, challenges, and etc.
11:36 – Chuck: Do you consider yourself a news organization or?
11:47 – Ben: We have Politico Pro, too. I have been working with this site more so. There are updates about campaign and voting data. People will pay a fee.
12:25 – Chuck: Do they pain themselves as leaning one way or another or nonpartisan?
12:38 – Ben: We are objective and nonpartisan.
12:51 – Chuck: I know, I was hesitant to ask. What’s the mission of the company and into what you do?
13:09 – Ben: The projects get dumped to us and we are about solving the problems. What is the best route for solving it? I had to help pioneer the new framework into the tech staff is one of my roles.
13:48 – Chuck: What’s your tech stack?
13:55 – Ben: JavaScript and Vue.js. We are experimenting with other software, too.
14:16 – Chuck: We should get you talking about Vue on the other show!
Are you working at home?
14:32 – Ben answers the question.
Ben: One thing I am helping with Meetup. Community outreach is important and I’m apart of that.
15:09 – Chuck: Yep, it’s interesting to see various fields into the tech world. I am not one of those liberal arts majors, I do have a computer science degree. It’s interesting to see the different perspectives. How little it is for someone to be able to dive-in right away.
What are you working on?
16:09 – Ben: Meetup population and helping with the work at Politico.
16:27 – Chuck: Reusable components. Are those opensource or only internal?
16:41 – Ben: They are now opensource but we are seeing which portions can be opensource or not.
17:01 – Chuck: Different companies have come out and offered their opensource.
Where do they find you?
17:20 – BenCodeZen! They are more than welcome to message me.
17:36 – Chuck: Any advice on newbies to this field?
17:46 – Ben: Attending those meetings and making those connections.
18:18 – Chuck: I have been writing a book on HOW to get a job as a coder. That’s the same advice that I am giving, too.
18:46 – Chuck: Picks!
18:51 – Advertisement – Fresh Books! 30-Day Trial!
Links:
Sponsors:
Picks:
Charles
Ben
Panel: Charles Max Wood
Guest: Georgi Parlakov
This week on My Angular Story, Charles speaks with Georgi Parlakov who is an R&D Developer at Petrotechnical Data Systems who resides in Bulgaria. Chuck and Georgi talk about his background, past and current projects, and so much more!
In particular, we dive pretty deep on:
0:15 – Advertisement: Get A Coder Job!
0:49 – Chuck: Hello!
0:53 – Georgi: Hi!
1:00 – Chuck: Introduce yourself, please!
1:08 – Georgi: I have been an Angular developer and love it every step of the way.
1:20 – Chuck: I stared talking to past guests of Angular, and I find that ½ the people are in the U.S. and the other places, too. Different places but what is your experience as being a developer in the other parts of the world are similar.
2:12 – Georgi: I got into programming but I didn’t want to be at a desk all day. I had some friends in the software industry and I liked what they had. In Bulgaria the people in the software industry they have a 2x or 3x standard of living. I really wanted to begin to try to get into software engineering. I didn’t have any technical background. I went to some interviews and I saw that I needed a lot of knowledge to gain. I learned about the Telerik Academy is doing. They have a large academy and that year I learned a lot and I jumped to this opportunity b/c it seemed like magic. Someone is going to teach me how to be a developer and not charge me? I got into it and it was fun, challenging, and rewarding for me. I dropped my current gig and I went to being a developer.
5:14 – How long is the program at the Telerik Academy.
5:20 – Georgi: It’s about a year. Evenings and then you need to go fulltime.
5:45 – Do they teach you JavaScript?
5:50 – Georgi: Yes. Also, DotNet. Java was mentioned in 2011.
6:17 – Kendo UI have widgets for DotNet.
6:28 – Georgi.
6:35 – Chuck: What got you into JavaScript?
6:44 – Georgi: The previous job I had they used Angular. At that time I was doing...which is a service site rendered HTML. We were using some jQuery and Knock Out, I was learning about Angular and was interested. It was an Angular job and it was technically interesting. They talked about 3D rendering. At least that’s what I got from the conversation. Doing the job we got a few new hires, and they started a project in Angular. We learned from each other, and inspired by people like YOU, and from the Angular talks at conferences. I was inspired.
8:21 – You get into Java and Angular did you get into API?
8:31 – Georgi: Yes.
8:38 – I like how Microsoft names stuff.
8:47 – Georgi: I am listening to...if you have a cool project alias then the project name becomes WCF or something long and tedious.
9:09 – I love those guys.
9:15 – Georgi: I am listening to them b/c someone recommended them. They put the bar really high with their mood and content.
9:40 – Chuck: Carl owns a production company. They do a great job.
9:52 – Chuck: What was it about Angular that got you excited?
10:05 – Georgi: It’s similar to the backend stuff and people get into Angular g/c it’s similar to NVC. I got a lot of the documentation b/c it’s written well. At that time my daughter was 6 months old and I was reading her the Angular documentation. I really enjoyed that. Angular was brand new at that point and I didn’t have a mentor at that time. The learning experience was great, and the flow was fun for me b/c it was challenging.
11:33 – Chuck: The experience is good.
11:42 – How did you get your first programming job?
11:45 – Georgi: Basically out of the academy – 2 months out. The people believed in me and I am thankful. I was only 28 years old and I wasn’t the normal person.
12:22 – I got my first job at 27.
12:30 – A lot of people are transitioning. I did an episode with Tina from South Africa. She moved to England and then to the U.S. She has a Ph.D. in Physics and she transitioned into programming in her 50’s. People think: I am “old”, and it really doesn’t matter.
13:27 – Georgi: People complain while they are sitting down on their butts. I want people to know that you can do it. No matter your age or your experience. The coding knowledge will give you a lot of freedom in the future, because it’s doing magic. Everyone should learn how to code as a hobby in addition to your normal job.
14:55 – Chuck: It might be things like AI and how we interact on our devices. It will be a life skill what we consider to be mundane jobs at this point.
15:18 – Georgi: People say AI could take my job, but also AI will create jobs.
15:36 – Chuck: People theorize about this. Every time people advance in technology it does create more jobs. I worry about the psychology of here is money as a handout.
16:29 – Georgi: We get our self-respect b/c of what we accomplish in the job. Most of us work 8 hours with these certain people and these problems. It’s good to like and even love what you do.
17:00 – Chuck: What have you done with Angular that you are proud of?
17:05 – Georgi: Learning from scratch and learning the basics; eventually advancing my knowledge. Lately I have been going to Meetups and do a presentation there. The theme was...
I wanted to contribute back to Angular, and my computer at home is PC. I had troubles with...
I am an Angular contributor and I am proud of that. I am not a docker nor was I expert angular person, but here I am.
20:25 – Chuck: That’s what peoples mindsets are: I am not this___, I am not that____, etc. If you want a job and you are 90 years old – got for it. You don’t have to be a genius, but you can find something to contribute to the community.
21:17 – Georgi: We have a lot of Angular from my work, I wanted to give back some. Also, and make a name for myself. Again, it was fun and challenging and nice to do it.
21:44 – Chuck: Now that doesn’t hurt b/c you can put on your CV.
21:55 – Georgi: It only shows the top 100. I am not there, but oh well.
22:09 – Chuck: Every little piece helps. You know, it’s a good way to get involved and so much more. What are you working on now?
22:28 – Georgi: The project I am working on is not using Angular. Besides that I am doing a video course on functional C# and it’s a work in progress.
23:10 – Chuck: Anywhere people can find your course?
23:15 – Georgi: It’s less than 50% done, so no.
23:30 – Chuck: What’s it like being a developer in Bulgaria?
23:35 – Georgi: Bulgaria, has a higher living standard for the software industry.
24:55 – Chuck: Is most of the documentation for computers out there in English in Bulgaria?
24:58 – Georgi: No, not the general population speaks English. It does make it a tad harder to transition if you don’t know English. But some of the academies do
25:50 – Chuck: I was a missionary for LDDS in Italy and so my experience as the younger generation speaks English but not the older generation.
26:39 - Georgi: English is 2nd language in Amsterdam.
27:11 – (Chuck talks about international community and developers.)
27:38 – Our team was ½ and ½ out here in Bulgaria. We did meetings in English most of the time.
28:07 – Chuck: Are you located in Sofia?
Georgi: Yes.
28:15 – Chuck: When you get outside of the city is there a programming community?
28:20 – Georgi: Yes, definitely. Again, though, it does change. When they graduate from the Telerik Academy...
29:27 – Chuck: I live in Utah and we are between NV and WY and CO. There is an area (North of Salt Lake City) that has a healthy tech scene. It depends on where you are in UT for a strong/weak teach center.
30:31 – Georgi: I would think the younger kids would like to do it and they need to do it here in the bigger cities. That is not unusual.
31:00 – Chuck: Yes, people pick up the skills and get hired and then they go and work remotely. Do you have a Medium account?
31:20 - Georgi: Yes, through Twitter and Medium.
32:20 – Picks!
Links:
Sponsors:
Picks:
Georgi
Charles
Panel:
Special Guest: Mike Hartington and Michael Tintiuc
In this episode, the panel talks with Mike and Michael who are developers of Ionic. The panel and the guests talk about the ins-and-outs of the framework and talk about the pros and cons, too. Listen to today’s episode to hear how they discuss how Ionic is compatible with Vue and Angular. Finally, they talk about various topics, such as Cordova and Capacitor.
Show Topics:
1:19 – Mike H. gives his background. He uses JavaScript every day.
1:30 – Michael T. gives his background.
1:53 – Chuck: Yes, today we are talking about Ionic. Why are we talking about that on a Vue Podcast?
2:08 – Let’s talk about what Ionic is first?
2:16 – Guest gives us the definition / background of what IONIC is.
2:32 – Guest: We have been tied to Angular (back in the day), which were Ember and jQuery bindings. We have come a far way.
(He talks about web components.)
Guest: We spent a year diving into web components and interweaving that with Angular. Now we are exploring other framework options. Now we are looking at Ionic with Vue.
3:34 – Chuck: I have played with Ionic, and it’s fairly to use. It’s exciting to see it come this way. I’m curious what does that look like b/c Angular and Vue aren’t the same.
4:10 – Guest explains and answers Chuck’s question.
4:50 – Chuck: Is it like using...under the hood?
4:58 – Guest: No.
(He goes into detail.)
5:08 – I didn’t know that Stencil was built by that team.
5:19 – Guest: We built a 2nd project.
5:28 – Guest: There are 24 hours in a day.
5:39 – Panel: How is Ionic different than other options?
5:59 – Guest: It’s comparable to Frameworks 7. The components that you generate are all web0based. The component that you put in is the same for the web or Android. You can have 100% code reuse.
6:35 – Panel: It’s actual CSS?
6:41 – Guest: It’s full-blown CSS. If you wanted to do CSS animations then whatever the browser can support.
6:56 – Panel: Advantages or disadvantages?
7:04 – Guest: It’s easier to maintain.
If you are making the next Photo Shop...(super heavy graphics) maybe web and web APIs aren’t the right way to go.
8:23 – You have access to less intense stuff?
8:34 – Guest: Yes.
8:39 – Question.
8:46 – Guest: 2 different approaches to this. 1 approach is CORDOVA and the other is CAPACITOR.
9:42 – Anything that has been built with Ionic?
9:47 – Guest: App called Untapped? Or the fitness app, SWORKIT! MarketWatch is another one. We have a whole showcase page that you can check out.
10:57 – Few apps out there that use Ionic for everything.
11:06 – Panel: I have done work with Ionic in the past. I found a sweet spot for business apps. There are things behind enterprise walls that customers can use but necessarily others. We have decided to go native and found that Ionic wasn’t a good fit. How do you feel?
11:51 – Guest: We do hear that a lot. People want to make a quick app and then...
12:20 – Panel: We chose Ionic in this project b/c we had to get it out in less than 6 weeks and the team knew JavaScript. Nobody knew Ionic besides me. After that, nothing broke and that’s a huge praise.
12:55 – Guest: I will take that good praise.
13:01 – Panel: How is it used with Vue?
13:07 – Guest: The Vue work that we’ve been doing...here are the core components. Recently we have been working with Michael and integration. They have been working on opensource.
13:45 – Michael: It was one of the first apps in Beta and Vue. It all started out as a passionate project for the opensource initiative. We wanted to build something new and use the emerging Vue.js. At the time I had no idea. It sounded cool, though, and at the time I wrote a small CUI program. I decided to make an app out of that. I wanted to meet the clients’ needs and the new tech. I went online and I saw some tutorials and I thought they had figured it out. I thought we were screwed but I guess not. Most of the things are out of the box. But the problem is that the routing was sketchy and it wouldn’t update the URL and it had to be delegated to the framework. The app is called BEEP. I cannot disclose what it means. Joking. I added to the state that everything...
I tore through the screen to figure out how it works. Then it clicked. You have to extend the Vue’s official router...and then you’re done. You do a MPM install and then you call a couple of APIs and then you are done. Not even a single line of code. You have Ionic’s out of the box animations, and in our app we have a dancing...
You spend a week and you’re done so I won’t use anything else.
17:35 – Panel: That’s an impressive turnaround!
17:42 – Panel: It just goes to show you that the code in Vue is so approachable to anyone. If you know a little bit of JavaScript then you know what is kind of going on. It’s pretty clean. Especially the Vue Router.
18:11 – Panel: Vue Core – some parts that can be hairy.
18:43 – We are component authors. We just need to know here is a component and here are some methods that it needs to know.
19:04 – Oh yeah, totally – I was talking more about...
19:14 – That’s what I thought for those 2 weeks cause I was looking at...
19:24 – Chuck: How do you get the Vue stuff in that and not the Angular?
19:41 – Guest answers the question.
20:20 – Panel: What was the hardest part to integrate?
20:28 – Michael: I wrote my own router. It was too much for me to write. I thought it was going to take me ages. So it took the longest to come to the idea to extending Vue’s router. I thought writing less code is the best. It took me 2 weeks to come to that conclusion. It was related to how...
22:21 – Question.
22:28 – Michael: You can use Vue router like if you used a different package.
22:40 – Panel: It is using the other router history or if you are using Hash API; since it’s all web technology?
23:03 – Guest: People don’t see the URL.
23:10 – We can teach them to pass...
23:25 – Panel: I have been interested in Ionic...when you sprinkle in some native stuff. Local databases. Getting that wasn’t too bad to work. The trick was testing that.
24:04 – Guest: A lot of manual work, unfortunately. It’s a lot of set-up work. You can do test functions but actually have that end-to-end test...can I make sure that is working correctly? A lot of manual testing. There are some cloud base platforms but I haven’t checked them out for an easier way.
25:06 – It was an Ionic issue it was...
I think some of the Cloud services to better nowadays.
25:25 – Guest: It was painful to get it setup. Why do I need Clouds?
25:42 – Advertisement – Get A Coder Job!
26:19 – Let’s talk about native features. How does one do that in Vue?
26:29 – Guest talks about Vue, Capacitor, and Cordova.
27:27 – Guest: Let’s talk back to the Beep app. Lots of this stuff is really easy, as Mike was saying. That’s what I like to do – being a both a developer and a library writer.
28:00 – Panel: Imagine Slash from Guns and Roses.
28:14 – Chuck: They get this idea that it’s Java so I can share.
Chuck asks a question.
28:30 – Guest: All of it. You might want to change some of the UIs. If it looks good on mobile then you can adapt that as the main app and swap that out for the traditional designs and something else.
29:03 – Panel: I can’t just drop in the same dibs for my styles on my desktop and magically look like a mobile app.
29:23 – Guest: That’s where you are wrong. Ionic does this really well. We have painstakingly made this be a thing.
The guest talks about screen width, layouts, and other topics.
30:10 – Guest: It’s the same code.
30:18 – Panelist gives a hypothetical situation for the guests.
30:36 – Guest answers the question.
Guest: You will have to refactor from desktop to mobile.
31:54 – Chuck.
32:10 – Michael: It’s about continuity.
32:39 – Panel: Building a Vue app we can use the Ionic Vue project to reuse that work that you did to get that back button working.
32:59 – Michael: That’s the whole point. So you guys don’t even have to think about it. So you don’t have to fiddle around with bugs.
33:17 – Panelist.
33:22 – Michael.
33:33 – Mike: Eventually we want to do a full fledge Vue project they just install Ionic Vue and it will integrate the package.
33:55 – Michael: You use the UPI and that’s it.
34:03 – Panel: Beyond the hardcore 3D sky room games are there any other reasons why I wouldn’t want to use Ionic?
34:30 – Mike: I can’t think of anything. More important question is what is your team’s experience? I wouldn’t go to a bunch of C+ devs and say: Here ya go! I wouldn’t do that. You have to figure out the team that knows Java and they don’t know native, so they will be able to reuse those skills.
35:25 – Panel: I am wondering if there is anything technically impossible because of the way Ionic works?
36:00 – Guest: If there are, I haven’t seen it, yet. There are 20,000,000 downloads so far, so I don’t think so.
36:28 – Panel: When people report an issue what do they complain about?
36:39 – Guest: Being a couple pixels off (CSS), API signatures, etc. We are seeing fewer issues on the...
People are looking at functionality issues. Whenever there are issues we take care of it right away.
37:26 – Panelist asks a question.
37:32 – It’s really done well.
37:46 – Panel: Are people able to drop that into an Ionic app?
38:09 – Guest: I haven’t tried that, yet.
38:20 – Panel: I have another question: How big are Ionic apps compared to other native apps. When you are using C+ or writing in Java or Swift.
39:09 – Guest: Twitter native was a couple 100 MB app. But the apps built with Ionic are 50 MB category. They can be small or full native apps with plugins.
40:00 – Panel: Does that mean that in some cases users will have to be connected to the Internet to use the app?
40:29 – Guest answers.
41:02 – Guest: I have some good news for you all.
(Guest goes into detail.)
41:39 – Chuck.
41:44 – Guest: Another comparison is my app I use for my Home Goods store is 80 MB and it’s not doing a whole lot.
42:21 – Chuck: Let’s talk data for a minute. You can get large that way if you are DL files through the app – how do you manage memory?
42:42 – Guest: That is run by the browser run-time. Sometimes too good of a job. When you are doing production cases your...
43:27 – Panel: Do you have access to Sequel Light or do you have to use in-browser storage?
43:27 – Guest: Either one.
44:16 – Sequel Light.
44:20 – Guest.
44:24 – Within Ionic you can use Sequel Light there is a plugin.
44:55 – Panelist comments.
45:23 – Michael: I want to add some clarification. You can write your own propriety files...
45:23 – I like that it sounds like it’s different than other frameworks. Instead of there being a framework way to do it there is a lot of different pieces you can plugin to different parts that is agnostic to Ionic.
46:10 – Guest talks about batteries included.
46:42 – Panel: I really like that b/c it’s the Vue approach, too.
47:21 – The guest talks about transitions.
48:07 – Chuck: If I get stuck what is the community around it?
48:25 – Guest: It’s still early right now. If you went to the code base you wouldn’t see much. We are working on the code getting into the package. The good thing is that the way it’s structure, once their APIs are set then it’s the same through Angular and Vue. Once you have that API set it’s the same thing between those 3 things.
49:13 – Guest: Let me blow your minds guys...
There are 7 controllers and 99% you would go to the Ionic site. The rest is identical and that’s the cool part. If you are coming from Angular you can reuse a lot of that knowledge.
50:00 – Panel: If they wanted to build an app right now what would you recommend as their first step?
50:16 – Guest: Ionic and Vue – check out the docs and the components overviews to see what the vanilla components are like.
50:52 – Panel: Is there an example repo?
50:59 – Guest: That would be the BEEP app.
51:08 – Panel: Vue specific docs?
51:18 – Guest: Files that you can drop into your browser.
51:27 – Panel: How soon is soon?
51:31 – Guest: Most likely within the next few months. Final touches that we want to complete.
52:11 – Chuck: What about testing?
52:17 – Guest: Same way you would test a Vue app there is nothing specific for Ionic (at least for the unit tests). If you are doing integration tests that would work the same way in typical Vue setup the only quirks are...
52:56 – Question: Does Ionic offer a collection of mocks for APIs?
53:11 – Guest: Yes, but just for Angular. It’s the only framework to support. This is a good call for community members to contribute.
53:35 – Panel: Would that be a new repo for Vue?
53:44 – Guest: Contribute to the Ionic Teams’ Main Repository and open an issue – and Ping me.
54:02 – Twitter names are given.
54:13 – Panel: How do they reach you?
54:19 – Michael: My whole name slurred together.
54:39 – Panel: Anything else they should know?
54:46 – Guest: Ping us and we will get you working with Ionic.
54:54 – Guest: The cookbook examples are a good starting part. We work very hard with Ionic.
56:01 – Panel: If they have questions where should they post them – chat, or form?
56:20 – Guest: Yes, ask away – any questions.
56:41 – Panel: How do you make money?
57:00 – Guest: If you want to build the Android portion, but you don’t want to take the time, we have a hosted platform that will handle that for you. Help you create your build so you don’t have to create all of the native stuff.
57:29 – Picks!
57:35 – Chuck: I have more stuff to play with – dang it! I am happy to outsource to you, Chris!
58:00 – Sarcasm.
58:26 – Chuck: Thank you for sharing your stories, Michael and Mike!
58:38 – Advertisement – Fresh Books! DEVCHAT code. 30-day trial.
Links:
Sponsors:
Picks:
John
Divya
Chris
Chuck
Michael
Mike
Joe
Panel:
Special Guest: Jason Swett
In this episode of Ruby Rogues, the panel talks with Jason Swett who is a host of the podcast show, Ruby Testing! Jason also teaches Rails testing at CodeWithJason.com. He currently resides in the Michigan area and works for Ben Franklin Labs. Check-out today’s episode where the panelists and the guest discuss testing topics.
Show Topics:
0:00 – Sentry.IO – Advertisement!
Check out the code: DEVCHAT @ Sentry.io.
1:07 – I am David Kimura and here is the panel! Tell us what is going on?
1:38 – Jason: I started my own podcast, and have been doing that for the past few months. That’s one thing. I started a new site with CodeWithJason.com.
2:04 – You released a course?
2:10 – Jason: Total flop and it doesn’t exist, but I am doing something else.
2:24 – I bet you learned a lot by creating the course?
2:34 – Jason: The endeavor of TEACHING it has helped me a lot.
2:50 – Tell us why we should drink the Koolaid?
3:02 – Jason: What IS testing? Good question. Whether is it is manual testing or automated testing. We might was well automate it.
3:25 – If we are testing our code what does that look like?
3:34 – Jason: Not sure what you mean, but I am doing tests at a fine grain vs. coarser grain.
4:00 – Show of hands who has...?
4:19 – What different tests are there?
4:20 – Jason: Good question. One term that one person uses is different to a different person. Let’s start with unit tests vs. integration tests.
Jason dives into the similarities and differences between these 2 tests (see above).
There are different tests, such as: featured tests, acceptance tests, etc.
5:45 – What tests are THE best?
5:50 – Jason: Good question. The kind of tests you are writing depends on what type of coverage you are going for.
If I had a sign-up page for a user, I would...
7:36 – What anti-patterns are you seeing? What is your narrative in teaching people how to use them?
8:07 – Jason talks first about his background and his interaction with one of his colleagues.
8:58 – Question.
9:00 – Jason continues with his answers from 8:07.
9:32 – Jason: Feel free to chime-in. What have you done?
9:42 – I often ignore it until I feel bad and then I say: wait-a-minute I am a professional. Then I realize I ignored the problem because I was acting cowardly.
10:29 – For me it depends on the test that it is.
One gem that I found is: RSpec RETRY.
11:16 – Jason: The test is flapping because of something is wrong with the database or something else. Since you asked about anti-patterns let’s talk about that!
Rails and Angular are mentioned.
13:10 – Do you find that you back off of your unit testing when you are using integration?
13:22 – Jason: It depends on the context we are talking about.
Jason talks about featured testing, model-level testing, and more.
13:58 – What is your view on using MOCKS or FAKES. What should we be doing there?
14:10 – Jason: Going to the Angular world I understand Mocks better than now. There was a parable that I think is applicable here about the young and the old fish.
16:23 – Jason continues talking about testing things in isolation.
16:36 – Question.
16:39 – I have been looking for an area to specialize in and I wrote an eBook. (Check out here to see the articles and books that Jason has authored.)
Then I was looking around and I wanted to see what people’s issues are with Rails? They have a hard time with testing. I wanted to help them feel competent with it.
18:03 – In your course you have how to choose a framework.
I know Ruby has several options on that front – how do you choose?
18:24 – Jason: There are 2 factors to consider.
Jason tells us what those two factors are.
Jason: Angular, React and Vue.
19:52 – Panelist: I had a conversation with a beginner and we were talking about the different tests. He said the DSL really appealed to him. The surface area of the AI made it approachable for him.
20:27 – Jason: I wished I had figured out DSL out a little better. Understanding the concept of a block. The IT is just a function and you can put parentheses in different areas and...
21:01 – That makes sense. Let’s revisit the Tweet you wrote.
21:35 – Jason: There are certain use cases where it makes sense. Where Gmail was the thing out there. At some point the Internet formed the opinion that...
22:39 – Old saying: Nobody gets fired for using Microsoft and then it was IBM. Nothing wrong with those things if that’s what you are trying to do. Sometimes we make decisions to not be criticized. We try to grab big frameworks and big codes so we are not criticized for.
23:48 – Jason: I think developers have this idea that OLD is OUTDATED. Not so. I think it’s mature, not necessarily outdated. I think it’s a pervasive idea.
24:31 – I think it suffers a bit when all the mind shares get lumped into one thing.
The panelist continues...
24:53 – Jason: I don’t know if I like this analogy.
26:00 – I agree with that sentiment. It’s crazy that the complexity has become so pervasive.
26:18 – I think of SPAs as...
26:37 – Jason: Going back to the Tweet I wrote, I am pulling in JavaScript but I am preferring to sprinkle Java into Rails.
27:02 – Absolutely. I think that’s where we agree on. Late in 2017 we had the guest...
“Use JavaScript sprinkles.”
27:49 – Panelist chimes-in.
28:37 – Jason: That make sense. Use your preexisting...
I am afraid of committing to a single framework. I don’t have anything against JavaScript but I am afraid of using only one thing when something else becomes fashionable.
29:30 – Have you found that Java sparkle approach is easy to test?
29:38 – Jason: I think it’s easier. Client server architecture...
30:10 – Advertisement: Get A Coder Job!
30:41 – Shout-out to the Rails team! What other testing frameworks are there? What if you are not the developer but you are the Quality Assurance (QA) person. They have been given the task of testing on the application.
31:30 – Jason: So someone who is not a developer and they want to test the application. I don’t want to get out of my role of expertise. I did talk to a QA engineer and I asked them: What do you do? All of his tests are manual. He does the same stuff as a Rails developer would do.
32:52 – Panelist talks about pseudo code.
34:07 – Jason: I am curious, Dave, about the non-programmer helping with tests what is the team structure?
34:23 – Dave: You will have one QA per three developers.
34:44 – Jason: If you have a QA person he is integrated within the team – that’s what has been the case for me.
35:02 – Dave: It’s a nice thing to have because we need to crank out some features and we have a good idea what is wrong with the app. We can go in there and see if our application is good, but they are combining different scenarios to do the unit tests and see what they are lacking. They are uncovering different problems that we hadn’t thought of.
36:07 – The organization has to have the right culture for that to work.
36:35 – If it’s a small team then it will help to see what everyone is doing – it’s that engagement level. If the team is too large then it could be a problem.
37:15 – Jason: Engagement between whom?
37:27 – Both.
Panelist goes into detail about different engagement levels throughout the team.
38:10 – Jason: Yeah that’s a tough thing.
38:49 – It’s interesting to see the things that are being created. Testing seems to help that out. We are getting bugs in that area or se didn’t design it well there...
We see that we need some flexibility and getting that input and having a way to solve the problems.
39:32 – Jason: Continuous deployment – let’s segue into this topic.
41:17 – Panelist: Do you have recommendations on how often we should be deploying in that system per day/week?
41:40 – Jason: We would deploy several times a day, which was great. The more the better because the more frequently you are deploying the fewer things will go wrong.
42:21 – More frequently the better and more people involved.
42:45 – Jason continues this conversation.
42:51 – Panelist: Continuous integration – any time you were say to forgo tests or being less rigid?
43:14 – Jason: I don’t test everything. I don’t write tests for things that have little risks.
43:56 – I think it is a good segue into how you write your code. If you write a code that is like spaghetti then it will be a mess. Making things easier to test.
44:48 – Jason: This is fresh in my mind because I am writing an app called Green Field.
46:32 – Uniqueness Validations, is mentioned by Jason.
47:00 – Anything else to add to testing a Rails application?
47:08 – Jason: Let’s talk about 2 things: walking skeleton and small stories.
This book is a great resource for automated testing.
Last point that I want to talk about is small stories: continues deployment and continuous delivery. If you make your stories smaller then you are making your stories crisply defined. Have some bullet points to make it really easy to answer the question. Answer the question: is this story done or not done? Someone should be able to run through the bullet points and answer that question.
50:02 – I am in favor of small stories, too. Makes you feel more productive, too.
50:14 – Work tends to lend itself to these types of stories and running a sprint.
51:22 – You don’t have to carry that burden when you go home. You might have too big of a chunk – it carries too much weight to it.
51:47 – Book the Phoenix Project. Work in progress is a bad thing. That makes sense. You want to have fewer balls in the air.
52:17 – Anything else?
52:22 – Jason: You can find me at: CodewithJason.com also Twitter!
52:45 – Advertisement – Fresh Books!
1:01:50 – Cache Fly!
Links:
Sponsors:
Picks:
David
Nate
Eric
Dave
Jason
Panel:
Special Guests: Aaron Gustafson
In this episode, the Chuck talks with Aaron Gustafson who is a web standards and accessibility advocate working at Microsoft. Aaron and Chuck talk about PWAs and the ins and outs of these progressive web apps. Check out today’s episode to hear more!
Show Topics:
0:36 – Chuck: Our guest is Aaron, say HI!
0:41 – Aaron: Hi! I have been working on the web for 20 plus years. I am working on the Edge team for accessibility among other things. I have done every job that you can do on the web.
1:08 – Chuck: That is one of OUR publications?
1:14 – Aaron: No the communities. I joined the staff as editor in chief for 1.5 year now. It’s a nice side project to do.
1:36 – Chuck: I thought it was a commercial thing.
1:40 – Aaron: No it’s volunteer.
1:52 – Chuck: Talk about your web background?
2:02 – Aaron: I remember the first book I got (title mentioned). My first job on the web (cash) I was the content manager in Florida and this was in 1999. Gel Macs just came out. I relocated from FL to CT and worked for other companies. I got into CSS among other things. It’s been a wild ride and done it all.
3:52 – Chuck: Let’s talk about web standards?
4:05 – Aaron: It depends on the organization and what the spec is and where it originates. It’s interesting to see how HTML developed back in the day.
When standardization started working then everything started to converge.
Everything is a little different now. Some specs come out from companies that...
(Apple, Responsive Images, and Grid are mentioned among other things.)
7:37 – Chuck: We set up to talk about PWAs. Where did PWAs come from?
7:57 – Aaron: Modern web design, best web applications. Being secure. One of the underpinnings came out from Google and they have been supporters of that.
Firefox is working on installation as well.
The Chrome implementation is weird right now, but it becomes an orphaned app. It’s like the old chrome apps where in Windows you can install from the Microsoft store. But the case of Chrome you don’t have to go through the store.
10:14 – Chuck asks a question.
10:24 – Aaron answers.
11:53 – Chuck: What makes it a progressive web app rather than a regular website?
12:05 – Aaron: The definition is running on HTPS and...
Aaron defines the terms that Chuck asks at 11:53.
12:43 – Aaron: Of course you can push forward if it makes sense from the baseline.
12:56 – Chuck: We have an Angular podcast, and we talked about PWAs and nobody had a good definition for it.
13:18 – Aaron.
13:22 – Chuck: What are the pros of having a PWA? Let’s start with the basics first.
13:33 – Aaron: The ability to control how you react to the network. We development is challenging maybe in other areas because of the lack of control and how your code gets to your users. Any special needs that YOU might have.
Aaron goes into detail on this topic.
17:14 – Chuck: Is the service worker the star for PWAs?
17:20 – Aaron: In a way, kind of.
Aaron goes into detail on this topic.
Share 2 is mentioned, too.
19:42 – Chuck: If the service worker intermediates between the browser and the page / Internet would it make sense to have your worker have it load and then load everything else? Cause you have those Web Pack now.
20:14 – Aaron: Some people would consider it but I wouldn’t necessarily. I am not a fan for that. If anything goes wrong then nothing loads. I remember back when...
22:23 – Aaron: That is a lot of overhead.
22:34 – Chuck: I am wondering what is the best practice? How do you decide to pull in a service worker and then move into more complicated issues?
22:53 – Aaron: Progressive Web App where they talk about their evolution about this.
25:17 – Advertisement – Fresh Books! Code: DEVCHAT.
26:25 – Chuck: In order to be a PWA you don’t need to have a push notification.
26:38 – Aaron: I don’t think anyone would want a push notification from me.
27:12 – Chuck: What features do PWAs have?
27:18 – Aaron: Features? None of them really, other than push notifications, it’s just standard it’s going to make an App feel more App “y”. If that’s something you want to do. It’s up to you to determine that.
There is going to be like push notifications – sending person new updates about the order. If you were a new site you want to make sure you are not doing a push notifications on everything cause that would be too much. Exercising care with the capabilities with what the users are doing on your computer. This is a person that you are dealing with. We need to seem less needy. Give users control of how they want to use it. For example, Twitter will give you that control per user.
30:56 – Chuck: Could you also do it for different parts of the page?
31:01 – Aaron: It’s different scopes. Your servicer worker has different scopes and it needs to be in the root folder or the JavaScript folder. You can have different workers but they will come from different scopes.
31:32 – Chuck gives a hypothetical example.
31:50 – You can do a bunch of different service workers.
32:11 – Chuck: This is why we create different hierarchies in our code.
32:26 – Chuck: Is there a good point where people can be more informed with PWAs?
32:40 – Aaron: PWA stats website and Twitter account with Cloud 4.
33:22 – Chuck asks a question.
33:26 – Aaron: Yes. If you are a photographer you don’t want to cash all of your photos on someone’s hard drive. We have to be good stewards of what is operating on people’s hard drives.
Even something as simple as a blog can benefit from being a PWA.
35:01 – Chuck: Are there new things that are being added to a PWA?
35:12 – Aaron: A new feature is the background sync.
Aaron: What is native and what is web?
36:33 – Chuck: Yeah it can detect a feature in your machine. Dark mode is...
36:48 – Aaron: It would be nice to see things standardized across the board.
37:00 – Chuck: How does this play into Electron or Android or...? Do those need to be PWAs?
37:16 – Aaron: It depends on what you are building. So I talked with people through Slack and they want total control. If you r desire is to shift the same experience then Electron can make a lot of sense. They will have to pay a premium, though, your users. If you are aware of that then go the Electron route. But for most cases then Electron might be overkill for you. You don’t need that extra overhead.
39:55 – Aaron continues.
Aaron: I think the major benefit of PWA is...
41:15 – Chuck: The other angle to that is that in an Electron app does it make sense to use a PWA things?
41:23 – Aaron: Yes that makes sense.
41:34 – Unless for some reason you need to unlock into an older version, which I hope is not the case b/c of security reasons.
41:55 – Aaron continues.
42:34 – Chuck: Where can we find you?
42:35 – Aaron mentions Twitter and other sites. See Links!
43:02 – Advertisement – Get A Coder Job!
Links:
Sponsors:
Picks:
Aaron
Charles
Panel:
Special Guests: Nicholas Zakas
In this episode, the panel talks with Nicholas Zakas who writes on his site, Human Who Codes. He is the creator of ESLint, also the author of several books, and he blogs, too. He was employed through Box and today he talks about ESLint in full detail! Check it out!
Show Topics:
0:05 – Advertisement: KENDO UI
0:37 – Hello! The panel is...(Chuck introduces everyone).
1:04 – Nicholas who are you?
1:17 – Nicholas: Yeah it’s been about 5 years and then you invited me again, but I couldn’t come on to talk about ESLint back then. That’s probably what people know me most for at this point. I created ESLint and I kicked that off and now a great team of people is maintaining it.
1:58 – Chuck: What is it?
2:04 – It’s a Linter for JavaScript. It falls into the same category as JSLint. The purpose of ESLint is to help you find problems with your code. It has grown quite a bit since I’ve created it. It can help with bugs and enforcing style guides and other things.
2:53 – Where did it come from?
2:57 – Guest: The idea popped into my head when I worked at Pop. One of my teammates was working on a bug and at that time we were using...
Nothing was working and after investigating someone had written a JavaScript code that was using a native code to make an Ajax request. It wasn’t the best practice for the company at the time. For whatever reason the person was unaware of that. When using that native XML...there was a little bit of trickiness to it because it was a wrapper around the...
We used a library to work around those situations and add a line (a Linter) for all JavaScript files. It was a text file and when you tried to render code through the process it would run and run the normal expression and it would fail if any of the...matched.
I am not comfortable using normal expressions to write code for this. You could be matching in side of a string and it’s not a good way to be checking code for problems. I wanted to find a better way.
6:04 – Why did you choose to create a product vs. using other options out there?
6:15 – Guest: Both of those weren’t around. JSHint was pretty much the defector tool that everyone was using. My first thought was if JSHint could help with this problem?
I went back to look at JSHint and I saw that on their roadmap you could create your own rules, and I thought that’s what we need. Why would I build something new? I didn’t see anything on GitHub and didn’t see the status of that. I wanted to see what the plan was, and they weren’t going to get to it. I said that I really needed this tool and I thought it would be helpful to others, too.
8:04 – My history was only back when it was customizable.
8:13 – Aimee: It’s interesting to see that they are basing it on regular expressions.
8:32 – Guest: Interesting thing at Box was that there was...I am not sure but one of the engineers at Box wrote...
9:03 – Aimee: I was going to ask in your opinion what do you think ES Lint is the standard now?
9:16 – Guest: How easy it is to plug things in. That was always my goal because I wanted the tool not to be boxed in – in anyway.
The guest continues to talk about how pluggable ESLint is and the other features of this tool.
13:41 – One thing I like about ESLint is that it can be an educational tool for a team. Did you see that being an educational tool?
14:24 – Guest: How do you start introducing new things to a team that is running at full capacity? That is something that I’ve wondered throughout my career. As a result of that, I found that a new team there were some problems I the code base that were really hard to get resolved, because when one person recognizes it there isn’t a god way to share that information within a team in a non-confrontational way. It’s better to get angry at a tool rather than a person.
Guest goes into what this can teach people.
18:07 – Panelist: I am not surprised. Is there a best practice to get a team to start with ESLint?
Do you get the whole team in a room and show them the options or take the best guess and turn it on?
18:34 – Guest: The thing I recommend is that first and foremost get ESLint in your system with zero rules on. It starts that mindset into your development process. We can do something to automatically check...
Get Syntax checking and you will se improvements on the number of bugs that are getting out of production. I recommend using the default the ESLint configuration. This has all of the things that we have found that are most likely errors and runtime errors vs. syntax errors. You can go through with those and sometimes it is easier to run that check with...
Using those ESLint rules will clean up a lot of problems that you didn’t know you had with your code. There are too many problems with those rules. I recommend instead of turning them off then put the severity to warning and not error. That is something we started with in the beginning. We turned on as many rules as we could and it drove people crazy. They didn’t feel like when they were committing to a file why should I be...
The idea with the different scenario levels you don’t’ want to turn off rules so people don’t know there is a problem. There can be a rule on so people will know that there is a problem, but...
Doing that alone will give you a lot of benefit in using ESLint. How do you decide as a team on the rules that are maybe not for finding errors but for stylistic in error? Do we use four spaces, semi-colons, etc. To figure that out I am a big component on finding a pre-existing style guide and adapting it. Get everyone to agree.
There is no right or wrong when it comes to stylistic preferences. It really is just getting everyone to do the same thing. I think it was Crawford that said: Whether you drive on the right side of the left side of the road – it doesn’t matter as long as everyone is dong the same thing. I agree with that and it applies to style guides. It can get heated but for the best thing for the team is stick with a guide and work together.
24:36 – Aimee: I can go through the options to pick one of the style guides out there and then it will automatically create my configuration for me is helpful. Question: If you had to pick 2 or 3 rules that you are super helpful what would they be?
25:30 – Guest: To touch briefly on indentation. Whether you like four spaces or whether you are wild and like tabs, I think the indent rule is very helpful. Just for wiping out and eliminating that discussion through your team. Have your editor setup however they want but on the pre-hook...
But my favorite rules I tend to lean towards the ones that saved me.
The Guest goes through his favorite rules with ESLint. Check it out!
26:51 – Guest mentions his second favorite rule, here!
28:24 – Guest mentions his third favorite rule, here!
29:03 – Guest mentions the rule that makes him giggle a lot, here!
30:07 – Advertisement – Sentry!
31:22 – What is your take on running Fix? Does it make sense to run Fix?
32:00 – Guest: It depends and the idea behind Fix is the idea of doing a one time (at the start) fix everything that it can find wrong b/c I don’t want to do it by hand. It morphed into a more of a tool that people are using all the time. I too have mixed feelings about it. I think the greatest value you get out of Fix is that when you first install it or when you enable a new rule. I think in those situations you get a lot of value out of Fix. I think that when people were getting aggressive with their code styles it took us down a path where we...
As a pre-commit hook it could be to fix things and part of the built system you wouldn’t want...
People are probably wondering: Why doesn’t ESLint doesn’t fix all the time?
It can be a team decision: do you want to run Fix at the point that the developer is writing the code, do you want to use Fix as running it as a build when you are bundling? It really seems more of a personal preference. I am on the fence about it. Even though I am leaning more towards...
35:16 – Do you run Premier?
35:20 – Guest: No I don’t. I don’t have anything against Premier but I think Prettier uses a very interesting space.
37:50 – Chuck: What is next for ESLint and what is next for you?
37:55 – Guest: Well, to be honest I am not sure what is next for ESLint. I haven’t been involved with keeping it maintained for the last few years. I do help out with feedback with decisions. But in general the ESLint the direction is that let’s add tings that help people avoid language hazards and make sure that ESLint is still pluggable. Lastly, that we will be there to help people and the community. There is this virtuosic cycle and tools like Babble and then tools like ESLint introducing rules adapting new rules and features better.
For myself, and the future, I haven’t been involved with ESLint because I am focusing on my health. I was diagnosed with Lyme Disease and it meant that I needed to focus on my health. That’s why, too, I wasn’t able to join a few years ago. I am doing better but I am a few years away for working fulltime and writing books and blogging, again. The trajectory is upward. I want to stress that you need to take care of yourself.
There is interesting stuff that we are doing and I love it, but make sure you take care of yourself! If you don’t have your health then nothing will really matter. I want to encourage you all to take care of yourselves better. This industry can take a toll on your body b/c it is high-stressed. If you are stressed your immune system will shut down. For a lot of us we are working too much and there isn’t an off-switch. I would like to encourage people to examine their life and their time.
When you take time to turn off your analytic brain, and work on your creative brain then the pathways will connect better.
Please save your money!
Lyme disease is spread through tick bites.
44:30 – Aimee: Thank you for sharing that!
44:38 – Chuck: It’s encouraging to me that you are still trying to come back even after this disease. I think we take things for granted sometimes. You can’t always count on things going the way you want it to go.
45:19 – Guest: What happened to me was I left work and one Friday afternoon I had a normal weekend. My health was on the decline, and I rested all weekend. And Monday I couldn’t get out of bed. That started this whole period where I stopped leaving the house completely. That’s how quickly things can change for you. I harp on people a lot to save their money. If I didn’t have savings there would be a very different end to my story. I want to encourage people to save.
46:33 – Chuck: I think on that note let’s go to picks. Where can people find you?
46:45 – Guest: My blog is Human Who Codes.
47:10 – Chuck: Anything people can do to help you? Check out his books you won’t regret it!
47:33 – Guest: Buying books is always helpful. I would say that if you can spend some time contributing to ESLint that is always a great help. Anything you can do to help them will help me. I want to make sure that those folks are happy, healthy and productive. For me, personally, I love when people Tweet at me and say HI! I love hearing other people’s stories of how they have overcome past diseases or illnesses. If you want to send monetary gifts – donate to a wonderful organization that helps children with Lyme disease. I would encourage you to support if you feel inclined.
50:49 – Chuck: We appreciate it, and I appreciate you being so open about your personal story.
51:11 – Advertisement – eBook: Get a coder job!
Links:
Sponsors:
Picks:
Aimee
Chris
Cory
Charles
Joe
Nicholas