News for hackers. Stuff that matters.

amcpu

Re:Starship Flight 7 on Thursday January 16, 2025 @09:31PM (#42733471)
Nuts!
I use a locally hosted YaCy instance with cached results to work around this scenario. Much of the content I am interested in is kept locally, so it’s good enough. When I have a bunch of “read later” tabs that pile up, I copy all their URLs into the crawler form with “Store to Web Cache” checked and it accomplishes what I described. Just another option to consider.
Re:A lesson in dockerizing shell scripts on Saturday February 03, 2024 @11:21AM (#39241770)
The dive utility helps tremendously for exploring the filesystem contents of a container image. Combine that with the output of `docker inspect` to look at the metadata and you should be able to have a good understanding of what it will do when running as a container.
Came here to scan the comments for someone else who would have posted that reference. So glad I found it! :)
Re:WordPerfect for Unix Character Terminals on Wednesday April 12, 2023 @08:31AM (#35538595)
You could also use the vim :%!python3 your_script.py (where your_script.py does the work to format the text) command that takes the text of the buffer as stdin to the script and replaces the buffer contents with stdout of the script. This can also be combined with visual mode linewise to only replace specific lines of the buffer (must work on entire lines selected).
Re:DRY is an over-rated programming principle? on Thursday July 07, 2022 @08:53AM (#32013437)
Sounds like something out of https://blog.codinghorror.com ! :)
Re:Show HN: Bike – macOS Native Outliner on Tuesday May 17, 2022 @11:51AM (#31412483)
I’ve been having good success with _basic_ outlining functionality of Org Mode in VS Code using the “VS Code Org Mode” extension. No need for emacs for this use case. The built-in VS Code folding works really well and then combining with GitLab which has rendering support for Org Mode when committing/pushing commits. Plus, since everything I’m doing is already in Org Mode syntax, I can move to other editors later if desired. It’s a good solution for my needs, at least.
Re:How many Linux commands can a 7 year old learn? on Sunday May 08, 2022 @04:02PM (#31307624)
Any, I was just curious. :)
Re:How many Linux commands can a 7 year old learn? on Saturday May 07, 2022 @09:54PM (#31300503)
I honestly cannot remember ever typing sl instead of ls. Funny little “utility” in place there. It doesn’t appear to be part of a minimal Ubuntu installation, have you found it install “out of the box” with any Linux distros?
Re:Korn Meets KoRN on Thursday March 24, 2022 @11:58AM (#30791704)
> Eat corn while listening to Korn music while using the Korn shell. … to compile the kernel.