Nvidia Tesla Desktop SuperComputer Notes

Nvidia has developed a desktop super computer based on graphics processing units.   I will keep my notes on the subject here.

This will probably be a good area for people to get in early.  It is going to enable many things.  There are currently probably not many people who have experience with these computational techniques.

GPU processing architecture

 

In a GPU more transistors are devoted towards processing than data caching and flow control.  More specifically, the GPU is especially well-suited to address problems that can be expressed as data-parallel computations – the same program is executed on many data elements in parallel – with high arithmetic intensity – the ratio of arithmetic operations to memory operations. Because the same program is executed for each data element, there is a lower requirement for sophisticated flow control; and because it is executed on many data elements and has high arithmetic intensity, the memory access latency can be hidden with calculations instead of big data caches.

 On page 57 of reference #1 an example matrix multiply is detailed with example code.  Matrix multiplication is very important to many different types of simulations.

References

  1.  NVIDIA CUDA Compute Unified Device Architecture
  2. Thread – A thread of execution is a fork of a program into two or more concurrently running tasks. The implementation of threads and processes differs from one operating system to another, but in general, a thread is contained inside a process and different threads in the same process share some resources (most commonly memory), while different processes do not.

Long hand division generation of polynomials

Do a long hand division of [pmath] 1/{1-x} [/pmath] 

x greater than or equal to 1 does not result in convergence of this sum.  However this algorithm can still be used to do some interesting things.  Let us use a complex value of  [pmath] x = .707+.707i [/pmath] 

Each power of x yields a result one step around this unit circle. Thus this series is the Z transform of the associated sequence.  [1,0] , [0.707,0.707] , [0,1] ……. This sequence is [pmath] Sin( (n-1)*pi/{4}) [/pmath] 

Thus the z transform of this sequence is:   [pmath] 1/{1-(0.707+0.707i)*x}    [/pmath] 

If you want to get express in terms of n instead of n-1 you can multiply by 1/x.  Since x is the place holder it is easy to see if you want to slide a series one unit to the left by dividing by x. 

[pmath] Sin( n*pi/{4}) [/pmath]   : note this series starts at 45 degrees phase!

 

More information:

Z transform of and exponentially decaying sequence

The series:  [pmath] x^n  [/pmath]    [pmath]doubleleftright[/pmath] [pmath]1+ x + x^2 + x^3 + ….  = 1/{1-x}    n=0,1,2… [/pmath]   this converges for x < 1 : Both of these expressions are the Z transform of the [pmath] x^n  [/pmath] exponential decay sequence.  The first expression is easier to deal with because it is smaller and easier to work with.  The following diagram uses a decay sequence with [pmath] x = 0.75  [/pmath]

 

The filter takes what ever input it is fed and every interval multiplies it by 0.75.   To see the filters time response you can thus feed in a single ping.  This results in the filter output tracing out a special response.  This  is called the impulse response. It is the same as the filter plot above.

The exponential decay is maximum entropy.  That is to say this is how concentrated things soak out into the rest of the world as they become more dilute. 

Convolution of time signals using polynomials-The Super Easy Z transform

[pmath] 1+x+x^2 [/pmath] [pmath size=16] * [/pmath]   [pmath]  1+x+x^2 = [/pmath]  [pmath]1+2x+3x^2+2x^3+x^4[/pmath]

  • The filter is the sum of the last 3 signal samples. 
  • The signal is a pulse set of three ones.  The signal arrives 1 sample at a time.

Polynomial convolution diagram showing how coefficient of multiplied polynomials correspond to signal amplitudes

Notice the coefficients of the multiplied polynomials are equal to the signal output values at times 0 through 4.

If instead of using X as our variable we could use Z and we would see that all this is the Z transform.   The following principle is true for the above signal and filter.  It is true in general.

    Signal convolved with Filter    [pmath] doubleleftright [/pmath] Transform of signal [pmath size=16] * [/pmath]  Transform of filter

Notice that the powers of X perform the function of place holding for location in time.  They keep track of what we can tally and these tallies correspond in power of X to time.  Time=4 corresponds to powers of 4 of X.

Two 2 dimensional determinant of a matrix animation showing it is equal to the area of the parallelogram

The 2 dimensional determinant of a matrix can be interpreted as the area of a parallelogram as shown in the following diagram.

Numeric Example

[pmath]  det (matrix{2}{2}{2 1 1 2}) = 2 * 2 – 1 * 1 = 3 [/pmath]

Compare that with the old fashioned area of two triangles that make up the parallelogram:

[pmath]  Area Paralelogram = 2 * {1/2} * Base * Height [/pmath]

Using Pythagoras:

[pmath] Height = {3/sqrt{2}}  [/pmath]

[pmath] Base  = sqrt{2}  [/pmath]

[pmath] Area Parallelogram = sqrt{2} * {3/sqrt{2}} = 3 [/pmath]

 

 

This carries on through higher dimensions.  Below depicts a 3 variable system.

The rows r1, r2, r3 are vectors each. The various summations taken 1, 2 and 3 at a time define a parallelepiped. 

 

The following excerpt is from X and may yield some insight when maximum entropy principle is applied. ( still working on this )

Candidate WordPress PlugIns

My Page Order – allows you to order pages and hierarchy of pages with drag and drop interface – good to combine with a drop down menu theme.  See this demonstration video.

wPopularity – ranks pages  in terms of popularity. – requires WordPress.com Stats is installed.  I use statpress so this is out for me!

wPopularity – Wordpres Plug-In – different version that appears not to require wordpress stats plugin.  I have statpress.

Popularity Contest – Popularity Contest keeps a count of your post, category and archive views, comments, trackbacks, etc. and uses them to determine which of your posts are most popular. There are numerical values assigned to each type of view and feedback; these are used to create a 'popularity score' for each post.   Widget – Popularity Lists Widget

WP-PageNumbers – Pagenumbers at the bottom instead of just "Back"  – you can see this one active in the search results page of this blog

WP-o-Matic – WP-o-Matic makes autoblogging a snap by automatically creating posts from the RSS/Atom feeds you choose, which are organized into campaigns.  This can be put to other purpose than just plagarism junk sites!  Has photo caching nudge nudge wink wink.

WP-CMS – WP-CMS is a plugin for Wordpress that changes the functionality of the Wordpress admin backend to act more like a CMS. The blog functionality becomes optional and the focus is on writing pages to make Wordpress as user friendly for you and your clients as possible.

Comic Press Manager – If I could ever get Dave drawing for a blog

RB-Internal-Links – allows wiki like liking to other internal pages

WP-Orderposts – This plugin allows you to order posts by context (i.e. if you don't want to order posts by date).

Wordpress.com Popular Posts – Wordpress.com Popular Posts lists the most popular posts on a wordpress powered weblog. This list can be used in the sidebar to show an indication of which are the most visited pages.

 WP-Donators– People can donate and submit name/URL or TextLink ad. The information of the latest donors are displayed in the cloud.

Are PayPal – This plugin is used to monetize wordpress blog content using PayPal. It is designed to sell your knowledge.

phpinclusion – to learn more about wordpress and php.  Can insert php statements into posts.  Could be very helpful for non blog applications. Inline-php – performs a similar function

My Page Order to manually set the page orders with a drag and drop interface

Subpage Listing -Subpage Listing allows you to take full advantage of WordPress Pages' hierarchy by generating a navigational tree of the pages below them (subpages). For example, say you have a parent page called "Parent." Now, say you have 3 pages under "Parent," called "Child1," "Child2," and "Child3." Now, say that you have 2 pages under "Child2" called "Grandchild1" and "Grandchild2."

WP Calais Auto Tagger – With the Calais Auto Tagger plugin, you'll never have to think of tags for your posts again. The plugin uses the Open Calais API to perform semantic analysis of your post text and suggest tags for you. The plugin adds a new "Get Tags" button to your post interface which retrieves the suggestions, and an "Add These Tags" button which adds the suggested tags to the post.

runPHP – User can embed php in posts. Permission to use runPHP is controlled by Roles and Capabilities.

Multiple Authors –  Allows multiple authors to be listed for each entry, automatically keeping track of who has edited the entry.

Nuconomy Insights -Deep, actionable behavioral insights. Insights into what causes users to do certain activities (e.g. post, comment, share, trackback, etc.). Everything is exposed via a two-way API, allowing the insights to be acted upon immediately vs. just being included in a report. Our API implements four ways: JavaScript; ActionScript; Silverlight; and Server side (REST/SOAP).

WP Post Columns – Allows you to easily create columns within your posts for a magazine / newspaper style layout.

 inline-javascript – Plugin that insert inline javascript in Posts/Pages

Google Maps for WordPress – This plugin allows you to easily insert Google Maps into your blog, making use of the new shortCode system in WordPress 2.5. The maps can be configured to offer directions to or from the location, show or hide the zoom/pan controls, show/hide map type (street view, satellite, etc), activate zoom using mouse wheel, and more. PHP5 Required.

Custom Field Widget – The Custom Field Widget displays values of custom field keys, allowing post- and page-specific meta sidebar content with limitless applications.  Appears to be a good way to experimentally learn about Wordpress

Advanced Wiki Links – This is a Wordpress filter plugin that will format post content to link to other post based on post title and categories based on category name.

AdSense Revenue Sharing 1.2 – AdSense Revenue Sharing is a wordpress plugin which allows you to easy display ads in your posts by using a quicktag and share your adsense impressions with your friends and co-authors. To dispaly the ads you can either insert anywhere in your post or use the quicktag button. For configuration go to Options>Revenue Sharing

WP-Live-Chat – This plugin is an IRC web client for your blog. Enter a simple code to your page or post to create an instant chat room for your visitors. Now Supports Freenode chat-rooms.

WP-Debug – Developers now have the ability to dynamically see what's going on behind the scenes when your page is rendered with help from the Krumo Framework. With it you can display information about GET/POST requests, session variables, server information (from php.ini), included files, variables, and more!

WordPress Realty  – EZ Pro Realty developed this free plugin to provide website owners with truly easy to manage easy to integrate listings management features into their WordPress blogs.

 WP Development Utilities 

post2pdf 

IM Online

lexicon – This plugin is used to create a simple yet effective lexicon which might be useful when you optimize your blog for search engines like Google, Yahoo, etc…because it automatically replaces keywords in your blog posts and links them to the appropriate lexicon entry page with content you defined before.

Table of Contents – The table of contents plugin generates a table of contents from a post or page.

Edgeio Classifieds

JunxterAds

YAK for WordPress – Shopping cart

Snazzy Archives – Snazzy Archives is a visualization plugin for your WordPress site featuring an unique way to display all your posts. Your archive page will never be boring again!

Batch Categories – This WordPress plugin lets you batch edit your posts: assign multiple posts to a category or delete multiple posts from a category in one fell swoop. Version 1.2 and above also support WordPress 2.3’s in-built tagging system, allowing you to tag and un-tag multiple posts at once.  Notes in a wordpress forum suggest this plugin has issues.  The screen shot looks very useful.

WP-Cats – WP-Cats augments the Manage Posts screen with Ajax controls that allow two-click adding and single-click removing of categories from individual posts.

Cross-linker – This plug-in automatically hyperlinks selected words to defined URLs. The hyperlinking process works in posts and comments (given as an option) currently.   Acts like alink which I already have installed.

KB Linker  KB Linker will link phrases you specify to sites you specify. For example, you could make it so that whenever "Wordpress" occurs in a post it is automatically linked to wordpress.org. All you do is enter keyword/URL pairs into the Options=>KB Linker page in your admin menu. The plugin file is commented extensively, so if you want to tweak its behavior, give it a go.

Link Harvest   Link Harvest will go through all of your posts and pages and compile a list of all external links. Then it will create a live updating linkroll for you, based on your actual linking activity….. Could possibly be used to create an index of sorts.

Ebay Sales Lister  The Ebay Sales Lister is a WordPress plugin that lets you display a list of ebay auctions/sales on your WordPress blog. Your ebay auctions will be presented with their title, the remaining time and the current bid in the sidebar of your blog. Therefore you will need to use a WordPress theme that provides you with a sidebar. (Note: You can of course display the ebay auctions for any ebay username, so it does not necessarily have to be yours.)

CommentMilk – When a reader submits a comment and enters a URL in their comment, CommentMilk will check to see if a Wordpress feed exists. If a one does, CommentMilk grabs the latest post and will add it to the end of the users comment. What makes CommentMilk unique is the ability to give your readers the options of typing in a keyword to replace the latest post link. CommentMilk can also help run contests. You can add "campaigns" that will add extra fields that you specify to the comment form. You specify the amount of points the reader should receive for filling out for filling out these fields, and the points are generated when the reader submits the form.

zLinks – like alinks but pops up small window with multiple links.  More flexible because of this.

WP Tuner  – The (mu-compatible) WP Tuner plugin for WordPress is a powerful and easy to use way to answer many hard questions about why your blog is slow or cranky. What's causing the slowdown? Is it a plugin? Is it your host?  Used with a bit of common sense, this powerful plugin will help blog administrators as well as software developers improve their WordPress blog performance.

Evermore – Evermore automatically abbreviates all posts when they appear on a multiple-post page such as the main blog page. It has the same effect as putting <!–more–> after the first paragraph of every post. All formatting and HTML tags are preserved in the abbreviated post.   PlugIn Webpage

7Hide – allows for using [hide] tags.

Google Analyticator  Google Analyticator adds the necessary JavaScript code to enable Google Analytics logging on any WordPress blog. This eliminates the need to edit your template code to begin logging.

In The Loop – Not all plugins provide a way to automatically attach code before or after the post content. Or you might have some other HTML, CSS or JavaScript you’d like to include with every post. Now’s your chance. With In The Loop you can easily add any code you like to your posts and pages, and not have to do any messy edits to your theme files either. The plugin provides an options panel with two input boxes. One is for content you want to appear before your post, the other for after it. Each box comes with a set of options to control whether to show it on Teasers, Single Posts, Pages, The Feed and whether or not to execute PHP.

Other peoples list of favorites

http://www.conexaovip.com/blog/wordpress/melhores-plugins-para-wordpress

50 Best WordPress Plugins for Power Blogging

WP-dTree WordPress PlugIn Notes

This plugin can generate navigation trees for your posts, pages, links and categories.

A Note on using this:  I tried it with this site and there is a noticable time lag introduced by its use.  That is because I have alot of posts and alot of catagories.  As of yet I do not have all my posts in catagories.  This delay would be bound to go way up.  Thus I can not use it on the front page.  I will try it on a dedicated page as it is pretty good for finding things quickly.

I do not believe in you-Eu nao acredito em voce – Vinny

Eu abro todas as janelas da casa
Eu deixo o sol iluminar o caminho
Eu deixo a lua fazer sombra na sala
E o vento bagunçar meu destino

Eu vejo o teu fantasma dentro do quarto
Acendo a luz pra que você vá embora
Te exorciso enquanto eu calço os sapatos
Vou sair e te tirar da memória

Eu não acredito em você hei hei hei no way no way
Eu não acredito em você hei hei hei no way no way

Eu perco o sono mas não perco o juízo
Eu me mudei pro andar mais alto do mundo
Eu posso ver toda cidade lá fora
Aqui dentro eu mudo sempre de assunto

Eu pendurei os quadros pela parede
Nada que lembre o teu sorriso absurdo
Mas quando eu vejo o teu olhar nos meus sonhos
Eu me encontro e me esqueço de tudo

Eu não acredito em você hei hei hei no way no way (4x)

Viewing Chinese Japanese Korean Webpages when using Windows

Since I have installed the global translator plugin I want to be able to view the chinese entries rendered it would normally meant to be seen. To do this I need to enable the rendering of the character set.  This is my webpage where I note the various things I find.  No working solution yet! 

Viewing Chinese Webpages when using OS= Windows with Windows Explorer

Both of the major browsers can support Chinese without any other programs. All you need is the right font, and there are many good free fonts you can download. The best method is to download Microsoft's language packs and input methods for Simplified and Traditional Chinese.

Microsoft Global Input Method Editors (IMEs)  – This pack is "free" if you have a qualifying microsoft office product. 

Additional information at  Creating Chinese Web Pages