Jade / Bootstrap pagination mixin

I've been working on a new node.js application for the last few weeks. It uses LDC Via as a back end, but that is by the by. On the front end I am rendering HTML using Jade and Bootstrap

As I have the need to display quite a lot of data, I'm using Bootstrap pagination and had need to make a re-usable "mixin" that I can insert into many different pages. There are a few examples out there on t'internet that do this, but none that did exactly what I needed, so I've created by own.

To use it you just enter something like this in your Jade template:

- var pages = 10
- var currentpage = 3
+pagination(1, pages, currentpage, '/index/')

And you end up with a pagination control that looks like this:

Superb fix for high DPI problems with Notes and Windows

If you are running a PC with a high resolution screen (pretty much any high end laptop these days for example), you'll have experienced the issue where the scaling of text, images and icons in the Notes and Designer clients is awful to the point of being unusable.

Dan Anonielli has come up with a solution which seems to work very well for me at least: http://www.danantonielli.com/adobe-app-scaling-on-high-dpi-displays-fix/ 

The basic idea is that when an application launches, Windows asks it if it is high DPI aware. Notes (well Eclipse), claims that it is and so Windows believes it and we get the resulting mess. But with the new registry entry mentioned in the blog above, we tell Windows to first look for an external manifest file that can override this default. So we can tell Windows that Notes is not high DPI aware and so Windows handles the scaling for us. 

It's not a perfect solution, but until Eclipse / IBM come up with something better then it's a good fix.

Edit 23rd May 2016:  I had cause to come and revisit this issue thanks to a customer and found that the solution above didn't always work and I couldn't find the reason. However, if you install 9.0.1 FP4 or higher then you should find that things are a lot better than they were. Still not perfect, but usable at least.

Introduction to LDC Via Webinar

We're very aware at LDC Via that lots of people are interested in our offering, but it can be a little overwhelming to get started, so on Tuesday the 12th Jan, we're going to talk and demo for an hour about what LDC Via is, how it works and how you can use it to liberate your Domino data.

It's obviously a free event and we'd love to have you there. You can register here. And what better way can there be to start a new year than to attend a webinar :-)

Of course we will all be attending or speaking at Connect 2016 in a few weeks as well, so if you would like to chat with any of us, please drop us a line to arrange a meeting. 

ICON UK is fast approaching

Every year, around this time, we have had ICON UK (formerly UKLUG) since 2007 and this year is no exception. For me it'll be a different event. I've always helped out with organising something behind the scenes before, but this year we're fully devoted to working on LDC Via so will be attending as a sponsor for the first time.

So it'll be a busy couple of days:

  • We've got the booth and would love for you to come by, say hello and see what we've been working on for the last year.
  • We'll be doing a sponsor session at 2pm on Monday to talk in a bit more detail about LDC Via.
  • I'll be presenting a session titled "node.js for Domino developers" at 4pm on Monday.

All in all, it promises to be a great couple of days. If you haven't already take a look at the agenda and register before the event fills up.

MWLUG just a week away

In just a week I'll be flying to Atlanta to attend my first ever MWLUG event.

From what I've heard it's a really good conference and I'm certainly going to be busy. I'll be working on the LDC Via booth in the sponsor showcase most of the time so please come and say hello.

And then at 4:45pm on Thursday I'll be presenting a new session:

Node.js for Domino Developers

The world of web development is moving pretty fast, it's good to keep an eye on what the leaders are doing. Node.js is currently one of the most popular development platforms out there. This session will walk you through the basics. What is node.js? How do I get started? Is it something I want to get involved with? The key for all of this is that Matt is a Domino developer by trade, so we'll talk in terms we all understand!

Hope to see you there.