Skip to main content

Posts about programming (old posts, page 2)

#100DaysOfCode, Days 002 & 003 – Dates & Times

Worked an hour for the past two days, exerting all of my python knowledge at the small project they gave me.
Try as I might, I could not do it.
So looked at the solution.
And realised, while it was all logical, I couldn’t for the life of me have written that code on my own.
Long way to travel.
Lots of work to do.


#100DaysOfCode, Day 001 – Dates & Times

Watched videos for the tiny projects to do over the next two days.

We begin with a date/time project.
Python has objects (primitives) to deal with dates and times.
They are part of the datetime module, which is part of the Python Standard Library.

I learnt that I could add and subtract and otherwise modify dates, easily if my date data was in this format.

Will play more with this tomorrow.

100 Days of Code, Again

Ok, the last time I tried this, life got in my way.
Second time lucky?

Last time, I crashed and burned.
So, to quote Rascal Flatts,

On your knees you look up
Decide you've had enough
You get mad, you get strong
Wipe your hands, shake it off
Then you stand.

Every time you get up
And get back in the race
One more small piece of you
Starts to fall into place.

So, 100 Days of Code, #100DaysOfCode?
Look here for the philosophy and the tactics (pretty simple, really.)
And then I’m using Talk Python’s course to actually learn Python.
33 odd little projects over a 100 days.

Here I go …


Study, Day 9

French

The app! the cursed app!
Just did the bare minimum today.

Programming Practice

  • Didn’t waste tooooo much time today :)
  • Manged to figure out what was actually asked for in Python terms and wrote it down as instructions in the file.
  • working at slowly converting them to code now.
  • All the fussing I did over fonts and setting things up yesterday paid off. The editor has receded to tho background and I can just work.
  • I made progress with the program today.
  • only a tiny bit left.

Python Jumpstart by Building 10 Applications

  • The fourth app kicked my butt.
  • got it working, but it was really hard going.
  • done for this week. will attempt next week

Study, Day 8

French

The app is now buggy, since the last update and crashes on me all the time.
Am at it though.

Python Practice

This is stupid.
I spent an hour just setting up my environment all over again.
This should teach me to do at least a little bit every day.

  • 1 hour of setup
  • 1 hour of tremendous headscratching
  • No practical reasults.
  • Tomorrow hopefully is a better day.
  • The only positive thing is I feel, my mind has begun to crank again.

Python Jumpstart by Building 10 Applications

  • Started watching the videos.
  • Built three tiny apps in rapid succession.
  • Getting my python mojo back.
  • Run out of steam after 3 hours.
  • Ending on a high note, though. will pick up the pieces tomorrow.

Study, Day 7

Was on a roll.
Went and finished the whole geography textbook.
My brains are smoking now.

Next step, spaced repetition exercises of all the chapters for two months.

MITx, 6.00.1x, Introduction to Computer Science and Programming Using Python

Did quite a bit of the course’s exercises. I realise now that I should have just downloaded the course from the Open Courseware site and worked on it at my own pace.
The MOOC is excellent, but not for me.
I keep missing all sorts of deadlines.
My life and the MOOC sadly do not get along.

Or maybe, I just do the MOOCs at my pace, knowing that there will be things I will miss, but as long as I get the learning (and I do the practice), I should be fine.

Did up to Week 4 of exercises.
Will tackle the rest next week.