Was excited for an estate sale because I was blinded by potential dollar signs for some items. The first day prices are non-negotiable, so I reassessed and decided to wait until tomorrow to attend the sale because nothing is negotiable the first day and it’s a 45 min drive one way. I’ll risk losing some profit there and just go to my local Good Will to see if I can score some resell deals.

Spent about $100 on GoodWill and thrifting, hoping to make decent flip profits!

More interviews today.

Watched more videos on what items to resell and flip.

Took pics of resell items. Will clean up and begin researching more tomorrow.

Day 39 | 10.9.2018

Been slacking a bit with code & org growth, but got to see friends this weekend.

The Mcgregor fight was cray!

I listened to some beats and freestyled in bed until I fell asleep; was fun.

Back on my grind this week; starting off kind of slow, but a little green tea should do the trick.

Bought a few books on classical – Trivium – based eduction.

It will be tough to reprogram & over write the government run complusory schooling, but I think it’s a worthwhile goal for the next 10 years.

I’ve got a long way to go to have the mind, body & success I want, but god willing I’ll make the next 10 years work for me – going to be 30 this month – it’s time to stop playing around. I now know what I want & what I don’t want out of life. It’s still to burn up the old me & free the potental, growth & wisdom that has been fostered the past 10 years.

Example: a stack of books. the last one one on the top would be the first one you remove to access the lower layer books.

Real world example: a stack of visited websites.

When you visit say – Facebook.com – it’s added to the stack of your browsing history via a push.

If you hit the back button in your browser the last item to be added to your history is popped off the top of the stack.

Side note: shout out to Beau Carnes for this course!!! Learning a lot already ^_^

JavaScript already has all of the array functions necessary to use it as a stack.

push place an element on the top of a stack.

pop remove the top element of a stack.

peek preview the top element of a stack.

length for determining how many elements are on a stack.

Sets - Data Structure

Like an array – except there are no duplicate items & the values are not in any particular order.

The typical use of a set is the generally check for the presence of an item.

A union allows you to combine two sets but, leaves out any duplicates.

An intersection all of the items in multiple sets, returned as a new set.

A difference all of the items that are in one set, but not in the other set.

A subset will test if a set is a subset of another set – will test if the first set in completely contained within the second set.

Day 12 | Part 1 | 9.12.2018

CS50 Week 5 - part 1

Finally decided to complete CS50 so I have a basic grasp of how low level languages work. Only 7 more weeks worth of videos. At my current pace I’ll be done in 1 - 2 weeks.

In C string is technically char* aka a pointer to a location of the first character in RAM.

Traditional lecture lead ‘teaching’ is so dead 💤 … I wish it wasn’t limping on. Maybe once Millenials take over company C-suites & a third parties take the place of colleges in sports recruiting for professional leagues the current system will finally die.

CS50 Week 5 - part 2

Breaking down the following in this lecture: pre-processing, compiling, assembling, linking.

Good to know in theory, but since I’m not taking notes because I won’t be working with nor debugging low level langs.

Once again 3X video playback is BAE ❤️️ for these dry, repetitive lectures; ~ 120 min worth of lectures in ~ 40 min.

Lecture 63 + Jr -> Sr. Dev Course

State is a decription of your app. State is an Object that mentions the layout of your app.

Props are things that come out of state.

A parent feeds the STATE into a child component STATE >> props.

As soon as the state is fed to a child component, the child component becomes a prop.

The child prop cannot change the property; the parent just tells it what the state is.

State typically lives in the parent component & passes state to the other child components.

Day 10 | 9.10.2018

Cut the arrary in half
Sort the left 1/2 of the original array
Sort the left 1/2 of the left 1/4 of the split array
Sort the right 1/2 of the left 1/4 of the split array
Merge / group - the split 1/4 arrays into ordered 1/2 arrays
Merge / group - the split 1/2 arrays into a reordered whole array

Cool! Plateaued on Big O notation. Will need to stop and review tomorrow.

Jr to Sr Dev Course – Part 4 – React, Redux + Bundling

Haven’t been sleeping well, crashed out for a couple of hours after my first day with Well Fargo. So far so good, chill company & team.
Starting with React in the course. Should be an informative refresher.

React was designed as an alternative to tradition DOM manipulation library’s like jQuery.

Large code bases get convoluted quickly with tools like jQuery, that’s why Facebook developer React – to help manage large apps.

React focuses on using components; reusable blocks of code with markup, style & function built in.

One way dada flow - data flows from top to bottom.

Virtual DOM - minimizes the amount of DOM manipulation needed.

The VDOM is just a Javascript Object which describes the current state of our website.

React also creates a separation of concerns - not a separation of tech.

“The Edward Snowden documents revealed that that the NSA had the ability to intercept and decrypt VPN traffic. The on-demand decryption of some HTTPS and SSH connections was also possible because of unspecified but ground break” 😠

hmm 🤔 when I worked for Comcast most Arris modems/routers would only work with with AES encryption – which is warned about in the NSA Diffie-Hellman crack article.

Also, I remember reading about to NSA intercepting commercial grade CISCO routers & Switches over 15 years ago and installing back doors on them. Blarg; America. Still better than China I suppose … Okay, time to climb out of this rabbit hole.

After going though a solid portion of this content I realized I researched many of these concepts while working @EBG in order to get Adobe Target experiences to be more performant – also had to use setTimeout() often haha.

However, I never wrote them down. It’ll be nice to now have written cheat sheet / check list to come back to.

“Premature Optimization is the root of all evil” 🔥🔥

CS50 Week 2 – Part 2

Boring date. Was nice to get out of the house, other than that; poor conversation lol

Back to code … 🔥🔥

The first part of this video is just C syntax and C caveats … 💤
Stanford algos may be up next 🤔
Skipped ahead about 20 min. Just talking about square bracket selection of indices & arrays.
hmm 🤔 they are talking about crypto in week 3. Okay, I’ll check it out.

CS50 Week 3 – Part 1 & 2
Thank god to 2x speed – 2x video speed is BAE ❤️ j/k Youtube Playback Speed Control and 3X is BAE ❤️️ It really is the simple things in life … 🔥🔥
hahah man, if I were paying for this course from Harvard I would be pissed; it’s super redundant – they are calling back to the algo in week 0.

Check number to right of current number
if number to right is smaller
move that number to the left
if no sorting took place
sorting is complete

Efficacy == n squared -- in theory

Selection Sort Algo

search and store smallest number
then check the rest of the data for a smaller number
if a smaller number is found, store that number and let go of the previously stored number
then after checking the entire set of numbers, move the ultimate smallest number to the start of the set.
as an optimization, ignore the known smallest number
if a larger number is in the the index of the next smallest number you would like to store, swap the place of the larger and smaller number to place the smaller number in the correct location
repeat the above pattern for the next smallest number until the sequence is complete

Efficacy == n squared -- in theory

Insertion Sort Algo

take the first index and mark it as sorted
check the next unsorted index and compair it to the previous sorted index.
move the smaller of the indices to the left; within the sorted indices.
then sort the stored set similarly to the selection sort algo ...

I have not seen C code before. Can definitely tell JavaScript & PHP got their syntax roots from C.

Week 1 – Part 2 – Notes

Downing energy drinks because I wanted to be productive. On to the second video …

API (Application Programming Interface)

Preprocessor directive / include / header file

\n new line

Boolean expressions

Switch statements

for loop, while loop, do while loop

black box functions

Huh. %d & %s are similar to python’s approach – visa versa.

New concepts:

A double is a float with potentially more numbers after the decimal point.

A character is 8 bits.

A float is 32 bits.

A double is 64 bits.

hmm … may dip in and out of a few videos so I can skip to things I may be unfamiliar with. Or, I think stanford has quality algorithm videos online; may switch to those. TBD.

Day 7 | 9.7.2018

Watching the first video of Harvard CS50. Had gone through the course before, but I wasn’t experienced enough to grasp most of the applicability. Now, I’m excited to marry CS theory with my coding experience!

Linear

Most problems in CS problems are linear.

The larger the dataset or problem to solve, the longer it will take.

‘n’ is the variable used to represent a value.

Logarithmic

Logarithmic algorithms - such as binary search - “narrows down the search by repeatedly halving the dataset until you find the target value.” -src

Day 6 | 9.6.2018

Decided to change the branding for SpakMedia on my social media accounts back to my personal name. Seemed to convert better (more followers) with my face & name vs a logo & organization name.

Overall, being more efficient with the time & attention I put into SpakMedia; seems like a wise play. It is difficult to get everyone on the same page and fired up without semi-started projects. Will need to lead from the front.

Tossing around some open-source project ideas for Spak.co. Projects can be found on our org page on GitGub.

Also kicking around the idea of transitioning careers to a product manager. I enjoy the merits of code, but working with code for a job & then trying to code as a hobby is daunting. Not all hobbies should be monitized.

While I’ve been kicking around back-end JS & PHP frameworks; I did some research and Ruby on Rails is still one of the hottest back-end frameworks. I think I’ll go back to it now that I’ve had some time to sample what a few languages have to offer. Rails is mature and was fun to work with when I first picked it up. Dig the freedom.

Looked at CS resources as well. Will need to fill in some gaps I missed being self taught. Really want to improve my development time & sharpen my problem solving skills.

Changed gears a little today and started learning more Laravel. Laravel From Scratch. Only made it a couple videos it, but it was nice to work with something different than Node.

Day 4 | 9-3-2018

Was working on the Spak.co startup, building out the squad, hosting a few meetings & figuring out new social media marketing strategies for the podcast, twitter, Instagram & YouTube. Finally back to Node :)

MVC

Touched on MVC & middleware more. MVC in unintuitive; it should be called MCV because you have a data connection (model), a layer that controls the flow and use of that data (controller & middleware) & then the view that is displayed to the edn-user. Just makes more sense that way, to me at least.