Showing posts with label gdg. Show all posts
Showing posts with label gdg. Show all posts

Monday, March 7, 2016

Women Techmakers Lightning Talks

Last year GDG Boulder celebrated International Women's Day with a night of lightning talks. People loved it, so we did it again this year!

Host

I was speaking at DroidKaigi in Japan in February, and would not have too much bandwidth to organize the talks. Fortunately Amber Grimaldi kindly agreed to host the event. Just like I outlined in the report from last year, she reached out to individuals asking them to speak, followed up to make sure they prepared the slides on time, and of course, emceed on the night.

Twitter

We used 2 hashtags: #WTMBoulder to get a quick summary of our event, and #WTM16 to share the evening with the rest of the Women Techmakers community.

Recording

I was the camerawoman for the night. I followed my own instructions for recording talks: screen capture for slides, camcorder for face of the speakers, use audio to sync them up. There was a bit of post-processing to decide where to overlay the camcorder feed to avoid blocking the slide content, but otherwise the editing was pretty straight-forward.

Videos: https://www.youtube.com/playlist?list=PLjkBbfqbfeQZlDx-0Dj9k3-U7-eXz6H53
Slides: http://bit.ly/1TWYZGq

First-time speakers

A few of the speakers never gave a talk before, and would like to get started. A lightning talk is a great way to get your feet wet, and I was very happy to be able to record them. Now they have a sample online to apply to speak at other events!

Further reading

Friday, November 6, 2015

MVP: The Missing Link

I have been wanting to learn the Model View Presenter pattern for a while, and was super excited to get Michael Cameron to give a talk on it at GDG Boulder last night.

View Interface

I have this vague notion that MVP is good for JUnit testing, and I finally figured out why. The secret, the missing link, is View Interface, which is not a part of the MVP acronym. View Interface defines the contract between the view and the presenter, allowing you to mock one while testing the other.

With View Interface, you can compartmentalize your Android UI code into the view (typically a Fragment or Activity), which communicates with your presenter solely through the View Interface. This separation allows you to mock your View Interface with zero Android code, which means you can test your presenter with JUnit on the JVM.

Mocking via build flavors

Mocking is essential for hermetic testing, but people are often intimated by dependency injection frameworks like Dagger. If you prefer, you can provide mocks to your test using build flavors. An excellent technique!

Mockito

Mockito is a great mocking framework with a fluent API. One very nice feature is mocking via annotations. To use that, annotate the fields you want to mock with @Mock, and initialize them all with MockitoAnnotations.initMocks() in your @Before function.

@Mock
private MyThing myThing;

@Mock
private OtherThing otherThing;

@Before
public void setUp() throws Exception {
  MockitoAnnotations.initMocks(this);
}

This is equivalent to:

private MyThing myThing;
private OtherThing otherThing;

@Before public void setUp() throws Exception {
  myThing = Mockito.mock(MyThing.class);
  otherThing = Mockito.mock(OtherThing.class);
}

Slides: http://www.slideshare.net/DarxVal/model-view-presenter-presentation

Codelab

Google has published the excellent Android Testing Codelab going through an app with the MVP architecture. You can see JUnit and Espresso testing in action, mocks via build flavors, and various other techniques. Go check it out!

Sunday, June 28, 2015

Android Camera2 API talk

Since I started helping with GDG Boulder, I have been only organizing beginner events, especially for Android, because I sensed that the audience does not have a lot of Android experience.

At our Android Hack Night in April, someone came up to me and said, "Can we have more advanced events? I haven't been coming because I am looking for more advanced material". I did a mental face palm when I heard that. Of course! I have been organizing beginner events. Beginners come. That doesn't mean we don't have members who want advanced events. I have been hungry for advanced Android talks myself, and should have just gone for it instead of tiptoeing around imaginary audience preferences.

Camera2 API

After hearing that I happily scheduled an advanced Android talk for June. Huyen gave an informative and entertaining talk on Camera2 API, and I really enjoyed it.

Raffle for ideas

I always ask people to tell me what topics interest them, but they never actually do. This time, my friend Dave Smith said he wants to give a way a couple of Android books, so we ran a raffle. To enter, people need to put in their name and also a suggestion for future event. I collected quite a few ideas this way. Win!

Wednesday, April 29, 2015

Google Hangout on Air from Google+ Pages

For the GDG Boulder meetup this Thursday, I would like to broadcast a Google Hangout on Air from the GDG Boulder G+ Page so that the recorded video will be saved to the GDG Boulder YouTube account. Took me a while to figure out the steps, so I want to document them here.

Prerequisite: You need to have a YouTube channel already linked to your Google+ page.

Switch to the Google+ Page

On Google+, click on your photo on the top right corner and switch to use Google+ as the Page admin.

Select "Hangouts" on the drop-down

Hover on the drop-down on the left, select "Hangouts".

Select "Hangout on Air"

Now you are on the Hangouts page as the Page admin. Select "Hangouts on Air" from the top tabs and you can now create a Hangout on Air as the Page admin!

Here is the Hangout on Air I created: https://plus.google.com/events/cgrute825m3sv909nd0da0if0ag

After you created your Hangout on Air, don't forget to enable the Q&A app. You won't be able to do that after the Hangout started.

Happy broadcasting!

Monday, March 9, 2015

Women Techmakers by GDG Boulder

To celebrate International Women's Day, Google Developer Groups all over the world are hosting Women Techmakers events. I organize the local chapter, GDG Boulder, and I thought this is a great opportunity to showcase the wonderful women techmakers in our community. Inspired by the popularity of Ignite Boulder, I decided to host a night of lightning talks.

https://www.youtube.com/playlist?list=PLjkBbfqbfeQYGm77YtcgK6HlOIENX6Ph9

Speakers

Since I was new to the Boulder area, I don't know too many people. As a result I pretty much asked every single female developers I know if they would like to give a lightning talk. Some of them are from GDG Boulder, others are DevChix members I met over lunch. To my surprise, almost everyone said yes. I was expecting resistance because usually when I broadcast speaker request over mailing list, nobody replies. I have two theories:

  1. Boulder people care about the community, ready to step up and contribute when asked.
  2. Asynchronous broadcast aka email blast is a bad way of asking. Synchronous 1-to-1 is the trick.

When I asked someone in person or over instant messaging, they have to tell me yes or no on the spot. My suspicion is that it is difficult to say no, so I ended up getting quite a lot more yeses than I expected. On the other hand there is no cost to say no in an email broadcast. You just do nothing.

Spread the word

After I found speakers, picked a date and secured the venue, it was time to spread the word. I added the event to our Meetup page, and posted on social media as well. But what brought most of the attendees was cross posting to other local groups. Rylee Keys was especially helpful, inviting members of Women Who Code and Girl Geek Dinner to join us at the lightning talks.

Talk preparation

A few of my speakers said they have nothing to say, which such is a normal response when people get asked to give a talk that I actually gave a talk about it. I offered brainstorming help, and helped half of the speakers come up with their topics. I was ready to give feedback on the slides as well, but they procrastinated so much that there was no time to do it.

Master deck

I know everybody is busy, so I set out deadlines for the title and slides for the talks in advance, hoping that it would help some of them set aside time to prepare. And some of them did. But I needed to nag the rest during the last week, and it was quite stressful. Normally speakers can work on their slides until the last minute if they present from their own computers, but since each talk was only 5 minutes long, swapping machines constantly would be very disruptive. To avoid that I took cue from Ignite Boulder to have a master deck that combines decks from all the speakers. This means I needed the slides ahead of time, hence the nagging. I got the last deck an hour and a half before the event, and breathed a sigh of relief.

Clicker run-through

I have spoken at Ignite twice, both hosted by Brady Forrest. He runs a really smooth show, and one trick is to sit the speakers in the front row, in order of presentation. I totally stole that.

Unlike Ignite, I am not advancing slides automatically, so I brought a clicker for the speakers. I had the speakers come before the door opened to the public, lined them up in order of presentation in front of their seats, and did a clicker run-through. I started clicking through the intro slides, passed the clicker to the first speaker, had her review her slides while trying out the clicker, and passed it to the next speaker.

Show time

Door opened at 7pm, and slowly the room filled up. We had more than 100 attendees, which was really exciting. Here is the slide I projected when people were mingling before the event started:

See the hashtag? I wanted people to talk about the event on social media, and they took the cue:

I kicked off the event at 7:30pm, explained GDG Boulder and Women Techmakers, and turned the stage over to the first speaker. One after another, our speakers regaled us with fun and inspiring stories, ranging from freelancing to hackathons to refactoring to wearables.

More!

Time flies when you're having a good time, and before we knew it the talks were over. I went back on stage and asked if everyone enjoyed the show. After an enthusiastic yes, I encouraged people to get in touch to give a talk as well, so we can have more events like this. A few people took up on my offer, and I am super excited to hear their stories!

Lightning talks is a great way to celebrate your community. Step up and make it happen! Here are some lessons I learned:

  • Invite speakers individually
  • Ask local groups to spread the word
  • Project the offical hashtag before the event starts to encourage social media engagement
  • Prepare a master deck for smooth speaker transitions
  • Sit the speakers in the front row, in order of presentation
  • Keep it going by encouraging attendees to speak. Add a question to your RSVP to ask if they want to give a talk. Make an announcement at the end of the event.

P.S. In the spirit of asking, the GDG Boulder Youtube channel needs 500 subscribers to get a custom URL. Will you be so kind to subscribe?

Friday, January 16, 2015

Android Hack Night

I hosted an Android Hack Night at GDG Boulder last night.

Android Hack Night is for everyone who's interested in Android programming. If you...

  • Have no Android experience
    Install Android Studio on your laptop and we'll walk through Hello World together.
  • Just got started but not sure what to do next
    Follow the Udacity course and bring your questions.
  • Tinker with Android as your side project
    Bring your project, share what's working and where the pain points are.
  • Live and breathe Android
    Come help others, or, if you are brave, there will be a coding challenge where you write an app on the spot and present your solution.

We will all be coding, so don't forget your laptops, chargers, Android devices and USB cables!

We had a pretty good turnout, almost 30 people. I asked everybody to introduce themselves and tell us about their Android experience. Since there were quite a few beginners, I gathered everyone who'd like to step through Hello World in a corner, and the rest of the people huddled in groups to work on their apps.


Couldn't get the projector to work so I held up my laptop.

Initially I was going to have every group share what they did at the end, but I lost track of time while helping people with their emulators and devices, so it was a bit of a bummer. But overall it was really fun, and I definitely want to do it again!

Sunday, August 3, 2014

GDG Boulder

I moved from California to Colorado this May, and want to get more involved with the local tech community. As an Android developer, especially as a Google Developers Expert, my natural choice is to help organize GDG Boulder.

Last Thursday we met for Lightning talks and I/O Show and Tell.

We had two speakers for lightning talks:


Ian Douglas on SendGrid's partnership with Google.


Robert Kluin on Go.

After that, the floor was open for I/O Show and Tell. People who went to Google I/O brought their Android Wear watches, Cardboard, Android TV and devices with Android L preview. Everybody got to play with the new toys and share their thoughts. It was great fun.


Immersed in Cardboard

Next, on August 21, our meetup is going to feature mind-controlled robots. Join us!