Tracking Apple Pencil angles and pressure with Xamarin

Rumor has it that Apple will support the Apple Pencil in the forthcoming iPad. If so, more developers will want to use the new features of UITouch -- force, angle, and elevation -- supported by the incredibly-precise stylus.

Basically, it's trivial:

-- Force is UITouch.Force;
-- Angle is UITouch.GetAzimuthAngle(UIView); and
-- Angle …

more ...

Getting To Know Scala: Project Euler Primes

Prime numbers are not my thing, but generating them is a common task in the early Project Euler problems. The one algorithm I know for generating primes is the Sieve of Eratosthenes, which I defined in Scala as:

[sourcecode lang="scala"]
def successor(n : Double) : Stream[Double] = Stream.cons(n …

more ...

Cyclomatic Complexity Analyzer for Ruby

Saikuro : A Cyclomatic Complexity Analyzer.

Function complexity does not seem to be a great problem in the Ruby world, but tracking cyclomatic complexity is one of those things that can help pinpoint troubled modules.

more ...

Hau'oli Mahahiki Hou!

2009 was definitely a mixed bag for us, as was, I suppose, the "aughts."In other words, life.

Out with the old:

img_0191

in with the new!

img_1219

more ...

"You Put In Other Details"

Young Denis grew up to be every client you'll ever develop software for:

3936544529_02f007a1fe_o

more ...

Xanadu Trackbacks

Jeff Atwood's brief post on Ted Nelson's Xanadu ~~failed to~~ mention[ed briefly]{style="color:red"} the aspect of Xanadu that I expected to be worked out by now, which is that links were bidirectional in Xanadu. The closest thing the Web has are trackbacks / pingbacks, which are problematic to …

more ...

Lang.NET, DSL DevCon Highlights

Intentional Software has forged a silver bullet. It's terribly difficult not to go into that in great depth (I will shortly), but for now, I simply don't want to bury the lede.

OK, so other than that what was interesting?

There are several categories that need to be talked about …

more ...

DSL Writers: Put Turing Completeness Out Of Your Mind

At the recent DSL DevCon, Martin Fowler gave an excellent keynote speech discussing domain-specific languages, an important subject that seems certain to be the buzzword of the next year or two.

However, one slide of his got my goat, leading me to foam at the mouth, beat the table with …

more ...