<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>CodingClues - 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-55cba090" type="application/json"/><link>http://codingclues.disqus.com/</link><description></description><atom:link href="http://codingclues.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 01 Nov 2011 04:19:55 -0000</lastBuildDate><item><title>Re: Cloud42 - GUI and Web service interface for Amazon EC2</title><link>http://codingclues.eu/2009/cloud42-gui-and-web-service-interface-for-amazon-ec2/#comment-352591464</link><description>&lt;p&gt;(or by using the GUI). A notification mechanism following the&lt;br&gt;publish/subscribe pattern allows you to subscribe any endpoint to&lt;br&gt;events that occur on an AMI instance.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/"> swarovski uk</dc:creator><pubDate>Tue, 01 Nov 2011 04:19:55 -0000</pubDate></item><item><title>Re: Using SQL LIKE with find in Ruby On Rails</title><link>http://codingclues.eu/2009/using-sql-like-with-find-in-ruby-on-rails/#comment-5849939</link><description>&lt;p&gt;Don't forget to also escape the \ itself.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Trejkaz</dc:creator><pubDate>Wed, 04 Feb 2009 19:46:33 -0000</pubDate></item><item><title>Re: Displaying affilinet earnings in an RSS feed</title><link>http://codingclues.eu/2008/displaying-affilinet-earnings-in-an-rss-feed/#comment-5840722</link><description>&lt;p&gt;Im wondering if this would work with adsense or other affiliate networks as well?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">front door locks</dc:creator><pubDate>Wed, 04 Feb 2009 13:31:36 -0000</pubDate></item><item><title>Re: Problems with Assertions in JUnit tests using Eclipse</title><link>http://codingclues.eu/2008/assertions-in-eclipse/#comment-5392456</link><description>&lt;p&gt;Eclipse v. 3.1comes with JUnit built into the Workbench. Eclipse allows you to quickly create test case classes and test suite classes to write your test code in. With Eclipse, Test Driven Development (TDD), becomes very easy to organize and implement.&lt;/p&gt;

&lt;p&gt; &lt;b&gt;&lt;a href="http://add-blogbanner.blogspot.com" rel="nofollow"&gt;http://add-blogbanner.blogspot...&lt;/a&gt;&lt;/b&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">deepakp9</dc:creator><pubDate>Tue, 20 Jan 2009 09:35:42 -0000</pubDate></item><item><title>Re: The SQuirreL 100 rows problem</title><link>http://codingclues.eu/2008/the-squirrel-100-rows-problem/#comment-5139972</link><description>&lt;p&gt;In the file C:\Documents and Settings\&amp;lt;user&amp;gt;\.squirrel-sql\prefs.xml Change the tag called &amp;lt;sqllimitrows&amp;gt; to 'false' &lt;/p&gt;

&lt;p&gt;&amp;lt;sqllimitrows&amp;gt;false&amp;lt;/sqllimitrows&amp;gt; &lt;/p&gt;

&lt;p&gt;&amp;lt;/sqllimitrows&amp;gt;&amp;lt;/user&amp;gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Priti</dc:creator><pubDate>Thu, 15 Jan 2009 11:16:03 -0000</pubDate></item><item><title>Re: Drawing in Java</title><link>http://codingclues.eu/2008/drawing-in-java/#comment-4891148</link><description>&lt;p&gt;The screenshot is from GTD-Manager, a project management tool. Drawing was used in this application to visualize Gantt-Diagrams. See &lt;a href="http://gtd-manager.de" rel="nofollow"&gt;http://gtd-manager.de&lt;/a&gt; for details (it's a German website).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Frank</dc:creator><pubDate>Mon, 05 Jan 2009 06:44:45 -0000</pubDate></item><item><title>Re: Drawing in Java</title><link>http://codingclues.eu/2008/drawing-in-java/#comment-4202139</link><description>&lt;p&gt;Can you tell me, where is this screenhsot from? ;)&lt;br&gt;I'm interested about this... &lt;br&gt;Thaks! &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave</dc:creator><pubDate>Fri, 05 Dec 2008 06:16:00 -0000</pubDate></item><item><title>Re: Automatically Scrolling Down in a JTextArea</title><link>http://codingclues.eu/2008/automatically-scrolling-down-in-a-jtextarea/#comment-4027104</link><description>&lt;p&gt;This is not automatic scrolling. this is programatic scrolling. This should be controlled through a boolean property of the component. But as far as I know, Swing API does not support this.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Halil</dc:creator><pubDate>Wed, 26 Nov 2008 13:19:53 -0000</pubDate></item><item><title>Re: Randomness</title><link>http://codingclues.eu/2008/randomness/#comment-3855803</link><description>&lt;p&gt;I've tested his PHP code and got a perfectly random bitmap, far from what he got. I'm using PHP 5 on linux.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jackp</dc:creator><pubDate>Thu, 30 Oct 2008 05:29:34 -0000</pubDate></item><item><title>Re: Randomness</title><link>http://codingclues.eu/2008/randomness/#comment-3855802</link><description>&lt;p&gt;I'm not sure why one would plot coin-flip random result on a plot like this.  When I first saw the pic, I assumed that each point was a random pick on the plot area (in this case both x and y coordinates would be a random number from 0 to 512).  If you did this enough times, you would expect more and more of the area to be plotted.  Right?  That would seem to be a better visual representation of randomness.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dale</dc:creator><pubDate>Wed, 29 Oct 2008 21:29:24 -0000</pubDate></item><item><title>Re: Randomness</title><link>http://codingclues.eu/2008/randomness/#comment-3855801</link><description>&lt;p&gt;If I may make a suggestion: Try plotting a 3D graph rather than a 2D graph. This will make deviations from "random" easier to see. You may be surprised at what you find. ;^)&lt;/p&gt;

&lt;p&gt;Thanks for an excellent post.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kas Thomas</dc:creator><pubDate>Wed, 29 Oct 2008 15:25:13 -0000</pubDate></item><item><title>Re: Preventing Database Race Conditions</title><link>http://codingclues.eu/2008/preventing-database-race-conditions/#comment-3855797</link><description>&lt;p&gt;yeah all this should be no big deal when you are using mysql 5 w/ transactions (which i'm not and was not refering to in this article)&lt;br&gt;thx&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tobias</dc:creator><pubDate>Tue, 30 Sep 2008 05:51:57 -0000</pubDate></item><item><title>Re: Preventing Database Race Conditions</title><link>http://codingclues.eu/2008/preventing-database-race-conditions/#comment-3855794</link><description>&lt;p&gt;When your racing inserts are not using the same DB connection then at least mysql_insert_id() will work, as that is just a wrapper to a C API call and said call is "client-connection-aware".&lt;br&gt; I am not sure about the SELECT LAST_INSERT_ID though, that might actually be a problem (if not client-connection-aware), although inside of a transaction it should work even with concurrent inserts from other threads.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lino</dc:creator><pubDate>Tue, 30 Sep 2008 05:34:51 -0000</pubDate></item><item><title>Re: Preventing Database Race Conditions</title><link>http://codingclues.eu/2008/preventing-database-race-conditions/#comment-3855795</link><description>&lt;p&gt;thanks, never heared of this LAST_INSERT_ID statement before&lt;br&gt;I had abstracted from the actual PHP code in this example (therefore no identifier)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tobias</dc:creator><pubDate>Tue, 30 Sep 2008 05:16:01 -0000</pubDate></item><item><title>Re: Preventing Database Race Conditions</title><link>http://codingclues.eu/2008/preventing-database-race-conditions/#comment-3855796</link><description>&lt;p&gt;I already pointed that out to Tobias.&lt;/p&gt;

&lt;p&gt;However, the problem is, when you have e.g. 2 racing inserts, you only get the last ID of the two, but not the last two IDs. For Tobias' application, he needed exactly the one ID that he used in his INSERT, not the last one.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sebastian</dc:creator><pubDate>Tue, 30 Sep 2008 05:14:51 -0000</pubDate></item><item><title>Re: Why can&amp;#8217;t website forms be more intelligent?</title><link>http://codingclues.eu/2008/why-cant-website-forms-be-more-intelligent/#comment-3855769</link><description>&lt;p&gt;@Steve&lt;br&gt;The funny thing is, the BROWSER should give the feedback that your form is being send, but if you look at IE7 or IE8, you can hardly tell it anymore. So now the web developers have to add behaviour to all of their forms or the users will start to "whine".&lt;br&gt;Not trying to defend the "users are stupid" pseudo-argument, just pointing out that the responsibility to provide the clearly needed feedback seems to have shifted from the browser to the web application and basically the web developers take the blame for the mistakes of the browser developers now.&lt;/p&gt;

&lt;p&gt;Of course Markus is right, a simple nonce can prevent most problems from double submissions. That doesn't solve the lack of feedback, but it at least prevents corrupted data.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lino</dc:creator><pubDate>Tue, 30 Sep 2008 05:00:34 -0000</pubDate></item><item><title>Re: Unobtrusive JavaScript: Separating Scripting From Markup</title><link>http://codingclues.eu/2008/unobtrusive-javascript-separating-scripting-from-markup/#comment-3855783</link><description>&lt;p&gt;With a good JS framework the page should not be harder to debug when adding the event handlers in a seperate script block. Actually, from my experience it is easier to debug, as the frameworks all make sure your event handler will recieve the event as first argument, no matter if you call the input parameter event (will work in IE) or for example evt (will not work in IE when used in onclick-attribute).&lt;br&gt;Additionally, if you add your event handlers to single elements in an window.onload event handler (or even better, listen to dom:loaded), you avoid errors in event handler functions (imagine your onclick handler will change the innerHTML of another element that comes later in the DOM).&lt;br&gt;The non-functional period is not a valid point in my opinion. The whole point of unobtrusive JavaScript is to markup your page in such a way, that it will work with JavaScript turned off. The JavaScript will then add additional features that increase the usability or the efficency.&lt;br&gt;If your page doesn't "work" when the dom is completly loaded (and rendered), but the JavaScript isn't yet, then we are not talking about unobtrusive JavaScript. In that case you should hide elements that require JavaScript event handlers and show them via JavaScript after the event handlers were added.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lino</dc:creator><pubDate>Tue, 30 Sep 2008 04:50:21 -0000</pubDate></item><item><title>Re: Preventing Database Race Conditions</title><link>http://codingclues.eu/2008/preventing-database-race-conditions/#comment-3855798</link><description>&lt;p&gt;While your solution might work, mysql_insert_id() or, if you are using a BIGINT as auto_increment mysql_query('SELECT LAST_INSERT_ID() FROM table') is the better solution. Don't forget to pass the resource_identifier of your mysql connection. And I ideally, if you are using MySQL 5, encapsulate the whole operation into a transaction.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lino</dc:creator><pubDate>Tue, 30 Sep 2008 04:38:17 -0000</pubDate></item><item><title>Re: RichFaces: rich:modalPanel with rich:componentControl doesn&amp;#8217;t show data</title><link>http://codingclues.eu/2008/richfaces-richmodalpanel-with-richcomponentcontrol-does-not-show-data/#comment-3855792</link><description>&lt;p&gt;hi, i m new to this. and facing the same problem.&lt;br&gt;kindly send some code sample&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sumeet Singh</dc:creator><pubDate>Wed, 10 Sep 2008 08:14:25 -0000</pubDate></item><item><title>Re: RichFaces: rich:modalPanel with rich:componentControl doesn&amp;#8217;t show data</title><link>http://codingclues.eu/2008/richfaces-richmodalpanel-with-richcomponentcontrol-does-not-show-data/#comment-3855788</link><description>&lt;p&gt;Hi. already works. I change the button for link:&lt;/p&gt;

&lt;p&gt;See details...&lt;/p&gt;

&lt;p&gt;The actionParameter not works good, I has a javascript error when use actionParameter. Whit f:param, all works OK. Thanks....&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jalejo</dc:creator><pubDate>Thu, 04 Sep 2008 11:59:25 -0000</pubDate></item><item><title>Re: RichFaces: rich:modalPanel with rich:componentControl doesn&amp;#8217;t show data</title><link>http://codingclues.eu/2008/richfaces-richmodalpanel-with-richcomponentcontrol-does-not-show-data/#comment-3855789</link><description>&lt;p&gt;Hi. like say Michael, the explanation is great, I understood all, but in the practice, It not works.&lt;br&gt;The value dataId in the popupBean is never asigned, and when I click the button, the navigator show an javascript error altough show the popup panel, but without data. I don't why.&lt;br&gt;I need help!!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jalejo</dc:creator><pubDate>Thu, 04 Sep 2008 08:26:58 -0000</pubDate></item><item><title>Re: RichFaces: rich:modalPanel with rich:componentControl doesn&amp;#8217;t show data</title><link>http://codingclues.eu/2008/richfaces-richmodalpanel-with-richcomponentcontrol-does-not-show-data/#comment-3855790</link><description>&lt;p&gt;Hi Michael,&lt;br&gt;Frank is currently on holiday. I have e-mailed him your comment, maybe he can manage to reply :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">guruz</dc:creator><pubDate>Thu, 04 Sep 2008 02:08:44 -0000</pubDate></item><item><title>Re: RichFaces: rich:modalPanel with rich:componentControl doesn&amp;#8217;t show data</title><link>http://codingclues.eu/2008/richfaces-richmodalpanel-with-richcomponentcontrol-does-not-show-data/#comment-3855791</link><description>&lt;p&gt;Frank, your explanation is great! Thank you so much!&lt;br&gt;I'm new to JSF and almost commited suicide trying to solve this problem :) Could you please also explain the hint you mentioned at the end? I tried to rerender the whole modal panel and then it's really not shown at all, and I can't figure out why...&lt;br&gt;Thank you very much in advance!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael</dc:creator><pubDate>Wed, 03 Sep 2008 19:39:32 -0000</pubDate></item><item><title>Re: Eclipse: IWAE0010E An internal error occurred</title><link>http://codingclues.eu/2008/eclipse-iwae0010e-an-internal-error-occurred/#comment-3855785</link><description>&lt;p&gt;I'm having the same problem in Eclipse 3.3.2.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 29 Jul 2008 15:48:25 -0000</pubDate></item><item><title>Re: The SQuirreL 100 rows problem</title><link>http://codingclues.eu/2008/the-squirrel-100-rows-problem/#comment-3855755</link><description>&lt;p&gt;Sure? For me, the solution posted by squirreldev worked.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Frank</dc:creator><pubDate>Fri, 18 Jul 2008 02:27:34 -0000</pubDate></item></channel></rss>
