Wednesday, July 21, 2010 7:01:42 PM
almonds, blue diamon maui onion and garlic
Hey!
What the hell happened to this product?
All of a sudden I can't find it anywhere in the stores in Iowa, plus I can't buy it anymore online!
And it's missing from the Blue Diamond's website:
http://www.bluediamond.com/index.cfm?navid=31I got a response from the Customer Service:
Thank you for your inquiry. We no longer offer this product.
It is a strategic sales and marketing decision. Periodically, Marketing will make a decision to phase out a particular product/flavor to introduce new products/flavors.
Wednesday, June 2, 2010 6:08:43 PM
spring3, spring-ws
The answer to that question is
hereAnd I guess the best thing to do would be to wait for Spring-WS 2.0 and use it with Spring 3.0
Tuesday, April 21, 2009 1:48:02 PM
H1-B, H1B, usa, USCIS
...
On April 20 the USCIS department announced of an update for the FY2010 H1B petition filing.
Up to this date the 65,000 quota was not filled up yet, there were only 44,000 applications so far, which means there are a lot of chances for those who applied this year to get an H1B visa.
This is the link to the newsUPDATEOn May 18, USCIS released an update where they said that approximatively 45,500 applications were filled so far.
Link to the updateUPDATEOn May 5, USCIS released an update where they said that approximatively only 45,000 applications were filled so far.
Link to the updateUPDATEOn April 28, USCIS released an update where they said that approximatively only 45,000 applications were filled so far.
Link to the update
Thursday, March 19, 2009 6:10:12 PM
oracle, db2, regexp, regular expressions
...
How to use regular expressions in a DB2 select query?
The simple answer is you can't. But if you are very insistent you can acheive that.
A lot of RDBSes have built in support for regular expressions, why doesn't DB2 has one? I have no idea.
In MySQL you do
REGEXP, NOT REGEXP or RLIKE. here is
another link.
In Microsoft SQL Server 2000 you call
xp_pcre. In Microsoft SQL Server 2005 you call
integrated .NET Regex classes from .
In PostgreSQL you call the
regexp functions, here is
another link.
For Oracle here we have a bunch of resources:
First,
second and also on
regular-expressions.infoIf you'll do a search on DB2 regexp you will stumbled upon this IBM article:
http://www.ibm.com/developerworks/data/library/techarticle/0301stolze/0301stolze.htmlWhich I found very interesting.
Thursday, March 12, 2009 5:57:34 PM
java, string, immutable
I read an article about "how much" immutable the java.lang.String class.
The article says that the String class is a classic example of an immutable class - but is it?
Read the article
Wednesday, January 21, 2009 2:59:58 PM
I was reading today about a nice library for java for monitoring performance, looks really neat.
Check it out at:
http://perf4j.codehaus.org/Documentation:
http://perf4j.codehaus.org/devguide.html
Friday, December 19, 2008 3:27:32 PM
mailsession, java, javax.mail.Session, spring
...
The full exception is:
org.springframework.beans.TypeMismatchException: Failed to convert property value of type [javax.mail.Session] to required type [javax.mail.Session] for property 'session'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [javax.mail.Session] to required type [javax.mail.Session] for property 'session': no matching editors or conversion strategy found
Caused by:
java.lang.IllegalArgumentException: Cannot convert value of type [javax.mail.Session] to required type [javax.mail.Session] for property 'session': no matching editors or conversion strategy found
In my case when I got this exception, what I did is moved the activation.jar and mail.jar file from the web app lib directory to CATALINA_HOME/common/lib.
And it worked just fine.
Thursday, December 18, 2008 5:40:00 PM
SetOption, SetPassword, ADAM, AuthenticationType
...
Today I was fighting with a problem at work.
If I tried and set the password in ADAM in C# it gave the next error:
Message: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x80005008): Exception from HRESULT: 0x80005008.
As described in this page:
http://social.technet.microsoft.com/forums/en-US/exchangesvrdevelopment/thread/bb518eb3-02cb-4b3c-9a18-4ce85f245131/They say there is a fix for that from Microsoft. I didn't try that but I found another solution to my problem.
So, I was:
1. Going against ADAM
2. Through SSL
3. .NET 1.1
The code I had was exactly from the page above:
de.Invoke("SetOption", new object[] {(int)ADS_OPTION_PASSWORD_PORTNUMBER, (object)_portNo });
de.Invoke("SetOption", new object[] { (int)ADS_OPTION_PASSWORD_METHOD, (object)ADS_PASSWORD_ENCODE_CLEAR});
de.Invoke("SetPassword", new object[] {newPassword});
What is sneacky here is the
ADS_PASSWORD_ENCODE_CLEAR constant, btw the constants are declared like:
const long ADS_OPTION_PASSWORD_PORTNUMBER = 6;
const long ADS_OPTION_PASSWORD_METHOD = 7;
const int ADS_PASSWORD_ENCODE_REQUIRE_SSL = 0;
const int ADS_PASSWORD_ENCODE_CLEAR = 1;
As you can see the
ADS_PASSWORD_ENCODE_REQUIRE_SSL is not used in my case.
So, what I had to change is from this:
de.Invoke("SetOption", new object[] { (int)ADS_OPTION_PASSWORD_METHOD, (object)ADS_PASSWORD_ENCODE_CLEAR});
To this:
de.Invoke("SetOption", new object[] { (int)ADS_OPTION_PASSWORD_METHOD, (object)ADS_PASSWORD_ENCODE_REQUIRE_SSL});
And it worked.
Remeber this is changing the password in ADAM through SSL.
And by the way on your DirectoryEntry object set the
AuthenticationType to
AuthenticationTypes.SecuredSocketLayerRelated links:
1.
http://msdn.microsoft.com/en-us/library/aa772136(VS.85).aspx2.
http://msdn.microsoft.com/en-us/library/system.directoryservices.authenticationtypes.aspx3.
http://social.technet.microsoft.com/forums/en-US/exchangesvrdevelopment/thread/bb518eb3-02cb-4b3c-9a18-4ce85f245131/4.
http://www.techreplies.com/windows-2003-77/setting-user-passwords-adam-vb-net-466581/5.
http://directoryprogramming.net/forums/9/ShowForum.aspx