Java vs .Not

Site traffic range by Alexa rank

or how to determine site traffic range in one moment

There are many traffic analyzing tools free available online. I will write review somewhen.

This post is about relationship between site Alexa rank and site traffic. This relationship is not obvious. Impossible to say exact site traffic number only standing on Alexa rank. But possible to determine more less precisely range: high and low limits between site traffic likely must to be.

Alexa Rank                    :       Monthly traffic, visits

1    -   10                        :       25B    -    1B
10   -  100                      :       1B      -     100M
100    -  1,000                :       100M  -    10M
1,000   -   10,000           :       10M     -    1M
10,000   -  100,000        :       1M       -    100K
100,000  -  1,000,000    :       100K   -    10K
1,000,000 –  3,000,000  :       10K     -    1K
3,000,000 – 10,000,000 :        1K      -     10

The simplest way to get Alexa rank displayed in browser when site visited is to install Alexa Sparky plugin.

Twitter API known limits

This post is attempt to write more shortly and understandable what is already written on related twitter pages.

So, known Twitter API limitations:

Read the rest of this entry »

Web design vs Wordpress

Compare Web Design and Wordpress popularity using Google Trends.

Wordpress ultimately win. Knowledge of Wordpress nowadays much more important than knowledge of html and css.

Web Design vs Wordpress

How to set hand cursor to all buttons

In nowadays web oriented world users expectations are that desktop application behave like web application.

And part of this that cursor must be changed when moving over button and checkbox controls.

Next code snippet satisfied needs:

Read the rest of this entry »

How to create hyperlink in desktop application

Suppose, we need link (hyperlink) in our desktop swing application, and clicking it should open specified page in default browser.

Try this code:

Read the rest of this entry »

How to create underlined label

Suppose, we need underlined label in our swing application. java.awt.Font doesn’t have this option.
But next code solves the problem:

JLabel clickItLabel = new JLabel("<html><u>Click It</u></html>")

How to start desktop application with Netbeans

Netbeans is great software. But sometimes very confusing. Netbeans have great java swing GUI editor with drag and drop palette. Use it. It is very helpful.

Netbeans have also Java Desktop Application option: File -> New Project -> Java -> Java Desktop Application – don’t use it. It seems to be helpful but creates more problems than solves.

Use regular Java Application instead and create your main class as JFrame Form.

Good Luck!

How to make multilined label

I want text on my JLabel object displayed in two lines.

Next code does do the work:

label.setText(" <html> first line <br> second line </html>");

Good set of web tutorials

The next site contains very good set of web related tutorials : html, ajax, php etc.
Very similar to w3schools and can be used as its addition or (in some cases) alternative.

http://www.tizag.com

Very interesting site with seo info

I discovered new progressive way to make bookmarks: saving links as posts in my blog.

This site contains immeasurable info about adsense and many many more

http://www.vaughns-1-pagers.com

How to remove component from container

Suppose we have JPanel with name panel and JButton with name button on it.

Try this code:
Read the rest of this entry »

How to check that site built using Wordpress

Sometimes developers remove “powered by Wordpress” label from bottom of wordpress based sites. It’s not illegal: Wordpress released under LGPL and keeping this label is not required by license. It’s correct for derivative works (themes and plugins) too.

Suppose we have www.possiblybuiltonwordpress.com site. How to be sure that wordpress really used?

Two ways each of them can be gone manually or programmatically:

Read the rest of this entry »

Made for Amazon blogs

Blogs made for AdSense is well known.

But this blog is not from their number. It is fine example of blogs made for Amazon. Called laptopantiglare and contains text and video info about anti glare screen protectors and pretty amazon widget with links to selling items (anti glare screens).

Alternatives and competitors to Google AdSense

Google on Your Shoe

A little out of date but still actual and cool. Memento more.

Google on Your Shoe
by Ron Castle www.roncastle.com

I am a website marketer; my friends all think I’m cool.
I sell stuff on the Internet, where my web rankings rule.
One day in May they dropped from sight, were no place to be found.
Google took my website ranks and sent them underground.

If you smell something funny when you’re on the Internet,
You think it’s body odor, loss of rankings make you sweat,
But it really smells much worse than that, it’s worse than doggie poo,
You weren’t watching where you step; it’s Google on your shoe.

First week of May two thousand six, there was a Google crash.
Their content filter went bizarre, bad websites made a dash
Right into the index where they’d never been before.
Good content that they should be crawling totally ignored.

Google says they do no harm, but didn’t say a word
That anything was wrong or that this even had occurred.
Of course it’s good for AdWords, but they say they never do
Anything organic that would make you need them, true?

The moral to this story is that Google’s not your friend.
Friends will tell you when they’re wrong, be truthful to the end.
They will not betray your trust and will not make you blue.
Which is why you should be careful, don’t get Google on your shoe.

So, if you smell something funny when you’re on the Internet,
You know your SEO is good, you’ve nothing to regret,
And all your pretty pages simply disappear from view,
It wasn’t anything you did; it’s Google on your shoe.

How to refresh PHP project in Netbeans

I used to use netbeans for php development. Sometimes it more simple to enter new files directly to project

folder without using IDE. But these files is not viewable in IDE.

There is a lack of refresh button for netbeans php project menu.

Workaround is very simple: right click on -> Properties -> Ok. This will cause IDE to start

scanning projects.

Best PDF Search Engine finished!

bestpdfsearchengine.com is finished, deployed, tested a litle.

Historically it was not a goal to create such application, but rather a custom search to my another GWT base application. I wanted to create some working prototype  using Google Ajax Search API and GWT. But being close to finish i decided deploy it as separate application and even bought domain. Domain name a bit bombastic, but target right keywords :P .

After buying domain i realized that with this application i am violating google’s ajax search api terms of usage:

>You will not, and will not permit users or other third parties to:

  • incorporate Google Search Results as the primary content on your Property or any page on your Property;

I am not alone here. These sites http://www.data-sheet.net/ and http://www.pdfsearchengine.org/ do the same.

So, i must to say that i really don’t want to be evil! It is temporary. I will make big post will detailed explanation how this application was built and embed application  to page and will remove it from separate domain. I also write post about how to embed GWT application to wordpress custom page. I will be good and create unique content and make internet better. Soon.

I started to submit it to directories, so below is reciprocal links required by these directories sites:
Free Credit Check
Free East Web Directory
Seo friendly directory
Domain Link Exchange
A List Directory
Directory Submission WebDirectory
Eye Injuries
Suggest Your Link Here
Findsome.info
A Web Directory
LinksPremium.com
WebTrafficGenie.com
Free Web Directory – TheShoppings.Com
Linktome
Pblake Directory

How twitter makes money?

How twitter makes money ? This is the question which excites many geeks.

Very popular in the web opinion, that twitter does not makes money.  Really: no premium accounts, no ads. Nothing.

But if you look at twitter.com by “aided eye” you can see that there are “222 sites with this GA id”. What are these sites? What they do? Besides, there are many sites with another GA id which have word twitter in their domain names.  Unlikely that Twitter permits to independent sites to use its name without payment.  In short, subject worth to research.

Want to show “mobile” or “phone” site version — check user agent

So, you (i, we) want to show to our site phone  visitor “mobile” (intended for phone users) version of the site.

First of all we must detect “mobile” request. To do this we must check user agent header from request.
Read the rest of this entry »