Yanachik.org

After writing Unit tests lately I’ve been trying to test my business logic (which is all done in the Entity Manager) without actually submitting data to the database.  I’ll create my Items and Customers and do an InsertOnSubmit to get them into the Entity Manager context, but never call SubmitChanges().

This gets the data into the database, however, it does not get the objects into the EntityManager’s data context.  If I were to create a Customer Order and then create a Customer Order Item I can then Add the Customer Order Item to the Customer Order and the order item is then available within the Customer Order context, but the Customer Order is still not available within the Entity Manager context.  To do that, you need to Attach the Customer Order to the CustomerOrders table.

With all of the goodies included with Service Pack 1 for Visual Studio 2008, the one thing that Microsoft did not do right is Javascript formatting.  First of all, it’s really slow.  Second of all, it doesn’t seem to be consistent with it’s indenting.

For me, I’d like to do my own formatting.  So, to turn off the Javascript formatting in Visual Studio 2008 go to Tools - Options - Text Editor - JScript - Formatting.  And uncheck all of the checkboxes in the Automatic Formatting group.

In Yahoo YUI 2.5.2 the Yahoo DataTable editorSave Event’sData Cell Editor has changed.  To get to the data record for the editor it is no-longer oArgs.editor.record, but rather oArgs.editor.getRecord();

DataTable.subscribe(”editorSaveEvent”, EditorChanged);

function EditorChanged(oArgs)

{

var record = oArgs.editor.getRecord();

}

Rails 2.0.2 now defaults your app’s database to SQLite3 (I believe because OSX comes pre-shipped with it).  In order to generate a rails application and having it setup to MySQL is pretty easy.

In your when you create your app add (-d mysql) in the rails command:  rails -d mysql myapp

04 Mar, 2008

Bill Gates’ last day at Microsoft

Posted by: kyanachik In: Microsoft

04 Mar, 2008

A series of Short reviews…

Posted by: kyanachik In: Microsoft| Websites

There were a series of announcements and reviews that came out lately, here’s a sample:

Google MobileGoogle Gears has gone mobile - what a great idea.  When your mobile device can’t get a signal (such as on an airplane) but you need to do some work, you can now access your mobile apps though google gears.  Zoho runs on Google Gears, hopefully Zoho Planner is supported.  Unfortunately, Google Gears only runs on IE Mobile.
Yahoo onePlace OverviewYahoo has announced onePlace which is a mobile service designed to take your Yahoo settings and make them available on your mobile device.  Your stock portfolio is available, your favorites, your Flickr account, your My Yahoo feeds - everything is available.  Look for this to come out shortly.
Google Docs Vs Microsoft Workspaces Read Write Web has a good feature comparison between Google Docs and Microsoft Office Workspaces.  Google has everything between email, documents, calendars, etc.  For the life of me I can’t figure out why they don’t have a task tracking system.  Is it too easy?  Too basic for them?  It would be a hot commodity.

02 Mar, 2008

Windows Presentation Foundation Flotzam has a new UI

Posted by: kyanachik In: ASP.Net

Flotzam, a life streaming screensaver based all on Microsoft’s new Windows Presentation Foundation (WPF) put out a contest for redesigned UI.  Here’s a screencast of the winner.


Flotzam Design Contest Winner

02 Mar, 2008

Sharepoint Conference 2008 - Buzzstream

Posted by: kyanachik In: ASP.Net| Microsoft

Here are feeds to track the action going on at Sharepoint Conference 2008:

You can also monitor:  http://mysharepointcommunity.com/SPC2008

02 Mar, 2008

Is SocialThing.com the big hit out of SXSW?

Posted by: kyanachik In: Websites

ReadWriteWeb is trying to predict what app will be the big hit at SXSW, and they seem to have concluded that whatever it is, it will involve social networking.  RWW seem impressed with SocialThing, and predict that if they get their iPhone interface working by SXSW then thy’ve got a real chance at being a huge hit this year.  The idea behind the app is to allow you and your friends to keep tabs on what one-another is doing via different services available for life streaming.  From their website:

Get your digital life in order

socialthing! is a digital life manager that puts what you do online into one place. See everything that’s going on with your friends in all the sites you use, post stuff to multiple places at once and more!

Here are some photos from their flickr account:

Socialthing! Adds Pownce

 

And their iPhone interface:

Socialthing! Mobile - Home

Socialthing! iPhone Edition

Socialthing! Mobile - Post Status

28 Feb, 2008

Check out my Pownce Feed

Posted by: kyanachik In: Websites

I’ve place a badge on my home page that displays my two latest Pownce posts, and dedicated an entire page Pownce Feeds that lists my 30 most recent Pownce posts.  Things that ramble off my brain that don’t deserve a full blog post will get Pownced.