Mike's Place - Blog

A blog from Mike Martonfi's personal website. He talks about funny stories, pet peeves, inspirations and living with MS

Last build:
Thu, 10 Jul 2008 03:24:57 GMT
Language:
en-us
Feed URL:
http://www.mikemartonfi.com/rss/MikesBlog.xml

RSS FEED IDEMS: Mike's Place - Blog

  • Hacked!
    I've said it before, I'll say it again - I can't understand how someone will damage someone else's property or work. My website was hacked with a SQL injection attack today. It affected thousands of records and could have potentially infected visitors to my website with a virus. I immediately took my website down when I discovered this. So, the technical readers of this article are thinking "didn't you read all the advisories in the new lately?". Well, I guess I should have read them more closely; I thought I was safe since my forms all validated input to prevent potential attacks. Well, this one used the query string on the URL to add script tags to every text field in my database. Arrggh! The good news is that I restored my database from a previous day, so I didn't need to fix my database manually. More good news is that (I believe) this type of attack is now impossible on my site. The last bit of good news is that I will now go back and read all those advisories and run the tools to check to see that my site is, indeed, hacker-proof. Damn hackers!
    Thu, 10 Jul 2008 03:24:39 GMT

  • Gluttony - My Favourite Sin
    We just got back from our favourite restaurant and we are totally stuffed; I feel like I will never need to eat again. We've only been to Milestones three times, but it is now clearly our favourite restaurant. We can find no flaw in any part of their food or service. Their Calamari is absolutely, without doubt, the best I've ever had. If you don't like Calamari, you should go to Milestones and try it. If you've never tried Calamari, you should go to Milestones and try it. If you do like Calamari, you should go to Milestones and try it. In all cases, you will find it to be one of the best appetizers you've ever had. Along with their appetizers, their entrees are excellent. I usually get the New York Striploin with Peppercorn spices - it is amazing. My wife gets their ravioli which is also awesome. Their desserts (especially the White Chocolate Cheesecake) are to die for. Even their coffee is great. The service is impeccable. If you ever watch "Ramsey's Kitchen Nightmares" or the American Version (simply "Kitchen Nightmares"), you can see that the things Gordon Ramsey criticizes are all the things Milestones gets right:
    • a simple menu
    • get the small things right
    • focus on service
    • good food without a lot of complexity
    • good value
    • quality food
    Although Milestones is fairly expensive, it is definitely worth it. We strongly recommend it.
    Wed, 09 Apr 2008 00:03:11 GMT

  • Scrabble Techniques
    I've always liked Scrabble and I consider myself to be a very competitive player. I've been playing Scrabulous (the same as Scrabble) on Facebook. I read a short article in Wired magazine about an online Scrabble word finder that has had a dramatic increase in traffic since the addition of Scrabulous to Facebook. The point of the article (and I agree) is 'what is the point of playing if you are going to cheat?' When I play, I sometimes (if it is mutually agreed-upon) use a dictionary. Playing this way is fun because you can be creative and discover new words. It still requires you to place the words in the most beneficial spot on the board and to play defensively. It's not cheating because both players have the same advantage. What I have decided, though, is that I am not going to play this way anymore. I've discovered enough extremely useful words to pull out some high valued words (EX, QAT, QAID, QADI, OO, QI, etc.) and it's time to exercise my memory. My new way of playing is to keep a text document open while I play. This document is not to refer to during play, but to add any 'potential' words that I think of. I will then look up the word after the game and find out whether or not the word could've been played and mark it in the document. The list will grow and I will look through the list as it does. I will try to remember the real words to add to my arsenal. So, bring it on! I'm ready to play but no cheaters allowed!
    Thu, 21 Feb 2008 03:34:03 GMT

  • "Must Have" Firefox Add-Ons
    Well, again, I haven't blogged in quite a while. Is anyone out there still reading my posts? If so, sorry I haven't 'entertained' you in so long. I've wanted to post about my favourite Firefox add-ons for quite some time. If you know what a 'Firefox add-on' is, you've probably read a list similiar to what I'm about to provide. If you don't know what I'm talking about, have a look and you may get some good ideas. Without further ado, here's my list of Firefox add-ons that I can't live without:

    Read It Later

    This is great. If you've ever looked at an article or web page that you really want to review but are short of time, this add-on is for you. In the past, I would create a bookmark or tag an article on del.icio.us if it was something that I really wanted to read later. That method almost always resulted in an unorganized list of links that I almost never got around to reading. With "Read It Later", you have a button that stores the current page on a list that you can view easily and quickly. When you want to read the article, simply select it from the list and it will take you to the page. When you finish reading the article, simply click another button to mark it as "read" and it disappears from your list. You can also click the "list" button to get the next item in the list. This is a very handy tool!

    Web Developer

    This is awesome if you design or create websites. It has so many useful features that a simple paragraph will not do it justice. You can view or edit CSS or HTML on the fly for the page you are on. You can view/edit cookies. You can view form details which will show you the names, ids, types, etc. of all form elements. You can display image infomation such as 'ALT' info, dimensions, paths, etc. You can (I now, I know, I'm saying "You can" too often, but with this add-on "you can" is very appropriate) view hrefs of all anchor tags, display all IDs and CSS class names. It will display rulers and line guides to help you adjust dimensions and coordinates. It will send your page for speed reports and validation at www.websiteoptimization.com and validator.w3.org respectively. I can go on and on, but you get the point - this is a necessity for any web developer.

    Firebug

    This is another web development "must have". I am hesitant to hype this up as much as I should, since I just raved about the "Web Developer" add-on, but this one is just as good for its purposes. With this one, you can hover over element on the page to inspect it in an HTML tree. you can view/edit the HTML and CSS for the page. You can see and edit the styles very easily. You can set breakpoints in the Javascript and change it and/or values on the fly. You can see the layout of an element graphically showing padding, margin, offset, dimensions and border. You can easily see the CSS selectors that apply to any given element. Again, there are too many great features to cover in one paragraph.

    NoScript

    This is an add-on that will prevent all JavaScript, ActionScript, Flash and Java unless you mark the site as "trusted". This simple add-on makes viewing web sites much safer.

    del.icio.us Bookmarks

    I've tried other del.icio.us add-ons before but this one, by Yahoo! (the company that bought del.icio.us) is the best that I've seen. It, obviously, has the button on the browser to quickly add a bookmark to del.icio.us. It also has a button that will bring up a sidebar with all your tags alphabetically and by frequency. The sidebar also has a flat list of all the bookmarks sortable alphabetically, by date added, by most visited, last visited and by site. The list is also searchable right from the sidebar. It also puts buttons on your toolbar for each of the bookmarks and has a drop-list for the excess. It adds a menu section to your browser that lets you manage your tags, view the bookmarks in different ways and get to del.icio.us account info quickly. Very cool! Well, that's my list for now. If you have others, feel free to add them!
    Sat, 16 Feb 2008 03:22:54 GMT

  • Good Programmers
    I've read some great articles recently about what makes a good/great programmer. I agree with a lot of it and disagree with some of it. Viewing comments that are posted on these articles, I can see that there is quite a bit of disagreement from others too. Being in the Software Development industry myself for many years, I also have my own strong opinions about what makes a great programmer. Most of the things I disagree with are things that are fairly insignificant. Whether a person uses Hungarian Notation or not is an example of something that is just a matter of preference and overall it's not critical. Here is a brief list of the skills that I think most "good" programmers have:

    1) Passion

    Most lists of desirable traits have this as the number one item and I couldn't agree more. A strong passion for one's work will make up for many shortcomings. It will drive a person to do their best work and the pride will be noticeable in the end product.

    2) Strong Desire To Learn

    In a competitive industry, passion combined with a desire for constant learning is a necessity for any kind of success. No one knows everything and things change quickly, so what a person knew two years ago is almost irrelevant today.

    3) Good Problem Solving Skills

    A good developer will not be afraid to tackle difficult challenges. Much like an elite skier is not afraid to conquer the 'scariest' slopes, a good software developer thrives on a challenge. They rise to the occasion to master problems that at first glance seem unsolvable. Tackling these types of problems leads to growth and maturity in the profession. Thinking "outside-the-box" (to use a greatly overused phrase) is a definite necessity.

    4) Adaptability

    As stated above, the software industry is constantly changing. Someone that is unwilling to change will quickly be devoured by the sea of change and will drown. They will wonder why they were so successful two years ago and today cannot even understad the new technologies tha have been introduced. Platforms, hardware, software, culture and paradigms are constantly changing and a professional must be able to cope. It's clear that my list has no "semantic-type" items. Semantics are just that - semantics. Whether a person puts curly braces on one-line or another is inconsequential in the grand scheme of things. Which language a person chooses is also not as important (in my opinion) as the 4 key ingredients listed above. I believe that the traits listed above will make up for many shortcomings and will greatly increase a person's chance of becoming a successful Software Developer.
    Mon, 21 Jan 2008 05:19:28 GMT

  • Ugghh ... timing is the key!
    So, my wife is in a clinical trial for a promising new treatment for MS - MBP8298. A few weeks ago, we were discussing if it would be a good investment. I thought, "Yeah, but it could be risky". Anyway, we decided for the time-being to hold off on it. Well, as Murphy would have predicted, they signed a new licensing deal with Eli Lilly, and their stock went up 50% in one day! It's probably still a good investment, but now it's even more risky. Even more important than the financial investment, we hope the treatment is successful. Eli Lilly's faith in it is a good sign.
    Mon, 31 Dec 2007 21:14:20 GMT

  • What Have I Been Up To?
    I hope you all had a great Christmas and will have a happy new year! I'm sure you're all really wondering what I've been up to lately since I haven't blogged in so long! Actually, I'm quite sure you're not that interested but I'll tell you anyway. First of all, we had a very nice Christmas. We spent it with family and it was great. Too much food and lots of good presents - just as Christmas should be! ;) One thing that I've been doing that is quite addictive for someone that likes to solve problems (especially through programming) is the Python Challenge. It gives you riddles that are well-suited to be solved with programming. It does not restrict you to the Python language and it doesn't even teach you the language, but the problems are designed to get you to dig into the many features of Python. Most of the problems really get you to "think outside the box". I just finished reading an awesome book - "Freakonomics". I read it cover-to-cover in less than 2 days - it was hard to put down. It was written collaboratively by a brilliant (but different) Economist and a journalist (Steven Levitt and Stephen Dubner). Levitt is the type of Economist that simply likes to ask different questions and uses data to find correlations and then causality. For instance, what made the crime rate drop in the mid-90's when everyone expected it to rise dramatically? The answer is controversial and it's one that almost no one had thought of previously. Another example - if dealing crack cocaine is so lucrative, why do so many drug dealers live with their parents? Do teachers cheat by giving their students better grades if they have an incentive to do so? The book is basically about human nature. It's fascinating and I highly recommend it. I got Koreen Seasons 1 of both "House" and "Two and a Half Men". We're looking forward to watching all episodes. I got some books that I've wanted for a while and I'm sure I will be busy reading for quite some time. That's about it for now. How was your Christmas?
    Thu, 27 Dec 2007 19:27:18 GMT

  • Merry Christmas!
    Merry Christmas everyone! I hope you all have a great Christmas. Be responsible, have fun and spend time with your family. I hope all your wishes come true. -Mike
    Mon, 24 Dec 2007 15:55:28 GMT

  • Kelly Pickler is Dumber Than a 5th Grader!
    I don't know if you saw Kelly Pickler on "Are You Smarter Than a 5th Grader?", but she proved that she definitely is not! The smartest thing she said was right at the beginning when she said "I'm not smarter than a 5th grader!" Normally, the contestants wait until they have answered a question incorrectly to make that claim, but she obviously knew beforehand that the assertion was correct. Some highlights:
    • Is a Piccolo a woodwind, string or percussion instrument? "Well, since it starts with 'P' and 'Pickler' starts with a 'P', it's got to be percussion!"
    • Budapest is the capital of which European country? "I thought Europe was a country! ... I was going to say France, but that's not even a country!"
    • She was very unsure that a "Road Runner' was a bird (very first question)
    • How many times does the letter 'E' appear in the following word? (pause, before showing the word). She says, "It's not in word!"
    It was hilarious! Here are some YouTube clips:
    1. http://youtube.com/watch?v=DN1QF95s5w8
    2. http://youtube.com/watch?v=LtVHQVTqVMc
    3. http://youtube.com/watch?v=9xEU-woV3sw

    Fri, 16 Nov 2007 01:51:08 GMT

  • Heroes
    Well, tonight's episode of Heroes was the best of the season in my opinion. The show has taken some criticism lately because it was moving slowly and not answering any questions. Tonight's episode changed all that. It showed how Maya discovered her powers and how the "lightning girl" fits into the whole story with Peter Petrelli. It also showed how Peter lost his memory and powers. We learned what Bob (the bald guy) is really trying to do and how he came up with "the cure". I think tonight's show will win back some viewers and keep the regular viewers intrigued.
    Tue, 13 Nov 2007 04:11:17 GMT

  • Vector Magic
    Check out this amazing tool I found online called VectorMagic. It takes pixelated, crappy graphics and turns them into vector-based images and gets rid of all artifacts from compressing or enlarging a graphic. Below is an example:
    BeforeAfter
    It's free and there's no download. Pretty cool!
    Sun, 11 Nov 2007 22:54:00 GMT

  • MS Quackery
    A good article on MS "Quackery". Be aware that there are no cures for MS (yet). Anyone that says there is a cure is lying and/or preying on your vulnerabilities. Here's the article: http://www.mscaregiver.com/2007/10/23/multiple-sclerosis-quackery/
    Thu, 25 Oct 2007 14:38:55 GMT

  • 'Digg' Should be Called 'Bury'
    Digg.com is a great site that lets visitors add sites that they think are interesting. There are other similar sites such as reddit.com and del.icio.us. It's a great way to see what's popular on the Internet at any given time - "real" time. In other words, you can visit it hourly to see what is the latest popular photo, news article, web site, etc. The big problem with these sites is that they increase the traffic to the popular sites dramatically and usually swamp them so that they are no longer viewable. Usually "mirror" sites are listed that are virtual copies of the original site to reduce traffic to the original site. Often the really popular sites will swamp the mirror sites as well. It's frustrating since the site is usually popular for a reason and I'd usually like to see it! Anyway, that's my pet peeve of the day!
    Mon, 22 Oct 2007 03:22:11 GMT

  • How To Be Optimistic
    This article on WikiHow is a great collection of ideas that I, myself, have also shared for many years. I view myself as exactly the type of optimist in the article. Some highlights:
    • The world is NOT out to get you. To think that is foolish and illogical. How often do you hear someone say "I NEVER win anything!". That is a silly statement since in most "contests", the odds of winning are at least 1 out of 100. So, if you enter 100 contests and win twice, you are beating the odds (and how many people enter 100 contests?).
    • Understand that the past does not equal the future
    • Accept suffering as part of life - not the "entirety of life"
    • Make a list of all the things you can be grateful for
    • Avoid negative people - they're like a cancer
    • Be a balanced optimist. Things aren't going to be great 100% of the time. Good times AND bad times are temporary. Enjoy the good times and expect the bad times to be a transition to another good phase of your life.

    Sat, 20 Oct 2007 17:48:07 GMT

  • Congratulations to MD Aesthetics!
    Congratulations to MD Aesthetics - http://mdaesthetics.ca for winning the 2007 Reader's Choice award for "Best Spa"! MD Aesthetics has won this award every year since they opened their doors! They are the premiere provider of Medical Aesthetics such as Botox® Restylane™, Laser Hair Removal, Photofacials, Cosmelan™, Mesotherapy, Volumalift™, etc. in Whitby and the Durham area. They distinguish themselves from other spas by having an on-site physician. Congratulations! Great work by the team!
    Thu, 18 Oct 2007 21:20:02 GMT

Submit your RSS Feed

Subscribe to this RSS Feed

Copyright © 2006-2007 Listopica, Inc. RSS Feed Directory  |  Submit RSS Feed