Mahemoff’s Software As She’s Developed [Mini Edition]

Mahemoff’s Software As She’s Developed [Mini Edition]

Michael Mahemoff  //  Web designer/developer. Rails/Ajax/etc

This is my random anything-goes blog - I am treating it as an easy way to generate mini web pages, rather than a continuous flow of consciousness on any particular topic. It gives me an outlet for things I can't say on Twitter in 140 characters, but are too unstructured, short, incomplete, and grammatically trainwrecked to post on my main blog at http://softwareas.com.

Aug 16 / 3:39am

Being blown away by CRYSIS 2 on the 3D CryEngine #gdc

Comments (0)

Aug 16 / 3:38am

What You See Is What You Play-3D designer in 3D, grab a weapon, fire #gdc

Comments (0)

Aug 15 / 4:08am

HTML5Rocks Offline Article

I wrote this article on Offline. Appropriately, most of it was written
on a transatlantic plane ride, and when I fly back again, it will be
to present that kind of material at Web Directions.

http://www.html5rocks.com/tutorials/offline/whats-offline/

Tweetage via ListOfTweets:

* @hstaudacher works for me
http://www.html5rocks.com/tutorials/offline/whats-offline/
Sun Aug 15 08:57:15 +0000 2010
(http://twitter.com/statuses/21218194622 http://twitter.com/vogella)

* RT @dankantor: This is the best written article I've seen yet on
HTML5 offline technology -
http://www.html5rocks.com/tutorials/offline/whats-offline/
Sun Aug 15 08:05:46 +0000 2010
(http://twitter.com/statuses/21215937461 http://twitter.com/ycee22)

* RT @dankantor: This is the best written article I've seen yet on
HTML5 offline technology -
http://www.html5rocks.com/tutorials/offline/whats-offline/
Sun Aug 15 08:04:59 +0000 2010
(http://twitter.com/statuses/21215901312 http://twitter.com/vogella)

* HTML5Rocks - "Offline": What does it mean and why should I care?
http://ow.ly/18zQ5g
Sun Aug 15 06:28:13 +0000 2010
(http://twitter.com/statuses/21211357469 http://twitter.com/del_javascript)

* RT @dankantor: This is the best written article I've seen yet on
HTML5 offline technology -
http://www.html5rocks.com/tutorials/offline/whats-offline/
Sun Aug 15 06:15:38 +0000 2010
(http://twitter.com/statuses/21210713687 http://twitter.com/mwessendorf)

* RT @dankantor: This is the best written article I've seen yet on
HTML5 offline technology -
http://www.html5rocks.com/tutorials/offline/whats-offline/
Sat Aug 14 19:21:13 +0000 2010
(http://twitter.com/statuses/21172521209 http://twitter.com/madmike1029)

* RT @dankantor: This is the best written article I've seen yet on
HTML5 offline technology -
http://www.html5rocks.com/tutorials/offline/whats-offline/
Sat Aug 14 18:13:47 +0000 2010
(http://twitter.com/statuses/21168797510 http://twitter.com/boristerzic)

* RT @dankantor: This is the best written article I've seen yet on
HTML5 offline technology -
http://www.html5rocks.com/tutorials/offline/whats-offline/
Sat Aug 14 16:35:15 +0000 2010
(http://twitter.com/statuses/21162482788 http://twitter.com/dalmaer)

* This is the best written article I've seen yet on HTML5 offline
technology - http://www.html5rocks.com/tutorials/offline/whats-offline/
Sat Aug 14 16:34:06 +0000 2010
(http://twitter.com/statuses/21162403887 http://twitter.com/dankantor)

* HTML5Rocks: "Offline": What does it mean and why should I care?
http://is.gd/ehxU7
Sat Aug 14 15:43:54 +0000 2010
(http://twitter.com/statuses/21158816850 http://twitter.com/kaeff)

* http://html5rocks.com пополнился полезными статьями о webfonts,
offline, web workers, video, аудит скорости сайта. #html5 #tutorials
Fri Aug 13 22:15:30 +0000 2010
(http://twitter.com/statuses/21099789198 http://twitter.com/simonenko)

Comments (0)

Aug 14 / 1:03am

The boss is pretty outrageous in this new GMail shoot-em-up (yes, I said that) #html5gaming

http://www.monocubed.com/?p=549

HTML5 game implemented with processing.js. Like all the other doodles
on this blog, it’s a personal project for learning purposes (read: the
code is not pretty) ~ I learn better through mistakes so without
apology, here it is ~ the good, the bad and the ugly. It’s not perfect
but I know it’s progress.

Googlers are encouraged to spend 20% of their work time to persue an
idea or concept. Sometimes these ideas just feed back into something
else internally but sometimes, they are launched as a beta product for
the rest of the world to use. Gmail was one of those beta products,
launched back in 2004 and built upon the idea that email can be more
intuitive, efficient, and useful.

Comments (0)

Aug 12 / 8:52am

@reybango on IE6

Amusing quote, I wanted to save while it was still findable:

Part of the "HTML5 Everywhere" message is that IE6 is truly becoming less of an issue now. You have Chrome Frame on the one hand, and MS on the other, cheerleading IE6's path to oblivion (and the long tail of enterprisey).

Comments (0)

Jul 25 / 2:01am

Testing for RegExp

This seems to have escaped the attention of the internets, but typeof(/xyz/) weirdly returns "object" on Webkit or "function" on Firefox. (@bcherry explains RegExp *is* a function in Webkit - /foo/("foo") ). Not "regexp" as I'd hoped. So how to detect a regexp?

function isRegExp(o) {
  return typeof(o.compile) === "function"
      && typeof(o.exec) === "function"
      && typeof(o.test) === "function";
}

Thankyou @ilinsky for pointing out the much simpler:
/xyz/ instanceof RegExp

If you're wondering why I need this, it's for a multi-argument function, and I want to allow caller to pass the args in any order, using type inference to determine which argument is which. (Like jQuery does, e.g. with $.ajax().) One of the possible arguments is a regexp.

Comments (0)

Jun 30 / 2:04pm

GNUMedia Patterns Site

http://gnumedia.org/courses/programming/design-patterns/

I just heard from the author, who's planning to use the sequence of learning Gamma/GoF patterns I proposed here http://mahemoff.com/paper/software/learningGoFPatterns/.

Comments (0)

Jun 27 / 1:21pm

What's Up With Web Audio?

We already have the audio tag of course, but I'm talking about more advanced applications like real-time audio synthesis and processing. I see that kind of thing as an analogy to the canvas tag, where audio is the analogy to the video tag. We have canvas, audio, and video, but we don't yet have a standard for this other thing.

A couple of recent events got me asking around about web audio.

* At HackCamp (http://london.hackcamp.org.uk/), some clever hackers created a pure Javascript graphic equaliser. Awesome you can do it, but unfortunately not possible to do it cross-browser at this time, as the guys had to use the Mozilla-specific Audio Data API (https://wiki.mozilla.org/Audio_Data_API).
* I went along to drinks following World of Love, the recent indie games developers conference in London, as I've been speaking to a some indie game developers about charging for their apps on the Chrome Web Store and wanting to understand the state of the industry better. Most important message is that indie gaming is alive and well and had a revival over the last few years thanks to various platforms. As for web games, one of the issues right now with is audio: at this stage, Flash is still required for more complex use cases. Thanks to SoundManager (http://www.schillmania.com/projects/soundmanager2/), there's a bridge for Javascript developers to do some of this stuff; but still, we are missing a more powerful, standards-based, approach to audio.

So I asked around and found some interesting work is going on:

* First, there is the Moz API, as I mentioned. https://wiki.mozilla.org/Audio_Data_API
* ... And a new W3C Audio Incubator Group http://www.w3.org/2005/Incubator/audio with mailing list http://lists.w3.org/Archives/Public/public-xg-audio/.

Comments (0)

Jun 16 / 2:47am

Dutch GTUG - Presenting Remotely

Here's a quick summary of the process we used so I could present remotely to the Dutch GTUG last week:

- I made a 15-minute presentation on HTML5 and the Web Store
- I joined the GTUG's wave session prior to speaking
- The organiser (Henk) and I arranged for him to call me via Skype at the speaking time
- We initiated a video call, I introduced myself, and then switched over to the slides by entering into full-screen sharing mode
- After showing the slides, I switched back to video communication to take questions. We initially thought the questions would have to come in on the Wave and Henk could read them out, but it was easy enough for people to directly ask them - I could hear them just fine.

The downside of this approach is the speaker and the crowd can't see each other during screen-sharing. It might be worth experimenting with two simultaneous sessions - one for video and one for screen-sharing.

Comments (0)

Jun 13 / 8:22am

Twitter Filesystem: Most likely to raise VC funding at #hackcamp ;)

Comments (0)