vishnu's blog

Subversion: Branching and Committing

Oftentimes you have changes in your working copy that you'd like to preserve but not taint the trunk with it. Maybe you'd like to work on it later, or perhaps you'd just like to branch off features so that you don't interfere with a trunk moving to stable. The trouble is, you didn't decide beforehand that you have to create a branch. How do you solve this problem? Enter svn switch.

Here's how you do it:


svn copy url-to-trunk url-to-new-branch -m "Creating a new branch"
svn switch url-to-new-branch
svn commit -m "Commiting my changes to new branch."

You'd still be in the old working copy however, but one that points to the new svn url. That's confusing, so as soon as you commit your changes, rm -rf everything and check out your trunk and branches again.

A Nice C++ Linked List

I had reason to brush up on my C/C++ skills a bit and did something I've wanted to do for some time: implemented a nice encapsulated linked list. Read more for the source.

Wikipedia: Pay it back!

What do you do to improve a free resource like Wikipedia? Compose new articles? Make grammar edits? Erase vandalism?

Often, even if you want to be a good samaritan, the opportunity is well hidden. No more: try browsing on to Pages needing attention, and further on to one of your specialized subsections and start contributing. It's how you pay back this invaluable resource.

Developing Nations License

A new product from the Creative Commons factory, the Developing Nations License allows you to license works royalty-free to consumers in developing nations, while at the same time having a different license to cover more paying consumers. It's a very inviting development for countries like India. Take a look at the World Bank Economic Report to see who all fall under the "Low" per-capita income category.

Data Execution Prevention

[img_assist|fid=49|thumb=1|alt=Windows PIC]Found a very good description of Data Execution Prevention that's enabled in SP2+ versions of Windows XP. I recently got my hands on an AMD 64 and this is the enhancement that I noticed first. I have no clue though how useful this is. Note that Data Execution Prevention (System -> Advanced -> Performance Settings -> Data Execution Prevention) is on only for Windows services by default. Try turning it on for all programs. YMMV.

Samurize!

[img_assist|fid=58|thumb=1|alt=Application]

From Samurize News:

Samurize is the popular advanced system monitoring and desktop enhancement engine for Microsoft Windows 2000/XP/2003. IT professionals, overclockers, gamers and desktop modders alike use Samurize for system information, weather reports, news headlines and much much more. And best of all, Samurize is 100% free!

You've been envious of your friends with uber cool Linux desktops having those transparent consoles and all that geeky information displayed on the desktop. Now you can have all that without swithing to Linux ;-)

BusyTalk

[img_assist|fid=64|thumb=1|alt=Web]

Just liked to take the time to promote BusyTalk, a weblog/tech-site run by people very close to Sig9. May their venture be fulfulling and rewarding ;-)

SCTCE Alumni

[img_assist|fid=64|thumb=1|alt=Web]

We proudly host SCTCE Alumni :-)

Visual Random Number Generator

I was reading about the Global Consciousness Project, and thinking it was FUD, but it caught my imagination anyways. Here is a simple visual random number generator, see if you can influence it :-D

the5k.org

From the5k.org:

The idea behind the contest is that the rigid constraints of designing for the web are what force us to get truly creative. Between servers and bandwidth, clients and users, HTML and the DOM, browsers and platforms, our conscience and our ego, we're left in a very small space to find highly optimal solutions. Since the space we have to explore is so small, we have to look harder, get more creative; and that's what makes it all interesting. Just celebrating that is all.

An interesting contest... well worth the visit if you are a minimalist at heart.

Syndicate content