Thursday, February 15, 2007

I believe in the forgiveness of sins.

The quote below is from my pastoral note for this week's bulletin in our congregation...

This morning we consider what the Apostles' Creed summarises as it says "I believe in the forgiveness of sins". In some ways, this is one of the easiest things a preacher can proclaim, for it is the heart of the gospel.

Confessing the forgiveness of sins is confessing that we do indeed have a gracious and compassionate God, a God who does not treat us as we deserve to be treated, a God who shows love and mercy.

This confession stands in stark contrast to other religions, for we hold that nothing you and I do or say or think can merit God's grace. Other religions put upon their adherents great burdens. They must do things, and do them just right, in order to earn the favour of their god (or ancestors, in the case of ancestor worship). If things are not going as they expect, they must guess and experiment, seeking to find out which god they have offended and how. We are set free from all such burdens because the One True God is One (not a number of competing gods), because He has made His character and will clearly known, and because He forgives our sins freely. We cannot make Him forgive us, and we are set free from the burden of trying to make Him do so.

Isn't that great?

From beginning to end, it is His sovereign choice and decision. It is a choice which is made despite the fact that He knew, when He decided to forgive our sins, all the times and ways in which we would rebel against Him, all the pain that providing free atonement in the life and death of our Lord Jesus Christ would entail, and all of the struggles that we would have as we seek to live lives worthy of the calling we have received. Isn't it amazing that, knowing all of this, He would still choose not to hold against us a single sin!

Thursday, February 01, 2007

What do you let Microsoft do to your computer with Vista?

"Vista has the right in the licence to automatically disable the computer based on Microsoft's belief of licence validity (§5 c) or opinion of installed software (§6)."

I was going to write a blurb, but let me just give you the link: http://shearer.org/VistaForLawyers


Ouch!

On the horizon.

Some of the bigger changes that Suspend2 has had in a while are now in my git tree. It was recently posted on LKML that hotplugging of cpus can and should be done later (post drivers_suspend()). This in itself wouldn't be a big change. But now you have a second cpu up while writing the image, it would be a shame not to make use of it, wouldn't it?

So the code for doing I/O has been reworked so that multiple cores can be working simultaneously.
If your hard drive isn't significantly faster than your cpu(s), you won't see much difference, but where the drive and one or more cores have been sitting idle up until now, an improvement should be seen.

I still have a little work to do - compression support seems to have some concurrency issues still to be addressed, and I want to modify the lowlevel block i/o code so that the mutex for allocating buffer space is held for the minimum period possible.

The changes meant modifications to the image format. We use to know that the pages were compressed in pfn order, and so didn't have to include markers saying 'this is pfn n' or 'this page takes up n bytes in the image'. Now that pages can be stored out of order and multiple threads can be doing I/O, we do need the extra information. This in turn has implications for the storage allocation code (modifications to the calculations of how much storage is needed for x uncompressed pages). I've done that for the swap code, but not yet for the filewriter. So, a little more to do before I can release a 2.2.9.4.