Showing posts with label slackware. Show all posts
Showing posts with label slackware. Show all posts

Monday, October 1, 2018

How Do I Reach These Kids?

How Do I Reach These Kids?

Over the past 35 years, I've tried everything I could think of to make learning fun in my classroom and encourage my students to succeed. I don't know if I want to get into every little gimmick, which ones worked and which ones didn't. 

However, we as teachers all try to cultivate a culture of learning in our classrooms and I think I will list a few that have become traditions in my room for future reference. 

Warning, some of these gimmicks tend to be on the geeky side 'cause, let's face it, I'm a bit of a geek! What follows is a list of the top 10 traditions, in no particular order, that seem to have a life of their own in my classroom in that they resurrect themselves year after year! 

1) Ceremony Of The Seats
The first day of every quarter, even the very first day of school, in fact, starts with the Ceremony Of The Seats! Every single class that day starts with the students walking into a dark classroom. The only light source is the SmartBoard playing the original sound track from the film "A Beautiful Mind" that you hear playing above. Then I lead each student to their seat, one at a time, with my cellphone flashlight like an usher at a movie theater! OK, I'll admit to a little flair toward the dramatic. Instilling a little mystery and wonder in class never hurt anyone, say I!


2) YouTube Wednesdays 
Every Wednesday I show a short clip from YouTube that has at least something remotely to do with STEM in general or a recent lesson in particular. This started a few years ago when I played some FILKs related to Calculus. What's a FILK? It's a recognizable tune where the words have been changed to make fun of something or some sort of statement. As you can see above, I start the year with several FILKs by Tom Lehrer. Then I ease my way into documentaries about Admiral Grace Murray Hopper, then I get into NOVA episodes and the like! I start the year more or less the same way in every class. Then my Math and CompSci classes start watching different documentaries! This works well especially if you keep it short and have a brief class discussion afterward. I also have a ChromeCast running my playlists downstairs in our display case (with no sound so as not to bother nearby classes)! 

Of course, Gracie is my greatest idol because she would always encourage everyone to do things their own way. What we would call "thinking outside the box" today was an everyday event for her. She even had an analog clock on her desk that ran counterclockwise just to show that you don't always have to do everything the same way everyone else does it. I suppose that she was akin to a modern day Henry David Thoreau following the beat of her own drum! For example, she would always say, and I'm paraphrasing, that "it's a lot easier to act first and ask for forgiveness later." In other words, asking for permission before you do something is just putting responsibility on someone else's shoulders. Be a leader! If you think there's a better way to do something, go ahead and do it! Stand up for what you believe! Have the courage of your convictions! That's how I got Linux into my classroom back in the 1990s when Linux first came out. I couldn't stand how programmer unfriendly our Windows OS and Novell Network was. So, one day, I just downloaded and installed Slackware Linux. 

Here's my conversation with my boss the day after installation 24 years ago,
Boss: "Wait, that's not Windows, what is it?"
Me: "Right you are, it's Linux!"
Me: "I don't do Windows, 
Me: "and neither does my maid!"
Boss: "Oh my, how much does it cost?"
Me: "I use FLOSS everyday!"
Me: "Free Linux Open Source Software."
Boss: "Aren't you breaking CopyRight law?"
Me: "Nope, it's CopyLefted!"
Boss: "We can't run that here!
Boss: "Who will maintain it?"
Me: "Well, I will, of course!"
Boss: "What a great idea!"
And it's been that way ever since .... except, last year, IT replaced all my Linux Partitions with WimpDoze!


3) Hour Of Code
My 1999-2000 AP Computer Science class was cancelled due to low enrollment. Ever since then I take a day near Admiral Grace Murray Hopper's birthday (12/9/1906) to conduct an in-school field trip. This Field Trip is not for my own students. I try to get all the other Honors Math teachers on board and have them bring their classes to my room. If I have a lot of Juniors, I will also take a day to do this with my own students. Over the past few years my Field Trip has dove tailed with the Hour Of Code and CS ED Week. Here's a whole other blog post about what we do during the Hour Of Code. This year I'll be using some of the inspirational videos from code.org, but I will be doing my own presentations. My Math classes will be learning about SAGE. Each presentation will include something related to a current lesson as well as an introduction to python. I'll do a bit of Arithmetic, Algebra and Algorithms in each class. Then in Calculus we'll do some Riemann Sum Programs. In preCalculus we'll do some Scalar Dot Products and Resultant Vectors with graphs in 2D and Vector Cross Products with graphs in 3D. In AP Computer Science, I'll introduce Processing. With the Field Trip students we'll solve Quadratic Equations by coding in SAGE and Python.


4) preCalculus and Calculus Carols
Every class in December starts with a little caroling practice! These classes are our rehearsal for the day before XMas Break when we tour the school Caroling for whomever will listen. BTW, we have a preCalculus song book and a Calculus song book each with 12 songs we've collected over the years. Some are original compositions by my students. Some are stolen from the web. So, sue me! Last year we putt together an APCS song book based on Tom Lehrer lyrics!


5) Continental Mathematics League (CML)
CML is a competition a lot like Mathletes but is held in-house and there are several levels. My AP Calculus BC class competes in the Calculus League. There used to be a Computer Science League with AP Review styled questions, but that's over. There's basic Math and CS competitions for Elementary school students. We've participated in this competition for over 10 years. It's great practice for AB Calculus Exam level questions. There's 4 competitions: December, February, March and April. Each one can be done in a class period. The competitions have 6 short answer and 2 longer questions. The long questions are a lot like AP FRQs. The short qustions can be MCQs, T/F or Fill-in. I play classical or instrumental music in the background during quizzes and tests to help concentration. Each year we compete against about 100 schools. Most of these schools are in the USA, but some are International American High Schools. We usually place in the top 3-5 schools in our region that includes NY and NJ. We have our first meet November this year. Wish us luck!


6) CIS(theta) & NCSHS
I've been running a Computing Independent Study (CIS) course every year since 1995! Recent years have been focused on Parallel Computing setting up a cluster we like to call Shadowfax using MPI. First thing we used to do each year is reinstall our whole PC Lab Classroom with the latest version of Ubuntu Linux Desktop 64bit OS. Then we install the MPI compiler software stack. This year we'll have to figure out how to use WimpDoze instead. How about a Raspberry PI cluster? Then we figure out a project that needs all that computing power. In prior years we had 100 cores running at 50 GFLOP/s and we tried to make a Fractal Zoom Movie, but ran out of time. Let's see if we can do it this year. Next month we're gonna fire up the cluster for the first time with the Pelican HPC DVD! These students also usually join our chapter of the National Computer Science Honor Society (NCSHS) Zeta OmicronWe call our chapter Hopper-NY. BTW, the main reason for the existence of this blog is to keep a record of what my students do with Shadowfax in CIS.


7) Screencasting
Whenever I teach a new concept I record a ScreenCast on YouTube and link it to Edmodo or Google Classroom for my students' reference while doing homework. These ScreenCasts are also great for reviewing old topics as needed. Students find these videos useful when they miss class too! I've been ScreenCasting a new PlayList for one class every year since 2009! This blog came about in part to showcase my ScreenCasts. The sample ScreenCast above is a summary of what we did in AP Calculus BC class after AP Exam week last year as a final project. In my ScreenCasts, you see everything I write on my SmartBoard and you hear everything I say as I teach.


8) MCQ Mondays and FRQ Fridays
I've been doing MCQ Mondays and FRQ Fridays with my AP classes for some time now. This is the first year I'm doing so in all my classes! On Mondays, I take an old MCQ Exam (Alg2Trig Regents for preCalc, AB Calculus for BC Calc) and practice a few questions using Socrative. In preCalc this review is a great skill builder. Also, some of my preCalc students need to retake the NYS Regents Exam in January or are preparing for the SAT. In AP Calc, this review is great preparation for the AP Exam in May. I cover each MCQ Exam in about 3 weeks. That's 2 Mondays in a row that count as Formative Assessments. I give 15 minutes to try 10 questions, then we go over those 10 questions. On week 3, I give an actual MCQ Exam in class for a Quiz grade aka a Summative Assessment. On week 4 I return the Scantrons and review the last exam. I haven't started this process with the AP Computer Science students as yet since they need to get more content under their belts first! FRQ Fridays occur at the end of a unit. That Friday I give a preTest to review for the actual test. We go over the preTest in groups with WhiteBoards and then we present our work to the other groups! Then I give a Take Home Exam that's due on Take Home Tuesday the following week.


9) AP Week Movie Marathon
In my AP classes, we do a Movie Marathon after the AP Exams. We usually watch Math Movies. After the AP Exam Weeks are over, we alternate watching movies every other day. In between, we complete a final project. For example, last year we watched ProofA Beautiful MindThe Theory of EverythingThe Imitation Game and The Man Who Knew Infinity



10) SAGE & Processing Tuesdays
I've been using SAGE in class for years. Every Tuesday in Math class we use SAGE instead of a Graphing Calculator to do our work. Above, you can see one of my ScreenCasts using SAGE in PreCalculus. SAGE is a Computer Algebra System (CAS) that can do everything a Graphing Calculator can do plus it will do all your Arithmetic, Algebra, Geometry, Trigonometry and Calculus giving you exact answers in simplest form! You can even do 3D graphs from your browser on SAGE! In Computer Science class we use Processing on Tuesdays as well to make coding graphics and animations a snap! 

Oh, one more thing: I name my Graphing Calculators after Science Fiction and Fantasy characters. See if you can name each TV show or movie:


TI81 O B Wan
TI82 Klaatu
TI83 Ziggie
TI84 Frodo
TI85 Johnnie 5
TI86 Spock
TI89 Hal 9000
TI92 Colossus
TI200 Voyager
TI nSpire CX CAS Castiel

So, how do you reach your kids? I hope I've inspired you to "think outside the box" yourself. Maybe I gave you a few ideas you can use in your classroom? Time to get creative with your kids. Go find the beat of your drum!

Well, that's all folks!
A. Jorge Garcia

 

Applied Math, Physics & CompSci

Wednesday, October 11, 2017

CIS(theta), 2017-2018 October Meeting: Administrativa!

CIS(theta), 2017-2018 
October MeetingAdministrativa!

(1) Wreath of the Unknown Server: We visited our LAST ever Linux ssh/sftp server, Shadowfax, which is still in Room 429, though dormant. Yes, I'm afraid it's true, IT replaced all my Linux Boxes with WimpDoze!

(2a) Planning: So we have to find an alternative to installing MPI on native Linux! 
(2b) Research: How do we run MPI under WimpDoze without installing anything???
(2c) Reading: In the mean time, here's our first reading assignment.

(3) Display Case Unveiled: We took down a ton of fractal prints and ray tracings from Room 429 to the 2 display cases on the 1st floor near the art wing. We decorated both display cases as best we could and left before anyone saw us. Must have been gremlins. BTW, we also have an HDTV with Chromecast to showcase student work here.


(4) NCSHS: We're going to continue our chapter of the National Computer Science Honor Society. We talked about the requirements for membership and how we started a chapter. Each chapter is called "Zeta Omicron something." We're "Zeta Omicron NY Hopper." This is a pretty new honor society. The first few chapters were called Zeta Omicron Alpha and Omicron Zeta Beta. We have the first NYS chapter! BTW, NCSHS is not to be confused with my Calculus class and the CML.


NEW SMARTBOARD SETUP
NOTE: MIC FOR SCREENCASTING!
NOTE: TI nSPIRE CX CAS EMULATOR!!
NEW DECOR IN THE REAR OF ROOM 429
NOTE: SLIDERULE!
NOTE: NEW SERVERS!!
NEW DECOR ON THE SIDES OF ROOM 429
NOTE: FRACTALS AND RAY TRACINGS!
NEW VIEW FROM LEFT REAR SIDE
NOTE: UBUNTU DESKTOP!
NEW VIEW AS YOU WALK IN
NOTE: SIDERULE!


====================
Membership (alphabetic by first name):
CIS(theta) 2017-2018:
BrandonB(12), FabbyF(12), JoehanA(12), RusselK(12)

CIS(theta) 2016-2017: 
DanielD(12), JevanyI(12), JuliaL(12), MichaelS(12), YaminiN(12)

CIS(theta) 2015-2016: 
BenR(11), BrandonL(12), DavidZ(12), GabeT(12), HarrisonD(11), HunterS(12), JacksonC(11), SafirT(12), TimL(12)

CIS(theta) 2014-2015: 
BryceB(12), CheyenneC(12), CliffordD(12), DanielP(12), DavidZ(12), GabeT(11), KeyhanV(11), NoelS(12), SafirT(11)

CIS(theta) 2013-2014: 
BryanS(12), CheyenneC(11), DanielG(12), HarineeN(12), RichardH(12), RyanW(12), TatianaR(12), TylerK(12)

CIS(theta) 2012-2013: 
Kyle Seipp(12)

CIS(theta) 2011-2012: 
Graham Smith(12), George Abreu(12), Kenny Krug(12), LucasEager-Leavitt(12)

CIS(theta) 2010-2011: 
David Gonzalez(12), Herbert Kwok(12), Jay Wong(12), Josh Granoff(12), Ryan Hothan(12)

CIS(theta) 2009-2010: 
Arthur Dysart(12), Devin Bramble(12), Jeremy Agostino(12), Steve Beller(12)

CIS(theta) 2008-2009: 
Marc Aldorasi(12), Mitchel Wong(12)

CIS(theta) 2007-2008: 
Chris Rai(12), Frank Kotarski(12), Nathaniel Roman(12)

CIS(theta) 1988-2007: 
A. Jorge Garcia, Gabriel Garcia, James McLurkin, Joe Bernstein, ... too many to mention here!
====================

Well, that's all folks!
Happy Linux Clustering, 
AJG

Saturday, October 30, 2010

CIS(theta) Meeting IV (2010-2011) - RIP Colossus

Aim: 
RIP Colossus

Attending: 
JayW, JoshG, RyanH

Absent: 
DavidG, HerbertK

Reading: Building Parallel Programs, Chapter4



Research4: 
openmosix distros
http://openmosix.sourceforge.net/instant_openmosix_clusters.html
clusterknoppix CD
http://clusterknoppix.sw.be
quantian DVD
http://dirk.eddelbuettel.com/quantian.html
chaos CD
http://midnightcode.org/projects/chaos
bccd CD
http://bccd.net


First thing we did this week was to observe a moment of silence.  Yes, Colossus, our ssh server, has finally died after running flawlessly 24x7 for 12 years non-stop (the hdd melted and ground to a halt)!  Kudos goto Slackware as I was running version 3.0 on Colossus all 12 years.  Talk about set it and forget it!  Sorry, Colossus, it's time to go, we don't use Intel Pentium IIs anymore....



Next on the agenda, was to install a new ssh server to replace Colossus.  We will make the new server run as a ssh and an ftp server.  His name shall be Guardian.  We have another new server we will setup as a mirror site.  Her name shall be Caprica.  

So, we installed 32bit Ubuntu 10.04 Desktop edition on Guardian, our new quad-core Intel Xeon.  Yes, it's 32bit - I know, I was shocked too.  Well, that's a good thing, we can make this a Teacher Station as well as a server and not have to downgrade Shadowfax after all.  We'll just need a video switch between the WimpDoze Teacher Station and the Linux Teacher Station!  OK, so we don't really need 2 Linux Teacher Stations, but one is never enough!

We then had to figure out which of the 2 Ethernet cards was eth0 and which of the 4 Ethernet drops were live on the internet.  We crashed and burned at this stage as we ran into a little SNAFU.  We found eth0, but we couldn't find a live drop.  We have 2 new intranet drops for the Linux LAN and 2 new internet drops for the 2 new servers to be accessible off campus.  However, we could not access the internet.  BTW, we also need the internet to finish installing openssh, vsftp and jdk!

As usual our network is FUBAR.  Either the ethernet card's MAC address is blocked, or we didn't get any internet drops installed by the tech department after all.  IDK why we have 2 ethernet cards per server and 4 drops when the old servers did fine with just one card and one drop each - KISS!  I guess we better RTFM b4 the next meeting....


Well, "That's All Folks," for this meeting. We'll tackle the new server again next meeting in 2 weeks. Check our new Facebook Group, CIS(theta), for our next event!  BTW, this 1 hour meeting every 2 weeks is mandatory.  

Here's a YouTube showing sample game play for my latest favorite RTS (for iPod Touch) for no apparent reason other than we're all gamers and not lamers, right? Enjoy!






Happy Clustering,



Saturday, March 6, 2010

Rocks Cluster Distro Rox!


It's time for a bit of introspection.  We have not gotten much running on the new 64bit dual-core AMD Athlon based cluster.  So, here's what I'm thinking about.  I'm talking to the powers-that-be at my school about: 



(1) installing an all linux environment (http://www.rocksclusters.org) for my parallel programming class and other programming classes
(2) moderninzing my intro programming class to use "Mathematics for the Digital Age" and SAGE to teach discrete math and programming 
(3) running a Calculus Research Lab using SAGE to teach Calculus using computers (every other day like a science lab in addition to Calculus class in a PC classroom) 


I've seen LittleFe (get it? not "big iron"), its actually based on BCCD which I've used (1.0 based on openMosix, 2.0 based on MPICH, 3.0 based on openMPI). I'm not interested in building the hardware, however. I want to make use of the dualcore AMD 64bit Athons we have! BTW, we've also used clusterKNOPPIX/parallelKNOPPIX/Quantian based on openMosix as well as pelicanHPC based on LAMMPI, MPITB and Octave. I'd like to emulate the pelicanHPC model in a permanently installed cluster.


I have a dedicated ftp server (to share files with my students) and sftp server (for students to save their work) based on Slackware. So all they really need the Linux desktop for is to anonymous ftp or ssh with a passwd into one of those servers and do their work there. I don't use WIMxP for anything.... So, maybe its time to nuke the WIMxP partition and set up a Rocks Cluster!


OK, I think my Computing Independent Study students have more programming vs. hardware experience, so I'd like to leverage that (although, they helped me reinstall my classroom with Fedora). So, "hiding the details" of seting up the cluster is OK at this point. I'd like to focus on parallel programming. I read some of the beginner's dox and have the following concerns: 


MASTER NODE: 
(1) Does the master node have to be dedicated or can it be dual boot? My dept likes WimpDoze for some reason. So, all our PCs have WIMxP on hda1 and 64bit Fedora 12 on hda2. 
ANSWER: Yes it is dedicated. In fact, the install process is simplified to such an extent that nuking the partition table is automatic! 
(2) Does eth0 have to be on the private network? We have always had the internet (public network) on eth0 and the cluster (private network) on eth1. 
ANSWER: Yes, so we'll just have to switch the ethernet cables around.  


WORKER/COMPUTE NODES: 
(3) When installing the compute nodes, can I specify a partition? When the compute node PXE boots, Rocks gets installed to the hdd, right? Or does the cluster just run in RAM on the compute nodes? 
ANSWER: Nope, the compute nodes are installed to hdd from the master node via PXE and the partition tables are nuked again!
(4) When installing the compute nodes, can I boot from CD/DVD as with the master node? PXE boot has had issues in my lab (conflicting DHCP servers?). 
ANSWER: Yes, but PXE boot is a time saver so lets see if we can do it that way.
BOTH NODES: 
(5) Is the resulting installation usable as a desktop for everyday tasks when the cluster is not in use? I teach AP Computer Science with Fedora as the desktop and slackware running my ftp (for sharing files with my students) and sftp (for students to save their work) servers. 
ANSWER: Yes, you get a stable FLOSS version of RHEL that's even better than Fedora called Centos.  


BTW, we've been playing with clusters for a while: 
Colossus: 486 PCs + ethernet + PVM 
Guardian: Pentium I&II PCs + ethernet + openMosix
Centauri: Pentium III&IV PCs + fast ethernet + openMosix 
Shadowfax: 64bit AMD Athon PCs + gigE + ??? 

We got the latest hardware upgrade last school year. At that point we didn't know what to do with it all. So, we installed Debian and wrote bash scrpts to scatter/gather povray jobs via publicly authenticated ssh. This year, we started by installing 64bit Fedora 11 (then Fedora 12) and trying out openMPI. We are having a bear of a time getting openMPI to work over our public key authenticated ssh. Then I read about Rocks and found that it has a similar goal. Rocks is based, in part, on RHEL and openMPI! 
Here's some nice dox: http://www.rocksclusters.org/rocksapalooza/2006/lab-mpi.pdf