text stringlengths 0 1.49k |
|---|
**Brian Ketelsen:** Alright, so all campiness aside - I built the current GopherTrain website and the current GopherCon website using Buffalo, and it's actually brought joy back to my life in web development. I did Rails for a long time, and I've liked the idea of Rails; there were pain points in Rails that I didn't li... |
**Mark Bates:** Aww... That makes me sad for making fun of your earlier. |
**Brian Ketelsen:** It should. |
**Mark Bates:** I mean, you know... |
**Brian Ketelsen:** Because I've never done anything but say nice things about you. |
**Mark Bates:** That is true. |
**Brian Ketelsen:** Well, actually, it's not, but you don't know better, so... |
**Mark Bates:** \[laughs\] |
**Erik St. Martin:** Publicly he's only said nice things. \[laughter\] |
**Mark Bates:** Hang on a second. Excuse me, I'm being interviewed by Casey Affleck right now... Would you mind being quiet? Yeah. No-no. It's Casey Affleck, you know? The "dood-basterd...", yeah. Okay. |
Sorry. I was being bothered by a local. \[laughter\] |
**Carlisia Thompson:** Did that just happen? \[laughter\] |
**Brian Ketelsen:** Oh my god. |
**Carlisia Thompson:** So back to the Buffalo.io... I am curious to know what third-party libraries are you using? You already said you were using gorilla-mux, which I think is awesome that you made that choice. I'm wondering, are you wrapping around any database library and what else are you using? |
**Mark Bates:** Yeah, that's a great question. So one of the big things about Buffalo is I believe Buffalo stands on the shoulders of giants. As a matter of fact, whenever I cut a new release I generate a file called shoulders.md, which lists all of the packages that I use inside of Buffalo because I wanna make sure ev... |
\[11:52\] So for me, some of the packages like go.rice, which allows you to bundle static files into Go - it's a great package. What I love about that package is you don't have to keep running it in development, it falls back to your file system, which is really nice. So you only need to generate those kinds of binding... |
We were using the raymond package for our templating system, but unfortunately we ran into just a few issues with that library, but we leveraged the AST and lexer and parser from raymond; it builds basically raymond on top of raymond, but fixing a few of the issues we had and kind of improving upon it. It is a great te... |
A lot of the gorilla stuff - we use a lot of that. For things like database, we're actually using a package I wrote called pop, which I quite like because it offers actual migrations versus auto-migrations. I'm a big fan of being able to control when my database gets upgraded and how. It's kind of a halfway between mag... |
I know Brian has used it and is favorable towards it, if I could use those words, Brian... |
**Brian Ketelsen:** You're putting words in my mouth, but yes, I think pop is good, and I've used gorm quite a bit in the past, which is a whole lot of magic in the ORM side of things. And I like pop quite a bit; it's not much magic at all, but it gives you the power to get things done with just enough glue on top of s... |
**Mark Bates:** \[laughs\] I have. I do love sqlx, that's such a great package. But yeah, so just a ton of them. Just some really great... Like, blackfriday... I support markdown templates as well as HTML templates, so blackfriday is there... Just a ton. I recommend people check out the shoulders.md file, because there... |
**Erik St. Martin:** You know, one cool feature that I saw was there that I haven't seen in any of the other frameworks is the REPL, which is really cool. |
**Mark Bates:** Yeah, I pulled in Gore, which is, again, an awesome little project. I do, again, just a little bit - I generate a little bit of code to import your models and actions into the REPL right away, so you don't have to import those later. But yeah, it's really cool, and again, it didn't take much time at all... |
**Erik St. Martin:** And if the term REPL sounds odd or confusing to anybody, I believe it's Read-Execute-Print Loop, if I recall... |
**Brian Ketelsen:** It might be 'Evaluate'. |
**Mark Bates:** Yeah, I think it's 'Evaluate'. |
**Erik St. Martin:** Yeah, it might be 'Evaluate'. But it's basically just a console to interact with the language. |
**Mark Bates:** With your Go application - how awesome is that? |
**Brian Ketelsen:** It's very awesome. |
**Mark Bates:** The other thing is we also use Grift, which is a library that lets you run kind of reusable tasks, very similar to rake in the Ruby world... Which is great for doing things like seeding and stuff like that. |
**Brian Ketelsen:** You stole my thunder, I was gonna mention Grift. Grift is my favorite part of the whole thing, because you get to do that whole rake thing. If you're used to the Ruby world where you ran rake db:migrate or whatever, you could make your own Grift tasks that interact with your Go code. |
Yesterday - not yesterday, maybe Friday - I created a meta Grift that runs Grift on the remote server, so you can run Grift-Grift, and it creates a Grift that runs a Grift on a remote server, which is just awesome, so you can do your production db migrations over SSH. Very awesome. |
**Mark Bates:** My favorite part is being able to say "I'm running a grift." \[laughter\] |
**Brian Ketelsen:** \[unintelligible 00:16:00.27\] a grift. \[laughter\] |
**Erik St. Martin:** Don't say that in front of that undercover cop. |
**Mark Bates:** \[16:05\] \[laughs\] Oh, this Dunkin' Donuts is pretty used to that sort of behavior. |
**Erik St. Martin:** Carlisia, you were about to say something? |
**Carlisia Thompson:** Yeah, a couple things I wanna say now. First, actually I do wanna make sure people understand that there is a listing of all the libraries that Mark is using, and it's worth taking a look. There's some very interesting stuff, including the libraries that were just mentioned. And a lot of the libr... |
**Mark Bates:** \[laughs\] Absolutely. I'm always looking for help, I think like any good OSS person is always looking for help. Yeah, they are... Well, thankfully, with the exception of Buffalo and pop, a lot of the libraries are very small things that don't do very much; they're just little helpers and bits that I fi... |
**Brian Ketelsen:** If goth is really popular, do you think Adam follows it on Twitter? \[laughter\] Probably not. |
**Carlisia Thompson:** I was drinking too, and I almost spit it out. \[laughter\] |
**Erik St. Martin:** So you can actually make fun of it now, because he can't interject, so you can say whatever you want. |
**Brian Ketelsen:** Don't break the fourth wall, Adam. Don't do it. \[laughter\] |
**Erik St. Martin:** I actually wanna play with pop, because I haven't seen it. I haven't had to do database migrations or anything in a while, but there seem to be some tools in the early days for migrations, and many of them seem to get abandoned. |
**Mark Bates:** Yeah, I was using one - I think it was called Migrate - very early on, and it was great... I'm trying to remember the issues I had with it; I tend to start - that's kind of my development process... I find something, I love it, I start using it, I try to contribute; if things aren't happening, if the ma... |
I've asked for a bit commit on several repos in the past that have gotten nowhere, so I guess my call to OSS maintainers is if you can't maintain your OSS, be willing to give it up. Be willing to give it to somebody else who wants to maintain it. |
**Erik St. Martin:** Yeah, I guess that's a fair point. And sometimes it's hard too, because sometimes it's not intentional, right? Many of us create little things to solve a purpose, then we share it with the world because we're like, "Hey, this might be useful to somebody else" and then you forget about it. |
**Mark Bates:** Right. |
**Erik St. Martin:** I've had a couple of those that I'm sure I probably have GitHub issues that have been open for years and I've never even seen them. |
**Brian Ketelsen:** Has anybody seen the GitHub statistics thing that's running around Twitter that shows you how many commits you did last year, or whatever...? There's a list of the GitHub repos that I committed to last year, and I committed to like 213 repos, and a hundred and something of them are mine. And I thoug... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.