<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>blog.biernacki.ca &#187; Thoughts &amp; Rants</title> <atom:link href="http://blog.biernacki.ca/category/thoughts-n-rants/feed/" rel="self" type="application/rss+xml" /><link>http://blog.biernacki.ca</link> <description>Jakub&#039;s rants and raves on Life</description> <lastBuildDate>Tue, 10 Jan 2012 21:39:14 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>Youtube being throttled on AT&amp;T 6Mbit profiles? Seems like it to me&#8230;</title><link>http://blog.biernacki.ca/2011/12/youtube-being-throttled-on-att-6mbit-profiles-seems-like-it-to-me/</link> <comments>http://blog.biernacki.ca/2011/12/youtube-being-throttled-on-att-6mbit-profiles-seems-like-it-to-me/#comments</comments> <pubDate>Mon, 05 Dec 2011 01:22:22 +0000</pubDate> <dc:creator>Jakub</dc:creator> <category><![CDATA[In the News]]></category> <category><![CDATA[Thoughts & Rants]]></category> <category><![CDATA[adsl]]></category> <category><![CDATA[att]]></category> <category><![CDATA[dsl]]></category> <category><![CDATA[slow speeds]]></category> <category><![CDATA[slow youtube]]></category> <category><![CDATA[throttling]]></category> <category><![CDATA[traffic shaping]]></category> <category><![CDATA[youtube]]></category> <guid
isPermaLink="false">http://blog.biernacki.ca/?p=573</guid> <description><![CDATA[I have been conistantly having buffering issues with Youtube using my standard home ADSL connection (6Mbit from ATT &#8211; ADSL). Not a single video running 480p or higher will pre-load without me getting a buffering icon in the center of the screen. I have a &#8216;Network meter&#8217; widget on my Windows 7 desktop, (for giggles) [...]]]></description> <content:encoded><![CDATA[<p>I have been conistantly having buffering issues with Youtube using my standard home ADSL connection (6Mbit from ATT &#8211; ADSL).</p><p>Not a single video running 480p or higher will pre-load without me getting a buffering icon in the center of the screen. I have a &#8216;Network meter&#8217; widget on my Windows 7 desktop, (for giggles) and I watch the traffic sputter up and down, I am able to right click on a youtube video and view the information, and see that transfer speeds are constantly bouncing 0 -&gt; 2500Mbits, up and down, up and down.. sputter sputter sputter&#8230;</p><p>Ok so right about now you&#8217;re thinking, you didn&#8217;t configure your modem, your profile isn&#8217;t @ 6Mbit, or any other factors that would discount my idea that ATT is throttling Youtube (probly to push a 6Mbit user to U-Verse is my idea &#8212; 6Mbit is listed as unsatisfactory for `HD` video&#8230; ha!).</p><h2>Here is what I discovered</h2><p>I setup a proxy server on my 100Mbit dedicated server (caveat here is it is in a professional hosting center, in New Jersey). I setup my proxy connection in firefox to use my server. The beauty here is, that I saturate my 6Mbit pipe right away! I can view a 1080p video as soon as the page loads, I get no delay, I have YET to run into a buffer pause. I have good non throttled (guaranteed) bandwidth allocation at my hosting facility, so I&#8217;m just thinking of routing all my house traffic over VPN to my server.</p><p>I want to try this as I am really suspicious that I am having media throttled by ATT.</p><p>Has anyone else done these types of tests? What were your outcomes? I am very curious to know, as my experience is NIGHT and DAY!</p><p>I max out my youtube experience when I view via my proxy, but it is barely watchable without my proxy (traffic shaping from ATT?).</p><p>I will most likely make a video of the comparison if people are interested, I just wasn&#8217;t sure if digging more into this is worth my time.</p><p>Thanks for reading, curious on your feedback.</p><blockquote><p>I posted this also on dslreports.com:<br
/> <a
href="http://www.dslreports.com/forum/r26619828-Speed-Problem-Youtube-being-throttled-on-ATT-6Mbit-profiles-">http://www.dslreports.com/forum/r26619828-Speed-Problem-Youtube-being-throttled-on-ATT-6Mbit-profiles-</a></p></blockquote> ]]></content:encoded> <wfw:commentRss>http://blog.biernacki.ca/2011/12/youtube-being-throttled-on-att-6mbit-profiles-seems-like-it-to-me/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>No such thing as a &#8220;bandwidth&#8221; hog, finally proof!</title><link>http://blog.biernacki.ca/2011/12/no-such-thing-as-a-bandwidth-hog-finally-proof/</link> <comments>http://blog.biernacki.ca/2011/12/no-such-thing-as-a-bandwidth-hog-finally-proof/#comments</comments> <pubDate>Mon, 05 Dec 2011 00:20:00 +0000</pubDate> <dc:creator>Jakub</dc:creator> <category><![CDATA[In the News]]></category> <category><![CDATA[Thoughts & Rants]]></category> <category><![CDATA[bandwidth]]></category> <category><![CDATA[isp]]></category> <category><![CDATA[net neutrality]]></category> <guid
isPermaLink="false">http://blog.biernacki.ca/?p=571</guid> <description><![CDATA[Since the advent of broadband speed internet that was available to the consumer, we&#8217;ve all heard of the term &#8216;bandwidth hog&#8217;. The term always was used by your ISP to describe &#8216;evil&#8217; consumers that &#8216;hogged&#8217; wayyyy too much bandwidth for themselves, and thereby choking or reducing the speeds of everyone around them. I was always [...]]]></description> <content:encoded><![CDATA[<p>Since the advent of broadband speed internet that was available to the consumer, we&#8217;ve all heard of the term &#8216;bandwidth hog&#8217;. The term always was used by your ISP to describe &#8216;evil&#8217; consumers that &#8216;hogged&#8217; wayyyy too much bandwidth for themselves, and thereby choking or reducing the speeds of everyone around them.</p><p>I was always overly anal with these accusations (being an IT person and having some understanding of the underlying infrastructure), I would point out to friends and anyone that brought up the issue that in fact is was just an advertising / business tactic, that the business that supplied ADSL would say, Cable was slow due to &#8216;hogs&#8217;. While Cable would dispute the ADSL company by saying it wasn&#8217;t true, and that in fact the hogs were just as bad on the ADSL lines (which they attributed to &#8216;old telephone wires&#8217; not having the support).</p><p>Anyway, jump forward many years and finally someone has written a great article about this &#8216;bandwidth hog&#8217; myth:</p><blockquote><p>You might recall that back in 2009, we mentioned a piece claiming that the &#8220;bandwidth hog,&#8221; a term used ceaselessly by industry executives to justify rate hikes, net neutrality infractions, and pretty much everything else &#8212; was a myth. The piece was penned by Yankee analyst Benoit Felten and Herman Wagter, who knows a little something about consumption &#8212; as he&#8217;s the man largely responsible for Amsterdam&#8217;s FTTH efforts. The problem wasn&#8217;t bandwidth hogs, argued Wagter, the problem was poorly designed networks built by people more interested in cutting corners than offering quality product.</p></blockquote><p><a
title="http://www.dslreports.com/shownews/The-Bandwidth-Hog-is-a-Myth-117230" href="http://www.dslreports.com/shownews/The-Bandwidth-Hog-is-a-Myth-117230" target="_blank">http://www.dslreports.com/shownews/The-Bandwidth-Hog-is-a-Myth-117230</a></p><p>Enjoy, and leave a comment how you&#8217;ve encountered the bandwidth hog in your internet usage. Have you been hit with rate hikes due to &#8216;bandwidth hogs&#8217;?</p> ]]></content:encoded> <wfw:commentRss>http://blog.biernacki.ca/2011/12/no-such-thing-as-a-bandwidth-hog-finally-proof/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>iPhone 4s adding a PAUSE into a dialstring, making Skype calls easier for your mobile.</title><link>http://blog.biernacki.ca/2011/10/iphone-4s-adding-a-pause-into-a-dialstring/</link> <comments>http://blog.biernacki.ca/2011/10/iphone-4s-adding-a-pause-into-a-dialstring/#comments</comments> <pubDate>Fri, 21 Oct 2011 04:07:50 +0000</pubDate> <dc:creator>Jakub</dc:creator> <category><![CDATA[Apple]]></category> <category><![CDATA[How To]]></category> <category><![CDATA[Reviews]]></category> <category><![CDATA[Thoughts & Rants]]></category> <category><![CDATA[4s]]></category> <category><![CDATA[ios5]]></category> <category><![CDATA[iphone]]></category> <category><![CDATA[siri]]></category> <category><![CDATA[skype]]></category> <guid
isPermaLink="false">http://blog.biernacki.ca/?p=540</guid> <description><![CDATA[If you are like me and you might have some friends who have extension numbers, or simply use something like Skype local calling (a local number, that you can dial to call international using your skype account), you want to make sure that your cell phone supports complex dial strings. I keep all my contacts [...]]]></description> <content:encoded><![CDATA[<p>If you are like me and you might have some friends who have extension numbers, or simply use something like Skype local calling (a local number, that you can dial to call international using your skype account), you want to make sure that your cell phone supports complex dial strings.</p><p>I keep all my contacts organized on &#8216;Google Contacts&#8217; and then I&#8217;m able to synchronize my iOS devices with my contact list. Its easy to do and just requires some dedicated time to enter everything in.</p><p>As I live in the US, I still have many friends (as well as family) in Canada, and that requires me to call &#8216;international&#8217; (at least what AT&#038;T calls Canada calling&#8230;).  My skype local setup is quick and easy, and SIRI makes it fun.</p><p>I simply setup a phone number for a contact like so:</p><ol><li>Create new phone entry, call it Skype</li><li>Enter my skype number (ex: 734-000-1234)</li><li>I follow that number with a PAUSE character `,` (comma) + a 2 (skype&#8217;s 2 means, call a custom number)</li><li>After that 2, I simply enter a Canadian number (ex: 1519-555-1234)</li></ol><p>The final solution looks like:</p><p><strong>Skype: 734-000-1234,21519-555-1234</strong></p><p>And then once my contact is sync&#8217;d to the phone, I say &#8220;SIRI call [persons name] on Skype&#8221;, and obediently SIRI completes the call, and I don&#8217;t have to punch in any long strings of numbers.</p><p>Enjoy!</p> ]]></content:encoded> <wfw:commentRss>http://blog.biernacki.ca/2011/10/iphone-4s-adding-a-pause-into-a-dialstring/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Confused about iOS5 iMessage? Yeah, a lot of people are&#8230;</title><link>http://blog.biernacki.ca/2011/10/confused-about-ios5-imessage-yeah-a-lot-of-people-are/</link> <comments>http://blog.biernacki.ca/2011/10/confused-about-ios5-imessage-yeah-a-lot-of-people-are/#comments</comments> <pubDate>Thu, 20 Oct 2011 00:32:38 +0000</pubDate> <dc:creator>Jakub</dc:creator> <category><![CDATA[Apple]]></category> <category><![CDATA[Thoughts & Rants]]></category> <category><![CDATA[confusion]]></category> <category><![CDATA[imessage]]></category> <category><![CDATA[iphone]]></category> <guid
isPermaLink="false">http://blog.biernacki.ca/?p=522</guid> <description><![CDATA[What I want to clear up today, is the confusion (at least for me and a few folks I know) regarding iMessage.  iOS5 brings to it a new feature, the ability to give the carriers a 'BIG F-YOU!' when it comes to gauging users on 'per-text-message' options.  Personally I don't want to pay more than $5 bucks for texting, and I don't think I should have to pay $20 per month for 160 characters each.  My $5 is a 200 message plan, which is more than enough for me.]]></description> <content:encoded><![CDATA[<p><img
src="http://blog.biernacki.ca/wp-content/uploads/2011/10/imessage_icon.jpg" alt="" title="iMessage Icon" width="62" height="62" class="alignright size-full wp-image-524" />Even tho I have always been anti-smart phone, I jumped for the iPhone 4s, not because I thought it was earth shattering, or that it was the &#8216;true&#8217; iPhone 5.  I just wanted a step forward, to get rid of my clunky Sony Ericsson, and get something that allowed me to manage my email, contacts and apps (but I&#8217;ll save that for another rant&#8230;)</p><p>What I want to clear up today, is the confusion (at least for me and a few folks I know) regarding iMessage.  iOS5 brings to it a new feature, the ability to give the carriers a &#8216;BIG F-YOU!&#8217; when it comes to gauging users on &#8216;per-text-message&#8217; options.  Personally I don&#8217;t want to pay more than $5 bucks for texting, and I don&#8217;t think I should have to pay $20 per month for 160 characters each.  My $5 is a 200 message plan, which is more than enough for me.</p><p>But ever since I got my iPhone, I have been unsure of what the hell I was doing when sending a message, I would click on the green &#8216;message&#8217; button, and then I tried selecting a co-worker, but I couldn&#8217;t select their apple id email address, it would just show me their home/mobile numbers.  However, one friend of mine told me &#8220;Its the colors! Look at the send button colors&#8221;&#8230;</p><p><img
src="http://blog.biernacki.ca/wp-content/uploads/2011/10/text-or-imessage-send.jpg" alt="" title="text-or-imessage-send" width="193" height="56" class="alignright size-full wp-image-528" />At that point, the realization came, when you <em>SELECT A CONTACT</em>, the send button will turn one of 2 colors:</p><ul><li>GREEN = Text message</li><li>BLUE = iMessage available</li></ul><p>So that&#8217;s it, don&#8217;t worry about SMS vs iMessage, just remember, blue is good, green is not (if you are not on the unlimited plan at least!).</p><p>Hope that helps some of you to clear up the confusion regarding wether you are sending an actual iMessage or just a plain text message. Oh and in case you didn&#8217;t notice, the input box, also says &#8220;text message&#8221; vs &#8220;imessage&#8221; just to be sure, but still its confusing, especially judging by people&#8217;s forum posts around the net.</p><p>Enjoy!</p> ]]></content:encoded> <wfw:commentRss>http://blog.biernacki.ca/2011/10/confused-about-ios5-imessage-yeah-a-lot-of-people-are/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Tesla Model S &#8211; I&#8217;d love to see it drive across the US/Canada</title><link>http://blog.biernacki.ca/2011/08/tesla-model-s-id-love-to-see-it-drive-across-the-uscanada/</link> <comments>http://blog.biernacki.ca/2011/08/tesla-model-s-id-love-to-see-it-drive-across-the-uscanada/#comments</comments> <pubDate>Wed, 10 Aug 2011 04:50:54 +0000</pubDate> <dc:creator>Jakub</dc:creator> <category><![CDATA[In the News]]></category> <category><![CDATA[Thoughts & Rants]]></category> <category><![CDATA[challenge]]></category> <category><![CDATA[electric car]]></category> <category><![CDATA[ford focus]]></category> <category><![CDATA[rant]]></category> <category><![CDATA[Tesla Model S]]></category> <guid
isPermaLink="false">http://blog.biernacki.ca/?p=485</guid> <description><![CDATA[All the latest news about Tesla and electric cars, got me thinking. Every manufacturer seems to boast longer and longer &#8216;milage&#8217; for their vehicles, but I never see any real statistics, its always &#8216;estimated&#8217; miles, which shows like Top Gear have shown to be incorrect. Case in point, one of the things that nobody seems [...]]]></description> <content:encoded><![CDATA[<p>All the latest news about Tesla and electric cars, got me thinking.  Every manufacturer seems to boast longer and longer &#8216;milage&#8217; for their vehicles, but I never see any real statistics, its always &#8216;estimated&#8217; miles, which shows like Top Gear have shown to be incorrect.</p><p><a
href="http://blog.biernacki.ca/wp-content/uploads/2011/08/hero_models_3qtr.jpg"><img
src="http://blog.biernacki.ca/wp-content/uploads/2011/08/hero_models_3qtr.jpg" alt="" title="Tesla Model S" width="820" height="347" class="aligncenter size-full wp-image-487" /></a></p><p>Case in point, one of the things that nobody seems to ask is &#8216;at what speed&#8217; will that milage be reached?  If I buy that Ford Focus 2011 model, how would I reach 40MPG?  Would it be at a maximum speed of ~55MPH? Or something higher?</p><p>I recall being at Honda while my coworker was getting his oil change done on this car, and I asked one of the Sales Reps, &#8220;At what speed will this Civic achieve the advertised MPG rating?&#8221; and none of the 3 present were able to give me an answer.  In the end without looking foolish one of the reps said &#8220;I get that milage when I do ~75MPH&#8221;, to which I kindly laughed and shuffled away to find my coworker.</p><p>This may be a moot request, but I would love to see real world examples from manufacturers.  I think it is simply a fear of them looking bad due to a poor performing vehicle, imagine advertising and paying for an estimate from the EPA of ~40MPG and then running a real world test that people can witness and your car only does ~31MPG at best under speeds most common for commuters (~60-80MPG in Michigan at least).</p><p>Getting back to the topic, I would challenge a manufacturer like Tesla to do a cross continent drive, show people that &#8220;Yes, the time has come for electric to really be a reliable solution.&#8221;  Have someone drive across and charge at night (~300MP Charge/day).  Then show the cost of the electrical bill.  I think it would be a positive (if it performs as advertised) mark for the company. In fact any company that touts its electric fleet should do this, I&#8217;m really tired of seeing these &#8216;amazing&#8217; 0 emission vehicles, but then realizing that they are effectively tethered to a small area.</p><p>Anyway, challenge proposed&#8230; who will answer the call?</p><p><strong>Ref:</strong> <a
href="http://www.teslamotors.com/models" title="Tesla Model S" target="_blank">http://www.teslamotors.com/models</a></p> ]]></content:encoded> <wfw:commentRss>http://blog.biernacki.ca/2011/08/tesla-model-s-id-love-to-see-it-drive-across-the-uscanada/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Windsor Ultimate kicks off its Summer 2011 Season</title><link>http://blog.biernacki.ca/2011/04/windsor-ultimate-kicks-off-its-summer-2011-season/</link> <comments>http://blog.biernacki.ca/2011/04/windsor-ultimate-kicks-off-its-summer-2011-season/#comments</comments> <pubDate>Fri, 01 Apr 2011 17:24:21 +0000</pubDate> <dc:creator>Jakub</dc:creator> <category><![CDATA[In the News]]></category> <category><![CDATA[Thoughts & Rants]]></category> <category><![CDATA[league manger]]></category> <category><![CDATA[sports]]></category> <category><![CDATA[ultimate frisbee]]></category> <category><![CDATA[webmojo]]></category> <guid
isPermaLink="false">http://blog.biernacki.ca/?p=471</guid> <description><![CDATA[For those into Ultimate Frisbee, and local to the Windsor / Detroit area, should know that the Windsor Ultimate league is kicking off its Summer 2011 registration today.  Software written by me is being utilized as a platform to manage users, payments, and all that fun league stuff. This is the culmination of many hours [...]]]></description> <content:encoded><![CDATA[<p>For those into Ultimate Frisbee, and local to the Windsor / Detroit area, should know that the Windsor Ultimate league is kicking off its Summer 2011 registration today.  Software written by me is being utilized as a platform to manage users, payments, and all that fun league stuff.</p><p>This is the culmination of many hours of hard work and design to create a framework that enables collaboration utilizing pieces of the a3m openid architecture for openid membership.  This a3m piece allows users to simply &#8216;sign in&#8217; and go.  No need to remember usernames / passwords or do stuff like password recoveries, etc.  Everything just works!</p><p>If you are in the area and are interested please check out the registration:<br
/> <a
href="http://www.windsorultimate.com/about/register-for-the-league/">http://www.windsorultimate.com/about/register-for-the-league/</a></p> ]]></content:encoded> <wfw:commentRss>http://blog.biernacki.ca/2011/04/windsor-ultimate-kicks-off-its-summer-2011-season/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Why is it always the TOP 5% of people using the Net that &#8216;hog&#8217; bandwidth?</title><link>http://blog.biernacki.ca/2011/02/why-is-it-always-the-top-5-of-people-using-the-net-that-hog-bandwidth/</link> <comments>http://blog.biernacki.ca/2011/02/why-is-it-always-the-top-5-of-people-using-the-net-that-hog-bandwidth/#comments</comments> <pubDate>Thu, 03 Feb 2011 16:26:25 +0000</pubDate> <dc:creator>Jakub</dc:creator> <category><![CDATA[Thoughts & Rants]]></category> <guid
isPermaLink="false">http://blog.biernacki.ca/?p=444</guid> <description><![CDATA[I&#8217;m so sick and tired of articles always stating that companies are putting throttling into place due to the `5%` of user being bandwidth hogs. I mean if it is ONLY 5% how is that impacting 95% of users? This would imply that 5% of users could technically cut others off from using the internet [...]]]></description> <content:encoded><![CDATA[<p>I&#8217;m so sick and tired of articles always stating that companies are putting throttling into place due to the `5%` of user being bandwidth hogs.  I mean if it is ONLY 5% how is that impacting 95% of users? This would imply that 5% of users could technically cut others off from using the internet either via mobile phones or now in Canada metered bandwidth from Bell Canada or Rogers, etc.</p><p>Verizon is now doing the same in anticipation of having those &#8216;hogs&#8217; on their network&#8230; right&#8230;</p><p>I need to question if this is rather a well marketed PR ploy to limit bandwidth utilization by their customers. I honestly cannot see 5% being the cause for restrictions, how would that impact the bottom line? Most likely the usage would be spread out and covered by that 95% other user base.</p><p>As people use more content on the net, it looks like ISPs of all shapes and sizes are being overwhelmed, like the whole Netflix fiasco, where networks are crying foul that too much bandwidth is being used for viewing videos, when in fact they themselves support &#8216;Triple play&#8217; packages to stream movies to customers in much the same fashion.  So it just becomes a matter of being greedy.</p><p>Here is an idea, instead of limiting internet usage ISPs, just upgrade your networks to TRULY support your customer base. Stop overselling an infrastructure that you yourself point out cannot support your users.</p><p><strong>Verizon iPhone throttle:</strong><br
/> <a
href="http://www.appleinsider.com/articles/11/02/03/ahead_of_iphone_launch_verizon_throttles_bandwidth_of_top_data_hogs.html">http://www.appleinsider.com/articles/11/02/03/ahead_of_iphone_launch_verizon_throttles_bandwidth_of_top_data_hogs.html<br
/> </a><br
/> <strong>/end rant</strong></p> ]]></content:encoded> <wfw:commentRss>http://blog.biernacki.ca/2011/02/why-is-it-always-the-top-5-of-people-using-the-net-that-hog-bandwidth/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Coldfusion and checking if a variable is Defined</title><link>http://blog.biernacki.ca/2011/01/coldfusion-and-checking-if-a-variable-is-defined/</link> <comments>http://blog.biernacki.ca/2011/01/coldfusion-and-checking-if-a-variable-is-defined/#comments</comments> <pubDate>Wed, 26 Jan 2011 21:33:51 +0000</pubDate> <dc:creator>Jakub</dc:creator> <category><![CDATA[Coldfusion]]></category> <category><![CDATA[How To]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Thoughts & Rants]]></category> <category><![CDATA[cfparam]]></category> <category><![CDATA[coldfusion]]></category> <category><![CDATA[isDefined]]></category> <category><![CDATA[isNull()]]></category> <guid
isPermaLink="false">http://blog.biernacki.ca/?p=431</guid> <description><![CDATA[As I work with Coldfusion 9, I can&#8217;t help but keep comparing it to PHP, and I get annoyed by some of the small differences. One thing that I really have been getting annoyed with lately is checking if a variable is defined.  In most cases you could do a simple check, is it empty? [...]]]></description> <content:encoded><![CDATA[<p><img
src="http://blog.biernacki.ca/wp-content/uploads/2011/01/Coldfusion-9-and-PHP-elephant.jpg" alt="" title="Coldfusion-9-and-PHP-elephant" width="248" height="221" class="alignright size-full wp-image-435" />As I work with Coldfusion 9, I can&#8217;t help but keep comparing it to PHP, and I get annoyed by some of the small differences.</p><p>One thing that I really have been getting annoyed with lately is checking if a variable is defined.  In most cases you could do a simple check, is it empty? However Coldfusion will puke all over itself if you do an isNull() check on a variable that is &#8216;not defined&#8217;.  You really have to know the difference it seems between an empty value, vs a variable that has no defined value (to me they are both null/void).</p><p>In PHP, this would be a no brainer to check if it was null / empty by doing a simple string comparisson. (Then again PHP doesn&#8217;t care if a variable has been defined before you try to use it, which some people hate, but others find very convenient).</p><p>Anyway, on to the example&#8230;</p><p>Example <em>(if our portlet has no value for renderRequest.getRemoteUser() )</em>:</p><pre class="brush: coldfusion; title: ; notranslate">
&lt;cfset raw_userid = renderRequest.getRemoteUser() /&gt;
&lt;cfif IsNull(raw_userid)&gt;
   It is Null.&lt;br /&gt;
&lt;/cfif&gt;
</pre><p>The above would simply error out, as you cannot check something that is undefined.  Below is the proper way to handle such a scenario with the <strong><cfparam></strong> approach:</p><pre class="brush: coldfusion; title: ; notranslate">
&lt;cfset raw_userid = renderRequest.getRemoteUser() /&gt;
&lt;cfparam name=&quot;raw_userid&quot; default=&quot;0&quot;&gt;
&lt;cfinvoke component=&quot;core.liferay-functions&quot; method=&quot;checkIfLogin&quot; returnvariable=&quot;userId&quot;&gt;
	&lt;cfinvokeargument name=&quot;userid&quot; value=&quot;#raw_userid#&quot;&gt;
&lt;/cfinvoke&gt;
</pre>]]></content:encoded> <wfw:commentRss>http://blog.biernacki.ca/2011/01/coldfusion-and-checking-if-a-variable-is-defined/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Really cool 404 page on GitHub</title><link>http://blog.biernacki.ca/2011/01/really-cool-404-page-on-github/</link> <comments>http://blog.biernacki.ca/2011/01/really-cool-404-page-on-github/#comments</comments> <pubDate>Thu, 20 Jan 2011 14:10:35 +0000</pubDate> <dc:creator>Jakub</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Javascript]]></category> <category><![CDATA[Reviews]]></category> <category><![CDATA[Thoughts & Rants]]></category> <guid
isPermaLink="false">http://blog.biernacki.ca/?p=422</guid> <description><![CDATA[Well I happened to stumble over this fancy shmancy 404 page today at GitHub, and I must say it is simplistic, yet VERY impressive (maybe its the whole starwars thing) but I really like the simple 3D effect that is created by using layered images. Try it yourself, go to: https://github.com/thispagenotfound And move your mouse [...]]]></description> <content:encoded><![CDATA[<p>Well I happened to stumble over this fancy shmancy 404 page today at GitHub, and I must say it is simplistic, yet VERY impressive (maybe its the whole starwars thing) but I really like the simple 3D effect that is created by using layered images.</p><p>Try it yourself, go to: <a
href="https://github.com/thispagenotfound" target="_blank">https://github.com/thispagenotfound</a></p><p><img
class="aligncenter size-full wp-image-423" style="border: 1px solid #CCC;" title="github404page" src="http://blog.biernacki.ca/wp-content/uploads/2011/01/github404page.jpg" alt="" width="703" height="280" /></p><p>And move your mouse around the 404 &#8216;image&#8217; you will be pleasantly surprised that the effect is the images move to reflect your cursors position, thereby creating the look and feel of 3D movement.</p><p><a
href="http://blog.biernacki.ca/wp-content/uploads/2011/01/aww-snap-en.png"><img
class="alignright size-full wp-image-427" style="margin-right: 40px;" title="Google's Aw, Snap!" src="http://blog.biernacki.ca/wp-content/uploads/2011/01/aww-snap-en.png" alt="" width="121" height="114" /></a>I really like finding these little gems on 404 pages, or 500 errors (like common on Woot), or even Googles &#8220;Aww! Snap!&#8221; message when it crashes.</p> ]]></content:encoded> <wfw:commentRss>http://blog.biernacki.ca/2011/01/really-cool-404-page-on-github/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Webmojo.ca relaunched!</title><link>http://blog.biernacki.ca/2011/01/webmojo-ca-relaunched/</link> <comments>http://blog.biernacki.ca/2011/01/webmojo-ca-relaunched/#comments</comments> <pubDate>Fri, 14 Jan 2011 03:46:09 +0000</pubDate> <dc:creator>Jakub</dc:creator> <category><![CDATA[In the News]]></category> <category><![CDATA[Thoughts & Rants]]></category> <category><![CDATA[cool]]></category> <category><![CDATA[design]]></category> <category><![CDATA[development]]></category> <category><![CDATA[launch]]></category> <category><![CDATA[webmojo]]></category> <guid
isPermaLink="false">http://blog.biernacki.ca/?p=418</guid> <description><![CDATA[Woo, well I&#8217;m happy to announce that after slaving away on a few dark wintery nights, I have put enough time into building a new version for my consulting company &#8212; Webmojo.ca About Webmojo&#8230; Webmojo is a collaborative effort by skilled individuals, each with their own unique set of skills and area&#8217;s of expertise.  Our [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://webmojo.ca"><img
src="http://blog.biernacki.ca/wp-content/uploads/2011/01/screenshot.png" alt="" title="screenshot" width="320" height="240" class="alignright size-full wp-image-419" /></a>Woo, well I&#8217;m happy to announce that after slaving away on a few dark wintery nights, I have put enough time into building a new version for my consulting company &#8212; <b>Webmojo.ca</b></p><h3>About Webmojo&#8230;</h3><p>Webmojo is a collaborative effort by skilled individuals, each with their own unique set of skills and area&#8217;s of expertise.  Our mesh of knowledge &amp; experience allows us to uniquely position our business venture to fit our customers needs.</p><p>If you find yourself in need of:</p><ul><li>Managed Web Hosting solution (we take care of it all from the ground up!)</li><li>Website, Email, Calendar, and Collaboration setup for your business</li><li>Web Design / Development</li><li>Custom Web App development (think scheduling system, or order processing&#8230;)</li><li>Research in areas of Search Engine Optimization (SEO), how to best position your site for your audience</li><li>Project Management (you&#8217;ve got the idea, you need someone to see it through to the end!)</li><li>Content Development (helps with your SEO, also good for keeping your audience coming back).</li><li
class="last">Web Marketing</li></ul><p>Then look no further, because there&#8217;s a team for that.</p><p>Marketing pitch aside, there are of course many other things we do, so if you have a web based business problem, feel free to contact us to go over your idea.</p><p>Visit <a
href="http://webmojo.ca">Webmojo.ca</a> now!</p> ]]></content:encoded> <wfw:commentRss>http://blog.biernacki.ca/2011/01/webmojo-ca-relaunched/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
