Friday, July 30, 2010

Basil Chicken in Coconut Curry

Posted by david on 16. February 2009 16:42

Basil Chicken in Coconut Curry Sauce

2-3 tsp of yellow curry powder
1 lb chicken breast strips
1 shallot, minced
5 cloves garlic, minced
2 jalapeno peppers, seeded and minced
2 tbs OO
14oz coconut milk
2 tsp corn starch
1 tsp worchestershire
3 tbs fresh basil chopped
1 tbs finely chopped ginger

Rinse chicken, pat dry, cut into 1” pieces. Put into a bowl & sprinkle the curry over all the pieces. Coat well & let sit for 30 minutes at room temp or 60 min in fridge.

In a large skillet, heat 1 tbs oil @ med high.

add shallot and jalapeno > cook 3 min

add garlic > cook 1 min more

remove all & set aside.

in same skillet, add 1 tbs oil

add half of the chicken pieces > brown for a few minutes on each side. When not pink, set aside.

repeat for other half of chicken.

To same skillet, add coconut milk, minus couple of tablespoons. mix remaining coconut milk with the cornstarch in a seperate bowl. then add to skillet.

Cook on medium heat, stirring till thick & bubbly

mix in worchestershire.

Add the chicken/veg mixture. > cook 2 min more.

modified “Basil Chicken In Coconut Curry Sauce” recipe from SimplyRecipes

ve: geoservice working from detailsview

Posted by david on 13. February 2009 10:50

ASP.NET Resources - .NET Collection Madness - Part I

I am still trying to figure out an update progress problem.  I ran into this a few posts back – what’s happening is that I’ve got the POIGrid which lists all points acting as a master for the detailsview grid, which displays details for selected POI.

I’ve also got a little label or literal sitting outside of the grids that is supposed to grab an address from the detailsview after it has changed. 

The problem is that when the POIgrid selection is changed, all my code is firing before the actual detailsview is updated. So I need to find a better event to hook up with.More...

ve: gridview listview gridview

Posted by david on 12. February 2009 10:56

Extreme ASP.NET The Only Data-binding Control You'll Ever Need

Mike Ormond's Blog  Some ASP.NET 3.5 ListView Control Examples

Cutting Edge ListView Tips and Tricks

trying to figure how to get a scrollbar on to the listview.  Main answer I gleaned from this; turns out, you place your listview inside of a div, & give the div, itself, the scrollbar – by modifying the overflow property.  More...

ve: slow progress

Posted by david on 10. February 2009 00:00

added zip & country to POI table.

opened mapsiteLinqToSQL.dbml dropped the POI table then readded it, to show the new columns.

note to self, when something is not working, check first to see whether the things event handler is registered with the thing. 

after a long dance with gridview & selectedvalue – i know I can, again, see the POI_ID.  next is to build the code which checks whether lat long is in the record & update it if needed.

& the geocode part needs to be as far away from this page as I can get it.

2009_02_10

----

geocode needs a string address input & returns a latlong.

page will pass the address bits to something that will first, eventually, validate the address; second, form the string address, form that one string address; third, pass it on to the geocode service; fourth, receiving the lat long.

black beans with ham hock, cilantro, & lime

Posted by david on 9. February 2009 21:18

black beans with ham hock, cilantro, & lime

Beans
1 lb beans, i used half black, half red kidney
12 c water
1 smoked ham hock
1 green bell pepper
1 medium onion
6 clove garlic minced
2 bay leaves
1 tbs kosher salt

 

Sofrito
2 tbs OO
1 med onion, minced
1 small green bell pepper, minced
8 garlic cloves, minced
2 tsp dried oregano
1 1/2 tsp kosher salt
1 1/2 tsp ground cumin
1 tbs lime juice
1/2 c fresh cilantro leaves, minced

Beans:

all the bean ingredients into a dutch oven, bring to boil over med high. reduce to simmer, partially covered, add more water if it gets too low. Cook till tender but not splitting, about 2 hours. Remove the ham hock. Get the meat off the ham hock & cut into small chunks.

Sofrito:

heat oil in large skillet over med heat; add ingredients except cumin, juice, and cilantro. Saute till soft, 8 – 10 min.  add cumin; saute about a min.

The recipe calls for adding 1 cup of the beans & 2 cups of the bean liquid, then mashing with a fork or potato masher.  I added same & then threw the whole lot ( sofrito ) into a food mill and ran it through that.  I returned the resultant liquid to the skillet, reduced it a little longer. Then add the sofrito & the ham hock meat into the pot o’ beans.

Simmer all till beans are creamy & liquid thickens to sauce consistency, 15 to 20 min.  Add lime juice, simmer another minute. Stir in cilantro & season with S&P as necessary.  Serve hot over white rice.

I added, in the last step, a tbs honey, more salt, more pepper, & some soy sauce.  

It all came out well – not terribly unique, but I thought the final taste was balanced, just right.

Original recipe: Cooks Illustrated 1/1/98

ve: gridview and the ajax tab control

Posted by david on 8. February 2009 19:41

How to select a row in gridview without using that fugly select button.

Your code would have worked just fine if you had used the display=none
attribute of CSS instead of setting the Visible attribute of the CommandField
to false, e.g.
<asp:CommandField SelectText ="Select"  ShowSelectButton="true"  
ItemStyle-CssClass ="HiddenColumn" />

and in your css add a definition like this:
.HiddenColumn{display:none;}  ( source )

AzamSharp  Custom Extender to Highlight GridView Rows

Select a row in an aspGridView without using a Select Command

this last one works well: More...

Aero on WS2008

Posted by david on 8. February 2009 10:27

Windows Server 2008 "Aero Enabled" Workstation Edition

ve: interface design

Posted by david on 8. February 2009 01:08

2009_02_06: gridview is not working in firefox. does in IE.

2009_02_04: gridview does work … actually looks better than in IE – no breakage of the box.

2009_02_05: gridview is not working in firefox. does in IE.

Plan:  

  • small, tall column on left housing a gridview with name & space for icons, or tags
    • POI List
      • translucent when not in focus … maybe no borders, just sharp text on a fogged background, tith transparency to whatever ends up behind it.
    • POI Details
      • Ajaxalicious tabbed control to the right of that, when a record is selected … or when a switch is thrown
      • tabs:  the tab is visible IFF there is data to support it ( or permissions on user are appropriate )
        • geo detail
        • tag detail
        • notes detail
        • pictures
        • reviews
        • member input
        • etc etc etc – again, no data, not built yet then no tab appears
      • this tab could be brought up ( or a similar looking thing ) when a spot is selected to add – or any information editing at all is needed.
        • similar to what K has on musiccrunch ( thanks, K, the check is in the mail ) for band info.
  • but, more urgent
    • get zipcode field
    • is db ready for all this additonal info
    • simplify current POI list.
    • Figure out how to conditionally format it -
    • IF NOT geocode yet, grey it down, display box – option to geocode it.
      • GEOCODE IT
        • box with result information pops out.
        • that same bloody tabbed form – better look nice
        • Lat Long is visible.
        • or error message displayed if the geocode failed.
        • OK – or x button to close

so how bout a look – a design plan:

Slideshow

ve: successfully updating gridview with values returned by web service

Posted by david on 6. February 2009 21:32

Listening to The Young Turks.

OK – still trying to figure why POIgrid is not updating.  It updates when I click a button, but not when I try LiteralLongitiude.texttextfield changes or anything else. 

So why would the button trigger the update but not the literal, which is in the same update panel?

One hypothesis is that since the LiteralLongitude is nested inside a div, it’s update isn’t seen by the update panel.  Nope. because the button lick is also inside a similar div & the async postback works correctly.More...

Olivia Vid

Posted by david on 6. February 2009 19:15

I uploaded a new video … it looks better on smugmug.

Now, she doesn’t do much here … but she sits up the whole time which really impresses her daddy.