Saturday, April 27, 2019

coursera: Unix Workbench

  • You type command line commands after the prompt.
  • clear will clean up your terminal.
  • echo prints text to your terminal.
  • You can scroll through your command history with the Up and Down arrow keys.
I hope to look back at this post in the future and see how much I have learned.
 You can identify a specific file or folder by its path.

  • The root directory (/) contains all of the folders and files on your computer.
  • Your home directory (~) is the directory where your terminal always starts.
  • Use the cd command to change your working directory.
  • The pwd command will print the working directory.
  • The ls command will list files and folders in a directory.
 There’s no undo button in Unix so I’ll have to live with this mistake. --wow


  • Use mkdir to create new directories.
  • The touch command creates empty files.
  • You can use > to redirect the output of a command into a file.
  • >> will append command output to the end of a file.
  • Print a text file to the command line using cat.
  • Inspect properties of a text file with wc.
  • Peek at the beginning and end of a text file with head and tail.
  • Scroll through a large text file with less.
  • nano is simple text editor.
 Another hidden use of the mv command is that you can use it to rename files and folders. The first argument is the path to the folder or file that you want to rename, and the second argument is a path with the new name for the file or folder.


  • mv can be used for moving or renaming files or folders.
  • cp can copy files or folders.
  • You should try to avoid using rm which permanently removes files or folders.

YouTube: What is an array? The Coding Train

https://www.youtube.com/watch?v=NptnmWvkbTw

an array is a list of data. thanks for finally clearing that up

Friday, April 26, 2019

Post on Reddit about AWS certifications

https://old.reddit.com/r/cscareerquestions/comments/bhfi88/how_i_went_from_14hr_to_70k_with_no_experience/

there's some fun stuff on here about aws certs and how to get them.  it took this guy 87 days to get three of them.  he started a youtube channel and displayed a few projects.  i guess he's got a lot of gumption.  anyway he mentioned that he got a job offer in austin for 72k.  that sounds good to me.  i don't know if i want to do software engineering or just IT.  but i do want to make money and get some benefits. 

overall i feel like i'm only just creeping along with this free CS degree and i dont know if i am motivated enough to get to studying.  ive been in school so much of my life.  i find it tiring.  i just want to hang out with my friends and play guitar.  but yeah, i try to think about the good times ahead, and to think about the things that will change once i have successfully switched careers.  i try to stay optimistic but still i dont think i can study enough.  this is the beginning of imposter syndrome? i hope not.

so yeah, this reddit post made me take a second look at what i'm doing with this project.  i need to think about it more to really see where i am going.

Wednesday, April 24, 2019

Hack on MDN web docs

https://www.eventbrite.com/e/hack-day-for-mdn-web-docs-at-accessu-2019-tickets-60595907992

This is a daylong event to improve documentation for accessibility and mozilla or something.

I'm not sure why this costs 27 dollars.  i'm still interested.  helping improve access is a priority of mine.  also, it will probably be good for networking.

intro to CS lesson 5

i've decided to speed through this class, i.e. skip to the answers for quizzes. the teacher is clearly an expert in his field but he seems to conflate concepts with syntax.  no, i don't know how to print something because that is done with 'return', but i understand the steps of logic i need to get the output i want.

anyway, a few things that he has mentioned recently that i think i will remember

== is used for equals because = is used to set values

dont use variable names like a,b,c because they dont describe what the variable is/does.  in bigger code settings where you cant keep everything in short term memory, the names will help you understand what is actually happening.


these four things can be used to do anything in computer science.  thanks mr turing:
arithmetic
comparisons
procedures
if


Sunday, April 21, 2019

finishing the linux command line introcourse

i finished this course finally.  it was quick overall.  i learned a lot, but i took breaks between classes.  by the end of the course i my shell terminal had stopped working and i couldnt remember how to start it up again.  i guess i need to review.  the quizzes were good, but it was hard to practice without a working shell terminal.  oh well.  the most important thing I learned was to read the manual for different commands, and to use google search. i might take some of their other linux courses, too.

Saturday, April 13, 2019

going to start the udacity class on linux

the ucsd intro to cs course is a bit boring.  i feel like the material isnt granular enough, it jumps ahead to things it hasnt taught me, and i dont even know if what i'm learning is what they are teaching.  i realized i havent studied in that course for a few days, so i'm going to try something different.  i'm going to try the unix class listed on free cs degree:

https://github.com/ForrestKnight/open-source-cs

genetic algorithms in computer science

https://medium.freecodecamp.org/the-computer-science-of-evolution-an-introduction-to-genetic-algorithms-b3871286c7e7

this is just an introductory article but it explains how genes and selection can be used as part of a process to find a solution to a problem.  it doesnt introduce any problems or solutions, but there is a second part, which i plan to read later.

pure css simpsons characters

https://www.cssdesignawards.com/blog/pure-css-critters-and-cartoon-characters/102/

these faces are fun.  kinda crazy to make things like this with css, it does not seem to be designed for this

Saturday, April 6, 2019

FreeCodeCamp

I'm also doing free code camp.  I just finished basic html, and basic CSS.  Looks like things have really improved since I dropped off of coding, with suggested tags and color coding elements a big help.  The lessons are all bite size and I'm zooming through it.  It will be interesting to see what it is like when I'm doing something that is not review.

Thursday, April 4, 2019

Into to computer science

I'm having a lot of problems with syntax. Paranthesis or brackets, commas or colons.  I think I do get most of the concepts, but the syntax is a struggle.

I watched some coding videos

https://youtu.be/6t3ue7dX5WI
guy talks about his salary. it looks like it goes up and up

https://youtu.be/ZrnoQ122pzs
guy weighs in on which language is important to start with, basically says python

https://youtu.be/62tsiY5j4_0
dude talks about getting into software development.  used to be a cars salesman.  says he started with java


https://youtu.be/A4dXZkjWTg0
good reasons not to be a software engineer

https://youtu.be/XoSllabxqiQ
his whole computer science degree in 12 minutes

https://youtu.be/ReVeUvwTGdU
this guy explains his whole three years of learning computer science

https://www.youtube.com/watch?v=YV8DldSzZvQ
get instant feedback.  fail fast. try to understand what's wrong.  "not trying things out" is the biggest mistake

https://youtu.be/ZWQ0591PAxM
this was about making an nes game.  the memory available is super small, just 40kb.  so the devs had to find ways to optimize things.  the tips they shared are quite interesting



i usually watch these in fast forward because there's a lot of "entertaining" editing.  i was looking for similarities, like books or advice.  mostly they just say code every day, the books all seem to be different


Wednesday, April 3, 2019

concatendation

that's when you use + on a string

Non-terminal

these are things you arent finished with.

this is part of Backus-Naur form

these work something like grammar

Why not use English, Mandarin, or other natural languages

Ambiguity - the example is "biweekly" which means twice a week, or once every twice every two weeks. But this happens at the sentence level

Verbosity - natural languages would use too many words



Thanks Forrest Knight

https://www.youtube.com/watch?v=NyOvFSP_IpQ

I found this video describing a free online computer science degree.  I'm going to give it a shot, and I'm going to try to keep track of what I have accomplished by writing this blog.

his outline is here:

https://github.com/ForrestKnight/open-source-cs