The 512 Streaker

A Streak - A commitment made to do something for 365 days straight. This blog is dedicated to documenting my experience of learning something by completing a streak.

Not quite halfway there yet, but I wanted to post this because I finally lost my contributions I made back in gschool today (as you can see above). It was a bittersweet moment, now I just look like I started coding in June, I promise, I have coded longer than that.

Well since last post I have explored some really great coding languages. I did some intro tutorials for both Go and Swift. Those languages are so awesome, compared to some of the older languages because they are easier to read. They are also less congested and more intuitive. For instance in Swift, there are more similarities with Java and C++ so a lot of the commands and operators are named the same, but without all the superfluous closing or opening syntax. Go is more comparable to ruby but the language seems tighter and less repetitive. I also got to learn how to use Xcode for the first time. I found it difficult at first but the console readouts are asynchronous so the results spew out on the page without an execute function. Also, since Xcode is used for making native IOS apps, there is special feature for developing iPhone apps just based on a rough mock up that you could draw up on their sketching prototype tool, pretty cool! For anyone who uses Netbeans for Java work, it is similar to the networking diagrams that you can make that auto creates your database models and relationships without writing a line of code.

Since my last 100-day post. I also got to experiment with Node.js and Arduino boards. Since node.js is slowly taking over the application world, I thought it best to get in front of this wave. So I sprung up a node app with express and connected some routes and did a simple server connection that allowed me to see how those applications are made. It was pretty simple really, I had it up and running in less than 10 minutes....think of what could be done in 10 days.

For the Arduino, I used a simple Arduino board and created a light sensor. It was pretty awesome. For anyone who is not familiar with Arduino boards, they look like computer modems:

I set mine up with a team of people I work with. We set it up from scratch then we used the Arduino IDE from the company website to set up the basic responders so we could run the light board from the terminal. Once we got it all set up we wrote a simple for loop to take recordings of light surrounding the board every half of a second. So anytime we ran the command the numbers would be consistently printing out 200-220 (normal lighting in an office) but then when we put our hands over the sensor, the numbers would dip down into the 40's. They would also sky rocket up to the 600's if someone put their iPhone light directly on top of the board (that was me, I did that). We also took the exercise a step further and hooked up the command with Plotly. With this tool you can pretty much just throw in data and plotly will generate any sort of data visualization tool that works best for you. In this case we used a simple graph layout and got results that looked like this:

All in all, a pretty cool experiment and something that didn't totally involve a computer screen which was very refreshing.

What next you say? I will be working on two applications. I wanted to step away from tutorial videos and make something with a database connection and stylesheets, you know, get back to my roots. I will be working on two e-commerce sites. One will be written in RoR and the other in Java. I think it will be fun! Stay tuned.

November 23, 2015 in #Coding_Streak | | | Share on Google+