Episode Transcript
Transcripts are displayed as originally observed. Some content, including advertisements may have changed.
Use Ctrl + F to search
0:03
I recently gave a school
0:05
career talk in my capacity
0:07
as a STEM ambassador. Remind
0:10
us what a STEM ambassador
0:12
is. STEM ambassadors are
0:14
professionals in science, technology,
0:16
engineering and maths professions
0:18
who use some of
0:20
their time to inspire
0:22
the next generation of
0:25
kids and students to
0:27
go into STEM careers.
0:29
What sort of age group is
0:31
this aimed at? to sort of
0:33
university age in this particular case
0:35
I was talking to a group
0:37
of year tens who were 14 and
0:39
15 I think that's right yes who
0:42
were studying computer science GCSE
0:44
so they'd already chosen so the
0:46
chances are that they might do
0:48
a career that somewhat adjunct computing
0:51
in some way yes possibly
0:53
I mean you know it's GCSE so you
0:55
know this might be one of 10
0:57
subjects they're studying at the moment but
1:00
the idea of this is to give
1:02
them a nudge into carrying that on
1:04
at least the next stage of further
1:07
education or looking at apprenticeships and so
1:09
on and giving them a chance to
1:11
find out what's involved in actually doing
1:14
a job in software development
1:16
and giving them a chance to ask
1:18
questions about how I got there. So
1:20
what was the setting and how many
1:22
students were you talking to? This
1:24
was in their school in their computing
1:26
classroom, which was... mightily impressive
1:28
compared to the kind of places I
1:31
learned about computers when I was their
1:33
age because we just had ICT lessons.
1:35
We didn't have actual computing lessons. So
1:37
they had all actual computing stuff on
1:40
the walls rather than just here's how
1:42
a spreadsheet works, which I thought was
1:44
quite nice to see. But yeah, I
1:46
literally just went into their classroom in
1:49
one of their lessons and stood at
1:51
the front and gave a short presentation
1:53
about me and how I... got to where I
1:55
am and then did a sort of Q&A session
1:57
with them for the rest of the lesson lasted
1:59
about. 45 minutes. How engaged were they as
2:02
a group or were there like a
2:04
small number of people asking questions and
2:06
the rest of them staring out the
2:08
window? I mean I think mostly they
2:10
were at least politely paying attention. Facing
2:12
front at least. Yeah there were probably
2:15
about half a dozen who asked the
2:17
majority of the questions but probably about
2:19
a dozen overall out of a group
2:21
of about 20 to 30 who asked
2:23
questions. So there was a fair amount
2:25
of engagement. It certainly wasn't just me
2:28
talking at them. the whole time which
2:30
was quite good because I've never done
2:32
one of these before and especially I've
2:34
never done stuff with this age group
2:36
before so it was difficult to know
2:39
exactly how to pitch things. What sort
2:41
of questions did you get? The ones
2:43
that I wasn't expecting were things like
2:45
what spec is your computer? Like they're
2:47
very interested in that and like oh
2:49
does the company buy it for you
2:52
or do you have to buy it
2:54
yourself? One of them asked if that's
2:56
a tax deductible expense, which is a
2:58
bit of a left field question. So
3:00
I gave a brief primer on the
3:02
difference between being self-employed and working for
3:05
a company. But I think one of
3:07
the most interesting questions I got, which
3:09
I've reflected on a bit, was they
3:11
asked about, because my company, I'd explained
3:13
that my company is mostly remote, and
3:16
my team is all in different places
3:18
around the UK, they asked if I
3:20
preferred working in an office or working
3:22
remotely, to which I answered, I prefer
3:24
working remotely. But reflecting on it and
3:26
thinking about sort of... career journey, I
3:29
think I'd discuss a bit more about
3:31
how it's probably better when you're starting
3:33
out when you're a junior developer. There's
3:35
a lot of advantage to being there
3:37
in person and paradoxically being there with
3:40
the more experienced people. Yeah, that's going
3:42
to be tricky if all of you
3:44
want to stay home. Exactly, yeah, I
3:46
prefer being at home, but yeah. But
3:48
yeah, so I thought that was an
3:50
interesting question. Other than that it was,
3:53
yeah, various things about what subjects I
3:55
took and... What sort of projects I
3:57
like to work on and things like
3:59
that? And being asked about
4:01
the projects that you're working on, was there
4:03
an appreciation of open source and working
4:05
on open source? There wasn't as such, but
4:08
one of the questions I got asked,
4:10
so the teacher fielded questions ahead of time
4:12
and sent them to me. So one
4:14
of the ones that I got asked ahead
4:16
of time was whether I collaborated with
4:18
other people and other companies on work, which
4:20
gave me the opportunity to say, well,
4:22
yes, because I work on an open source
4:24
project. So a lot of the work
4:26
I do is collaborative and sort of gave
4:29
them a bit of a primer on
4:31
what open source was and why I thought that
4:33
was a good way of doing things. a
4:35
whole separate talk on its own, isn't it?
4:37
Exactly. That's a whole separate thing. This was
4:39
like literally a two minute, this is what
4:41
open source means. And here's how I've done
4:43
it kind of thing. But yeah,
4:45
I did actually have the opportunity to do
4:48
that, which was quite good. Did you mention
4:50
the fact that you do a podcast in
4:52
your spare time? Yeah, we got 20 to
4:54
30 new subscribers. No, I didn't quite squeeze
4:56
that bit in in the time, unfortunately. Maybe
4:58
I'll try and do it as a sort
5:00
of, yeah, also about me kind of thing.
5:03
Would you do it again? Yeah, definitely. I
5:05
mean, it's tricky finding the sort of right
5:07
combination of people looking for stuff and
5:09
stuff that I'm able to do. So there's
5:11
a website when you're signed up as
5:13
STEM ambassador where teachers basically say, I've got
5:16
this activity going on, looking for people
5:18
to come in. But it's finding those things
5:20
which are within range of me and
5:22
also match up with what I can do.
5:24
But I, having done this once now
5:26
and got sort of a bit of a
5:28
feel for what it's like, I would
5:30
definitely be up for doing it again. Yeah.
5:34
And if people are interested in becoming a
5:36
STEM ambassador and doing this sort of
5:38
thing as well, if you go to stem
5:40
.org .uk, you can find out all about
5:42
it there. Okay. I was going to say,
5:44
how'd you become an ambassador? Is there
5:46
a ceremony or something? It's not quite that.
5:48
Basically, you get a criminal records check
5:50
and you get to say, you're okay to
5:52
go and talk to kids. Do you
5:54
do a DBS check as well? Yes, exactly.
5:56
That's what it's called now. Yeah. Yes.
5:58
Okay. And so once you're registered as an ambassador
6:00
is up to you then to find
6:02
the events and things that you want
6:04
to participate in. Exactly. You can either
6:06
put an offer up and say, here's
6:08
the things I can do, or you
6:10
can find people asking and say, you
6:12
know, I can do this and they
6:14
can pick. So I've spoken about some
6:17
other things I've done which were more
6:19
sort of widely organized events about like
6:21
competitions and mentoring schemes, where they say,
6:23
you know, anyone who has the time
6:25
to do this can sign up and you'll
6:27
join in. Whereas some like in-person events
6:29
tend to be we're looking for
6:31
one or two people on this day
6:34
who can come and then you'll offer
6:36
yourself up and if it matches you
6:38
can you can do that. Linux
6:40
Matters is part of the Late
6:42
Night Linux family. If you enjoy
6:45
this show then please consider supporting
6:47
us and the rest of the
6:49
Late Night Linux team using the
6:51
PayPal or patron links you can
6:54
find at Linux Matters.sh slash support.
6:56
For $5 a month on Patreon
6:58
you can enjoy an ad-free feed
7:00
of our show. Or, for $10,
7:03
get access to all the late
7:05
night Linux shows, ad-free. We love
7:07
to get your feedback via
7:09
email, show, at Linuxmatters.sh, or
7:12
you can chat with us
7:14
and other listeners in our
7:16
telegram group. All the
7:19
details are available at
7:21
Linuxmatters.sh slash contact.
7:24
I am helping organize a bar camp
7:26
in Surrey. What is a bar
7:29
camp? I'm so glad you asked.
7:31
I actually only found out the
7:33
origin of the name quite recently
7:35
and the reason I looked at
7:37
what the name was was because
7:39
when you start going around asking
7:42
people for use of a venue
7:44
for a bar camp, especially educational
7:46
establishments like schools and colleges, they
7:48
want to know what you mean
7:50
by bar. camp and like what
7:52
are we having camping here and
7:54
is there going to be a
7:56
bar and it's like no neither
7:58
of those things Which is really
8:01
confusing. So, as I understand it, the
8:03
term Bar Camp originates from, there was
8:05
a type of conference that they wanted
8:07
to organize and there was already one
8:09
called Foo Camp. So they created the,
8:11
their alternate one was called Bar Camp,
8:13
as in Foo Bar, Bas. That's why
8:15
it's called Bar Camp. I think Foo
8:17
Camp was an invite only event and
8:19
they wanted to make a public
8:21
one, wasn't it? Something like that.
8:23
Yeah, it was something like that.
8:26
Anyway. It doesn't really matter. It's
8:28
an unconference. That means the schedule
8:30
is not set ahead of time. So
8:32
you don't have a schedule with
8:34
a list of speakers on a
8:36
website. You just register your interest
8:38
in attendance, get a ticket, turn
8:40
up if that's appropriate. And you
8:43
decide what you want to talk
8:45
about if you want to talk
8:47
about something. And it doesn't have
8:49
to be about technology. I recently
8:51
went to one in London, London
8:53
Bar Camp. And... I sat in
8:55
on a talk about Mozilla Firefox,
8:58
I also sat in on a
9:00
talk about AI music creation
9:02
and from the non-technical side
9:04
I was in a talk
9:06
on making scenes and the
9:08
focus was with as few
9:10
tools as possible. So getting
9:12
a piece of paper and
9:14
folding it in a particular way
9:17
that you can write on it, fold
9:19
it up and then use that as
9:21
a... that means to start a revolution
9:23
or something and my point being there
9:26
were creative tasks and creative sessions and
9:28
discussion sessions and it wasn't just people
9:30
talking at you with slides but there
9:32
was some of that as well right
9:35
so that's really what an unconference is
9:37
it is a conference that doesn't have
9:39
a fixed schedule ahead of time the
9:42
people who turn up other people who
9:44
make the event happen with whatever they
9:46
want to talk about and so I
9:48
came away from the one in London
9:51
quite excited and fired up and I
9:53
really enjoyed it. So well done to
9:55
the organisers. And I was chatting to
9:57
my friend Laura Tchaikovsky who is a
10:00
Devrail for a company called Dragonfly DB
10:02
and I chat to her quite a
10:04
lot. She lives in Godleming which is
10:06
not too far away in Surrey and
10:09
she said oh I'd really like to
10:11
do a bar camp in Surrey and
10:13
I said yes that would be a
10:15
great idea and then she just went
10:18
off and created a planning document and
10:20
we have a regular catch-up and she
10:22
found a venue and so we're going
10:24
to do it and I'll put a
10:27
link in the show notes to all
10:29
the details but... I can tell you
10:31
a little bit more about the process
10:34
but it's very early on we like
10:36
registered a domain and fixed a date
10:38
and we've set up a site where
10:40
we can you can register and get
10:43
your ticket and that's it so far
10:45
we haven't got sponsors and there's loads
10:47
of other things we haven't done yet
10:49
but it's far away enough in the
10:52
year that we can get all that
10:54
done in time. So when is it
10:56
happening? So we're doing it on the
10:58
first weekend in August, the second of
11:01
August. It's on the Saturday, it's only
11:03
a one-day conference, and it runs from
11:05
9am to 530. And it's going to
11:07
be at Godleming College. And this is
11:10
very easy for everyone to get to
11:12
who, well, everyone who lives near Godleming,
11:14
it's very easy to get to. It's
11:16
easy to get to by car. There's
11:19
a huge car park. and if you're
11:21
coming by train, the train station isn't
11:23
too far to walk. So it's not
11:26
too bad to get to. We've got
11:28
a couple of buildings, they've opened up
11:30
the ground floor, and we've got some
11:32
classrooms, so they're decent-sized rooms, they've got
11:35
projectors, you know, there's tables and chairs,
11:37
and we've also got the sports hall
11:39
as well. So we've got quite a
11:41
bit of space for as many sessions
11:44
as we want to run, spread over
11:46
two different buildings that are right next
11:48
to each other. and all the classrooms
11:50
are on the ground floor and so
11:53
it's all super accessible so you know
11:55
people in wheelchairs or with restrictive movement.
11:57
should be okay to get in because
11:59
we've selected only ground floor rooms and
12:02
you know there's bathrooms and accessible bathrooms
12:04
and all that kind of stuff so
12:06
we were pretty keen on this venue
12:08
and they were very kind to let
12:11
us go over and have a look
12:13
around and Yeah they're really lovely and
12:15
we're quite happy once we explain there's
12:18
nothing to do with camping and nothing
12:20
to do with bars. And you just
12:22
explained that you're in a couple of
12:24
buildings and the rooms and what have
12:27
you if you got some appreciation for
12:29
like how many people you can
12:31
accommodate. That's interesting. The sports hall is
12:33
enormous so quite a lot of people will
12:35
fit in a sports hall for like the
12:38
communal space like if we wanted to have
12:40
a couple of exhibitors we could probably put
12:42
them in there and there some corridor space
12:44
outside. Each room maxes out probably 20 to
12:47
30 people, something like that, probably 20, 30
12:49
would be a bit of a push. And
12:51
we've got two rooms in one of the
12:54
buildings, and then we've got two in the
12:56
building next door, and it's only a short
12:58
walk from one building to the other. You
13:00
can do it in a few seconds. It's
13:03
not like they're on opposite sides of the
13:05
site or anything, they're right next to each
13:07
other. But we have the option of more
13:10
rooms if we think. we're going to have
13:12
more people. And we've got a target of
13:14
how many people we think might come to
13:16
an event like that. We're not looking for
13:19
hundreds and hundreds of people. We're looking for,
13:21
you know, a couple of hundred would be
13:23
a lot, I think. So probably less than
13:25
that. But yeah, somewhere between 100 and 200
13:28
would probably be a good amount of people.
13:30
And if there were lots of people who
13:32
wanted to give talks and four rooms wasn't
13:34
enough, we can ask them to unlock additional
13:37
rooms that are just opposite the rooms we've
13:39
already got. So it's not like we have
13:41
to open another building or anything like that.
13:43
It should be pretty straightforward. Are you
13:46
organizing this like cold just going into
13:48
it further enthusiasm or have you got
13:50
some sort of mentor who's been giving
13:52
you some advice and guidance? I'll be
13:55
honest, Laura is doing most of the
13:57
work here. She has tons of experience
13:59
doing this. of stuff. She's very good
14:01
at this kind of stuff. She's been
14:03
doing it for years. She's really good
14:05
at doing event organizing and she knows
14:07
exactly what's needed. But we had a
14:10
call with Terrence Eden who organized the
14:12
London bar camp and we asked him
14:14
to brain dump in our direction. So
14:16
we took loads of notes and we've
14:18
been to enough things like odd camp
14:20
and I had fresh memories from the
14:22
London ones so I knew some of
14:25
the things that they did that worked.
14:27
and so we're going to borrow some
14:29
of those things. But bar camp, it's
14:31
only one day, it's not like we've
14:33
got to worry about accommodation for people,
14:35
we're going to try and get sponsors,
14:38
try and figure out what we do
14:40
about refreshments if we can. maybe have
14:42
a bar van out so no definitely
14:44
no bar no camping maybe have an
14:46
area if the weather's nice then maybe
14:48
people can sit out on the grass
14:50
because there is a big field next
14:53
to the sports hall and maybe people
14:55
can you know bring a blanket and
14:57
sit out on the grass at lunchtime
14:59
or something like that we're trying to
15:01
figure all those details out but it's
15:03
basically the key message about any bar
15:06
camp really they're all somewhat similar a
15:08
similar theme and the idea is really
15:10
to get people who are passionate about
15:12
something to talk about and share their
15:14
knowledge about that topic. Some of it
15:16
could be technology, it doesn't have to
15:18
be though, and we can learn from
15:21
each other in a friendly accessible setting
15:23
with other like-minded friendly people. That's really
15:25
the goal is to have an accessible
15:27
friendly, respectful environment in which people can
15:29
share whatever it is they're passionate about.
15:31
And should people still come if they're
15:34
not up for... talking about something themselves?
15:36
Oh sure, yeah. Like, you know, if
15:38
you think about how many hours there
15:40
are in a day, like we're going
15:42
to run from 9 till 530 and
15:44
there's going to be a slot for
15:46
lunch and a couple of slots for
15:49
breaks. So there's a limited number of
15:51
slots we're going to have in each
15:53
day in the day and there's a
15:55
limited number of rooms and so even
15:57
if we had 200 people they couldn't...
15:59
all do a talk. So naturally there
16:02
are going to be some people who
16:04
are going to gravitate towards wanting to
16:06
give a talk and also plenty of
16:08
people who won't. And that's fine. That's
16:10
all part of it. We would encourage
16:12
people who are interested and have something
16:14
that they think is interesting and other
16:17
people might want to know to give
16:19
a talk. Like I did not think
16:21
that London Markamp that I would sit
16:23
in a talk and learn about how
16:25
revolutions are started with homemade magazines. But
16:27
I did. I didn't think I'd learn
16:30
about all new features that happening
16:32
in Mozilla Firefox that actually got
16:34
me actually excited about Mozilla Firefox
16:36
future releases, which I did not
16:38
think was going to happen either.
16:40
And there were other things like
16:43
games to play and other fun
16:45
things. So there was, I like the
16:47
diversity of topics that you get at
16:49
bar camps, and that's why we wanted
16:51
to organize one that was outside London
16:53
near us that we can find a
16:56
decent. venue that is accessible, that was
16:58
important. And like I said, it's got
17:00
a big car park. It's even got
17:02
some EV charging points for those of
17:04
us who care about that kind of
17:07
thing. And if people want to come
17:09
on a bike, they can probably cycle,
17:11
get a train. Godleming's not, you know,
17:13
the middle of nowhere. It's a fairly
17:15
accessible place to get to. So
17:17
you'll probably hear more about this at
17:20
some point, but the key thing to
17:22
putting in your diary is the second
17:24
of August and, uh... We'll put a note
17:26
in the show notes that links to
17:28
how you can get a ticket. So
17:31
you can already get a ticket if
17:33
you want to. And we will talk
17:35
more about this in a future
17:37
episode, no doubt. This
17:41
episode is sponsored by Tailscale, but
17:43
get your finger away from that
17:46
skip button. I'm going to explain
17:48
how I use the free Tailscale
17:50
personal plan to host global lamb
17:53
parties and why you fellow Linux
17:55
enthusiasts should check it out. Tailscale
17:58
effortlessly provides the... benefits
18:00
of wire guard without the
18:02
hassle of manually configuring it.
18:04
My office in town is
18:07
seamlessly connected to our homeland
18:09
using tail scale subnet routing,
18:11
which is just a tick
18:13
box configuration. It made it
18:15
simple to set up sync
18:17
thing for off-site backups without
18:19
exposing them to the public
18:21
internet. I instantly switch between
18:23
work and home tail nets
18:26
to connect to the resources
18:28
I need. and I even
18:30
share a tailnet with friends
18:32
in other countries to create
18:34
a land to play old
18:36
games that only offer multi-play
18:38
over local networks. Loads of
18:40
the late night Linux family
18:42
hosts are using tail scale
18:44
to make complex configurations easier
18:47
than melting butter with a
18:49
lightsaber and you could too
18:51
because the tail scale personal
18:53
plan will always be free.
18:55
To support the show and
18:57
become a networking Jedi, try
18:59
tail scale for free today.
19:01
You'll get up to a
19:03
hundred devices and three users
19:06
for free with no credit
19:08
card required at tail scale.com/Linux
19:10
Matters. That's tail scale.com/Linux Matters.
19:13
Having successfully got Alan and Mark
19:16
using Power Line Go, it's time
19:18
for the bait and switch as
19:20
I tell you I've moved to
19:22
Starship! Oh God! I can't keep
19:25
up! Man! What Starship then? Starship
19:27
is, and I quote, the minimal
19:29
blazing fast and infinitely customizable prompt
19:31
for any shell. So we talked
19:34
about power line a couple of
19:36
times. I think because Mark, you
19:38
did some customisations to that to
19:41
tell you what version of Moodle
19:43
was in the project that you
19:45
were currently looking at. Yep. I
19:47
think that came about because I
19:50
was talking about glyphs and nerd
19:52
fonts and you said, oh, it's
19:54
interesting that you've seen these fancy
19:56
prompts, but you didn't know how
19:59
people made them work. Yeah. in
20:01
power line some years ago because
20:03
predominantly it looked nice. And the
20:05
problem with power line go for
20:08
me in recent times is that
20:10
it doesn't look as nice as
20:12
I wanted to and I couldn't
20:14
find any way to theme it.
20:17
And having spent a great deal
20:19
of time adding cap poochin gorgeousness
20:21
to everything in my system I
20:23
had this rather ugly power line
20:25
prompt. I think you're pushing it.
20:28
It's not ugly. It might not
20:30
fit your theme, but I think
20:32
functional. It is a command line
20:34
prompt that only his mother can
20:36
love, I'm sure. Well, once the thought had
20:38
entered my head, I'm going to change from
20:41
power line. I noticed a couple of things
20:43
about power line that I really hadn't spotted
20:45
before, and it's quite big. Like it's got
20:47
lots of words and things. I know you
20:49
can tune it and tweak it. change the
20:52
maximum length of things, but it does seem
20:54
to take up quite a lot of space.
20:56
You mean all that information it's giving you?
20:58
Yeah, exactly. When you just change it to
21:01
C. coli on backslash or something like that?
21:03
Well, yeah, I mean you can, but I
21:05
want, I do like lots of information in
21:07
the prompt. It's a productivity tool. You know,
21:10
you can glance down, you can see the
21:12
status of your Git tree that you're in
21:14
and it's very helpful. And I was aware
21:16
that Starship is apparently the new hotness
21:18
for shell prompts. And I've looked at
21:20
it in the past, but bounced off
21:22
it because all of the demos that
21:24
you tend to see for Starship favour
21:26
sort of the prompt being on one
21:28
line, or rather the status information being
21:31
on one line, and then a carriage
21:33
return to get to the actual prompt
21:35
where you type. And I really don't
21:37
like that. I don't know if it's
21:39
because I'm old and commudgingly, but I
21:41
like my prompt and my text entry
21:43
to... move together as one, not be
21:45
a multi-line thing. If you're a
21:47
member of Single Line Commudgeon Club,
21:49
then I'm joining you because I
21:51
cannot stand two line prompts. I
21:54
think they're insane. Yeah. And anyone
21:56
else who's listening, who wants to
21:58
join us in single... come to
22:00
our telegram channel and we'll give
22:02
you the private handshake and everything.
22:04
So a lot of people use
22:06
Starship because it has a lot
22:08
of information that it can display
22:11
and that's why you see these
22:13
sort of dual line prompts because
22:15
they pack in a load of
22:17
information. Anyway I sat down with
22:19
a pen and a pencil. and
22:21
I looked at all of the
22:23
configuration capabilities that were in Starship
22:25
and my goal was to display
22:27
more information than I was currently
22:29
seeing in Power Line but in
22:31
less space that Power Line took
22:33
up and most importantly to make
22:35
it fit with my Capuchin theme.
22:38
Vitely important, yes. That's the key
22:40
motivation. Let's very absolutely clear. So
22:42
having decided that's what I was
22:44
going to do, the first thing
22:46
I did is I invited my
22:48
daughter in who's very disciplined on
22:50
the order of colours to be
22:52
rainbow ordered and I showed her
22:54
the capooching colour scheme and I
22:56
said, which of these should I
22:58
use and in what order should
23:00
they appear along the prompt? So
23:02
she's helped make a beautiful rainbow
23:05
prompt for me. And once I
23:07
got that down, I started putting
23:09
together my status information and this
23:11
is a visual thing. So I'll
23:13
have in the show notes a
23:15
link that you can go to
23:17
with a little animation of how
23:19
it all works. So you can
23:21
see visually. But there were some
23:23
things that I thought I don't
23:25
need to see some of these
23:27
things. So I've gone for sort
23:29
of a visual representation of most
23:32
things. So instead of my username,
23:34
I have a little green ninja,
23:36
which is me. And when I'm
23:38
root, instead of the word root,
23:40
it's a little red demon. So
23:42
I use nerd font glyphs to
23:44
denote who the user is. And
23:46
if unexpectedly, I'm not logged in
23:48
as either as those accounts, then
23:50
it does show the full text
23:52
username. So Green Ninja is me
23:54
and red demon is root. And
23:56
then similarly for the path prompt,
23:59
instead of doing... the full path,
24:01
power line enables you to do substitutions.
24:03
So all of the common directories
24:05
that you have, like home, instead
24:08
of the word home or till,
24:10
is actually a little house. And
24:12
if you have like slash documents,
24:14
for example, I have a document
24:17
glyph, so it's home icon slash
24:19
a document icon, so you can
24:21
contract a lot of the common
24:23
directories down to three little pictures
24:26
rather than... a whole bunch of
24:28
words. And so I've gone through
24:30
and deeply customise the visual presentation
24:32
of all of this and I'm
24:35
particularly happy with like how get
24:37
trees are presented because I've used
24:39
all of the glyphs that are
24:41
available in nerd fonts to show
24:44
how far forward behind you are
24:46
with your different branches and what
24:48
have you. And it all does this
24:50
in just a few glyph characters.
24:52
And if at any point you're
24:54
confused as to what these little
24:56
glyphs mean, you can just type
24:59
Starship Explain and it will break
25:01
down the phone, it will display
25:03
the prompt character by character vertically
25:05
and it will then annotate what
25:07
each of the elements of the
25:09
prompt are so you can remind
25:11
yourself. Yes, so you don't have
25:13
to have all of this translation
25:15
stored in your brain. Right. It's
25:17
easy for me because I designed it.
25:19
So you were kind enough to show
25:21
this to me in the office and
25:24
you shared the configuration with me which
25:26
I put on my computer. In fact,
25:28
I put on every single computer I
25:30
have now followed the Ninja Master and
25:32
removed PowerLine Go from everything, literally everything.
25:34
And now I've got Starship on
25:36
there and I've used your config and I've
25:38
just realized that when I open a terminal
25:40
I do see my name because my name
25:43
is not Martin. I didn't look at the
25:45
config. Is there a substitution in there that
25:47
basically says if name is Martin then show
25:49
a Ninja? Oh yeah. So what you need
25:51
to do is just grab that file for
25:53
my name and change it to Alan and
25:55
you too can be a Ninja. I will
25:58
do that across all my machines yes. So
26:00
the thing that I'm interested in is the
26:02
same thing I was interested in with Power
26:04
Line Go, which is, is it extensible? Can
26:06
you easily write your own little widgets and
26:08
do you have to contribute them to the
26:10
code base or build them into the code
26:12
base from to work or can you plug
26:14
them in separately? Yes and yes. So there
26:16
is one of the modules in Starship, I
26:18
think is called Project. and that already knows
26:20
the context of the directory you're in. So
26:23
it uses some heuristics and if it's like
26:25
a node project it knows how to look
26:27
at packages. Jason and things like that and
26:29
it will put the version of the project
26:31
in the prompt for you for example. So
26:33
a whole bunch of people have obviously contributed
26:35
things like that for popular project frameworks. Now,
26:37
if you're using Moodle, and I did check,
26:39
because I anticipated this question, which is not
26:41
one of those supported frameworks, they've got another
26:43
module which is called custom. And you can
26:45
add the custom module and then you can
26:47
create your own little bit of scripting or
26:50
something to go and look at whatever it
26:52
is you want to do and then display
26:54
that. in your prompt. So I think for
26:56
your use case you'll be able to create
26:58
a Moodle one as a custom thing just
27:00
for you or if you were so inclined
27:02
you could add Moodle to the projects thing
27:04
upstream and then everyone would benefit. Nice. At
27:06
work I was sharing my screen and someone
27:08
saw my terminal after you... shared your Starship
27:10
config with me and they were like, oh,
27:12
you're using Starship? And I said yes. And
27:14
they went, oh, can you share your config?
27:17
And I was like, well, okay, you'll get
27:19
it from here. And I pointed to your
27:21
config and they got it. And then. Someone
27:23
else at work asked me about my my
27:25
shell prompt and I shared it with them
27:27
and they said something like I cannot be
27:29
bothered to figure out how to do this
27:31
just tell me exactly what commands are type
27:33
and I was like okay no worries I
27:35
got you man and so your Starship config
27:37
is now on multiple computers in Angkor.
27:39
Well, that's nice to done. Well,
27:41
that's nice to hear.
27:44
And I've had friends
27:46
that have seen my
27:48
screen go, So I
27:50
like that. So it
27:52
has spread far and
27:54
wide. And I've put
27:56
it in a gist, which
27:58
will be in the
28:00
show notes. So if
28:02
you want to go
28:04
and grab it, you
28:06
can do that you can
28:08
do that too. into it
28:11
is the the for the
28:13
cat poochin. theme. So So
28:15
if you like the
28:17
design, but you don't
28:19
like the colors, you
28:21
can take it and
28:23
you can just go
28:25
in there and change
28:27
the go in there and scheme the
28:29
make it for make
28:31
know, your own you that
28:33
you theme to use. to
28:35
use. But Starship is is great.
28:38
It's infinitely customizable. and you
28:40
can can line curmudny club just
28:42
as you want as you want to. So I've
28:45
been very happy with it. with it and yeah, come
28:47
come and give it a try. Let
28:49
me know me you think. you think.
Podchaser is the ultimate destination for podcast data, search, and discovery. Learn More