dev.to dev.to

What I Did Not Know About Scala And Its Standard Library

Introduction I am working with Scala as my main programming language for about three years now. I recently went through some basic Scala language exercises for fun and discovered some features and possibilities I did not know about. Some of the things I find really useful. Others I am not sure whether I like them. In this blog posts we will talk about Removing tuples from a map Never-ending traversables Partial function...

planet.ubuntu.com planet.ubuntu.com

Kubuntu General News: Plasma 5.15.90 (Plasma 5.16 Beta) Available for Testing

Are you using Kubuntu 19.04, our current Stable release? Or are you already running our daily development builds? We currently have Plasma 5.15.90 (Plasma 5.16 Beta)  available in our Beta PPA for Kubuntu 19.04, and in our 19.10 development release daily live ISO images. For 19.04 Disco Dingo, add the PPA and then upgrade sudo add-apt-repository ppa:kubuntu-ppa/beta && sudo apt update && sudo apt full-upgrade...

irreal.org irreal.org

A Nice AWK One-liner

How would you solve this problem? Given a file of text lines, remove duplicate lines keeping the original order. The first thing that springs to mind is using sort | uniq or perhaps sort -u but these solutions fail to maintain the original order. Lazarus Lazaridis has a very nice solution that accomplishes the task with an AWK one-liner. I wrote about the power of AWK one-liners a couple of weeks ago so this is a nice coda....