Archive for Coding

Learning CodeBuilder was tricky, Stackoverflow to the rescue!

I spent, sadly, a bunch of time today going over one single lesson on creating a project in CodeBuilder to fix two small issues so I could get my project to build.  One error was my own spelling, and I should know by now that if something in code isn’t working for me, I HAVE to check my spelling first.  It is indeed crucial for elements of my buildspec yaml file to be spelled correctly.  Sadly, they were not, they are now, but wowza that sucks a bit.

My second error arrived today when my artifacts, now spelled correctly, wouldn’t upload.  Played with that a bit, deleted and re-did my project with the same errors.  Had to delete and re-add roles, that didn’t help.  Finally decided to take a chance and see if the googler had any ideas and of course the first search object linked to a Stackoverflow thread gave me the answer I needed.  Turns out, I was in the wrong region with my project.  I quickly fixed my error and suddenly I have a build that works!

My head is spinning and I am sure I explained all of that horribly. . .but it is all just here to remind me that I need to just stick with this.  I might need to get up and walk, have a coffee, take a day off, but I can figure things out if I just retrace my steps, check my spelling, and always google errors (AND endpoint errors in AWS might be related to region mismatches).

Advertisements

Monday Learning – AWS CodeBuild

I started using CodeBuild today in AWS.  I love it, and thought I understood all I was doing, until I didn’t.  Isn’t that just the way it is when learning to code things?  You take a class and all is going well for a bit, then you hit a snag and things don’t work like you expect, and suddenly not having a live person to ask questions becomes the biggest obstacle to your forward movement!

I am taking a break, and then I will do what I usually do to fix my broken code and things online. . .

  1.  Back track and repeat the steps I took to get to the broken part.
  2. Search the notes to see if others have had the same trouble.
  3. Search Google for answers (hello stackoverflow).
  4. Quit for today, cry about my failure, and try again tomorrow.

Maybe it is time to sign up for some live classes instead of all of this online “virtual” learning, cause all is fine until someone quits learning for lack of a simple answer and a bit of help.  Any CodeBuild experts listening??

 

New Things to See and Do and Learn

Its been a long summer of classes and learning, and instead of being too tired to learn more this fall, I find I am driven to learn and do more.  I want to know more things, I want to learn about the Cloud and Web Development and DevOps while I’m at it.  I am not sure where all of this is leading, but I am mesmerized by what I can do over on AWS (Amazon Web Services).

I found this site, A Cloud Guru, and I really like learning from them, so I have signed up for a couple of their classes.  I chose the Associate Certified Solutions Architect for the long haul, and the Create A Serverless Portfolio with AWS and React for the quick and dirty how to.  I can’t wait to finish both of these and get to work and get certified.  Not only does this address all three areas above that I am interested in, but it is all about building stuff, and I love that so much.

After that. . .on to Azure, Office365 and Google Cloud. . .I am not slowing down or giving up on the dream of more. . .

It Really Is the Small Things

csvfileI spent a really dumb amount of time today trying to write a Python script to do what I could have done in minutes in Excel.  I created a .csv file with the header and rows populated.  It is a small thing, but I struggled, and the data I was sending wouldn’t go at fist, so I had to figure out why what worked for one type of data didn’t work for another.  Turns out, I just needed quotes.  But the point really is that I didn’t give up , I kept at it, and I finally accomplished this stupid small task!

I have so far to go it is hard to imagine ever being proficient, but then again, a week ago I wouldn’t have believed I could write a script that created and populated a spreadsheet!  All progress counts, right?

I want to remember today and that I can do it!  I am not dumb, and I can work through problems and come up with solutions.  I could have asked for help like I usually do, but instead, I can go back through what I know and see if the answer isn’t there somewhere after all.  I can code, and I can do this!  I am still working through Learn Python the Hard Way, but I am also working through a couple of other classes too and all together I feel like I am finally getting somewhere, after a good month of hacking away.

A Crazy Security Kind of Day

Today I had a plan for learning.  I was going to spend a couple of hours this morning (in whatever chunks my regular work projects allowed) on learning Python and a couple this afternoon doing some Web Development learning and building since I am trying to cram both into my brain as quickly and solidly as possible.  HOWEVER, it did not turn out that way.  I had a much more interesting day, and in hopes that I not forget anything that happened, I decided to document it here.  I am afraid all this will prove is that i for sure have a healthy dose of Adult ADD.

I should have known it was going to be a super special interesting day by the wild tangent of a podcast I started with on my drive in.  I have been obsessing this week on the CodeNewbie podcast, listening to episodes in no kind of order other than what sparks my interest at the moment (dangerous, I know).  It was a good episode, but the best takeaway for me was Zen Pencils!  Have you seen this?  You MUST check out this amazing cartoon if you haven’t, for me, it was life changing.

After printing off a few inspiring cartoons to plaster the walls of my cube with, I was able to work through my second round on chapters 13-15 in Learn Python the Hard Way and the next section from my Automating OSINT Python course before I was off to a really interesting webinar on ransomware that was sponsored by a CISCO user group in my area.  I expected the content to be more, techy, I guess, but it was still really interesting.  I finished that and was off to work on some other work tasks.

I am now back at my desk with a break and find myself Googling the speaker from my webinar and find his super cool site The Dark Knight.  I read that and then remember that he talked about some resources that helped him break down what was happening with his clients who hired him to help with ransomware.  That took me over to the SUSE site to read a really cool breakdown of hexdump and how to see the insides of a document. . .see . . . isn’t it kinda cool!

hexdump

And suddenly I am in love with tech again and remember why I got into this “career” in the first place.  Now, if I could just find a tool to keep me focused on learning one thing at a time so I could actually feel like I am moving forward that would be great.

Learning a Language – Python

So it has been a couple of weeks since I sorta fell into a Python learning plan and I have to say that I am loving it!  I really thought that I could not learn or that I would not like to code, but I was wrong!

I happened upon two courses that really changed my mind.  The first was a class over at Code School, it was just a quick and free introduction to Python, but I was hooked.  Then, I did a search for free training and found a site that I really liked that let me try for free, Learn Python the Hard Way.  Now this site has been amazing.  I love the way Zed teaches.  I love that he puts so much emphasis on writing and rewriting code just to get a feel for it.  I also can really track better with his path than the one over at Code School, but that is personal preference.  I have no doubt that there are many ways to learn, but this is it for me.  I am on my second pass through the first 22 chapters and am picking up even more the second time in.

I know I have a really long road ahead, but my goal is to be a programmer.  Right now, I am thinking I will focus on Python and Security, but I am also working on another path that I will explain more in my next post.

It may have taken me a while, but it is good to have a plan and some goals in place once again that align with my current job and my future goals!  I can see light on the road ahead and that is a bit new and exciting!!