Tuesday, February 07, 2012

Siri and Wolfram Alpha

I don't use Siri, and it really goes against my nature... I have a screen in front of me all day, so why add impedance mismatch through speech? What Wolfram Alpha offers, though, is the ability to share mathematical proof through a URL, and to a math geek, that's pretty cool.
"Siri accounts for about a quarter of the queries fielded by Wolfram Alpha"-Steve Lohr

http://www.nytimes.com/2012/02/07/technology/wolfram-a-search-engine-finds-answers-within-itself.html

#bigdata
Wolfram, a Search Engine, Finds Answers Within Itself
Wolfram Alpha Pro's creator wants his "computational knowledge engine" to appeal to more than math and science enthusiasts.
View or comment on Piers Hollott's post »

Neat. Mindwheel port for Windows posted by developer


Neat.

Mindwheel was an impressive interactive fiction created by Synapse/Broderbund back in 1984, authored by former Poet Laureate Robert Pinsky. I am currently reading Pinsky's translation of Dante's Inferno, and it is interesting how lyrical, and yet claustrophobic and in places even creepy Mindwheel can be, much like Pinsky's Inferno.

This download is a Windows port, and what's really cool is it has been made available by Steve Hales, the lead developer for the project, and apparently also designed the audio sub-system in the ultra cool T-Mobile SideKick. From his about page:

"If anyone remembers: Fort Apocalypse , Slime, Dimension X, I coded and designed them with Ihor Wolosenko. I also coded and co-designed Mindwheel with Robert Pinksy, the famed poet and author. Working with Robert changed the way I read and write words forever. He was writing History of my Heart during the development of Mindwheel, so they have familiar themes. You can even get a deeper meaning behind Mindwheel, by reading this book. Although, he claims, they are not connected."

Cool.
Mindwheel | Igor's Software Laboratories
Created in 1983, 1984. This was a mind blowing experience. My first experience with many computer science concepts that are commonplace now. Object oriented programming, Virtual Machines, AI, language...

Monday, February 06, 2012

Hot processing!



Great story from Ken Holman, quoted for coolness and also for #refrigerator...


Hot processing!
So I'm standing here at my desk preparing my UBL 2.1 PRD3 D1 package and I have two very long XSLT transformations to run. One takes 98 minutes and the other takes 124 minutes, running in Java in BSD on my Unibody MacBook 2.66GHz I7 (dual core; quad process). Input file 10Mb; output files total 183Mb.
I used to run these two tasks sequentially, but I today checked out "Activity Monitor" and discovered that while each transformation starts off using about 250% CPU time (sharing processors while building the memory structures), they quickly become single processor 100% (±2%) only (while traversing the memory structures).
So I decided to run them simultaneously instead of sequentially, saving me (theoretically) close to 98 minutes since most of the time appears to be at 100% and when they are both running Activity Monitor says they are both running at 100%.
So far so good ... but within minutes the fans on my machine get too noisy to talk over! I check the status bar and, sure enough, both fans are running >6000rpm. My fans so very rarely make any noise, so this is very noticeable and annoying.
My very wise wife suggests I go to the kitchen and get the flat-bottomed aluminum frying pan to place under my machine, upside down so the flat part of the pan is full on the bottom of the Mac. Maybe two minutes later the fans are running <4000rpm and we can talk without raising my voice over the fan.
Well, now as I'm typing this Google+ post the frying pan is getting hot! The fans are up to 4800rpm again and slowly rising.
So, I've just gone to the kitchen, brought out a second aluminum frying pan, put that one under the Mac, and put the first frying pan into the refrigerator to cool down for the next swap. Within a minute the fan is back down <4000rpm.
My review and editing of the above takes five or 10 minutes. Already this pan is heating up as it isn't as substantial as the first pan ... fan speed up to 4400rpm ... but the first pan will be cold by the time I need to swap again.
Such a simple improvement! Wish I'd thought of it.
View or comment on Piers Hollott's post »

Wednesday, January 11, 2012

Tim Bray on dynamic typing, Android, Java

See, this is why I respect Tim Bray's opinions so much; because he is a tireless member of my post-SGML/functional programming tribe. For instance, see this post on static vs. dynamic typing, and why it's not such a big deal with mobile Java for Android. I particularly like this comment, though:

"From: Tim Converse (Dec 29 2011, at 10:32)

"The Java language in particular suffers from excessive ceremony and boilerplate. Also it lacks important constructs such as closures, first-class functions, and functional-programming support."

This is a very concise version of the case for Scala over Java."

Bingo.
ongoing by Tim Bray · Type-System Criteria
Starting some time around 2005, under the influence of Perl, Python, Erlang, and Ruby, I became convinced that application programs should be written in dynamically-typed languages. You get it built f...

Tuesday, January 10, 2012

Embassytown

EmbassytownEmbassytown by China Miéville
My rating: 5 of 5 stars

"Embassytown is a fully achieved work of art." High praise from Ursula LeGuin (in her Guardian review), one of the writers who have really driven the potential for Science Fiction as artform. Best book I have read so far this year, for what that's worth, Embassytown is a maverick read, setting out a subtle but profound agenda, and then carrying it through to a stunning conclusion, much like Suzette Haden-Elgin's Native Tongue or Anthony Burgess's Clockwork Orange. If you have read it already, read the first few chapters again - it's amazing the detail employed to carefully inch the story forward, play it backward, then when all the pieces are in place, unleash it.

Miéville is known for his disapproval of the high fantasy genre, and this is the complete opposite of that, dealing with language not as a way of identifying class and race, but undermining this notion, as in the works of Burgess, Burroughs or Lessing, demonstrating how language creates class, language creates race, language creates culture, and then, going on to demonstrate, quite graphically, how language is also, to quote Burroughs, "a virus sent from space" - a destructive addiction.

China Miéville has always been a deep and deeply intelligent writer. Embassytown shows that he is, simply, a great writer who should not be ignored.

View all my reviews


Embassytown by China Miéville – review

Monday, January 09, 2012

XML Prague 2012 conference sessions


XML Prague 2012 conference sessions:

  • Opening Keynote - Jeni Tennison 
  • The eX Markup Language? - Eric Van der Vlist
  • XML and HTML Cross-Pollination: A Bridge Too Far? Robin Berjon and Norman Walsh
  • What XML can learn from HTML; also known as XML5 - Anne Van Kesteren
  • Panel discussion on HTML/XML convergence - Norman Walsh
  • XProc: Beyond application/xml - Vojtch Toman
  • Understanding NVDL - the Anatomy of an Open SourceXProc/XSLT implementation of NVDL - George Bina
  • JSONiq: XQuery for JSON, JSON for XQuery - Jonathan Robie, Matthias Brantner, Daniela Florescu, Ghislain Fourny and Til Westmann
  • Corona: Managing and querying XML and JSON via REST Jason Hunter
  • Treating JSON as a subset of XML: Using XForms toread and submit JSON - Steven Pemberton
  • RESTful XQuery - Standardised XQuery 3.0 Annotations for REST - Adam Retter
  • Compiling XQuery code into Javascript instructionsusing XSLT - Alain Couthures
  • Implementing an XQuery/XSLT hybrid - Evan Lenz
  • Transform.XQ: A Transformation Library for XQuery 3.0 - John Snelson
  • Building Bridges from Java to XQuery- CharlesFoster
  • My first XSLT editor - Tony Graham
  • A Wiki-based System for Schema and Data Evolution - Lorenzo Bossi and Alberto Trombetta
  • Standards update XPath/XSLT/XQuery 3.0 - Michael Kay and Jonathan Robie
  • Closing keynote - Michael Sperberg-McQueen

Tuesday, December 20, 2011

Cool technology of the week...

Pretty amazing... the Lytro is coming out next april, at a 400-500$ price tag.... It is a "light-field" camera, which means basically the camera takes in all light which falls within its field, and you can focus the picture after you have taken it. Depth of field is digitally constructed. Of course, one result of this is that your picture files are very dense and very large. The form factor is based on the optics required, but also looks nice.
Lytro: The Biggest Thing to Happen to Photography Since Digital
The Lytro is the world's first consumer light-field camera. Here's the backstory of how it's made and why it's so different from other cameras on the shelf.

Friday, December 16, 2011

For those Football Fans who remember...Happy...

Quoted for #refrigerator... When I was a kid, I thought William "Refrigerator" Perry was cool because he had his own GI Joe. In retrospect, that was pretty cool.




For those Football Fans who remember...Happy 49th to William Refrigerator Perry...Great DT who played for the Bears and Eagles...I think he was one great Defensive Lineman