Potpourri for February 2013

Another entry in my series of “fragrant dried leaves in a pot” (English version), or “rotten stuff in a pot” (French literal translation): in other words, stuff I found interesting in the past month and tweeted or Facebooked.

Regex crossword puzzle

A fiendish puzzle that will practice your knowledge of regular expressions and their application: “A Regular Crossword”.

Rules for using the “long s”

Prior to the beginning of the 20th century, printers used to use a long S (ſ), the one that looks like a lower-case F, instead of the short S that we’re so familiar with. Mainly they were used in the middle of words – but not it seems at the end. What exactly were the rules about using it? Andrew West did a whole bunch of research and has published his findings in the post The Rules for Long S. One of the fascinating things to realize for me is that the slash used to demarcate shillings from pence pre-decimalization, such as 2/6 for half-a-crown, is actually a stylized long S.


To quote the spec: asm.js [is] a strict subset of JavaScript that can be used as a low-level, efficient target language for compilers. This sublanguage effectively describes a safe virtual machine for memory-unsafe languages like C or C++. A combination of static and dynamic validation allows JavaScript engines to employ an ahead-of-time (AOT) optimizing compilation strategy for valid asm.js code.

One of the interesting things about this JavaScript subset is the way it defines a strict type system (in standard JavaScript) that can then be used for parameter validation. A bit like TypeScript.

Decoding JPEGs

A series on the JPEG format and from that discussion writing a decoder for JPEG files: “Let’s Build a JPEG Decoder”.

Album cover for HearsayNow playing:
O'Neal, Alexander - Fake
(from Hearsay)

Loading similar posts...   Loading links to posts on similar topics...

No Responses

Feel free to add a comment...

Leave a response

Note: some MarkDown is allowed, but HTML is not. Expand to show what's available.

  •  Emphasize with italics: surround word with underscores _emphasis_
  •  Emphasize strongly: surround word with double-asterisks **strong**
  •  Link: surround text with square brackets, url with parentheses [text](url)
  •  Inline code: surround text with backticks `IEnumerable`
  •  Unordered list: start each line with an asterisk, space * an item
  •  Ordered list: start each line with a digit, period, space 1. an item
  •  Insert code block: start each line with four spaces
  •  Insert blockquote: start each line with right-angle-bracket, space > Now is the time...
Preview of response