DISQUS

DISQUS Hello!  The comments on this profile are unclaimed and thus are unverified.

Do they belong to you? Claim these comments.

Ben Scheirman's picture

Unregistered

Feeds

aliases

  • Ben Scheirman

Ben Scheirman

4 months ago

in MonoDevelop 2.0 Beta 1 - Miguel de Icaza on Miguel de Icaza's blog
If I can get the thing to launch again to get repro steps, I'll definitely file a bug. Thanks.

4 months ago

in MonoDevelop 2.0 Beta 1 - Miguel de Icaza on Miguel de Icaza's blog
That's really cool, you guys have come a long way! I tried out MonoDevelop on the Mac earlier tonight and it's (as you mentioned) a bit flaky. What I saw looked pretty good though.

1) in your screenshot I see the menu in the OS X Menu bar, but when I run it it's embedded within the window itself, is this a setting?
2) when rearranging my toolbar panels (I only like 1 level, if that) I got into a state where the mouse couldn't drag one of the items up. The drag position was offset about 400 pixels from the mouse position...

I'm still doing some .NET development with VMWare Fusion / Win XP / Visual Studio 2008, but I am interested in trying out a pure-mac environment to see if I can even do it. Looks like we're not far away from that :)
1 reply
Michael Hutchinson's picture
Michael Hutchinson 1. I recently committed main menu integration, but it's currently disabled. The integration library we use isn't able to map our GTK+ custom menu items into the main menu cleanly, so they don't update correctly, and many are invisible. I think we need a P/Invoke binding for the Carbon menu API, so that we can do it properly.
2) Have you filed a bug?

We'll be focusing on stabilising the non-Linux platforms sometime after 2.0. That said, I've given it a spin on the Mac and right now it seems pretty usable apart from the occasional GTK+ redraw issue. If you do run into any problems, please file bugs. And of course, contributions are welcome anytime :-)

4 months ago

in Green Across the Board : Dave Donaldson on Arcware
You gonna convince the main office to do a nice, cool, BigVisibleCruise project for these? ;)
1 reply
arcware Hehe, yea, it'd be cool to do. Actually, I've thought of one better. At Telligent HQ there is a big Telligent sign above the receptionist desk right when you walk in the door. What would be really cool is to make it's backlight change color depending on the overall build status. That would be tight :-)

5 months ago

in Azure Table Storage Key Conventions : Simpable on Simpable
I was able to generate my tables at runtime like this:

protected void Application_BeginRequest()
{
TableStorage.CreateTablesFromModel(typeof(Models.BlogContext));
}

You can't do it in Application_Start because some stuff must not be loaded in time. In App_BeginRequest you can do it, and subsequent calls will be ignored (it won't erase your data).
1 reply
Scott Watermasysk's picture
Scott Watermasysk Subsequent requests actually fail silently with an exception and are not ignored. You should still do more to protect duplicate create requests: http://blog.smarx.com/posts/try-to-create-table...

I also still believe it is much smarter to pre-create your tables than to have to worry about them getting generated at runtime.

5 months ago

in Guidelines for Method Overloading : Dave Donaldson on Arcware
You can sometimes do away with the overloads if they become too cumbersome by applying the parameter object pattern.

GetGroupMembers( new GetGroupMemberOptions { GroupId = 52, Page=1, PageSize=20 });

it does affect readability, but you can use that to give you optional parameters & generally more control over the method signature.

6 months ago

in How to Link to Your Xbox Live Avatar : Dave Donaldson on Arcware
Sweet! Mine is here:

<img src="http://avatar.xboxlive.com/avatar/subdigital/avatar-body.png" />

8 months ago

in Papercut – Easy Email Testing : Simpable on Simpable
Very cool! I generally abstract out my email service behind an interface and use a FileBasedEmailService for testing, but this looks like a really good way to test actual SMTP.
1 reply
Scott Watermasysk's picture
Scott Watermasysk Hey Ben,
Correct. This certainly won't replace good design and other "proper" testing
strategies. But it should help when you need to let system actually process
the messages.

It should also be helpful for simply checking the email formatting.

-Scott

9 months ago

in My MVC Starter Template : Rob Conery on Rob Conery
The project template is only part of the solution. I'm thinking of extending the wizard that exists today.

Re: ViewEngine - When I said "you shouldn't" I didn't mean you can do it the way I suggested. I meant you should poke the team and ask them if they can add this. :)

9 months ago

in My MVC Starter Template : Rob Conery on Rob Conery
I think this is a great first step. It's opinionated, which is fine, and it allows people to hit the ground running, which is really powerful.

I share the notion that entities should _probably_ be in a separate dll, which enforces things like persistence ignorance. Also for my apps, we have many web applications share a common set of libraries, which you have baked in here. "90% of web apps" seems way too high to me (though I do agree with you in principal... most apps are too complicated).

In the future I'd like to see the File->New Project wizard go something like this:

-Name of project
-Create Test Project?
-nunit/mbunit/mstest (I think these templates should ship w/ the product)
-Which View engine?
- webforms
-nvelocity
-brails
-nhaml (again, these should ship)
-Entities/services/data access included? if not create separate projects, prompt for names
-DI framework
-StructureMap
-Windsor
-Ninject
-Spring
-Logging? (great idea)
NLog / log4net / EntLib


Another point of feedback... you shouldn't have to create your own view engine implementation if you just want to change the folder structure. You should be able to set those properties on whatever current view engine is in place.

Opinionated is good, but ultimately you'll get flamed for the choices you make :) I'm also thinking that this "uber-wizard" would probably be annoying and confusing to the beginner.

Maybe an MVC Template Generator where you decide these things once and it packages it up into a project template?
1 reply
robconery's picture
robconery Thanks Ben! The issue I face with this is how deep to chase the project down the Rabbit Hole - in other words the ProjectTemplate engine doesn't (without some programming) allow you to add extra projects.

Agreed RE entities however :).

RE the ViewEngine - didn't know that :). I had tried to do that and it didn't let me but maybe I did it wrong :).

RE Flamed - meh that's my job :). I appreciate your feedback :).

11 months ago

in Database Schema Compare & Upgrade on Emad Ibrahim
The Database comparison tools in DB Pro really aren't migrations. If you're looking for that, check out my post comparing some .NET Migrations here:
.NET Database Migration Tool Roundup

The Schema Comparison tool cannot help you when you are deploying a volatile change, such as adding a new NOT NULL column to a table that has existing data. You have to customize the script. It doesn't handle refactorings where you change the datatype of a column. Again you have to futz with the script.

Migrations capture the evolution of the database and applies these changes safely and in order.

Also I'd like to plug RedGate's SQL Compare, which is far better than DB Pro's Schema Comparison. It does cost money, but then again so does DB Pro.
Returning? Login