Beta 4 of the #pickaxe book has been released and is available for purchase at https://pragprog.com/titles/ruby5/programming-ruby-3-2-5th-edition/
* The final two chapters have been added to Part V
* The final two appendixes have been added
Plus some of the reference layout in Part V was cleaned up to be more consistent.
This makes the book draft-complete.
What's a good book about using a Unix command line that is a) aimed at relative beginners and b) is reasonably recent?
Here's a weird question, and I think I'm missing something obvious.
I am trying to run this command programmatically:
It works fine in an actual terminal, but when I try to run it inside backticks inside Ruby code, it fails if the rubocop config has plugins.
It's as if the backtick version doesn't have access to the full context of the terminal that allows it to see the plugins as gems? I'm not sure.
Last night I sent a draft complete version of the #pickaxe book to my editor.
The current count is 645 pages, likely to change.
We'll do a round or two of feedback, and a new beta will come out and the book will go to final tech review, followed by copyedit and layout.
I have 12 versions of the “move a string to the end of an array” code at https://gist.github.com/noelrappin/a046996a3e9e5d5034533f5a37b349b8
For the record:
Option 1 is ChatGPT
Option 2 is my original version
Option 6 is ChatGPT refining when I requested a shorter version.
I also requested an elegant version and got one that didn’t work.