![]() |
| Munster Champions V Leinster - 20110528 |
Sunday, May 29, 2011
Sunday, May 15, 2011
Wednesday, May 11, 2011
Non-EU nationals on a rugby team - changes to restrictions
Great article on Frankie Sheahans blog about Kolpack and Zambrano players, and how that effects the number of non-EU nationals that can play on a rugby team.
SOURCE:
http://frontrow.ie/blog/index.php/2011/05/10/a-non-eu-nationals-legal-case-becomes-a-sporting-term-and-has-a-huge-effect-on-rugby/
Saturday, May 7, 2011
Gravity Probe B proves Einstein right
47 years in the making, 13 new technologies invented for just one experiment, to prove that space-time around Earth is distorted according to General Relativity.
SOURCE:
http://science.nasa.gov/science-news/science-at-nasa/2011/04may_epic/
SOURCE:
http://science.nasa.gov/science-news/science-at-nasa/2011/04may_epic/
Tuesday, May 3, 2011
Monday, May 2, 2011
Friday, April 15, 2011
Steven Sasson - Inventor of the Digital Camera in 1975
Check out the modular storage solution:
Inventor Portrait: Steven Sasson from David Friedman on Vimeo.
SOURCE:
http://www.broadsheet.ie/2011/04/15/we-owe-him-so-much/
Inventor Portrait: Steven Sasson from David Friedman on Vimeo.
SOURCE:
http://www.broadsheet.ie/2011/04/15/we-owe-him-so-much/
What 8 Bit Video games Can Teach Us About Usability
Great article over on spyrestudios about the usability techniques that the 80's video games of our childhood employed, within the constraints of limited resources:
- Use lack of colour to create atmosphere - Super Metroid
- Use vibrant colours and shapes to convey futuristic themes - Mega Man 3
- Use unconventional concepts to capture the imagination of the user - Super Mario 2
- Use colour to convey status changes - Mega Man 3, Super Mario
- Define a clear pathway of how the user progresses through the system - Super Mario
See the SOURCE link below for the full article.
SOURCE:
http://spyrestudios.com/what-8-bit-video-games-can-teach-us-about-design-and-ux/
Monday, April 11, 2011
ASP.NET CheckboxList Validation with RequiredFieldValidator
In order to use a RequiredFieldValidator with a CheckBoxList, you need to define your own CheckBoxList class that inherits from CheckBoxList , but also implements a ValidationPropertyAttribute method:
You can then create a ValidateableCheckBoxList and point a required validator's controlToValidate attribute to it.
SOURCE:
http://pedroliska.wordpress.com/2009/08/13/getting-an-asp-net-checkboxlist-to-work-with-a-requiredfieldvalidator/
[ValidationPropertyAttribute("ValidateableProperty")] public class ValidateableCheckBoxList : CheckBoxList { public string ValidateableProperty { get { string result = ""; int count = 0; foreach (ListItem item in this.Items) { if (item.Selected) { count++; } } if (count > 0) { result = count.ToString(); } else { result = ""; } return result; } } }
You can then create a ValidateableCheckBoxList and point a required validator's controlToValidate attribute to it.
SOURCE:
http://pedroliska.wordpress.com/2009/08/13/getting-an-asp-net-checkboxlist-to-work-with-a-requiredfieldvalidator/
Saturday, April 9, 2011
New Shock Wave Generation Hybrid Engine
The engine has a rotor that’s equipped with wave-like channels that trap and mix oxygen and fuel as the rotor spins. These central inlets are blocked off, building pressure within the chamber, causing a shock wave that ignites the compressed air and fuel to transmit energy.
SOURCE:
http://derrenbrown.co.uk/blog/2011/04/engine-sends-shock-waves-auto-industry/
Friday, April 8, 2011
Sunday, April 3, 2011
Wednesday, March 23, 2011
ASP.NET Membership User Locked
PROBLEM:
ASP.NET membership user password cannot be reset
CAUSE:
User account is locked (caused by incorrect password being entered numerous times)
SOLUTION:
Unlock user account using SQL query:
DECLARE @return_value int
SOURCE:
http://codinglifestyle.wordpress.com/2010/02/13/unlock-user-via-database-query-asp-net-membership/
ASP.NET membership user password cannot be reset
CAUSE:
User account is locked (caused by incorrect password being entered numerous times)
SOLUTION:
Unlock user account using SQL query:
DECLARE @return_value int
EXEC @return_value = [dbo].[aspnet_Membership_UnlockUser]
@ApplicationName = N‘applicationName’,
@UserName = N‘user’
SELECT ‘Return Value’ = @return_value
GO
SOURCE:
http://codinglifestyle.wordpress.com/2010/02/13/unlock-user-via-database-query-asp-net-membership/
Thursday, March 3, 2011
ASP.NET AJAX JS Error - Sys.InvalidOperationException: Two components with the same id 'x' can't be added to the application.
ERROR:
Sys.InvalidOperationException: Two components with the same id 'x' can't be added to the application.
CAUSE:
Sys.InvalidOperationException: Two components with the same id 'x' can't be added to the application.
CAUSE:
ASP.NET Ajax Control Toolkit generated javascript code is in debug mode, which has extra checks that throw this error.
SOLUTION:
Set debug="false" in the web.config.
Monday, February 21, 2011
Monday, February 7, 2011
ASP.NET LINQ Union Distinct not working
Using Union(....).Distinct() not producing a distinct list when unioning a list of complex objects.
CAUSE:
Union() and Distinct() don't know which member of the object to use in their comparisons.
SOLUTION:
1. - IEqualityComparer needs to be defined to specify what fields of the object to compare:
public class MyComplexObjectComparer : IEqualityComparer
{
public bool Equals(complexObject a, complexObject b)
{
return a.Id == b.Id;
}
public int GetHashCode(complexObject obj)
{
return obj.Id.GetHashCode();
}
}
2. - Pass this comparer into the Union:
.Union(lockedout, new MyComplexObjectComparer()).Distinct;
SOURCE:
http://blog.dreamlabsolutions.com/post/2009/06/23/Enumerable-Except-TSource-and-IEqualityComparer-a-little-help.aspx
CAUSE:
Union() and Distinct() don't know which member of the object to use in their comparisons.
SOLUTION:
1. - IEqualityComparer needs to be defined to specify what fields of the object to compare:
public class MyComplexObjectComparer : IEqualityComparer
{
public bool Equals(complexObject a, complexObject b)
{
return a.Id == b.Id;
}
public int GetHashCode(complexObject obj)
{
return obj.Id.GetHashCode();
}
}
2. - Pass this comparer into the Union:
.Union(lockedout, new MyComplexObjectComparer()).Distinct;
SOURCE:
http://blog.dreamlabsolutions.com/post/2009/06/23/Enumerable-Except-TSource-and-IEqualityComparer-a-little-help.aspx
Thursday, January 27, 2011
IIS 6 Error - Port in use when binding a wildcard SSL to multiple sites
Port in use error occurs when 443 is set as SSL port on multiple site in IIS 6.
CAUSE:
SecureBindings metabase property is not set.
SOLUTION:
Run the following from cmd:
C:\Inetpub\AdminScripts\cscript.exe adsutil.vbs set /w3svc/SITEIDENTIFIER/SecureBindings ":443:HOSTHEADER"
where SITEIDENTIFIER and HOSTHEADER are replaced.
SOURCE:
http://www.sslshopper.com/article-how-to-configure-ssl-host-headers-in-iis-6.html
CAUSE:
SecureBindings metabase property is not set.
SOLUTION:
Run the following from cmd:
C:\Inetpub\AdminScripts\cscript.exe adsutil.vbs set /w3svc/SITEIDENTIFIER/SecureBindings ":443:HOSTHEADER"
where SITEIDENTIFIER and HOSTHEADER are replaced.
SOURCE:
http://www.sslshopper.com/article-how-to-configure-ssl-host-headers-in-iis-6.html
Photoshop CS4 – Fix : Error: 148:3
POSSIBLE CAUSE:
Flexnet Licensing Service not running
SOLUTION:
- Start->Run, type services.msc
- Find Flexnet Licensing Service and right-click
- Click Start if possible, otherwise click Properties, and set service to run automatically.
Source:
http://forums.adobe.com/thread/375447
Flexnet Licensing Service not running
SOLUTION:
- Start->Run, type services.msc
- Find Flexnet Licensing Service and right-click
- Click Start if possible, otherwise click Properties, and set service to run automatically.
Source:
http://forums.adobe.com/thread/375447
Sunday, January 23, 2011
Wednesday, January 5, 2011
Subscribe to:
Posts (Atom)











