Showing posts from August, 2012

My Diigo Bookmarks (posted weekly)

Upgrading - MoodleDocs "This page explains in detail how to upgrade Moodle. " tags: ACSE Moodle upgrade instructions How I Built the Media Center of My Dreams for Under $500 "Between the Blu-Ray player, cable box, laptop, and everything else hooked up to your TV, your home theater situation is a mess. Here's how I rolled all those devices into one awesome media center—the media center of my dreams—for under $500." tags: media player TEJ TEJxx XBMC media center DIY lifehacker 5 Ways To Learn Code From The Comfort Of Your Own Browser | TechCrunch One of the big trends of the past couple years, spurred the growing demand for programmers, is the rise of in-browser programming tutorials. Gone are the days when you’d have to buy a book and configure a development envi

Why did Government House Leader John Milloy retract his Tweet?

From this news article from CityTV, dated August 20: ...but if you check Mr. Milloy's twitter feed, the referenced tweet is not there: I'd love to know the reason why the tweet was deleted. Was it originally posted as a piece of propaganda to elicit headlines, or was it a misguided "truth", based on the propaganda within the government itself?  As I blogged earlier , I am tired of the "mistruths" from the government surrounding the current teacher contract situation. It's particularly sad for for me to state this publicly because I was an Education Officer for two years with the Ministry of Education (a very junior one...), and I loved my job and the values we stood for. But what's going on there now? How can any of the government employees associated with this be proud of what they're doing? What they're doing is not  good for the students, as they like to state. They are going to destroy teacher morale, and I can'

I'm Tired of the Propaganda

Teacher-bashing is back in fashion thanks to the anti-teacher, anti-union, propaganda being spread by our government and news media, so it's especially dangerous at this time to comment about anything related to teachers or education on Facebook because of the vitriol you'll potentially face after you press the "Send" button. I have been doing my best to not get sucked into the emotion of this situation, but I think the summer cold I have has weakened my resolve to "rise above it". It was when the local Niagara Falls Review posted a headline on Facebook about the imposed legislation with the comment "Do you think they (teachers) should be legislated back to work?" that I finally had to comment. Following is my comment, which I have tried to write as nonconfrontationally as possible in a effort to minimize the negative reactions I'm bound to get, considering the medium. To the Niagara Falls Review, shame on you for sensationalizing

My Diigo Bookmarks (posted weekly)

Welcome - Fritzing Fritzing is an open-source initiative to support designers, artists, researchers and hobbyists to work creatively with interactive electronics. We are creating a software and website in the spirit of Processing and Arduino, developing a tool that allows users to document their prototypes, share them with others, teach electronics in a classroom, and to create a pcb layout for professional manufacturing. tags: electronics TEJ TEJxx Ftitzing software Prototyping breadboard CEMC12 EasyGui "EasyGUI is a module for very simple, very easy GUI programming in the Python programming language." tags: Python EasyGUI GUI graphics ICS ICSxx How Police Tracked Down Steve Jobs' Stolen IPads | PCWorld Business Center The digital brea

Python Docstring Example

From Michelle Craig's Python presentation at #CEMC12 : The part in red is a Python docstring, and the included test cases can be used to test your function, as shown below. def is_reverse_pair(s1,s2):     '''     (str,str) -> bool     >>> is_reverse_pair("abc","cba")     True     >>> is_reverse_pair("abc","xxx")     False     '''     s1_new = ""     for i in range(0,len(s1)):         s1_new = s1_new + s1[len(s1)-i-1]     return s1_new == s2 To test the test cases in the docstring, type the following commands in the Python shell (after you have run your program): >>> import doctest >>> doctest.testmod() TestResults(failed=0, attempted=2)

My Diigo Bookmarks (posted weekly)

Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne Textbook. The textbook Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne [ Amazon · Pearson · InformIT ] surveys the most important algorithms and data structures in use today. The textbook is organized into six chapters:Chapter 1: Fundamentals introduces a scientific and engineering basis for comparing algorithms and making predictions. It also includes our programming model.Chapter 2: Sorting considers several classic sorting algorithms, including insertion sort, mergesort, and quicksort. It also includes a binary heap implementation of a priority queue.Chapter 3: Searching describes several classic symbol table implementations, including binary search trees, red-black trees, and hash tables.Chapter 4: Graphs surveys the most important graph processing problems, including depth-first search, breadth-first search, minimum spanning trees, and shortest paths.Chapter 5: Strings investigates specialized

Dear Marissa Mayer

The article linked here is about a plea to new Yahoo CEO Marissa Mayer to make Flickr an awesome website (and experience) again. In particular, it mentions a website that was created to make a simple appeal to Ms Mayer: ...and Yahoo's excellent response, where it provided links to jobs at Yahoo, Flickr's Github (source code repository) account, and Flickr's blog about its source code: I've been using flickr since it was quite new and I'm going to be following this development closely! If anyone hears about any updates regarding this, I'd love to hear about it in the comments below or over on  my Google+ account .