The party’s at MiamiNights.com

January 9th, 2007

Dear disgusted former readers,

I recognize that obscure vector programming languages probably aren’t what you came here to read. Please proceed over to www.miaminights.com to proceed with the gossip and trashing.

Microsoft: Developers are pawns

January 9th, 2007

The truth comes out - Microsoft has never cared about the developers beyond using them as leverage in the battle for the platform. If anyone is surprised by this, they’ve been asleep for the past ten years.

Oh John Kerry, you wild douchebag

November 1st, 2006

God you fucking schmuck haven’t you ruined liberalism enough? Please, make an ecocar out of granola and ride that shit to Darfur or something because I am so, so tired of you. OUT OF MY FACE!

K notes

June 6th, 2006

K is a terse array-oriented programming language.

Download old, free interpreter here

Here’s an intro

My notes, so far. Note that “monadic” means the operator takes one argument (! 10); dyadic means it takes two (2 ! 10).

  • ~ monadically is NOT.
  • _ is the monadic trunc operator. _ 10 = 10, _ 10.9 = 10
  • ! is the dyadic mod operator. 100 ! 2 = 0, 101 ! 2 = 1
  • | (pipe) is the monadic array reverse operator. | 1 2 3 = 3 2 1
  • ? monadically is the array uniq operator.
    ? 1 2 3
    1 2 3
    ? 1 2 3 1
    1 2 3

  • @ is the dyadic array index operator.
    names: `tom `bob `frank
    names @ 0
    `tom
    names @ 1
    `bob
    names @ 2
    `frank

  • # monadically is the array length operator. # 1 2 3 = 3. This is in Mr. Shasha’s primer.
  • # dyadically is the array fill operator. 10 # 7 = 7 7 7 7 7 7 7 7 7 7
  • Precedence is right to left; stupid. #names % 2 is an error; (#names) % 2 returns 1.5 as you’d expect.
  • & monadically finds the indices of an array that match an expression.
    & names = `frank
    ,2
    & ~ names = `frank
    0 1

    FYI, ,2 means the same thing as PHP array(1); - an array with one element whose value is 2.

Amazing Javascript continuations library

May 30th, 2006

Ever wished you could do this in Javascript?

alert(”Hello!”);
sleep(30);
alert(”Done!”);

Now you can. Narrative Javascript takes your Javascript and transforms it into a gigantic switch{} statement, saving and restoring the program state as it goes so that it appears to be one function call to your program. Pretty smart.

This is great

May 21st, 2006

I’m watching a Fox News special debunking global warming.

Two Three Javascript hacks

May 10th, 2006
  1. How to detect font resizing (there’s on onFontResize event in JS)
  2. How to detect the currently focused element via JS, without adding a ton of onFocus/onBlur handlers to everything
  3. JS-based min-width/max-width for IE

Beverage companies agree to not sell soda in schools

May 4th, 2006

Is this the turning point in the war against child obesity?

Condoed

April 29th, 2006

It is done!

10 megapixel tiny digital camera

April 27th, 2006

Holy crap - that’s a tiny camera for 10mp!