Tuesday, February 16, 2010

BLOGGING LIVE


That sounds so cool, doesn't it? This week I will be blogging daily from the MVP Summit in Redmond starting tomorrow. Hear it here first as I DONT tell you what I learn (as per NDA) but I DO tell you who I meet. 


I will also be taking lots of pictures, and trying not to feel like a weirdo about it. 


Stay tuned!!



Sunday, January 31, 2010

Blogging is hard, let's go shopping!



I have been extremely negligent with blogging lately. Partially because I am learning to manage a very full plate, and also because  I haven't really been inspired by anything. I'm working on a technical post, but until then I figured I'd throw a quick "What UP?" out here. 


So, come things. Well, NY Code Camp call for speakers is out,  you can send in your abstract here. This is something I'm looking forward to. One addition it appears we are making is hands on Labs for sessions. 


Vote for Barbie to be a Computer Engineer!



I am working with the Girl in Tech NY on some development classes geared towards women. I will put more information here when I have it. 


So, the WAN Party, instead of being every Weds at 7:30 has been taking place usually either Wednesdays or Thursdays, I always announce it on Twitter so tune in to get the scheduled or just email me and I will let you know. 



Cheers! 



Monday, January 11, 2010

Thank You, Yahoo


 In October of this year Yahoo host Open Hack Day in NYC. It was a cool event, they had great speakers (including a keynote from Clay Shirky); they also provided space, resources, and food to those who wanted to compete in an overnight coding competition. They had workshops, and cool exhibits (like the Makerbot 3d printer using icing). They had amazing food that included a  hot dog stand and Stella (my favorite beer). It was a great experience, I didn't get to catch many of the talks, but I did get to speak to other developers, meet some fine folks, and learn much about Yahoo's dev tools. 


In our welcome pack we got a bag, which included our schedule, a toolkit for "hacking," and a bag of toiletries for those of us that decided to stay the night.  The bag included things like soap, toothbrush, toothpaste, deodorant...etc. It was a great idea, and nice of Yahoo to consider the developer's personal hygiene. 


Thinking I could use the soap or the lotion included I threw my kit in my gym bag. I've taken to working out before heading into the coworking space I work out of some days recently. The week before last I was at my gym, freshly showered and about to put work clothes on when I realized I had forgotten to grab deodorant. I remembered I had that little Hack Day toiletry kit and I remembered the deodorant inside. I have used men's deodorant in a tight spot before, I figured I would just make due. I automatically assumed it would be men's deodorant, I mean, this was a coding competition? 


It wasn't! It was scentless gender neutral deodorant. I know it's dumb, but this surprised me greatly and made me feel included. I know there was some scandal involving the Hack Day in Taiwan and female dancers, however, the Hack Day in New York was a smashing success and whomever planned the goodie bag is awesome. 



So, thanks, Yahoo, for thinking of the ladies as few as we may be. 



Monday, December 28, 2009

Here's to the Quiet Ones


 First off, I hope you are having an awesome holiday season. I was enjoying mine this past Sunday and talking to my cousin Duane Roelands, who is also a .NET developer, about programmers. I said (and I think this is stolen from somewhere, just not sure where), "There is no such thing as famous programmers, just loud ones." He retorted that there definitely were famous programmers. After some back and forth I thought of people like DHH and R Stallman who are not only loud, but also accomplished and therefore I would consider them famous. I had to concede. 


This got me thinking of the shy quiet amazing developers I have met, and there have been a lot of them. The ones you have heard of were shoved out into society for accomplishing great things, usually amongst much protest. However, the majority haven't crossed your path. Meeting guys like this surprised me in the beginning, because I didn't understand why they didn't shout it from the mountains. In fact, most of the best developers I have spoken to have been very quiet and introverted. It's made me grill all the programmers I meet because I can't rely on the fact that they will be outgoing enough to share if they have some learning to drop on me. 


I love the opportunities I have to be around great developers all the time, really love absorbing what they have to say. So I wanted to take a second and tip my hat to the quiet ones. Because I really appreciate all you have taught this total spaz. 


***EDITOR'S NOTE: I was going to make a X - Talent of Developer, Y- Vociferousness of Developer graph, however, I felt that it would inspire criticisms. However, it would have been funny.***



Sunday, December 20, 2009

Spoke at Girl Geek Dinner - World Still Intact


Despite my protests I was invited to speak at this past weekend's Girl Geek dinner. I can't tell you guys how great it was to be around a room full of nerd girls. I take back that we shouldn't have support groups, kind of. I still think we could use more time spent focused on accomplishing things. I would love to see more GTD from the ladies. I'm not against us getting together, however. Though it may be a little sexist and counter productive, the positives outweigh the negatives. 


Everyone there was so friendly, a girl even gave me her homeabde ring after I complimented it! It seems the whole thing was videotaped and should be going up on their site. 



Thanks to the ladies of GGD for inviting me, I look forward to attending another!



Here are some pictures from the GGD facebook page:










Sunday, December 6, 2009

Easy HTML Templating with JQuery

 I have been wanting to write a blog about this for a while and my first post on Devlicious is the perfect place. Firstly I have to thank Jess Chadwick for his help with this when I first started out with the Bundl.it project. Working with ASP.NET MVC has been wonderous, but when I was first starting out I was confused how I would replicate some of the behavior I was used to on my heavy server controls.


I wanted my page to be quick, and to do this I wanted only the amount of HTML I need to display to be on the page. When I was using webforms I would probably do this with a repeater, but I'm using .NET MVC so I thought dynamically generating the HTML was the way to go.


Your first step is creating your template; your template is the HTML that gets added to the page. You want it to be hidden; throwing it in a script tag is a good way to do this. You need to give it an ID that can be referenced in your code. You can create multiple templates as well. I am creating an unordered list.


My template looks like this:


  <script id="ItemTemplate" type="text/html">


        <li class="item" value="|rowNumber|">


              <input type=”text” id=”input|rowNumber|” />


        </li>


    </script>


 


Now within my code I need to put a place holder where I want my HTML to go.  I have my unordered list called url_list.


 


<ul id="url_list"></ul>


 


Now, you see that most of my items look like this “|rowNumber|” I have a variable in my code called nextUniqueItemID (I believe in extremely descriptive variable names). Here is my “addItem” function.


 


function addItem() {


        var list = $('#url_list'),


                      items = list.find('li');


        list.append($('#ItemTemplate’)


                                    .html().replace(/\|rowNumber\|/gi, nextUniqueItemID++));


      


    }



 The list item gets added on user action. You can interpret it how you want The first thing it does is find my unordered list using the ID selector. Then the append function locates my template using the same selector and adds it to the html inside the url_list. It also replaces the rowNumber with the nextUniqueItemID, that way when I can reference this particular input when submitting my form. . It's that easy!


 


 






Wednesday, December 2, 2009