text stringlengths 0 2.35k |
|---|
[2713.20 --> 2718.98] So head to retool.com slash changelog again, retool.com slash changelog. |
[2718.98 --> 2740.08] Okay, well, I want to also mention a couple of tools from the community as well. |
[2740.08 --> 2748.10] Because remember, you know, we are, we are writing, we are using Go tools all the time, but we can write tools as well. |
[2748.22 --> 2759.12] And some people have contributed, like I think Go Imports was a Brad Fitzpatrick project that was his own kind of idea that he just did on his own. |
[2759.12 --> 2765.06] And it essentially wraps Go thumped, so you get all the formatting, but it also resolves imports for you. |
[2765.74 --> 2768.24] And you can do these things too with your own tools. |
[2768.86 --> 2774.20] And some of the tooling as well doesn't have to be Go tooling running on our machine. |
[2774.54 --> 2778.36] Matt Holt has a great JSON to Go service. |
[2778.36 --> 2787.00] If you Google JSON to Go, you basically paste in a JSON blob and then it generates the Go structures for that JSON blob. |
[2787.72 --> 2796.16] Extremely useful, especially if you're going to consume an API and you need all of the data and you don't just, you just don't want to sit and type out all the field names. |
[2796.36 --> 2797.78] So that's a very useful one. |
[2797.80 --> 2798.80] And that's a hosted website. |
[2798.80 --> 2800.44] So you can, you can go to that. |
[2800.44 --> 2808.40] Any other community, are there any other community tools that we like? |
[2809.08 --> 2826.34] I personally like the Go report card website, which, which, well, I guess it's less of a local tool, but something that can basically evaluate sort of how close to the idioms, right? |
[2826.34 --> 2831.16] You have the Go community, your, your, your, your code is, is, is, is being kept at. |
[2831.40 --> 2834.28] I think it might even incorporate some of the tools we've mentioned before. |
[2834.38 --> 2836.20] They'll enter the vet, the vet, vetting. |
[2836.46 --> 2840.24] And it includes some other things like a cyclomatic complexity analysis. |
[2840.24 --> 2846.66] And there's a bunch of other nice sort of basic ads in there as well. |
[2846.76 --> 2851.14] And I sort of based on these things, it gives your repository a grade, right? |
[2851.34 --> 2853.82] I think on a scale of A3F or something like that. |
[2854.28 --> 2855.74] So I find that, you know, useful. |
[2855.74 --> 2863.58] So especially when I'm evaluating a repository, a package, third-party package to, to, to determine whether I'm going to use it or not. |
[2864.18 --> 2867.32] If it has a score, I will look at that. |
[2867.64 --> 2872.54] If it's, if it's anything other than A, then I'm going to take a closer look, right? |
[2872.54 --> 2879.28] I'm going to be a little bit more hesitant with sort of bringing it in because I'm like, okay, well, what, what best practices, what idioms are you not following? |
[2879.48 --> 2879.58] Right? |
[2879.58 --> 2880.76] So I'll take a look at that. |
[2880.76 --> 2890.82] And, you know, sometimes, you know, I may just, you know, sort of see what's happening and maybe replicate locally without having to bring the package if I don't like the score, so to speak. |
[2890.82 --> 2895.46] So it's kind of a, it's, it's a nice, it's sort of a, another data point, right? |
[2895.46 --> 2901.70] So to speak, to help you sort of evaluate the quality, I should say, of a repository. |
[2902.02 --> 2904.18] But yeah, it's, it's one of the things I like to see as well. |
[2904.48 --> 2905.68] The same for Godoc. |
[2906.54 --> 2916.58] Godoc is a tool you can run locally, but we have also the godoc.org hosted service, which lets us view documentation for any open source project. |
[2916.58 --> 2920.24] And so, yeah, I think that's, that's also nice. |
[2920.38 --> 2923.92] It's a nice way to provide that capability because it makes sense. |
[2924.00 --> 2925.52] You want to share just a link. |
[2925.90 --> 2934.52] And the nice thing is for Godoc, it's just godoc.org slash, I think maybe pkg slash then the import path. |
[2934.68 --> 2938.00] So again, you're still referring to that import path and we see it. |
[2938.00 --> 2942.68] I personally use a lot of tools from Dominic Honneth. |
[2942.88 --> 2960.14] Like he has this GoTools repo, static check tool, which, you know, contains a lot of like, you know, style check, a lot of like linting type of like, you know, features that GoLint doesn't support. |
[2960.14 --> 2966.04] And it's, you know, there are some cases, sometimes like there's a controversial style topic. |
[2966.38 --> 2969.10] It's not possible to, you know, merge it into the official tool. |
[2969.22 --> 2973.82] So people would just go and like, you know, put it in the GoStatic tool. |
[2974.66 --> 2980.62] So it's, it's a really useful to, you know, tool to take a look in terms of, I think, static tools like that. |
[2980.70 --> 2986.28] I just rely on, you know, static check more than GoLint. |
[2986.28 --> 3002.80] Hmm. Yeah. And, uh, Fatih Arslan, um, he made a service, um, which I think is called Fixing Me, which is, it's a kind of a, it's a, it's a GitHub integration as I understand it. |
[3002.80 --> 3010.90] And it analyzes, it does a bit like the Go report card, but it actually creates, you know, PRs with changes in it. |
[3010.90 --> 3021.90] So it actually does the fit, it's sort of proactive, like you've got another member on your team that's cares only, you know, like the pedant who just cares about all the style rules and all that. |
[3022.40 --> 3025.70] And, um, and that's a project I think it's worth checking out. |
[3025.76 --> 3030.58] It's called, it's, it's Fix Me, it's spelled F-I-X-M-I-E. |
[3030.58 --> 3033.12] Um, so have a look for that one too. |
[3033.24 --> 3038.80] It's a similar kind of idea to the Go report card, but tightly and more tightly integrated into GitHub. |
[3039.42 --> 3044.40] Has anyone here written any of the, any kind of tooling, static analysis or otherwise? |
[3044.76 --> 3048.50] I only wrote some tools to generate some stuff like from an interface. |
[3048.50 --> 3055.56] Um, well, these are also some static tools, like, uh, one common case is generating implementations of interfaces. |
[3055.56 --> 3058.30] And there's like a lot of boilerplate, uh, plate. |
[3058.46 --> 3064.54] So I wrote a tool that kind of like, you know, takes the interface and creates the, you know, the concrete implementation. |
[3064.54 --> 3069.22] And then you just go and like, you know, feel the implementation, feel the methods. |
[3070.04 --> 3076.18] Uh, and do, did you use the AST stuff and the parser and things to build? |
[3076.18 --> 3076.46] Yeah. |
[3076.54 --> 3079.24] I used, uh, whatever it was in the standard library. |
[3079.34 --> 3080.36] It was not that hard. |
[3080.64 --> 3087.92] Uh, it was not that like, I mean, good looking either, but like it was possible to, you know, get it done in like a hundred lines or something. |
[3088.64 --> 3089.08] Yeah. |
[3089.30 --> 3089.56] Yeah. |
[3089.66 --> 3091.80] So, okay, cool. |
[3091.92 --> 3096.80] Well, I think we should also spend some time talking about some of the performance tools as well. |
[3097.12 --> 3099.54] Um, that, that we just get for free. |
[3099.54 --> 3101.52] There are some great talks on YouTube. |
[3101.52 --> 3104.32] It's quite a, it's quite an interesting subject. |
[3104.32 --> 3106.98] And it's talked about quite a lot in from different angles. |
[3107.66 --> 3116.16] Um, but perhaps Yana, you could tell us a little bit about, did I see you do a talk about the performance tools? |
[3116.30 --> 3122.32] It might be possible because like I worked on, uh, you know, some of the dynamic tools, uh, when I was working on Go. |
[3122.32 --> 3124.82] So it was part of my full-time job. |
[3124.82 --> 3129.44] Um, and I generally have been, you know, working in this area for a while. |
[3129.86 --> 3134.92] So it's possible that you have seen me giving a talk, but I can't remember because I'm giving too many talks nowadays. |
[3136.76 --> 3138.90] I thought it was all confidential what you work on. |
[3139.36 --> 3140.10] It's not. |
[3140.26 --> 3142.32] Uh, so the confidential stuff is different. |
[3142.66 --> 3143.36] Oh, what's that? |
[3143.54 --> 3145.24] None of my performance tools. |
[3145.24 --> 3148.54] It's more about like computing, you know, products. |
[3149.02 --> 3149.38] Right. |
[3150.60 --> 3152.58] We'll figure out in a couple of weeks. |
[3154.42 --> 3155.50] I'm just trying to, yeah. |
[3155.54 --> 3161.18] I'm just trying to be like a, one of those journalists, hard hitting journalists that tries to get out the information that you don't want to say. |
[3161.80 --> 3164.86] But if they're too polite, you just say, I'm not going to talk about it. |
[3164.88 --> 3165.90] And I go, oh, okay. |
[3166.18 --> 3166.46] Bye. |
[3166.46 --> 3169.44] Well, the problem is I really don't know. |
[3169.52 --> 3176.24] Like I know generally what I'm going to be working on, but I don't know the specifics and I'm a really precise person, I think. |
[3177.00 --> 3177.20] Yes. |
[3177.38 --> 3184.30] I don't want to like give any impressions that I'm going to work on something that like I'm not going to, because people will be upset. |
[3185.08 --> 3185.32] Yeah. |
[3185.78 --> 3187.40] It's absolutely fair enough. |
[3187.40 --> 3187.64] Just joking. |
[3187.78 --> 3188.04] Yes. |
[3188.72 --> 3194.68] So, but Yada, could you tell us a bit about the, some of these tools though and what they're for, for anyone that doesn't know about them? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.