Welcome to Hardcode Sign in | Join | Help

February 2008 - Posts

Power.com has an adapter both for Facebook apps to run on OpenSocial containers and for the reverse, really cool stuff.
 

Do you remember this guy? Back 10 years ago he was one of the best Quake players, I was surprised to see now he's also a successful entrepreneur doing gaming-related products.

Ok I couldn't believe but it's true - it kicks the s**t out of it. Even if Oracle has 100MB of RAM occupied without doing anything and it has like 5 services started, queries run instantly and the website is much snappier than with Sql Server. Oh and don't even think to start the migration without this, it's simply excellent.

Yey! At last a decent data control in asp.net (even if it's in 3.5, better late than never...)

See here a preview video - really cool, I wonder if those shaders are HW accelerated though (yes they are) (via Tudor)

Check this it really looks nice.

If you are coding a social network website you may want to take a look at how Facebook has designed their custom controls, they sure look interesting and as bonus you'd have 50% of the Facebook API implemented.

I wrote a simple LinkButton adapter to generate more user-friendly href for LinkButtons, so instead of

javascript:__doPostBack('ctl00$ctl00$ContentPlaceHolder3$ContentPlaceHolder1$Friends1$box$FriendsRepeater$ctl00$ctl00$ActionButton','') ^^^^ ugly, right ? :)

you will now have: javascript: ActionButton();

Here it is:

public class LinkButtonAdapter : System.Web.UI.WebControls.Adapters.WebControlAdapter
{
public LinkButtonAdapter()
{
}

protected override void RenderBeginTag(HtmlTextWriter writer)
{
LinkButton c = (LinkButton)Control;
string key;
if( c.CommandArgument.Length == 0)
key = c.ID;
else
key = c.ID + "_" + c.CommandArgument;

Page.RegisterStartupScript( key, "<script type='text/javascript'>function "+key+"() { "+Page.GetPostBackEventReference(Control)+"; }</script>");
writer.AddAttribute( HtmlTextWriterAttribute.Href, "javascript:" + key + "();");

base.RenderBeginTag(writer);
}
}

Whoa! At last, the dreaded Vista issue seems solved, Mark Russinovich is telling us the details, I still can't figure out how the "improved copying" has slipped in the first place.
Check for yourself here :) Now let's hope the traffic flow will drive the subtitles creation forward.