Setting (at least some) parameters

So. Now that I’m ready to explore what I like to do, have quieted my brain, where do I begin?

[Cue tumbleweed and crickets chirping]

[Still chirping]

[Tumbleweed rolls off into the distance. Only the sad sound of sand blowing around remains]

Right.

This is going well.

OK, perhaps I shall start with a list of things I find exciting to learn how to do or to actually do. Not actual projects (yet!) but things that resonate with me.

I love lists, obviously, so here goes:

  • Adobe Illustrator – learn how to use it and the possibilities
  • Adobe Photoshop – same as above
  • Adobe InDesign – learn how to make better presentations, maybe print something of my own?
  • Working with my hands: drawing, painting, sculpting, woodworking
  • Design processes: industrial design – design thinking
  • Screenwriting/playwriting: My ex taught me a screenwriting program and it was really fun to do for an evening. No idea what I would write or how I would use it but maybe to write something short?
  • Interaction/Coding/Design/Art (from lack of a better word): Ann, you inspired this one from the following links – it feels like possibilities are endless and it’s just blowing my mind!
  • Photography – learn how to use the camera my colleague gave me to take reasonably good photos that I can later on play around with or use in some art project?
  • Write:
    • Get 1 (or more) article(s) published online
    • A collection of 5 loosely connected short stories about a women’s beauty salon in Turkey
    • Polish off Ruby short story, make sure it is submittable level.

 

OK so that’s a very all over the place list.

Which obviously I made into a table.

And then added a “How” column to the side. Because I’m me. I can’t help it I’m a serial blog-starter and list-maker and quitter.

What Why How Where When Cost Time
Adobe Illustrator Fun, Career Online tutorial YouTube 20 hours
Adobe Photoshop Fun, Career Online tutorial YouTube 20 hours
Adobe InDesign Fun, Career Online tutorial YouTube 20 hours
Art (drawing, painting, sculpting, more) Fun Art class Spring 2018 Folkuniversitetet Feb – May 2018 22000 2 hours a day, 3 months
Screenwriting Fun DIY Home
Interaction/Coding/Design/Art Fun, Mindblowing Home
Writing Life’s meaning DIY Home 3 hours a day
Photography Fun Online tutorial Home
Design Thinking Process Career School School

I think we also have to add in *Swedish here as well. Mostly for career purposes, but also for fun (mainly because now I get to understand funny, feminist TV shows, Instagram accounts and um, my friends).

But to wrap things up with this post, the first thing on my actual real life to-do list right now is my application for the Umeå Industrial Design Intensive program which has the following requirements:

Screen Shot 2017-12-09 at 11.48.26 AM.png

The goal of today is to finish the still-life sketch (Assignment 2) and to learn a little bit about Illustrator (Assignment 1) to see if I can’t make a visual representation of myself using digital techniques.

I’ve also thought/sketched a bit about Assignment 3 and started on Assignment 4.

So overall, work in progress!

I’m now off to learn a little bit of Illustrator until lunch-time and then setting up the still-life sketch for the afternoon!

Will keep you posted on my progress. Goodbye quitting, hello accountability (err…)

 

A seemingly simple statement

After my last post announcing my not-so-grand return to our blog, I wanted to spend this post providing a contextual background as to where I’m at now with my thoughts and feelings about this upcoming change.

The short narrative that I provide to acquaintances and colleagues about me quitting my stable job is as follows: “I want to do something more creative and leverage my experience in healthcare by becoming a service designer. I need to go back to school for this and for the applications, I need time to create a portfolio.”

Which I suppose is accurate insofar as that it’s ONE of storylines and the most realistic-sounding one. The truth, as always, is a little more complicated.

In one of our deep-dive unwieldy conversations on Skype with Ann a few weeks ago, I think I came up with the core of what it is I am doing which may not sound as career-oriented or clever or LinkedIn-ready or perfect narrative-wise, but is the simple truth.

I’m exploring what I like to do.

Breathe in. I’m exploring what I like to do. Breathe out. I’m exploring what I like to do. On repeat. Honestly, I have to repeat this to myself every single time my brain shifts into high gear grasping for a familiar story of a person who has direction, ambition, goals, focus.

Here is an excerpt from my email to Ann a few days ago as an example:

“I saw this bootcamp that they are having here… it’s a little expensive (55000 SEK = 6500 USD) but I was wondering if it might be worth it? Attached is the syllabus. The problem is that it overlaps with my art/Swedish class but … also maybe a good investment of my time to learn something useful down the line for UX jobs? It’s also a cool company that was founded by women who also founded a company called “Tjejer kodar (women coding)” http://www.technigo.io/about

Or is this me doing A Quitting Zany and flip flopping and signing up for something without even exploring it? I am just always so bedazzled by the idea of a Bootcamp and getting “stuck” into something, so maybe best to take a step back. And, I think they have multiple ones of these in a year (they are 12 weeks) so it’s not like if I don’t register now I’ll miss out. But in any case, just wanted to see your take on the syllabus and if it’s worth time/energy to even apply?”

Ann’s very wise response:

I’m going to vote a hard No for the bootcamp.  You’re really going to want to focus on art.  It’s going to take up so much of your time and I think you’ll regret trying to do both.  Coding is incredibly time consuming when you’re starting out and without a project in mind that excites you, I think you’ll be really unhappy.  Just thinking “this might be useful for a job perhaps later down the road” is no different than thinking, “I should become an uber driver”
Stoooooppp thinking about skills that’ll make you employable and just focus on doing the things you like.  Think of projects.  If those projects are all web related than take a week to just do an intro coding course on treehouse or codeacademy or whatever that’s free.  If you really enjoy it, then maybe do the bootcamp. 

I have to remind myself of this conversation every time that I freak out and want to sign up for an expensive coding bootcamp, see above (thank you for the hard no on this one Ann) or have meltdowns about getting another job in Sweden (with my intermediate level Swedish) or envision myself depressed, lonely in my apartment watching Netflix and snacking myself into oblivion.


I am exploring what I like to do
This is my starting point. And that’s OK. No matter if I haven’t figured out the end destination, or what I even want to go towards or that I have no focal point right now. It’s OK.

I am exploring what I like to do 
For possibly the first time in my life, I’m going to let myself float around, enjoy the process of splashing in place rather than spending time, money, energy exhausting myself haphazardly trying to swim to a destination I’m not even sure I truly want.

So yes. Bring on the floating in place.

 

 

The caption of this on Google Images was “sad girl floating in place” which is a little depressing. I’m going to reclaim it as “wise girl floating in place”

 

 

 

 

 

AAAAAAAND WE’RE BACK.

Or at least, I am. (Hi Ann!)

HELLO BLOG. HELLOOOOOOO!!!

IT HAS BEEN SO LONG SINCE I LAST POSTED. Thank you for taking me back into your loving and welcoming arms.

So, a few key updates since May 4th 2017.

  • I finished my (shitty) short story and then shelved it as I was too horribly embarrassed about it and didn’t want to face my failure or edit it. So it’s sitting gathering internet dust on my Google Drive, hopefully to be unearthed and turned from a shitty mound of coal into a sparkling diamond.
  • May 21: I met a boy and got sidetracked. Summer came to Sweden; all I wanted to do was hang out with said boy and be outside and ride bikes and go for picnics and look at leaves dappling in the sunlight. Decided I wouldn’t do anything future oriented until I got permanent residency and let self off the hook.
  • June 16: Took a 3 day portrait drawing class which was fun! Here is the portrait below. I think I spent 12 hours shading – it was a solid challenge to my nonexistent patience levels.

IMG_1839

  • August 10: I GOT MY PERMANENT RESIDENCY IN SWEDEN which meant that I could quit my job.
  • September 16: I broke my foot while celebrating said permanent residency. Life became consumed with daily mobility struggles. It was only two weeks ago the doctor said I no longer needed to wear my walking boot.
  • October 6: I quit my job (!) I have a 3 month notice period which I’m finishing up over the next two weeks.
  • December 7 (today): Officially started freaking out about quitting my job and HENCE I AM BACK AT THE BLOG.

I don’t know about you, but for someone whose commitment to her personal projects when things are unwieldy and uncertain is about as strong as a single strand of spider web on a stormy day, I think I need to start getting some of this accountability back, especially since my last day at work will be December 21, which is coming up soon. Ann and I have spent a lot of time Skyping and emailing, but I think I would also like to share my process out with the world in case it helps anyone else that has stumbled on to our blog!

 

 

 

 

 

Wrapping up Calculus and what’s next

It’s been a long time since my last post, so I thought I should give an update and close the book on my summer studies.

As I wrote about before, I decided to take a step back from coding earlier this summer and focus on learning Calculus.  I am the long term goal of creating projects using computer vision, machine learning, and natural language processing.  As I got deeper into the subject matter, I realized I really did need the math if I wanted to create my own algorithms rather than rely on libraries.

So I went back to the drawing board and re-learned Calculus over the last 5 weeks using MIT’s OCW materials.  Two days ago I took the online placement exam at Harvard extension school and I’m happy to say I was placed into multivariable calculus.  In other words, I successfully learned the course material for single-variable calculus. (Side note: the placement exams are free to take if you’re ever curious to get a quick assessment of your math, science, or writing skill level, you just need to sign up to their online system for access.)

I’m planning on taking multivariable calculus this fall for credit via the extension school’s online system.  It’s pricey ($1600), but it was the best option I could find that worked with my schedule.  (Community college would have been the best option as it’s in person and comparable cost-wise, but classes didn’t meet at a time that worked for me.)

My goal is to build up the pre-reqs I’d need to get into a CS masters program.

In the short term, I’m attending two residency programs – one for tech and art this fall and the second for programming in the spring.

Maybe I won’t end up applying to CS masters programs, but I’d like to at least give myself that option.  And I’m sure I’ll learn a ton along the way!

Learning to learn (more!)

Hello everyone!

In a previous post I talked about how I’ve started looking into new learning techniques to help me on my learning quest.  I’m currently teaching myself math and programming, and it’s been tough.  Progress comes in fits and starts, and I’ve been down several dead end paths.

  1. I tried a purely project based approach.  I sat down and thought of interesting projects I’d like to make and then jumped into coding to make them.  That was a good way to get a taste of what programming is about and to confirm that it’s something I’d like to do more of.  However, the projects I was dreaming up were waay out of the scope of my beginner’s ability.  I could have scoured github for similar projects and mashed together a frankenstein project that more-or-less did what I wanted it to do, but I didn’t think this would be a good way to actually learn the concepts.  I didn’t think this would help me to generalize skills and learn to do more interesting work in the long run.
  2. So I turned to classes.  I signed up for some advanced online classes through Udacity and EdX on machine learning, robots, and AI.  I started programming in February 2017 so it’s no wonder that by April I was NOT ready to take these types of classes.  I muddled through most of a Udacity course (they give you generous starter code) and got halfway through the EdX course before I hit a wall.  Again, I didn’t think I was really getting the concepts.  I could hack together a project that would spit out the right answer, but I didn’t really get what I was doing.
  3. So I took a step back.  I started taking linear algebra and then realized I needed to go back further, and started Calculus.

Learning Calculus

For the past two weeks, I’ve been teaching myself Calculus using the amazing resources from MIT OCW and Professor Paul Dawkins’ online notes.  I also bought a big book of calculus problems for additional practice.  The first week was pretty good.  I was chugging along and felt I was making good practice.

This past week has been less than great.  On Wednesday when I sat down to do practice problems, I got every single problem I tried before lunch wrong.  That means I spent four hours bashing away ineffectively at problems and feeling more frustrated and despondent as the minutes ticked by.  I had been unwilling to move on from the work I was doing (applications of derivatives) to new material (integrals) because I wanted to master the first thing first.  But it was clear this wasn’t working.  I moved on, and found a groove again with integrals.

But it was clear that I was missing something.  I wasn’t learning effectively.  Something just wasn’t clicking and I wasn’t sure what.  I had done calculus in HS and did well, I had done problems the day before and gotten them right.  Why suddenly did it feel like my brain was mud?

I was reading through Professor Dawkins’ post on how to study math and it was obvious to me that I was in category 2 of students who don’t do well in calculus.  I was studying for hours each day but not doing well on my problem sets.  It was clear to me that I had inefficient study habits and unless something changed, I was just going to end up wasting more time.

Around the same time, I stumbled across this gihub community of Open Source Computer Science learners.  And from there, I found the subreddit for the group, which led me finally to this QA mysteriously and intriguingly titled “looking for alternatives.”

And there, I found this amazing resource for a self-learning CS curriculum.  What I love about this list is that it has a bunch of helpful resources for laying the groundwork for your self learning endeavor.

I don’t plan to go through this whole curriculum, but I did start with the learning to learn course on coursera and it’s AMAZING.

There are some things I knew or practiced when I was in school, but this time around because I’m older and feeling pressure to see results faster, I haven’t been doing, to my own detriment.  Some of the key points:

On learning/chunking

  • Chunking is the idea of grouping together related ideas/concepts in order to improve learning.  If we are memorizing a song we chunk the tune and the lyrics which make it easier to remember both.
  • When we learn something new, we lay down new neural pathways for the material.  We need to strengthen those neural pathways in order to truly understand something.
  • To strengthen neural pathways, it’s better to learn the material over time.  If we study for one hour a day for five days instead of five hours in one day we’re more likely to remember the material and to understand it more deeply.
  • It’s best to work in small chunks of time.  For example, do 25 min of focused work, then take a break, then 25 min more etc.  It’s also helpful to review material right before bed as we commit things to long term memory while we sleep.
  • An easy technique to improve retention and learning is to try to write down the key points that you learned right after learning them (without notes/looking – which is what I’m trying to do right now!)

On procrastination

  • Focus on process instead of product to beat procrastination.  Instead of thinking, I’m going to finish those five homework problems think, I’m going to work on my homework for 25 min.
  • Every night before bed, write down the tasks you plan to accomplish the next day.  Don’t go too crazy!  5-6 tasks is more than enough.  Keep them focused on process.
  • Keep all this in a journal and take note of what worked, what didn’t, and how long things actually take.  Over time you’ll get a better feel for what you can accomplish in that time.
  • Plan your quitting time.  It’s important to pace yourself and it’s also not effective to just keep on studying past a certain point.  You won’t learn more or better this way.
  • Procrastination starts with a cue, try to change that cue.  For example, if your cue to procrastinate is hearing the ping of a new email, turn off your phone.  Removing the cue will make it easier to avoid procrastinating.
  • Reward yourself for completing tasks.  Rewards can be emotional (I draw a smiley face and write ‘yay’! on my paper when I finish something) or external.
  • Lastly, believe that you can change.  Belief that you can break the cycle of procrastination is important!

On memory

  • Humans have good spatial memory.  Use this to your advantage by building a memory palace
  • The weirder or funnier your mnemonic devices, the better you’ll be able to remember the information.
  • It might seem silly, but these devices can help you as you’re starting to form memories.  Over time, this will help strength those neural pathways!

Eep!  And that’s all I have for right now.  I’m sure I’m forgetting a lot.  :/  Will need to review tomorrow (as per the suggested way of learning!)

Changing my tactics

All of this is to say that I have a lot of bad habits to unlearn and new habits to form.  Instead of going the Scott Young route and trying to cram a whole bunch of learning (ie a semester of Calculus into one week), I’m going to spread things out a bit more.

Starting this week, I’m going to concurrently do my algorithms, calculus, and linear algebra coursework.  I plan to spend ~1 hour in the morning reviewing the material, and then dedicate the afternoon to practice problems or other study techniques (e.g. making flashcards, building my memory palace etc.  🙂

I’m not sure how this will go, but my rough goals are:

  • Finish all three courses by the end of August
  • Be comfortable with applications of Calculus and Linear Algebra
  • Be able to write the pseudocode for all the algorithms covered in the course
  • Be able to analyze running time of algorithms (which is an application of calculus, I believe, so….two in one!)

Having fun!

Lastly, while math and coding is fun, it’s important to give my brain a break and do something I enjoy!

I LOVE puzzles so another book I picked up is The Art and Craft of Problem Solving.  It’s aimed at HS students (and teachers) who are interested in the math olympiads.  While I’m definitely not in the right age group for that, it has a bunch of fun brain teaser math problems like the classic census taker problem.

A census-taker knocks on a door, and asks the woman inside 
how many children she has and how old they are. 
"I have three daughters, their ages are whole numbers, 
and the product of the ages is 36," says the mother. 

"That's not enough information," responds the census-taker. 
"I'd tell you the sum of their ages, but you 'd still be stumped." 
"I wish you 'd tell me something more." 
"Okay, my oldest daughter Annie likes dogs." 

What are the ages of the three daughters?

Enjoy!

 

Building a practice of deliberate practice

I’ve been thinking a lot about how to get the most bang for my buck out of my time away from work.

Finding my path

It took me a little while to find my feet and my path to programming.

Z and I were chatting the other day about recognizing our emotional / anxiety / stress cycles and something she said made a lightbulb go off for me.

I realized that every time I feel frustrated or down, I decide to start a company and/or get an MBA.  It’s not because I’m frustrated by some big problem and have a brilliant idea of what to do about it.  It’s because I’m frustrated with myself and think that getting the stamp of approval of an prestigious MBA or saying f-you to my job/crappy manager/whatever by starting my own company will be the panacea to my ills.

I wanted to be respected.  I wanted to be successful.  And I wanted to fit in.

I have a tendency to do what my friends do (a terrible, terrible habit!) due to a desire to fit in and gain their respect.  I started out college as a math/bio major and then in my junior year switched to international relations since all my friends were history and poly sci majors.  Math/science was considered dull and very un-hip.

I didn’t really enjoy the work, but I found a niche that I did enjoy – theory of technology – and exploited that the best I could.  My thesis advisor senior year even asked me point blank: how is what you’re doing international relations?  And to be honest I didn’t have a great defense.

Later, even though I felt I was on the wrong path and was unhappy with my job, I felt paralyzed from making any changes.  In my early-mid 20s I still felt young enough to defer any difficult decisions to my older self (I hate my job now but by 35 I’ll be a wildly successful businesswoman.).

By the time I hit 29 the magical thinking stopped working.  29 to 35 isn’t a whole lot of time for me to start loving my work.  However, I was worried I was too old to make a change and figured I should stay the course and find a way to make peace with my job. But I just couldn’t.  I flip flopped between googling ‘am I too old to start over?’ and feeling young and exuberant and ready to take on the world.  And, of course, all the while I was anxiously scouring the internet for hope time kept right on ticking by.

So it’s no shocker, with all this brewing, that when I finally took the plunge to quit my job in Feb to focus on learning to program, within a week I was researching competitors and interviewing potential users to validate an idea I had for a company.

I was scared.  I was scared that I was suddenly on my own and that my friends would all think I was a failure.  Saying I was starting a company made sense to people.  Saying I was learning to program because I wanted to make art robots did not.

Luckily, I realized within a few weeks that I had no interest in being an entrepreneur.  And with that out of the way, I finally recognized the cycle for what it was – my fear and need for outside recognition – and was able to move on.

Learning to learn

Now that I had found my path and realized that I really did want to learn to program, I had to learn how to learn.

The next struggle was to tackle the feeling of being too late to the game.

I felt years behind where I wanted to be, and felt I needed to catch up.  I had a million ideas of projects to build, but zero skills whatsoever.  My first instinct was to dive in and start building projects, figuring that I would be driven to learn things in order to bring my ideas to life.

This kind of worked.  But with each project I realized a bit more how much I didn’t know.

So next came a recalibration period.  I learned what I didn’t know and how far I needed to go.  But still I felt anxious at my slow pace of progress.

Was I actually getting better?  I had no measuring stick.  No way of knowing.  And the more I realized I didn’t know, the harsher my inner critic became.

Deliberate practice

The second half of last week I felt pretty lost.  I had a great tutoring session last Tuesday.  I then spent Wednesday preparing for an interview for the Recurse Center on Thursday.  After my interview, I felt a little deflated.  I was off track with my Calculus and Algorithms classes, I had homework from my tutor, and I just felt all over the place.

I tried to get back into the next week’s Calculus lecture on Friday, but after I watched the videos I didn’t feel like I had truly understood the material.

I had planned on working over the weekend, but ended up taking both Saturday and Sunday completely off.  I spent time with my family, went to an art show, went for a nice long walk, and just relaxed.

I thought a lot about what the next month(s) might look like.  I heard on a podcast recently the quote by Bill Gates that people tend to overestimate what they can accomplish in one year and underestimate what they can accomplish in five.

I thought a lot about quitting.  And how the reason the above is likely true is because we give up when we don’t see results as quickly as we’d like.

I thought a lot about committing to change.  There’s a line in Dr. Tim Pychyl’s procrastination podcast that really hit home for me about changing habits being a lifelong pursuit and, if that sounds like too much to bother with, what is life if not the pursuit of bettering ourselves?

Finally, I thought about committing to learning.  I didn’t just want to watch all the Calculus videos on 2x speed and pump out exams a la Scott Young.  I wanted to deeply understand the material so that I could apply concepts from one area to problems in a completely different area.  For example, I was recently trying to analyze the running time of algorithms by taking the limits of the formulas, but I was getting funky answers.  I knew I needed to take limits (using my Calculus hooray!) but I couldn’t figure out how.  The form of the equations for big O notation was different from the form equations take in my Calculus class and I was having trouble applying the concepts.

So what’s the point of all my rambling?

All this is to say that I decided earlier this week to really commit to learning.  But, I wasn’t just going to do a lot of practice problems.  I didn’t think that was the best use of my time.  Instead, I spent a few hours researching learning strategies and formulating a real, achievable plan.

I also realized that mixing subjects just doesn’t work for me.  In other words, doing Calculus for a day and then switching to Algorithms for a day doesn’t work.  It was putting pressure on me to finish a week’s material in a day so I could feel that I had wrapped up a lesson before moving on.  This meant I wasn’t taking the time to really dive into concepts since I was more focused on the output (getting a good score on the quiz, getting the right answers from the programming project) instead of the process.

I listed out some general concepts I didn’t feel I had a good grasp on:

  • limits
  • general info about proofs (e.g. what is a proof by induction?)
  • proofs of trigonometric derivatives
  • rusty on some basic algebra/geometry like completing the square, solving trig equations
  • tree traversal
  • priority queues
  • etc etc etc

I plan to spend at least 3 hours per concept.  This includes writing out proofs, solving them by hand on my own, doing practice problems, and whatever else it would take to develop an instinct for the material.  I want to get to a place where things just ‘felt’ right or wrong.

Giving up on shortcuts

I listened this morning to this old Freakonomics episode about How to be great at anything.  It dives into the idea of deliberate practice, and the story about the psychologist – singer is such a great example.

I used to approach learning as a goal-oriented practice.  I wanted to learn concrete thing X which would then allow me to do concrete thing Y.  The goal was to be able to do Y.  Not to understand X.

Now I’m thinking of it more as a lifestyle.  I’m committing myself to “slow learning” and mastery, and also to the knowledge that I may never get ‘there.’  No more of this learn X in 30 days BS!

This is not to be equated with lackadaisical learning.  It’s not that I’m slowing down and only studying an hour or two a day.  If anything, I’m ramping up and getting more intense.  I’m reorienting my mindset and digging in for the long haul.

 

Asking for help

** If anyone is interested in trying Wyzant (reviewed below), please use my code and get $40 of tutoring for free!**

Sometimes going it alone is great.  And sometimes you need help.

I’ve been teaching myself to code and backtracking to more and more basic subjects to give myself a solid foundation in programming.

I’m still not 100% sure what I’d like to specialize in, but I’m leaning towards data science and/or AI.  (Will write more on my love of cyborgs and why AI later…)

But I have to start at the basics.  For now,  I’m doing simple toy programs (tictactoeAI) and working through several Coursera courses on algorithms.

While the code I write works, I just know it’s ugly.  It feels brittle and ungainly and while I wanted to fix it, I didn’t know how.  One of my biggest fears about being a self-taught programmer is that my code might work, but it’ll be a hot mess and I’ll have locked in bad habits.

If I were in school, I’d be getting design feedback, but going it alone that’s hard to get.  I’ve been submitting code snippets to codereview stackexchange and while that’s been hugely helpful it doesn’t go far enough.

I really needed someone to sit down with me, walk through my code line by line, and give me feedback.

Looking into tutoring options

After a week or two of fretting over what to do I finally decided to try an online tutor.

Ideally, you could ask a friend or coworker for help, but I don’t have any close friends that code and felt bad asking someone I didn’t know very well for such a big favor.  Since I’m a beginner, I need a lot of patient explanation and I thought that was just too much to ask someone who wasn’t a close friend or family member.

I looked into various meetup options, but ruled them out for much the same reason. The ones I found were group study sessions where peers helped one another – basically stackexchange IRL.

Online tutoring with Wyzant

So I took a chance in a tutor on Wyzant. I was worried about the cost ($40/hr for the tutor I chose), but since the first session is free I decided to try it out.

I met my tutor for the first time this afternoon.  She was amazing!  It’s incredibly helpful to have someone who knows what they’re doing walk with you through your code.  I’ve done crit sessions with writing and art before, and I would put codereview closer to the crit side of the spectrum vs. the tutoring side.

We discussion some foundational CS concepts like layers of abstraction, scope, and the stack (and how/when it gets cleared out).  She clarified a lot of concepts I had read about and vaguely understood.  She also pointed out some problems with my code that I never would have noticed on my own.

For example, in my tictactoe AI when the user plays more than one game, I create a new instance of the board/AI objects for each new play.  She told me that if a user were to play a whole bunch of games in a row, that my current setup would lead to stack overflow issues.  This isn’t something I ever would have caught since I never played more than one or two games in testing.

All in all, it was great to be able to ask all the why questions that I never get to ask on online forums or when asking a quick question to a friend.  When she first pointed out the issue with my tictactoe game, instead of just saying ‘ok, got it’ and fixing it, I asked why it was a problem.  That led to a 10 min tangent on stacks and scopes, but it clarified the concepts I needed to know.

All in all, it was time well spent.  I’m reworking the programs we looked at together now and am planning on making our sessions a regular (weekly?) occurrence.  I figure $40 a week on tutoring is still waaaay less $$ than school and a worthwhile investment to learn to write legible and strong code!

Going back to basics: Calculus

There are a lot of great things about being an adult student. Today I started (re)learning calculus and I have to say it’s way easier this time around. I barely remember anything from high school, so it’s not easier because it’s review. It’s because I’m learning it because I want to and I know why it’s useful.
Those two reasons are tightly linked.  I’m learning it because I want to, and I want to because I know why it’s useful.
In school, we’re often told we need to learn things “just because.”  Because we need to get a good grade.  Because we need it for college.  Because that’s what people do.  None of these reasons are very compelling.  They might be enough to get you to study so you can ace a test, but they’re not enough to keep you going when things get tough.
And they’re not enough to get you curious to find out why.  And it’s knowing the why that makes things really interesting.

My love-hate relationship with math

I loved math when I was a little kid.  I took math courses (kumon?) when I was really little and I used to do the problems in my little paper booklet, then erase the answers so I could do them again.
In HS, I fell in love with calculus.  It was my favorite subject my senior year.  I worked really hard in the class and did well.  At first, I kind of tricked myself into liking it because I knew it was going to be hard.  I decided that because it was hard, I was going to love it twice as hard and make it ‘cool’ to keep myself motivated.  As Amy Chua wrote in Battle Hymn of the Tiger Mother, “Nothing is fun until you’re good at it.”  I worked my ass off in that class, got good at it, and had fun.
However, that wasn’t enough to carry me through in college.  I couldn’t stay awake during linear algebra (it was at 1pm, the dreaded post-lunch slump…) and I walked out after 30min of the first lecture of multivariable calculus.  On day 1 the prof jumped straight into the material saying he expected everyone to have the right background.  I thought I was in over my head and I just didn’t want to work hard for something that I wasn’t sure I needed.
I decided I just wasn’t a math person and gave up.
I gave myself permission to be bad at math, and bad I was!  I got a C in linear algebra – my final exam was like a nightmare.  I was staring at the paper and had no idea what anything was about.  I’m shocked I even got a C.  My senior year I took statistics and barely got a B.  I don’t remember anything about the class except that I would bring a homemade egg bagel sandwich for breakfast on those days.
I rationalized it by thinking I wasn’t a math person and moved on.  The thing is, most of us aren’t math people.  Or writing people.  Or drawing people.  We have to work to acquire those skills.  Some of us get started on that skill acquisition process earlier, so have a leg up when they get to HS/college/wherever, and that extra level of mastery makes it more fun for them.
Sure, there are the Maryam Mirzakhani‘s out there who probably do have some underlying natural ability, but I’m going to guess that most people just worked hard until it clicked.

Re-discovering math (and other basics)

This time around, I had a reason to learn.  As I’ve written about earlier, I’ve been falling down the rabbit hole of programming.  I’ve learned a lot, it’s been a ton of fun, but I’ve been hitting walls when it comes to the basics.
I started my journey wanting to make a robot.  I started two intro to AI courses (one on Udacity, one on EdX) but I had to quit both.  The Udacity course breezed through the interesting and complicated content and gave you way too much starter code so I didn’t feel as if I was learning anything.  The EdX course was better, slower paced with in-depth proofs and projects where you had to write programs from scratch, but a little over halfway in I felt stuck.  While my code was outputting the correct answers, I didn’t feel like I understood the material.
I decided to take a step back and spent a week on an Intro to Algorithms course on coursera. That was super helpful for understanding the value of primitives and the importance of running time, but it also made me realize I needed stronger math skills.

Calculus or Linear Algebra?

I vacillated a while between taking calculus and linear algebra.  I started watching the highly recommended Gilbert Strang lectures for linear algebra but kept feeling like I was falling into old patterns.
I was dragging my heels on calculus.  I had already taken it twice (once in HS and once two years ago when I blazed through the Khan Academy Calculus series with the thought of placing into a higher level continuing ed math class.  I didn’t end up doing that since I got a new job and got busy :/).  I was also starting to feel discouraged about my progress.
Five months into my learning sabbatical and instead of becoming a programmer I was going back to HS math.  Bummer.
But this has been my downfall time and time again.  I try to skip ahead because I’m impatient, but later regret not taking the slow and steady route.
I’m happy to say I learned from my past mistakes and am taking the slow route, which means taking single variable calculus.
There’s a lot of rust for SURE and as the prof said in one lecture, the calculus is the easy part. It’s all the geometry, trig, and algebra you need to do everything around the calculus that’s hard.

To binge or not to binge?

Today was my first full day of calculus.  I got through a few days of lectures and half of the first problem set.  I even caught an error in the homework solutions (and another one on the blackboard in the lecture…I emailed MIT to suggest a correction for that…we’ll see if they respond!) 🙂
I’m trying out binging to see how it goes.  I find it difficult as a full-time self learner to toggle between courses.  In school, you easily take 3-4 classes a semester.  The schedule is imposed on you from the outside.  With online lectures, I end up doing about a week’s worth of material in a day.  It just seems easier to click on to the next video than to stop and change gears to a different subject.
So I did 4 weeks of an algorithms course in ~4 days, and have finished 3 lectures worth of calculus in a day. If you think about it, it adds up.  The algorithms class suggested working 8-10 hrs a week (about a day’s work) and the MIT class is about the same.
So far I haven’t had any major stumbling blocks where I have to pound away at one problem set for 10+ hrs, but I’m sure those days will come and the 1week = 1day ratio will slip.
I’m also planning to experiment with different learning methods.  I’m concerned that binging will lead to poor retention.  I’ll finish the calculus class in two weeks, but then a month later if I try to do multivariable calculus I’m worried I’ll have forgotten everything.
One thought is to try binges by day instead of by course, e.g. Monday = calculus, Tuesday = algorithms, just to give a little time for things to sink in.
In any case, it’s all an experiment!  We’ll see where it goes!

Falling down the rabbit hole

Hello again world!  It’s been a *very* long time since my last post and I apologize profusely for that.

Since I last wrote about my chrome extension, I’ve been busy jumping from project to project, chasing whatever captures my interest.

It all started with the Google FooBar challenge.  Right after I published my chrome extension I felt listless.  Anytime after a big project or event is finished I always feel a bit let down and lost.  I wonder, now what?  After days of waking up each day with purpose and direction, I’m back again at square one.  Needing to find a new project to capture my interest, but not really knowing where to start.  I keep a lot of notes jotted down with project ideas to avoid staying in these doldrums for too long, but it’s hard not to find myself there for a least a little while.

In any case, I was at the library googling around and trying to figure out my next move when I stumbled across the Google FooBar challenge.  The challenge is a semi-secret easter egg that gets unlocked when you google a specific term.  For me, it was ‘list comprehensions python.’  The search results page dropped away and I was invited to try this coding game.

Screen Shot 2017-05-02 at 3.17.13 PM

The first level was quick and easy, a simple list comprehension.  From there, I plodded my way through level two, and barely eeked by level three.  I haven’t started level four yet as I know it’ll be a disaster.  I’m waiting to build up a bit more knowledge before opening up that Pandora’s box.  I won’t go into implementation details, but if you’re curious a few of my FooBar solutions are on my GitHub here.

My solutions aren’t always pretty, in particular the matrix transformations in doomsday fuel is embarrassing, but they worked!

Screen Shot 2017-05-02 at 3.46.10 PM

The big side effect of FooBar was getting me into the backend of code.  Up until that point, I had been mostly doing projects with a visual component.  I hesitate to say front end since it was hardly that (e.g. a custom designed form with an automated backend, or a chrome extension that changed words on the page).

Google FooBar, in the guise of an adventure game, gets you working on algorithms.  I read up on Dijkstra’s shortest path and breadth first search.  I discovered matrices and dot products.  And I realized I really preferred this stuff to JavaScript and GUIs.  A little extra context: right before I came across FooBar I had been trying to learn Three.js but my heart just wasn’t in it.

Alongside all this, I had been taking a MIT course in order to learn about state machines.  I had wanted to do this in order to improve the performance of my robot.

Through the MIT course, I was forced to figure out virtual environments (I ended up with conda as venv was a disaster for me) and learned a bit of object oriented programming.

I wasn’t loving the MIT course format so I wandered over to Udacity and began taking a class that covered many of the same concepts titled Artificial Intelligence for Robotics.

I got almost to the final project but was, once again, unsatisfied with the course format.  The Udacity class provided the bulk of the code for each assignment, so I didn’t feel like I was actually learning the concepts.  I could get the right answers on the quizzes and programming projects, but if asked to write the code from scratch I wouldn’t have known where to begin.

So I abandoned yet another course (so much for quitting quitting haha!) and tried instead an EdX course Introduction to AI.  For me, this hit the sweet spot.  The class was hard but not impossible.  Some assignments provided startercode, but most asked you to write programs from scratch.

The course kicked off with breadth first, depth first, and a star search.  Next, we were asked to program a 2048 solving AI.

While banging my head against the wall trying to figure out whether my implementation of minimax was wrong, or whether my heuristics were wrong, I took a little detour and coded up a tictactoe AI.  Through this exercise, I learned that my minimax was just fine but my heuristics were terrible.

The long and short of it is, I have been negligent in my posting but I’ve been busy!

This post focused on the mechanics of what I’ve been doing.  Next time, a bit about what I’ve learned about myself 🙂

(Oh, and I also took a glassworking class – photos of my terrible glass sculptures to come soon!)