what changes did I just pull from git?
Ever wanted to see what changes you just pulled from github?
This little command will show you the changes for the last commit, if the pull resulted in more commits being pulled then add a couple more ‘^’s to HEAD^
In: Ruby on Rails · Tagged with: git
Git cherry-pick
cherry-pick is a useful Git command, especially if you are working in an Agile team.
We used it for the first time today on our project.
Team member A lets call him “James” made a feature and put it onto master.
Team member B lets call him “Jordan” later refactered some code from “James”‘s feature. Later that day, James also wanted to refactor that code, but “Jordan” had not finished his story and so “James” had to wait until Jordan had finished before starting his refactor otherwise face horrible conflicts.
Instead of waiting, “Jordan” created a commit for the refactor, push it in his feature branch to remote. James pulled down the commit, cherry-picked it from “Jordan”‘s feature branch and continued on with his own refactoring.
Another great example of Git being more than just version control.
In: Ruby on Rails · Tagged with: git
uninitialized constant Encoding
Couldn’t create database for {“timeout”=>5000, “adapter”=>”sqlite3”, “database”=>”db/test.sqlite3”, “pool”=>5}
If you installed the gem ‘sqlite3’ then
sudo gem install sqlite3-ruby
In: Ruby on Rails · Tagged with: Rails, sqlite3, sqlite3-ruby
What is inside a Google Data Center?
Here is a video Google published which details how they setup their data centres. It contains interesting information about the ideas the are using in managing cooling and efficiency.
video below Read the rest of this post »
In: Server Config · Tagged with: data center, Goolge
Future of Information Technology
Raymond Kurzweil gives a speech about the future of information technology. Predicts Strong AI, our brains online all the time and nanobot blood cells that perform 100 x better than our own blood cells.
One prediction that stands out for me is that we will have the hardware power to exceed the brain’s computation ability by 2029.
video below Read the rest of this post »
In: Artifical Intelligence · Tagged with: Hard AI, Raymond Kurzweil
SEO for Large Dynamic sites – II
In my last post SEO for Large Dynamic sites I discussed the first things to do when trying to get your SEO flowing.
Why did my traffic go up? – Keywords
The method Google uses (from what I have seen in my experience) to penalize you for a bad quality website is to reduce the number of pages it stores of your site. Google saves my pages? Well, yes and no. It does save a cached version so that users can see the page if your site crashes but thats not important. What is important is that Google saves a version of your site that is searchable. It finds all the keywords on your page and then compresses them and indexes them. This allows for the blindly fast speed we have come to know and love about Google Search. Read the rest of this post »
In: SEO, Web Development · Tagged with: 404's, crawl rate, featured, page index count, SEO
Organic Robotic Motion created thru Evolution
This is very organic. I am really impressed, not what I was expecting to see.