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

Split a table and number the pieces: two methods

By

I worked on these bits of code to simplify a shell script of mine. You really wouldn't want to see the script's original commands here — they're way too ugly! The new commands are much prettier and work well. The problem To simplify the story, here's a comma-separated table called demo, sorted on t…

Read Article

Some baby name problems

By

No, these aren't homework problems from a computer science class. They're interesting head-scratchers based on a data-analysis project I worked on recently, with the data 'reimagined' here for simplicity but with the underlying problems intact. We'll start with boys and girls, which are text files…

Read Article

The State of NVIDIA Optimus on Linux

By

For those unaware, NVIDIA Optimus is a technology that allows integrated Intel graphics and a discrete NVIDIA graphics card to be built into the same computer (generally a laptop) and switch between the two on-demand. This same technology is also the cause of Linus Torvalds' infamous "finger"…

Read Article

A "Track Changes" script for data cleaning

By

The complicated-looking script at the end of this article is in two parts. The first part detects the changes made when a data table is edited, and reports the changes as a plain-text logfile. It's a straightforward bit of shell scripting based on the diff command. The second part of the script…

Read Article

Linux, HP and the avoidance of Windows

By

Having a TL;DR day? In a nutshell, I just replaced a 2011 HP Mini netbook with a 2014 HP mini-notebook. Both run Linux. Thank you, HP. The netbook I bought a 2011 HP Mini 110-3744TU in early 2012 (specs below). It came with Windows 7 'starter', which I replaced with CrunchBang Linux. The Mini is…

Read Article

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

How to Write Good Software

By

Software must be free as in freedom Good software is Free Software. I will avoid using the term "open source" as it doesn't cover a social side at all, which is equally as important, as the technology itself. You can read more about this from here. Widely accepted tools and languages Good software…

Read Article

News Elsewhere

Linuxtoday.com

Fedora 22 Advances Linux for Cloud, Workstations, Servers

eWEEK: In this slide show, eWEEK takes a look at Fedora 22's key features.

New Linux Based OS Brings Internet of Things Closer to Reality

LinuxJournal: Chinese firm Huawei has announced that it will be releasing an open-source Linux-based operating system named "LiteOS

Infographic: 7 strategies CIOs are using to drive digital transformation

EnterprisersProject: Companies that embrace new digital skills and technologies are more likely to experience higher profits and revenue growth, according to new research by Harvard Business Review Analytic Services.

Five Reasons to Use Linux

 FOSSforce: Quite simply, most of us use desktop Linux because it's superior to all other brands

How to install Asterisk 13 on Debian

 HowToForge: Asterisk is a Open Source framework for building communication applications

Freescale pumps out three new Linux-friendly i.MX6 SoCs

 LinuxGizmos: Freescale's dual- and quad-core "Plus" i.MX6 SoCs boost graphic performance and RAM support, while the single-core Cortex-A7 "UltraLite" targets secure IoT.

Is SourceForge hijacking project accounts?

 ITworld: SourceForge has gotten heat in the past for its advertising practices

Using Raspberry Pi to get teens involved in open source

 opensource.com: Red Hatter Anderson Silva shares how young people interested in technology can use a $35 Raspberry Pi to get started contributing to open source.

Simplicity Linux Makes Good on Its Easy-Peasy Promise

LinuxInsider: Simplicity Linux delivers just what its name suggests: It is a simpler way to run a fully powered Linux desktop on any computer you touch.

GamingOnLinux.com Latest Articles

UE3 Powered Physics Puzzler 'Unmechanical' In Open Beta For Linux

The beta for 2.5D physics puzzler Unmechanical was announced a couple of weeks ago, and is now available for all owners of the game on Steam. An…

Dragon Wars, Retro Turn Based Fantasy, Another Classic Released On GOG With Linux Support

Dragon Wars is a very retro turn based fantasy game, and it has been released on your favourite DRM free store with Linux support. It's another game…

Heroes Of Loot, A Mix Of Dungeon Crawling & Twin Stick Shooting On Steam For Linux, Initial Thoughts

Heroes of Loot is a 2D dungeon crawler with twin stick like shooting, I've taken a little look so that you know what to expect.About HoL (Official)…

Voxelnauts, A Sandbox MMO Built On Linux & Needing Help On Kickstarter

I am always hesitant to cover any crowdfunding campaigns, but I think Voxelnauts has just won me over. All development is done on Linux, they have…

Demo Released For Choose-Your-Own-Adventure Mystery Game 'Jenny LeClue'

Jenny LeClue was funded on Kickstarter last summer. A playable teaser has now been made available, along with a new teaser trailer. This trailer…

Adventure RPGs Hero Of The Kingdom I & II Released On Steam For Linux

The quest and resource based adventure RPGs by developer Lonely Troops were both officially released for Linux this week and the first one is…

Steam Replaces The Linux Tux Logo With SteamOS

In an unsurprising move, Steam has replaced the Linux icon of "tux" with their own SteamOS icon. I completely understand why they did this, but it…

Co-op Gravity Platformer 'Ibb & Obb' Now Available On Steam For Linux

The cute but challenging co-op gravity platformer ibb & obb is out of beta and is one worth a look if you have a friend to play with. We wrote…

Audiosurf 2 Smashes Out Of Early Access, Available For Linux

Audiosurf 2 is the sequel to the smash hit music game Audiosurf, and as the name suggests you do literally surf the music. The sequel is available…

Dying Light Linux Performance Patch & New DLC Released

The day has arrived, not only do we have a new DLC for Dying Light, but the Linux performance patch I previewed for you has also been released! To…

The Funding Crowd 46

Welcome to the Palladium issue of The Funding Crowd! Yep, 46 appears to be a reasonably interesting number, apart from representing aforementioned…

Torment: Tides Of Numenera RPG Has A New Trailer

I love RPG games, so Torment: Tides of Numenera has me really excited! This new trailer is further extending my excitement, and it looks like I will…

Nightside RTS Updated With Multiplayer & The Start Of A Campaign

It’s no secret that I love the visual style of Nightside, and this new update has boosted the content rather a lot.Changelog:Quote- First 5…

Linux Test Build Available For Convoy, A Tactical Roguelike-like Inspired By Mad Max & FTL

I was immediately interested in Convoy when I originally heard about it, but was sad when there was no Linux support. The good news is they now have…

Point & Click Adventure Game 'Zak McKracken: Between Time And Space' Released For Linux

Seven years after the unofficial fan sequel to the 80s classic Zak McKracken and the Alien Mindbenders was released in German for Windows, a…