Tuesday, July 15, 2008

Yahoo, Microsoft and Google - YPN is the key for Yahoo

I like to keep an eye on the Search Engine world and like to think I know quite a bit about the SEO/SEM side of things. But even if I don't it seems abundantly clear to me.

Launch YPN (Yahoo Publishing Network) Yahoo! Lets assume that Yahoo does not have enough advertisers to do a national, much less a global, launch of YPN. This is where Google comes into play. Google could fill in with their adword/adsense inventory and share money.

Google - Are you listening? Do you want Microsoft and Carl Icahn to completely dismantle Yahoo? Maybe you do, less competition right? But it seems quite clear to me that Google has a soft spot for Yahoo and a big F U to Mr. Softie (MSFT).

Why the hell can't Yahoo, after 3+ years in beta, get YPN launched? This would probably make share holders happy (make me happy, and yes I own Yahoo stock). It would quite rapidly increase revenue both gross and net for Yahoo.

It's issues like YPN that is causing Yahoo to flounder and now on the brink of complete disassembly by Mr. "Make lots of Money and not give a shit about the company" Icahn.

WAKE UP YAHOO - WAKE UP GOOGLE - M$FT is lurking in the shadows..

Thursday, April 17, 2008

Screen Refresh Problems in Eclipse RCP Solved!

On my current project I was having some serious problems with screen refresh and I finally found a work around. The problem was I have a 4 pane perspective setup with 4+ views. The left half of the application area is a PDF viewer. When a user (me doing testing) would open a new PDF the fragments of the filedialog would remain overlayed during opening of the new PDF as well as the other views shifting over into the PDF area. The reason is because I had to do a HideView then ShowView. If I just did a close/open document function call in my swing PDF component the pdf component (I use icesoft IcePDF) would not always work. I am pretty sure this is due to the SWT to AWT bridge I have to do. So now here is the code to fix it!

Shell shell;
shell = getSite().getShell();
PDFView view = (PDFView)getSite().getPage().findView(PDFView.ID);
getSite().getPage().hideView(view);
shell.update();

Just doing a shell update seemed to do the trick, you may want to also look at this code if the above does not work for you. Look at the comments out code and it may be useful to you.

Shell shell;
shell = getSite().getShell();
// Display display = shell.getDisplay();
// Point shellSize = shell.getSize();
// shell.redraw(0,0,shellSize.x,shellSize.y,true);
PDFView view = (PDFView)getSite().getPage().findView(PDFView.ID);
getSite().getPage().hideView(view);
shell.update();
// display.update();

Thursday, March 6, 2008

Numeric Only in Eclipse RCP SWT Text Widget

If you wanted to make an Eclipse RCP SWT text field numeric only here is a simple validation you can do. More to come on this as I need better support then this for like money fields, etc.


Text startText = new Text(group, SWT.BORDER);
startText.setText(txt);
startText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
startText.addListener (SWT.Verify, new Listener ()
{
public void handleEvent (Event e)
{
String string = e.text;
char [] chars = new char [string.length ()];
string.getChars (0, chars.length, chars, 0);
for (int i=0; i < chars.length; i++)
{

if (!('0' <= chars [i] && chars [i] <= '9') && (chars[i]!='.'))
{
e.doit = false;
return;
}
}
}
});

Monday, February 11, 2008

Blackberry Outage for All Americas

My Blackberry isn't working and just OUT. Blackberry / RIM has said this is a severe critical outage that affects all 12 million users in the Americas. RIM has no official response to the cause or how long this will last. The last time we had this problem it was approximately 24 hours so this could be even worse.

Want to take bets how long? Post a comment and lets see who is closest!

Hold your breath berry-crackers! This could be painful!

Thursday, January 3, 2008

Desktop Tower Defense

If you need a break and just want to get away from work, life, family or friends I highly recommend this entertaining game call Desktop Tower Defense. It is a free online flash game and can provide many hours of playing. See if you can beat my current high score of 6400. Enjoye