Archive for March, 2009
Zapper’s Joining the Real World 2-3 years late

After 2-3 years of delaying, shouting, ranting and raving.

I’ve finally accepted that I’m going to have to use flex, not that bloated flex builder, but the flex commandline compiler.

It seriously feels like I’ve went back 4 years, back at uni, using javac and gcc, using emacs, build scripts. How 90′s, how ugly, how unintuitive, how lacking in grace,

Kinda feels like a step back from the warmth of the Flash IDE’s womb, boy what an ide that was, how ground breaking, but that’s products done, no more, inappriorate, obselete now, onto the next…

I’m sorry flash, I simply can’t justify us developing together anymore,

Bye bye Flash, thanks for all the Iru bru, it’s been good times,

remember winning “dare to be digital”, winning against the odds with those 4 damn artists and just you and me to do the code,

and “colin and cumberland” missing out on that bafta by a hair’s width that was a fun introduction to working life,

all those games we made for CBBC’s, that damn balamory karaoke, lip syncing all those songs for days on end, what about Raven, Bitesize, Webwise, and a hundred and one widgets and gadgets,

into the hole of jam, the year that never was,

and the laments and trials of the many video players application me and you made over the years, alas their brother iPlayer ate them all,

but I’m now sleeping with your sister Flex because not I don’t love you anymore it’s because she’s Cooler than you, and that way everyone looks at me when were together,

hope you understand,

love

Ant

So I present with much joy and the happiness of the first new thing i’ve learnt in ages my first flex compile, hacked from the AS3Flex2b3StarterFiles I found on an trek of the internet-> prepare to be amazed, source

Ant

Bat Script Retrostylee

Hi guys haven’t posted for a while, thought I’d post this wee little script I did yesterday afternoon for a site

It’s basically a proxy cache-ish system, using wget + ftp + a bat script to tie it all together

So basically tada – it’s a script which every X secs downloads a file, then uploads said file automatically, without user intervention

There’s two different version, one for those lucky enough to be on a raw internet connection, and one for those who your unluck enough to have to access the internet through a proxy server/and a ftp proxy server, which configures wget/ftp appriorately,

NonProxy & Proxy Server Version

Script BAT –

:: wget needs to be explicitly told where the bbc proxy is

set http_proxy=HTTP_PROXY_LOCATION

:: echo off

:: Repeat until end

::==============

:repeat_command

:: delete old file / download new file / upload new file

:: =============

echo “UPDATING FILE”

del rss.xml

wget.exe INSERT_URL_LOCATION_HERE –output-document=rss.xml

ftp -s:proxy_command_list.txt

:: wait 1 seconds then repeat

::==============

ping 1.1.1.1 -n 1 -w 100000 >NUL

GOTO repeat_command

Script Niggle details –

  1. Requires wget.exe (included in zip above) in the same folder
  2. FTP.exe on the commandline

Changes maybe needed in “XXX_command_list.txt”

  • The proxy version may need to be changes to your proxies unique login settings
  • The ftp server like wise may require the authorisation in a different order

I would recommend ftp-ing on the commandline once by hand, then coping these settings into the file