English

A short introduction to Mercurial with TortoiseHG (GNU/Linux and Windows)

Note: This tutorial is for the old TortoiseHG (with gtk interface). The new one works a bit differently (and uses Qt). See the official quick start guide. The right-click menus should still work similar to the ones described here, though.

Downloading the Repository

After installing TortoiseHG, you can download a repository to your computer by right-clicking in a folder and selecting the menu "TortoiseHG" and then "Clone" in there (currently you still need Windows for that - all other dialogs can be evoked in GNU/Linux on the commandline via "hgtk").

Right-Click menu, Windows:

Right-click-Menu

workflow concept: automatic trusted group of committers

Goal

A workflow where the repository gets updated only from repositories whose heads got signed by at least a certain percentage or a certain number of trusted committers.

Requirements

Mercurial, two hooks for checking and three special files in the repo.

The hooks do all the work - apart from them, the repo is just a normal Mercurial repository. After cloning it, you only need to setup the hooks to activate the workflow.

Extensions: gpg

Hooks: prechangegroup and pretxnchangegroup

Dragon Cycle 6: Bard's Fair

Dragon and human they fly on the winds,
their bodies floating ever higher.
Their bond of purity and of loving,
and something deep within their souls.

||: And they always remember the voice of war,
"We will not fight, not anymore!" :||

Dragon Cycle 5: Death and waking

Fire sweeping over the land,
destruction and death,
the dragons are free.
-
Hate and fury in the village,
wings bring storm
and burning hail.
-
The fire burns the woman,
burns the man,
the dragon nears the child.
-
Eyes of fury meet the fear,
nostrils taste
the anguish of the child.
-
Fire builds deep in the guts,
leaps from teeth,
and stops down dead.
-
A cry meets dragons fury
"Leave my sister!"
The dragon stops.
-
From rags beneath the window board
a child rises
and stares the dragon down.
-
Fingers grow to dragon claws,

Dragon Cycle 4: Flight and Slaughter

    e              C      D
The dragons in all glory ceased to fight,
        e          D          e
    as wizards power scorched their wings.

As human armies marched along, in greatest size,
    With wizards in their leading ranks.
The dragons left the battleground without a single strike
    left inhabited lands.

Dragon Cycle 3: Capture

Puny Human, what have you Done?!
You call powers, which aren't yours to control,
which will sweep all away, when used in war.

The bonds on this, my body, will not hold forever,
and when they perish, so will You!

Back off in fear, that I might use what you did,
which neither Dragon nor Human should ever touch.

Why don't you leave wizard?

Show me that, which you clutch in your robes,
black as they are to block my view.

No! You know not, what you do!
I call on all you learned through your study of magic,
don't soil your soul any more
by forcing what is immortal

Dragon Cycle 2: Step into their Land

I come to you for my child has cried,
      and my mate is dead.
I know, you're shivering now in dread,
      but don't you fear for your hide.
No dragon will burn your cities down,
      when you give what we demand.
The bodies of those, who took her life,
      shall Die from human hand.
      They shall die from Human Hand.
For dragon's Law and Custom, now,
      I'll fold my wings till sundown,
      To see what you decide.

Dragon Cycle 1: Dragons Lament

Ah_ah_ah...

What have those people done?
The Dragon lies there, in Her own blood.

Ah_ah_ah...

What have those people done?
The Dragon lies there, in Her own blood.

Ah_ah_ah...

They came in great hordes,
The Dragon lies there, in Her own blood.

Ah_ah_ah...

They came in great hordes,
The Dragon fought, but not well enough.

Ah_ah_ah...

She killed many hordes,
The Dragon fought, but not well enough.

Ah_ah_ah...

She killed many hordes,
But at last, She lost to the flood.

Ah_ah_ah ... ah___

Gentoo live ebuild for Mercurial

We (nelchael and me) just finished a live ebuild for Mercurial which allows to conveniently track the main (mpm) repo of Mercurial in Gentoo.

To use the ebuild, just add

=dev-util/mercurial-9999 **  

to your package.keywords and emerge mercurial (again).

Light

The bright meadows - this place should be safe for children.

Anonymous code collaboration with Mercurial and Freenet

Anonymous DVCS in the Darknet.

There is a new Mercurial extension for interaction with Freenet called "infocalypse" (which should keep working after the information apocalypse).

It offers "fn-push" and "fn-pull" as an optimized way to store code in freenet: bundles are inserted and pulled one after the other. An index tells infocalypse in which order to pull the bundles. It makes using Mercurial in freenet far more efficient and convenient.

Also you can use it to publish collaborative anonymous websites like the freefaq and Technophob.

And it is a perfect fit for the workflow automatic trusted group of committers.

Otherwise it offers the same features as FreenetHG.

Mercurial

Mercurial is a distributed source control management tool.

Mercurial links:
- Mercurial Website.
- bitbucket.org - Easy repository publishing.
- Hg Init - A very nice Mercurial tutorial for newcomers.

With it you can save snapshots of your work on documents and go back to these at all times.

Also you can easily collaborate with other people and use Mercurial to merge your work.

Howard-Taylor: A rising figure

A comment to The newspaper said it, so it must be true:

You already made the "I get paid for doing a free webcomic" rise, now next part is... ?

Some ideas:

Mercurial for two Programmers who are (mostly) new to SCM

Written in the Mercurial mailing list

Hi Bernard,

Am Dienstag 03 Februar 2009 20:19:14 schrieb ... ...:
> Most of the docs I can find seem to assume the reader is familiar with
> existing software developemnt tools and methodologies.
>
> This is not the case for me.

It wasn't for me either, and I can assure you that using Mercurial becomes
natural quite quickly.

Mercurial vs. Bazaar speedtest clone and log - update: hg 1.1 vs. bzr 1.10

I repeatet my test with the provided Python 2.x repos from the DVCS PEP for Python to check the performance of Bazaar and Mercurial.

All these tests are done only once with some mostly constant load, so they don't qualify as scientific tests, but they give a good impression of the differences between Bazaar (bzr) and Mercurial (hg).

Versions:
- Bazaar 1.10
- Mercurial 1.1

This comparision should be fair since Bazaar 1.10 is more recent, but Mercurial 1.1 is a major release.

Mercurial vs. Bazaar speedtest clone and log (unscientific)

I just did a test with the provided Python 2.x repos from the DVCS PEP for Python to check the performance of Bazaar and Mercurial.

(this is a slightly changed version of a mail posted to the mercurial list: http://selenic.com/pipermail/mercurial/2008-November/022199.html )

All these tests are done only once with some mostly constant load, so they don't qualitfy as scientific tests, but they give a good impressing of the differences between Bazaar (bzr) and Mercurial (hg).

Versions:
- Bazaar 1.5
- Mercurial 1.0.2

These are the ones which are marked as stable in my Gentoo tree (amd64).

(All this is) Gentoo for me

Gentoo for me Logo- Words and Music: Arne Babenhauserheide ( http://draketo.de )


Listen to the song: ogg
This recording is part of the music podcast singing in the winds of time.

Refrain:
  I build my kernel and I strip it down,
  my programs only do what I need
  the tree is at my very core
  it's my whole world and it is my seed.

A simple solution to the dining philosophers problem

The problem

5 Philosophers do nothing but eat and think.

They have a table with 5 chairs, 5 plates and 5 forks.

Each of them eats with two forks.

Ensure that none of them starves.

The solution

First I teach them to always take the left fork first.

Then I smash one of their chairs.

Explanation

ACTA - A trend to be reversed

A reply to a comment on slashdot named Can we fight the trend?:

There was a trend to having only proprietary software (by former free software being enslaved in the job contracts its creators took) and to having the hacker community die out.

That trend was reversed by GNU with the invention of the GPL and the GNU System.

And today millions of people use free software and we have organizations like the EFF and FSF who work for a free software society.

ACTA horror - what can we do?

a comment to: Embattled ACTA Negotiations Next Week In Geneva; US Sees Signing This Year:

I didn't yet manage to get really safe information on what ACTA actually does (that's a marker for 'this is dangerous' in itself), but what I see on wikileaks sounds horrible:

The danger of promoting dead closed clients

I had a strange feeling about people advertising the dead and closed source Gnutella client BearShare, but I only found one of the reasons for that gut feeling today.

Assumptions I use: We want Gnutella to continue to evolve and grow better.

To have Gnutella evolve, the developers of actively developed clients need feedback (and be it only encouragement).

On keeping emotions in check

-> An answer to a distro battle at linuxhumor. This is an example of a text which was hard for me to write in a calm tone. I think I mostly succeeded, but parts of the emotions on both sides still bleed through… take it as an example, how hard it is to stay calm in a heated situation - and how important.

Please keep your own language in check, and don't pull Stallman in here, when he isn't needed. He's got more important things to do than helping your argumentation.

Gary Gygax (1938-2008) - he made the world a better place

It's strange to think that Gary Gygax is gone, if only bodily.

Here at germany his creation is fighting a deadly battle with DSA (a german fantasy RPG which came out just after DnD and which raised me to be what I am today), and it's not quite sure which rules they use for that, but it's likely that DSA wouldn't have existed if it hadn't been for DnD setting an example.

And the many roleplaying worlds and systems which sprung into existence after DnD.

I owe many thanks to Gary Gygax, though I only begun playing DnD as one of my rounds about a year before his death.

Realistically Me (the square root)

-Melodie partly from "Swing low, sweet chariot"-

He looked over squares, and what did he see?
coming just for driving him mad,
The rational numbers didn't fit for me,
coming just for driving him mad.

He looked over pentagrams, and what did he see?
coming just for driving him mad,
There was funny looking a cousin of me,
coming just for driving him mad.

He told his pupils, all the world is a number,
coming just for driving him mad,
And one of them said: "this one makes me wonder"
coming just for driving him mad,

With Python from the Shadows

- Written by Draketo aka Arne Babenhauserheide, originally to the melody of Moonlight Shadow on 22.2.08 but switched on 2008-06-27 to be able to put a recording under free licenses -


Audio-files: ogg
This recording is part of the music podcast singing in the winds of time.

Some Python Programs of mine

heavily outdated page. See bitbucket.org/ArneBab for many more projects…

Hi,

I created some projects with pyglet and some tools to facilitate 2D
game development (for me), and I though you might be interested.

  • babglet: basic usage of pyglet for 2D games with optional collision
    detection and avoidance.
  • blob_swarm: a swarm of blobs with emerging swarm behaviour through only pair relations.
  • blob_battle: a duel-style battle between two blobs (basic graphics,
    control and movement done)

Last.fm royalties, question about free music

Written at: http://musicmanager.last.fm/contact/

Hi,

I licensed all my works under free and open licenses which permit any kind of commercial copying and reuse, but which don't permit taking away rights from the listeners.

I'd like to upload the files to last.fm, but I can only do so, if I can be sure, that no additional restrictions will be placed on the users (no DRM). Else I would violate the license agreement.

These are the terms under which I work together with other artists, so there's no way around that.

Songs

Below you find some of my songs.

To see only songs which have a recording I deem "listenable", please check the

 

 

- they also feature a PodCast.

Happy listening!

Besides: If you speak german (or just happen to like it), you might enjoy some of my german songs.

Infinite Hands - singing a part of the history of free software (filk)

- Free Software version of "Finity's End"; original: {lyrics: CJ Cherryh, music: Leslie Fish}.
- filked by Draketo aka Arne Babenhauserheide (draketo.de) (capo 3)

 

- please check the dedicated site: http://infinite-hands.draketo.de -

 

Python for beginning programmers

(written on ohloh for Python)

Since we already have two good reviews from experienced programmers, I'll focus on the area I know about: Python as first language.

My experience:

  • I began to get into coding only a short time ago. I already knew about processes in programs, but not how to get them into code.
  • I wanted to learn C/C++ and failed at general structure. After a while I could do it, but it didn't feel right.
  • I tried my luck with Java and didn't quite get going.
  • Then I tried Python, and got in at once.
Inhalt abgleichen
Willkommen im Weltenwald!
((λ()'Dr.ArneBab))



Beliebte Inhalte

Draketo neu: Beiträge

Ein Würfel System

sn.1w6.org news