Categories
Nerding

Redmond Web Camp 2010

Day one

I’m here! with at least 100 other folks. IMAG0148 click image for larger viewIMAG0151

Slept here last night. Woke up with bunches of cars here already…. Wonder if I’ll get away with it tomorrow?

Cool. Wireless internet. My VLAN to home comes up but connectivity is ‘odd’ Not getting my sql server.

Twitter Hashtag: #webcamps looks like it’s been down since about 3am.

Facebook bit.ly/webcampsfb

Stuff that caught my eye:

 

stuff I’m learning:

In visual studio you can use intelisense by camel case likeWeCouldFindThis with WCFT. Also you can type in the first couple letters of a control, then tab through available matches.

 

Interesting art work in lobby

Hey Lee! Check this out

Bean Finneran born 1947. This work is “Chartreuse Cone” 1997 Ceramics with glaze from the Microsoft art Collection # 1997131

IMAG0185 IMAG0186

Day 2

 

These folks showed up on day two, formed groups and are coding on eight different projects. It’s so cool to be around all these resources! I’ve learned a lot already, found some new resources and had a couple problems solved already. As I write this it is 10am. It’s over about 6 pm tonight.

IMAG0188 click image for larger view

Categories
Ceramics

Richard Shaw Spring 2010 ceramics presentation

Jeff Albrecht

Like can you say Wow! ??

Richard Shaw is a master of trompe-l’oeil sculpture.  trompe-l’oeil is french for “trick the eye” (see this Wikipedia entry) Check out this very cool video from KQED a PBS television station in San Francisco on Richard. Did you see all those molds? I tried a mold this quarter wrote a bit about it here.

While attempting to find the dimensions of the couch pictured below I ran across this article about an art dealer, Ruth Braunstein, in San Francisco you may find interesting. I never could find those dimensions. I might have to try the Library Lee! :-)

Hopefully this summer I’ll have a chance to write about the benefit of having made a quantity of the same object and how that process refined the finished object and eased the production burden in time and effort. But I digress…

Well just a second now, as long as I’m digressing as I mentioned in my verbal presentation I’m looking for an artist with digital skills to concept logo and other site images and themes for a new web presence I’m developing: “FlashMobMashUp” (see this post about Microsoft Web camp and my pitch) I’m a  Entrepreneur software developer (www.iea-software.com) and am expanding and diversifying our product range. I’ve just begun an intern program at IEA to develop web sites. This program is open to not only student computer programmers but writers and artists as well. Please email jeffa at iea-software dot com or a comment on this blog if interested.

 

Last quarter I made an apple pie jPie glazed with Waxy Oatmeal, this quarter some spaghetti jSpaghetti  by extruding clay onto a pie plate made from a mold found at the SFCC ceramics studio. The spaghetti was Carbon trap chino. I don’t think I quite got the Trompe-l’oeil as they don’t look specifically like the real thing.

For instance here are a few from Richard Shaw. Note the political comment in the plate. Art – ya gota love it! Often so much more you can say with art than with words.

Sailing West

Awards

1988    Honorary Doctor of Fine Arts Degree, San Francisco Art Institute
1987    Visiting Artist Grant, Manufacture National De Sevres, Paris, France
1974    National Endowment for the Arts Grant
1970    National Endowment for the Arts Crafts Grant
Education

1968     M.F.A. University of California, Davis
1965     B.F.A.  San Francisco Art Institute
            State University of New York at Alfred

ceramic_10.jpg

 

 

Resources aka Bibliography

http://www.franklloyd.com/dynamic/artist_bio.asp?ArtistID=26

http://www.conversations.org/story.php?sid=160

http://bunnywax.files.wordpress.com/2008/03/ceramic_10.jpg

http://franklloydgallery.files.wordpress.com/2009/01/shaw_sailing-west_2008.jpg

http://www.google.com/imgres?imgurl=http://latimesblogs.latimes.com/culturemonster/images/2009/02/03/shaw_red_house_of_cards_withteddys_.jpg&imgrefurl=http://latimesblogs.latimes.com/culturemonster/2009/02/review-richard.html&usg=__SRf0yAdzqVHxN_Axto-MNwNXsNY=&h=399&w=300&sz=65&hl=en&start=12&um=1&itbs=1&tbnid=J_7x2q07HINmnM:&tbnh=124&tbnw=93&prev=/images%3Fq%3Drichard%2Bshaw%2Bceramics%26um%3D1%26hl%3Den%26sa%3DX%26rls%3Dcom.microsoft:en-us:IE-SearchBox%26tbs%3Disch:1

Categories
Nerding

Learning before the Web camp

 

(read about my ms web camp proposal)

just for fun read along as I journal blog my way through implementing

NerdDinner FlashMash = new NerdDinner(); // ;-)

I’ve written it reverse chronological with the most recent post first. (like anyone is reading this)

(I want to check these out next soon:)

http://www.mvcstarterkits.net/post/New-Northwind-Linq-Project-built-using-ASPNET-MVC-10.aspx

http://www.mvcstarterkits.net/post/Web-site-Installer-kit.aspx

June 15, 2010 0730

Complete! Despite a lot of bitching and moaning below I’ve learned quite a bit implementing NerdDinner as FlashMash. I have not done the unit testing in the tutorial. I have done unit testing in other tutorials. As I want to maximize my exposure to other technologies that will be discussed / used in the web camp I am going to skip the unit test for now and move on to the http://weblogs.asp.net/jgalloway/archive/2010/05/12/introducing-the-mvc-music-store-mvc-2-sample-application-and-tutorial.aspx

June 14, 2010 0834

Hey! I’ve got the map working now too. Strange I thought I had a css problem. I’m checking my tags and rerunning it and the map wasn’t displaying in the div. I took my development notebook to the office this monrning and there ya go! It’s running correctly. I don’t think I ever flushed the cache, can’t think of what else it might be.

June 13, 2010 1640

Way Cool! Got it cleaned up so I can continue on with the tutorial. Now that I found the source to version 1.0 I was able to do a bunch of house keeping. I believe I have the conversion running and I’m on page 143. I got the login working too. I had some trouble with the RSVP insert. I had created the .dbml when the RSVP table did not have an identity. I ended up deleting the .dbml and recreating then futzin’ for awhile but it works now.

June 13, 2010 1504

I may have to retract some of my frustrations as I found the source code for the version 1.0 of NerdDinner. I did some house keeping based on comparison of my FlashMash implementation of NerdDinner v1.0. Then thought to build and run the v1 NerdDinner. There seems to be a problem with the save function of a new create NerdDinner just like the one I have in my FlashMash that has been driving me crazy for endless hours. I went hunting for the error a bit and came up with this errata for the book chapter 1 but not the free preview. Does that mean that there is no errata for the .pdf? If so I shake my head in wonder about the publishers and how many people new to MVC have had unnecessary trouble completing the tutorial? Once again for clarity; I downloaded the NerdDinner v1.0 source from Codeplex, built and ran it. It apparently has a problem with the phone validation right out of the box. I could not save a dinner with 5551234, 555-1234 or (509) 555-1234

http://www.wrox.com/WileyCDA/WroxTitle/Professional-ASP-NET-MVC-1-0.productCd-0470384611,descCd-ERRATA.html

All the above aside what I’m really having trouble with now is apparently the AccountController.cs. Apparently it ?changes? when you change the web.config to support the login and application data to come from a sql db rather than the .mdf. All my mashes (dinners) are stored in the sql db viewed with server manager.

I duno. Perhaps I’ll comment out the authentication for now so I can continue on with the tutorial. I have run several MVC tutorials from the VS 2010 training kit and others…

June 12, 2010 0308

OK, now that’s the ticket. This training kit Rocks! It’s groovy. It’s cool. It’s the cat’s meow (that’s really reaching). Organized and all that, teaching ya what you need to know. Like taking a class. Like the map needed to get somewhere.  ok obviously I’m getting a bit ‘rummie let’s see if I can sleep now. Didn’t want to end this blog for the night/morning with all that ranting and raving….

June 12, 2010 0226

(ya might not want to read the next two entries – a lot of wailing, bitching and complaining)

I’m not giving up on the NerdDinner –> FlashMash learning and more interestingly conversion. But I am gona take a break and work with the Visual Studio 2010 Training kit that yet another Web Camp Attendance Reminder made mention of. I think I’m approaching like over five reminders for this now. Well what do you know, I can still find bugs or my own stupidity (NOT!) at least confusion. I’ve never done a training kit but it looks incredibly jam packed full of organized learning! I like. So here I am on my very first training kit, the very first example and wadayaknow? The distribution doesn’t follow the tutorial. Only a little thing so far like the ‘Begin’ sub directory where I guess you build the application as you follow along resides. I check all the other sub dirs – they all have it. But not the VERY FIRST TRAINING KIT, NOT THE VERY FIRST TUTORIAL IN A TRAINING KIT. Ohh no we wouldn’t want to start out without a bit of wonder or confusion. (yes I rant the prereq and installs) So anyway it looks like these tutorials are gona touch on the same subjects that I had trouble with in NerdDinner because of the lack of full listings to review at each step. (The .pdf) blah blah blah ehh? ;-)

Sheeze!

Like earlier this afternoon I help my content hosting provider discover some weird bug because I’m using a host name over 22 characters long and iis or dotnetpanel doesn’t like it in their specific setup as they deploy Framework 4. I’m trying to deploy my flashmobmashup.org. Too funny. If there is a bug that 3million other people don’t hit in the normal execution of their life – well leave it to me! I did publish a MVC2 fw 4.0 Hello World with a shorter name…

June 11 2010 2104

I’m on page 142

<complain>

ya know a tutorial assumes you’re starting at the beginning right? This one is making a lot of assumptions. It would be a lot easier if it had been a little bit more verbose in some sections. Like having the source code available to look at along each step. Not just the completed project. I haven’t  been programming asp.net for all that long so some of this is a little new. And there are typos that I see have been reported by the net like at Wrox. Well why not incorporate these errata fixes into a new document! #$%^&*() I’d be done and on to the next starter project reinforcing what I have learned instead of being a bit irritable, pissed and cranky.

I’m high on MVC but I’m thinking why would I want to buy this book? Actually some of what I have learned is cool and understandable but it’s a struggle with the syntax particularly the first time you implement a new concept. It’s just nice to see it right once and it’s so much easier to understand once you’ve seen it work. And this constant struggle to get past errata, ommissions etc is FRUSTRATING Like a missing comma on page 141 in the ajax action link and the

<a href="/Account/Logon">Logon</a> to RSVP for this event. doesn’t work in this and other sections.

wow that’s a lot of complaining. OK. I feel better now (slightly)…

</complain>

 

June 10, 2010 0815

Cool. I got some sleep. I’m thinking clearer and I’m more than 1/2 way through at page 101 heading into ViewData and ViewModel

errata (or did I do that in my sleep?) views/mashes/delete.aspx

<asp:Content ID="Title" ContentPlaceHolderID="head" runat="server">

should be <asp:Content ID="Title" ContentPlaceHolderID="TitleContent" runat="server">

personally I would prefer to use head but I’d have to change a lot of pages.

June 9 2010

Freakin’ blue screen! unreal. Anyway…. :)

some questions at web camp when I have access to the experts

  • is there a way to deploy a connection string based on whether you’re running from the development environment or deployed after a publish?
  • Say I have an existing 2008 web project. I want to add blogengine to it. Do I have to publish the site and the blog every time I publish the site. What about small changes, that’s a lot of file moving if you publish again. At least when I’m using FTP. This question pertains to other apps too. Like if screwturn wiki was deployed by web installer.

 

Does the nerdDinner .pdf match the video? It seemed that in the video there was some tweaking of the .dbml properties that I didn’t see in the .pdf.

 

June 8, 2010 1759

This will be confusing. I’m gona start entering from the top of the blog. Date reversed so to speak. Like a news section…..

Got the authentication and content data bases moved from the .mdf to my mssql 2008 on a vm server 2008r2 on my intranet at home. Even figured out how to move tables and data from the .mdf to a db in the server. Cool. All that and I’m on page 62. Gota head out to my ceramics class right now. c ya..

June 7, 2010 19:35 (sequential from here)

I left a comment in this thread announcing a .pdf chapter of a MVC 1.0 book http://weblogs.asp.net/scottgu/archive/2010/05/15/worldwide-web-camps.aspx#7520758 (look to the end) inquiring about some simpler tutorials. Not hearing back within fifteen minutes (this is the internet!) I decided to watch the eighty minute video on creating nerddinner and do the nerddinner project from the pdf. Got to about page 32 when I had a problem with

partial void OnValidate(ChangeAction action) Solved it by adding a using System.Data.Linq; to the Dinner.cs in \Models. …after a quick google Bing search.

Actually I’m calling the project FlashMash rather than NerdDinner, but leaving everything the same in so far as the tutorial goes. I first called it jLinqSql but soon got to renaming and refactoring! :-)

OK, I’m gona get back to it. Linq is cool. I had just finished writing a custom class for an sql db that I used in a asp.net final project at Spokane Community College a few days ago. Took some time and lines of code. Linq just makes it for you with a drag and drop. Now how cool is that? Groovy! ;-)

I would love to find a FAQ / Blog / Article / Forum or clay tablet with some notes on publishing the application in ‘challenged’ hosting environments. For now I’ll stick to the tutorial.

2127

Way cool! I’m on page 45 and jus ran the application for the first time. It’s starting to work! Here is the output from my controllers class.

Coming Soon: FlashMashs <—output from FlashMash

June 8, 2010 0921

page 55. Got some scaffold detail view running! :-) I think I’m about caught up in the .pdf where I paused in the video. I’ll go check it out. Stay tuned for more episodes of: “As the Flash Mashes”

June 8 1647

Deployed the FlashMash to my local (notebook) iis server. Also configure it to use an aspnetdb on a mssql 2008 server on my intranet. The following error occured because I haven’t created the FlashMash and RSVP tables on that server. I want to keep this error so I can ask about Linq and how it pluralizes dbs. Note the mashes and mashs. who is doing this naming? linq2sql seemed to pluralize Mash to Mashes. I even deleted the entire project and started again not quite believing my eyes. I had been attempting to spell it Mashs but the linq2sql appears to name it Mashes. Then I see this object name in the stack trace and … well confusion abounds….

Line 15:         public ActionResult Index()
Line 16:         {
Line 17:             var mashes = mashRepository.FindUpcomingMashes().ToList();
Line 18:             return View("Index", mashes);
Line 19:         }

Source File: C:\Users\jeffa\documents\visual studio 2010\Projects\FlashMash\FlashMash\Controllers\MashesController.cs    Line: 17

[SqlException (0x80131904): Invalid object name ‘dbo.Mashs’.]

line 17) var mashes = mashRepository.FindUpcomingMashes().ToList();

Categories
Nerding

Web camp project proposal – flash mob mash up

 

Introduction

I’ll be attending Microsoft web camp in Redmond at the end of June. The following are some notes on what I will propose for a project.

I am Jeff Albrecht, you can call me jeffa, president of www.iea-software.com. We are in our 5th generation of authentication and billing solution know as Emerald for various service providers. We also have a WiFiHotSpot built on linux and a IM system. I am expanding and diversifying our products. Currently implementing an internship program with Spokane Community College. To compliment my current unparalleled team of programmers I am assembling a group of truly talented individuals who have had interesting careers and experience that will benefit this new endeavor.

Idea

(While at the webcamp I’m working on this and articulated a few of the things I’d like to add, I listed them below. Then I went to the codeplex site and read about plans for v2.0 of NerdDinner. The list is about a direct match. Looks like I could contribute with my blog per mash idea. Other than that I need to explore the ‘morality’ of attempting to bring a service online that appears so similar to this project. Hmmm…. ???? Just spoke to ScottGu he said: “Go for it!” I’ll sleep better now!

flashmobmashup.org – I also have the .com .mobi….

flash mob just tweetin’ and textin’ and bloging and bookin’ and after this you will be silicon… (sung to just Wishin’ and Hopeing…)

mash up I watch Glee regularly. I believe that mash up is becoming much more universal in our vocabulary not just specifically to music.

So my thought is that a flash mob mash up might bring people of dissimilar interests together to exchange ideas. Say for instance at graduation my CIS class mates and my Art (I’m into ceramics) class mates could get together for a dinner and exchange of ideas. Think of it the left brain and the right brain need each other. A web development team comprises programmers and artists to bring to the public a project that engages usefully.

Sounds like event management.

Pitch

A site that incorporates some of the ideas of the Codeplex nerddinner see ScottGu’s blog on nerdinner (note I’ve had the flashmobmashup domain previous to my interest in MVC and hence the NerdDinner :-) ) with a blog for announcements and discussion, wiki for historical archives, email list manager and social connection tools to interact with other social media organizations such as Facebook, Twitter, google and Microsoft etc… I would want to support  MS live id, open id and any others from social media organizations logins (do api’s exist?).

How about a table that maintains a url to a blog describing each mash. The social tools for notification such as Twitter might be better placed in the blog. Or if no blog exists on mash page.

Team

  • Social networking tools guru nija kinda person user and/or implementer
  • CSS / artist – look and feel make or find a new button set etc….
  • DBA Data base architect/designer. Entity development experience
  • Site Administrator – experience with deployment
  • VS Developer – How to add multiple projects into a deployable and maintainable site.

 

 

Think Tank

It would be great to get together ?Friday evening? to discuss intent, philosophy, capabilities and methodology. Discuss what would be cool, then determine what would be useful from the ‘cool’ list.

Stuff

When the concept takes off the .org site could be supported by the .com. A store front in the .org could accept donations (ala PBS pledge drives) and reward with gear while the .com can just sell gear and adds product placements etc…

possible projects to include  in mash up

Should the entire project be built on top of a CMS?

CMS atomsite built on MVC

Blogengine.net is there a MVC alternative?

wiki screwturn

? list manager ? smcm (Social Media Content method|mechanism|management ?my term?)

Thoughts (before they flee)

in the .mobi a filter to twitter to show just tweets regarding subscribed Mashes?

 

 

Read my experiences learning by doing the NerdDinner as FlashMash

Categories
Nerding

.net Resources

(formerly C# Resources, originally published Jan 13, 2010 @ 22:11 Edit)

Here are some links that I have found useful while learning C#, MSSQL and ASP.NET. Perhaps it’s just a big bookmark for me. These links are gleaned from looking at a lot of google…

I gota get back to this link ASAP

http://www.asp.net/community/projects

* http://weblogs.asp.net/scottgu/archive/2006/02/24/ASP.NET-2.0-Membership_2C00_-Roles_2C00_-Forms-Authentication_2C00_-and-Security-Resources-.aspx

Info on moving .mdf to sql server particularly aspnetdb.mdf

* http://www.4guysfromrolla.com/articles/040506-1.aspx 

http://weblogs.asp.net/scottgu/archive/2006/04/22/443634.aspx

http://weblogs.asp.net/scottgu/archive/2005/08/25/423703.aspx

http://www.studiocoast.com.au/knowledgebase/article-6-aspnet-using-sql-server-instead-of-aspnetdbmdf.aspx

http://msdn.microsoft.com/en-us/library/ms229862.aspx

http://weblogs.asp.net/nannettethacker/archive/2008/11/04/deploying-the-aspnetdb-mdf-to-a-production-server.aspx

asp.net login, authentication and authorization

http://www.4guysfromrolla.com/articles/060706-1.aspx

http://dotnetslackers.com/articles/aspnet/Windows-Authentication-using-Form-Authentication.aspx

Might be good reference for the BIG cis 258 assignment

http://aspnet.4guysfromrolla.com/articles/061108-1.aspx

http://www.4guysfromrolla.com/webtech/110701-1.shtml#postadlink

http://www.asp.net/general/videos/lesson-9-securing-your-web-site-with-membership-and-login-controls

http://www.4guysfromrolla.com/articles/060706-1.aspx

MySql stuff

These helped me to learn how to implement and use the MySql connector from mysql.org (sun) The www.geekpedia.com site looked to have many articles on many different programming languages.

http://bitdaddys.com/MySQL-ConnectorNet.html
http://www.geekpedia.com/tutorial228_Connect-to-MySQL-using-Csharp-and-ConnectororNet.html

SQL Injection

https://angelccs.spokane.edu/section/default.asp?id=171A9041791

.net gdi+ graphics

http://www.bobpowell.net/beginnersgdi.htm

Simple mouse and graphics

http://www.geekpedia.com/tutorial55_Mouse-coordinates.html

web.config

http://articles.sitepoint.com/article/web-config-file-demystified

http://www.4guysfromrolla.com/articles/121207-1.aspx

blogengine.net

http://www.upfromthesky.com/blog/post/2009/01/30/Integrate-BlogEngine-145-into-an-exisitng-website-(VSNET-Website-Project).aspx

http://jamafriend.com/blogengine.web/post/How-to-add-BlogEngineNet-on-your-existing-aspnet-site.aspx

Great tutorials

www.learnvisualstudio.net has a bunch of video tutorials. I found the site from some Microsoft MSDN video tutorials hosted at learnvisualstudio.net they were free, however most of the others at learvisualstudio.net require a subscription. I think pay up as the quality of the tutorials in my opinion appears to be well worth the subscription price.

I’m sure you know about www.msdn.com but if not it’s well worth a look. And a second look too. With so much information I find it hard to find what I’m looking for. When my searches aren’t working I try to find some different keywords to get to the same information I’m looking for. Sometimes starting at the home for whatever language you are working on.

I copied and pasted these link from Tom’s (.cs/asp.net instructor) ado lecture.

 

Not categorized

Some insight into visual studio web sites vs web projects. Be sure to read comments.

http://stackoverflow.com/questions/357769/how-can-i-use-the-publish-function-in-visual-studio-2008-without-erasing-the-co

http://www.vcskicks.com/

Check this for asp.net web site administration http://aspnet.4guysfromrolla.com/articles/053007-1.aspx

http://msdn.microsoft.com/en-us/library/ff649314.aspx#paght000014_deployment

http://forums.asp.net/p/1559326/3845716.aspx

webmonkey.com

syncfusion.com

* Editor’s choice (Hey! That’s me)

——

Eventually I’ll finish this cis 258 asp.net class at the end of June 2010. As I have no summer classes – Well Weeee! Here are a couple links that looked very intriguing and that I’d like to work through to learn more nifty asp stuff.

Shopping cart with pictures of items tutorial http://www.codeproject.com/KB/database/GridView_order_page.aspx 

http://www.dotnetcurry.com/ShowArticle.aspx?ID=107 GridView Tips and Tricks using ASP.NET 2.0

hey below is mostly for me. Reminders and such …

this one is important. I should add this constraint to my CookNook. My fk works but this would enhance it considerably http://www.asp.net/security/tutorials/storing-additional-user-information-cs

 http://geekswithblogs.net/mbcrump/Default.aspx Garage Sale Code

http://geekswithblogs.net/mbcrump/archive/2010/05/25/tools-and-utilities-for-the-.net-developer.aspx Tools and Utilities for the .NET Developer

http://www.asp.net/security/tutorials/storing-additional-user-information-cs Storing Additional User Information

http://dotnetguts.blogspot.com/2006/12/databindereval-method.html DataBinder.Eval() Method

http://www.4guysfromrolla.com/articles/072102-1.aspx Customizing DataBinded Output in Templates