Sunday, May 27, 2018

Your Code Are Dumb

I was reading a great article from Hacker Noon (link at the bottom of the page) and there was a paragraph about a variety of acronyms and phrases related to software engineering. For the sake of remembering them, I'm going to use Google to track down their respective meanings and copy and paste them below.

According to Wikipedia, YAGNI, or, you aren't gonna need it is a principle of extreme programming (XP) that states a programmer should not add functionality until deemed necessary.  XP co-founder Ron Jeffries has written: "Always implement things when you actually need them, never when you just foresee that you need them." Other forms of the phrase include "You aren't going to need it" and "You ain't gonna need it".

Again, from Wikipedia, the single responsibility principle is a computer programming principle that states that every module or class should have responsibility over a single part of the functionality provided by the software, and that responsibility should be entirely encapsulated by the class.

DRY simply stands for Don't Repeat Yourself. Whereas WET is short for We Enjoy Typing.  Both of which suggest that well thought out code should be succinct and avoid unnecessary repetition.

The Single Level of Abstraction (SLA) or the Single Level of Abstraction Principle (SLAP) states that "each method should be written in terms of a single level of abstraction."


Thursday, May 24, 2018

Immutable Tuples

Python + SoloLearn = Awesome! I'm currently learning about lists, dictionaries, and tuples. I can't wait until June when I'll be able to focus full time on computer science.


Saturday, May 19, 2018

White Hat Kali Linux

I just completed a brief introductory course via StackSkills covering various aspects of ethical white hat hacking. The course covered such things as;

basic terminologies, operating systems and tools, reconnaissance, NMap, Shodan for scanning, Metasploitable, Armitage, Aircrack-ng, Man-in-the-middle-attacks (MitM), and more.

Friday, May 18, 2018

SQl + SoloLearn = Amazing

I've spent the last several hours studying Structured Query Language (SQL) and I am really enjoying the straightforward syntax and ease of use that it offers. Having studied PHP previously is also helping.


Course = JAVA // Complete!

I've just recently finished an introductory course in JAVA. I'm currently studying PHP and plan to finish that course this weekend.


Saturday, May 12, 2018

Monadic and Dyadic Operators

Monadic and Dyadic Operators
Operators can be monadic or dyadic A monadic operator operates on a single simple statement. Other operators will all be dyadic operators because they operate on two simple statements. Any time you use an operator with a simple statement, even a monadic operator, you create a compound statement.

Compound Statements and Truth Function
All the compound statements we'll look at are called "truth-functional" compound statements. This means that the truth value of the entire statement is determined by the truth value of the individual simple statements that make it up and the function of the operator on those statements.

If you write computer programs, you can think of the simple statements as inputs and the operator as the function that accepts those inputs and does something with them. The output of the entire function is determined by the value of the inputs and the specific operation of the function. Consider this simple program written in pseudocode which will take a string value and change the value to all caps and then print it to the screen:
Function PrintCaps (string A)
{
    A = AllCaps(A);
    Print A
}

Sunday, May 6, 2018

React and Team Tree House

I just invested several hours of time and ample mistake correction and produced an interactive scoreboard program using React.  Team Tree House is a stunning online education platform that offers a rich and diverse array of course offerings that span a wide range of topics related to computer programming. I seriously wish there was more time for learning!


The *.jsx code =

var PLAYERS = [
  {
    name: "Player 1",
    score: 0,
    id: 1,
  },
 
  {
    name: "Player 2",
    score: 0,
    id: 2,
  },
 

Saturday, May 5, 2018

Python and Matplotlib

Spending Cinco de Mayo learning about the seemingly endless amazing features of Matplotlib in Python!!! I'm currently studying Data Science via DataCamp, which is a comprehensive online education platform that focuses entirely on data science and programming via Python and R. The screenshot below is of a simple histogram that I created by following a series of Python tutorials.


Friday, May 4, 2018

Computer Science Teaching Certification Exam...

As I'm getting ready to take my 8-12th grade Computer Science teaching certification exam, I have to remind myself that although I once learned HTML, I am still really new to the world of programming. Just the same, I'm studying for several hours a day, every day. In fact, I haven't missed a day of learning in two and a half months.


Special thanks to Soumil Kumar for the amazing stock photo!

Wednesday, May 2, 2018

Python...my introduction

I've spent the last few days focusing entirely on Python and Pycharm. The following is code that I typed up by following along with a tutorial. There's a bit of code toward the end that I copied and pasted. I did this because the video was formatted/recorded in such a way that I couldn't see all of the code and continued to encounter errors. Just the same, I'm really enjoying the learning process thus far!



import random
import sys
import os

print("Hello world")

name = "Austin"
print(name)

print("5 + 2 =", 5 + 2)
print("5 - 2 =", 5 - 2)
print("5 * 2 =", 5 * 2)
print("5 / 2 =", 5 / 2)
print("5 % 2 =", 5 % 2)
print("5 ** 2 =", 5 ** 2)
print("5 // 2 =", 5 // 2)

print("1 + 2 - 3 * 2 =", 1 + 2 - 3 * 2)
print("(1 + 2 - 3) * 2 =", (1 + 2 - 3) * 2)
print('\n * 3')

quote = "\"Always remember, you are awesome!!!"
multi_line_quote = '''Beans is super awesome!!'''
print("%s %s %s" % ('I like the quote', quote, multi_line_quote))

SQL

I've hit a wall in my SQL studies via the Khan Academy, and as such, I am engaging in additional studies prior to attempting to move for...