Justin Searls on Lineman.js & Frontend Workflows | RailsConf 2014
•
UGtastic Archive
Justin Searls on Lineman.js & Frontend Workflows | RailsConf 2014
Loading this player connects your browser to Youtube.
Full Transcript Available
LIVE CC
UGtastic Archive
Press play or click any turn in the transcript to start real-time synchronized playback...
📼 FROM THE UGTASTIC ARCHIVE (Recorded on-site at RailsConf 2014)
Archival conversation with Justin Searls, creator of Lineman.js and co-founder of Test Double, recorded at RailsConf Chicago 2014.
Recorded during the 2009-2015 software craftsmanship and developer community movements, this archival interview captures early ideas, debates, and community organizing in real time.
---
🏛️ ORAL HISTORY RECORD:
• Series: UGtastic Technical Conversation Archive (2009-2015)
• Recorded: RailsConf 2014 (2014-04-22)
• Guest: Justin Searls
• Interviewer: Mike Hall (UGtastic / https://www.just3ws.com)
• Legacy UGtastic Archive ID: gY2NXYrVpMg
📖 FULL ARCHIVE & ORAL HISTORY:
https://www.just3ws.com/interviews/
🏷️ TOPICS: Justin Searls, Lineman.js, RailsConf 2014, JavaScript, Ruby, Software Craftsmanship, UGtastic, Mike Hall
Restored and preserved by Mike Hall (https://www.just3ws.com)
The Guest
Unattributed voices
UGtastic archive transcript with speaker attribution pending
The Presentation
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
Hi, it's Mike with UGtastic. I'm at RailsConf 2014, and I'm
standing here with Justin Searles, who talked about LymanJS. It's his open source project, which, what language is that
written in, Justin? So, it's actually a Node.js-based tool.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
But it's JS. Yes. And we're not, like, big Node advocates, but we really
think it was the best tool for the job, and we're really
happy with it. Okay, so what was the actual talk, though?
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
So, it's two thoughts. One, it's very difficult to give a
technical talk that's like an introduction, like, here's
this technology, without falling into the trap of, like,
here's a readme that I'm listing up all the bullet points
that I can do. And it's doubly hard when you were the primary author of it,
because then, you know, you just don't want to come across
like a shill just marketing your stuff. Or even that you understand internals, and it's hard maybe
sometimes to empathize and be like, well, what would I want
to know about this if I didn't know anything about this?
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
Precisely. And so, I actually gave, like, five really bad
talks about Lyman before I actually, like, late last year,
invested the time to really, really get inside the heads of
people who didn't yet see that they had the problem that it
solves. The problem that it solves is that people hate writing
JavaScript. And it's, in my opinion, it's not only just
because of the language, it's because the tooling and the
ecosystem doesn't have all of the, like, Yehuda's talk and
his keynote was about how the conventions and the default
configuration that we get from Rails to solve the common
problems is where most of the value is in Rails.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
And I totally agree, but that mindset is missing from most
of the JavaScript community. That's why his team has had a
hard time selling Ember.js, which is of a similar mindset,
to the world at large. This is, what problem am I solving? Right, right.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
It's too big. It's too opinionated. But those
common elements between all of our projects, to reinvent
the wheel every single time is just wasteful. And I feel
the same way about build tools.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
Like, I want to feel
productive. Like when you hit a new Rails application, like, I know how
to run the server. I know where models are going to be. I
know a whole lot of information that I'm not actively
thinking about.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
What I'm actively thinking about is, how is
this different from a vanilla Rails project? Like, they only configure the stuff that defines how they're
different from the norm. And I wanted the same thing for
JavaScript applications. And so, we built Lyman.js just to
be a thin little candy shell around community tasks and
build tool stuff that just provides conventions.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
It says, hey, we expect the JavaScript to be an app.js. And
because we do that, we can pre-configure all this task for
you. So, you don't have to kind of, you know, copy pasta
this gigantic task configuration from project to project. And if you hit another alignment project, you know how to
run it already.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
You know how to run the test. You know how
to build it. You know how to deploy it. And that was what
we were aiming for.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
And so, the talk now, I said I gave five really bad
versions of the talk. The talk now is, hey, you might not
realize it, but you might be hating JavaScript for the
wrong reasons. And you might be underestimating the hidden costs of
building one big monolithic Rails application with, like, a
mini full-blown JavaScript application buried inside. And once I've talked to you about that problem, it's almost
like, you know, the punchline that, at the very end, it's
like, oh, and here's this thing we wrote that solves all
these problems.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
As opposed to just being like, here's our thing. Please,
here's our thing. We would love if you used our thing. Yeah, because when I look at this, right now the ecosystem
for JavaScript tool seems to be kind of exploding with Grunt,
Bower, and now there's Lionman, and then there's, it seems
like every week there's a new tool popping up into the
chain.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
I mean, how, it can be overwhelming. Yeah, absolutely. And it's, there's a shiny bobble syndrome,
you know, that we always have when there's a lot of new
stuff coming out all the time. I remember in 2007, 2008, in the Ruby community, there were
new gems all the time that seemed to do the same thing,
replacing last week's gems.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
And it was really frustrating because I felt like every
project I hit, everything was changing all the time. I'm feeling that way in Node now, and I think the way to be
successful in a highly innovative environment like that is
to pick something that works and let it just work for you
and stick with it for a while. For example, in Lime internally, one of the biggest
criticisms from people in the Node community is that we're
using Grunt.js as the lower level for the task stuff. Okay.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
And it's because newer shiny bobbles that are better in a
lot of objective ways than Grunt have released since then,
like Gulp.js, for example, the stream-based thing instead
of file. And we agree, Gulp is really cool, but the things that make
Gulp better than Grunt aren't really problems for us
because of how we use Grunt. We use Grunt as like this tremendous pool of all these
common tasks that do everything. We don't really use it as like the master of – the things
that Gulp is solving for are some of the things that Lyman
already solved for us.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
We don't feel that pain. And yet, because of the shiny bobble, people are really
excited to just always be on the latest and greatest thing. And in this kind of environment, sometimes you just have to
pause, let the dust settle, and just be productive. And that has been our goal.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
Yeah, because certainly it seems to be one of the things
that the Rails does well is it has a nice curated stack so
I can avoid some of those decisions. But when I myself look at a Node project, it's daunting. But it's okay to just pick a tool and just drive with that
until another tool emerges. Yeah, just like the talk, right?
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
Like if you adopt a tool because somebody is talking about
the tool, you skipped a step where you identified a problem
that that's actually going to solve you. So I think developers, a lot of times, we love technology. We love the rapid pace of innovation that's happening
around us. And new is fun and great and sexy.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
And sometimes we need a paraprogrammer or somebody else on
our team to be like, so what's the ends here? What are you trying to actually accomplish with this? And then I always – like I'm that guy. I have to pause and be like, well, you know, it's cool.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
Yeah. And we do the cool thing. And so I totally relate. Yeah.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
Okay. And to change directions a little bit, we've talked about
the product you're working on. But you've also written about the actual talk and how you
brainstormed it. Oh, sure.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
Yeah, yeah, yeah. And it was a truly impressive mind map that you generated
for trying to understand what you want to teach, what you
want to express. Can you talk a little bit about why you created that post
and maybe even a little bit of information into your actual
process? Right.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
So that's up on our company blog at blog.testdouble.com. We're a software agency consultancy, so we've got to have a
blog where we share what we're learning. And I wrote that post out of feedback from both attendees
at conferences now that I feel like I've kind of landed on
an approach that I like for delivering talks. As well as from some of our own people at test double who
say, hey, I want to give a talk, but looking at Gary Bernhardt
give a talk or you give a talk that's very, very clearly
this polished thing intimidates me.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
Like, I don't know how to do that. Right. And I want to separate the mysticism, the confusion of the
magic of what the finished product looks like from just the
hard work that goes into it. There's a ton of hard work that goes into it, but I want to
demystify the actual process that I go through to create it.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
And I'm constantly iterating on that. But the mind map you referred to was for the lineman talk,
and it was the result of me realizing that my attempts at
persuading and informing people, like the two primary goals
of a technical talk, had been a lot more information and
not enough persuasion. And so I had to figure out a rhetorical structure that
would support both of those goals and be snappy and keep
people engaged, but still give them enough information that
they could take the first baby steps on their own and then
go start their own adventure. Instead of just feeding them everything and making people
feel like, oh, good, I know that now and go on to the next
talk.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
Because when we look at a talk, like yours or Gary Bernhardt's,
as Corey Yates once put it, you're going to drop knowledge
on everybody in the audience. But it's how do you get to that point? And it even reminds me a little bit of Chopin's quote of
you play a lot of notes until you find the right ones to
make it simple and to get the essence of what you're trying
to say. And by exposing the Sausage Factory that is, you can see
how you came to that.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
So that way it's so many little things. It's like, you know, I pick the color choices for this lineman
talk because I know build tools are scary things. And you think of neon green and black terminal shells. And it seems masculine.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
And unfortunately, the name lineman is a gendered name. So what I want to do is, like, intentionally pick very
light, fun, playful, silly, like, I built a color palette
and the names are like marshmallow and, you know, just fun,
lighthearted things to counter people's expectations and to
help people drop their guard. You know, it's one little tiny piece of a bigger hole. I'm not a designer, but I absolutely respect the elements
of design that can help support your message.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
Yeah. So it sounds like you also spend time looking at how
other people talk. You talk about Gary Bernhardt's style. And are there any other speakers whose styles you kind of
look to and try to figure out how they're doing it?
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
Yes, of course. I don't see as many talks as I'd like. I have a really bad habit of being, like, always slated for
the last day, second to last session of a conference. And I feel like to be a good steward of people's time, I
need to be pecking away and making it as good as I can.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
Right. And so I often miss a lot of talks. But when I do, I mean, some that I've really enjoyed, let's
see, Sandy Metz is always really terrific. Katrina Owen puts a ton of effort into her talks and they're
very thoughtful.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
Aaron Patterson has this great way of disarming a crowd by
showing some local flair and some almost just comedy stand-up
and then diving into, like, you know, deeper topics than
really anyone typically goes into. Let's see. Who else of the less super well-known people? Gosh, mind-blowing.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
I'm struggling to think of other awesome speakers, but
there's lots out there. If you're my friend and you're listening to this and you do
talks and I didn't name you, I'm really sorry. That's okay. But there's lots of good stuff out there.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
It's an explosion, right? All these conferences are getting hundreds of requests for
people to speak, and it's fantastic. And I think that the more people put effort into honing
this skill, it pays dividends in the ability just to
communicate generally. And I just want to encourage everyone to, you know, spend
the time to try to hone their craft.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
And a big part of that is going to conferences and watching. Going to conferences or going to user groups and practicing
and trying. And it absolutely is something. Getting that feedback.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
Absolutely. Just like a comedian, they go and they hone their act at
the comedy clubs. You can go to user groups and to your own company and give
that presentation over and over and over again. Yeah.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
I don't take feedback particularly well. Like, if somebody gives me some critical, objective
feedback, it just makes me feel like an utter failure. It feels like it makes me really, really hurt inside. I'm getting a little bit better, but the best feedback is
the non-verbals you get from a crowd.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
You can feel when something falls flat. You can feel when something hits. And you can get into a flow where you can just feel the
thread of the conversation. And you're controlling almost like the thoughts of the
people in the room, that you're all jiving to the same
ideas and arriving at a similar enough conclusion.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
But then you'll have had a shared experience and a great
conversation after. That's what I look for in terms of feedback that's most
valuable to me. And that ties into the original keynote theme of reading a
lot of code to understand good code. Watching presentations and listening to presentations can
help with learning how to give good presentations.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
Yeah, absolutely. Okay. Well, thank you very much for taking the time. Thank you, Mike.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
Thank you so much for inviting me. Sure. Appreciate it. User groups with lots to say, interviews, and more.
Unattributed voices
UGtastic archive transcript with speaker attribution pending
▶ Speaking
No way! Sharing great ideas in the tech community. Fascinating conversations, a plethora of information. Find out for yourself today at euketastic.com.