Recent Changes

Updates since 2020-06-22 10:00 UTC up to 2020-07-22 10:00 UTC

1 | 3 | 7 | 30 | 90 days
List all changes Include rollbacks Include minor changes
List later changes RSS RSS with pages RSS with pages and diff

2020-07-19

2020-07-13

  • 20:42 UTC (new) (history) 2020-07-13 Miller - a csv Swiss Army knife . . . . mbork I often need to work with csv files. Until recently, my go-to tools to do most things with them were Emacs with csv-mode (when I need to interactively edit simpler csvs, LibreOffice (when I need interactivity and more complex things, like multi-line cells, which are not supported by csv-mode), and xsv (when I need to automate some transformations, like selecting a subset of columns, changing the order of columns and other things). Some time ago, I learned about another csv-related tool: Miller.

2020-07-06

  • 17:51 UTC (new) (history) 2020-07-06 Auto renaming image files . . . . mbork Like probably everyone else, I have lots of pictures from digital camera(s). Cataloging them is basically a nightmare, and I lost any hope for doing that manually a long time ago. But why not make the computer do as much work as possible?

2020-06-27

  • 11:51 UTC (new) (history) 2020-06-27 Selective display . . . . mbork A few days ago I was working with some large JSON files. The top level of the file contained a large array, and each of its elements was a large object consisting of numbers, strings and other objects. I needed to work with a few elements at the top level of those objects, and did not want the lower-level objects to get in the way. In other words, I needed to hide them somehow.

2020-06-22

  • 21:03 UTC (new) (history) 2020-06-22 lodash iteratee shorthand . . . . mbork As is widely known, JavaScript is a language with good semantics, not-so-good syntax and a terrible standard library. There are a few modules that aim to help with the last part, and lodash is one of them that I happen to use. It is a very nice thing, but is not necessarily easy to learn for newcomers. One of its nice features is so-called “iteratee shorthand”, mentioned many times in the docs. What is that? Well, Lodash has (among many others) the _.iteratee function. It accepts one argument and returns a function. If the argument is a function, _.iteratee just returns the same function – nothing interesting (and if given null, it returns the identity function). The first interesting thing happens when the argument is a string or an integer.

More...

Filters