10 Nov, 2008
Posted by: kyanachik In: Yahoo YUI
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.
10 Oct, 2008
Posted by: kyanachik In: Yahoo YUI
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
Posted by: kyanachik In: Microsoft
There were a series of announcements and reviews that came out lately, here’s a sample:
Google 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 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.

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
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
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:
And their iPhone interface:
28 Feb, 2008
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.