This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:fall2020:common:helpances:startingpctx [2020/08/13 12:31] – wedge | haas:fall2020:common:helpances:startingpctx [2020/08/19 22:25] (current) – [A start: the question asked] wedge | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | An insightful conversation (featuring " | + | ======A start: the question asked====== |
+ | An insightful conversation (featuring " | ||
+ | NOTE: because this was done in the context of the " | ||
+ | =====from the depths of uncertainty, | ||
H: I’m going to be honest I’m a bit confused with pct1 | H: I’m going to be honest I’m a bit confused with pct1 | ||
Line 29: | Line 32: | ||
H: check | H: check | ||
+ | =====the public directory, locating it, and going there===== | ||
wedge: it then has you navigating into the UNIX public directory. | wedge: it then has you navigating into the UNIX public directory. | ||
Line 62: | Line 66: | ||
wedge: yes? | wedge: yes? | ||
+ | =====a look at the prompt as a guide on our journey===== | ||
H: It hasn’t changed my prompt, mine is just showing lab46: / | H: It hasn’t changed my prompt, mine is just showing lab46: / | ||
Line 67: | Line 72: | ||
wedge: Notice how it put the path you just cd'ed to INTO your prompt | wedge: Notice how it put the path you just cd'ed to INTO your prompt | ||
- | @KalebJ12 try that exact same command again | + | |
- | it should work now | + | wedge: your prompt always attempts to tell you 2 important pieces of information: |
- | KalebJ12Yesterday at 4:18 PM | + | |
- | It did lol | + | wedge: |
- | HannahH02Yesterday at 4:19 PM | + | |
- | Oh oh oh, blonde moment when you sent that screenshot I thought it was supposed to say directory lol | + | wedge: |
- | wedgeYesterday at 4:19 PM | + | |
- | capital " | + | wedge: |
- | KalebJ12Yesterday at 4:19 PM | + | |
- | Ahh | + | wedge: |
- | wedgeYesterday at 4:19 PM | + | |
- | your prompt always attempts to tell you 2 important pieces of information: | + | <cli> |
- | 1. the system you are on (lab46 vs. your pi) | + | lab46: |
- | 2. WHERE you are | + | </ |
- | if you are in your home directory, instead of seeing " | + | |
- | if you were to " | + | wedge: ... because that is INSIDE your home directory |
- | lab46: | + | |
- | because that is INSIDE your home directory | + | wedge: |
- | where as the public directory: is external to your home | + | |
- | so, it shows the ENTIRE path, what is known as an " | + | wedge: |
- | now: if you are there, IN the UNIX public directory, let us take a look around. | + | |
- | How do we see what is there, in the public directory? | + | =====at the waypoint, |
- | KalebJ12Yesterday at 4:23 PM | + | wedge: now, if you are there, IN the UNIX public directory, let us take a look around. |
- | Hg status? | + | |
- | wedgeYesterday at 4:23 PM | + | wedge: |
- | nope.. | + | |
- | we are in a directory. Directories contain files. | + | K: hg status? |
- | How do we see the files contained within a directory? (again, Mages book stuff) | + | |
- | KalebJ12Yesterday at 4:24 PM | + | wedge: that's for your repository. We're nowhere near it |
- | Find? | + | |
- | HannahH02Yesterday at 4:24 PM | + | wedge: |
- | Less and more command? | + | |
- | wedgeYesterday at 4:24 PM | + | wedge: |
- | nope (well, yes, but by no means the most convenient nor direct way) | + | |
- | less/more are used commonly WITH other commands, or to view inside text files | + | K: find? |
- | we have a directory here, which is NOT a text file (although, it may contain text files) | + | |
- | other names for the action may include " | + | H: less and more command? |
- | KalebJ12Yesterday at 4:26 PM | + | |
- | Ls? | + | wedge: those CAN be used, but are by no means the most convenient nor direct way to do so |
- | HannahH02Yesterday at 4:26 PM | + | |
- | Ohh lad | + | wedge: |
- | Auto correct lol | + | |
- | wedgeYesterday at 4:26 PM | + | wedge: |
- | yes, only all lowercase | + | |
- | KalebJ12Yesterday at 4:26 PM | + | wedge: |
- | ls -a? | + | |
- | wedgeYesterday at 4:26 PM | + | K: ls? |
- | what happens when you run " | + | |
- | KalebJ12Yesterday at 4:27 PM | + | wedge: yes. |
- | It shows both files | + | |
- | wedgeYesterday at 4:27 PM | + | K: ls -a? |
- | no need for ' | + | |
- | HannahH02Yesterday at 4:27 PM | + | wedge: no need for ' |
- | I see pct1 and pct2 | + | |
- | KalebJ12Yesterday at 4:27 PM | + | wedge: what happens when you run " |
- | Pct1 and Pct2 | + | |
- | wedgeYesterday at 4:27 PM | + | K: It shows some files |
- | yes. Blue, correct? | + | |
- | that means they are directories | + | H: I see files, including |
- | HannahH02Yesterday at 4:27 PM | + | |
- | Yes | + | wedge: yes. And they' |
- | wedgeYesterday at 4:27 PM | + | |
- | (again, case matters: pct1, pct2) | + | H: yes |
- | hey, directories... you know something about dealing with directories... | + | |
- | how would you go into the pct1 directory? | + | wedge: |
- | HannahH02Yesterday at 4:28 PM | + | |
- | ace | + | wedge: hey, directories... you know something about dealing with directories... |
- | CD | + | |
- | Autocorrect again | + | wedge: |
- | KalebJ12Yesterday at 4:28 PM | + | |
- | cd /pct1 | + | H: cd |
- | wedgeYesterday at 4:28 PM | + | |
- | no / | + | =====a deeper dive on paths (absolute vs. relative)===== |
- | the / means "from the base of the system" | + | K: cd /pct1 |
- | KalebJ12Yesterday at 4:28 PM | + | |
- | Okay | + | wedge: |
- | wedgeYesterday at 4:28 PM | + | |
- | var is at the base of the system, so we prefix / to var | + | K: okay |
- | when we are doing short hops like this (known as a relative path), we just specify the name | + | |
- | your prompt should change (pct1 should append to the end) | + | wedge: var is at the base of the system, so we prefix |
- | KalebJ12Yesterday at 4:29 PM | + | |
- | I'm already learning a lot lol | + | wedge: |
- | HannahH02Yesterday at 4:29 PM | + | |
- | What was the path called with /, I know it starts with an a | + | wedge: |
- | wedgeYesterday at 4:29 PM | + | |
- | :slight_smile: all it took was asking | + | K: I'm already learning a lot lol |
- | absolute | + | |
- | HannahH02Yesterday at 4:29 PM | + | wedge: all it took was asking a question |
- | Ah yes | + | |
- | KalebJ12Yesterday at 4:30 PM | + | H: What was the path called with /, I know it starts with an 'a' |
- | Woah so if I ls I see everyones account and the files | + | |
- | wedgeYesterday at 4:30 PM | + | wedge: an " |
- | absolute paths start with /, relative paths do not | + | |
- | yep | + | H: Ah yes |
- | any files of particular interest? | + | |
- | KalebJ12Yesterday at 4:30 PM | + | wedge: an " |
- | Manifest | + | |
- | HannahH02Yesterday at 4:30 PM | + | wedge: whereas a " |
- | I’m only half way through the mage book and there is so much info in it lol | + | |
- | wedgeYesterday at 4:31 PM | + | wedge: an " |
- | : | + | |
- | considering the semester hasn't even started yet | + | wedge: a common clue is that absolute paths will start with '/', |
- | EVERYONE will need to go through what you are experiencing now... making those essential connections | + | |
- | you stand to have a much easier time, because we have so much time | + | K: Woah so if I ls I see everyones account and the files |
- | KalebJ12Yesterday at 4:32 PM | + | |
- | So say I wanted to be in the same place i am rn on my pi is that possible? | + | wedge: |
- | wedgeYesterday at 4:32 PM | + | |
- | that directory would have to exist on your pi (it does not) | + | wedge: |
- | HannahH02Yesterday at 4:32 PM | + | |
- | Now I see puzzle, this is making a lot more sense | + | H: I’m only half way through the mage book and there is so much info in it |
- | wedgeYesterday at 4:32 PM | + | |
- | (but don't worry, when we're done you should have your puzzle on your pi) | + | wedge: hey, you're already well on your way |
- | KalebJ12Yesterday at 4:33 PM | + | |
- | I only see manifest | + | wedge: |
- | HannahH02Yesterday at 4:33 PM | + | |
- | You’ll need to go into your name | + | wedge: |
- | wedgeYesterday at 4:33 PM | + | |
- | sometimes it just takes a question to be asked : | + | wedge: |
- | yep | + | |
- | KalebJ12Yesterday at 4:33 PM | + | K: So say I wanted to be in the same place I am right now on my pi; is that possible? |
- | Got it | + | |
- | wedgeYesterday at 4:33 PM | + | wedge: |
- | also: have you all set up your repository on lab46 (and your pi)? | + | |
- | KalebJ12Yesterday at 4:33 PM | + | wedge: but don't worry, when we're done you should have //your// puzzle on //your// pi |
- | Yes | + | |
- | I did that today | + | H: Now I see puzzle, this is making a lot more sense |
- | I submitted ntr0 and I was going to help Hannah on her ntr0 | + | |
- | HannahH02Yesterday at 4:34 PM | + | wedge: sometimes it just takes a question to be asked |
- | I haven’t done it on my pi yet but I just put it together so I will later today | + | |
- | wedgeYesterday at 4:34 PM | + | K: I only see " |
- | I only ask so as to better calibrate my answer... | + | |
- | okay, so yes to lab46 at least on both? | + | H: You’ll need to go into the directory named as your username |
- | KalebJ12Yesterday at 4:34 PM | + | |
- | Yes | + | wedge: yep |
- | HannahH02Yesterday at 4:34 PM | + | |
- | Yes | + | K: Got it |
- | wedgeYesterday at 4:34 PM | + | |
- | good. ok | + | wedge: so you wander into your respective " |
- | so you wander into your respective " | + | |
- | KalebJ12Yesterday at 4:35 PM | + | K: a file called " |
- | On my pi? | + | |
- | wedgeYesterday at 4:35 PM | + | H: when I run "ls" from within the " |
- | on lab46 | + | |
- | where we are now | + | wedge: |
- | KalebJ12Yesterday at 4:35 PM | + | |
- | Puzzle | + | wedge: |
- | HannahH02Yesterday at 4:35 PM | + | |
- | Under ls is puzzle | + | wedge: |
- | wedgeYesterday at 4:35 PM | + | |
- | yes, you should see a single (gray/ | + | wedge: and you both have mentioned things that could be made to accomplish this task |
- | files that are coloured gray/white are " | + | |
- | how could we view this file, assuming it was a text file? (there are MANY ways) | + | H: Do we use the more and less commands with this one? |
- | HannahH02Yesterday at 4:37 PM | + | |
- | Do we use the more and less commands with this one? | + | wedge: yes- "less" |
- | wedgeYesterday at 4:37 PM | + | |
- | and you both have mentioned possibilities | + | wedge: and so can a text editor, such as "nano" |
- | yes: less or more can do the job | + | |
- | so can nano | + | wedge: but, I'll give you one simpler |
- | but | + | |
- | I'll give you one simpler | + | wedge: |
- | the command known as: cat | + | |
- | KalebJ12Yesterday at 4:37 PM | + | wedge: cat filename |
- | I like nano | + | |
- | wedgeYesterday at 4:37 PM | + | wedge: " |
- | cat filename | + | |
- | can is like a straight up file viewer | + | wedge: |
- | displays the contents to your screen and returns to the prompt (unlike nano or more/less, cat is NON-INTERACTIVE, | + | |
- | if you cat your ' | + | H: Yes, so should we work on paper then just add it on nano? |
- | HannahH02Yesterday at 4:39 PM | + | |
- | Yes, so should we work on paper then just add it on nano? | + | wedge: |
- | wedgeYesterday at 4:40 PM | + | |
- | yes | + | K: Mine seems like its solved |
- | KalebJ12Yesterday at 4:40 PM | + | |
- | Mine seems like its solved | + | wedge: @K it isn't solved, you need to figure out the numeric identity of the letters |
- | wedgeYesterday at 4:40 PM | + | |
- | BUT: I'll do one better | + | K: OHHHH okay |
- | I'll now show you how to copy that puzzle file INTO your repository, into a pct1 directory of your own. | + | |
- | @KalebJ12 it isn't solved, you need to figure out the numeric identity of the letters | + | =====Adding your puzzle into your lab46 repository===== |
- | KalebJ12Yesterday at 4:41 PM | + | |
- | OHHHH okay | + | wedge: |
- | wedgeYesterday at 4:41 PM | + | |
- | ok: getting our puzzle into our repository | + | wedge: now, for this next step, you will need to have set up your repository on lab46: |
- | KalebJ12Yesterday at 4:41 PM | + | |
- | So do we make the directory on the pi with mkdir | + | K: Yes, did that today |
- | wedgeYesterday at 4:42 PM | + | |
- | it might be a good idea to set up a structure, so all are class data is organized | + | H: I have done it on lab46 |
- | @KalebJ12 | + | |
- | KalebJ12Yesterday at 4:42 PM | + | wedge: good. ok |
- | Okay | + | |
- | wedgeYesterday at 4:42 PM | + | wedge: ok, getting our puzzle into our repository |
- | but we ARE going to run mkdir on lab46: | + | |
+ | wedge: first, | ||
+ | |||
+ | K: So do we make the directory on the pi with mkdir | ||
+ | |||
+ | wedge: | ||
+ | |||
+ | K: okay | ||
+ | |||
+ | wedge: but we ARE going to run mkdir on lab46: | ||
+ | |||
+ | wedge: run the following (from where-ever you currently are, on lab46): | ||
+ | |||
+ | <cli> | ||
mkdir -p ~/ | mkdir -p ~/ | ||
- | ^ type that | + | </ |
- | can you then tell me, WHERE is that? | + | |
- | KalebJ12Yesterday at 4:43 PM | + | wedge: |
- | We should go back to lab46: ~$ first right? | + | |
- | Or does it not matter | + | wedge: I mentioned |
- | wedgeYesterday at 4:43 PM | + | |
- | nope | + | wedge: |
- | doesn' | + | |
- | but ONLY because I am giving it an absolute path | + | H: Nothing |
- | I mentioned ~ before | + | |
- | what is it? | + | wedge: correct, mkdir did what was requested of it |
- | HannahH02Yesterday at 4:44 PM | + | |
- | Nothing | + | K: It made it but we arent in it so now we go into it |
- | wedgeYesterday at 4:44 PM | + | |
- | correct: mkdir did what was requested of it | + | wedge: |
- | KalebJ12Yesterday at 4:44 PM | + | |
- | It made it but we arent in it so now we go into it | + | wedge: |
- | wedgeYesterday at 4:44 PM | + | |
- | if you just get your prompt back, you were successful | + | wedge: |
- | UNIX is "user friendly" | + | |
- | it assumes you know what you are doing | + | K: We have to copy the puzzle file to the new directory we just made |
- | KalebJ12Yesterday at 4:45 PM | + | |
- | We have to copy the puzzle file to the new directory we just made | + | wedge: we just made a new directory, INSIDE our home directory (~), under src (created when you set up your repo on lab46) |
- | wedgeYesterday at 4:45 PM | + | |
- | we just made a new directory, INSIDE our home directory (~), under src (created when you set up your repo on lab46) | + | wedge: |
- | actually created a " | + | |
- | we can now copy our puzzle file here, INTO that ~/ | + | wedge: |
- | any ideas how we might do that? | + | |
- | KalebJ12Yesterday at 4:46 PM | + | wedge: |
- | cp file name | + | |
- | HannahH02Yesterday at 4:46 PM | + | K: cp file name |
- | Cp? | + | |
- | Ah | + | H: cp? |
- | wedgeYesterday at 4:46 PM | + | |
- | cp source destination | + | wedge: more generically, |
- | here we are in the public directory... pct1... puzzle is here | + | |
- | so 'puzzle' | + | wedge: |
- | KalebJ12Yesterday at 4:47 PM | + | |
- | cp pct1 | + | wedge: |
- | wedgeYesterday at 4:47 PM | + | |
- | and the destination? | + | K: cp pct1 |
- | KalebJ12Yesterday at 4:47 PM | + | |
- | Dang | + | wedge: |
- | cp pct1 / | + | |
- | wedgeYesterday at 4:48 PM | + | K: dang |
- | careful- src is not at the base of the filesystem... it is in our home directory (~) | + | |
- | HannahH02Yesterday at 4:48 PM | + | K: cp pct1 / |
- | How do we get the puzzle in there though, do we use the name puzzle? | + | |
- | wedgeYesterday at 4:48 PM | + | wedge: careful, src is not at the base of the filesystem... it is in our home directory (~) |
- | cp puzzle ~/ | + | |
- | HannahH02Yesterday at 4:48 PM | + | H: How do we get the puzzle in there though, do we use the name puzzle? |
- | Gotcha | + | |
- | KalebJ12Yesterday at 4:48 PM | + | wedge: |
- | I was so close dang | + | |
- | wedgeYesterday at 4:48 PM | + | H: Oh, okay |
- | yes: puzzle is the source | + | |
- | ~/ | + | K: I was so close dang |
- | again: you should get your prompt back if you did it correctly | + | |
- | yes? | + | wedge: "puzzle" |
- | KalebJ12Yesterday at 4:49 PM | + | |
- | Yes | + | wedge: "~/ |
- | wedgeYesterday at 4:49 PM | + | |
- | now: CHANGE DIRECTORY to that destination | + | wedge: again, |
- | KalebJ12Yesterday at 4:49 PM | + | |
- | Done | + | wedge: |
- | wedgeYesterday at 4:50 PM | + | |
- | prompt should change to: lab46: | + | K: Yes |
- | yes? | + | |
- | HannahH02Yesterday at 4:50 PM | + | wedge: now, CHANGE DIRECTORY to that destination |
- | Got it | + | |
- | wedgeYesterday at 4:50 PM | + | K: done |
- | ok. an ' | + | |
- | HannahH02Yesterday at 4:50 PM | + | wedge: your prompt should change to: |
- | Yes | + | |
- | KalebJ12Yesterday at 4:50 PM | + | < |
- | Yup | + | lab46: |
- | wedgeYesterday at 4:50 PM | + | </ |
- | a ' | + | |
- | KalebJ12Yesterday at 4:50 PM | + | wedge: |
- | Yes | + | |
- | HannahH02Yesterday at 4:50 PM | + | H: Got it |
- | Yes | + | |
- | wedgeYesterday at 4:50 PM | + | wedge: |
- | but now: anything under ~/src/ is trackable by mercurial, in our repository | + | |
- | so, go and ADD puzzle to your repository (that hg thing) | + | H: Yes |
- | hg add puzzle | + | |
- | it may say "added puzzle" | + | K: Yup |
- | yes? | + | |
- | KalebJ12Yesterday at 4:52 PM | + | wedge: a ' |
- | Mine didnt say anything but I did it again and said that its already there | + | |
- | wedgeYesterday at 4:52 PM | + | K: yes |
- | ok, good | + | |
- | KalebJ12Yesterday at 4:52 PM | + | H: yes |
- | So it worked | + | |
- | wedgeYesterday at 4:52 PM | + | wedge: and now, as anything under ~/src/ is trackable by mercurial, in our repository |
- | actually: hg status | + | |
- | it should also show ' | + | wedge: we go and ADD puzzle to your repository (that hg thing): |
- | KalebJ12Yesterday at 4:53 PM | + | |
- | A unix/ | + | < |
- | wedgeYesterday at 4:53 PM | + | lab46: |
- | hg status shows us the state of the current snapshot | + | </ |
- | yes | + | |
- | HannahH02Yesterday at 4:53 PM | + | K: So it worked? |
- | Sweet got it | + | |
- | wedgeYesterday at 4:53 PM | + | wedge: actually, run "hg status" |
- | okay, now COMMIT it: | + | |
- | hg commit -m " | + | wedge: |
- | HannahH02Yesterday at 4:54 PM | + | |
- | What does commiting | + | K: A unix/ |
- | wedgeYesterday at 4:54 PM | + | |
- | takes a snapshot | + | wedge: "hg status" |
- | KalebJ12Yesterday at 4:54 PM | + | |
- | Like a log? Of what's happening | + | wedge: yes, that's it |
- | wedgeYesterday at 4:54 PM | + | |
- | the current state of all the files listed in 'hg status' | + | H: Sweet got it |
- | like it saves the current instance of the file | + | |
- | but yes, in log-like fashion | + | wedge: |
- | KalebJ12Yesterday at 4:55 PM | + | |
- | So should we hg push? | + | < |
- | wedgeYesterday at 4:55 PM | + | lab46: |
- | yes | + | |
- | push sends the snapshot to the server | + | H: What does committing |
- | which for the purposes of getting it on the pi, definitely something we want | + | |
- | so do that. | + | wedge: |
- | at this point, @HannahH02 | + | |
- | but basically: once you have added, committed, and pushed it | + | K: Like a log? Of what's happening |
- | HannahH02Yesterday at 4:56 PM | + | |
- | In the future do we work more on the pi or lab 46? | + | wedge: the current state of all the files listed in 'hg status' |
- | wedgeYesterday at 4:57 PM | + | |
- | you can switch over to your pi, go into your ~/src directory on your pi | + | wedge: |
- | (the intent is, yes, that you do the bulk of the work on the pi) | + | |
- | mainly getting files from and putting finished files to submit back on lab46 | + | wedge: like a sort? Sort of. There is a log. |
- | @KalebJ12 | + | |
- | KalebJ12Yesterday at 4:57 PM | + | K: So should we hg push? |
- | Yed | + | |
- | Yes | + | wedge: |
- | wedgeYesterday at 4:57 PM | + | |
- | hg pull | + | wedge: |
- | then: hg update | + | |
- | then, do an 'ls' | + | wedge: |
- | KalebJ12Yesterday at 4:58 PM | + | |
- | Unix shows up | + | =====Retrieving your puzzle on your pi===== |
- | wedgeYesterday at 4:58 PM | + | |
- | go in there | + | wedge: now, we switch over to the pi. If you haven' |
- | run 'ls' | + | |
- | KalebJ12Yesterday at 4:58 PM | + | wedge: but in general, for this to work, you will have needed to have added, committed, and pushed it (on lab46) |
- | ntr0 and pct1 | + | |
- | wedgeYesterday at 4:59 PM | + | H: In the future do we work more on the pi or lab 46? |
- | go into pct1 | + | |
- | run 'ls' | + | wedge: |
- | KalebJ12Yesterday at 4:59 PM | + | |
- | Hey puzzle is there | + | wedge: as for lab46: |
- | wedgeYesterday at 4:59 PM | + | |
- | :slight_smile: | + | wedge: you can switch over to your pi, go into your ~/src directory on your pi |
- | there you go | + | |
- | now, to get things from your pi back to lab46-- add/ | + | K: in your ~/src on your pi? |
- | then on lab46: pull, update | + | |
- | back and forth, whichever way you need at the moment | + | wedge: Yes |
- | KalebJ12Yesterday at 4:59 PM | + | |
- | Yeah I had to do that with ntr0 | + | wedge: now, run "hg pull" |
- | wedgeYesterday at 5:02 PM | + | |
- | so there you go: I hope that helped clarify things somewhat | + | wedge: followed by, "hg update" |
- | HannahH02Yesterday at 5:02 PM | + | |
- | Thank you for all your help! | + | wedge: as a bonus, if you'd like to see the log, you can now do "hg log" (if it doesn't let you out, 'q' to get out) |
- | wedgeYesterday at 5:02 PM | + | |
- | no problem! Thank you for asking questions | + | wedge: then, when back at a prompt, do an " |
- | KalebJ12Yesterday at 5:03 PM | + | |
- | So 9 = K is the highest number? | + | K: a directory called " |
- | wedgeYesterday at 5:04 PM | + | |
- | maybe | + | wedge: |
- | um... you don't have a K | + | |
- | KalebJ12Yesterday at 5:05 PM | + | K: directories! "ntr0" |
- | I was looking at the chart on the lab46 website | + | |
- | wedgeYesterday at 5:06 PM | + | wedge: |
- | oh, the puzzle I walk through on the project page? | + | |
- | KalebJ12Yesterday at 5:06 PM | + | K: Hey, my "puzzle" file is there |
- | Yes | + | |
- | Do we ever go above the letter k? | + | wedge: there you go |
- | wedgeYesterday at 5:06 PM | + | |
- | yes, in that puzzle, K is 9 | + | =====The reverse, sending from pi to lab46===== |
- | Yes: when we work on a puzzle in a base higher than 10 | + | |
- | KalebJ12Yesterday at 5:07 PM | + | wedge: |
- | Oh no lol | + | |
- | wedgeYesterday at 5:07 PM | + | wedge: |
- | for the foreseeable future, we'll be working in base 10 | + | |
- | but we will dabble in other bases... 8, 9, 11 | + | wedge: |
- | in 8, there is no 9 (or 8!)... we go from 0-7 | + | |
- | but, nothing to fret about at present... just focus on base 10 : | + | K: Yeah I had to do that with ntr0 |
- | KalebJ12Yesterday at 5:08 PM | + | |
- | Okay | + | wedge: so there you go: I hope that helped clarify things somewhat |
- | wedgeYesterday at 5:11 PM | + | |
- | by the way: the point of pctX is to get you to strengthen your abilities to describe a process (and think critically)... since we'll eventually be writing shell scripts, it helps if you've got some experience tending to details from start to finish of a particular task | + | H: Thank you for all your help! |
- | because if you cannot specifically describe from start to finish a process you are personally doing by hand, you're going to have a heck of a time instructing the computer to do something. | + | |
- | plus, they' | + | wedge: no problem! Thank you for asking questions |
- | KalebJ12Yesterday at 5:16 PM | + | |
- | So with the puzzle if we submit the wrong answers do we get points off lol | + | |
- | wedgeYesterday at 5:16 PM | + | |
- | yes | + | |
- | KalebJ12Yesterday at 7:46 PM | + | |
- | On the pct1 our answer do we submit it as numbers or letters? | + | |
- | wedgeYesterday at 8:08 PM | + | |
- | You submit the letters in order from least to greatest | + | |
- | There is an example on the projects page | + | |
- | KalebJ12Yesterday at 8:10 PM | + | |
- | No for the verify part where it shows the example of there being a remainder | + | |
- | wedgeYesterday at 8:11 PM | + | |
- | Oh, you don’t have the remainder. So you do a different verification (there is also an example on the project page) | + | |
- | wedgeYesterday at 8:22 PM | + | |
- | Basically switching out to numbers, solving, then switching back to letters to see if they match. | + | |
- | The example is probably more helpful in showing what I mean | + | |