Javascript
Creating the new Tech Aloud intro and outro music
Today I revived my Tech Aloud podcast1. Since the last time I published an episode, the infrastructure has changed, in that the Anchor FM platform I was using has been subsumed into Spotify. While in...
read postreduce - the ur-function
I often think of reduce as the "ur-function", as it's so primitive (in building block terms, not in power or utility terms) and ubiquitous (I'm often disappointed when a new language I come...
read postHighest value in JS - different ways
This month I'm running the Developer Challenge, which is on Reverse APIs. One of the 12 tasks is Task 6 - API endpoint with payload required where the participants must create a "REST" style...
read postEnabling document fragment links for headings in SAP Community blog posts
I came up with a bookmarklet to allow me to get hyperlinks for pointing to specific sections of blog posts on the SAP Community platform. I'm running the Developer Challenge this month and for that I...
read postDefining a custom 'after' handler in CAP with 'each'
TL;DR: There's special behaviour if you use the each parameter name when defining an after handler, but the way this works and the way you should invoke it has changed. Adding custom logic to your CAP...
read postCAP, CORS and custom headers
A colleague asked me if I could add CORS support to a service I was running, built with the SAP Cloud Application Programming Model (CAP). CAP already has some basic support for CORS, so I dug in....
read postUnderstanding jq's reduce function
It took me a bit of time to get my head around jq's reduce function. In this post I show how it relates to the equivalent function in JavaScript, which helped me understand it better, and might help...
read postString.prototype.replace() can take a function
You can use a function to dynamically provide the replacement value in a replace operation I was pondering different approaches to solving the Codewars kata Simple string reversal, and having...
read postImpromptu JS session at UKISUG15
We’re hearing a lot about Fiori at #UKISUG15 this year, of course. Many of you (perhaps especially those reading this) realise that Fiori is built using the power of HTML5, and specifically with the...
read postJavaScript Do's and Don'ts for UI5
30 Days of UI5 — Day 7 by DJ Adams In recent versions of the SDK you’ll find a new section called “Coding Issues to Avoid“. It’s great to see this take shape and start to become formalised. Some of...
read postFiori App Data into a Spreadsheet? Challenge Accepted!
In October last year, following the original meta SAP Fiori App ;-), SAP announced their own long-awaited SAP Fiori Apps Reference Apps Library. At the time, Brenton and I chatted about it in “SAP...
read postHacking the Delicious extension for Chrome
I’ve recently moved from Firefox to Chrome. I use Delicious for managing my public and private bookmarks, and have installed the plugins for both browsers. In moving to Chrome and installing the...
read postNot your father's SAP
I had the good fortune to be invited to SAP’s Innovation Weekend 2010 in Berlin, a pre-cursory hackfest and idea exchange in the two days prior to the main SAP TechEd event at Messe Berlin. Walking...
read postPostcode bookmarklet
We’ve been spending time recently looking at property in the North West. I found myself often cutting and pasting a property’s postcode from the property particulars page into Multimap to see exactly...
read post