Programming Leftovers
-
10 Top Free and Open Source Rust Web Frameworks - LinuxLinks
One of the types of software that’s important for a web developer is the web framework. We pick the best Rust web backend frameworks.
-
What’s new with Awk? | Opensource.com
Awk is a powerful scripting tool that makes it easy to process text. Awk scripts use a pattern-action syntax, where Awk performs an action for every line in a file that matches a pattern. This provides a flexible yet powerful scripting language to deal with text. For example, the one-line Awk script /error/ {print $1, $2, $3} will print the first three space-delimited fields for any line that contains the word error.
While we also have the GNU variant of Awk, called Gawk, the original Awk remains under development. Recently, Brian Kernighan started a project to add Unicode support to Awk. I met with Brian to ask about the origins of Awk and his recent development work on Awk.
-
Meet jp | Stefan Adams [blogs.perl.org]
Please welcome the latest JSON tool for the command line: jp!
jp (mostly named from Json Pointer) is a tool for quickly extracting data from a JSON object. How many times do we get a complex JSON object from some command and we just need to extract a specific set of values from it? Every time! All the time! Most people reach for jq, but I find the syntax too cumbersome to use just to extract my desired data. I just want to use JSON Pointers and move on, but, indeed, sometimes JSON Pointers aren't even enough. jp really shines with some helpful command line arguments, a regular expression JSON Pointer syntax, and, finally, a Perl eval argument for total power.
-
Writing Functions in R
The beauty of R is its versatility and of course the community you can use R for literally anything (I use blogdown to set up and maintain my website, xaringan to create slide decks, Shiny to build web applications, ….). All these great tools build upon one “little” (or not so little) thing: functions!