PeterSmith.Org

Tēnā koe! Ko Peter tōku ingoa — Greetings! My name is Peter.

Peter posing in his office

I am a teacher and lecturer at the University of Auckland, where my main teaching and research activity is in the field of strategy. I am particularly interested in Strategy-as-practice (a practice-based view of strategy), Professional service firms, especially engineering firms, and Innovation as strategy, especially technology roadmapping (TRM).

This website is my little corner on the Internet. As well as being something of a commonplace book, I am trying to make this website into the hub for my online identity and communications.

A webmentions entry posted on 19 Feb 2023

Thanks for the recommendation Chris. I've been pondering it for a while now; basically putting off doing anything. Then I came across this post on how many zettlekasten. I think you and the post have pushed me over the edge, and I'll start the process of 'collapsing' my separate Zettelkasten into my commonplace book.

A blog entry updated on 11 Feb 2023

Part of the 'Uptown' block party.

Full item …

A blog entry updated on 7 Feb 2023

A fun visit to the Tip Top factory. No photos allowed inside because of ‘ice cream spies’.

Full item …

A blog entry updated on 31 Jan 2023

So this is how my site has looked over the years.

Full item …

A blog entry updated on 28 Jan 2023

SSL certificates are something of a pain for me. I have a number of devices that need then. For example, I use Zotero and keep all my .PDFs on my NAS. That requires WebDAV, and https is the only way to go, so my Synology NAS needs an SSL certificate. Nowadays, the way to go seems to be Let's Encrypt.

Full item …

A blog entry updated on 27 Jan 2023

For the rice pudding 50g pudding rice 1 cinnamon stick 1 vanilla pod, split lengthways 30g golden caster sugar A large pinch of flaky salt 550ml whole milk 200ml double cream For the apples 350g bramley apples, peeled, cored and roughly chopped into 2cm pieces 60g light brown sugar or golden caster sugar 1 tsp vanilla bean paste (optional) Put the rice, cinnamon, vanilla, caster sugar, salt, 400ml of the milk and the double cream in a medium saucepan and bring to a gentle simmer over a medium heat.

Full item …

A blog entry updated on 27 Jan 2023

Schabram, K., Bloom, M., & Didonna, D. (2022). Recover, explore, practice: The transformative potential of sabbaticals. Academy of Management Discoveries. https://doi.org/10.5465/amd.2021.0100

Sabbaticals have seen an exponential growth in adoption over the last two decades and are ascribed extensive benefits by employers and employees alike. Little is known, however, about how individuals spend their time or how their experiences impact them after they return to work. Drawing on narrative interviews with 50 diverse professionals, we discover that sabbaticals combine "building blocks"− distinct periods dedicated to recover, explore, or practice− into three typical trajectories: working holidays (alternating recovery and practice), free dives (alternating recovery and exploration), and quests (unfolding from recovery to exploration to practice). While participants returned from all sabbaticals feeling affirmed in their own voice, periods of exploration and practice were associated with the extent to which sabbaticals fundamentally changed their self-narrative and disrupted the trajectory of their working lives. Those on working holidays tended to return to their former lives (though with a greater confidence and need for balance), while free divers pursued better fitting but similar work (e.g., a change in position or employer), and questers were most likely to make drastic career changes. Our model extends the breaks literature and authenticity scholarship, and offers insights to those considering a sabbatical.

Full item …

A blog entry updated on 26 Jan 2023

As I work towards integrating my Zettlekasten with this commonplace book, I need a way to have backlinks between my pages; e.g., when I reference/create a link, say, from "Page 1" → "Page 2", I want to automagically create a backlink that goes in the other direction "Page 1" ← "Page 1".

Full item …

A blog entry updated on 25 Jan 2023

I rather like the way Karl Voit shows how pages have been updated on his site. It's not a Hugo site, but I can see the value in doing something like that.

First, you should know I am using page bundles. It seems clean to have all the 'content' for a page in one place. Secondly, I'm using org files and not .md files (no markdown).

Rather than actually modify posts when there is an update, I want to add a separate file with the details of the update. In the example below I might have two updates to the blog entry made on 2022-12-27.

Full item …

A blog entry updated on 25 Jan 2023

Free ice cream courtesy of the Link Alliance. Yum, yum, yum. There was also some street art. I couldn't quite make out what the text said. I think it is, "Forget about the last one. Get yourself another". If so, that's from a song by "Th'Dudes" called "Bliss".

Full item …

A blog entry updated on 25 Jan 2023

This is something of a synthesis of two presentations I found on the web.

Much of the advices applies to publishing in many/most/all management and organisation studies journals. I.e., it is important to have a clear research question, a rigorous methodology, and a well-written and well-structured manuscript that adheres to the journal's guidelines. Additionally, it is important to have a strong and relevant theoretical or practical contribution to the field, and to properly cite and acknowledge any previous research that has influenced the research. Finally, it is important to be able to clearly communicate the significance and implications of your findings for practitioners and future research.

Full item …

Now

A pages entry updated on 23 Jan 2023

My About Me page provides a thumbnail sketch of who I am. This page, is more about what I'm doing and planning to do now.

The biggest thing is that I'm now on Research and Study Leave (RSL/sabbatical) for a year (until 23 January 2023). So much of what I'm doing now—work wise—is about my research projects.

Other things are sort of hanging off that big endeavour.

Full item …

A blog entry updated on 22 Jan 2023

Getting some fresh air in a new part of town.

After shopping at Mitre 10 and Bunnings (::sigh:: neither store had all we wanted, so we had to got to both), we went for a wee walk. We've not walked around here before. The artwork was rather nice.

Full item …

A blog entry posted on 22 Jan 2023

To have responsive images, I used a shortcode for figures. I modified it to handle SVG and rotated images. Alas, I had some other problems with it (too hard to change the size of the images generated for srcset). So I have switched to the code by Charl P. Botha. It's pretty nice.

And again, I've made it work for both SVG and rotated images.

Full item …

A blog entry updated on 15 Jan 2023

I am in the process of redesigning the site. Well, technically, I'm just doing a new skin (layout, template, or whatever). As part of that I wanted to have a gallery function.

So, this page is my 'test bed' for my gallery shortcode. Basically, it just displays all the images associated with the current page bundle.

Full item …

A blog entry updated on 11 Jan 2023

Fuelling up for the flight home

Full item …

A blog entry updated on 10 Jan 2023

Another day in paradise (if I believe the advertising). So much shopping around here.

Full item …

A blog entry updated on 8 Jan 2023

Mighty fine coffee. Found this place by accident: the mini mall seemed closed except for the co-working space, where this coffee shop was.

Full item …

A blog entry updated on 6 Jan 2023

What a excellent conference dinner. Does it get any better than this?

Full item …

A blog entry updated on 5 Jan 2023

So very tasty.

Full item …

A blog entry updated on 2 Jan 2023

Philippinno food truck. So tasty.

Full item …

A blog entry updated on 1 Jan 2023

I could only find a Starbucks coffee here at the airport. I wish I hadn’t. 😝

Full item …

A blog entry updated on 1 Jan 2023

The joys of international travel. On our way to Hawaii and the HICSS 56 Conference.

The queue was for times this size by the time we got checked in.

Full item …

A webmentions entry posted on 19 Feb 2023

A blog entry updated on 23 Dec 2022

Busy picking our own strawberries for the Christmas lunch (trifle).

Full item …

A blog entry updated on 22 Dec 2022

Back when I used to grade/mark on paper, I moved to using a fountain pen instead of ballpoint pens. I found that writing with a fountain pen was much less tiring on my hand. The pen would smoothly flow over the paper. That reminds me how much marking I used to do; there was a lot of essays to be graded.

At first I used a black ink, but it didn't stand out well from the students writing (which was often printed). So I moved to a variety of blues and blue-black inks. That probably what set me on my quest to find the perfect ink. TL;DR, there isn't one—it depends on the task, the paper, and my mood.

Full item …

A blog entry updated on 22 Dec 2022

Who can resist the Mr Whippy jingle.

Shades of Comfort and joy.

Full item …

A blog entry updated on 22 Dec 2022

A tiny coffee shop that is really busy at lunchtime … so I had a bit of a wait. But as always it was worth it.

I also enjoyed a slice of their homemade ginger loaf (which I had eaten by the time the coffee arrived).

A side note, the Council is trying to label this area as Uptown —- a purely made up name, so I’m sticking with saying I’m in Mt Eden (just).

Full item …

A webmentions entry posted on 19 Feb 2023

Robbie, that's a very helpful post. That is so wonderfully systematic of you. By the way, the link to archivenow just loops back to your page. But you gave me enough clues to find it on Github. Thanks.

What I really like is your use of the webhooks for webmentions. I need to figure out how to do that.

My 'build' process is rather manual and crude. Basically, once I make a post (or similar), then I

Full item …

A webmentions entry posted on 19 Feb 2023

Yes, the Indeweb community is very supportive.

Webmentions
If you webmention this page, please let me know the URL of your page.

BTW: Your webmention won't show up until I next "build" my site.

  • A reply by Evgeny Kuznetsov on 11 Jan 22 at https://evgenykuznetsov.org/en/reactions/2022/re-011120357/

    To accomodate a complex layout like this, webmention.io-backup would have to parse the config file and look up the date field in all the content files' front matter to figure out which directory corresponds to which website page (basically, the way Hugo does it when it creates the pages in the first place). Programming all this is not impossible, of course, but it would be quite an endeavor that I’m not sure I want to embark on, especially considering the fact that one’s config.toml may contain something along the lines of

    [frontmatter]
      date = [':git', 'lastmod']
    

    I don’t want to open that can of worms!

    These ‘mentions’ on my side aren’t being threaded back to the original post.

    Beware, this is Salmention territory you’re stepping into. There be dragons.

  • A reply by Evgeny Kuznetsov on 10 Jan 22 at https://evgenykuznetsov.org/en/reactions/2022/re-010174726/

    I see.

    The reason webmention.io-backup is failing to correctly work your directory structure is that it expects the directory structure to mirror the URL path, that is, it expects petersmith.org/blog/2022/01/10/third-steps-to-indieweb/ to reside in content/blog/2022/01/10/third-steps-to-indieweb/. In your setup, that directory doesn’t exist; instead, content/blog/20220110-third-steps-to-indieweb is used. I suppose, you are using permalinks config option to achieve that? If so, that’s quite a problem, because in this case webmention.io-backup can not really infer the directory name, since the URL is formed based on the date parameter and not based on the first 8 digits of the directory name, right?

    I mean, I can make a patch for webmention.io-backup to work on your directory structure, it’s fairly trivial. But I’d be reluctant to incorporate it in the main branch, because it wouldn’t be flexible at all.

  • A mention by  on 14 Oct 21 at https://petersmith.org/blog/2021/10/14/second-steps-in-indieweb/

    ...After my first steps to IndieWeb, I got a really helpful message from Robbi Nespu. Alas, I've not (yet) got webmentions working in any real way, and the page he commented on had a broken URL (all my problems, not Robbi's).

  • A reply by Robbi Nespu on 10 Oct 21 at https://robbinespu.gitlab.io/indieweb/211010050323/

    Hello Peter Smith, How going? I also using Hugo, the getting webmention response working is easier if using a javascript called as PlaidWeb/webmention.js . Some tips from my experience :

    • Setup the h-card because it important and needed for indieAuth (to use some external services such as https://webmention.io )
    • You may use https://xray.p3k.io to inspect if the HTML are parse correctly, you can submit the URL or just paste the raw HTML (even with localhost / 127.0.0.1 addressed inside the source code, it working very well). It save my time during debugging.
    • I also use https://telegraph.p3k.io to preview (check) if all link inside h-entry support webmention. You also can manually send webmention by give a source and target from there.
    • Lastly, validate published web using https://indiewebify.me/ get your website until level 3.

    Hope this helpful 😀

  • A mention by robbinespu  on 18 Dec 22 at https://brid.gy/post/twitter/robbinespu/1604448117360844805

    ...📝 New post: ↩️ Reply to: petersmith.org/webmentions/li… - ➡️ journal.robbi.my/posts/22121807…

  • A reply by Robbi Nespu on 18 Dec 22 at https://journal.robbi.my/posts/221218071647/

    Previously, I always send my URL to the Wayback Machine to archive it. But now, I have a better way to do it. I use the Gitlab CI/CD service to send my URL to the Wayback Machine. It is a free service and it is very easy to use. I just need to add a few lines of code to my Hugo build script.

    Here is an example:

    First, I need to add some python script called archivenow during build stage.

    pages:
      stage: deploy
      script:
        - hugo --verbose --minify --enableGitInfo
        - git clone git@github.com:oduwsdl/archivenow.git
        - cd archivenow
        - pip install -r requirements.txt
        - pip install ./
        - cd ..
        - ./submit10url2backway.sh
        - echo 'Build is complete and feed submited to web archieved..!!!'
    

    Then, I need to add “submit10url2backway” script to send my URL to the Wayback Machine. Here is the script:

    #!/usr/bin/env bash
    # Copyright Robbi Nespu <contact@robbi.my> , 2022
    # License: MIT
    
    # This script is used to archive my website to the Internet Archive.
    
    # Fetch RSS and read the first 10 URLs send send it to the Wayback Machine
    urls1=$(curl -s https://robbinespu.gitlab.io/index.xml | grep "<link>" | head -n 10 | awk -F"<guid>" '{print $2} ' | awk -F"</guid>" '{print $1}')
    for i in $urls1
        do  archivenow --ia --is --mg "$i"
    done
    
    # Same like previous but for the IndieWeb RSS
    urls2=$(curl -s https://robbinespu.gitlab.io/indieweb/index.xml | grep "<link>" | head -n 10 | awk -F"<guid>" '{print $2} ' | awk -F"</guid>" '{print $1}')
    for i in $urls2
        do  archivenow --ia --is --mg "$i"
    done
    
    # Archive the main website
    archivenow --ia --is --mg "https://robbinespu.gitlab.io/"
    echo "Done!"
    

    But I have turn off / comment out the script since a year ago because I don’t want to archive my website too often (because I added a webhook to execute CI/CD when received payload from webmention ).

    Plus this tricks only work for existing old post, the new post not being archived yet because pipeline still running and it the “artifacts” still un-publish.

    I only want to archive it when I have a new post. So, I will archive it manually 😊

  • A mention by robbinespu  on 18 Dec 22 at https://brid.gy/post/twitter/robbinespu/1604546453375967233

    ...📝 New post: ↩️ Reply to: petersmith.org/webmentions/li… - ➡️ journal.robbi.my/notes/22121807…

  • A reply by Robbi Nespu on 18 Dec 22 at https://journal.robbi.my/notes/221218071647/

    Previously, I always send my URL to the Wayback Machine to archive it. But now, I have a better way to do it. I use the Gitlab CI/CD service to send my URL to the Wayback Machine. It is a free service and it is very easy to use. I just need to add a few lines of code to my Hugo build script.

    Here is an example:

    First, I need to add some python script called archivenow during build stage.

    pages:
      stage: deploy
      script:
        - hugo --verbose --minify --enableGitInfo
        - git clone git@github.com:oduwsdl/archivenow.git
        - cd archivenow
        - pip install -r requirements.txt
        - pip install ./
        - cd ..
        - ./submit10url2backway.sh
        - echo 'Build is complete and feed submited to web archieved..!!!'
    

    Then, I need to add “submit10url2backway” script to send my URL to the Wayback Machine. Here is the script:

    #!/usr/bin/env bash
    # Copyright Robbi Nespu <contact@robbi.my> , 2022
    # License: MIT
    
    # This script is used to archive my website to the Internet Archive.
    
    # Fetch RSS and read the first 10 URLs send send it to the Wayback Machine
    urls1=$(curl -s https://robbinespu.gitlab.io/index.xml | grep "<link>" | head -n 10 | awk -F"<guid>" '{print $2} ' | awk -F"</guid>" '{print $1}')
    for i in $urls1
        do  archivenow --ia --is --mg "$i"
    done
    
    # Same like previous but for the IndieWeb RSS
    urls2=$(curl -s https://robbinespu.gitlab.io/indieweb/index.xml | grep "<link>" | head -n 10 | awk -F"<guid>" '{print $2} ' | awk -F"</guid>" '{print $1}')
    for i in $urls2
        do  archivenow --ia --is --mg "$i"
    done
    
    # Archive the main website
    archivenow --ia --is --mg "https://robbinespu.gitlab.io/"
    echo "Done!"
    

    But I have turn off / comment out the script since a year ago because I don’t want to archive my website too often (because I added a webhook to execute CI/CD when received payload from webmention ).

    Plus this tricks only work for existing old post, the new post not being archived yet because pipeline still running and it the “artifacts” still un-publish.

    I only want to archive it when I have a new post. So, I will archive it manually 😊

Word count: 200 (about 1 minutes)

Published:

Updated: 19 Feb '23 03:35

Author: Peter Smith

Permalink: https://petersmith.org/

Section: page

Kind: home

Bundle type: branch

Source: _index.org