Recent Changes

Updates since 2020-06-27 01:54 UTC up to 2020-07-27 01:54 UTC

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

2020-07-26

  • 08:05 UTC (new) (history) 2020-07-26 Running Node.js scripts from the command line . . . . mbork A few days ago I accidentally ran Node.js from the command line with a wrong argument. I had a script – call it myscript.js – in a directory called myscript. I typed node mys in the directory one level higher, pressed tab and ended up with node myscript/, then pressed enter and got an error (obviously). So, I then cd​‘d into the right directory and (without much thinking) pressed up twice and enter. To my surprise, the script ran. What is going on?

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.

More...

Filters