## Undocumented Ext JS Grouping Sort Property

Background: Ext JS is an open source JavaScript library used for web design and geared towards interactive apps using technology such as Ajax. I am using version 3.2.1.

Today after an hour or two of frustration, I discovered an omission in the official online documentation of Ext JS. Under Ext.data.GroupingStore, the very useful property **groupDir** is mentioned nowhere, as of the time of this post. Without this property, it is exceedingly difficult (in my experience) to specify a simple sorting preference on the grouping field for this type of grid.

## MediaWiki – Multi-Line <pre></pre> within List

Background: MediaWiki is open source software used to create wikis; it was developed for and is currently used by Wikipedia. I am using version 1.15.4.

I’ve spent a lot of time searching without success for a way to insert a multi-line pre-formatted block of text within an ordered or unordered list in MediaWiki using wiki markup * and # syntax. Today I finally figured out this can be done using either (Line Feed) or (Carriage Return). I haven’t tested across platforms or browsers, but here is an example:

## Clustered k-Subsets

This post is mostly copied and pasted from my posts in this thread on MHF.

Problem statement: Let and let be the number of k-subsets of such that when the elements are ordered from least to greatest, the absolute difference of any two adjacent elements is less than . Find a formula or algorithm to determine for arbitrary .

## Continued Fractions of Square Roots – Steps

Everyone knows what continued fractions are, right? Continued fractions have interesting properties and can be used to obtain best rational approximations for real numbers, among other things. Here is an example of a finite continued fraction: