delete

Farwell old servers...

So I had two old servers I needed to get rid of, and this is how I did it =)

Raw (unedited) footage;
Cam 1 (Panasonic HDC-HS700)

Cam 2 (FlipHD) [When I moved the camera I accidentally turned it off, hence the part with no video]

delete

Conversations On Vark...

So there’s a website (VARK.com) that allows random people to ask random questions, I help answer the questions but just had this odd exchange with someone interested in cameras. The conversation went like so

Hi Sam, I have an Extra Question that’s not related to your profile…
I have a question about **cameras** – can you help?

(Type ’sure’, ‘pass’, or ‘busy’.)

Sam Rudge
01:38
sure
aardvark
01:38
(From ***/**/M/Dallas,US)
Hello I am looking to get a new Flip Video Camera. Right now I have a Flip Ultra 1st gen and its pretty much broken. Also I want better quality (HD). So there are the SlideHD, MinoHD, and UltraHD. I want decent space, a good price, and a good list of features. Which one should I get and why?

(Type ‘pass’ to skip, or ‘more’ for extra options.)

Sam Rudge
01:40
I would go for the UltraHD, overall they are the most well known and used device (And generally considered the best quality). You get slightly more recording time on the Slide as well as the flip out screen but personally I don’t think it’s worth the extra $100 or so.
aardvark
01:40
Great — I’ve sent that to **. Thanks for the fast answer!
(Type ‘**:’ followed by a message to add something, or ‘more’ for options.)

(Tip: type ‘add’ to add **cameras** to the list of topics you like answering questions about.)

Some time passes

aardvark
01:54
(From ***/**/M/Dallas,US)
Well that was the one I was looking at getting anyway, thanks for nothing, c**t!

(Type ‘pass’ to skip, or ‘more’ for extra options.)

So, um, VARK is fun =)

delete

EARTHCAM TOP 10 FTW...

EarthCam Top 10 Winner

=O

So a little website called EarthCam (Only like the biggest webcam directory on the internet) voted Bunnycam into there top 10 for this month =)
Thankyou to anyone who reccomended it etc. etc.
LAUV YAO <3 <3 <3

delete

Let’s tune =)...

So for the last month or so, me and @AlanDistro have been working on a pretty cool project called SharpOrFlat.com
Its an online guitar tuner that allows you to properly tune using a needle (or the equivalent technical term whatever it may be) to whatever key you choose.
WARNING: nerdy stuff is to follow, if you don’t care just head over to SharpOrflat.com

The application itself is written in Java, it takes the input from your microphone and converts it into a single, averaged frequency, it also attempts to remove any background noises. Then it compares the frequency to the ideal tuning frequencies (thanks to @MikeLombardo for that bit) and gives output relative to those. that’s about it really, enjoy =)

Blogged from Wordpress for iPad

delete

Bunnycam Images...

A few images of the Bunnycam camera

delete

Introducing Bunnycam...

So for the last few days I’ve been working on installing a camera in my rabbits hutch as well as writing all the software to run it. I can now officially announce that Bunnycam is live at http://www.cake-spoon.com/cam

It’s still kind-of BETA so report any bugs and please share it around =)
Enjoy

delete

Flash Audio Notifications In Javascript...

For the chatbox on the new DFTBA Forum I needed to implement a method for a Javascript function to trigger an audio notification. I thought about using HTML5 but realized that not all the target browsers would be compatible so I ended up going for a Flash based version. I’m making this available for free download including all source and a demonstration file.

The player can trigger 14 different audio notifications all taken from Mac OS/X Snow Leopard.
They can be triggered in less than a line of javascript in your code and can be triggered from onclick, onkeypress etc. or just standard JS
The .zip download contains all the .aiff files used as well as the pre-compiled .swf, source .fla and a html demo file

You can demo the applet and all the sounds here
You can download the zip file here

delete

Random C# Code...

I part-wrote this little code snippet to bubble-search through a list of values. I was bored so I thought I’d put it here =)

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Logical_Searching_Exercise
{
    class Program
    {
        static void Main(string[] args)
        {
            bool NoMoreSwaps = false;
            string[] List = new string[8];
            //string elementsought;
            int i;
            string tempstring;
            bool ValsChanged;
            //elementsought = "Harry";
            List[0] = "Fred";
            List[1] = "Jack";
            List[2] = "Chris";
            List[3] = "Ali";
            List[4] = "Zak";
            List[5] = "Bill";
            List[6] = "Harry";
            List[7] = "Phil";
            //Console.WriteLine(NameFinder(elementsought, List));
            foreach (string element in List)   // Outputs the List before the sorting has been done
            {
                Console.WriteLine(element);
            }
            while (NoMoreSwaps == false)        // while the boolean value of no more swaps is false, i.e while swaps still need to be made
            {
                i = 0;              // declare varibale
               ValsChanged = false;        // a Boolean to check whether any of the values have changed
                do
                {
                    Console.WriteLine("Comparing " + List[i] + " with " + List[i + 1]);     // Comparing the List in its original position with one that is one space along in the list
                    if (string.Compare(List[i], List[i + 1]) == 1)      // Comparing Strings
                    {
                        Console.WriteLine("Swapping...");
                        tempstring = List[i];       // The temporary string is assigned to the list
                        List[i] = List[i + 1];      // The list is then assigned to the list that is one more space along than its original position
                        List[i + 1] = tempstring;   // The one space along string is assigned to the temporary string therefore swapping them
                        ValsChanged = true;         // The boolean is set to true showing us that some values have changed
                    }
                    i++;
                } while (i < List.Length-1);        // While the variable,which is incremented by 1 after the swap, is less than the length of the current strings position minus 1
                System.Threading.Thread.Sleep(500);
                Console.Clear();
                Console.WriteLine("------------------------------------------");        // GUI Stuff, sort of.
                if (ValsChanged == false)       // No Values have changed
                {
                    NoMoreSwaps = true;     // There are no more swaps needed as the list is in order
                }
            }
            Console.Clear();
            Console.WriteLine("------------------------------------------");
           foreach( string element in List ) {
               Console.WriteLine(element);                  // Prints out the new list of names after the modification
           }
            Console.ReadKey();
        }
        static string NameFinder(string elementsought, string[] List)
        {
            bool found = false;
            int thiselement = 0;
            do
            {
                if (List[thiselement] == elementsought)
                {
                    found = true;
                    Console.WriteLine("We've found Harry, he was hiding in the following spot, number " + thiselement);
                }
                else
                {
                    Console.WriteLine("We haven't found Harry yet, but we're working on it");
                    thiselement++;
                }
            }
            while (found == false && thiselement < List.Length);
            if (found == true)
            {
                return found.ToString();
            }
            else
            {
                found = false;
                return found.ToString();
            }
        }
    }
}
delete

Testing Rabbicam...

Some of you may or may not know that over the last few weeks I have been working on an interactive pan/tilt webcam in my rabbits hutch (See here). Today I have been testing all the software and I thought I would share a few screengrabs of the camera =)

I’m hoping to put Rabbicam live within the next few weeks.
Big thanks to @nathanknz for all his help and letting me use his mJPEG proxy script

delete

Twitter Streaming API in the real world...

Overview:-

A script running on the “Host” computer is linked in with Daslight Virtual Controller. A USB interface links Daslight to a single, RGB, DMX theatrical spot light capable of producing over 1,500 unique colors. The script searches the Twitter API for the terms ‘Red’, ‘Green’ or ‘Blue’. Any tweets containing these words are displayed on the prompt and link to Daslight triggering the relevant scene thereby lighting the fixture in that color. If a tweet contains more than one color then both scenes will be triggered causing other colors such as orange and purple to be created.
The script is written in PHP, linked in to the Daslight dashard.dll interface to trigger scenes within the software.
This project was inspired by a project called ‘Blink’ by Nathan Kennedy:
http://kturl.com/blink
http://kturl.com/www

Source:-

<?php
//datacollector.php
function run($tt) {
exec('C:/daslight/dashard.dll -k '.$tt.'');
}
echo "Waiting...";
sleep(30);
$fp = fopen("http://Username:Password@stream.twitter.com/1/statuses/filter.json?track=red,green,blue","r");
while($data = fgets($fp))
{
$json = json_decode($data);
if ( preg_match('/\bred\b/i', $json -> text) == true ) {
echo "Red - ".$json -> text."\n";
run('r');
} else if ( preg_match('/\bblue\b/i', $json -> text) == true ) {
echo "Blue - ".$json -> text."\n";
run('b');
} else if ( preg_match('/\bgreen\b/i', $json -> text) == true ) {
echo "Green - ".$json -> text."\n";
run('g');
} else {
echo "None!\n";
}
}
?>

Enjoy =)