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

Articles found under tag: tutorial

A script to log what my GPS tells me

By

I carry a Garmin Etrex 10 when I go bug-collecting. It's a handheld GPS receiver without many frills, and I only use it to record the latitude and longitude of each of my collecting sites as a waypoint. At the start of a field trip I delete all previous waypoints. When I do this, the trip's…

Read Article

Eek! My rounding is biased!

By

I've written several BASH scripts that use GNU AWK's printf function to round off decimal numbers. Now I've learned that the rounding is biased, and I need to re-do the scripts. For me the desirable way to round off a decimal is to round up if the bit to be discarded is greater than one half, and…

Read Article

Scripting a DNA sequence viewer

By

SANITY WARNING: Please don't read this article unless you're a compulsive shell scripter, like me. Seriously. There are some excellent FOSS sequence viewers in the distro repositories, with great GUIs and lots of features. Why would you want to build a less capable viewer that only works in a…

Read Article

Hunting gremlin characters

By

When cleaning UTF-8 text files I sometimes come across invisible characters that I call 'gremlins'. These aren't the usual non-printing characters, like whitespace and (horizontal) tab, which are non-printing characters I expect to find in the plain text files I work with. Gremlins are weird things…

Read Article

How to manage alternating lines of text on the command line

By

In this article I've pulled together some command-line tips for alternating lines of text. Questions about alternating lines turn up regularly on online help forums, and they sometimes get complicated answers. Here I've tried to keep things simple. Interleaving lines For demonstration purposes I'll…

Read Article

The joys of ISOdates

By

It took me a fair while to get comfortable with the ISO 8601 date format. After so many years of using DD MMM YYYY, my old eyes and brain had some trouble understanding YYYY-MM-DD. Finally something clicked, and I now read 'ISOdates' easily and I really appreciate their advantages. The biggest…

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

News Elsewhere

Linuxtoday.com

Linux-friendly drone controller flies on Intel Joule power

LinuxGizmos: Gumstix launched a customizable version of its LTE-enabled, PX4-compatible AeroCore 2 MAV controller board that works with the Intel Joule.

Setting up QEMU-KVM for kernel development

A look at the fundamentals of building and booting a kernel in QEMU using debootstrap, so you have the needed infrastructure to test your kernel changes in QEMU.

Linux command line navigation tips: the basics of pushd and popd commands

HowToForge: In this article, we will be discussing how you can have a faster navigation experience on the Linux command line using the pushd and popd commands.

How To Check The Password Complexity In Linux

 ostechnix: There are plenty of tools and websites are available to test the password complexity.

Do I need to provide access to source code under the AGPLv3 license?

opensource.com: Do you understand the AGPL license requirements?

Integrate Your Android Device With Ubuntu Using KDE Connect Indicator Fork

 webupd8: KDE Connect is a tool which allows your Android device to integrate with your Linux desktop.

DevOps trends emerging for 2017 and beyond

EnterprisersProject: DevOps has evolved from grassroots movement to the standard way of working for enterprises and startups alike.

A beginner's guide to comparing files using visual diff/merge tool Meld

HowToForge: Not everybody is used-to the command line, and/or command-line based comparison tools could be more difficult to learn and understand for some.

GamingOnLinux.com Latest Articles

A developer of the awesome itch games client has a blog post on compressing files for updates

Tags:Editorial,Itch.ioThe guys over at itch.io are doing some truly interesting work. The itch store is open to all developers, they have an open…

Appreciating how far Linux gaming has actually come in the past few years

Tags:Editorial,VideoDuring the livestream I did last night I had one of those moments where you fully appreciate how far Linux gaming has come.Make…

A new radeonsi (Mesa) patch should fix issues in many games for AMD GPU owners

Tags:Drivers,Mesa,Open SourceSamuel Pitoiset (Valve) discovered an issue in radeonsi (Mesa) that Marek Olšák has now patched up and is…

Wine 2.0-rc6 released, should be the last one before a stable release

Tags:WineWine 2.0-rc6 is now available and it brings in another 21 bug fixes which should make this a seriously stable release. It has no new…

Albion Online announce new equipment, new PvE content and more coming in the 'Galahad' update

Tags:MMO,Beta,Indie GameAlbion Online, the Linux-friendly MMO has another blog post and video detailing changes coming to this interesting MMO.Note:…

Alien: Isolation - The Collection is 70% off on the Feral Interactive store

Tags:Horror,Feral Interactive,Steam,Game Sale If you fancy scaring yourself silly this weekend, be sure to check out Alien: Isolation - The…

Join me tonight at 8:30PM UTC for some Linux gaming fun on Twitch

Tags:LivestreamAs Samsai is away on secret business, I will be taking control of the Friday livestream today and probably next week too. I will be…

Yooka-Laylee has revealed multiplayer in a new trailer

Tags:Coming Soon,Steam,Platformer,Adventure,GOGIf you weren't already sold on Yooka-Laylee, this new multiplayer trailer might just sell you on it…

The open source Vulkan driver 'radv' for AMD on Linux has patches for geometry shader support

Tags:Open Source,Drivers,VulkanDave Airlie sent in a massive patch-set of 31 patches for 'radv', the open source AMD Vulkan driver, to support…

Total War: WARHAMMER makes Grombrindal the White Dwarf Legendary Lord available to all players

Tags:DLC,Feral Interactive,Steam,StrategyOriginally available to anyone who went to a physical Games Workshop store, this Legendary lord has now been…

Torment: Tides of Numenera shows off some more gameplay mechanics in new trailers

Tags:Coming Soon,RPG,SteamThe upcoming RPG by inXile Entertainment is looking good. There’s a pair of new trailers that show off more of the…

Bear With Me: Episode Two releasing February 15th, bringing more noir adventure

Tags:Adventure,Horror,Point & Click,SteamThe next installment in the noir point and click adventure will be arriving soon. This humor-laced…

SteamOS updated with some major new drivers and an updated Debian base

Tags:SteamOS,Steam,BetaSteamOS isn't being left out in the cold like some would believe, as it too today got a big update with new shiny stuff.Note:…

Major Stable Steam client update, Xbox controller config support, vastly improved Linux client

Tags:SteamThis is the big one. Steam have released a major update of the Steam client which not only adds in some big new features, it also…

Nearly five years after the Kickstarter, Carmageddon still isn’t on Linux despite the stretch goal being reached

Tags:Editorial In May it will be five years since the Carmageddon: Reincarnation Kickstarter. Linux support was a stretch goal they reached and we…