b r a y d e n . o r g / Software

/ WebHome / TWikiPages / WebRss

This Web


WebHome  
Topic List  
Web Statistics 

All Webs


Books
Main
Random
Software
TWiki  

brayden.org


Home
Monthly Digest
Today's Links
Resumé
Reading List
Books RSS
Random RSS
Software RSS

Other


Dale's Blog

currently-reading
TextDrive
The Brayden Software TWiki web http://www.brayden.org/twiki/bin/view/Software The brayden.Software web - notes on Ruby, workflow, statecharts, and more. en-us Copyright 2012, Dale Brayden and contributing authors. Dale Brayden [rss@braydenNOSPAM.org] Dale Brayden [rss@braydenNOSPAM.org] TWiki brayden.Software brayden.Software http://www.brayden.org/twiki/bin/view/Software http://www.brayden.org/twiki/pub/twikilogo88x31.gif SparklinesGoogleChartsForTwiki http://www.brayden.org/twiki/bin/view/Software/SparklinesGoogleChartsForTwiki

Rendering sparklines on TWiki using google charts

Google recently made public their chart creation api. Very simple, very cool. The idea is that you specify chart data and settings in a url, and get back a generated image.

I wrote a little code that renders sparklines-like graphs using the google charts api, from TWiki. In my case I call the code from one of my plugins - but I'm probably the only person on the planet that uses that plugin, so you would need to call it from somewhere else.

The basic idea is simple: create the simplest, smallest legible line graph for a set of data. Small enough that it can serve as just another 'word' in a sentence, yet convey a relatively large set of quantitative information.

... more ...

rss_response@brayden.org 2007-12-08T23:33:00Z DaleBrayden 1.1 updated major http://www.brayden.org/twiki/bin/rdiff/Software/SparklinesGoogleChartsForTwiki http://www.brayden.org/twiki/bin/rdiff/Software/SparklinesGoogleChartsForTwiki MerbDataMapperOnWindows http://www.brayden.org/twiki/bin/view/Software/MerbDataMapperOnWindows

Installing merb and datamapper on windows

Pretty painless overall. Here's a transcript and some notes.

Resources:

First, you will need a compiler:

... elided ...

Then follow the instructions at nuance9, but just leave off the sudo:

... elided ...

Note that in the install of fastthread I chose the 'ruby' option - you can choose the win32 option and avoid building anything at that step.

... more ...

rss_response@brayden.org 2007-11-24T17:21:00Z DaleBrayden 1.1 updated major http://www.brayden.org/twiki/bin/rdiff/Software/MerbDataMapperOnWindows http://www.brayden.org/twiki/bin/rdiff/Software/MerbDataMapperOnWindows RubyCombinatorials http://www.brayden.org/twiki/bin/view/Software/RubyCombinatorials

Combinatorials

I've posted a set of classes and methods for generating combinations and permutations.

Source code (zip) : http://www.brayden.org/twiki/pub/Software/RubyCombinatorials/Combinatorials.zip rss_response@brayden.org 2007-06-19T15:35:00Z DaleBrayden 1.1 updated major http://www.brayden.org/twiki/bin/rdiff/Software/RubyCombinatorials http://www.brayden.org/twiki/bin/rdiff/Software/RubyCombinatorials RailsManuals http://www.brayden.org/twiki/bin/view/Software/RailsManuals

Rails Manuals

rss_response@brayden.org 2006-03-11T16:53:00Z DaleBrayden 1.1 updated major http://www.brayden.org/twiki/bin/rdiff/Software/RailsManuals http://www.brayden.org/twiki/bin/rdiff/Software/RailsManuals
RubyManuals http://www.brayden.org/twiki/bin/view/Software/RubyManuals

rss_response@brayden.org 2006-03-11T14:36:00Z DaleBrayden 1.1 updated major http://www.brayden.org/twiki/bin/rdiff/Software/RubyManuals http://www.brayden.org/twiki/bin/rdiff/Software/RubyManuals AjaxManuals http://www.brayden.org/twiki/bin/view/Software/AjaxManuals

... more ...

rss_response@brayden.org 2006-03-11T14:27:00Z DaleBrayden 1.1 updated major http://www.brayden.org/twiki/bin/rdiff/Software/AjaxManuals http://www.brayden.org/twiki/bin/rdiff/Software/AjaxManuals SplineFunctions http://www.brayden.org/twiki/bin/view/Software/SplineFunctions ---+ B-Splines

This is a description of a class of cubic spline functions that have the property that the endpoints of the curve will pass through the first and last control points, and will pass near the interior control points.

I've provided an implementation in ruby (see bottom of this page).

... elided ...

The Bij are blending functions defined as:

... elided ...

In practice you select a set of uk and draw straight lines between them. By selecting the number of such points to be large enough (10 is more than enough for most applications) the curve will look good. This also says that you can pre-compute the Bij(uk) and cache those values in a table, for better performance (it matters, believe me).

... more ...

rss_response@brayden.org 2006-01-10T15:55:00Z DaleBrayden 1.1 updated major http://www.brayden.org/twiki/bin/rdiff/Software/SplineFunctions http://www.brayden.org/twiki/bin/rdiff/Software/SplineFunctions StatisticsLib http://www.brayden.org/twiki/bin/view/Software/StatisticsLib

Statistics Package in ruby

I've posted a statistics package written in ruby. The source can be downloaded as a zip file

rss_response@brayden.org 2005-12-29T16:59:00Z DaleBrayden 1.1 updated major http://www.brayden.org/twiki/bin/rdiff/Software/StatisticsLib http://www.brayden.org/twiki/bin/rdiff/Software/StatisticsLib RubyLanguage http://www.brayden.org/twiki/bin/view/Software/RubyLanguage

Notes and Resources

Samples

Various Projects

  • RubyWebrick
  • Ruby PDF Tools: Project Info Tools written in pure Ruby (no C extensions) for working with PDF documents.
  • SQLite-Ruby: Project Info A Ruby interface for the SQLite database engine.
  • MuraveyWeb: Project Info a Content Management System built on top of Ruby on Rails web-framework. It has support for version control, custom document types, WYSIWYG content editors, image transformations and much more.
  • Win32 Utils: Project Info A series of packages that provide Ruby interfaces to Win32 systems and services. This project supports Windows NT, 2000 and XP only.
  • eXPlain Project Management Tool: Project Info eXPlain Project Management Tool (or eXPlainPMT) is a web-based application built using the Ruby on Rails framework that supports the eXtreme Programming development methodology.
  • wxRuby: Project Info a library to allow Ruby programs to use wxWindows 2.4.x (also known as wxWidgets), which is a mature, cross-platform, GUI toolkit that uses native widgets where possible.
  • Ruby/ActiveLDAP: Project Info provides an object oriented interface to LDAP. It maps LDAP entries to Ruby objects with LDAP attribute accessors exposed as methods dynamically assigned based on your LDAP server's schema and each object's objectClasses.
  • All Ruby Projects at RubyForge
  • http://www.swig.org/
    • SWIG (the Simplified Wrapper and Interface Generator ) is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages, including Ruby.
rss_response@brayden.org 2005-12-29T16:49:00Z DaleBrayden 1.1 updated major http://www.brayden.org/twiki/bin/rdiff/Software/RubyLanguage http://www.brayden.org/twiki/bin/rdiff/Software/RubyLanguage
TWikiIncludeTricks http://www.brayden.org/twiki/bin/view/Software/TWikiIncludeTricks

TWiki INCLUDE Directive

The INCLUDE directive is documented at IncludeTopicsAndWebPages. Here are the main ways to use it:

You can include one twiki topic within another. That's how I do the WebRss pages - the RSS feeds at this site and also most of the content at MonthlyDigest:

... elided ...

You can define what part of a twiki page will be included. You do this using the %STARTINCLUDE% and %STOPINCLUDE% directives on the included page.

When defining skin templates you can include one template within another, using the TMPL:INCLUDE directive:

... more ...

rss_response@brayden.org 2005-12-03T18:08:00Z DaleBrayden 1.1 updated major http://www.brayden.org/twiki/bin/rdiff/Software/TWikiIncludeTricks http://www.brayden.org/twiki/bin/rdiff/Software/TWikiIncludeTricks AudioSoftware http://www.brayden.org/twiki/bin/view/Software/AudioSoftware ---+ Audio Software

... see also: LinuxAudio?

-- DaleBrayden - 29 Dec 2002 rss_response@brayden.org 2005-12-03T16:40:00Z DaleBrayden 1.1 updated major http://www.brayden.org/twiki/bin/rdiff/Software/AudioSoftware http://www.brayden.org/twiki/bin/rdiff/Software/AudioSoftware JavaScript http://www.brayden.org/twiki/bin/view/Software/JavaScript ---+ javascript See also: DocumentObjectModel

Links

General Information

Downloadable scripts

-- DaleBrayden - 29 Dec 2002 rss_response@brayden.org 2005-12-03T16:00:00Z DaleBrayden 1.1 updated major http://www.brayden.org/twiki/bin/rdiff/Software/JavaScript http://www.brayden.org/twiki/bin/rdiff/Software/JavaScript LanguagePages http://www.brayden.org/twiki/bin/view/Software/LanguagePages ---+ Languages Category

This is the category page for programming language-related pages.

-- DaleBrayden - 24 Jun 2003

rss_response@brayden.org 2005-12-03T16:00:00Z DaleBrayden 1.1 updated major http://www.brayden.org/twiki/bin/rdiff/Software/LanguagePages http://www.brayden.org/twiki/bin/rdiff/Software/LanguagePages LanguageVarieties http://www.brayden.org/twiki/bin/view/Software/LanguageVarieties .hide Links and information about a variety of programming languages. Not much here yet, but I need a placeholder and this is it.

Miscellaneous Languages

-- DaleBrayden - 27 Aug 2003 rss_response@brayden.org 2005-12-03T16:00:00Z DaleBrayden 1.1 updated major http://www.brayden.org/twiki/bin/rdiff/Software/LanguageVarieties http://www.brayden.org/twiki/bin/rdiff/Software/LanguageVarieties LanguagesTopics http://www.brayden.org/twiki/bin/view/Software/LanguagesTopics ---+ Topics in the Languages Category

... table elided ...

rss_response@brayden.org 2005-12-03T16:00:00Z DaleBrayden 1.1 updated major http://www.brayden.org/twiki/bin/rdiff/Software/LanguagesTopics http://www.brayden.org/twiki/bin/rdiff/Software/LanguagesTopics
QuinePrograms http://www.brayden.org/twiki/bin/view/Software/QuinePrograms ---+ Quines

A Quine is a 'self-producing' program; i.e. a program whose output is its own source code. For example, here's a quine written in Ruby:

printf(s = 'printf(s = %c%s%c, 39, s, 39)', 39, s, 39)

For a terrific discussion of quines, see the David Madore Quine's page. If that page is unavailable you can get a zipped copy of it here.

-- DaleBrayden - 29 Dec 2002

rss_response@brayden.org 2005-12-03T16:00:00Z DaleBrayden 1.1 updated major http://www.brayden.org/twiki/bin/rdiff/Software/QuinePrograms http://www.brayden.org/twiki/bin/rdiff/Software/QuinePrograms

 
 
Current Rev: r1.1 - 03 Dec 2005 - 15:39 GMT - DaleBrayden, Revision History:Diffs | r1.1
© 2003-2011 by the contributing authors.