i think i got it
alrighty right boom.
<module 'dt' from '/home/christopher/dt.py'>
map(dt,) # look, up here.
<map at 0x7f9fec3892b0>
YO. Let's go. Welcome to
(imagine dope intro music playing to this, maybe I can make that happen soon - something between this, this, and this. Please don't listen to all of those three together unless you have a buddy around to supervise your scary but amazing transformation into something darkly twisted and surreal.
do you, you devil.
what's happening up there? (above the title there with the hash tag comment..) I'm using map on a thingy I imported and then the time is at the beginning of this post.
what is map? it's a function, that run's functions a specified amount of times. That might not makes sense but I'll walk through it anyway.
import dt bringing in my code.
print(dt) because I forgot that I wrote this function to be called from the command line so all it does is
print the module's locaiton in memory
map(dt,) this runs the function, and runs it once. don't know why it has to be in a list. I'm sure theres a super good reason though.
dt copies the date and time into my clip board. then I can hit
ctrl-v and it just prints out. I have to run it in my terminal though. I obviously didn't get to extend it. This is actually what I spent part of my day on yesterday. What I didn't realize when I was writing that post is that I only spent part of the day actually being stuck on something. I wasn't working the whole day on it but sometimes when you get stuck by one thing it seems like you're getting stuck by a bunch more.
I had actually biked to the library yesterday and forgot my lock. It was a super bummber because I seriously do not ever leave my bike unlocked anywhere. Never ever. Once you have your bike stolen and are not able to make it to work or class on time then you'll understand but maybe think if your car got stolen.
Yeah so I was a bit frustrated with myself. I didn't even realize I didn't have the lock until I was standing at the bike rack. I had been focused on bringing all of these other things I thought I was going to study. However, I ended up finding a place I could park my bike and keep an eye on it while coding.
There happened to be a veterens concert going on too so I got to hear a good tune while I was tip tapping away, creating debugging issues for myself.
Here's what I wanted to write about when I first sat down to originally write this kids.
There's no one golden resource that will teach you how to code. There is no way you can learn to code by asking anyone else how they learned how to code. You have to just do it. I don't intend negative attitude or connotations when I say fail and fail fast. Fail as fast as you can. The reason I've ever learned how to build a program that worked is because of errors. I would have never looked up the next thing on Google. These days where you think you've spent hours reading documentation and minutes coding are great days! You have done good work these days. But do not put your faith into one resource. You must be doing it. No one can teach you. Coding is like painting. You can hang with B Ross and watch him paint things. Or you can do it with him (I really hope most people paint with him).
I'm working on a lot of things right now. I just wanted to put that out there. So much exciting stuff though. I am super stoked to be doing #100daysofcode again.