laserboot
fastmod
laserboot | fastmod | |
---|---|---|
1 | 7 | |
25 | 1,595 | |
- | 1.2% | |
10.0 | 3.8 | |
over 7 years ago | 11 days ago | |
PostScript | Rust | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
laserboot
-
Ask HN: Have you created programs for only your personal use?
In this way I estimate I create about 32 new programs a day for only my own personal use. But in many cases I only use each one once. ^R makes it easy to use them again a few times, but in other cases I save them into a shell script to make them easier to distribute to other machines, parameterize, and maintain. The one I most often use is probably a user interface for YouTube via youtube-dl or yt-dlp that consists of a few such shell scripts.
My main editor is Emacs. If I want to do the same thing repeatedly (e.g., delete a line containing the string .LVL) I create a keyboard macro with F3 and F4 (or C-x ( and C-x )) when I do it once, then run it repeatedly with C-x e. I probably write about 4 programs a day in this way.
Emacs has a M-: command to evaluate Lisp expressions, which are programs. Recent programs I have written in this way include (/ 43.2 1.7), (* 9.3 1.2), and (+ 8 3 2.50 3.50 3 7 3.50 3 1.50 4.50 6 5.50 6.50 6 3 2.50 2.50). Probably I write about 1 program a day in this way but I only use each one once. Longer Lisp programs like this can be written in scratch and executed with C-j or in .emacs (or .emacs.d/init.el) and executed with C-x C-e. For example, (global-set-key [f5] 'recompile). I use my .emacs file constantly every day but probably only add something to it about once a month. An outdated version is at https://github.com/kragen/kragen-.emacs.d/blob/master/init.e....
Sometimes I write bigger programs for my own personal use too.
A few years ago I wrote https://github.com/kragen/pytebeat for a livecoding performance of bytebeat in a bar. I finished writing it in the train on the way to the bar.
In https://github.com/kragen/laserboot I wrote a simple parametric 2-D CAD system for laser cutters in PostScript.
For Dercuano http://canonical.org/~kragen/dercuano I wrote a kind of shitty HTML rendering engine that generates a PDF file, as well as a simple CMS for generating a tree of HTML files from a directory of Markdown.
The other night I wrote a bytecode interpreter with a graphical display in C as a sort of mockup for the operating system of a small computer I recently got the parts for; it's in http://canonical.org/~kragen/sw/erika.git.
I've also written compilers, interpreters, ray tracers, database engines, parser generators, graphics libraries, logic circuit optimizers, 2-D game engines, etc., for my own use. Some of the recent ones are in http://canonical.org/~kragen/sw/dev3.
fastmod
-
Introducing rep and ren: A New Approach to CLI Find and Replace, and Renaming
This looks pretty neat! I especially like how well it composes with other tools.
Wonder how well it compares with [fastmod](https://github.com/facebookincubator/fastmod/)? That's what I've been using for large scale codemods/refactors. ripgrep is ofc insanely fast so ripgrep+ren would probably fare favorably.
- Ripgrep 14 Released
-
How do you idiomatically convert libs to no_std compatible?
A tool like https://github.com/facebookincubator/fastmod may help you make code changes accross a large number of files at once
- Your favourite Rust CLI utilities this year?
- Ask HN: Have you created programs for only your personal use?
-
Facebook: pretends to play nice by throwing some code to GitHub, but don't bother enabling people to actually use it
$ git clone https://github.com/facebookincubator/fastmod.git $ cd fastmod $ cargo build --release $ ./target/release/fastmod --help
What are some alternatives?
Tiny-Tiny-RSS - A PHP and Ajax feed reader
polybar-clockify - Control Clockify through Polybar
Keimeno - A lightweight text user interface library in Crystal
mwm - My Window Manager
nitter - Alternative Twitter front-end
place
kondo - Cleans dependencies and build artifacts from your projects.
dtrx - Intelligent archive extraction
hnrss - Custom, realtime RSS feeds for Hacker News
s4 - super simple storage service + data local compute + shuffle
m4b-tool - m4b-tool is a command line utility to merge, split and chapterize audiobook files such as mp3, ogg, flac, m4a or m4b
dtrx - Do The Right Extraction