-
-
Notifications
You must be signed in to change notification settings - Fork 381
Seeding intermediate material #221
Seeding intermediate material #221
Conversation
On Wed, Jan 08, 2014 at 07:01:08AM -0800, Greg Wilson wrote:
I'm happy to pick up on Make or Bash unless someone else wants them.
Hash? Shouldn't this live under Python? I still prefer my |
directory called `authorized_keys`: | ||
|
||
~~~ | ||
$ cp id_rsa.pub .ssh/authorized_keys |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The user should append the public key using cat
and not replace the "old" authorized_keys
. From ssh man page:
The user should then copy the public key to ~/.ssh/autho‐rized_keys in his/her home directory on the remote machine. The authorized_keys file corresponds to the conventional ~/.rhosts file, and has one key per line, though the lines can be very long. After this, the user can log in without giving the password.
On 2014-01-08 12:21 PM, W. Trevor King wrote:
|
On Wed, Jan 08, 2014 at 12:45:15PM -0800, Greg Wilson wrote:
I'll let this cook, and submit a PR over the weekend if nobody
If you or @ethanwhite already know stuff that needs to be done, it's
I don't see any need to vote. You and @ethanwhite are guiding the |
|
||
# hello.mk | ||
figure-1.svg : summary-1.dat | ||
sgr -N -r summary-1.dat > figure-1.svg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make is TAB dependent. What about replace the spaces with tab so that students can copy and paste?
On Wed, Jan 8, 2014 at 12:21 PM, W. Trevor King
That would be awesome. +1 to 'shell'. On Wed, Jan 8, 2014 at 4:01 PM, W. Trevor King [email protected] wrote:
I think we've already discussed everything I've thought about in [1]. [1] #126
I agree that organizationally this probably belongs in Python, but I |
On Thu, Jan 09, 2014 at 05:16:11AM -0800, Ethan White wrote:
I still prefer |
On 2014-01-08 4:01 PM, W. Trevor King wrote:
|
On Wed, Jan 08, 2014 at 07:01:08AM -0800, Greg Wilson wrote:
We have a checkered history with Make. Sometimes we don't want it |
On 2014-01-13 4:20 PM, W. Trevor King wrote:
Greg Wilson |
On Tue, Jan 14, 2014 at 05:08:02PM -0800, Greg Wilson wrote:
Ok. Can we split this into separate Make, hash, and Bash PRs? 4010 lines |
On Sun, Jan 19, 2014 at 09:13:10PM -0800, W. Trevor King wrote:
I've finished my first pass, and haven't heard back on a Make-specific Wed, Jan 08, 2014 at 07:01:08AM -0800, Greg Wilson:
I think the robot story could use an intro line, so others don't start I'd drop “back home” from “colleague back home”. We may spend a lot I'm amused by “which is usually just a plain text file in some There's some fear-mongering in here (cross-platform portability issues
Graphs of these dependency trees would be good. I don't really care Can we use data-1-*.dat instead of data-1-something.dat? Nobody summary-1.dat only depends on stats.py indirectly via data-1-*.dat. You've got example Makefiles, but don't have the Instead of saying “our comments should be more meaningful”, why don't
Instead of “action”, the standard name for the body of the rule is the You say Make will “will print an error message and stop” for circular $ cat Makefile b: c c: a Now that the first run created c (while dying), the second run $ make
I don't use sticky notes to remember the automatic variables, I: $ info make And type You can get the same effect via your web browser:
The benefit of the web approach is that you end up with handy URLs to
In the case where the figure-_.svg files are missing, you claim the make: *** No rule to make target `figure-*.sh'… error.
Instead of using false dependencies in false-dependencies.mk, I'd FIGURES = figure-1.svg figure-2.svg paper.pdf : paper.wdp $(FIGURES) figure-%.svg : summary-%.dat summary-%.dat : data-%-*.dat $(FIGURE_DATA) : stats.py but you'd have to bump that into 04-macros.
Why do you prefer “macro” to “variable”? The GNU Make docs seem to No space around the equals sign in your The GNU Make docs prefer the Also, for STYLE_DIR, I'd probably just override it on the command line $ make -f with-lots-of-macros.mk STYLE_DIR=c:/papers/ If this was going to happen a lot, I'd write a wrapper script around This sort of platform adaptation is really a problem that needs to be |
On Mon, Jan 20, 2014 at 12:13 AM, W. Trevor King
The hash stuff hash already been moved out into IPython notebooks and |
This PR brings in a rough start to intermediate material on:
None of it is ready for use; we need a volunteer to take over each topic and flesh it out.