General – Michelle Bachler https://people.kmi.open.ac.uk/bachler Wed, 03 Jun 2020 10:28:51 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.3 152158731 Ethereum Blockchain Experiments https://people.kmi.open.ac.uk/bachler/2016/04/ethereum-blockchain-experiments/ https://people.kmi.open.ac.uk/bachler/2016/04/ethereum-blockchain-experiments/#respond Tue, 26 Apr 2016 15:39:13 +0000 http://people.kmi.open.ac.uk/bachler/?p=259 This year has been all about the blockchain for me. Starting the first week in January installing the Ethereum code and trying to create a small two node blockchain. Well I guess is really started last November when I was thrown in at the deep end attending the Ethereum developer conference for a week in London. I took loads of notes in LiteMap. Mostly to test software (that’s another story) and also to remember what on earth was being said by who. Luckily for me they videoed everything and released the movies on YouTube. If I re-watch them now, they make a lot more sense!

Four months on Kevin, a colleague of mine, and I have written many demonstrators as we tested what the Ethereum blockchain could do. The current best demo is the course demo, which images a senario where a Student can enroll on a course using the blockchain, paying in ‘Ether’ (Ethereum’s currencies) and then receiving their award for taking the course on the blockchain. Below is a movie from the Student perspective:

We now have a website showing what we are up to as well with more little movies of the demonstrators we have been building.

]]>
https://people.kmi.open.ac.uk/bachler/2016/04/ethereum-blockchain-experiments/feed/ 0 259
Testing a LiteMap embeddable map https://people.kmi.open.ac.uk/bachler/2014/06/testing-embedding-a-map/ https://people.kmi.open.ac.uk/bachler/2014/06/testing-embedding-a-map/#respond Tue, 24 Jun 2014 11:21:48 +0000 http://people.kmi.open.ac.uk/bachler/?p=238 Embeddable map version of Bio vom Discounter?

]]>
https://people.kmi.open.ac.uk/bachler/2014/06/testing-embedding-a-map/feed/ 0 238
Finding the absolute position of an element – when in a table in a scrollable div https://people.kmi.open.ac.uk/bachler/2013/02/finding-the-absolute-position-of-an-element-when-in-a-table-in-a-scrollable-div/ https://people.kmi.open.ac.uk/bachler/2013/02/finding-the-absolute-position-of-an-element-when-in-a-table-in-a-scrollable-div/#respond Wed, 06 Feb 2013 15:31:46 +0000 http://people.kmi.open.ac.uk/bachler/?p=202 I have just spent two hours on a stupidity with finding the position of an element which is inside a table which is inside a scrollable div, because offsetParent does not correctly identify the next offsetParent element (it does not find any scrollable divs above a table). It jumps straight to the body tag.

My Solution:

/**
 * Return the position of the given element in an x/y array.
 */
function getPosition(element) {
    var xPosition = 0;
    var yPosition = 0;

    while(element && element != null) {
        xPosition += element.offsetLeft;
        xPosition -= element.scrollLeft;
        xPosition += element.clientLeft;

        yPosition += element.offsetTop;
        yPosition -= element.scrollTop;
        yPosition += element.clientTop;

        // if the element is a table, extra processing 
        // as offsetParent will skip scrollable divs
        if (element.nodeName == 'TABLE') {
            var prevelement = element;
            var nextelement = element.parentNode;

            // find any scrolls between the previous element
            // and the supposed next offsetParent.
            while(nextelement != prevelement.offsetParent) {
                yPosition -= nextelement.scrollTop;
                xPosition -= nextelement.scrollLeft;
                nextelement = nextelement.parentNode;
            }
        }

        element = element.offsetParent;
    }

    return { x: xPosition, y: yPosition };
}

Hope it helps someone else.

This has been tested in:
IE 9        – 9.0.8112.16421
Firefox – 18.0.1
Chrome – 24.0.1312.57 m
Opera    – 12.11 (1161)

]]>
https://people.kmi.open.ac.uk/bachler/2013/02/finding-the-absolute-position-of-an-element-when-in-a-table-in-a-scrollable-div/feed/ 0 202
Builder Heaven https://people.kmi.open.ac.uk/bachler/2009/07/builder-heaven/ https://people.kmi.open.ac.uk/bachler/2009/07/builder-heaven/#respond Wed, 08 Jul 2009 13:22:28 +0000 http://people.kmi.open.ac.uk/bachler/?p=119 For the past few months we have had the builder in doing a rear extension and an attic conversion so we can gain some more space for our growing family without moving home. I just wanted to write a post about how great they have been. Having had to deal with various builders over the years I know what a nightmare they can be. So it was a refreshing surprise to find someone who would listen to what I wanted, be open to suggestions, be prepared to try new things and put up with my endless questions.

So if you are looking for a builder in the Milton Keynes area of the UK I wholeheartedly recommend you try McGlue Construction – enquiries@mcglueconstruction.co.uk  tel: 07794 5645466.
They specializes in attic conversions, but can do any building works and has a skilled team of people working for them. They did a great job with our rear extension and I love our new attic room. Everything is currently being decorated and I can’t wait until we can finally move into the two new rooms and use them. It is going to make such a difference to our lives to have two extra room to spread into! I wish I had taken some before and after shots now. Here are a couple of now shots of the attic. It is being painted and looks a mess and they don’t do it justice, but they are all I have at present.

Attic 1

Attic 2

]]>
https://people.kmi.open.ac.uk/bachler/2009/07/builder-heaven/feed/ 0 119
Site update https://people.kmi.open.ac.uk/bachler/2008/09/site-update/ https://people.kmi.open.ac.uk/bachler/2008/09/site-update/#respond Mon, 08 Sep 2008 15:03:21 +0000 http://people.kmi.open.ac.uk/bachler/?p=91 I have made some small changes to my website. I have added an additional link to get entries as an Atom feed. Also you can now subscribe to individual feeds on each of my categories so you don’t have to listen to all my ramblings, you can be more selective if you like 😉

]]>
https://people.kmi.open.ac.uk/bachler/2008/09/site-update/feed/ 0 91
Welcome! https://people.kmi.open.ac.uk/bachler/2008/07/hello-world/ https://people.kmi.open.ac.uk/bachler/2008/07/hello-world/#comments Wed, 30 Jul 2008 15:01:02 +0000 http://people.kmi.open.ac.uk/bachler/?p=1 It was recently brought to my attention that I spend far too much time with my head buried in code and not enough time keeping up with the latest internet trends and generally involving myself in the wider community of the web.

So I have joined Facebook and found some of my family already there! So I have a few ‘friends’. I also set up a netvibes page and now have various blogs and feeds coming at me with all the latest info. Quite scary! I am not sure I have the most useful feeds on it, but I guess I will find out over time (all suggestion welcome).

Finally, as part of re-branding ‘Michelle Bachler’ and making myself more up-to-date, I am creating this new website for myself using WordPress. I am not sure how often I will actually write anything, or whether anyone will be reading, but I will be out there, vulnerable and joining in with this new trend of exposing the ramblings of ones mind to others.

]]>
https://people.kmi.open.ac.uk/bachler/2008/07/hello-world/feed/ 3 1