Skip to the content
Both.org
News, Opinion, Tutorials, and Community for Linux Users and SysAdmins
  • About Us
  • Moving to Linux in the Triangle area
  • Linux
    • Why I use Linux
    • The real reason we use Linux
  • My Linux Books
    • systemd for Linux SysAdmins
    • Using and Administering Linux – Zero to SysAdmin: 2nd Edition
    • The Linux Philosophy for SysAdmins
    • Linux for Small Business Owners
    • Errata
      • Errata for The Linux Philosophy for SysAdmins
      • Errata for Using and Administering Linux — 1st Edition
      • Errata for Using and Administering Linux — 2nd Edition
  • Open Source Resources
    • What is Open Source?
    • What is Linux?
    • What is Open Source Software?
    • The Open Source Way
  • Write for us
    • Submission and Style guide
    • Advertising statement
  • Downloads
1

Minty Fresh on a Meerkat: My Latest Linux Setup

September 15, 2025September 10, 2025
2

My start with BASIC programming

September 12, 2025September 8, 2025
3

Read long lines with getline

September 11, 2025September 8, 2025
4

Rhythmbox is a great music player for GNOME

September 10, 2025September 8, 2025
5

Reading the command line with getopt

September 9, 2025September 8, 2025
6

How do I choose a Linux distribution?

September 5, 2025September 5, 2025
7

Using QGIS and MerginMaps for Geospatial Data Work

September 4, 2025September 3, 2025
8

Exploring GNU Algol 68: Formatting numbers as strings for output

September 3, 2025September 2, 2025
9

What you need to know when you buy a new computer

September 2, 2025September 2, 2025
  • Home
  • Programming
  • Page 2

Category: Programming

Programming

Grayscale images with Portable Gray Maps

Learn to write grayscale images using the Portable Gray Map format.

Jim Hall
April 23, 2025April 19, 2025
Read More
Programming

Write tiny images using PBM

The Portable Bit Map (“PBM”) image file format was invented in the 1980s as a way to transmit small black and white images as plain...

Jim Hall
April 21, 2025April 19, 2025
Read More
FreeDOS Linux Programming

Reading a whole file at once

Two methods to load a data file into memory. Use mmap on Linux sysetms.

Jim Hall
March 20, 2025March 20, 2025
Read More
FreeDOS Programming

Old-school programming with Turbo C

Explore retroprogramming on FreeDOS with this popular freeware IDE.

Jim Hall
March 19, 2025March 20, 2025
Read More
FreeDOS Fun Programming

Calculate pi by counting pixels

This is a very simple way to measure pi, but it was a fun exercise and I wanted to share it.

Jim Hall
March 14, 2025January 27, 2025
Read More
Linux Linux Philosophy Perl Programming Raku

Perl and Raku Conference will be held June 27-29, 2025 in Greenville, SC, USA

David Both to be the keynote speaker The Perl and Raku Conference for 2025 is coming up June 27-29, 2025, and it’s set to be...

David Both
March 8, 2025March 10, 2025
Read More
AI Programming

Using AI to translate code

I was impressed that AI did so well translating from an old language like FORTRAN 77 into a more modern language like C.

Jim Hall
March 7, 2025March 3, 2025
Read More
AI Programming

Cautions when using AI for coding

While AI agents can help streamline development, keep in mind these cautions when using AI for coding.

Jim Hall
March 6, 2025March 3, 2025
Read More
FreeDOS Programming

Draw a Cylon eye in DOS

Have fun by writing a program to simulate a Cylon’s sweeping red eye

Jim Hall
February 5, 2025February 1, 2025
Read More
Programming

Using enumerations in C

Using enumerations with enum makes it easy to store values in a program, yet keep the code easy to read.

Jim Hall
January 17, 2025January 10, 2025
Read More
Programming

Using bit fields and bit masks in C

Using bit fields and bit masks is a common method to combine data without using more complex structures.

Jim Hall
January 10, 2025January 10, 2025
Read More
FreeDOS Programming

Enjoy the holidays with this ASCII fireplace

Enjoy the holidays by writing a ‘fire’ program in ASCII text.

Jim Hall
December 24, 2024December 20, 2024
Read More
FreeDOS Programming

What I learned by teaching others

Sharing knowledge with others is often a great way to refresh and update your own expertise.

Jim Hall
December 20, 2024December 17, 2024
Read More
Both.org Programming

5 ways to learn about programming

Read these popular articles from the last year to get started on your programming journey.

Jim Hall
December 16, 2024December 1, 2024
Read More
Linux Programming Python

Remove Background from Photos for Holiday Card Creation with Python

You can use open-source tools to produce holiday cards this year. Suppose you have a great photo of your family or grandchildren, but it was...

Don Watkins
December 7, 2024December 4, 2024
Read More
FreeDOS Fun Programming

Print a spooky greeting in ASCII art

Generate colorful ASCII art from a C program using FreeDOS.

Jim Hall
October 31, 2024October 13, 2024
Read More

Posts pagination

Previous 1 2 3 4 Next

Random Quote

Computers are easy; People are hard.

— Bridget Kromhout

End of 10...

  • End of 10…

Links: Humor

  • Linux: A true story

Links: Interesting info

  • Replace Kubernetes with systemd

Links: Linux

  • Fedora
  • KDE for W10 Exiles
  • Linux Mint
  • Ubuntu

Links: Moving to Linux

  • 7 Reasons Fedora Might Be a Better Windows Replacement Than Linux Mint
  • Best Linux distros to try before Windows 10 support ends
  • Isn’t It Time to Switch to Linux? 12 Reasons to Abandon Windows
  • KDE for W10 Exiles
  • Linux: A true story
  • Why I Switched to Linux From Windows

Links: Open Source Software

  • GIMP
  • LibreOffice

“systemd for SysAdmins” Now Available

May 13,2025

My latest book — a #1 New Release on Amazon — “systemd for Linux  SysAdmins” is now available from my publisher, Apress, and on Amazon.

2nd Edition now Available

All three volumes of this best-selling second edition of my Linux Self-Study course are now available from Apress and Amazon. See the details of this 3-volume self-study course.

Technically We Write — Our Partner Site

Our partner site, Technically We Write, has published a number of articles from several contributors to Both.org. Check them out.

Technically We Write is a community of technical writers, technical editors, copyeditors, web content writers, and all other roles in technical communication.

Subscribe to Both.org

To comment on articles, you must register.

Send your desired user ID, first and last name, and an email address for login (this must be the same email address used to register) to subscribe@both.org with “Subscribe” as the subject line.

You’ll receive a confirmation of your subscription with your initial password as soon as we are able to process it.

Administration

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
  • About Us
  • Moving to Linux in the Triangle area
  • Linux
    • Why I use Linux
    • The real reason we use Linux
  • My Linux Books
    • systemd for Linux SysAdmins
    • Using and Administering Linux – Zero to SysAdmin: 2nd Edition
    • The Linux Philosophy for SysAdmins
    • Linux for Small Business Owners
    • Errata
      • Errata for The Linux Philosophy for SysAdmins
      • Errata for Using and Administering Linux — 1st Edition
      • Errata for Using and Administering Linux — 2nd Edition
  • Open Source Resources
    • What is Open Source?
    • What is Linux?
    • What is Open Source Software?
    • The Open Source Way
  • Write for us
    • Submission and Style guide
    • Advertising statement
  • Downloads

Advertising Statement

Advertising Statement

To the Top ↑ Up ↑