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)

Friday, March 2, 2012

SOFT6007 Class 14 DCOM1 Lab

We linked a style sheet to the timetables completed in previous classes. I asked students to experiment with various attributes.

Thursday, March 1, 2012

SOFT6008 Class 15

We looked at some more examples of checksums and discussed how they might be implemented in JavaScript.

The audio recording didn't work for today's class. But I put the video on Google+ anyway.

Anonymous comments back again

I have re-enabled anonymous comments on the blog.

We'll see how long that lasts :-)

SOFT6007 COM1 Class 14 Lab A

We added CSS to the timetables we'd coded in previous classes

SOFT6007 COM1 Class 14 Lab B

We added styling to the timetable table coded in previous classes.

A lot of students used the second hour of the class to complete work for other modules.

Wednesday, February 29, 2012

SOFT6007 COM1/ITS1/DCOM1 Class 15

There was no class 15

SOFT6007 COM1 Friday 0900 class canceled

There will be no web dev class on Friday morning. Cinderella, you shall go to the ball!

Ní beidh a leithéid ann arís

Today is a sad day. Today any public servant of our republic who has enough pension entitlements to make it practical for them to leave, will leave. In schools, hospitals, government offices, and colleges all around the country people are saying their goodbyes. I imagine there pubs will be busy tonight.

The departure of so many people all at the same time will be a bit traumatic for some institutions, and the effects may even be noticed by the customers of those public services. But I expect that their departure will affect not just the public services themselves, but will impact of the very nature of public service.

The republic, since its foundation, has been served well by its public servants. They were dedicated, impartial, and well respected. Of late there has been a lot of public servant bashing, and the mutual regard the public and public servants once had or each other has been eroded. Today's exodus will see not just a quantitative change in the number of public servants. There will be a qualitative change in the whole culture of public service.

Good luck to those going. Ní beidh a leithéid ann arís.

SOFT6007 Class 14 ITS1 Lab

We looked at using CSS to change the appearance of the timetables we coded in previous classes.

All students present eventually got it working.

SOFT6008 Class 14

Students worked on coding the various exercises.

I gave out a handout on Checksums

For numbers over 10, mod 9 gives the same result as adding the digits together. That's easier to implement.

Tuesday, February 28, 2012

SOFT6007 DCOM1/ITS1 Friday class canceled

I have to attend a panel visit for a new course on Friday morning so the 1100 class won't go ahead. Students will be expected to take the class online. A recording of the 0900 COM1 will be made available.

YouTube video on Teaching Naked

I spent all day today working on a YouTube video about Teaching Naked. I did the script months ago, and the audio a few weeks ago. I was hoping to get someone with some illustration skills to draw slides for me, but decided to just get it done and dusted.

I consider it to be in Beta just yet. Will publish it after I get some feedback.

Monday, February 27, 2012

SOFT6007 ITS1/DCOM1 Class 13

We looked at Cascading Style Sheets (CSS)

Slides

SOFT6008 Well done!

I'm pretty impressed with the quality of the work being done in the labs. Most students seem to be taking it seriously and getting on with it.

But don't forget that if you get stuck, it's important to ask for help.

SOFT6008 Class 13

We started to look at check digits. The phonenumbers example illustrates where we are going with this stuff and how it's coded.

Must students were still working on other things though.

Cookies are tricky to deal with, but very impressive once you get them working.

SOFT6007 COM1 Class 13





We looked at Cascading Style Sheets (CSS)

Friday, February 24, 2012

SOFT6007 Class 11 DCOM1 Lab

Students worked on the various exercises. Most concentrated on getting the image maps working.

Good day's work. Well done

SOFT6007 ITS1/DCOM1 Class 12

How many colors in the rainbow?

SOFT6007 COM1 Class 12




How many colours in the rainbow? Bit of a head-wreck. And I didn't even get to explain why Santa's suit is red!

Thursday, February 23, 2012

SOFT6008 Class 12

We looked at cookies.

I was very tired and so was everyone else. I think we will start to use more lab time as lectures rather than expect our brains to work properly on Thursday at 1700.

SOFT6007 COM1 Class 11 Lab A

Students worked on coding the Iberia and USA Cities image maps. This is going slower than I had anticipated.

SOFT6007 COM1 Class 11 Lab B

Students worked on coding the Iberia and USA Cities image maps. This is going slower than I had anticipated.

SOFT6008 Cookies & Privacy

The use of cookies to track users' behaviour causes a lot of concern.

These radio programmes discuss some of the issues
http://pd.npr.org/anon.npr-mp3/npr/atc/2010/10/20101005_atc_05.mp3?dl=1
http://pd.npr.org/anon.npr-mp3/npr/atc/2011/02/20110214_atc_04.mp3?dl=1

SOFT6007 Podcast

I have set up a podcast for COM1 and ITS1/DOM1. Students should be able to download notes and lectures using iTunes. Once it's set up all new classes and notes will download automatically. Students who are lucky enough to have iPhone4s or iPads should be able to sych those decides using iTunes and review the classes and notes on their devices.

Poor people like me who have only iPhone3s will have to do some converting.

This podcats will be updated only every one or two weeks because it is very time consuming. Google+ will have the classes first. So if you missed something check there first.

To subscribe in iTunes go Advanced > Subscrive to Podcast... and paste in the URL below.

COM1 Podcast:  http://mcom.cit.ie/staff/computing/cmanning/soft6007-2012/soft6007-com1.xml

ITS1/DCOM1 POdcast: http://mcom.cit.ie/staff/computing/cmanning/soft6007-2012/soft6007-its1.xml

Wednesday, February 22, 2012

SOFT6008 Cookies





Soon we will take a look at writing code for cookies. You can get a head start with this online class.

If that doesn't work above, try this: http://youtu.be/4AAtAULSUXU

SOFT6007 Class 11 Lab ITS1

Students worked on coding the image maps we had worked on on paper.

A few students got a bit distracted and didn't get the job finished. We'll be moving on soon, so try to get those sorted.

SOFT6008 Class 11

I got distracted helping a student with a problem elsewhere and forgot to come to class. When I arrived at 1050 I was impressed to find everyone there working away. But there wasn't enough time for me to help everyone with their code.

If anyone needs me to look at come code find a stop and send me an e-mail or SMS. You can check my calendar to see if I'm free.

Monday, February 20, 2012

SOFT6007 ITS1/DCOM1 Class 10

We did an image map exercise in class.

USA Cities grid

SOFT6008 Class 10

I was a bit distracted for the first hour of the lab, trying to organize to put all the notes online.

Students worked on the various examples and exercises.

Students who don't have the three games completed by end end of today are behind schedule.

Students how have them completed should begin re-coding them using the DOM. The dice game is the easiest one to start with. It might be an idea to review the rollover example we did. That has a lot of code in common.




I expected students to be able to make DOM versions of the games, but very few were making progress so I gave an example using a coin toss.

SOFT6007 Continuous Assessment

We will have an in-class exam on Monday 05 March.

It will contribute 20% towards your final grade.