This week in the Jobtrain Web Developer Coding Boot Camp, a visit from a representative of Samaschool. In this online training program, I’ve taken snippets–if source not stated, it’s copied from the program– out to develop into this year blog post to share for people in my situation and of course for reference for myself in the future.
Take a moment to think about your dream job. Write it down if it helps. What tasks would you have to complete daily? What would your responsibilities be? Would you have people reporting to you? What are your hours? What is the office like? Are you close with your co-workers?
“So, when you save a new version of your resume, name it using this naming convention [first name last name job title.doc]. Then, you make it as easy as possible for the person who receives your emailed resume to save it to their computer without having to rename it. This name, which includes the job title, also makes it easier for you to keep track of the different versions of your resume on your computer.”
10 Job Search Templates (Including a Cover Letter Template!) – The Muse — This makes asking a little less intimidating!
Job Hunter’s Toolbox: JibberJobber – BusinessWeek This app might be helpful. It’s $10 a month, but it sends reminder emails. I don’t think I’m going to end up using it, but I’d love to hear if anyone I trust has used and approved it.
“99designs model is brilliant. Next time I am going out to eat I am going to ask each chef at the restaurant to provide me with their specialty dish, sample everything and only pay for the one I like! Pure genius! Why would anyone ever expect to be paid for the work they do? People should only be paid if they are best of the hundreds competing for my business!”
Don’t Fear the Internet (web design)
This seems potentially useful, but the interface is so useless.
What is this? The same thing?
google trends– kind of fun to check on.
see what grade you write at– Samaschool recommended that cover letters be written at a high school level. I’m really curious about the algorithms involved in this one.
q. what are some good penalties for contract noncompliance?— make a contract that holds the client accountable for deliverables on their end.
I kept getting distracted and couldn’t find the code that I used before underneath all of the website. So, here’s a library of jsfiddle code that I’ve been working on/with so if you need it to do that thing, here’s a starting block.
MadLibs Engine – JSFiddle I used this to help create my vision statement. Sometimes thinking in complete sentences about lofty things is hard. Breaking it up into form and input sometimes seems more natural to me when coming up with copy that needs to convey ideas more than be original. (Could also be called the “Plagiarism Engine,” I dunno about intellectual property all that much.)
To-Do-List App- JSFiddle I’m trying to get a to do list app to spit out an End of Day Report with categorized tasks: to do, in progress, needs review, needs help and done. Still in the middle stage of developing this fiddle.
Calculator that Doesn’t Calculate, Only Has Disappearing Keys – JSFiddle This is just some fun I had with an assignment. I really want to elaborate on this to make some kind of color chasing game/past-time.
Pop Up Carousel I’m still trying to refactor this so it uses classes and “this” instead of ids.
Let this inspire a website or two.
Is it a title/caption generating app? Does it find random photos and feature one a day with this caption? Does it secretly hack into your computer and take a picture of you?(Don’t do that last one.) When you’re ready, make a website.
Things I might want to fork and install
GFBOOM! | Jennifer Dewalt – google font browser
Color Jam | Jennifer Dewalt -instrument app
Paths | Jennifer Dewalt -make drawings with words
Chatty Room | Jennifer Dewalt -meet someone at a site, chat them up.
Pollsie | Jennifer Dewalt -easy to make one question anonymous polls
Moment Of Peace | Jennifer Dewalt – modify this for asmr
You Are Here | Jennifer Dewalt – this seems amusing… just spits out pictures taken nearby.
Image Palette | Jennifer Dewalt Palette from Image. Clean interface. This is how I get most of my palettes, nice to have a web app.
Song Machine | Jennifer Dewalt relaxing
Then open Google App Engine Launcher.
This is the simplest app and it’s all created by naming it “helloworld.” However, making an app that actually does stuff is something else. Continue to follow this blog for more details.
Joe Parente and Joey Perrott are doing afternoon sessions with the Web Coding Bootcamp. I’m learning a lot and transcribing my notes down below.
In our first python project, we’re working on a quote database using The Python NDB Datastore API.
As started the day before, the afternoon session continued on with fleshing out the methods associated with the QuoteModel class in our database. The first step was to list all of the behaviors and then write the methods.
In this project, we used both Class and Instance methods.
The instructors emphasized how simple methods are. You describe what they take, what they do, and what they return. In class, we split up into groups to write different methods that will be used in the data base.
I was in the delete group. We broke down the method into parts. Select the quote, confirm delete, put quote in the trash box, and hide quote on display. And we were wrong. The instructors told us to think like a computer. We’re deep into the back-end of the process. We’re at the point of actually deleting something.
The process of deleting a thing in a database. You get the id. In this method, we start out with the id, then find the entity it’s attached to, then delete the key. Apparently, if you delete a key to an entity, you essentially delete the entity.¹
In the making of a method, developers ask themselves, now, how would I break this. In this case, it would be to give a nonexisting ID number. So, we must validate that the id exists in the database. A simple “if not” (I like python, so clean.) will do the trick.
At first we raised a generic exception, but we were advised to make a custom exception, that way when we’re debugging, it will point to the exact problem and we will be better able to handle it. To make a custom exception, create a new class outside of the class (put it with the rest of your exception classes, you’ll probably have a few) and then call it in the method (as seen below).
In the following method, one of the parameters it takes in is **kwargs. It’s kind of a way of saying “stuff.” The important part is the asterisks and by convention, should name it kwargs, but you can name it anything. It just means that it can handle what you throw in.
“You would use *args when you’re not sure how many arguments might be passed to your function, i.e. it allows you pass an arbitrary number of arguments to your function.” — and kwargs are named arguments.
One can tell that one of the instructors wrote this code. There’s really excellent code comments. Each code comment states what the method does, what it takes in and what it returns. As for knowing what expressions to use, that could be found in the NDB Datastore API. Finding what you need takes some time and knowledge about how databases work.
This group’s challenge was to make sure that a person could only upvote a thing once and to remove the vote if the method was called again by the same user (a functionality similar to the “like button” on Facebook). Their solution was to require the username of the user to run the method and then storing that in the list and if that person’s name is already in the list they are taken out of the list.