HTW Berlin Medieninformatik HTW Berlin
Fachbereich 4
Internationaler Studiengang
Internationale Medieninformatik (Bachelor)
Info 1: Informatik I
Winter Term 2022/23
Laboratory Startup: Introductions

Welcome!

Welcome to the laboratory—that's what we call these rooms filled with computer equipment at school for exercise sessions.

IMI has three laboratories:

Each computer is a computer that boots to Windows 10.  As computer science students we expect you to learn how to be able to deal with Windows, Unix, and Mac OS operating systems. There is a Mac-Lab in C 635 that belongs to AI that we can use, and you can start a Debian Unix under Windows 10 in a virtual machine.

We have lots of rules for the labs, as they are used by many different people during the week. Please read the Laborordnung.

Two really important rules are:

  1. No food. We don't like crumbs in the keyboards. Drinks are okay if they are in a container with a screw-on lid and the lid is screwed on. No coffee cups! They get knocked over and we have to get new machines.
  2. Don't change the configuration. We don't care if you have spent half your life "optimizing" computers. We have them set up this way because that is the way we do it. Most especially, don't take out the Ethernet cable! If we catch you doing either you will be sentenced to cleaning the screens in all of the labs. Or worse.

If something goes wrong, don't panic. Speak with the lab leader or the lab engineers in room C 538. Here are some hints on things that might cause problems.

It is usually a good idea to save your work at regular intervals. We sometimes have issues with the power here. Then you only have what you last saved.

Assignments

0. Getting to know you

We know, starting university can be really scary. You were probably one of the crack people at school, and now here you are in a whole class of cracks. But hey, they chose the same subject you did, and they are very nice people. So we are going to play some more games to get to know one another better and to practice writing and submitting a report.

  1. Where were you born? Stand up, the North Pole is the room board, the wall with the door is east, the wall with the window is west, the wall facing the board is the South Pole. Ask the people around you to see if you are standing more or less right, and then wait until all are settled. Now we will go around the room, saying: "I'm X and I was born in Y" from north to south, foreign countries first, then Germany.
  2. Now we are going to rearrange the globe by where you last had a vacation. Rearrange yourselves, and when everyone has settled: "I'm X and I last had a vacation in Y".
  3. If you had a million Euros, where would you go on your first vacation with the money? Rearrange yourselves a third time, and now we will say: "I'm X and if I had a million Euros, I'd go visit Y because of Z".

Bet you found some people who like the places you do, too!

1. Logbook

You need to get used to keeping a logbook in the lab. It can be analog (i.e. on paper) or digital. Make sure that you label and date your logbook before you write anything down! Keep track of everything you do in the logbook—even if you are really excited and want to keep playing around. You will save time later if you can easily retrace your steps. How can you set up an online logbook? Just use an editor! Make a logbook for today and take notes on what we do. This will be turned in as a lab report this week. Don't forget to put your name on the logbook!

2. Logging in

Now that you have your HTW login, you also have a home directory. This is where all your files can be placed. Log in to a computer. If there are too many of you, work together with someone on this exercise.

After you have logged in, look around—where do you find a browser? How many browsers are there? What editors are available= Is there any way to print from the lab? How do you make a screen shot? How can you create a pdf file? What directory is BlueJ in? How can I share files with others? What is the HTW WebDrive? What is the HTW Cloud? Can I change my HTW email address to use my orthonym? Feel free to ask others for help, or the teacher! Put the answers to all of these questions in your logbook.

3. Logging Out

When it comes time to log out, be very careful. Computers can be very fussy about this. Think of it as a friend who will be insulted if you do not properly say goodbye. The proper way is to click on the window icon in the lower left hand side of the screen and then the icon that looks like a power button and select "Benutzer abmelden" or to right-click on the window icon. You might be asked if you want to remember what you were doing, you can choose to do this, or not. Try out both sometime. This is also a choice "herunterfahren". Selecting this is the one and only way to safely prepare the machine for powering down. Never power down the machine without doing this first. Once you have logged out would request that you please turn the machine and screen off if they didn't shut off automatically, put your chair back under the table, and clean up any garbage that may have accumulated. Your mother doesn't work here.

Writeup

You will be doing your writeup at home. If you do not have a computer at home, see Prof. Weber-Wulff about getting a loaner for this semester. If you don't have Internet at home, we have a problem. You can get a key to use the labs from the Information desk in exchange for your student card and use them when there is no class. Labs close at 21:45. That's life.

Hmm, you saved some information on your login area on the school server, can you access this from home? Yes! Your home directory is on a public HTW server. There is a service called sFTP that you can use to access these files. You will need to login to the sFTP service with your login to see your files. On Windows machines you open up a command window and use sFTP. There are also programs like Filezilla that will give you a nice user interface for this.

Submit your writeup, explaining what you did and including what you learned, if anything, as your post-lab to the Moodle area, as a practice—it does not count for your final grade.

Potential Remote Work in the Sixth Corona Semester

We are starting this semester in face-to-face mode, but we might have to switch to remote at short notice. If so, this is what you will have to do to access our machines from your home.

If you are at home, start your computer, install the Microsoft Remote Desktop (it is available for most operating systems), start a VPN tunnel to school, and start the Remote Desktop. (Detailed description in German)

  1. Put in the name of an ananke computer, followed by .f4.htw-berlin.de
  2. As your user name put in your matriculation number as LOGIN\s0123456
  3. Accept the certificate, and log in again with just your matriculation number and password. If there is already someone on the computer, you will be rejected, try another one.

When you log out, leave the computer on. We turn them off automatically at 22:00. If you turn it off by mistake, no problem. We send a wake-up call every 5 minutes to the computers when they are in remote mode.

However, BlueJ is free, so why not install it on your home computer? Then you are independent of school computers (until you get to some more complicated things in later semesters).

Debian

If you prefer to work with Linux, you can start Debian from Windows 10. There is a description of how to start it at

https://imi-bachelor.htw-berlin.de/studium/labore/hinweise/debian-11-entwicklungsumgebung-unter-windows-10/

and there is a tutorial here.

https://imi-bachelor.htw-berlin.de/studium/labore/hinweise/tutorial-erstellen-und-debuggen-einer-nodejs-applikation-unter-debian-11-auf-windows-10/

There is also a Cygwin Terminal in Windows 10. This is just a terminal, not a GUI. When you start it, it makes a directory C:\cygwin64\home where it will put your work.

Note that both of these systems refuse to cooperate with our floating user file system, so all your files will ONLY be found on this exact machine. So make a backup on an external drive, and/or always use the same machine.


Copyright Prof. Dr. Debora Weber-Wulff
Questions or comments: <weberwu@htw-berlin.de>
Some rights reserved. CC-BY-NC-SA - Copyright and Warranty

The exercises are adapted from Objects First with Java, A Practical Introduction Using BlueJ. David Barnes & Michael Kölling, 2016