/srv/irclogs.ubuntu.com/2010/10/13/#ubuntu-classroom.txt

quietonejcastro, I took the bait and had a go at it.00:02
=== Vic is now known as Guest92032
=== rrittenhouse_ is now known as rrittenhouse
=== ChanServ changed the topic of #ubuntu-classroom to: Welcome to the Ubuntu Classroom - https://wiki.ubuntu.com/Classroom || Support in #ubuntu || Upcoming Schedule: http://is.gd/8rtIi || Questions in #ubuntu-classroom-chat || UOW Survey: http://is.gd/fZlwL || Event: Ubuntu Open Week - Current Session: Accessibility is Important - Instructors: charlie-tca
charlie-tcaWelcome to Ubuntu Open Week's Wednesday sessions! This has been a really exciting week, and it just keeps going.15:01
ClassBotLogs for this session will be available at http://irclogs.ubuntu.com/2010/10/13/%23ubuntu-classroom.html following the conclusion of the session.15:01
charlie-tcaMy name is Charlie Kravetz, also known as charlie-tca on IRC and the mailing lists. I would like to welcome everyone to a great time.15:02
charlie-tcaI will attempt to answer your questions during my session, but please place QUESTION: in front so the question is visible.15:03
charlie-tcafor example:15:03
charlie-tcaQUESTION: what is accessibility?15:03
charlie-tcaThese are asked in #ubuntu-classroom-chat15:03
charlie-tcaI will then repeat the question here, and then answer it. If your question is not shown right away, don't repeat it fast. I will either answer it later, or tell you why.15:04
charlie-tcaAccessibility in Ubuntu, means the ability of anyone with a disability to use it15:05
charlie-tcasee, I answered.15:05
charlie-tcaAny questions?15:05
charlie-tcaGreat! Let's get this rolling then15:06
charlie-tcaThe leaders of the Ubuntu Accessibility Team are Penelope Stowe (pendulum) and Luke Yelavich (TheMuso). Penelope focuses on the outreach and documentation side of the team, while Luke runs the development side.15:06
charlie-tcaI triage accessibility bugs, and am in the process of re-writing the Accessibility Team wiki. The wiki is located at https://wiki.ubuntu.com/Accessibility .15:06
charlie-tcaAccessibility focuses on the Ubuntu desktop, because Gnome has good accessibility features. Would we like to see that expanded? Of course we would!15:06
charlie-tcaWant to know what accessibility means to us? If you are a non-disabled person, turn off your monitor and use your computer.15:07
charlie-tcaCan't do that? Missing anything? now put one hand behind your back and turn the monitor back on.15:08
charlie-tcaGo ahead, use your computer as you normally would!15:08
charlie-tcaHmm, difficult to type now?15:08
ClassBotnigelb asked: As a non-disabled person, how can I help the accessibility team?15:09
charlie-tcaThe Accessibility Team needs your help. We need to update our team wiki at https://wiki.ubuntu.com/Accessibility , we need to make sure accessibility features work, we need artwork that is visible for all of us.15:11
charlie-tcaWe also need to advocate for Accessibility in all derivatives of Ubuntu, as well as applications.15:11
charlie-tcaI can give more references later.15:12
charlie-tcaThe Accessibility Team has conducted a survey and created personas under the guidance of Penelope. We are now able to identify solutions and if required coordinate development to implement them. We also aim to increase awareness of the issues around accessibility with the rest of the Ubuntu project.15:12
charlie-tcaThis session isn't a how-to guide and won't go into a huge amount of detail into any one program. I just hope to raise your awareness, if I can. I also want to get you involved, if possible.15:13
charlie-tcaSince Ubuntu 10.10 is the latest release, I will address software available in that Ubuntu 10.10 as well as Ubuntu 10.04 LTS.15:13
charlie-tcaBefore I talk about specific programs, I want to talk about the Assistive Technologies menu, which can be found in System->Preferences -> Assistive Technology.15:14
charlie-tcaThis menu is where you can select your preferred accessibility programs and enable assistive technologies.15:15
charlie-tcaYou can use this menu to specify things such as how long to accept as a keypress, how to prevent accidental double clicking, and how quickly to respond to key presses.15:16
charlie-tcaThis is also where I slow my own mouse double-clicks down so it knows about them.15:16
charlie-tcaIt's also useful for turning off and on sticky keys or specifying keystrokes to stand in for things you'd normally do with a mouse.15:17
charlie-tcaThis is also the menu you use to specify which programs you want for an alternate keyboard or as a screen reader.15:18
charlie-tcaOkay, before I start talking about programs, are there any questions on the Assistive Technology menu?15:18
charlie-tca<genupulas> Question :i am not getting that why are you writing that one ...can you please give me a clear reason about that....please15:18
charlie-tcaAccessibility in Ubuntu, means the ability of anyone with a disability to use it15:19
charlie-tcaThat is, for every person to be able to use a computer, regardless of their ability or disability.15:19
charlie-tcathat does help, genupulas ?15:20
charlie-tcaThe first set of programs I'm talking about are the text-to-speech programs.15:20
charlie-tcaThe most popular of these is the Orca, although it isn't strictly a screen reader, as it has other capabilities.15:21
charlie-tcaOrca includes a screen reader, magnification capabilities, and braille capabilities, so it is more than text-to-speech, however most people when you say Orca think of it as a screen reader.15:21
charlie-tcaOrca was developed by the Accessibility department at Sun Microsystems, however, with the aquisition of Sun by Oracle, it has moved to community-development only.15:21
charlie-tcaOrca can work with programs that include the at-spi toolkit including the GNOME desktop, Firefox, OpenOffice, and many others.15:21
charlie-tcaIt can also be used with Xfce based applications.15:22
charlie-tcaMore information about Orca can be found at http://live.gnome.org/Orca .15:22
charlie-tcaOkay, any questions about Orca (named for the whale)?15:23
charlie-tcaAnother text-to-speech program is eSpeak. eSpeak is command line based. It supports quite a few different languages.15:23
charlie-tcaThere are several different versions of eSpeak including one specific to emacs.15:24
charlie-tcaMore information can be found at http://espeak.sourceforge.net/ .15:24
charlie-tcaThese are the two main text-to-speech/screen reader options in the Software Center.15:24
charlie-tcaAre there any questions about espeak or other questions about text-to-speech in Ubuntu?15:25
charlie-tcaAt the present time, there are no assistive technologies for people with learning/developmental difficulties specifically. Orca and some of the other programs are used by people with learning/developmental disabilities.15:25
charlie-tcaOne thing that happens in the open source world is that other that specific hardware needs (such as integration with braile keyboards or USB switches), things are developed towards what the software needs to do, not why the person needs that software.15:25
charlie-tcaokay, moving on from text-to-speech, I'm going to quickly cover magnification software.15:26
charlie-tcaThe two bits of magnification software commonly found in Ubuntu are gnome-mag and the magnification part of Orca.15:26
charlie-tcaThese applications allow you to move the magnification screen around your desktop so as to give the total view.15:26
charlie-tcaFor the normal sighted person, they can be cumbersome to use, but for the visually impaired, they allow us to see the entire screen.15:26
charlie-tcaNext I want to talk about alternate keyboards.15:27
charlie-tcaThese are programs which can be used to replace or augment a traditional keyboard. They usually directly interface with the mouse however the mouse may be controlled.15:27
charlie-tcaThe built-in alternate keyboard for Ubuntu is onBoard. It is basically an on-screen keyboard.15:27
charlie-tcaIt includes everything except the function keys from a regular keyboard.15:28
charlie-tcaYou click on the key or a sequence of keys using the mouse and it inputs directly into whatever program you're working on.15:28
charlie-tcaNot only useful as assistive technology, it's rather useful for people using Ubuntu on a tablet.15:28
charlie-tcaUnfortunately, you do need a mouse or other device to be able to use OnBoard15:29
charlie-tcaThe other well known option for alternate keyboard capabilities is Dasher.15:29
charlie-tcaDasher, rather than having a keyboard set-up, is mouse controlled by hovering the mouse over the letters on the screen.15:29
charlie-tcaIt also has predicitve text capabilities, which can be quite useful.15:29
charlie-tcaIf you run Dasher from the Applications menu in Ubuntu, it prints the characters in its own text editor and you can copy and paste into other programs.15:29
charlie-tcaFrom the command line you can run " dasher -a direct " which allows direct input into other programs.15:30
charlie-tcaThere are also Windows and MacOS X versions of Dasher.15:30
charlie-tcaFor those who have never tried an application like Dasher, I urge you to give it a chance. It is really fascinating how it builds words and sentences.15:30
charlie-tcaFor more information (including video and a way to try without downloading) you can go to http://www.inference.phy.cam.ac.uk/dasher/ .15:31
charlie-tcaBy all means, go to the website and try it for yourself.15:31
charlie-tcaAny questions about Alternate keyboards?15:31
charlie-tcaThere are two programs in Ubuntu that help with alternate mouse controls.15:31
charlie-tcaThese are applications that allow you to actually use the mouse without using your hands, if needed.15:32
charlie-tcaFirst, MouseTrap allows headtracking using a webcam to control your mouse.15:32
charlie-tcaThe other application, MouseTweaks  works with the Assistive Technologies menu to give the ability to allow the mouse to "click" even if the mouse user can't actually make the motion that allows a mouse to click normally.15:33
charlie-tcaThese are terrific programs for those who can not use the hardware mouse!15:33
charlie-tcaAnd now the topic that everyone asks about: Voice Recognition software.15:34
charlie-tcaThe short answer is that there are hacks and there are programs that sort of work, but there aren't great results for voice recognition in Ubuntu.15:34
charlie-tcaThe only voice recognition software in the Software Center is Julius. Julius was originally developed in Japanese and is being ported to English.15:34
charlie-tcaWait! A chance to help, even if you have no disability.15:35
charlie-tcaUnfortunately, as it's not finished software, the documentation is lacking.15:35
charlie-tcaThe other thing which has worked for some Ubuntu users is to run Dragon Natural Speaking under Wine.15:35
charlie-tcaand, yes, sometimes we do have to accept that Microsoft and Wine work for us.15:36
charlie-tcaAny voice recognition questions?15:36
ClassBotjothejo2 asked: charlie-tca what is accessibility?15:37
charlie-tcahm, you must be one of our late arrivals.15:37
charlie-tcaAccessibility means that anyone can use the computer. It doesn't matter if they have a physical disability, a visual disability, deafness, or any other issues.15:38
charlie-tcaAll of us want to be able to use the computer just as everyone else can.15:38
charlie-tcaAnd, yes, I will answer that as many times as it is asked. Accessibility is very hard for the "normal" person to understand.15:39
charlie-tcaNow I want to talk quickly about Ubuntu derivatives which focus on accessibility (or have some relevence).15:40
charlie-tcaProbably the biggest of these at the moment is Vinux.15:40
charlie-tcaOriginally started to be optimised for blind and visually impaired users, at this time, possible accessiblity additions or changes are tested in Vinux first.15:40
charlie-tcaFor more information about Vinux, visit the website at http://vinux.org.uk/ .15:41
charlie-tcaFinally, we have Qimo4kids, which mhall119 developed partially as a way to create something that would be easy for kids with developmental disabilities to use.15:41
charlie-tcaThere was a great session on Qimo4Kids yesterday. the logs are available at http://irclogs.ubuntu.com/2010/10/12/%23ubuntu-classroom.html for anyone that missed it.15:42
ClassBotsebsebseb asked: Does the accessibility team also work with upstreams such as Gnome, to make them more accessible?15:43
charlie-tcaGreat question, sebsebseb15:43
charlie-tcaYes, we do. Since Gnome has the best accessibility features of all the desktop environments, we work very closely with them.15:44
charlie-tcaas a matter of fact,  Gnome A11y team is also often useful: gnome-accessibility-list@gnome.org & http://projects.gnome.org/accessibility/15:44
ClassBotsebsebseb asked: Gnome 3 is coming, how do you think it will effect the accessability team?15:45
charlie-tcaThis is a difficult question to answer.15:46
charlie-tcaCurrent changes in Gnome are making accessibility more difficult to integrate well.15:46
charlie-tcaI am sure they are temporary drawbacks, and the accessiblity team is working with the Gnome developers to insure access for everybody.15:47
charlie-tcaWhere to get help or information:15:49
charlie-tcaThe accessibility wiki is https://help.ubuntu.com/community/Accessibility15:49
charlie-tcaas well as http://wiki.ubuntu.com/Accessibility (which is out of date and in process of updating)15:50
charlie-tcaThe Accessibility section of Ubuntu Forums15:50
charlie-tca#ubuntu-accessibility on IRC15:50
charlie-tcaThe mailing list at ubuntu-accessiblity@lists.ubuntu.com15:51
ClassBotThere are 10 minutes remaining in the current session.15:51
charlie-tcaThe ubuntu accessibility team wiki is http://wiki.ubuntu.com/Accessibility/Team15:51
ClassBotquietone asked: what about when I create documents, what can I do to increase their accessibility?15:51
charlie-tcaGreat question from quietone!15:52
charlie-tcaAre your documents written using good grammar?15:52
charlie-tcaAre there references which are incomplete?15:52
charlie-tcaby that, I mean, things that the normal person sees, such as a wiki reference that reads "wiki.ubuntu.com" instead of "https://wiki.ubuntu.com"15:53
charlie-tcathat is a simple thing for most people. When the document is put on line, are the fonts fixed? Can I increase the size if needed without losing half the information?15:54
charlie-tcaCan I not have a document without contrasts? grey on black is really not visible.15:54
charlie-tcaQuestion:  how well does 'simon' work?15:55
charlie-tcaI am not familiar with simon. I can not answer this for you.15:55
ClassBotThere are 5 minutes remaining in the current session.15:55
charlie-tcaQUESTION: Please explain "Can I increase the size if needed without losing half the information" or make a recommendation of what to do.15:57
charlie-tcaOn many on-line websites, the fonts are fixed. That is, the website creator has specified the font size in a css file.15:58
charlie-tcaWhen I go to that site, I use Ctrl + plus to increase the font size, and the font grows. Unfortunately, when I do that, the words go away from the page.15:59
charlie-tcaI can then read what should be there, because growing the font to make is visible makes it too big for the site pages.15:59
=== ChanServ changed the topic of #ubuntu-classroom to: Welcome to the Ubuntu Classroom - https://wiki.ubuntu.com/Classroom || Support in #ubuntu || Upcoming Schedule: http://is.gd/8rtIi || Questions in #ubuntu-classroom-chat || UOW Survey: http://is.gd/fZlwL || Event: Ubuntu Open Week - Current Session: Intro to Ubuntu Development - Instructors: bilalakhtar - Slides: http://people.ubuntu.com/~nhandler/slides/openweekmaverick/IntroductionToUb
charlie-tcaI hope this information is useful to you. We are always looking for more people to become more involved in Accessibility.16:01
ClassBotSlides for Intro to Ubuntu Development: http://people.ubuntu.com/~nhandler/slides/openweekmaverick/IntroductionToUbuntuDevelopment.pdf16:01
ClassBotLogs for this session will be available at http://irclogs.ubuntu.com/2010/10/13/%23ubuntu-classroom.html following the conclusion of the session.16:01
nigelbHellos folks16:02
bilalakhtarHello people and welcome to the third day of the Ubuntu Open week!16:02
nigelbThe next session will be taken by bilal and here he is :)16:02
bilalakhtarHello people and welcome to the third day of the Ubuntu Open week!16:02
bilalakhtarI am Bilal Akhtar, 14 (yes, 10+4) years old, studying at Delhi Public School, Riyadh, Saudi Arabia, though I am Indian by origin16:02
bilalakhtarsorry for repeating that line, happened by mistake16:02
bilalakhtarI am an Ubuntu Developer, and hence, I am here to give you an introduction to Ubuntu Development!16:03
bilalakhtar[SLIDE 1]16:03
bilalakhtarBefore I begin with the session, I want you people to install the following packages, since these will be needed in packaging an application.16:03
bilalakhtarThese packages are: dpkg-dev build-essential dh-make fakeroot devscripts . To install them, type in a terminal:16:03
bilalakhtarsudo apt-get install dpkg-dev build-essential dh-make fakeroot devscripts16:04
bilalakhtar[Slide 1]16:04
bilalakhtarSo let's begin!16:06
bilalakhtarIf you want to ask a question, ask it on #ubuntu-classroom-chat with the prefix QUESTION: eg. QUESTION: What does 'foo' mean?16:06
bilalakhtarNow, create an empty directory in your home directory16:07
bilalakhtarsince I will now tell you how to package a small C application16:07
bilalakhtar[SLIDE 2]16:07
bilalakhtarName the directory hello-packaging16:08
bilalakhtarand open a terminal and cd into it by typing cd hello-packaging16:08
bilalakhtarThen, download the source code of the upstream package. What is upstream? Let me explain16:08
bilalakhtarUpstream refers to the original application. The upstream application is packaged and made into a Debian package, also called a deb16:09
bilalakhtarDownload the upstream source by running this command:16:09
bilalakhtarwget http://ftp.gnu.org/gnu/hello/hello-2.6.tar.gz16:09
bilalakhtarthen extract the source by running: tar xzf hello-2.6.tar.gz16:10
bilalakhtarOkay, machinezilla just tols something about a postfix problem he is facing16:10
bilalakhtarsorry for ignoring it earlier16:10
bilalakhtarSet it to No configuration16:11
ClassBotnisshh asked: apparently there are multiple ways to package something, which is confusing for new developers, is there a "recommended" or "simple and easy" way to package the majority of things?16:11
bilalakhtarOf course there are multiple ways of packagign16:12
bilalakhtar*packaging16:12
bilalakhtarPackaging Python/PHP/Perl applications involve different processes16:12
bilalakhtarThe simplest is packaging C/C++ apps16:12
bilalakhtarthere are different ways in that as well16:13
bilalakhtarbut I am telling the latest and best of them16:13
bilalakhtarwhich is, of course, *recommended* for new packages16:13
bilalakhtarRight!16:13
bilalakhtarNow, you shall have 1 folder and 1 file in your directory16:14
bilalakhtarRename the hello-2.6.tar.gz file to hello_2.6.orig.tar.gz16:15
bilalakhtarand then cd into the hello-2.6 directory16:15
bilalakhtarokay, now you need to set up your packaging environment16:15
bilalakhtarfor which you need to run the below commands:16:15
bilalakhtarecho "export DEBEMAIL \"YOUR_EMAIL_ADDRESS@something.com\"" >> ~/.bashrc16:16
bilalakhtarReplace YOUR_EMAIL_ADDRESS@something.com with your e-mail address16:17
bilalakhtarAlo run:16:17
bilalakhtarecho "export DEBFULLNAME \"Your Full Name\"" >> ~/.bashrc16:17
bilalakhtarThen run :16:17
bilalakhtargpg --gen-key16:17
bilalakhtarAnswer the questions, and you shall have a gpg key16:18
bilalakhtarNow, I assume you are in your hello-packaging/hello-2.6 directory16:19
=== abadr_ is now known as abadr
bilalakhtarRun the below command:16:20
=== abadr is now known as badara
bilalakhtardh_make -c gpl3 -s16:20
=== badara is now known as ABadr
bilalakhtar-c gpl3 specifies the license16:21
=== ABadr is now known as Badr
bilalakhtarand -s means a single binary package16:21
=== Badr is now known as ubuntero
bilalakhtarNow, your hello-2.6 folder must be having a debian/ subfolder16:21
bilalakhtarcd into it16:21
bilalakhtarwe need to remove the extra files16:21
bilalakhtarto do that, run:16:21
=== ChanServ changed the topic of #ubuntu-classroom to: Welcome to the Ubuntu Classroom - https://wiki.ubuntu.com/Classroom || Support in #ubuntu || Upcoming Schedule: http://is.gd/8rtIi || Questions in #ubuntu-classroom-chat || UOW Survey: http://is.gd/fZlwL || Event: Ubuntu Open Week - Current Session: Intro to Ubuntu Development - Instructors: bilalakhtar - Slides: http://tinyurl.com/244y3k7
bilalakhtar[SLIDE 2]16:22
bilalakhtarMake sure you are in the debian folder, and run:16:23
bilalakhtarrm *ex *EX README.* info docs16:24
bilalakhtarNow, open the control file in the debian folder with your favourite text editor16:25
bilalakhtarSet the Homepage: line to Homepage: http://www.gnu.org/software/hello/16:25
bilalakhtarThis is the link to the main page of the project16:26
bilalakhtarAnd, you will need to add a description as well16:26
bilalakhtarso edit the Description: line and add a short description just after Description:16:26
ClassBotmachinezilla asked: i am stuck at gpg keygen step. i keep getting the following: Not enough random bytes available.  Please do some other work to give16:27
bilalakhtarYou must leave it at the step for some time (upto 5 mins) so that it has enough random bytes16:29
bilalakhtarSo I was at the Description: step16:29
bilalakhtarEnter a long description BELOW the line, intended with spaces16:30
bilalakhtarlike this:16:30
bilalakhtar Hello is a tiny program that prints Hello World!16:30
bilalakhtar It follows GNU standards in coding16:31
bilalakhtar and can be translated into other languages16:31
bilalakhtarMake sure each line has a space before it, otherwise the description won't come as intended16:31
bilalakhtarNow, save and close the control file16:32
bilalakhtarIgnore the compat file, its usage is beyond the scope of this tutorial16:32
bilalakhtarOpen the copyright file16:32
bilalakhtarIn real packaging, you will have to fill the placeholders in the file with real URLs and real authors16:34
bilalakhtarthat's all about this file16:34
bilalakhtarnow, open control again16:34
bilalakhtarI missed something in it16:34
bilalakhtarChange the Section: to Section: misc16:35
bilalakhtarAnd remove the #Vcs- fields16:36
bilalakhtarSave and exit16:36
bilalakhtarSince this is a simple C application using GNU autotools16:36
bilalakhtaryou don't need to modify the rules file16:36
bilalakhtarhowever, if you follow other packaging techniques, you do need to16:36
bilalakhtarso now for the changelog file16:37
bilalakhtarThe changelog contains a list of all the changes in a package, version-by-version16:37
bilalakhtarlet me give an example16:37
bilalakhtarhttp://changelogs.ubuntu.com/changelogs/pool/universe/a/a2ps/a2ps_4.14-1.1/changelog16:38
bilalakhtarThis is a typical changelog16:38
bilalakhtarToo confusing, eh? But there is a utility to help you deal with debian changelogs16:38
bilalakhtarwhich is debchange16:38
bilalakhtarYou already have it installed as part of package devscripts16:39
bilalakhtarso poke it with:16:39
bilalakhtardebchange -e16:39
bilalakhtarIf it asks for an editor, select your favourite one16:39
bilalakhtarNow, let us analyse the changelog16:39
bilalakhtarThe first line is something like this:16:39
bilalakhtarhello (2.6-1) unstable; urgency=low16:39
bilalakhtarChange unstable above to maverick16:39
bilalakhtar2.6-1 is the version16:40
bilalakhtarthough when packagign for Ubuntu it would be 2.6-0ubuntu116:40
bilalakhtar2.6 is the upstream application number, 0 is the debian version for a package not in Debian, and 1 is Ubuntu revision number16:40
bilalakhtarModify the second line like this16:40
bilalakhtar  * Initial Release16:41
bilalakhtarthat's all16:41
bilalakhtarSave and close16:41
bilalakhtarNow, run debuild in the terminal16:41
ClassBotmachinezilla asked: what are the #Vcs fields?16:41
bilalakhtarThey contain the links to the upstream revision control source location16:41
bilalakhtarWhat is that?16:41
bilalakhtarIts a link to the place where the latest source code is located16:42
ClassBotdaker asked: do i have right to package a proprietary software ?16:42
bilalakhtarYes you can, but you will need to have access to the source16:42
bilalakhtarand16:42
bilalakhtaryou will need to mention about the license of the package PROPERLY in debian/copyright16:42
bilalakhtarNow, as I said, run the command debuild16:43
bilalakhtarIt will build the package16:43
ClassBotmachinezilla asked: so the vcs field is the "Homepage:" field?16:43
bilalakhtarno16:43
bilalakhtarHomepage: refers to the home page of the software project16:43
bilalakhtarwhich is meant for user16:43
bilalakhtar*users16:43
bilalakhtarwhile Vcs-* fields point directly at the developer source of the package16:44
bilalakhtarI hope the package is built now16:44
bilalakhtarand in the hello-packaging folder you should have a deb file16:44
bilalakhtarCongrats! You just packaged an application!16:45
bilalakhtar[SLIDE 3]16:46
bilalakhtarOops, sorry for not mentioning this earlier16:47
bilalakhtarbut you will need to modify the Maintainer: field in debian/control to: Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>16:47
bilalakhtarNow building should work16:47
bilalakhtarAs the slide shows, Ubuntu is based on Debian http://www.debian.org16:48
bilalakhtar[SLIDE 4]16:49
bilalakhtarThe slides now tell everything16:49
bilalakhtarPlease ask questions if you have any16:49
bilalakhtar[SLIDE 5]16:50
bilalakhtarhttps://wiki.ubuntu.com/UbuntuDevelopment/Merging outlines the merging process16:51
ClassBotThere are 10 minutes remaining in the current session.16:51
bilalakhtar[SLIDE 6]16:52
ClassBotautif asked: If I have a piece of software (say) of source forge or git hub and I want to submit it to debian. Where do I sent it to to be included as a part of the official repository?16:52
bilalakhtarWait a minute, I am searching for a link16:53
bilalakhtar[SLIDE 7]16:54
bilalakhtarhttp://wiki.debian.org/HowToPackageForDebian16:55
bilalakhtarand16:55
ClassBotThere are 5 minutes remaining in the current session.16:55
bilalakhtar[SLIDE 8]16:56
bilalakhtarhttp://mentors.debian.net/cgi-bin/maintainer-intro should help you if you want to get a new package in debian16:56
bilalakhtarhttps://wiki.ubuntu.com/ContributingToDebian will also help you16:57
ClassBotautif asked: What is the level of testing expected before that package is submitted to the official repository - I mean if my fav distro is xubuntu, do I need to test it on ubuntu or latest debian?16:57
bilalakhtarAs I said16:57
bilalakhtarnew packages should come into Debian first16:57
bilalakhtarso testing with latest Debian is the best16:58
bilalakhtarXubuntu uses same repos as Ubuntu16:58
bilalakhtar[SLIDE 9]16:58
bilalakhtarAnd Ubuntu syncs from Debian16:58
bilalakhtarso getting a package in Debian will mean that it will come everywhere :)16:58
ClassBotkstailey_ asked: What does it take to get a PPA into Multiverse?16:58
bilalakhtarWhat do you actually mean?16:58
bilalakhtarYou mean, a PPA Package?16:59
bilalakhtaryou will need to check it for errors16:59
bilalakhtar[SLIDE 10]16:59
bilalakhtarAnd then apply through the sponsorship process for new packages16:59
bilalakhtarhttps://wiki.ubuntu.com/UbuntuDevelopment/NewPackages16:59
bilalakhtaris the process :)16:59
ClassBotmachinezilla asked: debuild is failing at gpp step. see paste: http://paste.ubuntu.com/512465/17:00
bilalakhtarMake sure that your DEBEMAIL and DEBFULLNAME variables are set17:00
bilalakhtarand your GPG key e-mail address matches it17:00
bilalakhtarokay, almost time up17:00
bilalakhtarAny more Qs?17:00
=== ChanServ changed the topic of #ubuntu-classroom to: Welcome to the Ubuntu Classroom - https://wiki.ubuntu.com/Classroom || Support in #ubuntu || Upcoming Schedule: http://is.gd/8rtIi || Questions in #ubuntu-classroom-chat || UOW Survey: http://is.gd/fZlwL || Event: Ubuntu Open Week - Current Session: Intro to Ubuntu and Cloud, running your 1st Ubuntu Server on EC2 - Instructors: kim0
ClassBotLogs for this session will be available at http://irclogs.ubuntu.com/2010/10/13/%23ubuntu-classroom.html following the conclusion of the session.17:01
kim0Good Morning, Good Afternoon and Good evening folks17:01
kim0Let me introduce myself .. This is Ahmed Kamal17:01
kim0I am the Ubuntu cloud liaison17:01
kim0So this session is cloud computing basics17:02
kim0Basically .. it introduces what cloud computing is all about17:02
kim0I do hear a lot from people who wonder what this cloud thing is all about17:02
kim0and what's in it "for me"17:03
kim0this session is exactly for that .. If you're more advanced however, I'd like to invite you to also attend the next session17:03
kim0by Dustin kirkland, a developer on the Ubuntu server team17:03
kim0This session is two parts17:04
kim0part1: I give an intro to cloud, and we have a Q+A session17:04
kim0part2: I will demo launching your first Ubuntu server VM on the Amazon EC2 cloud17:04
kim0which will include using cloud-init, a unique Ubuntu server package that makes it easier to work with VMs in the cloud17:05
kim0So the first thing you need to know about cloud computing .. is that everyone who knows about it has a different view on what it really is17:05
kim0i.e. every person has some definition, which I'm sure many other quite knowledgeable people would disagree about17:06
kim0If you're using Gmail/Facebook/Dropbox .. you're already using cloud computing17:06
kim0and you probably don't even know it!17:06
kim0I won't try to present a conclusive definition of cloud computing here, but I will say any cloud vendor should provide the following properties17:06
kim0-Pay per use17:07
kim0-Instant Scalability17:07
kim0-Security (If you trust your provider)17:07
kim0-Reliability17:07
kim0-APIs17:07
kim0let me quickly comment on each of those points17:07
kim0the first .. pay per use, really means that you only pay for what you use17:07
kim0this is as opposed to a more traditional VPS (Virtual Private Server)17:08
kim0where you rent by the month ..17:08
kim0in the pay per use model .. you can use 100 servers for 1 hour and only pay for that!17:08
kim0-Instant Scalability17:08
kim0This one means .. that most cloud providers17:08
kim0do not limit your scaling .. ie if you need more storage or more servers17:09
kim0you can go ahead and just get them .. no need for pre-committment17:09
kim0-Security (If you trust your provider)17:09
kim0Well .. a major debate point17:09
kim0however .. Some people will never trust their data on someone else's data-center17:09
kim0however .. some other people will say ...17:10
kim0just as you trust the bank with your money .. trust us with your data17:10
kim0it really depends on how valuable your data is to you, how much you trust the provider17:10
kim0however .. if you have no dedicated IT staff .. throwing your load on a public cloud may even provide better security than running things in house17:11
kim0-Reliability17:11
kim0Most cloud vendors will invest in building a reliable data center17:11
kim0replicated storage17:11
kim0fault tolerant equipment ...etc17:11
kim0you gain all of that ..17:11
kim0-APIs17:12
kim0The final point .. and it basically means that you control your cloud virtual data center17:12
kim0through a set of APIs17:12
kim0APIs are Application Programming Interfaces17:12
kim0basically .. a way to programmatically create servers, storage, hook them up together17:12
kim0so you can basically script or program everything that builds your entire virtual data-center17:13
kim0"automation" is thus big in the cloud world17:13
kim0and APIs do enable that17:13
kim0when you're managing hundreds or thousands of virtual servers .. automation is generally important17:13
kim0so ..17:14
kim0In essence when you decide to use cloud computing, you're outsourcing your IT services (storage, infrastructure, ...etc) to a vendor that uses his skills to provide a reliable,secure service and uses the economies of scale to provide them at very competitive prices17:14
kim0Any questions so far ?17:14
ClassBotjack002 asked: What happens if vendor stop supporting a cloud?17:15
kim0The question is what about if my cloud vendor dies/disappears/goes-out-of-business17:16
kim0A very valid concern indeed17:16
kim0that is why most cloud concerned IT people17:16
kim0try to avoid "vendor lock in"17:16
kim0which means having a standard API to manage your cloud17:16
kim0and being able to quickly and easily migrate your data and infrastructure off to a different cloud17:17
kim0there is a lot of effort in that direction17:17
kim0standardizing APIs ..17:17
kim0writing wrapper tools like the delta-cloud wrapper17:17
kim0to standardize cloud management17:17
kim0however .. the whole scene is too young and fast moving .. so there is not definitive answer yet17:17
kim0however indeed .. vendor lock in is something you should care about17:18
kim0Alright17:18
kim0So, let's move on to the different types of clouds17:18
kim0Most people categorize clouds as either17:18
kim0-IaaS17:18
kim0-PaaS17:19
kim0-SaaS17:19
kim0being .. Infrastructure, Platform, Software17:19
kim0as a Service17:19
kim0IaaS: Basically means .. you get the low level infrastructure as a service. i.e. what you get is, raw storage, networking bandwidth, load balancers, servers ...etc17:20
kim0and you build your code and applications on top17:20
kim0very similar to physical servers really17:20
kim0This is similar to the Amazon EC2 cloud .. the rackspace cloud and many others17:20
kim0PaaS: being .. Platform .. you get a "platform" to code against!17:20
kim0i.e. you don't really see "machine" and "storage"17:21
kim0you may not even know how many machines your code is running on17:21
kim0you may not know how the network is configured!17:21
kim0What you do get17:21
kim0is a "File-system" for example to put shared data on17:21
kim0you'd get an API to store/retrieve data from17:21
kim0...etc17:21
kim0How this database you're using is actually configurd .. where does it run .. is none of your concerns!17:22
kim0The prime example of a PaaS .. is the Google App Engine platform17:22
kim0The major benefit of PaaS .. is that you don't care/know about the low level stuff17:22
kim0it all "just works" as far as you're concerned17:23
kim0however .. the bad part .. is that you don't know the low level stuff also!17:23
kim0you cannot change anything .. you have almost zero control on the low level configuration ...etc17:23
kim0Another major benefit, is that you get scaling, for very little or almost no effort17:24
kim0on the other hand .. with IaaS ..17:24
kim0you would have to build your application in a scalable manner17:24
kim0you'd have to use load balancers .. use caching in a smart way ..17:24
kim0manage DB replicas .. manage DB sharding ... etc17:24
kim0lots of stuff, which may consume a lot of effort17:24
kim0The last cloud type we mentioned was17:25
kim0-SaaS17:25
kim0basically Software as a service17:25
kim0What this means .. is that you get a final completed "Software" running in the cloud17:25
kim0and you just use it!17:25
kim0examples .. are like Salesforce.com17:25
kim0It is a complete CRM application17:26
kim0that is running in the cloud17:26
kim0you don't need to worry about buying servers, buying storage, running or scaling it17:26
kim0or backing it up ...etc17:26
kim0you just pay per use17:26
kim0the simplicity and benefits are obvious .. while of course vendor lockin is also fairly obvious and problematic17:27
kim0Cool ..17:27
kim0Another classification type of Clouds17:27
kim0is17:27
kim0private, public, hybrid17:27
kim0let's quickly comment on that17:27
kim0-Private: Means a cloud that you built and that you control .. in-house .. behind your firewall .. in your own datacenter17:28
kim0An enterprise may very well build its own private cloud for its internal users17:28
kim0-Public: This basically means a cloud that's available publicly on the Internet for anyone that pays17:29
kim0-Hybrid: This one is a mix of both public and private17:29
kim0for example .. you may build an inhouse cloud that handles the average load17:29
kim0however .. a couple of days per month17:29
kim0you get 5x the normal load for some reason17:29
kim0so you decide to "burst" out17:30
kim0to some public cloud17:30
kim0so you start some virtual servers (VMs) on a public cloud17:30
kim0perhaps establish a VPN connection between your enterprise and the public cloud17:30
kim0et voila .. you can expand your virtual datacenter as much as you want to handle the extra load17:30
kim0so .. any questions so far17:31
ClassBotkstailey_ asked: is libcloud an API?17:32
kim0libcloud is an abstraction library17:32
kim0that works across many cloud vendors17:32
kim0so if you're writing an in house script that connects to a public cloud17:33
kim0creates a few servers and configures them17:33
kim0if you build your script over libcloud17:33
kim0you'd be able to quickly replace17:33
kim0Amazon ec2 for example .. by linode17:33
kim0across many others17:33
kim0this is part of the solutions to the vendor lockin problem17:33
ClassBotongolaBoy asked: I guess that all this kind of cloud involve tons of complex hardware and software to run. Am I right ?17:34
kim0Well ..17:34
kim0remember when we said public vs private clouds17:34
kim0One thing I would like to mention is that you can build a private cloud17:34
kim0today using Ubuntu17:35
kim0using Ubuntu Enterprise Cloud17:35
kim0UEC17:35
kim0that is integrated with the Ubuntu server CDs17:35
kim0to answer your question about "complexity"17:35
kim0I would say it is very "simple" for a sysadmin type person to install and get UEC cloud running17:35
kim0after all everything is easier with Ubuntu :)17:36
kim0however ..17:36
kim0of course for production clouds that serve the whole world17:36
kim0the likes of Amazon and Google data-centers17:36
kim0indeed the hardware and software involved can become quite involved17:36
kim0requiring teams of highly skilled unix geeks to keep up and running17:36
kim0you can start small .. UEC for example can be run on only 2 machines17:37
kim0or with some hacks .. even just one machine17:37
kim0and grow your infrastructure as much as you want17:37
ClassBotkstailey_ asked: does it make sense to run PaaS on Iaas?17:37
kim0Good question17:38
kim0It makes sense to me17:38
kim0The most popular PaaS platforms are however proprietary17:38
kim0for example .. the Google App Engine code is closed AFAIK17:38
kim0if it were open .. you could definitely get it running over IaaS17:39
kim0after all .. it needs to run over something17:39
kim0there definitely are some smaller PaaS frameworks that you can start using17:39
kim0I remember coding against a framework called web2py17:39
kim0which could either be deployed locally17:39
kim0OR could be deployed to run over google app engine17:39
kim0such solutions may be a good starting points to avoid vendor lockin17:40
ClassBotkomputes asked: This all sounds great but how does one do this virtual datacenter expantion with minimum development knowledge?17:40
kim0Not sure if "development" in your question means linux sysadmin knowledge or actually development knowledge writing your app17:41
kim0with APIs .. you basically can create a virtual data-center17:42
kim0without too much IT infrastructure knowledge17:42
kim0i.e. without much knowledge of servers, storage, networking ...etc17:42
kim0an application developer can get by perhaps without a Linux admin at all17:42
kim0however .. ofcourse you still need app development skills to run your app17:42
kim0even more so .. to create an app that can be scaled to take advantage of the cloud17:43
ClassBotkomputes asked: Is there a pre-built solution for using a cloud as a remote desktop middle-man (i.e. I want to support grandma but both of us are behind a firewalls and both ends can't port forward - not admin)17:43
kim0I don't think you need a cloud for that .. you can use applications like TeamViewer or logmein (free but not foss)17:44
kim0although you could write your own app if you wanted to of course17:44
ClassBotkstailey_ asked: how long before we see Ubuntu switch to OpenStack?17:44
kim0UEC is built on top of the best open source cloud technologies17:45
kim0at the moment .. that is Eucalyptus17:45
kim0openstack is a fine piece of evolving technology though17:45
kim0it's already in maverick universe .. so you can go ahead and play with it17:45
kim0we're kinda running out of time17:46
kim0just wanted to mention a couple of killer cloud use cases17:46
kim0If your application load varies significantly (top load / least load > 10)17:46
kim0then you most likely will benefit from running your load over a cloud17:46
kim0examples17:46
kim0The Washington Post: 200 EC2 instances (1,407 server hours), convert 17,481 pages of Hillary Clinton’s travel documents within 9 hours17:46
kim0The New York Times used 100 Amazon EC2 instances + Hadoop application to recognize 4TB of raw  TIFF image into 1.1 million PDFs in 24 hours ($240) 17:47
kim0Okay17:47
kim0so let's start with a quick demo17:47
kim0which I hope is going to actually work :)17:47
kim0In this demo we will use Amazon's EC2 cloud17:47
kim0we will launch Ubuntu server17:47
kim0Note that17:48
kim0if you want to experience Ubuntu server over EC2 cloud yourself17:48
kim0You can17:48
kim0For Free !17:48
kim0Well actually Canonical pays for you17:48
kim0You can run it for an hour17:48
kim0by visiting http://10.cloud.ubuntu.com17:48
=== [[NEO]] is now known as Neo31
kim0The first thing is identifying17:50
kim0which Ubuntu server you want to run17:50
kim0you can do so by visiting17:50
kim0http://uec-images.ubuntu.com/releases/maverick/release/17:50
kim0or you can replace maverick by any other release name17:50
kim0You can pick any AMI you want17:50
kim0AMI = Amazon Machine Image17:50
ClassBotThere are 10 minutes remaining in the current session.17:51
kim0basically a blueprint/template of the virtual server you will start17:51
kim0assuming you have the ec2 tools setup correctly17:51
kim0You can create and launch your server with one command like17:51
kim0ec2-run-instances ami-508c7839 --instance-type t1.micro --region us-east-1 -k MyEC2Key --user-data-file=cloudinit.txt17:51
kim0ami-508c7839 : Is the AMI we chose17:51
kim0t1.micro = is the smallest machine Amazon provides17:52
kim0MyEC2Key: Is my private key (my password if you will)17:52
kim0cloudinit.txt :17:52
kim0That is one interesting feature of Ubuntu in the cloud17:52
kim0cloud-init is a feature which allows the VM to automatically customizes itself17:52
kim0as it boots17:53
kim0i.e. you can tell the machine17:53
kim0to upgrade all software (apt-get upgrade)17:53
kim0and install apache217:53
kim0all while booting17:53
kim0Take a look at17:54
kim0http://paste.ubuntu.com/512497/17:54
kim0Which shows the cloud-init file I am using17:54
kim0This file ensures that17:54
kim0the VM upgrades itself17:54
kim0runs byobu17:54
kim0imports my ssh public key from launchpad!17:54
kim0automatically so I can login17:55
kim0installs apache17:55
kim0and runs some commands at machine boot time17:55
kim0this is of course awesome17:55
kim0since all your servers launch from the same template17:55
kim0you need a way to customize them17:55
kim0into their respective roles17:55
kim0and cloud-init does just that17:55
ClassBotThere are 5 minutes remaining in the current session.17:55
kim0If you visit17:56
kim0http://typewith.me/Eip1j21bJ317:56
kim0I will  paste the command output interactively17:56
kim0The bold text ,, is called the machine ID17:57
kim0Now my server has been created17:57
kim0I ran describe instances17:58
kim0this gets me the public name17:58
kim0of my server17:58
kim0if you visit that17:58
kim0there should be apache17:58
kim0http://ec2-184-72-172-83.compute-1.amazonaws.com/17:58
kim0Indeed .. it works!17:58
kim0that's how easy it is17:58
kim0to deploy an ubuntu server with a customized apache running on it17:59
kim0sorry folks if we're running out of time17:59
kim0one final thing I wanna show you18:00
kim0is the logs of the machine18:00
kim0http://paste.ubuntu.com/512499/18:00
kim0notice how cloud-init has customized the server18:00
=== ChanServ changed the topic of #ubuntu-classroom to: Welcome to the Ubuntu Classroom - https://wiki.ubuntu.com/Classroom || Support in #ubuntu || Upcoming Schedule: http://is.gd/8rtIi || Questions in #ubuntu-classroom-chat || UOW Survey: http://is.gd/fZlwL || Event: Ubuntu Open Week - Current Session: Deploying Web Applications in the Cloud - Instructors: kirkland
kim0upgraded it and installed apache18:01
ClassBotLogs for this session will be available at http://irclogs.ubuntu.com/2010/10/13/%23ubuntu-classroom.html following the conclusion of the session.18:01
kirklandhowdy howdy howdy!18:01
kirklandalright18:01
kirklandso continuing on with the cloud theme, i'll invite you to join me for a real live demo18:01
kirklandif you would be so kind as to:18:02
kirkland  ssh -C guest@ec2-174-129-94-110.compute-1.amazonaws.com18:02
kirklandthe password is 'guest'18:02
kirklandi'll wait just a minute for people to log in18:02
kirklandwhen you get in, you should see a shared Byobu session18:03
kirklandwith the matrix screen saver running18:03
kirklandi have write access18:03
kirklandeveryone else should have read only access18:03
kirklandnow, i'm going to go through a few examples in that window, that everyone will be able to see18:03
kirklandhowever, you're welcome to do the same things on your own system18:03
kirklandall of what i'm going to do will work on your Ubuntu desktop, server, or virtual machine18:04
kirklandand if you haven't already, go to http://10.cloud.ubuntu.com for your free hour of Ubuntu in the Cloud :-)18:04
kirklandokay, so yeah, a free hour in the cloud ... as many people have asked18:04
kirkland"so I logged in, and that's cool, but .... now what?" :-)18:04
kirklandwell, i find cloud instances great places for writing and deploying web applications18:05
kirklandmany web apps are small, and lightweight, and can work very well in a virtualized cloud environment18:05
kirklandi'm going to go through a few examples of some sample web apps18:05
kirklandyou may or may not be interested in the particular applications that i demo18:05
kirklandbut hopefully they'll give you a good idea18:05
kirklandalrighty, any questions before we get started?18:06
kirklandgreat ...18:06
kirklandalright, so first, we're going to deploy a web app in this cloud instance that will allow us to share pictures over the web18:07
kirklandthere are lots of public ones available, like Flickr, Picasa, etc.18:07
kirklandand those are certainly great for what they are18:07
kirklandbut sometimes, perhaps, you want to run the server yourself18:07
kirklandor, you don't want to upload your pictures to a 3rd party18:08
kirklandor perhaps you just want to tinker with the source code, like me :-)18:08
kirklandUbuntu includes a number of such web apps18:08
kirklandi'm going to show you how to deploy, configure, and install one such18:08
kirklandand I picked it because I wrote it as a college student in 1999 :-)18:08
kirklandsudo apt-get install pictor18:09
kirklandi'm doing that in the shared screen session now18:09
kirklandnow i've got a stack of dependencies that are going to be installed18:09
kirklandhttp://pastebin.ubuntu.com/512507/18:09
kirkland^ if you're not following in screen18:09
kirklandnotice how fast these download and install in the cloud :-)18:10
kirklandthis is because Canonical provides a mirror of the ubuntu archive in EC2 itself18:10
kirklandnote that you're not charged for network bandwidth inside of EC218:10
kirklandokay, cool, so now pictor is installed18:10
kirklandlet's point our web browser to it18:10
kirklandum, i see i have an error message :-)  one second ...18:12
kirklandYour apache2 configuration is broken, so we're not restarting it for you.18:12
kirkland(sorry, i just set this up before the session, purged it uncleanly)18:13
kirklandokay, sorry18:14
kirklandhttp://174.129.94.110/pictor/18:14
kirklandnow it's up18:14
kirklandso that's the default landing page of pictor18:14
kirklandto review ...18:14
kirklandsudo apt-get install pictor18:15
kirklandi had to sudo service apache2 restart18:15
kirklandthen point a browser to http://174.129.94.110/pictor/18:15
kirklandthere, i see an error message18:15
kirklandERROR18:15
kirklandNo pictures found.18:15
kirklandCreate a symlink to your pictures folder at18:15
kirkland/usr/share/pictor/pictures18:15
kirklandso i've seeded this instance with a few pictures18:15
kirklandin ubuntu's home directory, we should see a Pictures dir18:16
kirklandwhich you also have on your Ubuntu desktop18:16
kirklandinside of the Pictures dir there can be a list of sub dirs18:16
kirklandand subdirs can have subdirs, etc. etc. etc.18:16
kirklandand so on18:16
kirklandour error message at http://174.129.94.110/pictor/ says that we need a symlink18:17
kirklandto tell pictor where our pictures are located18:17
kirklandwhich is /home/ubuntu/Pictures18:17
kirklandlet's do this...18:17
kirklandsudo ln -s /home/ubuntu/Pictures /usr/share/pictor/pictures18:17
kirklandnow refresh http://174.129.94.110/pictor/18:17
kirklandand you should see a list of the available albums18:18
kirklandclick on one of them, and you should either see more subdirs, or thumbnails of pictures18:18
kirklandlooks like my upload did not complete18:19
kirklandanyway, you get the 'picture' ;-)18:19
* kirkland finishes syncing18:19
kirklandclick on a given picture, and you get meta data details about the photo18:20
kirklandyou can dynamically resize, rotate it, etc.18:20
kirklandlet's take a quick look where this is happening ...18:20
kirklandcd /var/cache/pictor18:20
kirklandls18:20
kirklandresize  thumbnails18:21
kirklandthere's a set of thumbnails cached here, which are taken out of the JPEG headers (if available), and if not, it uses ImageMagik to create and cache a thumbnail18:21
kirklandwe can clear this cache at any time, and it just gets rebuilt18:21
kirklandubuntu@ip-10-202-194-3:/var/cache/pictor/thumbnails$ sudo rm -rf *18:21
kirklandnow, just refresh http://174.129.94.110/pictor/?album=/Puppies/2007-12-17&thumbs=118:22
kirklandnote that it's easy to drop an .htaccess file in here and make this password protected18:22
kirklandif you wanted to make these somewhat more "private"18:23
kirklandand there's no database at all18:23
kirklandall of pictor is driven from the filesystem and metadata included in the JPG18:23
kirklandso it's trivial to move pictures around18:23
kirklandupload more, etc.18:23
kirklandalso, it comes with a handy little utility called "pictor-unload"18:24
kirklandwhich you can use to keep pictures from multiple cameras in sync18:24
kirklandso if i'm shooting with one camera, and my wife is shooting with another18:24
kirklandand their two clocks are in sync18:24
kirklandwe can unload the two flash cards, and name the pics accordingly18:25
kirklandlet me try to fake a demo of that ...18:25
kirklandsince clouds don't have flash media :-)18:25
kirklandokay, let's pretend that /media/flash is my flash disk18:26
kirklandand in there, there's a subdir of some pictures18:26
kirklandand i want to "unload" those18:26
kirklandlet's make a new destination directory18:27
kirklandpictor-unload /media/flash /home/ubuntu/Pictures/More\ Puppies18:27
kirklandokay, now i have a copy of the pics in the current dir, renamed with their timestamp on the front18:28
kirklandthis helps keep things in order18:28
kirklandand now, goto http://174.129.94.110/pictor/?album=/More+Puppies&thumbs=118:28
kirklandand you see that the new pics are up already18:29
kirklandokay ... so that a whirlwind tour of pictor18:29
kirklanda fun little web app to deploy in the cloud (though you could just as easily do so on a server or a desktop)18:29
kirklandlet's now take a look at it's more musical cousin ...18:29
kirklandmusica18:29
kirklandmusica is a web app for streaming music18:30
kirklandit's a nice way of accessing your entire music library remotely18:30
kirkland(and another web app i wrote in college, back in 1998-1999)18:30
kirklandsudo apt-get install musica18:30
kirklandalrighty, just like that, musica is now installed18:31
kirklandnow, point your browser to http://174.129.94.110/musica/18:31
kirklandonce again, we see that we need to put a symlink in place to tell musica where to find our tunes18:31
kirklandand once again, i've preloaded this cloud instance with a few tunes from some of my musical friends18:32
kirklandcan everyone get to http://174.129.94.110/musica/ okay?18:32
kirklandalright, now let's create that symlink18:33
kirklandsudo ln -s /home/ubuntu/Music /usr/share/musica/music18:33
kirklandand refresh http://174.129.94.110/musica/18:33
kirklandthere's a couple of frames to this webpage18:33
kirkland(yeah, i wrote most of this long before ajax existed)18:33
kirklandthe left most is a list of artists18:34
kirklandwhich include my buddy "Jeff Luna" and his zaney comedic tunes18:34
kirklandand Last Chance Dave -- a couple of guys with some nice soulful rock18:34
kirklandclicking on either of them will show the albums that i have18:34
kirklandfor that artist18:34
kirklandclicking on an album will then launch a flash based player18:35
kirklandcalled jplayer, which is embedded18:35
kirklandfrom there, you have the basic streaming functionality18:35
kirklandplay/pause, skip around, volume, etc.18:35
kirklandyou can also download an m3u playlist, or a tarball of the whole album18:36
kirklandnow, let's add some new tunes to our library18:36
kirklandin case you missed it, jono's band, Severed Fifth released a new album this week-ish18:36
kirklandit's freely downloadable from http://www.severedfifth.com/releases/18:37
kirklandwget http://audio.lugradio.org/severedfifth/nightmaresbydesign/severedfifth-nightmaresbydesign-2010-ogg.zip18:37
kirklandand we watch that download to our cloud instance18:37
kirkland.... done18:37
kirklandsorry , network connectivity issue18:46
kirkland:-(18:46
kirklandtethered through phone now18:46
kirklandokay, let's get some new music18:46
kirklandnow try refreshing http://174.129.94.110/musica/18:47
kirklandokay, so that's pretty much musica18:48
kirklandagain, like pictor, it's easy to add an .htaccess18:48
kirklandand authenticate through18:48
kirklandto "protect" your pictures and music18:49
kirklandit's also easy to add SSL to the apache configuration18:49
kirklandthis is where the embedded player is really nice18:49
kirklandit doesn't even need to know about that at all18:49
ClassBotThere are 10 minutes remaining in the current session.18:50
kirkland<IdleOne> QUESTION: why aren't the severed fifth tunes playing?18:51
kirkland<kirkland> IdleOne: possibly a bug in ogg support in jplayer, i'll need to take a look at that one18:51
kirklandlet's try to get to some questions18:51
kirklandi had hoped to deploy a wordpress instance and a moodle server18:51
kirklandi can do those quickly, without much detail if you like18:51
kirklandor i can field some questions18:51
kirkland<sujiths80> Question:I loged into the cloud but I can see some letters scrolling ,..is it the same expected18:52
kirklandthat was the program 'cmatrix'18:52
kirkland:-)18:52
kirklandsupposed to look like the matrix18:52
kirklandi think it's a fun screen saver for servers :-)18:52
kirkland<sujiths80> Question:How long we cloud computing if try 10.ubuntu cloud page18:52
kirklandthose instances only last about ~1 hour18:53
kirklandso it's really just for test driving18:53
kirklandyou can buy your own instance though, if you like18:53
kirklandand keep it as long as you're willing to pay Amazon for it18:53
kirkland(ubuntu is free though)18:53
kirkland<kstailey_> is that the standard-issue byobu profile?18:53
kirklandi've tweaked a couple of things18:53
kirklandi wanted to see the ec2-cost, network traffic, and number of people logged in18:54
kirkland<sebsebseb> QUESTION: So basically pictor is a photo gallery program, but what is needed on a web server for it?18:54
kirklandyeah, that's it basically;  sudo apt-get install pictor will install all of its web server dependencies18:55
ClassBotThere are 5 minutes remaining in the current session.18:55
kirkland<hermes> 17:56:32> QUESTION: How do these instances actually get created with CLOUD?18:59
kirklandi created this instance using ec2-run-instance18:59
kirklandand picked an image from http://uec-images.ubuntu.com/maverick/current/18:59
kirklandi used screenbin(1) to set it up for this classroom setting18:59
kirklandwhere i have write access you have read access18:59
kirkland<sujiths80> 17:56:29> Please proceed with wordpress then19:00
kirklandinstalling now ...19:00
ClassBotLogs for this session will be available at http://irclogs.ubuntu.com/2010/10/13/%23ubuntu-classroom.html19:01
kirkland<autif> QUESTION: so how is deploying an app to a cloud any different from applying to Ubuntu Server. I am guessing the answer is that it isn't. Just ssh  and sudo apt-get install -y. Is that correct?19:01
kirklandautif: mostly the same19:01
=== ChanServ changed the topic of #ubuntu-classroom to: Welcome to the Ubuntu Classroom - https://wiki.ubuntu.com/Classroom || Support in #ubuntu || Upcoming Schedule: http://is.gd/8rtIi || Questions in #ubuntu-classroom-chat || UOW Survey: http://is.gd/fZlwL ||
Kilosaw schools over19:41
KilosRusty49, you here still19:41
Rusty49yes19:42
Kilosok you good here then19:42
Kiloscheers all19:47
=== kdrsx is now known as kuadrosx

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!