Monday, March 12, 2012

SOFT6007 COM1 Class 19

We revised RGB, and then looked at Lab and CYMK. Then we started to look at GIF. I think I lost the crowd today. Maybe the slides are a bit disjointed. We'll pick up again with GIF in the next class.

Friday, March 9, 2012

Animated GIFs: The Birth of a Medium | Off Book | PBS

SOFT6007 DCOM1 Class 17 Lab

We added CLASSes to the TDs in the timetable to color code the lectures. Students were on the ball and got this done very quickly.

SOFT6007 ITS1/DCOM1 Class 18

We looked at how to represent color digitally. We discussed Hue Saturation Brightness (HSB) and Red Green Blue (RGB)

SOFT6007 COM1 Class 18

We looked at how to represent color digitally. We discussed Hue Saturation Brightness (HSB) and Red Green Blue (RGB)

Thursday, March 8, 2012

SOFT6008 Class 18

We looked at the HTML5 Canvas. It's more of a gimmick really. But it might be possible to do some interesting things with it. I'll put links to the site, and examples here later. I promise! If I don't, hassle me.

SOFT6007 COM1 Class 17 Lab A

We looked at how to classes and IDs work and I asked students to color the subjects in their timetables by adding class attributes to the TD tags. A number of students completed this work and left early. Others who did not finish it left early also. That's not very wise.

SOFT6007 FC Class

We had a 1 hour lecture. Only about 10 students turned up, which is interesting seeing as there are people trying to get into this class and can't because it's full.

I offered to do some revision in advance of the exam, but students seemed happy enough. So we looked at how to add class attributes to the td tags of the timetable.

The exam on Tuesday should take about 40 minutes to complete. I don't expect anyone will be stuck for time.

Wednesday, March 7, 2012

SOFT6007 FC Lab B (2 hours)

Students coded an image map.

In the second hours I flew through CSS and asked students to apply styles to their timetables. Some managed to make a start in the time that we had.

SOFT6007 FC Lab A (2 hours)

We coded up image maps for the first ~half of the class.

In the second part I tore through CSS, and asked students to maybe try applying to their timetables at home.

SOFT6007 Class 17 ITS1 Lab

We added classes to the TDs in the timetable. This allowed us to target individual classes with seperate colours.

SOFT6008 Checksums Handout Typo

There's a typo on the Checksums handout. On page 3 the indexOf() should evaluate to 15, not 10.

SOFT6008 Check Digits

Here are some data to use as test cases for the check digit exercises.


IE-PPSN

These numbers are valid in theory
5313197L
1234567T
1234567t
0000000W
0000071w

ES-DNI

These are valid numbers
03457393-X
03457393X
03457393x
03405999-K
70240341-C
70259948-P
70259948p

If these test cases give you trouble read the small print on the ParseInt box!.

I have noticed that in real life Spaniards tend to insert separators between groups of digits to make the DNI number easier to read and it is common to put a dash before the letter (as above). To accommodate this your code should strip out all useless characters from the input before looking at it more closely.

Ensure that your code insists on the correct length
007-X is not valid. But 00000000-X is.

Euro Banknotes

Just take some from your wallet. There are fewer than 26 countries that issue Euro banknotes some some letters never appear at the start of a serial number. Accounting for this would require some very inelegant code. We can't have inelegant code!

Be sure to check some serial numbers that have a zero immediately after the letter. If that gives you trouble ParseInt may be to blame.

SOFT6008 Class 17

I wasn't feeling well, so I didn't bring very much to the party. Students worked on the various exercises.

Tuesday, March 6, 2012

SOFT6007 FC

Took Meabh's class. We did image maps.

Monday, March 5, 2012

SOFT6007 ITS1/DCOM1 Class 16

We had an in-class exam

SOFT6008 Assessment 1

There will be an in-class on Thursday 15 March at 1700. All students taking this module this semester should attend.

The exam will be a written closed-book exam that will cover all of the topics and examples we have seen in class

The slides and examples are here.

SOFT6008 Class 16

Students worked away on the various exercises.

There is quite a gap opening up between the students who are up-to-date and those who are behind.

The DOM slots, cards, and dice should be done or nearly done by now. To be on schedule students should be looking at cookies or checksums.

I wouldn't start work on Assignment 2 just yet.

SOFT6007 COM1 Class 16

We had an in-class exam.

If you don't have a watch you should  probably buy a cheap and cheerful one. Bringing a phone to class and using it as a watch is against the rules. It can lead to an automatic zero in the exam. So be careful.

It's inconsiderate to make noise while other students are still working on their answers. And staying in the room after you have finished to have a chat is not very nice.

Sunday, March 4, 2012

SOFT6007 Digital Color (HSB) Online Lesson




Online lesson on Digital Color: Hue Saturation & Brightness (HSB)