Jnbn.Net

Fun With Generic Algorithms

11 December 2008 | Comments (0) | 329 views ·
Fun With Generic Algorithms

A genetic algorithm provides a simple way to search for an approximately optimal solution for an otherwise difficult and complex problem. By simulating the process of evolution, random mutation, breeding and selective pressure, a program can evolve a solution to a problem.

Seth Just wrote in with a simple and customizable genetic algorithm written in Perl. Given a problem set, you can define a function to randomly initialize each “individual”, a mutation function to alter an individual, a breeding function that combines individuals with the strongest members, and a fitness function that computes the strength of an individual. His code is well documented and you can adapt it for your own problems fairly easily.

Another cool example is this Flash vehicle simulator. A car with two wheels and two passengers is randomly constructed and its fitness is defined by how far it is able to drive without the passengers touching the ground. At first, most iterations don’t even get past go, but as the evolution proceeds, a more robust vehicle is formed which is capable of navigating the terrain.

 

He also points us to a couple...

More...
Wordpress 2.7 “Coltrane” Available Now

Wordpress 2.7 “Coltrane” Available Now

News, Wordpress
11 December 2008 | Comments (0) | 1,034 views ·
 The official announcement is just made today and Coltrane is officially released ny now. If you have questions about the name,  it’s for famed jazz Saxophonist, John Coltrane. There are lots of new useful features and improvements including the new interface. Dashboard and it’s design is so good that I don’t wanna click on any other page…  If...
More...

Wordpress Theme: Versatility

Wordpress Theme: Versatility

Themes, Wordpress
9 December 2008 | Comments (0) | 348 views ·
The theme comes with a “Featured Post” section at the top. All you have to do make an article go there, is to give it a tag of “featured.” There is a “Welcome” section at the top to the left of the “Featured Post” Section. The theme comes with a variation between Admin comments, and normal blog visitors. You will just have add your admin email address to...
More...

Easter Egg in Wordpress: Welcome to Matrix

Easter Egg in Wordpress: Welcome to Matrix

Free Time, Wordpress
26 November 2008 | Comments (0) | 372 views ·
As I just read today, there’s a Matrix Easter Egg in WordPress 2.6 and in the betas of WordPress 2.7 To activate it, you should: Edit a post. Scroll down to the revisions section of the page and click the latest revision. On the next page, scroll down again and select the same revision for comparison. The Matrix has you.. Danger ! Self-comparison detected. Initiating...
More...

LightSource Wordpress Theme

LightSource Wordpress Theme

Themes, Wordpress
26 November 2008 | Comments (1) | 490 views ·
 Another theme from Elegant Wordpress Themes has been just released, which may be great for personal-style blogs looking for a fun and colorful design. Elegant Wordpress Themes Three Unique Color Schemes The theme comes with three unique color schemes that can be alternated from within the theme’s custom options page. Elegant Wordpress Themes Optional Blog-style Post...
More...

Wordpress 2.6.5 Released

Wordpress 2.6.5 Released

News, Wordpress
26 November 2008 | Comments (0) | 809 views ·
As we were all excited about version 2.7, WordPress 2.6.5 has just been released and has been labeled as a recommended upgrade as always. There are few security issues and bugs that are fixed. T The following are the fixes in detail: Added a check for the correct post_type to blogger. Updates to update_post_meta() and delete_post_meta() to ensure they work correctly...
More...

New page menu function in WordPress 2.7

New page menu function in WordPress 2.7

Wordpress
13 November 2008 | Comments (0) | 1,404 views ·
I read this new page menu function on Justin Tadlock’s blog and I wanted to share.. There are several new features for theme authors in WordPress 2.7 that should be covered, but I believe one that might be useful is the new wp_page_menu() function. It’s nothing special, but it does take a lot of the work out of coding that we do over and over in every theme we...
More...

Making your theme’s comments compatible with WordPress 2.7

Making your theme’s comments compatible with WordPress 2.7

Wordpress
2 November 2008 | Comments (1) | 548 views ·
If you’re a theme developer, you already know how hard it’s going to be to make your 2.7 theme backward compatible because of all the new features being added. I won’t go into the details of how to put together a comments.php file here. There are plenty of tutorials and themes to look at for that. Check out Otto’s WordPress 2.7 comments enhancements tutorial...
More...

Open Air, A magazine and A Personal Blog Theme

Open Air, A magazine and A Personal Blog Theme

Themes, Wordpress
31 October 2008 | Comments (0) | 410 views ·
Theme Description OpenAir is designed to have a very sort and open feel to them, with soft subtle gradients and border with great use of white space to give a spacious and elegant feel to your content. We’ve set the theme around a grid based layout so that information can easily be seen and read throughout. Theme Details Navigation  At the top you have any links/pages...
More...