About the talk
Hello, welcome to the rock shop for autocorrects and Transformer. And I'm going to be talking about and this is Mike Leach was going to be talking about people, talk about how and how stylish shoes and everything is still important when you like to do or do the whole husband, and thank you for the introduction station. Such a pleasant experience to be here, exactly, are deep. So it's Transformers Irani black or girlfriend before pushing out your code to a branch leave Source, blood America, take care of,
I want to spend time on. Why would you want to run code for Madden tools at all? Why should your project adopt a code for matter if there isn't So this is one of these tenets of programming, which I think all of us then it is written. And falling. It makes sense that the developers prioritize, the act of reading code above the act of writing it, But that begs the question. How do you make more readable? I agree that this is Professor subjective question like you can have your own personal preference, but I think
there's a lot more to the picture. Then just subjective preference. I think God be all agreed. Like there are some non-controversial Norm's. We all agreed to say that. The court should always being dented example, you would never want to do before, which is so which sometimes are strictly enforced, as in case of ecosystem or not, so strictly enforced, as in case of python or jail roster. What a style guide allows you to do is that you can be consistent.
It's super important. I think David Chen in his book and read and very strictly for in Force at all. Good should be formatted in a similar situation of learning a Project Specific dialect and help spot mistakes because they just look incorrect. I think I have made successful running code for matters will help you and will help you with project Special Olympics, which has special in terms of product hopping from one project to another, it will help you make it look more
familiar. So now I think that we understand the importance of running code, for Mathers guidelines, which language has been through these tools in the CIA pipeline is an argument saying okay, check this and if it doesn't comply with our guidelines and write some code and push it to a branch and wait for the CIA, the CIA will build. And if there's a developer Slapfish to the logs and I had an extra space at light number three and then they go back to their Ivy fix it or maybe minor league on. I've been committed back
and then back to the branch to to this all automatically before you even come. It is a lot more involved than it should be and which is why we don't see them adopted as much as they should. And this is why people Transformers Transformers have only one line of conversation about what truly want to use. If you want to use black, just say black and that's it will take care of everything for you. As soon as I can, after the developer has finished writing report to a branch and we are not compliant with the specific
guidelines set by whatever format if it doesn't do that for you say black it runs black on the cord in the incoming pool and then it pushes, it pushes the results back on to be Ranch itself and all of this happens automatically with a manual user intervention it's completely out of the log. All the user ask care about is that the bill will never fail because of violation again. End. I think, like, Okay so what's he done with? Like, how this work? It would look like. Think it's time for a demo maybe let me show you. How can you enable Transformers on
your old depositories and run code for matters on autopilot? Share my screen. I'll just share my life, my deep Source dashboard, and I clicked on activate new repository. And this supposed to treat just comes up right here. I'll click on repository. And next year. In Alice's, Deep search automatically starts analyzing my phone. I'll go back to be tough and refresh. Okay. So you can see that the deep sores are coming up, dated according to the latest changes here and this is here, you can see the
transformation successful. Black was wrong and successfully transformed decoding hashtag. If I go and feel this, pull request it formatted all the courage I had in this capacity and it created a pull request with this. If I go ahead, I can go ahead and, and then each, and every change, which I do in the suppository, I'll get a similar for the default Branch. It is like I get a pull request created for the foot, but otherwise, it's a shame to file. Maybe something
creative Branch changes. A victim of my phone free. CC. The Transformers check is running here. It says. It's analyzing its transforming the code and get it is It's created another Comet and it's fixed all the problems which if I had in my book and it automatically comes back and I don't have to do anything, I can go ahead and merge disputed West. So, I think it stopped screen sharing. How do I hide it? So think like this will help you understand how to
enable transfer. Or do you see Yeah, so thank you for that about so I think when the code is for my automatically there is less friction between project. And as we have seen like to use Transformer, you require a configuration file. It is basically the name of Transformer that you want. It was just it was a security issue when we looked at the issue. There are a lot of issues here, which can you do Module Imports in your code, right? You just have to file and you just have to delete the websites,
but we noticed that people rarely do, you know, activate did not fix these issues activate because they are huge number. And this was not basically of something which is breaking your right? So they have something which can automatically fix these issues and that's how the concept of how to fix that spot. So far out of there as soon as I text you. And if we are able to fix and we show you an option here, you can go ahead and automatically. Transformer Works
in like autopilot mode, there's no user interaction at all because of the black and I sort and other paid. These are like they have at least eight four word six letters, which are there to a convention, for example, and it was like some shoes and my head and see how it looks like. So if I go to some issue for example, let me just see this board that isn't since call to do something operation. So what as I can so I can do it like this. You can have this one is instant pot and other types can be
so when you go to the river you will see that there is an option to Auto fix with the issue. Come up there. Something she doesn't have these options at the moment. So let me go to the same Heritage race in only one file. If you can go ahead and select and select all the files in which you want to meet. This is going to take some time and to be picked as you and Safe sex and generated of the get it though. We provide you an option to choose which one to which one you want to send an appointment? So which one you want? So I can go ahead and select. Let me just go and
let me just say they call these tonight. So YouTube is going to eat apple request. I need to switch. And he just waited to speak for me. The same one of the UK's where you can go ahead and your issue, stabbed. And you can see all the shoes. It's perfect. And you order pizza from that, from which we can throw it all day. So if I go do all issue with your and you can go ahead and choose. What is used to fix from here? Is that no, Def Leppard in an existing product product project request and when they have to request, they may be more than one
issues. In the pool which can be. So, for example, Indigo, analyzer. There are like there are six issues that can be checked before even going to that, you can go ahead and order it. And you have a sense that I definitely want to meet you in here and you can sell it and decided what issues do artifacts, Saudi that issues? That you can select a detective and then when you don't know what it's going to take some time and generate all the changes, all the issues that were physical in your Cola Quest and when I speak correct.
And when it is done, it's going to fix all the issues encountered. All the patch for all these occurrences and you can fix any shoe from your issue. It's going to be late when you pull request, but in the hole, in this industry coming to the prayer requests. So after you coming to the public rest, Anybody beautifully Quest? if I see this comment, it makes all the changes and added. So that's how the police look like. so that would pretty much, yeah, if you guys have any
We actually got a question from the audience saying, what's the mean advantage of using Transformers? Instead of a pre-commit Hook Once the fleet, cook it set up having to make sure that kid games and not fixing some amount of configuration. So you you can save that which time something else we commit hooks also have to be configured for each and everyone or only contributors and deep search Transformers automatically take care of everyone who is contributing to your project. So it's a team in the entire
team of people is working on something. They don't need to worry about running. Become, it looks on their own. They can't just rely on the question of having the art Department, claims that is something that is a pinpoint for Transformers right now, but I'm very happy to announce that this is something you're going to fix in our next and it's automatically plant. I think that answers your question. I have another question for you. I think from the audience, us how to fix
of issues, which may require contradictory it, what is an issue can be fixed in multiple ways and like, what what does it keeps doing? That is right now, a majority of the issues that are straightforward issues, that have exactly one way of fixing it, for example, of the issue. Country damaging isn't there was just one way of fixing it and use it as a sort of used outside of the spinal tap. That sucks credit issue. We have a dedicated so I'm not going to get the
I think that is one 1:30 to 6 that I have come across and we have heard from many developers that he just fix. Doesn't make sense all the time. So you have something which is basically a starting something. So and indeed. If you if you invite combining the bike covid-19 If statement of condition doesn't is not, the contradiction. Here is why I stopped existing Behavior consistent, you know, because maybe some bad people might be catching this assertion to
keep for the sake of consistency. VTech touch & Sew for issues that may have more than one six. More than one way of fixing it. I am happy to announce that this is something which we are going out in the coming time and this isn't going to fix issues, which have more than one fixed, and it's going to give you that an option. Get to see the motion that which you escaped looks the best for my for my issue, and they're going out and they can choose that that tongue and Dick and apply it. So I think
that answers the question. Thank you, sweetie. Since you were talking about a black and I thought, right? I have been there a few issues that are that are that are contradictory and I fought so hard to change something and then I enable both black and I stopped then how is going to be so rude. In that case, there are actually different modes in which I sort can be operated in change for a very few notes that it provides. But I saw it is it has many moods and I think like all the outfits.
If you have say five or six code for Mattress, in April, for any deposit fee. So you have black eyes hard to try to stabilize the code out. Put all of them and this is the order in which they should be done. I delete to get a stabilized and put a stabilizer. Jacqueline to the changes. I saw dust. And then I started doing back again. In that case, we cannot do anything and there's something back and under the code, and you need not worry about that. And they can't just rely on
Buy this talk
Buy this video
With ConferenceCast.tv, you get access to our library of the world's best conference talks.