<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>CommaVee - Latest Comments</title><link>http://commavee.disqus.com/</link><description></description><atom:link href="https://commavee.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 12 Aug 2015 13:02:00 -0000</lastBuildDate><item><title>Re: AJAX Logfile Tailer &amp;#038; Viewer</title><link>http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/#comment-2188958597</link><description>&lt;p&gt;The source for Ajax Logfile Viewer is here:&lt;/p&gt;&lt;p&gt;&lt;a href="https://dev.modernrepo.com/jbminn/ajax-logfile-viewer" rel="nofollow noopener" target="_blank" title="https://dev.modernrepo.com/jbminn/ajax-logfile-viewer"&gt;https://dev.modernrepo.com/...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Use the 'Download zip' link in the top right of the page.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Minnihan</dc:creator><pubDate>Wed, 12 Aug 2015 13:02:00 -0000</pubDate></item><item><title>Re: AJAX Logfile Tailer &amp;#038; Viewer</title><link>http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/#comment-2184596032</link><description>&lt;p&gt;Could you zip a folder with the project working and send the link for download? Thanks&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">adib</dc:creator><pubDate>Mon, 10 Aug 2015 12:01:42 -0000</pubDate></item><item><title>Re: AJAX Logfile Tailer &amp;#038; Viewer</title><link>http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/#comment-2184595312</link><description>&lt;p&gt;please, Could you zip a folder with the projetc working and send the link for download? Thanks&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">adib</dc:creator><pubDate>Mon, 10 Aug 2015 12:01:17 -0000</pubDate></item><item><title>Re: AJAX Logfile Tailer &amp;#038; Viewer</title><link>http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/#comment-1323557097</link><description>&lt;p&gt;I LOVE IT!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">thisisbazz</dc:creator><pubDate>Tue, 08 Apr 2014 04:05:08 -0000</pubDate></item><item><title>Re: AJAX Logfile Tailer &amp;#038; Viewer</title><link>http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/#comment-1153615183</link><description>&lt;p&gt;Check &lt;a href="http://dev1.modernrepo.com/jbminn/ajax-logfile-viewer" rel="nofollow noopener" target="_blank" title="http://dev1.modernrepo.com/jbminn/ajax-logfile-viewer"&gt;http://dev1.modernrepo.com/...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Minnihan</dc:creator><pubDate>Fri, 06 Dec 2013 20:50:37 -0000</pubDate></item><item><title>Re: AJAX Logfile Tailer &amp;#038; Viewer</title><link>http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/#comment-1151063270</link><description>&lt;p&gt;I am very new with AJAX and I don't know how to handle with all those files. Could you zip a folder with the projetc working and send the link for download? Thanks&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">VICTOR MIRANDA</dc:creator><pubDate>Wed, 04 Dec 2013 19:56:15 -0000</pubDate></item><item><title>Re: Using Node.js on Digital Ocean</title><link>http://commavee.com/2013/06/01/using-node-js-on-digital-ocean/#comment-926565946</link><description>&lt;p&gt;Much thanks for that and glad to hear that you're liking our services.  We already are appreciative of you trying us out and telling your thoughts to your community.  Will be looking forward to your next upcoming post!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DigitalOcean</dc:creator><pubDate>Tue, 11 Jun 2013 13:26:38 -0000</pubDate></item><item><title>Re: Using Node.js on Digital Ocean</title><link>http://commavee.com/2013/06/01/using-node-js-on-digital-ocean/#comment-921285077</link><description>&lt;p&gt;Thanks.  Definitely looking forward to new features.&lt;/p&gt;&lt;p&gt;I've been impressed w/ DO's responsiveness to my email inquires, so I'll have no prob recco'ing you folks.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Minnihan</dc:creator><pubDate>Thu, 06 Jun 2013 14:03:53 -0000</pubDate></item><item><title>Re: Using Node.js on Digital Ocean</title><link>http://commavee.com/2013/06/01/using-node-js-on-digital-ocean/#comment-921220080</link><description>&lt;p&gt;Thank you so much for your detailed tutorial on installing and hosting&lt;br&gt;node.js with our servers!  Really glad to see that you were able to have&lt;br&gt;it properly setup with ease.  Additionally, we appreciate your honest assessment of our service. Do know that we are constantly iterating on a day by day basis which includes adding more features, improving our service quality, and increasing the reliability of our cloud servers.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DigitalOcean</dc:creator><pubDate>Thu, 06 Jun 2013 12:57:44 -0000</pubDate></item><item><title>Re: AJAX Logfile Tailer &amp;#038; Viewer</title><link>http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/#comment-914945597</link><description>&lt;p&gt;I'd step back and rethink what you're trying to accomplish.&lt;/p&gt;&lt;p&gt;If you just need an up-to-date copy of a log file somewhere on disk, why not handle that inside the config of whatever system is generating the logfile?  Just add another logger or whatever.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Minnihan</dc:creator><pubDate>Fri, 31 May 2013 08:54:33 -0000</pubDate></item><item><title>Re: AJAX Logfile Tailer &amp;#038; Viewer</title><link>http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/#comment-914782172</link><description>&lt;p&gt;I've been looking at this : &lt;a href="https://github.com/ukhas/js-logtail" rel="nofollow noopener" target="_blank" title="https://github.com/ukhas/js-logtail"&gt;https://github.com/ukhas/js...&lt;/a&gt;&lt;br&gt;Not as nice as your solution, but I like the idea it only updates the page with the differences in the file between each check, and doesn't use tail.&lt;br&gt;Could your script make use of that ?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">MAC Man</dc:creator><pubDate>Fri, 31 May 2013 05:50:41 -0000</pubDate></item><item><title>Re: AJAX Logfile Tailer &amp;#038; Viewer</title><link>http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/#comment-913833271</link><description>&lt;p&gt;Thanks. I use foreach($output as $outputline) { to loop through the tail results and then that is echo'd back to my DIV. I also fwrite it to the log file.&lt;br&gt;I think that may be an issue with tail return the same lines if the log hasn't updated. using tail -n 100 returns the last 100 lines, regardless of the log file updating.&lt;br&gt;Not sure how to get around that..&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">MAC Man</dc:creator><pubDate>Thu, 30 May 2013 10:40:06 -0000</pubDate></item><item><title>Re: AJAX Logfile Tailer &amp;#038; Viewer</title><link>http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/#comment-913824582</link><description>&lt;p&gt;If you are successfully writing lines to the new log file but are writing the same line over + over, this means that you aren't exiting the loop (assuming a foreach or similar) to obtain a new line of data before writing it to the new log file.&lt;/p&gt;&lt;p&gt;Wherever you are grabbing the next line of output + setting it to a var for the subsequent write, ensure that that var gets updated (refreshed with a real new line of log data) again before you write it to the new file.  This likely means you'll move your write operation out of that 'foreach' or however you have implemented it.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Minnihan</dc:creator><pubDate>Thu, 30 May 2013 10:30:44 -0000</pubDate></item><item><title>Re: AJAX Logfile Tailer &amp;#038; Viewer</title><link>http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/#comment-913650612</link><description>&lt;p&gt;I've got this working and it works well. I've added : fwrite($f,$outputline."\n"); which writes the output to a new log file.&lt;br&gt;The issue I have is I end up with multiple lines the same. Any way to stop that from happening ?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">MAC Man</dc:creator><pubDate>Thu, 30 May 2013 06:15:09 -0000</pubDate></item><item><title>Re: Using Node.js, Express, Socket.io and Exec</title><link>http://commavee.com/2013/04/05/using-node-js-express-socket-io-and-exec/#comment-904060295</link><description>&lt;p&gt;I think what I'm trying to do is out of the scope of the io.connections.emit ('relay'){'connections': Object.keys(io.connected).length }; function.  I'm not really sure how to create the array of inbound msg.pageUrl. Even though I can trigger the counter, not sure how to "untrigger" the counter.   The (msg.connections) would have to match the served .html string, and then create the $('#idtag.fromPageUrl').html(msg.connections)   There would have to be a static entry to the code to delegate to proper counter, unless the delegation can be inferred as a regular &amp;lt;h1&amp;gt;&amp;lt;/h1&amp;gt; to describe the counter and creating the id="pageUrl" from the same string. This would be optimal to not have to static enter each .html page in code.&lt;/p&gt;&lt;p&gt;The .html pages will be accessed individually from an embed on another website, and not through a 'onhashchange' landing index/home.html page of the node client.&lt;/p&gt;&lt;p&gt;I can work around not having this feature, as I can essentially create several node instances bound to different ports, and then embed a results page into a master page from each node instance. Even though this will be a huge pain, and of course not scale-able.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zach Goldsmith</dc:creator><pubDate>Tue, 21 May 2013 13:23:03 -0000</pubDate></item><item><title>Re: Using Node.js, Express, Socket.io and Exec</title><link>http://commavee.com/2013/04/05/using-node-js-express-socket-io-and-exec/#comment-903577583</link><description>&lt;p&gt;Thank you for your quick response!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zach Goldsmith</dc:creator><pubDate>Mon, 20 May 2013 23:06:27 -0000</pubDate></item><item><title>Re: Using Node.js, Express, Socket.io and Exec</title><link>http://commavee.com/2013/04/05/using-node-js-express-socket-io-and-exec/#comment-903557632</link><description>&lt;p&gt;In theory, you can update as many counters as you wish to place on the page.  Create a separate div w/ an ID that is unique (i.e. page_one.html -&amp;gt; #page_one) for each.&lt;/p&gt;&lt;p&gt;Parse the incoming page URL (msg.pageUrl) for the pattern of interest, say '&lt;a href="http://foo.com/page_one.html'" rel="nofollow noopener" target="_blank" title="foo.com/page_one.html'"&gt;foo.com/page_one.html'&lt;/a&gt; and then send any matching results to the counter div that corresponds to that page. You can do pretty much anything you need this way based upon the content of the message.&lt;/p&gt;&lt;p&gt;Just be sure that the url you pass back to the server is well formed wrt the pattern you are matching &amp;amp; you should be able to track its page load &amp;amp; increment its counter.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Minnihan</dc:creator><pubDate>Mon, 20 May 2013 22:33:18 -0000</pubDate></item><item><title>Re: Using Node.js, Express, Socket.io and Exec</title><link>http://commavee.com/2013/04/05/using-node-js-express-socket-io-and-exec/#comment-903530325</link><description>&lt;p&gt;What would be the best solution to live view count each page separately?&lt;/p&gt;&lt;p&gt;I want to keep separate live counters across several .html pages in the same node application instead of executing several nodes to do each .html page individually.&lt;/p&gt;&lt;p&gt;With your spin off of the healthcheck.html and code by Christophe Coenraets, I'm even more determined that this could work.&lt;/p&gt;&lt;p&gt;Could you point me in the right direction?&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;Zach&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zach Goldsmith</dc:creator><pubDate>Mon, 20 May 2013 21:49:32 -0000</pubDate></item><item><title>Re: AJAX Logfile Tailer &amp;#038; Viewer</title><link>http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/#comment-733888063</link><description>&lt;p&gt;Probably.  Here's a pretty good starting point:&lt;/p&gt;&lt;p&gt;&lt;a href="http://stackoverflow.com/questions/309081/how-do-you-create-a-toggle-button" rel="nofollow noopener" target="_blank" title="http://stackoverflow.com/questions/309081/how-do-you-create-a-toggle-button"&gt;http://stackoverflow.com/qu...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Minnihan</dc:creator><pubDate>Wed, 12 Dec 2012 08:06:30 -0000</pubDate></item><item><title>Re: AJAX Logfile Tailer &amp;#038; Viewer</title><link>http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/#comment-733870471</link><description>&lt;p&gt;Anyway to create the start stop button as ONE Toggle ?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">MAC Man</dc:creator><pubDate>Wed, 12 Dec 2012 07:27:35 -0000</pubDate></item><item><title>Re: AJAX Logfile Tailer &amp;#038; Viewer</title><link>http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/#comment-726526731</link><description>&lt;p&gt;Thanks! easy, clean and fast :D&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Julio Olivares</dc:creator><pubDate>Mon, 03 Dec 2012 18:43:42 -0000</pubDate></item><item><title>Re: AJAX Logfile Tailer &amp;#038; Viewer</title><link>http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/#comment-555125024</link><description>&lt;p&gt;Whoops!  Another editing error... thanks for catching!   Fixed.&lt;/p&gt;&lt;p&gt;Fortunately, the example has correct, functioning code.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Minnihan</dc:creator><pubDate>Tue, 12 Jun 2012 08:08:12 -0000</pubDate></item><item><title>Re: AJAX Logfile Tailer &amp;#038; Viewer</title><link>http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/#comment-554931883</link><description>&lt;p&gt;After debugging this for awhile, you have a typo:&lt;/p&gt;&lt;p&gt; Line: 41 &lt;br&gt;var currentLogValue = request1.responseText.split("\n");&lt;/p&gt;&lt;p&gt;should be:&lt;br&gt;var currentLogValue = request.responseText.split("\n");&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Ackerman</dc:creator><pubDate>Mon, 11 Jun 2012 23:48:10 -0000</pubDate></item><item><title>Re: AJAX Logfile Tailer &amp;#038; Viewer</title><link>http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/#comment-550108952</link><description>&lt;p&gt;Thanks. I've had a play and have got this working using a checkbox to select if saving is needed and a text box to specify the output file name.&lt;/p&gt;&lt;p&gt;Using javascript I detect if the checkbox is On and then change the url to include the output file name, if it's not on then the url stays as normal.&lt;/p&gt;&lt;p&gt;The resulting page checks if the url has been amended and then saves the file as needed. :)&lt;br&gt;Thanks&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">TOM</dc:creator><pubDate>Thu, 07 Jun 2012 14:42:23 -0000</pubDate></item><item><title>Re: AJAX Logfile Tailer &amp;#038; Viewer</title><link>http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/#comment-549811659</link><description>&lt;p&gt;In theory, sure.&lt;/p&gt;&lt;p&gt;One approach might include modifying the getLog routine to take a new parameter, the log file name, and then refactoring the URL variable to include that log file name as a query string.  Then set the new log name to a javascript variable in the log tailer launch page that is passed when you click the start button.&lt;/p&gt;&lt;p&gt;There are undoubtedly more ways + probably some that are better.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Minnihan</dc:creator><pubDate>Thu, 07 Jun 2012 09:15:30 -0000</pubDate></item></channel></rss>