Intro to IRC (Activity)

From TeachingOpenSource
Revision as of 19:09, 6 August 2024 by Heidi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Title

Intro to IRC (Internet Relay Chat)

Overview

Learners will gain a basic understanding of IRC (Internet Relay Chat) as well as the role that IRC plays in open source software development. Participants will learn about IRC etiquette and explore the interactions that occur between members of an open source community.

Prerequisites

None.

Learning
Objectives
After successfully completing this activity, the learner should be able to:
  1. Describe the importance of IRC as it relates to open source software development.
  2. Connect to an IRC server and join a channel.
  3. Participate in a brief interaction on an IRC channel.
Process Skills
Practiced


Background

IRC (Internet Relay Chat) is an essential tool used by open source software developers. It allows members of the community, or those interested in becoming involved in the community, to communicate 24/7, regardless of their geographic location. IRC is much like Instant Messaging with a group.

Bear in mind that ‘talking’ is not always a requirement. You will learn a great deal by ‘listening’, especially in the beginning. When you join a channel, it is not necessary to identify yourself or to say hi, you can simply 'lurk'. Feel free to ask questions, and note that it is not necessary to ask first if you can ask a question.

IRC resources:

Directions

Throughout this activity you will be asked to answer questions, make observations, and may wish to take notes. These should be posted to your wiki page.

Part 1 – Walk through of IRC Conversation

Download this sample IRC Conversation

This conversation is part of a meeting being run with a meetbot. A meetbot is a type of "bot" (or program that simulates a human activity) that works in IRC channels to help take notes for a meeting. Note the dark green entries in the conversation that begin with a hashmark. These are meetbot commands.

  • The first line of the conversation shows "darci" starting the meeting.
  • "totally" is the name of the meetbot.
  • The #topics command sets the topic of the conversation and is one of several commands.

As you review the conversation, you should:

  1. Pay attention to the interactions that occur between community members.
  2. Ignore the technical terms.
  3. Accept that the content may be beyond your understanding at this point, your first step in being productively lost.
  4. Answer the following questions on your wiki page:
    • How do people interact?
    • What is the pattern of communication? Is it linear or branched? Formal or informal? One-to-many, one-to-one or a mix?
    • Are there any terms that seem to have special meaning?
    • Can you make any other observations?
  5. Now look at the results of the meetbot. This shows you how each meetbot command is formatted into a legible page that summarizes the meeting. Some additional formatting may be needed, but it certainly provides a great starting point. Here's a link to the final version of the meeting notes.
    • Bonus question: Why didn't Heidi and Darci's actions get picked up by the meetbot?

Part 2 – Install and Start an IRC Client

There are many IRC clients to choose from, below is a brief list of suggestions:

  1. Windows and Linux: Hexchat (https://hexchat.github.io/) or Pidgin (https://pidgin.im/)
  2. Mac OS X: Colloquy (http://colloquy.info/)

Note that there are some locations or situations where the IRC port is blocked. In such cases you may want to use a web-based client:

  1. Kiwiirc, supports the freenode server and you can access the foss2serve channel from here. - https://kiwiirc.com/client/irc.freenode.net/
  2. Mibbit, allows you to connect to a variety of servers. - http://www.mibbit.com/

Part 3 – Join and Observe Channel Discussion

Observe the activity of two or three channels over a 24 hour period. You do not need to be physically present for this length of time. You can join the channel and let the IRC client record the communications that occur.

Fedora uses a number of different channels: see https://fedoraproject.org/wiki/IRC . Join two or three of them.

  1. Connect to freenode.net: /server freenode.net
  2. Join a channel: /join #<channel-name> . For example, /join #fedora-devel
  3. Summarize your observations on your wiki page.
    • Pay particular attention to the ways that the communication in this channel differs from the sample dialog you examined in Part 1

Part 4 – (Optional - Make your own channel and experiment)

Sometimes the best way to figure out what's possible is just to play around and know you're not going to step on anyone's toes. In IRC you can create a channel by typing

   /join #channelname  

(and you can make "channelname" whatever made up thing that you want!).

A variant of that is that if you type

   /join #yournick  

and no one has created the channel #yournick on that IRC server then a new channel called #yournick will be created and you'll automatically have Ops privileges. This is a fun way to experiment with Ops privs!

Next, try one of the most useful commands (for almost any system, anywhere): help

  • Remember to precede it with the /, as that's what tells the client that it's a command, not text to be sent.
  • Invite another student to the your channel and try some of the commands that you can only do with Ops privileges
  • Record the commands you tried and what they did (in your own words) on your wiki page.

Deliverables

POSSE: Be ready to participate in the upcoming IRC meeting:

  • Have the appropriate IRC client installed and running
  • Test that you can connect to the network
  • Test that you can access freenode and the foss2serve channel
    • /server irc.freenode.net/
    • /join #foss2serve

POSSE and Students will deliver:

  1. For Part 1, their observations/answers to the following questions:
    • How do people interact?
    • What is the pattern of communication?
    • Are there any terms that seem to have special meaning?
    • What advantages might IRC have over other real-time communication methods (like Google Chat or Facebook Messenger?) Are there potential disadvantages?
    • Can you make any other observations?
    • Bonus question: Why didn't Heidi and Darci's actions get picked up by the meetbot?
  2. For Part 2: nothing to deliver, should have successfully installed IRC client
  3. For Part 3: observations of the #a11y channel communications and how they differed from the sample dialog in Part 1.
  4. For Part 4 (optional): a list of at least 5 commands that will work in the channel that was created, and what they mean.

Notes for Instructors

The remaining sections of this document are intended for the instructor. They are not part of the learning activity that would be given to students.

Assessment

Some possible questions:

  • For what purposes do FOSS projects use IRC channels?
  • Why choose IRC over another synchronous collaboration method (like a conference call)?
  • How can IRC be used to facilitate project management?
  • In your own words, explain how to find a channel and join it for whichever IRC client you prefer.


Criteria Level 1 (fail) Level 2 (pass) Level 3 (good) Level 4 (exceptional)
Understanding of importance of IRC in open source (from observations of IRC log) Did not attempt observations Minimum effort put into observations (one statement per question, for example) Complete observations Well thought-out observations that tie the material back to other knowledge (bonus question also a nice addition)
Ability to connect to an IRC server and join a channel Did not attempt Installed client but did not join channel Installed client, joined channel Installed client, joined channel, made good observations of project
Become familiar with the interactions that occur in an IRC channel (from Observations of HFOSS project) Did not attempt observations Minimum effort put into observations (one statement per question, for example) Complete observations Well thought-out observations that tie the material back to other knowledge

Comments

  • Some projects have multiple channels. There may be one for developers, another for documentation and another still for end users. These should all be listed on the project website. See, for example, Sahana, which has:
    • Sahana : for general Sahana developer or user support from the community (starting point for most discussions)
    • Sahana-Meeting : for scheduled Sahana meetings
    • Sahana-Agasti : for Sahana Agasti-specific developer discussions
    • Sahana-Eden : for Sahana Eden-specific developer discussions
    • Sahana-GIS : for Sahana GIS-specific discussions
  • Depending on the project, its size, and the amount of activity on a project's channel, it may be necessary to determine an appropriate day for this observation. If there is a specific day/tim that the developers meet, you might want to schedule your observation for this day. You can join the channel and identify yourself as _afk (away from keyboard, for example joe_afk using the /nick command). When you return the following day, you will be able to observe the communication that occurred during the previous 24 hour period.
  • Note that many of the POSSE and OpenFE team hang out in the foss2serve channel throughout the day:
    • Connect to the server via the command: /server irc.freenode.net/
    • Join the foss2serve channel via the command: /join #foss2serve
    • Come join us!!!
ACM BoK
Area & Unit(s)

HCI/Collaboration and Communication, HCI/Foundations, SE/Software Project Management

ACM BoK
Topic(s)
  • Synchronous Group Communication
  • Social models that inform interaction design, e.g., culture, communication, networks and organizations (*why* IRC and not something else)
  • Team Participation/Team Management
Difficulty

Easy

Estimated Time
to Complete

60-75 minutes

Environment /
Materials

Internet access, a Web browser and an IRC client.

Author(s)

Darci Burdge, Heidi Ellis & Gina Likins

Source

Communication and Community

License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

CC BY SA.png


Suggestions for the Open Source Project

What channels does your project use? Which would be most useful for students to join?