StackOverflow

This is going to sound a bit funny but I finally signed up for Stack Overflow to answer questions and to ask a question.  I realized that you cannot just vote peoples questions up or down, you first need to attempt to answer a question and then the person asking the question needs to vote your question as answered with 1 or higher.

The other day I went and attempted to answer a few questions and today some voted my question as answered!

http://stackoverflow.com/questions/2796277/git-for-collaboration-between-2-3-windows-pcs/2796383#2796383

IE 9 Preview

Microsoft showed that they are back in the browser game with a preview of IE9 “platform” (platform seems to mean ‘haven’t got it together as a real browser yet, but we wanted to get it to you guys ASAP’).

Today, they updated the preview as they said they would (claiming they will do new releases every 8 weeks or so).

From the article: http://ajaxian.com/archives/new-ie9-preview-performance-hardware-acceleration-and-acid3?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:+ajaxian+(Ajaxian+Blog)&utm_content=Google+Reader

Git Workflow – In Response

Just wanted to share the following with others since it is in response to a yammer post within my organization.  Maybe it will be slightly helpful to others.  I do realize I am leaving a large part of the thread out of this.  Hopefully I will be able to come back later and actually post our Git workflow.

———–

Git does allow a lot of flexibility in setting up a workflow. It is essential to understand the workflow possibilities and tweak that to fit the organization. Steven has a good point that it is possible to push such that you re-write history. While this is allowed, it can easily be turned off and set by access permissions and/or server side hooks. This is controlled and managed using Gerrit for our team. That way only a limited number of people have the ability to force change history.

There was mention of using “rebase” to change the workflow. From my experience, this has improved the workflow in Git. Our team has “rebase = always” setup so that anyone making a branch will automatically get it setup to be rebased onto the latest code. When anyone sets up a Git repo they run a small setup script that does the aforementioned and some additional tweaks for our workflow. A benefit that you get with using rebase is that your git history is much easier to read since you are really committing only fast-forward changes (less actual merge commits – kind of to John’s point). Since we push everything through Gerrit, developers have the opportunity to do a code review, check their changes, and copy anyone on the change *before* it gets committed to the active development stream.

Groovy Links

Here are some useful links for getting your hands wet with Groovy/Grails programming:

Programming Resources

Groovy resource: http://pleac.sourceforge.net/pleac_groovy/index.html

Plug-ins: Grails Plugins

Forum: http://grails.1312388.n4.nabble.com/

Blogs: http://groovyblogs.org/entries/recent

Book references: Recipes!

Design Ideas

Get the ideas flowing: 99designs.com

Quickly generate rounded corners: http://www.roundedcornr.com/

Joomla Installation Issue on Ubuntu Fix

MOSUSER::Store Failed

Problem

mosuser:: store failed
Duplicate entry ‘0’ for key 1 SQL=INSERT INTO mos_users(‘name’, ‘username’, ’email’, ‘password,’gid’, ‘registerDate’) VALUES (‘Dave’, ‘Dave’, ‘xxxx@yourdomain.com’, ‘xkjojosjclkvjosjojxkc’, ’18’,’2004-08-05′)

Solution
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

Redmine with GIT Repository Setup on Ubuntu

This is a few pointers on setting up redmine having git as a repository hooked up to it.  This also takes into account using gitosis for authentication.

Installed under:
/opt/redmine
Forwarding from Apache to the Webbrick server
<VirtualHost *:80>
Servername timetrack.ryanalberts.com
ProxyPass / http://127.0.0.1:3001/
ProxyPassReverse / http://127.0.0.1:3001/
</VirtualHost>
Had to add the exact IP for redmine in the proxy pass for security reasons:
/etc/apache2/sites-enabled$ sudo vi ../mods-enabled/proxy.conf

Linux Change Password

Change user password (you will need to have proper privileges in order to do someone elses)
passwd   Change your own password.
passwd someone   Change someone’s password.
passwd -d someone   Delete someone’s password.