The Linux Rain Linux General/Gaming News, Reviews and Tutorials

Articles found under tag: tutorial

How to garble

By

In 2003 a strange paragraph made the rounds on email. It read: Aoccdrnig to rscheearch at an Elingsh uinervtisy, it deosn't mttaer in waht oredr the ltteers in a wrod are, olny taht the frist and lsat ltteres are at the rghit pcleas. The rset can be a toatl mses and you can sitll raed it wouthit a…

Read Article

DMS to DD to KML with AWK and sed

By

In a 2014 Linux Rain article I describe a fast 'points plotter' for Google Earth. First I copy a list of latitude/longitudes (lat/lons) from a spreadsheet to the clipboard, then I launch a shell script with a keyboard shortcut. The script builds a KML file from the copied list and opens the KML for…

Read Article

Grouping things with AWK

By

In this article I explain one way to group data items with AWK arrays. The code is a little mysterious but the results are impressive, especially in my second example! Case 1: Cricket stats The table 'runs' is tab-separated and lists the 86 national team cricket players who scored (or have so far…

Read Article

Building sequences of numbers on the command line

By

There are two easy-to-use tools for generating numerical sequences. 'Brace expansion' is a BASH shell built-in, while the seq command is included in the GNU/Linux 'coreutils' package. Each tool has its peculiarities and advantages, as shown below. Simple sequences One difference between the two…

Read Article

Building a Desktop Wikipedia Checker

By

I often look something up in Wikipedia when reading non-browser documents, like PDFs, ODTs and emails. I wanted to have a little desktop window for those look-ups - somewhere I could check Wikipedia without opening a browser and without leaving the document I'm reading. This article describes how I…

Read Article

How to repeat a script, or not

By

I have a data-entry script which adds records to a plain-text data table. It's a fairly complicated script with a GUI dialog, and until recently it added one record at a time. To add another record, I had to launch the script again. Was there a simple way (I asked myself) to re-run the script, or…

Read Article

On dates and stuffed non-dates

By

Nothing gives my wife the Screaming Meemies like dates in spreadsheets. Unless she formats the target cell in advance as text, the spreadsheet will turn a perfectly innocent, non-date string like 23/2/6 into '23-Feb-2006'. When she types 6420-11-3, according to both LibreOffice Calc and Gnumeric,…

Read Article

The header line: how to add, delete and ignore it

By

In a plain-text table, the first or header line usually contains the names of the fields. In this article I've pulled together a variety of ways to add and delete a header, and also how to do things with the rest of the table while leaving the header intact as the first line in the file. Add a…

Read Article

Joining Tables on the Command-Line

By

This article compares 3 different ways to join tables on a common field. All 3 work OK on small tables, but there's a big difference in speed when the tables to be joined are large, as shown below. Table joining isn't something you need to do if you store data in a simple, flat-file database like a…

Read Article

Splitting a File Elegantly

By

In a previous Linux Rain article I compared different ways to delete blank lines, and showed that the AWK way was the simplest and most thorough. Here I show how to split a text file into multiple text files using a surprisingly simple AWK command. Background In 2013 I published an article in Free…

Read Article

News Elsewhere

Linuxtoday.com

How To Install Newly Released Programming Language Rust 1.1 Stable On Linux

 LinuxPitStop: Rust is a newly released programming language, earlier its beta releases were out there and developers have been using and testing it.

DragonFly BSD 4.2 Gets Improvements for i915 and Radeon, Moves to GCC 5

 softpedia: DragonFly BSD is a distribution that belongs to the same class of operating systems as other BSD-derived systems and UNIX.

The evolution of the big data platform at Netflix

 opensource.com: We caught up with Netflix's Eva Tse to get a bit of a background on her, Netflix, and how open source is being used to improve its services.

Is Google the New Microsoft?

 FOSSforce: My guess is that the company poised to win the most-hated-in-free-tech prize is Google. Yeah, Google

Red Hat CEO Applies Open-Source Principles to Management [VIDEO]

Datamation: Jim Whitehurst, CEO of Red Hat, discusses his book The Open Organization.

Yawls: Let Your Webcam Adjust Your Laptop Screen Brightness in Ubuntu/Linux Mint

Noobslab: Yawls stands for Yet Another Webcam Light Sensor

SAP CTO: Complexity breeds shadow IT

 EnterprisersProject: After years of talk about business-IT alignment, users are still circumventing IT departments to find technology solutions on their own.

Tech Comics: Health Wearables And Your Doc

 Datamation: Exactly how useful is your smartwatch?

GamingOnLinux.com Latest Articles

The Last Dogma, A Dark Comedy Exploration Adventure Is Now Available On Steam For Linux

The Last Dogma is now available on Steam for purchase:http://store.steampowered.com/app/374510 It got a massive 1.3 update and features a SteamOS…

Portal Stories: Mel, A Free Standalone Portal 2 Mod Released On Steam

A free standalone(-ish, I'll talk about that a bit later) Portal 2 mod called Portal Stories: Mel has been released on Steam. So those who want more…

Tabletop Simulator Review - My Thoughts On Rolling Digital Dice

“What's the deal with all these simulator games?” Stand up jokes aside, I often catch myself asking some variant of that question…

Unity Editor For Linux In Progress, Experimental Build Could Come Soon

It was heavily requested, and a Unity developer has written a blog post giving us a lot more insight into what’s going on.QuoteAt Unite Europe…

Pillars Of Eternity 2.0 & Expansions Announced, Looking Great

Pillars Of Eternity looks to be solving issues I had with it, and then some with the 2.0 release and expansion. First of all, here's a look at the…

SMACH Zero, A SteamOS Handheld Official Specifications Revealed

SMACH Zero previously known as the SteamBoy has revealed the specifications it should be releasing with. I am still extremely sceptical that it will…

Arcade Brawler 'Kung Fury: Street Rage' Available On Steam For Linux

Street Rage is the video game tie-in to the 80s style action comedy flick Kung Fury, which was funded on Kickstarter last year. The movie is an over…

Distance Is The Racing Game I Never Knew I Wanted On Linux, Some Thoughts & Video

Distance is a beautiful neon survival racer that I finally had a chance to play, and what I found really did surprise me.About the game (Official)…

Gameplay Trailer Released For Upcoming Co-Op Platformer Shift Happens

Shift Happens is a co-op platformer in development built around the concept of shifting mass between two player characters, and it promises a…

Developer Of Limit Theory Has Returned After Months Of Silence

Some of you might remember this open, procedurally generated space exploration / exploitation game that was kickstarted in late 2012. The project has…

Oil Enterprise Strategy Game In Early Access For Linux Gamers

Oil Enterprise is a business simulation that has been available in steam Early Access for about a month and it has been available for Linux from…

VoidExpanse Space RPG Major Updates & It Now Uses Correct Linux Data Structure

VoidExpanse is a good looking and fun space RPG game from AtomicTorch Studio. It has recently been through some major updates, and they finally…

It's Livestream Night, Come Join The Friday Livestream At 5 PM UTC! [Highlights Added!]

Last week I was on summer cottage and was unable to broadcast but this week it will be different! Namely, I'm at home and I actually have a reliable…

The Wine Development Release 1.7.46 Is Now Available

Wine team released today another development release of their software. Version 1.7.46 have many small changes including 67 bugfixes. A new issue of…

Looks Like STAR WARS Knights Of The Old Republic II - The Sith Lords Is Coming To Linux

Well I do love SteamDB, as it appears STAR WARS™ Knights of the Old Republic™ II - The Sith Lords™ has a Linux icon added, so it…