change git default editor to emacs

May 28th, 2010 § 1

now that my team has switched from svn to git, i’m creating a new category on the blog here to record git tidbits that might be helpful to others.

for editing commit messages etc, git uses the system default editor (often vi/vim). to change git to use the one good, true, right editor, just type this:

1
git config --global core.editor emacs

you may also want to change your diff preference to use emerge. for more info, see pro git: first-time git setup.

of course, i should probably really change the default system editor.

litl sdk: 10 steps to get started

May 18th, 2010 § 1

here are my slides from our FATC pre-conference mobile and devices workshop a litl SDK for flash and flex. thanks to the longer time slot than regular conference sessions, we were able to take a deeper dive into the AS3 api, looking at more of the available requests and events.

i presented pretty much the same code in both this and our regular conference session, blogged here: litl hello world (for flex).

litl hello world (for flex)

May 17th, 2010 § 1

here is the “hello world” example that i live-coded today at flash and the city. it gets you up and going with initialization and view change events in just 45 lines.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.adobe.com/flex/spark"
               xmlns:mx="library://ns.adobe.com/flex/mx"
               minWidth="955" minHeight="600"
               applicationComplete="init()"
               >
    <fx:Declarations>
        <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
   
    <fx:Script>
        <![CDATA[
            import com.litl.sdk.message.InitializeMessage;
            import com.litl.sdk.message.ViewChangeMessage;
            import com.litl.sdk.service.LitlService;
           
            private var service:LitlService;
           
            private function init():void {
               
                service = new LitlService(this);
                service.connect("FATC", "FATC channel", "v0.1", false);
                service.addEventListener(InitializeMessage.INITIALIZE, onInitialize);
                service.addEventListener(ViewChangeMessage.VIEW_CHANGE, onViewChange);
            }
           
            private function onInitialize(e:InitializeMessage):void {
                trace("initialized!");
            }
           
            private function onViewChange(e:ViewChangeMessage):void {
                viewName.text = e.view + ", " + e.details;
                bg.width = e.width;
                bg.height = e.height;
            }
           
        ]]>
    </fx:Script>
   
    <s:BorderContainer id="bg" backgroundColor="0x00FF00">
        <s:Label id="viewName" fontSize="100" />
    </s:BorderContainer>
   
</s:Application>

in addition to this code, import the SDK swc into the project and set it to be merged into the code. you can download the sdk at http://developer.litl.com.

sign up for the litl SDK!

May 14th, 2010 § 0

the last couple of days at flash and the city have been exciting so far! chuck and i gave our pre-conference workshop about the litl platform to an engaged audience of mobile/device developers, just after learning that our upcoming web tv device was in the news at engadget and fast company.

at this morning’s keynote, chuck talked more about our plans for that device with gesture, accelerometer, microphone, and keyboard in its remote. i’m really happy that we’re able to start telling people about this project. i’m proud to be part of a company has been forward-thinking about bringing internet to the big home screen that is your TV. if you haven’t before thought about engaging with the internet on your tv, it’s an idea that i think you’re going to find magnetic now that we’ve put it out there.

but of course, what i had really been looking forward to about this conference was opening up enrollment for the litl sdk. the kit includes our AS3 api, control set, simulator for local testing, and sample channels. this SDK currently supports everything you need to develop for the webbook, and will expand to include new APIs for the new device later this year.

we also announced a radical break on the webbook for developers: $199. for developers and content creators who want to start exploring litlOS in advance of the web tv device availability, the webbook puts it into your hands now. it has been awesome to see the constant stream of attendees hitting the litl sponsor table, sharing their ideas for great applications and expressing a lot of excitement about getting started.

chuck and i are teaching a variant of our litl SDK for flash and flex session at 11am sunday to help folks get up and running with the sdk. hope to see a lot of you there!

my FATC schedule

May 7th, 2010 § 1

just one week until flash and the city! in addition to launching the litl SDK and teaching folks about it, i also hope to attend a bunch of sessions, learn tons and perchance meet some of my heroes.

i love poring over conference schedules the way i used to bury my nose in course catalogs at college. there’s such a sense of possibility that you could learn everything, right up until the moment where you have to commit to specifics.

here are the sessions i’m mostly likely to attend:

thursday:
mobile and devices workshop

friday:
8:30 keynote
10:00 geolocation and mapping with the flash platform (ryan stewart)
11:00
1:00 yes, you can do that with air 2.0! (peter elst)
2:00 decrap your application (garth braithwaite)
3:00 flash augmented reality workflow(jesse freeman)
4:00
5:00 fms: streaming and beyond!(lisa larson-kelly)

saturday:
9:00 touch me baby (lee brimelow)
10:00 quick as a flash (grant skinner)
11:00
1:00 robotlegs in the real world (joel hooks)
2:00 flex data binding pitfalls: 10 common misuse mistakes (elad elrom)
3:00 session panel: devices with flash (chuck freedman, thomas joos, scott janousek, elad elrom & lee brimelow)
4:00
7:30 cruise!

sunday:
9:00 bending flexunit to your will (michael labriola)
10:00 flex 4 component lifecycle best practices (aaron pedersen & james polanco)
11:00 getting git (simon bateman)

and i’m sorry that i’ll miss the afternoon on sunday, especially the adam flater/jeffrey houser slot, between whose presentations it would have been hard to pick.

    • Categories