Skip to main content

Close
Get the best research tool on the web today,and free!
Connect with people with common interests!
Play Webslides

harry palmer's Bookmarks tagged cool   View Popular

You are here: Diigo Home > harry palmer's Bookmarks

Ads by Google
Expand All 1 - 20 of 21 Next ›
1Expand

Home - SVG Icons - o7a.net

Tags: svg, icons, graphics, smd_site, resources, cool on 2008-09-09 and saved by2 people -All Annotations (1) -About

more fromsvgicons.o7a.net

1Expand

Telescope Game 3 - First Block Levels - Wall of Game - Free online flash minigames!

1Expand

Using Photographs to Enhance Videos of a Static Scene on Vimeo

1Expand

InfoQ: Sun Gets Serious About Python

1Expand

LewRockwell.com Blog: Jim Rogers: the Fed's Days Are Numbered

1Expand

SlySoft Virtual CloneDrive

1Expand

BBC NEWS | Science/Nature | Wood density key to violin sound

1Expand

Neatorama » Blog Archive » The Wonderful World of Early Computing

1Expand

Fun with Languages : Weblog

1Expand

The Most Exciting Game of 2006 Explained (2nd Edition) - Chess.com

Tags: chess, resource, cool, r&r on 2008-06-30 -All Annotations (0) -About

more fromwww.chess.com

1Expand

Microchip is helping restore vision to the blind

Vi-IMproved.org

Before we start, let me explain how this little tutorial was started, basically I was tired of explaining vim usage on irc, and found myself doing it repeatedly, at the same time, I was too lazy to sit down and write my own "real" vim tutorial (I ignored the fact that I spent 10x the time explain stuff to people on line than it would have taking me to write a tutorial). So after one conversation explaining a large chunk of vim usage, I pulled it out of the logs, and published it (cropped and modified of course) here.

Tools you need to get started:

* You can get the vim sourcecode at Vim Sourcecode, it only takes a couple minutes to build, and you are ready!
* You can get the gVim installer for windows at Vim Windows Install, it is 3.4 megs, enjoy :)

To go thru this tutorial please open up a STANDARD xterm and with the command "xterm -fg white -bg black -fn fixed" and then run "export TERM=ansi; vim". If you get stuck, my name is "MetaCosm"(I play Socrates) and can be found on irc.openprojects.net in #vim (among other chans). If you happen to use windows, you will want to run this tutorial using plain old gvim (not Easy Gvim or ReadOnly Gvim), just about the entire tutorial should work for ya :). The only reason I don't recommend gvim for linux for this tutorial is because #1) Not everyone has it. #2) It can tempt people to use vim incorrectly during the tutorial, better to just use good old console vim.

Now, you will notice that it has a table of contents, and is broken into section, but that is just for ease of coming back where you left off, if you jump around you WILL be confused, and you WILL miss vital information that will make your vim experience less wonderful. This SEEMS like a long tutorial, but it really isn't once you realize a lot of the lines say stuff like "k", "ok", "cool", etc, it makes for REAL fast reading (under 30 mins for everyone I have had comment on it so far)

If you hate conversational (IRC) style, or are already a experience vim users and just want a quick sum-up of what is

Tags: vim, vimrc, tutorials, cool on 2008-06-29 and saved by9 people -All Annotations (0) -About

more fromwww.vi-improved.org

1Expand

spiderfetch, now in python ~ numerodix blog

1Expand

in action: a skyscraper’s amazing 728-ton stabilising ball | deputydog

1Expand

Stephen Hawking turned down knighthood - Business - iTnews Australia

1Expand

Excerpt: Superorganism--How One and One Make Three

Conway's Game of Life in one line of APL

An explanation

If you are not familiar with Convey's Game of Life or APL programming language, I recommend to consult the very short description of APL and the description of Conway's Game of Life. Besides, on this page you will find IBM APL2 interpreter and several language references.

This detailed explanation of the APL program that prints out N generations of the initial configuration M of the Game of Life will also serve as a brief and very informal course in APL.

Before we start to decipher (this seems to be the correct word here) the Life program, let's try to work out the strategy of how to write this program in one line, no matter how impossible it sounds.
Life is a cyclic game by its very nature and - surely - the algorithm implementing this game apparently should consist of several cycles. Thus, the main loop of this program is the flow of the generations. Another loop is the one that scans the matrix to calculate the cells that are dead, alive or newborn. Yet another loop calculates the number of neighbors of every given cell. Now, you think, that's it: we cannot use even a single loop inside one line, let alone three nested loops!
But wait a minute - APL allows us to overcome almost any, even the most desperate situation.

First of all, we don't need a loop to scan the matrix, since APL allows us to work with the whole matrix usually using a single function. The same applies to the number of neighbors. As for the main loop that govenrs the change of generations - there will be no such thing at all!

Let N be a number of generations we want to calculate. We can write down all the loops (that is the subprograms that constitute the body of the loop) as one very long line. Now all we have to do is to execute this line.
It's not good, - says the reader. - What if we need 1000 generations ? Shall we write down 1000 loops that are doing the same thing then ? Absolutely not! As we've said before, all these loops are doing the same thing, so we will just write down only one loop and then APL will help us t

Tags: apl, game-of-life, cool, programming, esoterica on 2008-06-20 and saved by3 people -All Annotations (0) -About

more fromcatpad.net

1Expand

A* Pathfinding for Beginners

1 - 20 of 21 Next ›
List 20 50 100

Notation: * = Private bookmark and comment| = Clipping [?] | = Public highlight [?]