Category: Uncategorized

  • a McFIT “Cyberobics” class: Andrea Speir’s “Stretch & Relax”

    https://www.mcfit.com/de/vibration-details-de/details/1582.html http://AndreaSpeir.com “titles”: the face of Pilates for DailyBurn.com The Princess of Pilates I find her tooth bleaching really, really overdone.

  • XQuery: “declare boundary-space preserve;” does not apply wherever you expect it

    <!– www.bibleserver.com | 522: Connection timed out body{margin:0;padding:0} <!–[if lte IE 9]>/cdn-cgi/scripts/jquery.min.js<![endif]–> /cdn-cgi/scripts/zepto.min.js<!– /cdn-cgi/scripts/cf.common.js Error 522 Ray ID: 3a8c6029598d267e • 2017-10-05 00:48:59 UTC Connection timed out You Browser Working Frankfurt Cloudflare Working www.bibleserver.com Host Error What happened? The initial connection between Cloudflare’s network and the origin web server timed out. As a result, the web…

  •  XQuery: format-number: using $decimal-format-name is really, really weird

    https://www.w3.org/TR/xpath-functions-30/#func-format-number Can you imagine, that the 3rd argument needs extra double quotes around? And it’s not easy to find an example showing this, but here I found one: https://www.amazon.de/dp/9671317502 – “Web Coding Bible” declare decimal-format local:de decimal-separator = “,” grouping-separator = “.”; declare decimal-format local:en decimal-separator = “.” grouping-separator = “,”; let $numbers := (1234.567, 789,…

  • XQuery: padding an integer or a number, but not with “0”

    I found this function, but it pads on the right: http://www.xqueryfunctions.com/xq/functx_pad-string-to-length.html : functx:pad-string-to-length I derived pad-string-to-length-on-the-left from it: https://github.com/JochenHayek/misc/blob/master/xqueryfunctions/pad-string-to-length-on-the-left.xqy https://github.com/JochenHayek/misc/blob/master/xqueryfunctions I use it around format-integer and format-number, e.g. let $net_amount_formatted := local:pad-string-to-length-on-the-left( format-number( data($invoice/@net_amount) , ‘#,###.#####’ ) , ‘ ‘ , 12 )

  • XPath and XQuery Functions and Operators 3.0: Formatting integers and numbers

    https://www.w3.org/TR/xpath-functions-30 https://www.w3.org/TR/xpath-functions-30/#formatting-integers https://www.w3.org/TR/xpath-functions-30/#formatting-the-number http://www.xqueryfunctions.com/xq/functx_pad-integer-to-length.html http://www.xqueryfunctions.com/xq/functx_pad-string-to-length.html https://github.com/JochenHayek/misc/blob/master/xqueryfunctions https://github.com/JochenHayek/misc/blob/master/xqueryfunctions/pad-string-to-length-on-the-left.xqy I need to pad a decimal number to a given length with leading white space. Looks like there is nothing in the “built-in library”. Looks like there is no functx:pad-integer-to-length as well, but functx:pad-string-to-length looks intriguing – but it only pads on the right. I created a variant, that pads on…

  • the Mercurial SCM: TortoiseHg, …

    https://en.wikipedia.org/wiki/Mercurial https://www.mercurial-scm.org https://www.mercurial-scm.org/wiki/QuickReferenceCardsAndCheatSheets https://www.mercurial-scm.org/wiki/TortoiseHg http://TortoiseHg.bitbucket.org The driver program hg – a reference to Hg – the chemical symbol of the element mercury.

  • Jenkins CI jobs described in YAML – “Jenkins Job Wrecker” and “Jenkins Job Builder”

    https://github.com/openstack-infra/jenkins-job-builder http://docs.openstack.org/infra/jenkins-job-builder/ http://docs.openstack.org/infra/jenkins-job-builder/definition.html http://docs.openstack.org/infra/jenkins-job-builder/definition.html#module-jenkins_jobs.local_yaml : include, include-raw, include-raw-escape – keeping building blocks in separate files – good for dealing with Shell scripts etc as build steps http://docs.openstack.org/infra/jenkins-job-builder/quick-start.html http://docs.openstack.org/infra/jenkins-job-builder/execution.html https://www.mediawiki.org/wiki/Continuous_integration/Jenkins_job_builder (JJB) https://www.cloudbees.com/jenkins/juc-2015/presentations/JUC-2015-USEast-Scaling-Your-Jenkins-Do.pdf And this software lets you extract Jenkins jobs to YAML: https://github.com/ktdreyer/jenkins-job-wrecker (JJW) I don’t know, how well the two (“builder” and “wrecker”) work together – how does the…

  • Jenkins CI: the Matrix Project Plugin and the Template Project Plugin

    https://wiki.jenkins-ci.org/display/JENKINS/Matrix+Project+Plugin https://wiki.jenkins-ci.org/display/JENKINS/Building+a+matrix+project https://wiki.jenkins-ci.org/display/JENKINS/Template+Project+Plugin If you have a list of “identical” tasks, maybe even a (2-dimensional) matrix, the MPP may be useful for you. If you have further needs, the TPP may be for you. There you define: a template job, that you disable “forever”, and then the true jobs, that make use of the template job’s…

  • RELAX-NG / jing-trang is “now” on github

    https://github.com/relaxng/jing-trang https://github.com/relaxng/jing-trang/wiki https://github.com/relaxng/jing-trang/wiki/How-to-build-from-source