Posts Tagged ‘Work’

google two-step authentication

Sunday, October 3rd, 2010

A couple of weeks ago, google announced a 2-factor authentication system for its marketplace apps (for government and education only, just now)

in their statement Google said : “Two-step verification is built on an open standard designed to allow integration with other vendors’ authentication technologies in the future. We are also open sourcing our mobile authentication app so that companies can customize it as they see fit.”

so i was wondering where is the code for this open source project? yours truly buzzed the question to Ryan Boyd who blogged it at the Google Apps developer blog and he replied with an answer:

the open source project:
http://code.google.com/p/google-authenticator/

It’s based on OATH (unrelated to OAuth):
http://www.openauthentication.org/

Thanks Ryan

Microsoft Search LIKE statement oddity

Monday, August 31st, 2009

I was working on a project involving Search server and building a search query according to user input, I had stumbled upon a weird bug in the LIKE statement, which caused the query to miss out on relevant data. simply put, the like statement will fail on long strings, I was trying to compare some long pipe concatenated metadata as follows “|item a|item b|…” the LIKE statement would work for item A but for items further along the line it failed silently, not returning results. i counted to the threshold, it was 64 characters. that was odd. searching this issue returned nothing (like is a difficult search term) so I solved the problem with plan B and carried on.

Today i came across a post stating that this in fact is a known limitation, known to who you might ask?

Well, to Steve Curran MVP which cleverly disclose : 

"Yes this is a known limitation. You should avoid using the LIKE predicate in FullTextSQL and use the CONTAINS predicate. It works very well with the Path managed property. In you case just do CONTAINS(Path,’http://servername/sitename/listname/folder’)."

Thank you Steve.

Indeed using a CONTAINS statement will solve the problem and will not (in my specific case) impact rank.

If you read this, HTH.

AtBroker.exe remote desktop error

Tuesday, June 23rd, 2009

this had been a long time issue for me.

When you are trying connect to a remote desktop which happens to be a windows server 2008 – but can be a vista edition as well, you sometimes get this despicable error message :

AtBroker.exe

The application failed to initialized properly…

And than the black screen of death. (yes black)

What i used to do was restart the machine from another machine using command line, or just go to sleep. (embarrassing i know)

Strangely enough, I was not able to find a solution to this problem.

Today, finally, after receiving this error once again, the Google karma was in my favor and the solution popped up immediately at Spat’s blog

CTRL+ALT+END will get you to the logoff screen, I just choose to lock the machine than entered the password again.

And I was in.

Ahh.. the pains one will go through to stay late at night and work…