user warning: Unknown column 'captcha_type' in 'field list' query: SELECT module, captcha_type FROM captcha_points WHERE form_id = 'search_block_form' in /home/unitorga/public_html/coding/sites/all/modules/captcha/captcha.inc on line 60.

David Wees's blog

Chi Squared test calculator in JavaScript

Today a 9th grade student asked me if there was something he could do to tell if two categorical variables had a relationship or not. The Χ2 test would be perfect, except that most of my 9th grade students don't yet have the mathematical acumen to do the calculation themselves.

Creating ASCII art with http://www.typorganism.com/asciiomatic/

Pretty cool looking ASCII images created with a website I found on a random search. Fun Stuff!

Using Flex to Create an Algebra Puzzle

I was inspired by an algebra puzzle, done similar to this one, so I decided to build my own.

Algebra puzzle

Also, I've got a quadratic equation version of the same puzzle available here:

Quadratic equation puzzle

Showing the ratio of any two sides in a triangle is the same, given the shape of the triangle is invariant

If you drag point C, you can change the size of the triangle below dragging the entire triangle can be used to rotate it (around a point "near" B). Notice that the ratio of the three sides, shown on the right, does not change.

[geogebra]ratio_of_triangle_sides_edit.ggb[/geogebra]

Using Red 5 Flash media server with Drupal

I am working on a project where I wanted to be able to record audio through a web browser. Not having the $5000 to pay for Adobe Flash Media Server, I decided to try to use Red 5 instead.

My first step was to download Red 5 and get it installed locally. As I'm on a shared computer, I'm developing in Windows so I used the Windows version. It installs relatively easily, and you can check to make sure it is running smoothly by visiting http://localhost:5080, assuming you install it with the default port.

Creating a module to allow a user to upload multiple files at once in a ZIP Archive

I am working on a website called Pedagogle.com which is intended to be a file sharing website for educators. The plan is, upload and categorize resources, and if enough people do this, and we have enough resources, then we end up with a website where teachers can go to find resources easily. The problem is that it takes a long time to upload and categorize each file, which leads to frustration from users.

SWF Playlist module

This module let's you take a Podcast view you have created (or probably ANY audio podcast) and allow the JW Media Player 4 module (from the SWF tools module ) to play the audio feed as a playlist, automatically embedding the player as a block. Note that this is built for Drupal 6.

It does not have a lot of configuration options yet, you pretty much need to open up swf_playlist.tpl.php and modify it to suit the location of your feed.

swf_playlist.tpl.php
<?php
// get the location of the JW Media Player

Add Help module

This is a module to help non-coders add help text to the top of any path, much like the core Help module does. One problem with the core Help module is that it relies on using hook_help to add the help text to the top of the page. This means that if you want to add help to a page which does not already have it, you need to create a custom module. This means that only the developers of the site can easily add help text, although once the text is added, a user with sufficient privileges could 'translate' the help text string and reword it however they like.

Creating a better administrative interface for Drupal

One problem with Drupal is that the UI sucks for beginner users. They have great difficulty finding all of the most important administrative menu items they want to use. Since Drupal tends to group administrative items by general functionality and by module, it can tricky working where something is located for a beginner. Not to mention the fact, many beginning CMS users are terrified to death of 'clicking the auto-destruct link' by mistake and screwing up their work.

Updated BookGUI

This is my BookGUI module, including the most recent updates (which are actually almost a year old). I don't consider it stable for a except for a development environment, but maybe someone can iron out a couple of the kinks I gave up on.

This allows you to edit the structure of a book (AKA the Book module) as well as add/delete pages to the book on the fly, all via an Ajax management page.

Links

Twitter Follow me on Twitter

Subscribe Subcribe to my blog