Technology - Public Libraries Online https://publiclibrariesonline.org A Publication of the Public Library Association Fri, 26 May 2023 21:30:40 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.5 What is a Library without a Librarian? https://publiclibrariesonline.org/2023/05/what-is-a-library-without-a-librarian/?utm_source=rss&utm_medium=rss&utm_campaign=what-is-a-library-without-a-librarian https://publiclibrariesonline.org/2023/05/what-is-a-library-without-a-librarian/#respond Fri, 26 May 2023 21:30:40 +0000 https://publiclibrariesonline.org/?p=18636 Striving for a balance between accessibility and the preservation of essential services will enable libraries to continue their crucial role in fostering community connections and meeting the diverse needs of their users.

The post What is a Library without a Librarian? first appeared on Public Libraries Online.

]]>

In 2012, Connie Crosby posed a thought-provoking question: “What is a Librarian without a Library?” Today, this question holds even greater significance as public libraries face funding cuts and seek innovative ways to adapt to the evolving needs of their communities. This post looks at the emergence of book vending machines and staff-less libraries, considering the benefits of increased access while acknowledging the vital role of library staff members.

The Rise of Book Vending Machines
The book vending machine industry, which gained traction in the 1990s, has experienced growth in recent years. During the pandemic, these machines became an excellent solution, offering access to reading materials while prioritizing the safety of both library staff and patrons. While book vending machines provide a cost-effective alternative, it is essential to recognize that libraries serve a broader purpose beyond book lending.

Staff-Less Libraries: Exploring New Frontiers
Staff-less libraries, also known as “Open Libraries” or “Open+,” have been on the rise across different countries. By extending self-service hours, these libraries aim to provide greater access to resources and facilities. Proponents argue that removing staff allows for increased availability of computers, study rooms, and materials, particularly in times of budget constraints. However, it is important to acknowledge that community members use the library for many reasons and library staff members often serve as trusted guides and sources of assistance for individuals seeking help across a broad spectrum of information needs, including social services. The human connection they provide is essential in creating an inclusive and supportive environment within libraries.

Balancing Accessibility with Essential Services
As vending machines and staff-less libraries gain popularity, it becomes crucial to strike a balance between accessibility and the need for human assistance in libraries. While vending machines and lockers for book holds offer convenience, they may not adequately address the diverse needs of library users, particularly those requiring assistance with social services. Libraries have traditionally been safe spaces where individuals can find guidance and support, and it is important to preserve this role in any adaptations made to library services.

Challenges and Opportunities
Budget cuts and technological advancements offer the opportunity for libraries to reimagine their operations. Striking a balance between accessibility and essential services is paramount to ensure that libraries continue to meet the evolving needs of their communities. Striving for a balance between accessibility and the preservation of essential services will enable libraries to continue their crucial role in fostering community connections and meeting the diverse needs of their users.

 

The post What is a Library without a Librarian? first appeared on Public Libraries Online.

]]>
https://publiclibrariesonline.org/2023/05/what-is-a-library-without-a-librarian/feed/ 0
How I Used ChatGPT to Make a Video Game https://publiclibrariesonline.org/2023/05/how-i-used-chatgpt-to-make-a-video-game/?utm_source=rss&utm_medium=rss&utm_campaign=how-i-used-chatgpt-to-make-a-video-game https://publiclibrariesonline.org/2023/05/how-i-used-chatgpt-to-make-a-video-game/#respond Mon, 15 May 2023 18:18:05 +0000 https://publiclibrariesonline.org/?p=18513 The debate on the ethics of AI is lengthy, especially in terms of art, but one aspect of the debate is using AI as a tool. Whether you use it as a tool to brainstorm ideas for projects or use it to help your writing- it’s a very powerful tool- so powerful, I asked it to help me make a basic 2D Platformer.

The post How I Used ChatGPT to Make a Video Game first appeared on Public Libraries Online.

]]>
Artificial Intelligence or AI for short is on fire, ranging from conversations about it being used ethically, whether it’s the topic of artists having their work stolen, or students using it to do their homework. You can make a picture book with AI, opening several questions in library land. If we’re going to have to start cataloging works based on if an AI did it, or a human did it. In the future, will patrons make these requests, “I want to read something a human wrote, no AI at all?”

The debate on the ethics of AI is lengthy, especially in terms of art, but one aspect of the debate is using AI as a tool. Whether you use it as a tool to brainstorm ideas for projects or use it to help your writing- it’s a very powerful tool- so powerful, I asked it to help me make a basic 2D
Platformer.

Recently as a graduate student, I took Team Studio, a class where you work with other students in creating games for your portfolio. I wanted to use Unity’s visual scripting for the project, but that ended up not working out. I now, as a librarian, had to learn C# from scratch in order to create a player controller for my character. The player controller would have the ability to move, flip, jump, and be able to receive damage. Since I had previously used visual scripting to make my previous platformer and have fun in Dreams, doing the same via C# was a challenge,
especially since we had an eight-week time limit. Coding is not something you are taught in library school. If anything you learn some HTML/CSS to help design webpages. I already knew some back from my Neopets, and MySpace days in the mid-2000s. Therefore, the transition to learning C# was more doable compared to if I didn’t know any coding at all, but here’s what makes programming so difficult- there are more than 200 ways to program movement, and there’s no right way of making a frog jump for example, you just have to make programming work for you.

There are benefits to visual scripting and traditional scripting in terms of making video games. My argument for visual scripting is that for us librarians since books are our main specialty, it’s easy for beginners to feel empowered to want to try to make video games, so it would be easy with some time for it to be offered as a class to the patrons. All you are doing is connecting nodes with each other. I highly recommend Dreams and Game Builder Garage for video game collections, because those games teach you the skills needed to do visual scripting. However, there are more tutorials and guides out there for traditional coding, which made using C# to do the programming for our student project more feasible. Look at the below picture, one is visual scripting while the other is C#. Both are scripts that make a game object rotate and spin. Which is easier? It’s up to you to decide.

There are plenty of Youtube tutorials out there that I followed in teaching myself C#. However, finding tutorials that actually help, and are not outdated was difficult to find. I got my player controller to move, but it could not jump. Finally, I found one where you had to add an empty game object of “ground check” to the player and tag the layers. Hurray, my player jumps! But then, after my teammate made a script for health that I tried to incorporate, now my player refused to jump. I was stressed out, for why was the player not jumping now?

Game development is “figuring out why this is not working, you finally fix it, but in fixing that you break something else.” My teammate ended up saving the day by having to create an entirely new player controller script. It was extremely stressful having to learn enough C# in a short time frame to get a working player, so the professor gave the suggestion of using ChatGPT to write scripts. While the game we created for class features no ChatGPT scripting, his advice did inspire me to do this pet project. I was able to make a player controller script that both moves around and jumps using tags and layers, I did not even have to do the method of adding a ground check game object to my player like other tutorials I followed did. This is what I created: a very simple, 2D platformer where you can walk and jump around. The artwork is all from Canva, as I cannot draw/animate well.

You cannot hurt enemies or take damage as of right now, but the goal is eventually, using ChatGPT alone to make the scripts capable of doing so. Eventually creating a more fleshed-out 2D Platformer is the goal, but the fact that ChatGPT was able to create a decent player controller script, as well as enemy patrol scripts that work was impressive. I did not have to do the ground check game-object trick that so many of the player controller tutorials I saw utilized. Here is the catch- you have to know some C# to utilize it properly. You have to know how the
syntax works and what certain terms mean, otherwise just copying and pasting it directly onto Visual Scripting may cause compiler issues for your game, and make your game unplayable.

Here is an example of how I told ChatGPT to write the scripting.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour
{
public float moveSpeed = 5f;
public float jumpForce = 10f;
public AudioClip jumpSound;
private Rigidbody2D rb;
private AudioSource audioSource;
private bool isGrounded;
private void Start()
{
rb = GetComponent<Rigidbody2D>();
audioSource = GetComponent<AudioSource>();
}
private void FixedUpdate()
{
float moveInput = Input.GetAxisRaw("Horizontal");
rb.velocity = new Vector2(moveInput * moveSpeed, rb.velocity.y);
}
private void Update()
{
if (Input.GetKeyDown(KeyCode.Space) && isGrounded)
{
Jump();
PlayJumpSound();
}
}
private void Jump()
{
rb.velocity = new Vector2(rb.velocity.x, jumpForce);
isGrounded = false;
}
private void PlayJumpSound()
{
if (jumpSound != null)
{
audioSource.PlayOneShot(jumpSound);
}
}
private void OnCollisionEnter2D(Collision2D collision)
{
if (collision.gameObject.CompareTag("Ground"))
{
isGrounded = true;

Then, in Unity, all I had to do was edit the PlayerController script, or in the case of starting it from scratch, create a new script by clicking “add component” at the bottom.

Then just copy and paste it into Microsoft Visual Studio, save, add the jump audio sound, and then you are done.

The post How I Used ChatGPT to Make a Video Game first appeared on Public Libraries Online.

]]>
https://publiclibrariesonline.org/2023/05/how-i-used-chatgpt-to-make-a-video-game/feed/ 0
I’ve Written a Book. I’m a Machine, and Taught Myself How to Write. https://publiclibrariesonline.org/2023/01/ive-written-a-book-im-a-machine-and-taught-myself-how-to-write/?utm_source=rss&utm_medium=rss&utm_campaign=ive-written-a-book-im-a-machine-and-taught-myself-how-to-write https://publiclibrariesonline.org/2023/01/ive-written-a-book-im-a-machine-and-taught-myself-how-to-write/#respond Wed, 04 Jan 2023 02:11:02 +0000 https://publiclibrariesonline.org/?p=18277 Librarians have heard about AI (Automatic Intelligence) but you and I as librarians may not know how it will be affecting our profession and jobs.

The post I’ve Written a Book. I’m a Machine, and Taught Myself How to Write. first appeared on Public Libraries Online.

]]>
Librarians have heard about AI (Artificial Intelligence) but you and I as librarians may not know how it will be affecting our profession and jobs. Publishers and writers are worrying, because some of the books being written by machine are actually quite good. Whether this will effect how publishers deal with book submissions, or how libraries will catalog these things without an author, but a machine number, is up for wondering, as well as worrying.

I suppose there are lots of us writers, editors, and librarians who are going to like what a special AI machine can do to help with the load of getting the book written, on the shelf for reference or circulation along, with audio book making, so we don’t have to read everything, only listen.

Some of the issues being discussed relate mostly to publishers and writers; will anyone be left to write good stories? If too many books come out because of the swiftness of how many can be written, and published, where will they go, how do we sell them, review them, how do we make shelf space for them?

We now have many books about AI and the new 2022 best list can be found here.

A new Generative Pertained Transformer-3 (GPT-3) software is doing really well. It is a broadly useful language algorithm that utilizes machine learning to interpret text, answer questions, and accurately compose text. It analyzes a series of words, text, and other information then focuses on those examples to deliver a unique output as an article or a picture. Here is an article about its first book. The article also discusses some of the questions. If AI makes up a story from things already written, who owns the
copyright? GPT-3? Is this the ‘Author’?

We have just recently seen how AI has written a song, and recorded the song using an AI singer to sing it. How does a librarian cataloger, or document this? Doing a search I found there are AI song creators, generators, writers, remixers, et al. One AI song has caught many in wonderment. In just a few days it accrued over $330,000 in streaming revenue.

Would people using an AI book creator make as much money as a writer writing a novel? We do have a book which tell writers how to publish books in Public Domain, but republishing digitized content/words, would be quite different; perhaps plagiaristic. It seems, from reports, CPT-3, while having lots of buttons to push, still can’t make much of a story from what it has to work from.

Some things AI are encouraging and are already being used in libraries, but it appears AI isn’t going to take over the library book or record collections very soon. I have an essay writing software program which will search everything which has been written on a subject of choice; mostly on the internet. The program will also cite where a particular paragraph has come from. I’m not sure using those paragraphs and such would be very useful, if I’m trying to add to knowledge, rather than report it; I’m sure AI would have no idea what my review of a book would look like either, so I only use this program to see the many ramifications of a topic. I can also do this with the carrot2 program for AI in libraries.

I certainly believe we are going to learn of issues documenting, finding, citing, AI created content, along with legal issues of who owns what in AI content. A start would be to check out this article by Westlaw.

The post I’ve Written a Book. I’m a Machine, and Taught Myself How to Write. first appeared on Public Libraries Online.

]]>
https://publiclibrariesonline.org/2023/01/ive-written-a-book-im-a-machine-and-taught-myself-how-to-write/feed/ 0