my Good News
Just another WordPress.com weblog

Oct
25
Oct
18

Ok so I’m working on www.Jobcept.com right now and got the basics pretty much down.

here’s a link. Jobcept

Jobcept is a new take on posting job’s and hiring people. It’s kind of like monster but with a couple things that really makes the employers job searching time productive.

I decided to make a three step process to posting a job and have been doing it in ruby on rails. It’s actually nice. I’m going to do my first launch with no ajax, just pure css/html and Rails. For the most part, that makes thing’s a snap but I think the guys on the rails form get a little bit irritated with all my questions. haha, I don’t blame them.

Anyway, I’m hoping to launch in about 3 weeks. Most of the css is work is all ready done and I must say, it’s lookin real nice.

- Sterling

Oct
08

So this year in my haste to avoid someone, I lost my Arcteryx hat! I was very sad, but I am going to buy another one. This go around I don’t know what color to buy. Hum…

http://www.arcteryx.com/Product.aspx?Mens/Accessories/Billi-Brim-Hat

This hat is by far my fav

- Sterling

Oct
06

Hey everyone,

I found that there are a couple really good plugins for MacVim when programming Ruby on Rails.

  • snipMate – this is great to auto generate code with Tab. Similar to Textmate. The plugin can be found here.
  • NerdTREE – This is the perfect plugin for basic navigation. The plugin can be found here.
  • Rails – This plugin is great when working in rails for recognizing syntax and so much more! The plugin can be found here.

Ok so maybe you were like me and installed MacVim and was like “crap, what now?”. No worries, I’m going to try to give you a easy set of instructions to get this bad boy running…

First go to your home directory, and create a folder called “.vim” notice there is a “.” in front of it.  That make’s it hidden. If it’s all ready there, then you don’t have to create it.

Screen shot 2009-10-06 at 12.39.41 PM

Second, extract snipeMate and paste it’s contents in the “.vim” folder”

Screen shot 2009-10-06 at 12.42.28 PM

Next extract NerdTree and place the plugin contents into the “.vim/plugin” folder.

Next extract the rail.vim and place that into the “.vim/plugin” folder.

Screen shot 2009-10-06 at 12.43.35 PM

great! close MacVim and then re-open everything is working.

Ok so if you are looking for more snippets you can find lots of git hub. All you need to do is copy them into the snippets folder.

Here is a basic on how to use all this stuff.

NERD Tree – to use NerdTree just go into vim press “:” then start to type “NERD” you can just press tab from there and it will auto complete the command for you to open nerd tree. Look into bookmarks, they are very useful in NerdTree. Also, if you want to tab around split views, just do control + w twice and it will move you to the next split.

snipMate - All you need to do is start to type some code and press “tab” to auto complete it. Depending on what snippets you have will depend on when you should push tab and what you should type in.

rails.vim – Ok this is in my opinion the coolest plugin ever. The things I use most are the following commands. Play around with them to see how you like em.

  • “:R” – This jumps to a related piece of code. For instance, if your cursor is in the “edit” part of your controller, it will jump you to the edit.html.erb view for that controller.
  • “:Rview NAME_OF_VIEW” – This is great for when your in a controller and you want to jump straight to one of the views. I only use this command to jump to partials because I can specify the files name.
  • “:Rcontroller NAME_OF_CONTROLLER” – same as the previous mentioned except for the controller.
  • “:Rmodel NAME_OF_MODEL” – same as the previous two, but for the model
  • “:Rserver” – This actually will start the server for you without having to go into the terminal
  • “:Rserver!” – notice the “!” on the end? that stop the server for you
  • “:Rpreview” – this jumps you right to your browser to preview your site
  • “:Rfind FILE_TO_FIND” – by far this is my favorite command. This will find any file in your RoR directory. This one you really need to experiment with for yourself to understand how it works but it’s really nice.
  • “:Renvironment” – takes you to your environment file, but you can also do :Rfind environment and it will find it.

Ok that’s it for the Rails.vim plugin. It’s super useful!

Note: if you might need to create a folder called “autoload” in the .vim folder and past the plugins that you want to autoload whenever vim starts.

Post if you have questions or need any further information.

- Sterling

Aug
09

Well. For some reason I have been getting a lot of resistance about my religion. I’m mormon, or lds or church of jesus christ of latter day saints. Whatever you want to call it. This is what I believe. I know that God loves me and everyone reading this (and more).

Its funny that people find fault in what I believe yet they fail to look at it’s amazing side effects. What are these? Healthy, happy living with constant growth and prosperity, even in the harshest of circumstances. Even if things all around me seem to crumble I can still stand strong. I know that this is true. I’m thankful for it. Read the book of mormon and tell me it’s not true. Based on what you felt when reading it.

Jul
11

Music is so important because it reflects feelings. If we want to stay in tune with the spirit, we need to listen to music that will allow the spirit to be with us. I try to ask myself, “can i feel the spirit while listening to this?”. Good question, I think it’s different for every person.

Apr
10

What is the relationship between exponential and logarithmic functions? Describe the properties of both exponential and logarithmic functions.

Relationship: The relationship is a tight nit one. Because logarithmic functions are really just simplified ways of expressing exponential functions. Here is an easy example.

log 5 = X      ==>    10^X = 5

As you can see from the example listed above, the log (base 10 in this case) could be considered in some sense, the inverse of the exponential function because the exponent and the 5 switch.

Properties:

Logarithmic/Exponential functions have some great properties you can work with to make life a lot easier. An example is by taking a basic log function and turning it into a log/exp function to eliminate values quickly.

if you have log 100 = X  and you wanted to simplify, you could re-write it as ==> 10^ log 100 = 10^X   then cancel the logs out so you end up with…

100 = 10^X

Another nice property of logs is the multiplication, division and exponential properties. Here are some examples.

log (UV) ==>  log U + log V

log (U/V) ==> log U – log V

log U^n ==> n log U

As you can see, these properties allow you to expand and simplifiy log equeations easily.

That’s all folks!

Sterling

Mar
18

Math Question

Math Question


What is an asymptote? How many types are there? State how to find the equation of each.

Answers:

  1. An asymptote is the invisible line an equation continually approaches but never reaches.
  2. There are three, horizontal, vertical and slant asymptotes.
  3. To find the:
  • Slant Asymptote, first solve the equation in terms of y, then use long division to divide the equation through. You will then have an equations with either a remainder or no remainder. If there is a remainder, discard it and use the equation. If there is no remainder, then the equation is done and you have the slant asymptote.
  • Vertical Asymptote, factor the denominator. If the denominator isn’t factorable, then use the quadratic formula to solve. If it is factorable, then solve each part in terms of X, setting each part to 0.
  • Horizontal Asymptote, to find the horizontal asymptote, there are three different ways to do this.
  • Way 1) BOBO (Bigger on Bottom = 0) if the exponent on bottom (denominator) is bigger than the one on top (numerator) then the horizontal asymptote = 0 or y=0.
  • Way 2) BOTN (Bigger on Top = None) if the exponent on the top is bigger than the bottom, there is no asymptote.
  • Way 3) EATS DC (Exponents Are The Same, Divide Coefficients) if the exponents on top and bottom are the same, just divide the top coefficient by the bottom coefficient.

Feb
24

Who reading this really likes to deal with their money? I mean, I don’t think anyone but an accounting major really wants to file taxes, keep track of expenses and enter countless amount of data in a computer just so they can say “Yup, looks good to me”.

The fact of the matter is, it takes to much time. My search to find a solution to this problem lead me to a website called www.mint.com Wow! was I impressed. I don’t usually endorse companies that make money, but go there and sign up because you will be amazed. So what is it?

Mint.com is a website that you can enter in your bank account username and password and it will download and analyze all of your data for you. It’s so easy, all you have to do is log in and your done! It will even keep track of known expenses and help you file your taxes. Amazing. I am for one very happy with this service, oh and did I mention it’s free?

Mint.com

Feb
22

Yup, thats right. Today I volunteered my time to Habitat for Humanity and built a house for someone. Isn’t that amazing!? Anyway it was lots of fun, I learned some good skills and even made a new friend. I was really surprised how quickly we built the walls and mounted the trusts. Here are some pictures of the event. PS. I would recommend this type of activity for anyone looking to really experience helping people in need.

Both Jazzi and I did this together.

Habitat for Humanity