Animated GIF

A GIF [Graphics Interchange Format] is a type of image format, but one that you can animate – and they were very popular in the earlier days of the internet, along with the marquee and blink HTML tags. It is now 2012, and GIFs are certainly still here, but are not as used as they once were – but today I decided I would make an animated one to see how they worked.

I already had my favourite image editor – Macromedia Fireworks [Adobe now own them] – open, and found the “Frames” panel under the “Window” menu. With this panel open, it was easy enough to add/duplicate frames, and edit the image on each one – similar to Macromedia Flash animation.

With my task complete, here is the result:

Matt

Industrial Year Placement – Google

The course that I am studying, G401 Computer Science, included a mandatory year in industry as our third year, our fourth year being the last year of teaching. Although it is possible to not do the year in industry, I can see nothing but positives to be gained from a year being immersed into the real world of work, gaining vital and valuable experience about the field of employment you may wish to pursue for the foreseeable future. As well as earning some money to go towards paying back our University fees, it gives a chance for employers to get to know you, and for you to demonstrate your natural abilities and work ethics in a more genuine environment over the course of the placement, rather than under pressure in a short hour long interview.

Upon hearing about industrial year placements, and discovering the benefits mentioned above, I decided that it would be a very good idea, and when the second year started, I began researching the companies and placements that interested me, earlier than the majority of my colleagues. Why so early? Knowing that sometimes placements get filled before their application deadlines, and being the sort of person that likes back-up options and fall-back plans as standard,  I started preparing my CV for the applications. I started off by applying to the places I really wanted to work for, such as Google, Intel and HP. I also then applied to about another 4 companies or so, to ensure I had enough back-up options I was not successful in obtaining one of my preferred placements.

I started applying for these placements in late November last year,  after our University trip to Gregynog [where employers helped us improve our CV's and interview techniques]. It is now February, and I still have not heard from many companies, however I have heard from a few, and a few important ones…

I was relatively sure I would not hear from Peugeot-Citeroen, as their application website kept loosing my progress, and not submitting my application. Despite creating a new account, and trying again – still no luck as the site threw errors and lost my progress. HP said they were very busy, as they had many applications. ProspectSoft gave me a phone interview and a coding challenge a while back, but I have since heard nothing from them. Gloversure offered me an interview very recently. Those were mainly my back-up choices, running along side my preferred applications.

Intel gave me a phone interview, online test, and I also attended an assessment centre. It provided me with great experience, and I was offered the placement there, which did look brilliant, but I was still pursuing the Google internship, the one I really wanted more than anything. My trip down to Google last summer for the Google BOLD immersion programme had made me see what a clever, logical and innovative company Google was, and I knew that I would love to be a part of their team.

I have now been offered an Internship with Google, and can’t wait to go to work for them. I really look forward to going somewhere where I can be happy, make a difference, and have my innovative, logical ideas listened to, ideas that can save time, money and other resources. I have found it frustrating in the past to see the companies that employ me waste money where there is no need, and are unwilling to listen to other’s advice. I am now very much looking forward to July, where new experiences, people and knowledge will be found.

Matt out.

 

HTML5 – Chrome <3

The main browser I use is Google Chrome. In the past, I have used Internet Explorer, Opera and Firefox a lot. Firefox was pretty fast, with many add-ons to make things easier/more useful. Opera had some cool features like typing “w orange” and it would search Wikipedia for “orange”. This also worked with Google, eBay (YouTube?) etc.. It also had some cool gestures to open a new tab from a link, flicking the link to the top of the screen. A few years ago I moved from Firefox (my main browser) to Chrome. Why? Firefox, although miles faster than IE, still seemed slower than Chrome. It also kept crashing, and I always felt the tabs were fairly unstable.

Chrome runs each tab in a seperate thread, so hopefully if one tab crashes – the browser doesn’t die completely. (I still continue to have problems with YouTube crashing everything for no reason, though). Chrome is quick, snappy, and seems quite light. I also have my custom searches implemented to the main bar, e.g “wiki JFK” will search Wikipedia for JFK. Same with eBay, YouTube, Facebook (whois Matt Robbins..) etc.

Whilst reading up about HTML5, I found the following tables of information on W3 Schools:

Table of compatability

 

Which is the only browser that supports ALL video formats. Which is the browser that also supports ALL audio formats?

Need any more reasons to switch?

Then here is one last one, of the error message when a tab crashes:

Matt out.

HTML5 – It has started.

Now the group project code is in and done, I finally have a bit more free time to do other things that have been waiting due to a lower priority.

http://www.w3.org/html/logo/

One of these is HTML5, which I have already had a bit of a look at on w3schools’s site. I have now started watching some tutorials from thenewboston about HTML5 and CSS3. It all looks fantastic at the moment, with many DIV’s being replaced by meaningful tags such as <header> <article> and <footer>. I will probably change my main website, and maybe aber-links to HTML5 when I have learnt a sufficient amount about it, to make the sites look better and be a bit less static.

Matt out

Group Project – Software Development Life Cycle

This week is designated as Computer Science’s “Coding Week”. This week is set aside for our allocated 8 person groups to code their group projects.

Our project is to create an Android phone application that uses geocaching with a pirate theme to help children aged 9-16 advance their mathematics. In the past few months, I have been leading my group [group 08] as we prepared design and test specifications for the project, and it has finally come to coding week where the majority of our code will be written.

Today we have been adding more functionality to the app, such as the log in authentication and ability to create a new account. To create a new account, we are using a PHP page to directly add a user into the Users table in the MySQL database running on one of our group’s servers. I am currently building that PHP page, and I am having to take into account that this page is going to be viewed on small ~3 inch phone screens. I normally design pages to use W3′s nromal XHTML DTD. However, after searching the internet I found that there is also a DTD especially for XHTML written for mobile devices:

<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.1//EN"

"http://www.openmobilealliance.org/tech/DTD/xhtml-mobile11.dtd">

Rather than

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"

"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

See the image below for an example of what the page may look like in the end on a 3.5inch iPhone screen:

Pirate Game add a user screenIt looks so much better than even a modified normal XHTML page, and I am glad I found out about the mobile XHTML DTD when I did! Now a bit of work on JavaScript validation, and get it ready to send SQL statements!

Matt out.

 

Games Website Marks – CS250 Project

A while back I made a webshop for games as part of a CS250 Web Programming assignment, a project which I really enjoyed doing. The results are in, and I scored 94%! Not bad for a project I had a great deal of fun creating and perfecting. The games shop was made in XHTML+CSS using JavaScript for some client-side validation, and PHP for many features such as includes and sessions. The games were pulled from an SQL database, and I implemented many buttons and options so the user would be able to narrow down the results to a certain platform, price range, or games that contain words. Each of these required a new SQL statement which turned out to be quite intuitive and logical to do.

If you fancy having a play with it, visit it here: http://users.aber.ac.uk/mcr1/cs25010/

If you are curious as to how I built the site and a few technical details, you can see the extensive about page here, be warned – it is rather large.

Next semester it looks like I will be creating a project in HTML5, which is very interesting, especially when combined with CSS3.

Matt out.

But How Good Is It? Xbox 360 Wireless Gaming Receiver

I have always wanted to be able to use my Xbox 360 controller with my PC, as I am much more accustomed to it than a mouse and keyboard for First Person Shooter (FPS) and driving games. There are two ways to go about hooking up an Xbox controller to the PC, buy a wired Xbox controller (should work on both Xbox and PC) or buy a “wireless gaming receiver”. You cannot use a “play and charge kit” wire (controller – USB) to use your controller with the PC, as it seems to only transmit power and not data.

I went for the wirless gaming receiver, an unofficial one. Official ones were about £20, I got mine for £10 including postage.

What’s in the box?

Included in the box was:

  • The wireless receiver with a very long cable, 6 foot apparently.
  • Mini disc with drivers, instructions, software etc on it.
Installation

On many review that I read before buying, I saw a lot of people had problems with the drivers, especially with Windows 64 bit, which I have.
Sure enough, I plugged in the device – “Device not recognised” by Windows.
I popped the disk in and found the instructions, and drivers for 32 bit Windows.
After a quick Google, I found that the drivers seem to be built in already (and this unofficial device seems to use the same as the official one?), and found the following instructions on this website.

  • Right click on Computer
  • Go to Properties
  • Click on Device Manager
  • Right click on the Unidentified Device
  • Go to Properties
  • Go to the Drive tab
  • Click on Update Driver…
  • Browse my computer for driver software
  • Let me pick from a list of device drivers on my computer
  • Microsoft Common Controller for Window Class
  • Xbox 360 Wireless Receiver for Windows Version: 2.1.0.1349 [8/13/2009]
  • Update Driver Warning
  • Click Yes

My device manager listed 2 unknown devices, so I repeated this process, clicking whatever was the newer dated driver.

First Use

Now the right drivers were installed, the controllers connected easily (and quicker than to the Xbox 360). I connected 2, and it seemed all happy. There is a standard connect button on the device to press to open it up to new devices (controllers/headsets etc). Had a few teething issues, selecting it in a game seemed very easy (tried it in Off Road: Drive, Race Driver: Grid and Trucks & Trailers so far), and I configured the buttons to do what I wanted. One problem I had was that Off Road Drive kept pausing, but after restarting the game it seems fine now. With Trucks & Trailers (lorry driving), I noticed that when the steering wheel had been moved, it would move back to its normal (straight) position, but sometimes would be slightly off centre. This seemed to be the controller steering slightly in one direction once being used to steer, and I countered this by turning up the steering deadzone slightly.

After the odd tweak to the settings here and there, I had great fun in using my controllers with the different driving games, providing as I hoped, much more control over the vehicles. One thing you must remember is that the Xbox controller has much less buttons than a keyboard does! This is fine for GRID etc, but for Off Road Drive, with all of its different options in game for locking differentials, delfating tyres, engaging winches etc.. I had to double up some buttons (e.g hold RB and press A to turn the winch on, just A itself is handbrake).
On the disk comes some software which comes with an old HTML troubleshooting guide, and can display battery status etc, as shown in the image below.

Would I buy it again?

Yes, definitely. Would I go for the official version… possibly. This one hasn’t really let me down yet, and I believe it must be almost as good as the official ones.
Matt

Euro Truck Simulator 2 – ETS2

I am a big fan of simulators like Flight Simulator X, and I am also really like SCS Software’s Euro Truck Simulator. I have just found out that Euro Truck Simulator 2 is in the works, still with a lot to do to it, but there are some videos on YouTube of them recording sounds from real Scania lorries that they borrowed from Scania, for sound in the game. Also another video on moving the mirrors from the interior – it looks like it is going to be a good game! Cant wait for it to be released in March 2012.

Image from: http://www.modsplace.com/index.php?news&nid=108

If you are interested, theres a playlist of “Euro Truck Simulator 2 Development” - this video of improved vehicle AI should put you into the playlist. The trucks look so much more modifiable within the game now, you can change your tyres, cab, chassis, mirrors, exhausts, number plates, lights where you want them on the bottom chrome bar, you can even turn the lights on and off in the editors to see how it looks! Beacon lights for the top of the cab are there, and apparently work too. Many different engines.. it look pretty amazing.

You can find their blog: here.

Find the ETS2 unofficial facebook page: here.