<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>console.blog() - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-0469c376" type="application/json"/><link>http://consoleblog.disqus.com/</link><description>Web development with a little bit of travel &amp; futbol</description><atom:link href="http://consoleblog.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 30 Apr 2012 19:27:17 -0000</lastBuildDate><item><title>Re: How to Get from Albany to JFK Airport in New York City</title><link>http://patik.com/blog/how-to-get-from-albany-to-jfk-airport-in-new-york-city/#comment-514568653</link><description>&lt;p&gt;Your the BEST!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Staycsmith</dc:creator><pubDate>Mon, 30 Apr 2012 19:27:17 -0000</pubDate></item><item><title>Re: Complete cross-browser console.log()</title><link>http://patik.com/blog/complete-cross-browser-console-log/#comment-506625083</link><description>&lt;p&gt;Top Script, but as you said, it's quite some code, and if you won't leave it in your production code, you will have an error if you'd forgotten to remove a log(). &lt;br&gt;I've wrote this simple wrapper, with which i'm debugging quite happily: var log = function(msg, force) {&lt;br&gt;    force ? alert(msg) : (console &amp;amp;&amp;amp; console.log ? console.log(msg) : null);&lt;br&gt;};It simply logs the message if there is a console and if there is none it will be ignored or you can force an alert() popup.I've wrote a little article, if anyone cares:&lt;a href="http://www.htmltweaks.com/Debugging_JavaScript_with_the_Console" rel="nofollow"&gt;http://www.htmltweaks.com/Debu...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stephan Wagner</dc:creator><pubDate>Mon, 23 Apr 2012 04:40:19 -0000</pubDate></item><item><title>Re: Within Viewport: JavaScript and jQuery Plugin</title><link>http://patik.com/blog/within-viewport-javascript-and-jquery-plugin/#comment-499685479</link><description>&lt;p&gt; Norman,&lt;br&gt;There are already two great plugins that do what you are looking for: Mike Tuupola's &lt;a href="http://www.appelsiini.net/projects/viewport" rel="nofollow"&gt;Viewport Selectors&lt;/a&gt; and Remy Sharp's &lt;a href="http://remysharp.com/2009/01/26/element-in-view-event-plugin/" rel="nofollow"&gt;Element In View Event&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I specifically wrote Within Viewport as a compliment to those plugins — I wanted to find only the elements that were &lt;em&gt;entirely&lt;/em&gt; within the viewport.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Craig Patik</dc:creator><pubDate>Tue, 17 Apr 2012 06:48:23 -0000</pubDate></item><item><title>Re: Within Viewport: JavaScript and jQuery Plugin</title><link>http://patik.com/blog/within-viewport-javascript-and-jquery-plugin/#comment-499674245</link><description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;This is a really great  piece of work by you.&lt;/p&gt;

&lt;p&gt;Can I ask for a very small modification ? &lt;/p&gt;

&lt;p&gt;How about if I want the plugin to fire on partially visible elements too ? Like in the demo, only the boxes that are completely visible are shown. How about the partially visible boxes also count as within the viewport.&lt;/p&gt;

&lt;p&gt;I will be using it in one of my projects and that is why I want it to work that way.&lt;/p&gt;

&lt;p&gt;Can you help ?&lt;/p&gt;

&lt;p&gt;Best regards,&lt;br&gt;Noman.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Noman</dc:creator><pubDate>Tue, 17 Apr 2012 06:21:06 -0000</pubDate></item><item><title>Re: Complete cross-browser console.log()</title><link>http://patik.com/blog/complete-cross-browser-console-log/#comment-469031803</link><description>&lt;p&gt;I am only using Array.forEach in the &lt;a href="https://github.com/cpatik/console.log-wrapper/blob/master/consolelog.js#L2" rel="nofollow"&gt;block of code&lt;/a&gt; that will run only under IE9. If you want added protection, you can always include &lt;a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/forEach#Compatibility" rel="nofollow"&gt;this polyfill&lt;/a&gt; from Mozilla's developer docs which will enable the method for IE7/8 and other older browsers.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Craig Patik</dc:creator><pubDate>Mon, 19 Mar 2012 11:20:54 -0000</pubDate></item><item><title>Re: Complete cross-browser console.log()</title><link>http://patik.com/blog/complete-cross-browser-console-log/#comment-469027069</link><description>&lt;p&gt;Hi, you should avoid Array.forEach, not supported in all IE7/IE8.&lt;br&gt;ref &lt;a href="http://stackoverflow.com/questions/2790001/fixing-javascript-array-functions-in-internet-explorer-indexof-foreach-etc" rel="nofollow"&gt;http://stackoverflow.com/quest...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jørn Vegard Røsnes</dc:creator><pubDate>Mon, 19 Mar 2012 11:15:38 -0000</pubDate></item><item><title>Re: How to Get from Albany to JFK Airport in New York City</title><link>http://patik.com/blog/how-to-get-from-albany-to-jfk-airport-in-new-york-city/#comment-419706068</link><description>&lt;p&gt;From Albany to Penn Station is about 2.5 - 3 hours, depending on your mode of transport (i.e., a bus is subject to traffic jams, and in the summer sometimes the railroad gets hot and the train has to slow down).&lt;/p&gt;

&lt;p&gt;For Penn to JFK I would budget an hour of time to be safe, though I have done it in 30 minutes. If you happen to arrive just when an express train is running between Penn and Jamaica it will be faster because it only makes one stop. &lt;/p&gt;

&lt;p&gt;AirTrain runs 24/7 between Jamaica and JFK. I haven't had to wait more than 5 minutes to catch the next one, even early in the morning or late at night.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Craig Patik</dc:creator><pubDate>Tue, 24 Jan 2012 12:44:58 -0000</pubDate></item><item><title>Re: How to Get from Albany to JFK Airport in New York City</title><link>http://patik.com/blog/how-to-get-from-albany-to-jfk-airport-in-new-york-city/#comment-419370422</link><description>&lt;p&gt;how long does it take by taking the steps above to get to jfk, Also does long island railroad or the air train only run certain times? (trying to catch plane that leaves at 7 am)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Athena</dc:creator><pubDate>Tue, 24 Jan 2012 02:08:44 -0000</pubDate></item><item><title>Re: How to Get from Albany to JFK Airport in New York City</title><link>http://patik.com/blog/how-to-get-from-albany-to-jfk-airport-in-new-york-city/#comment-419369252</link><description>&lt;p&gt;would love to have that website too if you ever find it!!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Athena</dc:creator><pubDate>Tue, 24 Jan 2012 02:04:15 -0000</pubDate></item><item><title>Re: Complete cross-browser console.log()</title><link>http://patik.com/blog/complete-cross-browser-console-log/#comment-418410993</link><description>&lt;p&gt;I just wanted to say THANK YOU! :) You saved my day!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mardurhack</dc:creator><pubDate>Sun, 22 Jan 2012 22:02:08 -0000</pubDate></item><item><title>Re: Complete cross-browser console.log()</title><link>http://patik.com/blog/complete-cross-browser-console-log/#comment-375826091</link><description>&lt;p&gt;Disregard or delete&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael Wolthers Nielsen</dc:creator><pubDate>Wed, 30 Nov 2011 09:05:51 -0000</pubDate></item><item><title>Re: How to Get from Albany to JFK Airport in New York City</title><link>http://patik.com/blog/how-to-get-from-albany-to-jfk-airport-in-new-york-city/#comment-334860215</link><description>&lt;p&gt;I have not been there myself, but it appears that you can follow my steps above to get to Penn Station in Manhattan, then take the NY Airport Service bus to LaGuardia for $12. It runs 2-3 times per hour, takes 40-60 minutes, and can be reserved online or over the phone. More info at &lt;a href="http://www.nyairportservice.com" rel="nofollow"&gt;http://www.nyairportservice.co...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Craig Patik</dc:creator><pubDate>Fri, 14 Oct 2011 15:34:22 -0000</pubDate></item><item><title>Re: How to Get from Albany to JFK Airport in New York City</title><link>http://patik.com/blog/how-to-get-from-albany-to-jfk-airport-in-new-york-city/#comment-334857216</link><description>&lt;p&gt;Sorry, I couldn't find anything like that. But the process really is quite simple, you will be able to figure it out as you go along. Just make sure to write down the major steps on a piece of paper should you need to ask for help.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Craig Patik</dc:creator><pubDate>Fri, 14 Oct 2011 15:29:16 -0000</pubDate></item><item><title>Re: Complete cross-browser console.log()</title><link>http://patik.com/blog/complete-cross-browser-console-log/#comment-334856174</link><description>&lt;p&gt;I plan to do so. In the meantime, consider it MIT/BSD/GPL.&lt;/p&gt;

&lt;p&gt;Also, I plan to add a variation which will allow you to simply use console.log() in your code instead of just log(). The effect would be the same (it will still write to your console or load Firebug), but some might prefer to use the standard "console.log" when coding. I also need to check whether Opera has updated the way they display logged items and give IE10 a shot.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Craig Patik</dc:creator><pubDate>Fri, 14 Oct 2011 15:27:27 -0000</pubDate></item><item><title>Re: Complete cross-browser console.log()</title><link>http://patik.com/blog/complete-cross-browser-console-log/#comment-334853804</link><description>&lt;p&gt;I'm not sure what you mean. This function does not actually override the browser's native console.log, it just uses it if it's available.&lt;/p&gt;

&lt;p&gt;Are you saying that if an error actually occurs at line 44, and log() is at line 66, then a logged error will appear to be coming from line 66? Either way, could you post a simple example?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Craig Patik</dc:creator><pubDate>Fri, 14 Oct 2011 15:23:26 -0000</pubDate></item><item><title>Re: Complete cross-browser console.log()</title><link>http://patik.com/blog/complete-cross-browser-console-log/#comment-334848806</link><description>&lt;p&gt;This is great! Would you mind adding a license and copyright statement, both as a LICENSE file to the Github and a header in the files? I'd suggest the MIT/BSD/GPL tri-license like Sizzle uses, that should give the most flexibility for anyone to use it. Thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Perel</dc:creator><pubDate>Fri, 14 Oct 2011 15:14:48 -0000</pubDate></item><item><title>Re: How to Use Your iPhone Overseas</title><link>http://patik.com/blog/how-to-use-your-iphone-overseas/#comment-329041417</link><description>&lt;p&gt;Craig, thank you so much Craig! That information will be very helpful for me when I head to South Korea next year. I might be able to come back with some good information for you on SK specifically too.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tylerphotos</dc:creator><pubDate>Fri, 07 Oct 2011 14:55:56 -0000</pubDate></item><item><title>Re: How to Use Your iPhone Overseas</title><link>http://patik.com/blog/how-to-use-your-iphone-overseas/#comment-328999111</link><description>&lt;p&gt;I have not yet been to South Korea, but perhaps this may help.&lt;/p&gt;

&lt;p&gt;If you're on AT&amp;amp;T, their overseas data plan &lt;a href="http://www.wireless.att.com/learn/international/dataconnect-global.jsp" rel="nofollow"&gt;operates on UMTS 2100 in South Korea&lt;/a&gt;, so you can use the iPhone 3G, 3GS, 4, and 4S (but not the original 2007 iPhone model).&lt;/p&gt;

&lt;p&gt;Until very recently AT&amp;amp;T maintained a list of exactly which carriers were supported in each country. This was crucial because your iPhone will select a carrier automatically (often more than 1 carrier is available, especially in dense areas like cities) and if it chose one not covered by AT&amp;amp;T then you would be charged an exorbitant roaming fee. I found this out the hard way. You can override the iPhone's choice of carriers in the Settings, however without this list you won't know which one to choose. Also keep in mind that as you move about, even within a city, your iPhone may hop to different carriers.&lt;/p&gt;

&lt;p&gt;Your best bet is probably to test a carrier with a small amount of data. Dial *DATA# to check your international data balance and make a note of the amount. Then carefully use about 100KB of data (e.g., refresh a Twitter app, check in on Foursquare, send a few emails, etc). Then check your balance again to see if it has gone down (it may take a little while for the difference to appear). If the data was &lt;strong&gt;not&lt;/strong&gt; deducted from your allotment, then that carrier may not be one that participates with AT&amp;amp;T and you should avoid using it.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Craig Patik</dc:creator><pubDate>Fri, 07 Oct 2011 13:47:57 -0000</pubDate></item><item><title>Re: How to Use Your iPhone Overseas</title><link>http://patik.com/blog/how-to-use-your-iphone-overseas/#comment-328979853</link><description>&lt;p&gt;Thank you for sharing!  Do you have any info on South Korea specifically?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tylerphotos</dc:creator><pubDate>Fri, 07 Oct 2011 13:19:48 -0000</pubDate></item><item><title>Re: How to Get from Albany to JFK Airport in New York City</title><link>http://patik.com/blog/how-to-get-from-albany-to-jfk-airport-in-new-york-city/#comment-320175374</link><description>&lt;p&gt;please how do i get to laguardia airport from albany ny?????&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tune</dc:creator><pubDate>Thu, 25 Aug 2011 23:01:36 -0000</pubDate></item><item><title>Re: How to Get from Albany to JFK Airport in New York City</title><link>http://patik.com/blog/how-to-get-from-albany-to-jfk-airport-in-new-york-city/#comment-320175371</link><description>&lt;p&gt;I have been trying to find a very informative website and video of the trip from Amtrak in Penn Station to the LIRR to AirTrain to JFK. This was on an actual site, not a YouTube. It even had clips of the ticketing kiosks and "speeded up" walks through the terminals. I neglected to bookmark the page and have been trying desperately to find it. If anyone has any ideas of which site it could be, the link would be greatly appreciated.&lt;/p&gt;

&lt;p&gt;Thanks!&lt;br&gt;TN&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">TN</dc:creator><pubDate>Tue, 23 Aug 2011 14:56:35 -0000</pubDate></item><item><title>Re: How to Get from Albany to JFK Airport in New York City</title><link>http://patik.com/blog/how-to-get-from-albany-to-jfk-airport-in-new-york-city/#comment-320175369</link><description>&lt;p&gt;I believe that is the Premiere Limo at: &lt;br&gt;&lt;a href="http://www.premierelimo.com/index.php?option=com_content&amp;amp;task=view&amp;amp;id=7" rel="nofollow"&gt;http://www.premierelimo.com/in...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Vic</dc:creator><pubDate>Tue, 09 Aug 2011 11:44:12 -0000</pubDate></item><item><title>Re: How to Get from Albany to JFK Airport in New York City</title><link>http://patik.com/blog/how-to-get-from-albany-to-jfk-airport-in-new-york-city/#comment-320175364</link><description>&lt;p&gt;Jonathan, you can take either &lt;a href="http://us.megabus.com" rel="nofollow"&gt;MegaBus&lt;/a&gt; or Greyhound from Albany. I prefer MegaBus because it is generally cheaper and the buses are nice. It departs from the parking lot of the Albany-Rensselaer Amtrak train station and drops you off a couple blocks from Penn Station in NYC, a convenient place to connect to anywhere in the city. &lt;/p&gt;

&lt;p&gt;Greyhound departs from the Greyhound station in a seedy-looking area near downtown Albany. Greyhound also operates Peter Pan, a cheap bus service designed to compete with MegaBus (newer buses, wifi, etc).  &lt;/p&gt;

&lt;p&gt;There are also many Chinatown buses but they are more difficult to ride and not as nice. For example, I'm not sure where or if you can reserve a seat online or look up their schedule. They also drop off at points in NYC nearer to Chinatown which may be less convenient. They usually depart from Central Ave near Colonie Center and Fuller Road in Colonie, just north of Albany.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Craig</dc:creator><pubDate>Sun, 31 Jul 2011 09:05:16 -0000</pubDate></item><item><title>Re: How to Get from Albany to JFK Airport in New York City</title><link>http://patik.com/blog/how-to-get-from-albany-to-jfk-airport-in-new-york-city/#comment-320175362</link><description>&lt;p&gt;Could you kindly inform as to the name of the bas and where to board it in Albany? Thank you. Jonathan.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jonathan</dc:creator><pubDate>Sun, 31 Jul 2011 08:46:55 -0000</pubDate></item><item><title>Re: Complete cross-browser console.log()</title><link>http://patik.com/blog/complete-cross-browser-console-log/#comment-320175408</link><description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;there is a big problem with the console override -- overrided console.log() call will produce error displayed with the wrong  reference to the code. Not the actual one which produced the error will be displayed, but the one where override is happened. Do you think there is a way to repair it somehow?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">doppelganger</dc:creator><pubDate>Wed, 13 Jul 2011 12:40:58 -0000</pubDate></item></channel></rss>
