Blog Category Planet

GTALUG Talk about HTML5 Tomorrow at 7:30pm

Published by Myles Braithwaite 1 month, 3 weeks ago in Planet. 0 Comments

Tags , , , and

I am going to be talking about HTML5 at the next GTALUG meeting.

HTML5 with Myles Braithwaite

After four years since HTML4 was published (Dec. 1997) it looked like the W3C was going to drop the HTML standard (based on SGML) in favour of the more popular XHTML 1.1 (based on XML). A group of browser developers, from Mozilla, Opera, and Apple, decided to form a new working group (June 2004) called WHATWG (Web Hypertext Application Technology Working Group) to create a new standard called HTML5 that incorporated many features that would require an extra plugin to be installed.

Location

Room GB248, Galbraith Building, University of Toronto
35 St George St
Toronto, Ontario M5S 3G8
University of Toronto

http://osm.org/go/ZX6ByChVi- or http://goo.gl/maps/S1sL

Schedule

  • 6:00 pm - There is a get together of GTALUGers at Pho 88 http://pho88.ca/ restaurant 270 Spadina Ave (South of Dundas) for food and socializing.
  • 7:30 pm - Meeting and presentation.
  • 9:00 pm - After each meeting (at 9:00 pm) a group of GTALUGers move to the GSU Pub for beer and more socializing.

Retrieved from http://gtalug.org/wiki/Meetings:2010-07

<!-- a668ac3a93704304b2d02f64559bd5f8 -->

Some Thoughts on the iPad

Published by Myles Braithwaite 5 months, 2 weeks ago in Planet, and Project52. 0 Comments

Tags , , and

This is a blog post I wrote the a few weeks after iPad was shown to the world and never got around to publishing it on this blog. It was on an internal company blog though. Sorry for bring up such an old news item.

A lot has been said the last two months about how Apple's iPad will kill the Kindle and how the iPhone/iPod Touch has already killed Sony's PSP and Nintendo's DSi (because the iPad will be able to play games it will some how destroy a extremely large industry). Personally I never like the idea of a device that did it all, Multi-Function Printers always gave me a bad feeling why combine the three most complicated systems in an office Printer, Fax, and Copier? Yes I will be buying an iPad when it comes out (not sure if Wi-Fi or 3G) but I will not be replacing my Kindle that has a better screen for reading and it will not be replacing any of my portable video game systems. I will use the iPad for the purpose I believe is servers: a netbook.

@mylesb I hear they have the revolutionary feature of only allowing the user to run one application at a time.

At quote from Chirs Browne's tweet on 27th January 2010 at 1:46pm.

Yes the iPad can only run one application at a time. But if I need to run more than one application at the same time I can easily take out my laptop. I see the iPad as more of a internet device than a computer.

PyGTA - PyCon Dress Rehearsal

Published by Myles Braithwaite 7 months ago in Planet. 0 Comments

Tags , , , and

This month's PyGTA we will have three presenters talking about their upcoming PyCon talks. Leigh Honeywell will be presenting Teaching Python in Your Community -- her experience teaching a Python class at HackLabTO. Greg Wilson on What We've Learned From Building Basie -- what a bunch of undergraduates accomplished building a Django-based replacement for Trac called Basie. Mike C. Fletcher on Debating 'til Dawn -- will be presenting some of the best discussion/ideas/talks at PyGTA the last three years in his attempt to make PyCon cool again.

Remember to bring your laptop because Mike will have a Real-time feedback tool for chatting with the presenters and give feedback on their talks (he has been") working for the last three months).

Tornado at PyGTA

Published by Myles Braithwaite 7 months, 2 weeks ago in Planet, and Project52. 0 Comments

Tags , , , and

Last night at PyGTA, Mike gave a short talk/demo about his findings using Tornado and CouchDB to write a real time chat and voting application for his PyCon talk.

Tornado is a lightweight non-blocking web server created by FriendFeed and Open Source by Facebook. The API is similar to web.py and App Engine's webapp framework. Mike's ending comments was that Tornado can out perform Twisted. But he found he had to write a lot of code to do things that were built into Twisted (or any other modern web framework) already.

His thoughts on CouchDB:

I'm really beginning to regret the choice of CouchDB for the back-end. It's working perfectly well, but I have literally dozens of pieces of code hanging around for doing SQL-based paging... none of which are applicable to CouchDB.

*Referenced: Things I'd like to play with (given enough time)*

This website (and a few other sites I manage) will be moving from Apache 2 and WSGI to Tornado and Nginx #. It will still be built on top of Django thought so most of the issues Mike was talking about wouldn't apply to me.

Other people who wrote about this event:

Apache CouchDB Talk @ OGLF 2009

Published by Myles Braithwaite 9 months, 3 weeks ago in Planet. 0 Comments

Tags , , and

I have uploaded my slides from my Ontario [GNU] Linux Fest 2009 talk on Apache CouchDB. You can download the PDF or see the Slideshare or view a HTML outline.

So you want a Personal Website?

Published by Myles Braithwaite 10 months, 3 weeks ago in Planet. 0 Comments

Tags , , , , and

This is a quick overview of my presentation at October's GTALUG meeting.

Exception Handling in Python

Published by Myles Braithwaite 1 year ago in Planet. 0 Comments

Tags , , , , and

Last night PyGTA was a Exceptional Conditions round table, like most PyGTA meetings it went philosophical side of programming.

My personal philosophy, in web development, is to log exceptions, not found pages, and performance to almost extreme levels. Then weekly I take the logs and analyzes them with a script which puts them into a database, which groups the results. If an error happens more than five times in the given week the script creates a ticket in the issue tracker for me to work on later. I log all not found pages by real people (not search engine bots) to try and understand why they navigated to that page. The performance log is how long the system took to generate the page and SQL queries and time it took to execute them.

Mike took some good notes so if you are interested you should definitely check it out.

Asgard CMS

Published by Myles Braithwaite 1 year ago in Planet. 0 Comments

Tags , , , and

When I first started developing this website I always wanted to release the source code. Over the months only a select few (the ones who emailed me and asked) have received any code. I have started to release the project slowly at Gitorious under the team Asgard Project. I also bought the domain asgardproject.org (nothing to see yet) for documentation.

My hope is that someone will find it useful.

A Django Intranet

Published by Myles Braithwaite 1 year, 2 months ago in Planet. 2 Comments

Tags , , , and

At work I started developing a intranet, nothing to complicated just an address book, microblog, timesheet, and forum. I knew from the beginning of development I wanted to release the final project open source. But it was developed in the monolithic approach (one project for multiple ideas) so instead I am releasing one sentence ideas:

  • django-blogs: A multi-person blog similar to MovableType.
  • django-bugle: A microblog. (This isn't my originally code I forked it off Simon Willson's Bugle Project and made it a more portable application.)
  • django-calendar: This is a fork of my Asgard Calendar.
  • django-contacts: An address book application we are using to keep track of employee contact information.
  • django-forums: A Django Forum application.
  • django-issues: An issue tracker.
  • django-projects: An internal project tracker.
  • django-timecard: A timesheet without projects or issues.
  • django-timesheet: A timesheet for projects, tasks, and issues.
  • django-voting: An Apache Style voting application.

I still have to release django-voting, django-projects, django-forums, django-calendar, django-bugle, and django-blogs which will probably be some time next week and I also want to do a Pinax style release at the end of the month.

Adam Savage's Colossal Failures

Published by Myles Braithwaite 1 year, 2 months ago in Planet. 0 Comments

Tags

Ryugyong Hotel Ryugyong Hotel in Sojang-dong.

I don't know, I'm making this up as I go.

Sorry for the second Adam Savage related post, but I thought this one was interesting. Early working as a consultant I found myself saying yes to a project just for a paycheck (or to show my parents why I didn't need to stay in college) even though I really couldn't do what the client is asking for; but I would get the project done.

One time I got a really simple project from a new client, the project was so simple and I had so much school work the project got pushed to two night before it was due (which was the same day as an exam). They were using a custom web framework with no documentation or even comments in the source code and I couldn't finish on time. Around 6:45 am i left for school with the project unfinished. I got to school around 7:00 am took my exam finished by 10:00 am and went to the library to write an email to the project manager and tell him I couldn't finish and I was sorry. While instead of doing the write thing I went home and fell asleep and didn't wake up till 9:00 pm. Where in my email inbox was an email from my project manager which wasn't really good, but I dissevered every word in that email.

Since then I stop taking project I didn't have the time to finish. But this situation taught me two really important thing about myself: one I will always fail horribly at some point and two I will always learn from the horrible failures.

Failure is always an option.

Adam Savage's Obsessions

Published by Myles Braithwaite 1 year, 3 months ago in Planet. 0 Comments

Tags

A TED talk by Adam Savage (of MythBusters) about obsessions, starting with his own obsession over owing a replica of a Dodo skeleton to modeling a the Maltese Falcon Falcon.

I find I am also like this with software, if I see something computer based that I find interesting I do crazy amounts of research to mimic. Recently made my site XML-RPC completely compatible with a WordPress weblog to use WordPress iPhone application.

Talking about Google App Engine @ PyGTA

Published by Myles Braithwaite 1 year, 5 months ago in Planet. 0 Comments

Tags , , , and

On 21 April 2009 at 7:30 pm I am going to be giving a talk about Google App Engine at the linuxcaffe.

Google App Engine is a platform to building and hosting web applications on Google's infrastructure (which is sometimes called PaaS1). It has a pay-for-what-you-use payment level but anything below 5 million pageviews a month.

PaaS
Platform as a Service is the delivery of a computing platform and solution stack as a service.

A Cautionary Tale About "Email to a Friend"

Published by Myles Braithwaite 1 year, 5 months ago in Planet. 0 Comments

Tags , , , and

If you have ever deployed a website for a company one of the features you are asked to implement is Email to a Friend, a nice little feature that allows the website visitor to send a link with a little description of the page and a message to another person. Most of us have probably at some point in our lives have used this simple easy to use feature.

The company I am working at, I maintain three Drupal websites all with the Forward module, which is a great little module. Today a spammer decide they could use this feature to their advantage, if they sent out the spam messages using this feature they could hit a large number of people. Within a thirty minute window they launched their attack send roughly 30,000 email messages across the three websites.

You maybe wondering I found out what they were doing. While I am a somewhat good system administrator so I receive all the system base email that are sent though the system (root, apache2, etc.), because the the module sends out it's emails using the apache2 user I received all the bounce back emails. Which at this point have my inbox at around 10,000 unread email messages and they are still coming down! I have had to put my email account on an official hiatus until this queue is empty.

So how can we fix this problem in the future? While one way is before sending out any of these email they could go though some type of spam filter. Or why do we need this service in the first place, how difficult is it to copy and paste?