Friday, July 30, 2010

git update-to

Reading this very useful GIT guide I thought of a possible addition to my GIT aliases set.
On my archlinux box git update-to origin mybranch is currently an alias for git pull --rebase origin mybranch.
It pulls with rebase instead of merge, thus avoiding many unnecessary commits in your history.
NB: It rebases to the branch the command is issued in!

Command to save the alias in your ".gitconfig":
git config --global alias.update-to pull --rebase

Final notes:
When rebasing fails with conflicts is often a good idea to simply merge (with "git pull origin master", for example): no "history-uncluttering" is this much valuable when conflicts-resolving steps in...

Friday, July 23, 2010

UX - Communicating features and improvements

iBooks - What's New In Version 1.1.1
- Double-tap an image within a book to view it in greater detail.
- Experience books that include audio and video.
- Enjoy substantial performance improvements when reading PDFs.
- Look-up definitions to English words inside books without a specified language.  [...]
I did a little bit of digging on the AppStore and it seems this is not an unusual way of presenting release notes.
I must say that I really appreciate this "challenge-the-user" approach.

As a developer that used to think of release notes as as impersonal as they can be conceived this way of presenting them intrigues me quite a bit.
Maybe it's only the audience of the RN that changes (mine is often composed of techies and/or product managers). Maybe not.

One thing I found interesting is that even this minor details contribute to the user experience in a not negligible way.

Friday, July 16, 2010

GIT Tip: Delete a Remote Branch

In GIT, when you're done with a remote branch you can*:
git push origin :mybranchname
Source: http://progit.org/book/ch3-5.html

* "can" doesn't mean "must" or "have to", you know...

Tuesday, July 13, 2010

Occurrence

It is usually regarded as incorrect to talk of pre-arranged events occurring or happening: "the wedding took place (not occurred or happened) in the afternoon" (http://bit.ly/aaoTYp)
Great dictionary for both English learners and native-speakers.
(I'm debating with colleagues whether the term "native-speakers" is correct)