Welcome to the home of Graham Robinson

Christmas Actionscript

Saturday, December 29th, 2007

Have I been working over Christmas? Yes, but I’m actually quite enjoying it and it will only do me good in the long term.

I’ve been getting Flash to communicate with Flash Media Server 2 over the break and it’s not short work.

I’m very new to the server side coding of ActionScript. I’m armed with ‘Programming Flash Communications Server’, a very good O’Reilly book that is about 2 years out of date and Google. Shame there aren’t that many people who do this sort of thing so there is not much information.

The main thing I’m trying to do is security. Our system will have 3 levels of security – Internal only, passworded, none. None is easy as anyone can use the thing, internal and passworded are harder.

Flash can do a lot of checking of things, it can check to see if it is on the University network and whether you are logged into a site, the trouble is that anything tested on the client pc can be faked; so I need to get Flash to do the hard work and then get the server to check that the information is right. I think I’m on my way there now, but seeing as I’m on my 92nd version of the server application I should be.

I’ve managed to get Flash to check a PHP page and create a code that proves that they are internal and that they are allowed to view the video. Flash sends the time and key to the server, who then tries to create the same key with the same time stamp. If both the codes are the same then the server allows the video to stream.

The big plus side of using PHP is that we can get program information to appear inside the video, as apparently we have to show the title, broadcaster and date of broadcast with every video we send. We originally thought that academics would have to edit this into their video themselves so pulling it automatically would be a great way of making life easier.

It’s all hard to explain without a) going too technical b) going too simple or c) telling you how I made it so you can reverse my processes. But it is looking good.

Flash on a Mac

Friday, December 28th, 2007

Seriously, how does anyone get any work done when this program has about a 33% chance of crashing every time you preview or publish a movie. This never happens on Vista or XP (well it does, but once a day rather than 3 times an hour).

On the flip side we set up a new Vista laptop yesterday. It got a virus by the time we had downloaded Avast and done the Windows updates. Typical.

Why Macs are rubbish, by Graham Robinson.

Saturday, December 22nd, 2007

I’m going to lose some friends here I’m sure. But that’s what blogging is about right?

Lets get some simple things straight first
• We have increasing numbers of macs at work. But it is still under 5%
• I haven’t got past the ipod in terms of Mac experience
• I think Steve Jobs is cool
• Macs are pretty
• I am a Windows expert

That last part… I’m not a MVP (an accredited Microsoft expert) but I could beat 99% of the world in a computer fixing contest.

So I get my ‘work intuitively’ hat on and have started playing. Work gave me a Macbook last week to be able to learn about Macs in case of support calls and I’m trying to get the basics before being cocky.

So here is my list (more…)

Prompt we are

Friday, December 21st, 2007

I’ve been ill the past few days. Poor me. But it seems that I’ll be better for Christmas! Yay!

But my parents did ask me to put some photos on Flickr about 3-4 months ago, so in the true Christmas spirit I actually remembered today. Whoops.

Rhoose Beach 2007

Batch files

Thursday, December 13th, 2007

For the non-tech a batch file is something from 1427AD (or somewhere around there) that allows you to write, in a text file, the name of a number of programs. When you run the batch file the computer will run each program, and when it ends it will run the next one.

In my job I record the satellite TV in 8 different languages. Each day I run the videos through two encoders and put them onto a streaming server. It takes a long time to do but I can do other things while the processing goes on. But on Monday I got really bored of it.

Now after switching from a free piece of encoding software to a paid for version I can write a couple of batch files. From logging on to a computer 4 times a day to start each process off I now do the following

  1. Put my feet up until 4:25pm *
  2. At 4:25 I get an email saying ‘Files ready to be processed. Connect to server and press ’squeeze’ (or an email saying ’something has gone wrong’)
  3. I connect to the server and the correct files with the correct settings are sat there waiting for me
  4. I press squeeze

And that’s it. I’m very impressed. We could make it so I don’t even have to log in to press the squeeze button but that will cost $599. Now I don’t know about you but I can press a button every day to save £300. And at least it forces me to check it’s working each day.

G

*Obviously I don’t put my feet up, but at least I’m not doing Satellite TV stuff. And this means when I go on holiday I don’t have to hand a 2 page document over telling people what to do.

Lacie FAQs

Monday, December 3rd, 2007

http://www.mediaguy.co.uk/lacie-ethernet-disk-mini-home-edition/


I’ve got a new hard drive to back things up on. Seeing as this theme doesn’t allow comments on the pages, only on the posts, I’ll leave this space for people to make comment.

New mattress tomorrow. And a hat

Saturday, December 1st, 2007

But the instructions are in Spanish! Oh no!


(from CollegeHumor)

Mattress has been really annoying us for a while. Might make us slightly less restless.