<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;DEIGSH8-eyp7ImA9WhdbE04.&quot;"><id>tag:blogger.com,1999:blog-9204548932714363053</id><updated>2011-10-11T05:35:29.153-07:00</updated><category term="programming" /><title>Need a programmer</title><subtitle type="html" /><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://need-programmer.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://need-programmer.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>The One</name><uri>http://www.blogger.com/profile/08932571205808183148</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>1102</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/NeedAProgrammer" /><feedburner:info uri="needaprogrammer" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;Ak8GSHs5cCp7ImA9Wx9bEUk.&quot;"><id>tag:blogger.com,1999:blog-9204548932714363053.post-1951728352320193377</id><published>2011-02-19T12:53:00.009-08:00</published><updated>2011-02-19T12:53:49.528-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-19T12:53:49.528-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><title>JavaScript: onMouseOver Event Not Working Properly With Other Events</title><content type="html">&lt;div&gt;&lt;h3&gt;Programmer Question&lt;/h3&gt; &lt;p&gt;Hello,&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;I have a HTML webpage that contains a 15x15 table and I also have a small square div that follows the mouse when you press and hold the left mouse button on the div.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;I have assigned an onmouseover event to the 15x15 table so that when the mouse hovers over a cell, a variable called "gridPlacement" is set the value of the unique id of the table cell the mouse hovered over.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;The onmouseover event seems to work fine and instantly as soon as you hover over a cell the variable "gridPlacement" is set to the cell's id.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;But when the onmousedown and onmousemove events are triggered (when the mouse presses and holds the left mouse button on the div I mentioned earlier), sometimes when you hover over a cell the variable "gridPlacement" isn't set, and sometimes you have to move your mouse over the cell a few times for it to work.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;It seems the onmousedown and onmousemove events seem to have an impact on the onhover event on my 15x15 table.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Does anybody know why this happens and how I can work around this problem?&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;I hope you understand me, I've tried to explain my problem as best as I can.&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;a rel='nofollow' href='http://stackoverflow.com/questions/5053081/javascript-onmouseover-event-not-working-properly-with-other-events'&gt;Find the answer here&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9204548932714363053-1951728352320193377?l=need-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/2fkP-0LJcG5tpdQdVgBb16g3lPo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2fkP-0LJcG5tpdQdVgBb16g3lPo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/2fkP-0LJcG5tpdQdVgBb16g3lPo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2fkP-0LJcG5tpdQdVgBb16g3lPo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/NeedAProgrammer/~4/34S36AX26fs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://need-programmer.blogspot.com/feeds/1951728352320193377/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://need-programmer.blogspot.com/2011/02/javascript-onmouseover-event-not.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/1951728352320193377?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/1951728352320193377?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NeedAProgrammer/~3/34S36AX26fs/javascript-onmouseover-event-not.html" title="JavaScript: onMouseOver Event Not Working Properly With Other Events" /><author><name>The One</name><uri>http://www.blogger.com/profile/15913951498183670546</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://need-programmer.blogspot.com/2011/02/javascript-onmouseover-event-not.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak8GRnc8eCp7ImA9Wx9bEUk.&quot;"><id>tag:blogger.com,1999:blog-9204548932714363053.post-5773894572548617118</id><published>2011-02-19T12:53:00.007-08:00</published><updated>2011-02-19T12:53:47.970-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-19T12:53:47.970-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><title>How can I detect window destruction from the main thread?</title><content type="html">&lt;div&gt;&lt;h3&gt;Programmer Question&lt;/h3&gt; &lt;p&gt;Typically, the window procedure for a "main" window class would call PostQuitMessage in response to a WM_DESTROY message.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;I would prefer to have the main thread decide when it wants to terminate based on the lifespan of the window(s) it creates.  This way, whatever window class I choose to be the main window can have a generic window procedure that doesn't have PostQuitMessage in it.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;while(GetMessage(&amp;amp;msg, NULL, 0, 0))&lt;br /&gt;{&lt;br /&gt;    TranslateMessage(&amp;amp;msg);&lt;br /&gt;    DispatchMessage(&amp;amp;msg);&lt;br /&gt;&lt;br /&gt;    if(msg.hwnd == hWnd &amp;amp;&amp;amp; msg.message == WM_DESTROY)&lt;br /&gt;    {&lt;br /&gt;        PostQuitMessage(0);&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;The above is my attempt, but the WM_DESTROY message is never posted to the message queue, it seems to be internal to the window procedure.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Is there some way to accomplish this?&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;a rel='nofollow' href='http://stackoverflow.com/questions/5053449/how-can-i-detect-window-destruction-from-the-main-thread'&gt;Find the answer here&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9204548932714363053-5773894572548617118?l=need-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/391zO-zYGZ2sSTOvR0wBQe5AOww/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/391zO-zYGZ2sSTOvR0wBQe5AOww/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/391zO-zYGZ2sSTOvR0wBQe5AOww/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/391zO-zYGZ2sSTOvR0wBQe5AOww/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/NeedAProgrammer/~4/0pYeffFuyA8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://need-programmer.blogspot.com/feeds/5773894572548617118/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://need-programmer.blogspot.com/2011/02/how-can-i-detect-window-destruction.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/5773894572548617118?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/5773894572548617118?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NeedAProgrammer/~3/0pYeffFuyA8/how-can-i-detect-window-destruction.html" title="How can I detect window destruction from the main thread?" /><author><name>The One</name><uri>http://www.blogger.com/profile/15913951498183670546</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://need-programmer.blogspot.com/2011/02/how-can-i-detect-window-destruction.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak8GR3wzfSp7ImA9Wx9bEUk.&quot;"><id>tag:blogger.com,1999:blog-9204548932714363053.post-6752783942562732902</id><published>2011-02-19T12:53:00.005-08:00</published><updated>2011-02-19T12:53:46.285-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-19T12:53:46.285-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><title>Backbone.js versus Express versus Ext JS ...and JSPP?</title><content type="html">&lt;div&gt;&lt;h3&gt;Programmer Question&lt;/h3&gt; &lt;p&gt;What are the pros and cons of Backbone.js, Express, Ext JS, and JSPP??&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;a rel='nofollow' href='http://stackoverflow.com/questions/5053167/backbone-js-versus-express-versus-ext-js-and-jspp'&gt;Find the answer here&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9204548932714363053-6752783942562732902?l=need-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/7qiJpv2cJSKgv07sOPO-XCmzjLo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7qiJpv2cJSKgv07sOPO-XCmzjLo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/7qiJpv2cJSKgv07sOPO-XCmzjLo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7qiJpv2cJSKgv07sOPO-XCmzjLo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/NeedAProgrammer/~4/TfmiV23YfPI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://need-programmer.blogspot.com/feeds/6752783942562732902/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://need-programmer.blogspot.com/2011/02/backbonejs-versus-express-versus-ext-js.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/6752783942562732902?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/6752783942562732902?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NeedAProgrammer/~3/TfmiV23YfPI/backbonejs-versus-express-versus-ext-js.html" title="Backbone.js versus Express versus Ext JS ...and JSPP?" /><author><name>The One</name><uri>http://www.blogger.com/profile/15913951498183670546</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://need-programmer.blogspot.com/2011/02/backbonejs-versus-express-versus-ext-js.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak8GRXg_eCp7ImA9Wx9bEUk.&quot;"><id>tag:blogger.com,1999:blog-9204548932714363053.post-6413577369219890120</id><published>2011-02-19T12:53:00.003-08:00</published><updated>2011-02-19T12:53:44.640-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-19T12:53:44.640-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><title>Making similar app as already existing on App Store</title><content type="html">&lt;div&gt;&lt;h3&gt;Programmer Question&lt;/h3&gt; &lt;p&gt;Hi,&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Are there some restrictions for making an exact copy (with our own branding) of an app/game that is already there on App Store? i.e. copying the idea&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;a rel='nofollow' href='http://stackoverflow.com/questions/5051296/making-similar-app-as-already-existing-on-app-store'&gt;Find the answer here&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9204548932714363053-6413577369219890120?l=need-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/AwrldngnkEeViwhDcP04DPVNnNo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AwrldngnkEeViwhDcP04DPVNnNo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/AwrldngnkEeViwhDcP04DPVNnNo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AwrldngnkEeViwhDcP04DPVNnNo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/NeedAProgrammer/~4/rl_VHN02SoM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://need-programmer.blogspot.com/feeds/6413577369219890120/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://need-programmer.blogspot.com/2011/02/making-similar-app-as-already-existing.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/6413577369219890120?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/6413577369219890120?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NeedAProgrammer/~3/rl_VHN02SoM/making-similar-app-as-already-existing.html" title="Making similar app as already existing on App Store" /><author><name>The One</name><uri>http://www.blogger.com/profile/15913951498183670546</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://need-programmer.blogspot.com/2011/02/making-similar-app-as-already-existing.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak8GQ389eSp7ImA9Wx9bEUk.&quot;"><id>tag:blogger.com,1999:blog-9204548932714363053.post-1166087015010417362</id><published>2011-02-19T12:53:00.001-08:00</published><updated>2011-02-19T12:53:42.161-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-19T12:53:42.161-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><title>How to migrate MS access database to Oracle ?</title><content type="html">&lt;div&gt;&lt;h3&gt;Programmer Question&lt;/h3&gt; &lt;p&gt;I am using SQL developer, but while capturing Models step executes, it gives me following error  &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:323)  &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Can anyone either tell me how to fix this issue or help in with an alternate way to migrate the database.&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;a rel='nofollow' href='http://stackoverflow.com/questions/5002186/how-to-migrate-ms-access-database-to-oracle'&gt;Find the answer here&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9204548932714363053-1166087015010417362?l=need-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/9wI638LRbOx_PxB98BM74WRCXPg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9wI638LRbOx_PxB98BM74WRCXPg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/9wI638LRbOx_PxB98BM74WRCXPg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9wI638LRbOx_PxB98BM74WRCXPg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/NeedAProgrammer/~4/1lrlojzKzto" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://need-programmer.blogspot.com/feeds/1166087015010417362/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://need-programmer.blogspot.com/2011/02/how-to-migrate-ms-access-database-to.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/1166087015010417362?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/1166087015010417362?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NeedAProgrammer/~3/1lrlojzKzto/how-to-migrate-ms-access-database-to.html" title="How to migrate MS access database to Oracle ?" /><author><name>The One</name><uri>http://www.blogger.com/profile/15913951498183670546</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://need-programmer.blogspot.com/2011/02/how-to-migrate-ms-access-database-to.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEcHRX48fCp7ImA9Wx9UGUo.&quot;"><id>tag:blogger.com,1999:blog-9204548932714363053.post-7879522217321783876</id><published>2011-02-17T12:53:00.009-08:00</published><updated>2011-02-17T12:53:54.074-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-17T12:53:54.074-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><title>Identifying memory-mapped files</title><content type="html">&lt;div&gt;&lt;h3&gt;Programmer Question&lt;/h3&gt; &lt;p&gt;Hello,&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;I'm identifying parts of process's virtual memory using VirtualQuery. I identify regions taken by mapped files (MEM_MAPPED), but how to determine actual files (filenames) of files allocated there? I suppose it has something to do with MapView* family of APIs but cant figure it out exactly...&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;a rel='nofollow' href='http://stackoverflow.com/questions/5031008/identifying-memory-mapped-files'&gt;Find the answer here&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9204548932714363053-7879522217321783876?l=need-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/iNtMRbeU_ClXelZJ3A-9T_AydOA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/iNtMRbeU_ClXelZJ3A-9T_AydOA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/iNtMRbeU_ClXelZJ3A-9T_AydOA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/iNtMRbeU_ClXelZJ3A-9T_AydOA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/NeedAProgrammer/~4/eUk5NEhZIbo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://need-programmer.blogspot.com/feeds/7879522217321783876/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://need-programmer.blogspot.com/2011/02/identifying-memory-mapped-files.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/7879522217321783876?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/7879522217321783876?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NeedAProgrammer/~3/eUk5NEhZIbo/identifying-memory-mapped-files.html" title="Identifying memory-mapped files" /><author><name>The One</name><uri>http://www.blogger.com/profile/15913951498183670546</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://need-programmer.blogspot.com/2011/02/identifying-memory-mapped-files.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEcHQ38-eCp7ImA9Wx9UGUo.&quot;"><id>tag:blogger.com,1999:blog-9204548932714363053.post-4135445321852934879</id><published>2011-02-17T12:53:00.007-08:00</published><updated>2011-02-17T12:53:52.150-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-17T12:53:52.150-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><title>Log into twitter?</title><content type="html">&lt;div&gt;&lt;h3&gt;Programmer Question&lt;/h3&gt; &lt;p&gt;Ok, basically what I am trying to do is get a boolean if I have logged in or not. I am using the Twitter4j library and they gave me the following three things to look at.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a rel='nofollow' href='http://twitter4j.org/en/code-examples.html'&gt;http://twitter4j.org/en/code-examples.html&lt;/a&gt;  &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a rel='nofollow' href='https://github.com/yusuke/sign-in-with-twitter/blob/master/src/main/java/twitter4j/examples/signin/SigninServlet.java'&gt;https://github.com/yusuke/sign-in-with-twitter/blob/master/src/main/java/twitter4j/examples/signin/SigninServlet.java&lt;/a&gt;  &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a rel='nofollow' href='https://github.com/yusuke/sign-in-with-twitter/blob/master/src/main/java/twitter4j/examples/signin/CallbackServlet.java'&gt;https://github.com/yusuke/sign-in-with-twitter/blob/master/src/main/java/twitter4j/examples/signin/CallbackServlet.java&lt;/a&gt;  &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;I have no idea how to log in and get if I logged in successfully.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Thanks, and I have no code btw... all I did was basically copy code and try different things.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;PS. On a separate note how do I learn how to use someone elses library?&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;a rel='nofollow' href='http://stackoverflow.com/questions/5034488/log-into-twitter'&gt;Find the answer here&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9204548932714363053-4135445321852934879?l=need-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/FQ-0TStUY4z8meWVmoKEPltQ18Q/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FQ-0TStUY4z8meWVmoKEPltQ18Q/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/FQ-0TStUY4z8meWVmoKEPltQ18Q/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FQ-0TStUY4z8meWVmoKEPltQ18Q/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/NeedAProgrammer/~4/gGKlc636nlU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://need-programmer.blogspot.com/feeds/4135445321852934879/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://need-programmer.blogspot.com/2011/02/log-into-twitter.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/4135445321852934879?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/4135445321852934879?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NeedAProgrammer/~3/gGKlc636nlU/log-into-twitter.html" title="Log into twitter?" /><author><name>The One</name><uri>http://www.blogger.com/profile/15913951498183670546</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://need-programmer.blogspot.com/2011/02/log-into-twitter.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEcHQX09fCp7ImA9Wx9UGUo.&quot;"><id>tag:blogger.com,1999:blog-9204548932714363053.post-667179406163401007</id><published>2011-02-17T12:53:00.005-08:00</published><updated>2011-02-17T12:53:50.364-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-17T12:53:50.364-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><title>extracting paragraph in python using lxml</title><content type="html">&lt;div&gt;&lt;h3&gt;Programmer Question&lt;/h3&gt; &lt;p&gt;I would like to extract paragraphs in html by python. I used lxml module but it doesn't do exactly what I am looking for.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;print html.parse(url).xpath('//p')[1].text_content()&lt;br /&gt;&lt;br /&gt;&lt;span id='midArticle_1'/&gt;&lt;p&gt;Here is the First Paragraph.&lt;/p&gt;&lt;span id='midArticle_2'/&gt;&lt;p&gt;Here is the second Paragraph.&lt;/p&gt;&lt;span id='midArticle_3'/&gt;&lt;p&gt;Paragraph Three."&lt;/p&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;I should add that, in different pages I have different number of paragraph, so would like to make a list and put paragraph into it after that.&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;a rel='nofollow' href='http://stackoverflow.com/questions/5034351/extracting-paragraph-in-python-using-lxml'&gt;Find the answer here&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9204548932714363053-667179406163401007?l=need-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/_XngkkYAQclbf1mSThJQaTLWaBg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_XngkkYAQclbf1mSThJQaTLWaBg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/_XngkkYAQclbf1mSThJQaTLWaBg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_XngkkYAQclbf1mSThJQaTLWaBg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/NeedAProgrammer/~4/KdDLpXT2SDc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://need-programmer.blogspot.com/feeds/667179406163401007/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://need-programmer.blogspot.com/2011/02/extracting-paragraph-in-python-using.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/667179406163401007?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/667179406163401007?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NeedAProgrammer/~3/KdDLpXT2SDc/extracting-paragraph-in-python-using.html" title="extracting paragraph in python using lxml" /><author><name>The One</name><uri>http://www.blogger.com/profile/15913951498183670546</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://need-programmer.blogspot.com/2011/02/extracting-paragraph-in-python-using.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEcGSXkzfyp7ImA9Wx9UGUo.&quot;"><id>tag:blogger.com,1999:blog-9204548932714363053.post-5834410913018433910</id><published>2011-02-17T12:53:00.003-08:00</published><updated>2011-02-17T12:53:48.787-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-17T12:53:48.787-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><title>Python super method and calling alternatives</title><content type="html">&lt;div&gt;&lt;h3&gt;Programmer Question&lt;/h3&gt; &lt;p&gt;I see everywhere examples that super-class methods should be called by:&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;super(SuperClass, instance).method(args)&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Is there any disadvantage to doing:&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;SuperClass.method(instance, args)&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;TIA, Ian&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;a rel='nofollow' href='http://stackoverflow.com/questions/5033903/python-super-method-and-calling-alternatives'&gt;Find the answer here&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9204548932714363053-5834410913018433910?l=need-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/SKDmRX8D1FQ7VMxfRzfyt0hqcSs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SKDmRX8D1FQ7VMxfRzfyt0hqcSs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/SKDmRX8D1FQ7VMxfRzfyt0hqcSs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SKDmRX8D1FQ7VMxfRzfyt0hqcSs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/NeedAProgrammer/~4/WUHRyLa3Ezs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://need-programmer.blogspot.com/feeds/5834410913018433910/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://need-programmer.blogspot.com/2011/02/python-super-method-and-calling.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/5834410913018433910?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/5834410913018433910?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NeedAProgrammer/~3/WUHRyLa3Ezs/python-super-method-and-calling.html" title="Python super method and calling alternatives" /><author><name>The One</name><uri>http://www.blogger.com/profile/15913951498183670546</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://need-programmer.blogspot.com/2011/02/python-super-method-and-calling.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEcGR38yeip7ImA9Wx9UGUo.&quot;"><id>tag:blogger.com,1999:blog-9204548932714363053.post-7489909906128779688</id><published>2011-02-17T12:53:00.001-08:00</published><updated>2011-02-17T12:53:46.192-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-17T12:53:46.192-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><title>Java performance multi-core testing environment</title><content type="html">&lt;div&gt;&lt;h3&gt;Programmer Question&lt;/h3&gt; &lt;p&gt;I am interested in learning as much as i can about tuning a multi-threaded java server on a multi-core machine.   I wanted to write some test servers that i could use to test different scenarios.  For example thread pool sizing.  Unfortunately i don't have access to a large multi-core unix (linux or solaris) machine.  I just have duo-core mac laptop.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Are there any good lease options for a dedicated, say 8 to 16 core machine, that i could distribute my java test servers?&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;a rel='nofollow' href='http://stackoverflow.com/questions/5034365/java-performance-multi-core-testing-environment'&gt;Find the answer here&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9204548932714363053-7489909906128779688?l=need-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/JWoUD7s7aYCpvkzhuav-qvE_u8A/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JWoUD7s7aYCpvkzhuav-qvE_u8A/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/JWoUD7s7aYCpvkzhuav-qvE_u8A/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JWoUD7s7aYCpvkzhuav-qvE_u8A/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/NeedAProgrammer/~4/H1vIE97Rdhc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://need-programmer.blogspot.com/feeds/7489909906128779688/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://need-programmer.blogspot.com/2011/02/java-performance-multi-core-testing.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/7489909906128779688?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/7489909906128779688?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NeedAProgrammer/~3/H1vIE97Rdhc/java-performance-multi-core-testing.html" title="Java performance multi-core testing environment" /><author><name>The One</name><uri>http://www.blogger.com/profile/15913951498183670546</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://need-programmer.blogspot.com/2011/02/java-performance-multi-core-testing.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0IARn06eCp7ImA9Wx9UGEU.&quot;"><id>tag:blogger.com,1999:blog-9204548932714363053.post-6329890347384662845</id><published>2011-02-16T12:52:00.001-08:00</published><updated>2011-02-16T12:52:27.310-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-16T12:52:27.310-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><title>How to check if a parameter of an inline function is known at compile time?</title><content type="html">&lt;div&gt;&lt;h3&gt;Programmer Question&lt;/h3&gt; &lt;p&gt;Hello,&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;I have a performance critical inline function. It generates some data, based on a parameter. I want the compiler to optimize the data generation for all invocations, where the parameter is known at compile-time. The problem is that I can't force the compiler to put the optimized data out of the stack to a static constant, since marking the data &lt;code&gt;static&lt;/code&gt; would break the case when parameter is not a compile-time constant. Having constant data on the stack hurts performance. Is there a way to deduce (maybe using templates/boost::enable_if), that the parameter is a compile-time constant and choose appropriate implementation of the data generation? &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Disclaimer&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;This question is not the same as &lt;a href='http://stackoverflow.com/questions/5017629/how-to-use-different-overload-of-an-inline-function-depending-on-a-compile-time'&gt;How to use different overload of an inline function, depending on a compile time parameter?&lt;/a&gt;. This is more generic problem.&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;a rel='nofollow' href='http://stackoverflow.com/questions/5021936/how-to-check-if-a-parameter-of-an-inline-function-is-known-at-compile-time'&gt;Find the answer here&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9204548932714363053-6329890347384662845?l=need-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/74_Ql56Wg8oR-koZYZdXF_mmY-o/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/74_Ql56Wg8oR-koZYZdXF_mmY-o/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/74_Ql56Wg8oR-koZYZdXF_mmY-o/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/74_Ql56Wg8oR-koZYZdXF_mmY-o/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/NeedAProgrammer/~4/33ketKT5-4E" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://need-programmer.blogspot.com/feeds/6329890347384662845/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://need-programmer.blogspot.com/2011/02/how-to-check-if-parameter-of-inline.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/6329890347384662845?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/6329890347384662845?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NeedAProgrammer/~3/33ketKT5-4E/how-to-check-if-parameter-of-inline.html" title="How to check if a parameter of an inline function is known at compile time?" /><author><name>The One</name><uri>http://www.blogger.com/profile/15913951498183670546</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://need-programmer.blogspot.com/2011/02/how-to-check-if-parameter-of-inline.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEABQno-fyp7ImA9Wx9UF0w.&quot;"><id>tag:blogger.com,1999:blog-9204548932714363053.post-5288796086437753729</id><published>2011-02-14T12:52:00.005-08:00</published><updated>2011-02-14T12:52:33.457-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-14T12:52:33.457-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><title>Running a Unix Executable Objective-C file in Java (OS X)</title><content type="html">&lt;div&gt;&lt;h3&gt;Programmer Question&lt;/h3&gt; &lt;p&gt;I've seen this question asked before and tried following the solutions posted. Unfortunately, they aren't working. I'm trying to make a simple Java program that can run a compiled Objective-C program (Unix Executable file) with an input parameter. Below are the attempts at Java I have tried that don't seem to be working:&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;String[] cmd = {"/bin/bash", fullFilePath, Param};&lt;br /&gt;Runtime.getRuntime().exec(cmd);&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;This is generating a Processor error of 126 for "Command invoked cannot execute". I've tried other variations that don't work as well such as:&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;String[] cmd = {"/bin/bash fullFilePath \"Param\""};&lt;br /&gt;String[] cmd = {"/usr/bin/open fullFilePath \"Param\""};&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Any suggestions or ideas on how I can get this to work? I just need to run the compiled Objective-C program in Java with the parameter. I figured it wouldn't be this hard. Thanks in advance, and if you need more information just ask.&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;a rel='nofollow' href='http://stackoverflow.com/questions/4997096/running-a-unix-executable-objective-c-file-in-java-os-x'&gt;Find the answer here&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9204548932714363053-5288796086437753729?l=need-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/cvc5vit8-LWUtJzBe30Gf4_2a6Y/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cvc5vit8-LWUtJzBe30Gf4_2a6Y/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/cvc5vit8-LWUtJzBe30Gf4_2a6Y/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cvc5vit8-LWUtJzBe30Gf4_2a6Y/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/NeedAProgrammer/~4/A0FKnii8bPM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://need-programmer.blogspot.com/feeds/5288796086437753729/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://need-programmer.blogspot.com/2011/02/running-unix-executable-objective-c.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/5288796086437753729?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/5288796086437753729?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NeedAProgrammer/~3/A0FKnii8bPM/running-unix-executable-objective-c.html" title="Running a Unix Executable Objective-C file in Java (OS X)" /><author><name>The One</name><uri>http://www.blogger.com/profile/15913951498183670546</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://need-programmer.blogspot.com/2011/02/running-unix-executable-objective-c.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEABQHc6fip7ImA9Wx9UF0w.&quot;"><id>tag:blogger.com,1999:blog-9204548932714363053.post-361052469241413310</id><published>2011-02-14T12:52:00.003-08:00</published><updated>2011-02-14T12:52:31.916-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-14T12:52:31.916-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><title>What's a good Flask/Python/WSGI analog to the PHP Apache shared memory stores like apc_store/apc_fetch?</title><content type="html">&lt;div&gt;&lt;h3&gt;Programmer Question&lt;/h3&gt; &lt;p&gt;I've done a couple of years of large-scale game server development in PHP.  A load balancer delegates incoming requests to one server in a cluster.  In the name of better performance, we began caching all static data (essentially the game world's model objects) on each of the instances in that cluster, directly in Apache shared memory, using &lt;code&gt;apc_store&lt;/code&gt; and &lt;code&gt;apc_fetch&lt;/code&gt;.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;For a number of reasons, we're now beginning to develop a similar game framework in Python, using the Flask microframework.  At first glance, this instance's memory store is the one piece that doesn't appear to translate directly to Python/Flask.  We're presently considering running Memcached locally on each instance (to avoid streaming fairly large model objects over-the-wire from our main Memcached cluster.)&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;What can we use instead?&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;a rel='nofollow' href='http://stackoverflow.com/questions/4964944/whats-a-good-flask-python-wsgi-analog-to-the-php-apache-shared-memory-stores-lik'&gt;Find the answer here&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9204548932714363053-361052469241413310?l=need-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/uE9muZhCDhcIvHkQtavCy21G3Nc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uE9muZhCDhcIvHkQtavCy21G3Nc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/uE9muZhCDhcIvHkQtavCy21G3Nc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uE9muZhCDhcIvHkQtavCy21G3Nc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/NeedAProgrammer/~4/3HqpBP1YRkY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://need-programmer.blogspot.com/feeds/361052469241413310/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://need-programmer.blogspot.com/2011/02/what-good-flaskpythonwsgi-analog-to-php.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/361052469241413310?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/361052469241413310?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NeedAProgrammer/~3/3HqpBP1YRkY/what-good-flaskpythonwsgi-analog-to-php.html" title="What&amp;#39;s a good Flask/Python/WSGI analog to the PHP Apache shared memory stores like apc_store/apc_fetch?" /><author><name>The One</name><uri>http://www.blogger.com/profile/15913951498183670546</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://need-programmer.blogspot.com/2011/02/what-good-flaskpythonwsgi-analog-to-php.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEAASHk4eSp7ImA9Wx9UF0w.&quot;"><id>tag:blogger.com,1999:blog-9204548932714363053.post-8746000091152749495</id><published>2011-02-14T12:52:00.001-08:00</published><updated>2011-02-14T12:52:29.731-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-14T12:52:29.731-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><title>Regular Expression Help</title><content type="html">&lt;div&gt;&lt;h3&gt;Programmer Question&lt;/h3&gt; &lt;p&gt;Trying to match a strings in notepad++ with a regular expression.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;The string I'm trying to match is formatted like this:&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;^*^1st Choice Housing. Inc~*~&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;The carets and tildes serve as the delimiters around the name.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Here's the regular expression I'm trying to use to match any string between the delimiters&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;\^\*\^([A-Za-z0-9-.]+)\~\*\~&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Notepad++ says 0 matches. What is wrong with my regular expression?&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;If I use:&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;\^\*\^1st Choice Housing. Inc\~\*\~&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;It matches.&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;a rel='nofollow' href='http://stackoverflow.com/questions/4997097/regular-expression-help'&gt;Find the answer here&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9204548932714363053-8746000091152749495?l=need-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/XzIhXoPVJX1BGGOGx_IbErUZiWY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XzIhXoPVJX1BGGOGx_IbErUZiWY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/XzIhXoPVJX1BGGOGx_IbErUZiWY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XzIhXoPVJX1BGGOGx_IbErUZiWY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/NeedAProgrammer/~4/tJ9aD3PQiNs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://need-programmer.blogspot.com/feeds/8746000091152749495/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://need-programmer.blogspot.com/2011/02/regular-expression-help.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/8746000091152749495?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/8746000091152749495?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NeedAProgrammer/~3/tJ9aD3PQiNs/regular-expression-help.html" title="Regular Expression Help" /><author><name>The One</name><uri>http://www.blogger.com/profile/15913951498183670546</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://need-programmer.blogspot.com/2011/02/regular-expression-help.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkQBQ3Y9cSp7ImA9Wx9UFk4.&quot;"><id>tag:blogger.com,1999:blog-9204548932714363053.post-8629513015150955183</id><published>2011-02-13T12:52:00.001-08:00</published><updated>2011-02-13T12:52:32.869-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-13T12:52:32.869-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><title>Python always thinks my string is the highest possible number</title><content type="html">&lt;div&gt;&lt;h3&gt;Programmer Question&lt;/h3&gt; &lt;pre&gt;&lt;code&gt;if month == 1 or 10:&lt;br /&gt;    month1 = 0&lt;br /&gt;if month == 2 or 3 or 11:&lt;br /&gt;    month1 = 3&lt;br /&gt;if month == 4 or 7:&lt;br /&gt;    month1 = 6&lt;br /&gt;if month == 5:&lt;br /&gt;    month1 = 1&lt;br /&gt;if month == 6:&lt;br /&gt;    month1 = 4&lt;br /&gt;if month == 8:&lt;br /&gt;    month1 = 2&lt;br /&gt;if month == 9 or 12:&lt;br /&gt;    month1 = 5&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;This code &lt;em&gt;always&lt;/em&gt; returns month1 5. I'm quite new at programming, what am I doing wrong? (I guess it involves the fact that 12 is the highest number. But == means equals right?)&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;a rel='nofollow' href='http://stackoverflow.com/questions/4986756/python-always-thinks-my-string-is-the-highest-possible-number'&gt;Find the answer here&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9204548932714363053-8629513015150955183?l=need-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Phs1LlQsQ1Kxfs5JeW_IqMyFD7A/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Phs1LlQsQ1Kxfs5JeW_IqMyFD7A/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Phs1LlQsQ1Kxfs5JeW_IqMyFD7A/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Phs1LlQsQ1Kxfs5JeW_IqMyFD7A/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/NeedAProgrammer/~4/FcCM8R1L-P4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://need-programmer.blogspot.com/feeds/8629513015150955183/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://need-programmer.blogspot.com/2011/02/python-always-thinks-my-string-is.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/8629513015150955183?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/8629513015150955183?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NeedAProgrammer/~3/FcCM8R1L-P4/python-always-thinks-my-string-is.html" title="Python always thinks my string is the highest possible number" /><author><name>The One</name><uri>http://www.blogger.com/profile/15913951498183670546</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://need-programmer.blogspot.com/2011/02/python-always-thinks-my-string-is.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU4BSHY-fSp7ImA9Wx9UFUk.&quot;"><id>tag:blogger.com,1999:blog-9204548932714363053.post-4184644740453120991</id><published>2011-02-12T12:52:00.009-08:00</published><updated>2011-02-12T12:52:39.855-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-12T12:52:39.855-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><title>Can't get 1440x900 resolution with GRUB2 although vbeinfo says it's available</title><content type="html">&lt;div&gt;&lt;h3&gt;Programmer Question&lt;/h3&gt; &lt;p&gt;I'm trying to use GRUB2 in graphical mode with 1440x900 resolution, but the result is always garbled nonsense: the highest resolution I can get is 1280x800.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Word is from googling that long as vbeinfo lists a resolution, GRUB2 can use it. This doesn't seem to be true: vbeinfo says that 1440x900 is available but it doesn't work.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Testing it from the GRUB2 command line:&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;set gxfmode=1440x900&lt;br /&gt;terminal_output gfxterm&lt;br /&gt;# -&amp;gt; garbled nonsense&lt;br /&gt;&lt;br /&gt;# back to trusty 640x480&lt;br /&gt;terminal_output console&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;The graphics card is an Intel GM965.&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;a rel='nofollow' href='http://stackoverflow.com/questions/4980375/cant-get-1440x900-resolution-with-grub2-although-vbeinfo-says-its-available'&gt;Find the answer here&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9204548932714363053-4184644740453120991?l=need-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/9qFCiIjibql8Uoc0PAHxIX8BvsY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9qFCiIjibql8Uoc0PAHxIX8BvsY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/9qFCiIjibql8Uoc0PAHxIX8BvsY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9qFCiIjibql8Uoc0PAHxIX8BvsY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/NeedAProgrammer/~4/gmaJyb6OHcA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://need-programmer.blogspot.com/feeds/4184644740453120991/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://need-programmer.blogspot.com/2011/02/can-get-1440x900-resolution-with-grub2.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/4184644740453120991?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/4184644740453120991?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NeedAProgrammer/~3/gmaJyb6OHcA/can-get-1440x900-resolution-with-grub2.html" title="Can&amp;#39;t get 1440x900 resolution with GRUB2 although vbeinfo says it&amp;#39;s available" /><author><name>The One</name><uri>http://www.blogger.com/profile/15913951498183670546</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://need-programmer.blogspot.com/2011/02/can-get-1440x900-resolution-with-grub2.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU4BSXw4fip7ImA9Wx9UFUk.&quot;"><id>tag:blogger.com,1999:blog-9204548932714363053.post-2207258754105293882</id><published>2011-02-12T12:52:00.007-08:00</published><updated>2011-02-12T12:52:38.236-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-12T12:52:38.236-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><title>Is it a real date, February 29, 2011 is not a real date</title><content type="html">&lt;div&gt;&lt;h3&gt;Programmer Question&lt;/h3&gt; &lt;p&gt;Does PHP have a function that could help find out if a date is a real date. For example &lt;code&gt;February 29, 2011&lt;/code&gt; is not a real because this year February has only 28 days. This is the sort of "real date" I'm asking about. Does PHP have something to help?&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;a rel='nofollow' href='http://stackoverflow.com/questions/4980530/is-it-a-real-date-february-29-2011-is-not-a-real-date'&gt;Find the answer here&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9204548932714363053-2207258754105293882?l=need-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/c4GI9u2OsdujaAhH57kv-TzZCQ8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/c4GI9u2OsdujaAhH57kv-TzZCQ8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/c4GI9u2OsdujaAhH57kv-TzZCQ8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/c4GI9u2OsdujaAhH57kv-TzZCQ8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/NeedAProgrammer/~4/UcqWhmf0w50" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://need-programmer.blogspot.com/feeds/2207258754105293882/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://need-programmer.blogspot.com/2011/02/is-it-real-date-february-29-2011-is-not.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/2207258754105293882?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/2207258754105293882?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NeedAProgrammer/~3/UcqWhmf0w50/is-it-real-date-february-29-2011-is-not.html" title="Is it a real date, February 29, 2011 is not a real date" /><author><name>The One</name><uri>http://www.blogger.com/profile/15913951498183670546</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://need-programmer.blogspot.com/2011/02/is-it-real-date-february-29-2011-is-not.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU4BR3s_cSp7ImA9Wx9UFUk.&quot;"><id>tag:blogger.com,1999:blog-9204548932714363053.post-5213856334203934925</id><published>2011-02-12T12:52:00.005-08:00</published><updated>2011-02-12T12:52:36.549-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-12T12:52:36.549-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><title>Strengths of Shell Scripting compared to Python</title><content type="html">&lt;div&gt;&lt;h3&gt;Programmer Question&lt;/h3&gt; &lt;p&gt;I tried to learn shell(bash) scripting few times but was driven away by the syntax. Then I found Python and was able to do most of the things a shell script can do in Python. I am now not sure whether I should invest my time in learning shell scripting anymore. So I want to ask&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;What are strengths of shell scripting that make it an indispensable tool as compared to Python?&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;I am not a system administration by profession but am interested in setting up Linux systems for home users and hence think learning shell scripting can become necessary.&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;a rel='nofollow' href='http://stackoverflow.com/questions/796319/strengths-of-shell-scripting-compared-to-python'&gt;Find the answer here&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9204548932714363053-5213856334203934925?l=need-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/O4wZTO6_0f9MeXHxaqJ98AYPSc8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/O4wZTO6_0f9MeXHxaqJ98AYPSc8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/O4wZTO6_0f9MeXHxaqJ98AYPSc8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/O4wZTO6_0f9MeXHxaqJ98AYPSc8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/NeedAProgrammer/~4/yG6BkTvFT-M" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://need-programmer.blogspot.com/feeds/5213856334203934925/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://need-programmer.blogspot.com/2011/02/strengths-of-shell-scripting-compared.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/5213856334203934925?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/5213856334203934925?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NeedAProgrammer/~3/yG6BkTvFT-M/strengths-of-shell-scripting-compared.html" title="Strengths of Shell Scripting compared to Python" /><author><name>The One</name><uri>http://www.blogger.com/profile/15913951498183670546</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://need-programmer.blogspot.com/2011/02/strengths-of-shell-scripting-compared.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU4BRXc6cCp7ImA9Wx9UFUk.&quot;"><id>tag:blogger.com,1999:blog-9204548932714363053.post-900073751647980168</id><published>2011-02-12T12:52:00.003-08:00</published><updated>2011-02-12T12:52:34.918-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-12T12:52:34.918-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><title>How do I add new buttons to an existing form?</title><content type="html">&lt;div&gt;&lt;h3&gt;Programmer Question&lt;/h3&gt; &lt;p&gt;Hi,&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;I want to add new buttons to an existing form.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;I want one button that, when clicked, saves the filled in values and reloads the same form.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;The second button should save the filled in values and redirect to another form.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;How do I add new buttons to the form and provide actions to take for each button?&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;a rel='nofollow' href='http://stackoverflow.com/questions/4978174/how-do-i-add-new-buttons-to-an-existing-form'&gt;Find the answer here&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9204548932714363053-900073751647980168?l=need-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/WgnYTSiDc31jwZRYSue73smATeU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WgnYTSiDc31jwZRYSue73smATeU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/WgnYTSiDc31jwZRYSue73smATeU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WgnYTSiDc31jwZRYSue73smATeU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/NeedAProgrammer/~4/YwDmetvX9i4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://need-programmer.blogspot.com/feeds/900073751647980168/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://need-programmer.blogspot.com/2011/02/how-do-i-add-new-buttons-to-existing.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/900073751647980168?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/900073751647980168?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NeedAProgrammer/~3/YwDmetvX9i4/how-do-i-add-new-buttons-to-existing.html" title="How do I add new buttons to an existing form?" /><author><name>The One</name><uri>http://www.blogger.com/profile/15913951498183670546</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://need-programmer.blogspot.com/2011/02/how-do-i-add-new-buttons-to-existing.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU4BQ3k_cSp7ImA9Wx9UFUk.&quot;"><id>tag:blogger.com,1999:blog-9204548932714363053.post-6018922030702166773</id><published>2011-02-12T12:52:00.001-08:00</published><updated>2011-02-12T12:52:32.749-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-12T12:52:32.749-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><title>Problem in showing progress bar while executing insert statement in android</title><content type="html">&lt;div&gt;&lt;h3&gt;Programmer Question&lt;/h3&gt; &lt;p&gt;Hi,&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Problem in showing progress bar while executing insert statement in android. While &lt;br /&gt;calling this try block its showing blank screen. Not even xml is called while executing this statement.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;try {&lt;br /&gt;    while ((str = in.readLine()) != null) {&lt;br /&gt;    try {                           &lt;br /&gt;         db.execSQL(str);                   &lt;br /&gt;    } catch (Exception e) {&lt;br /&gt;&lt;br /&gt;    }&lt;br /&gt;}   &lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Thanks,&lt;br /&gt;Yuvaraj&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;a rel='nofollow' href='http://stackoverflow.com/questions/4863916/problem-in-showing-progress-bar-while-executing-insert-statement-in-android'&gt;Find the answer here&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9204548932714363053-6018922030702166773?l=need-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/HLgtMxLmdGqDjgXgF3elIxC4lXg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HLgtMxLmdGqDjgXgF3elIxC4lXg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/HLgtMxLmdGqDjgXgF3elIxC4lXg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HLgtMxLmdGqDjgXgF3elIxC4lXg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/NeedAProgrammer/~4/jD4mVHwJH8k" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://need-programmer.blogspot.com/feeds/6018922030702166773/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://need-programmer.blogspot.com/2011/02/problem-in-showing-progress-bar-while.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/6018922030702166773?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/6018922030702166773?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NeedAProgrammer/~3/jD4mVHwJH8k/problem-in-showing-progress-bar-while.html" title="Problem in showing progress bar while executing insert statement in android" /><author><name>The One</name><uri>http://www.blogger.com/profile/15913951498183670546</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://need-programmer.blogspot.com/2011/02/problem-in-showing-progress-bar-while.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUEEQH04fyp7ImA9Wx9UFEg.&quot;"><id>tag:blogger.com,1999:blog-9204548932714363053.post-3164153148976749494</id><published>2011-02-11T12:53:00.001-08:00</published><updated>2011-02-11T12:53:21.337-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-11T12:53:21.337-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><title>WPF: How to select which Generic.xaml gets used?</title><content type="html">&lt;div&gt;&lt;h3&gt;Programmer Question&lt;/h3&gt; &lt;p&gt;So I'm using a class library called MyControls.dll in this I have set up a few themes: Generic.xaml (where my controls appear regular), GenericBlue.xaml (where my controls appear blue), etc.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;When I use this class library it picks Generic.xaml automatically. My question is can I somehow manually pick which GenericXXX.xaml to pick. I'd like some programs to appear a certain color, and some other programs to appear in another color, etc.&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;a rel='nofollow' href='http://stackoverflow.com/questions/4973888/wpf-how-to-select-which-generic-xaml-gets-used'&gt;Find the answer here&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9204548932714363053-3164153148976749494?l=need-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/9trQ0sRXXTBQxdU3qJdz3rNQTgY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9trQ0sRXXTBQxdU3qJdz3rNQTgY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/9trQ0sRXXTBQxdU3qJdz3rNQTgY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9trQ0sRXXTBQxdU3qJdz3rNQTgY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/NeedAProgrammer/~4/391Loft3Ziw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://need-programmer.blogspot.com/feeds/3164153148976749494/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://need-programmer.blogspot.com/2011/02/wpf-how-to-select-which-genericxaml.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/3164153148976749494?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/3164153148976749494?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NeedAProgrammer/~3/391Loft3Ziw/wpf-how-to-select-which-genericxaml.html" title="WPF: How to select which Generic.xaml gets used?" /><author><name>The One</name><uri>http://www.blogger.com/profile/15913951498183670546</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://need-programmer.blogspot.com/2011/02/wpf-how-to-select-which-genericxaml.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8FRH47cCp7ImA9Wx9UEkU.&quot;"><id>tag:blogger.com,1999:blog-9204548932714363053.post-9191507372600059516</id><published>2011-02-09T12:53:00.009-08:00</published><updated>2011-02-09T12:53:35.008-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-09T12:53:35.008-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><title>How to link jsoncpp?</title><content type="html">&lt;div&gt;&lt;h3&gt;Programmer Question&lt;/h3&gt; &lt;p&gt;How to link jsoncpp with a C++ program using g++? I tried "g++ -o program program.cpp -L/path/to/library/files -ljsoncpp", -ljson, -llibjsoncpp, but g++ keeps saying: "/usr/bin/ld: cannot find -lsomething"&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;a rel='nofollow' href='http://stackoverflow.com/questions/4950265/how-to-link-jsoncpp'&gt;Find the answer here&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9204548932714363053-9191507372600059516?l=need-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ACccnv7kaqlRLnVbcm-waPT-jNI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ACccnv7kaqlRLnVbcm-waPT-jNI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ACccnv7kaqlRLnVbcm-waPT-jNI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ACccnv7kaqlRLnVbcm-waPT-jNI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/NeedAProgrammer/~4/IABR5CVJKd0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://need-programmer.blogspot.com/feeds/9191507372600059516/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://need-programmer.blogspot.com/2011/02/how-to-link-jsoncpp.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/9191507372600059516?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/9191507372600059516?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NeedAProgrammer/~3/IABR5CVJKd0/how-to-link-jsoncpp.html" title="How to link jsoncpp?" /><author><name>The One</name><uri>http://www.blogger.com/profile/15913951498183670546</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://need-programmer.blogspot.com/2011/02/how-to-link-jsoncpp.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8FQn4-eSp7ImA9Wx9UEkU.&quot;"><id>tag:blogger.com,1999:blog-9204548932714363053.post-8758070479855184087</id><published>2011-02-09T12:53:00.007-08:00</published><updated>2011-02-09T12:53:33.051-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-09T12:53:33.051-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><title>Store value from SELECT statement into variable</title><content type="html">&lt;div&gt;&lt;h3&gt;Programmer Question&lt;/h3&gt; &lt;p&gt;How can i store the value from a SELECT MySQL statement into a PHP variable?&lt;br /&gt;for example:&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;$myvariable = SELECT * FROM X WHERE id = X&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;a rel='nofollow' href='http://stackoverflow.com/questions/4946469/store-value-from-select-statement-into-variable'&gt;Find the answer here&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9204548932714363053-8758070479855184087?l=need-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/jYeFXdesSwaU3pAwd2v4Uht3QeY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jYeFXdesSwaU3pAwd2v4Uht3QeY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/jYeFXdesSwaU3pAwd2v4Uht3QeY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jYeFXdesSwaU3pAwd2v4Uht3QeY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/NeedAProgrammer/~4/e-k-_ngWpVM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://need-programmer.blogspot.com/feeds/8758070479855184087/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://need-programmer.blogspot.com/2011/02/store-value-from-select-statement-into.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/8758070479855184087?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/8758070479855184087?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NeedAProgrammer/~3/e-k-_ngWpVM/store-value-from-select-statement-into.html" title="Store value from SELECT statement into variable" /><author><name>The One</name><uri>http://www.blogger.com/profile/15913951498183670546</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://need-programmer.blogspot.com/2011/02/store-value-from-select-statement-into.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8FQH06fyp7ImA9Wx9UEkU.&quot;"><id>tag:blogger.com,1999:blog-9204548932714363053.post-7183649811782260841</id><published>2011-02-09T12:53:00.005-08:00</published><updated>2011-02-09T12:53:31.317-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-09T12:53:31.317-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><title>USE MULTIPLE LEFT JOIN</title><content type="html">&lt;div&gt;&lt;h3&gt;Programmer Question&lt;/h3&gt; &lt;p&gt;Is it possible to use multiple left join in sql query?&lt;br /&gt;if not then whats the solution?&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;    LEFT JOIN&lt;br /&gt;        ab &lt;br /&gt;    ON&lt;br /&gt;        ab.sht = cd.sht&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;i want to add to atach one more query like this to it?&lt;br /&gt;will it work?&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;    LEFT JOIN&lt;br /&gt;        ab AND aa&lt;br /&gt;    ON&lt;br /&gt;        ab.sht = cd.sht&lt;br /&gt;           AND&lt;br /&gt;                    aa.sht = cc.sht&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Wil this work?&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;a rel='nofollow' href='http://stackoverflow.com/questions/4950296/use-multiple-left-join'&gt;Find the answer here&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9204548932714363053-7183649811782260841?l=need-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/U4mYIZnPljwMtHee87OOR1pRDLg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/U4mYIZnPljwMtHee87OOR1pRDLg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/U4mYIZnPljwMtHee87OOR1pRDLg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/U4mYIZnPljwMtHee87OOR1pRDLg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/NeedAProgrammer/~4/sR95YVNic60" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://need-programmer.blogspot.com/feeds/7183649811782260841/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://need-programmer.blogspot.com/2011/02/use-multiple-left-join.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/7183649811782260841?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/7183649811782260841?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NeedAProgrammer/~3/sR95YVNic60/use-multiple-left-join.html" title="USE MULTIPLE LEFT JOIN" /><author><name>The One</name><uri>http://www.blogger.com/profile/15913951498183670546</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://need-programmer.blogspot.com/2011/02/use-multiple-left-join.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8ESHo7eCp7ImA9Wx9UEkU.&quot;"><id>tag:blogger.com,1999:blog-9204548932714363053.post-1238339106618854750</id><published>2011-02-09T12:53:00.003-08:00</published><updated>2011-02-09T12:53:29.400-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-09T12:53:29.400-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="programming" /><title>What would be the best (runtime performance) application or pattern or code or library for matching string patterns</title><content type="html">&lt;div&gt;&lt;h3&gt;Programmer Question&lt;/h3&gt; &lt;p&gt;Hi,&lt;br/&gt;&lt;br /&gt;I have been trying to figure out a decent way of matching string patterns.  I will try my best to provide as much information as I can regarding what I am trying to do.  &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;The simplest thougt is that there are some specified patterns and we want to know whic of these patterns match completely or partially to a given request.  The specified patterns hardly change.  The amount of requests are about 10K per day but the results have to pe provided ASAP and thus runtime performance is the highest priority.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;I have been thinking of using Assembly Compiled Regular Expression in C# for this, but I am not sure if I am headed in the right direction. &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Scenario:&lt;br/&gt;&lt;br /&gt;Data File:&lt;br/&gt;&lt;br /&gt;  Let's assume that data is provided as an XML request in a known schema format.  It has anywehere between 5-20 rows of data.  Each row has 10-30 columns. Each of the columns also can only have data in a pre-defined pattern.  For example:  &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;A1- Will be "3 digits" followed by a&lt;br /&gt;"." follwed by "2 digits" -&lt;br /&gt;[0-9]{3}.[0-9]{2}   &lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;p&gt;A2- Will be "1&lt;br /&gt;character" follwoed by "digits" -&lt;br /&gt;[A-Z][0-9]{4}&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;The sample would be something like:&lt;/p&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;Data&gt;  &lt;br /&gt;  &lt;R1&gt;  &lt;br /&gt;    &lt;A1&gt;123.45&lt;/A1&gt;  &lt;br /&gt;    &lt;A2&gt;A5567&lt;/A2&gt;  &lt;br /&gt;    &lt;A4&gt;456EV&lt;/A4&gt;  &lt;br /&gt;    &lt;An&gt;xxx&lt;/An&gt;  &lt;br /&gt;  &lt;/R1&gt;&lt;br /&gt;&lt;/Data&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Rule File:  &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;Rule ID    A1                 A2       &lt;br /&gt;1001       [0-9]{3}.45        A55[0-8]{2}  &lt;br /&gt;2002       12[0-9].55         [X-Z][0-9]{4}   &lt;br /&gt;3055       [0-9]{3}.45        [X-Z][0-9]{4}&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Rule Location - I am planning to store the Rule IDs in some sort of bit mask.&lt;br/&gt;&lt;br /&gt;So the rule IDs are then listed as location on a string   &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;Rule ID     Location (from left to right)  &lt;br /&gt;1001            1   &lt;br /&gt;2002            2  &lt;br /&gt;3055            3&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Pattern file:  (This is not the final structure, but just a thought)  &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;Column   Pattern                Rule Location&lt;br /&gt;A1       [0-9]{3}.45            101&lt;br /&gt;A1       12[0-9].55             010 &lt;br /&gt;A2       A55[0-8]{2}            100&lt;br /&gt;A2       [X-Z][0-9]{4}          011&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Now let's assume that I run the &lt;strong&gt;SOMEHOW&lt;/strong&gt; (not sure how I am going to limit the search to save time) I run the regex and make sure that A1 column is only matched aginst A1 patterns and A2 column against A2 patterns. I would end up with the follwoing reults for "Rule Location"  &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;Column   Pattern                Rule Location&lt;br /&gt;A1       [0-9]{3}.45            101&lt;br /&gt;A2       A55[0-8]{2}            100&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;Doing AND on each of the loctions&lt;br /&gt;gives me the location 1 - 1001 -&lt;br /&gt;Complete match.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Doing XOR on each of the loctions&lt;br /&gt;gives me the location 3 - 3055 -&lt;br /&gt;Partial match.  (I am purposely not&lt;br /&gt;doing an OR, because that would have&lt;br /&gt;returned 1001 and 3055 as the result&lt;br /&gt;which would be wrong for partial&lt;br /&gt;match)&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;The final reulsts I am looking for are:&lt;br/&gt;&lt;br /&gt;1001 - Complete Match&lt;br/&gt;&lt;br /&gt;3055 - Partial Match  &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Input:&lt;br/&gt;&lt;br /&gt;The data will be provided in some sort of XML request.  It can be one big request with 100K Data nodes or 100K requests with one data node only.&lt;br/&gt;&lt;br /&gt;Rules:&lt;br/&gt;&lt;br /&gt;The matching values have to be intially saved as some sort of pattern to make it easier to write and edit.  Let's assume that there are approximately 100K rules.  &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Output:&lt;br/&gt;&lt;br /&gt;Need to know which rules matched completely and partially.  &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Preferences:&lt;br/&gt;&lt;br /&gt;I would prefer doing as much of the coding as I can in C#.  However if there is a major performnace boost, I can use a different language.  &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;The "Input" and "Output" are my requirements, how I manage to get the "Output" does not matter.  It has to be fast, lets say each Data node has to be processed in approximately 1 second.  &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Questions:  &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Are there any existing pattern or&lt;br /&gt;framewroks to do this?&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Is using Regex the right path&lt;br /&gt;specifically Assembly Compiled&lt;br /&gt;Regex?&lt;/li&gt;&lt;br /&gt;&lt;li&gt;If I end up using Regex how can I&lt;br /&gt;specify for A1 patterns to only&lt;br /&gt;match against A1 column?&lt;/li&gt;&lt;br /&gt;&lt;li&gt;If I do specify rule locations in a&lt;br /&gt;bit type pattern.  How do I process&lt;br /&gt;ANDs and XORs when it grows to be&lt;br /&gt;100K charcter long?&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;I am looking for any suggestions or options that I should consider.    &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Thanks..&lt;/p&gt;&lt;br/&gt;&lt;br/&gt;&lt;a rel='nofollow' href='http://stackoverflow.com/questions/4950310/what-would-be-the-best-runtime-performance-application-or-pattern-or-code-or-li'&gt;Find the answer here&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9204548932714363053-1238339106618854750?l=need-programmer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/e8nfoPaWK9wc5RDj04wvCpCNao4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/e8nfoPaWK9wc5RDj04wvCpCNao4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/e8nfoPaWK9wc5RDj04wvCpCNao4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/e8nfoPaWK9wc5RDj04wvCpCNao4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/NeedAProgrammer/~4/8DqQRRcwyng" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://need-programmer.blogspot.com/feeds/1238339106618854750/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://need-programmer.blogspot.com/2011/02/what-would-be-best-runtime-performance.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/1238339106618854750?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9204548932714363053/posts/default/1238339106618854750?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/NeedAProgrammer/~3/8DqQRRcwyng/what-would-be-best-runtime-performance.html" title="What would be the best (runtime performance) application or pattern or code or library for matching string patterns" /><author><name>The One</name><uri>http://www.blogger.com/profile/15913951498183670546</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://need-programmer.blogspot.com/2011/02/what-would-be-best-runtime-performance.html</feedburner:origLink></entry></feed>

