Recent submissions

Comment · 4 years ago
Arghhh.. this name collides with our tool UMLet's "UML XML Format" extension ".uxf", in ubiquitous use since 2001! :)
Comment · 4 years ago
There is also our somewhat older sqlet.py at http://www.sqlet.com with multiple input files, column index shortcuts.. (and probably overdue for an update).
Comment · 6 years ago
You're braver than I -- whenever a shell/terminal indicates to me it expects multiline now, I press, in that order, Ctrl+C, Ctrl+D, Ctrl+Z, and Ctrl+Alt+Del.
Comment · 6 years ago
Aye, in general legibility >> compactness. Apart from the intellectual exercise (fun; !work), one-liners imo come in handy in:

>some_complex_tool | 'my one liner' | some_other_complex_tool > result.txt

Not putting the one-liner logic into a separate script avoids an additional lookup for someone learning what is going on, along with any deployment/path/.. dependencies to that separate script.

Comment · 6 years ago
"pwk" is both code and "executable" -- you can open it with any text editor. I didn't want to name it "pwk.py" to save on typing on the command line. --m
Comment · 6 years ago
Thx, didn't know that one! Added ref to github (and thx to you)! --Martin

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton