<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[Programming Logics FORUMS - All Forums]]></title>
		<link>http://www.programminglogics.com/</link>
		<description><![CDATA[Programming Logics FORUMS - http://www.programminglogics.com]]></description>
		<pubDate>Wed, 10 Mar 2010 10:01:52 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Benefits of using Flash components for web design]]></title>
			<link>http://www.programminglogics.com/showthread.php?tid=265</link>
			<pubDate>Thu, 04 Mar 2010 13:51:16 +0500</pubDate>
			<guid isPermaLink="false">http://www.programminglogics.com/showthread.php?tid=265</guid>
			<description><![CDATA[Flash web designs are used by most of the web designers, as they are visually appealing and create a better platform to present your matter. Flash is one of the user-friendly methods of online communication.  Flash designs are appreciated by many people due to its visual impact.  If used wisely, Flash designs deliver your concept in the most effective way, conveying the right message to the targeted clients.  Flash components have the ability to create an instant communication with the users, thereby conveying all the needed information about the aim of the site, the products and services offered. <br />
Flash is one of the powerful web communication tools available nowadays. Flash components include a variety of multimedia tools like animation, video and sound.  Thoughts and ideas which cannot be conveyed through texts can be easily expressed through pictures and online presentations. Thus Flash serves the purpose in a better way. <br />
Most of the people have a false concept that Flash websites cannot get a high ranking. But these websites using can be optimized using the primary keywords, to get a Google ranking.  The advancements in search engine algorithms help in getting good Google results. <br />
Flash websites have many more benefits, when compared to others. Read more about Flash websites from articles published by flash design Brisbane companies, to know more about the latest developments in flash design. You can do a web search using the keyword <a href="http://www.bacreative.com.au/" target="_blank">flash design brisbane</a> to get these articles.]]></description>
			<content:encoded><![CDATA[Flash web designs are used by most of the web designers, as they are visually appealing and create a better platform to present your matter. Flash is one of the user-friendly methods of online communication.  Flash designs are appreciated by many people due to its visual impact.  If used wisely, Flash designs deliver your concept in the most effective way, conveying the right message to the targeted clients.  Flash components have the ability to create an instant communication with the users, thereby conveying all the needed information about the aim of the site, the products and services offered. <br />
Flash is one of the powerful web communication tools available nowadays. Flash components include a variety of multimedia tools like animation, video and sound.  Thoughts and ideas which cannot be conveyed through texts can be easily expressed through pictures and online presentations. Thus Flash serves the purpose in a better way. <br />
Most of the people have a false concept that Flash websites cannot get a high ranking. But these websites using can be optimized using the primary keywords, to get a Google ranking.  The advancements in search engine algorithms help in getting good Google results. <br />
Flash websites have many more benefits, when compared to others. Read more about Flash websites from articles published by flash design Brisbane companies, to know more about the latest developments in flash design. You can do a web search using the keyword <a href="http://www.bacreative.com.au/" target="_blank">flash design brisbane</a> to get these articles.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Project]]></title>
			<link>http://www.programminglogics.com/showthread.php?tid=264</link>
			<pubDate>Tue, 02 Mar 2010 00:03:01 +0500</pubDate>
			<guid isPermaLink="false">http://www.programminglogics.com/showthread.php?tid=264</guid>
			<description><![CDATA[I have a project I am working on and I have a few problems with it, One of them is that one of the roll over buttons wont click, but the other ones do, I even copy pasted the script and changed the name, if anyone can help  me solve this, it would be very helpful, i have a few more problems, but I think this is the main issue]]></description>
			<content:encoded><![CDATA[I have a project I am working on and I have a few problems with it, One of them is that one of the roll over buttons wont click, but the other ones do, I even copy pasted the script and changed the name, if anyone can help  me solve this, it would be very helpful, i have a few more problems, but I think this is the main issue]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Difference between 9i and 10g!!!]]></title>
			<link>http://www.programminglogics.com/showthread.php?tid=263</link>
			<pubDate>Tue, 23 Feb 2010 10:26:49 +0500</pubDate>
			<guid isPermaLink="false">http://www.programminglogics.com/showthread.php?tid=263</guid>
			<description><![CDATA[I have been lurking around the site for sometime now and found the people here sharing some very useful information. <img src="http://www.programminglogics.com/images/smilies/wink.gif" style="vertical-align: middle;" border="0" alt="Wink" title="Wink" />  I am looking forward to come to terms with some new things here. <img src="http://www.programminglogics.com/images/smilies/biggrin.gif" style="vertical-align: middle;" border="0" alt="Big Grin" title="Big Grin" />  I just wanted to know the difference between the Oracle 9i and Oracle 10g. <img src="http://www.programminglogics.com/images/smilies/cool.gif" style="vertical-align: middle;" border="0" alt="Cool" title="Cool" /> <br />
I didn't find any difference except the installation procedure. <img src="http://www.programminglogics.com/images/smilies/undecided.gif" style="vertical-align: middle;" border="0" alt="Undecided" title="Undecided" />]]></description>
			<content:encoded><![CDATA[I have been lurking around the site for sometime now and found the people here sharing some very useful information. <img src="http://www.programminglogics.com/images/smilies/wink.gif" style="vertical-align: middle;" border="0" alt="Wink" title="Wink" />  I am looking forward to come to terms with some new things here. <img src="http://www.programminglogics.com/images/smilies/biggrin.gif" style="vertical-align: middle;" border="0" alt="Big Grin" title="Big Grin" />  I just wanted to know the difference between the Oracle 9i and Oracle 10g. <img src="http://www.programminglogics.com/images/smilies/cool.gif" style="vertical-align: middle;" border="0" alt="Cool" title="Cool" /> <br />
I didn't find any difference except the installation procedure. <img src="http://www.programminglogics.com/images/smilies/undecided.gif" style="vertical-align: middle;" border="0" alt="Undecided" title="Undecided" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[My Greeting to the Community!!!]]></title>
			<link>http://www.programminglogics.com/showthread.php?tid=262</link>
			<pubDate>Tue, 23 Feb 2010 10:14:30 +0500</pubDate>
			<guid isPermaLink="false">http://www.programminglogics.com/showthread.php?tid=262</guid>
			<description><![CDATA[Hello Everyone,<br />
My name is Addison.I came to know about this community through a friend of mine.  <img src="http://www.programminglogics.com/images/smilies/smile.gif" style="vertical-align: middle;" border="0" alt="Smile" title="Smile" /> When I heard of the community I thought it would be wonderful to expand to a new community, and interact with the people here. <img src="http://www.programminglogics.com/images/smilies/wink.gif" style="vertical-align: middle;" border="0" alt="Wink" title="Wink" />  I think that I can learn a lot from the programmers here. Looking forward to have a good time here.  <img src="http://www.programminglogics.com/images/smilies/cool.gif" style="vertical-align: middle;" border="0" alt="Cool" title="Cool" />]]></description>
			<content:encoded><![CDATA[Hello Everyone,<br />
My name is Addison.I came to know about this community through a friend of mine.  <img src="http://www.programminglogics.com/images/smilies/smile.gif" style="vertical-align: middle;" border="0" alt="Smile" title="Smile" /> When I heard of the community I thought it would be wonderful to expand to a new community, and interact with the people here. <img src="http://www.programminglogics.com/images/smilies/wink.gif" style="vertical-align: middle;" border="0" alt="Wink" title="Wink" />  I think that I can learn a lot from the programmers here. Looking forward to have a good time here.  <img src="http://www.programminglogics.com/images/smilies/cool.gif" style="vertical-align: middle;" border="0" alt="Cool" title="Cool" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[XML parsing overview]]></title>
			<link>http://www.programminglogics.com/showthread.php?tid=261</link>
			<pubDate>Sat, 20 Feb 2010 15:18:54 +0500</pubDate>
			<guid isPermaLink="false">http://www.programminglogics.com/showthread.php?tid=261</guid>
			<description><![CDATA[Two basic methods parse XML documents. One is the Document Object Model (DOM) method. When parsing an XML document with DOM, the parser reads the entire document and creates a tree-like representation of it. The second method uses SAX and parses XML documents with events. The DOM method, while sometimes easier to implement, is slower and more resource-intensive than SAX. Digester simplifies SAX parsing by providing a higher-level interface to SAX events. This interface hides much of the complexity involved in XML document navigation, allowing developers to concentrate on processing XML data instead of parsing it.]]></description>
			<content:encoded><![CDATA[Two basic methods parse XML documents. One is the Document Object Model (DOM) method. When parsing an XML document with DOM, the parser reads the entire document and creates a tree-like representation of it. The second method uses SAX and parses XML documents with events. The DOM method, while sometimes easier to implement, is slower and more resource-intensive than SAX. Digester simplifies SAX parsing by providing a higher-level interface to SAX events. This interface hides much of the complexity involved in XML document navigation, allowing developers to concentrate on processing XML data instead of parsing it.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[What are the different scope valiues for the <jsp:useBean>?]]></title>
			<link>http://www.programminglogics.com/showthread.php?tid=260</link>
			<pubDate>Sat, 20 Feb 2010 15:12:14 +0500</pubDate>
			<guid isPermaLink="false">http://www.programminglogics.com/showthread.php?tid=260</guid>
			<description><![CDATA[The different scope values for &lt;jsp:useBean&gt; are<br />
<br />
1. page<br />
2. request<br />
3.session<br />
4.application]]></description>
			<content:encoded><![CDATA[The different scope values for &lt;jsp:useBean&gt; are<br />
<br />
1. page<br />
2. request<br />
3.session<br />
4.application]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[What is a Declaration?]]></title>
			<link>http://www.programminglogics.com/showthread.php?tid=259</link>
			<pubDate>Sat, 20 Feb 2010 15:10:58 +0500</pubDate>
			<guid isPermaLink="false">http://www.programminglogics.com/showthread.php?tid=259</guid>
			<description><![CDATA[A declaration declares one or more variables or methods for use later in the JSP source file.<br />
A declaration must contain at least one complete declarative statement. You can declare any number of variables or methods within one declaration tag, as long as they are separated by semicolons. The declaration must be valid in the scripting language used in the JSP file.<br />
<br />
&lt;%! somedeclarations %&gt;<br />
&lt;%! int i = 0; %&gt;<br />
&lt;%! int a, b, c; %&gt;]]></description>
			<content:encoded><![CDATA[A declaration declares one or more variables or methods for use later in the JSP source file.<br />
A declaration must contain at least one complete declarative statement. You can declare any number of variables or methods within one declaration tag, as long as they are separated by semicolons. The declaration must be valid in the scripting language used in the JSP file.<br />
<br />
&lt;%! somedeclarations %&gt;<br />
&lt;%! int i = 0; %&gt;<br />
&lt;%! int a, b, c; %&gt;]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Best Antivirus]]></title>
			<link>http://www.programminglogics.com/showthread.php?tid=258</link>
			<pubDate>Fri, 19 Feb 2010 15:38:16 +0500</pubDate>
			<guid isPermaLink="false">http://www.programminglogics.com/showthread.php?tid=258</guid>
			<description><![CDATA[According to me  There are lots of Anti virus are available in market like Kasper sky, Quick heal, AVG,etc...Among them i would like one of the most is Quick Heal because  it will prevent web browser virus and detecting  system virus and also it will fired all virus.]]></description>
			<content:encoded><![CDATA[According to me  There are lots of Anti virus are available in market like Kasper sky, Quick heal, AVG,etc...Among them i would like one of the most is Quick Heal because  it will prevent web browser virus and detecting  system virus and also it will fired all virus.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Beast Browsers]]></title>
			<link>http://www.programminglogics.com/showthread.php?tid=257</link>
			<pubDate>Fri, 19 Feb 2010 15:37:08 +0500</pubDate>
			<guid isPermaLink="false">http://www.programminglogics.com/showthread.php?tid=257</guid>
			<description><![CDATA[I like Fire Fox then Internet explorer because it's very helpful in Internet access because it have well and good speed to uploading  any web pages.Compair other site it have good functionality and day by day update version are available in network.]]></description>
			<content:encoded><![CDATA[I like Fire Fox then Internet explorer because it's very helpful in Internet access because it have well and good speed to uploading  any web pages.Compair other site it have good functionality and day by day update version are available in network.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Positive feedback]]></title>
			<link>http://www.programminglogics.com/showthread.php?tid=256</link>
			<pubDate>Thu, 11 Feb 2010 09:35:47 +0500</pubDate>
			<guid isPermaLink="false">http://www.programminglogics.com/showthread.php?tid=256</guid>
			<description><![CDATA[Features- Quality Hosting,High Storage, High Bandwidth, Fast Service, and Good Community.<br />
Price- A Few Posts on a Forum.<br />
Though that was impossible until i came here.<br />
I must say I am really pleased to see such site which sharing good knowledge.<br />
Keep the site as it is because it is simply the best.]]></description>
			<content:encoded><![CDATA[Features- Quality Hosting,High Storage, High Bandwidth, Fast Service, and Good Community.<br />
Price- A Few Posts on a Forum.<br />
Though that was impossible until i came here.<br />
I must say I am really pleased to see such site which sharing good knowledge.<br />
Keep the site as it is because it is simply the best.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[-> Program help <-]]></title>
			<link>http://www.programminglogics.com/showthread.php?tid=255</link>
			<pubDate>Wed, 10 Feb 2010 23:45:03 +0500</pubDate>
			<guid isPermaLink="false">http://www.programminglogics.com/showthread.php?tid=255</guid>
			<description><![CDATA[hey guys, I was wondering if there was a program out there where suppose there is a company, and they want to put organize their products with pictures and prices, so they can put in their image, price and item name into the program and feed clients names, for example suppose a customer is registered with the company, they order item "xx" now since the custommer is registered, they can just click on the custommers name and the item number, and it prints out the order, if you dont understand I can explain in more details, but if there is a program out there please let me know <img src="http://www.programminglogics.com/images/smilies/biggrin.gif" style="vertical-align: middle;" border="0" alt="Big Grin" title="Big Grin" /> thx<br />
<br />
Safeer]]></description>
			<content:encoded><![CDATA[hey guys, I was wondering if there was a program out there where suppose there is a company, and they want to put organize their products with pictures and prices, so they can put in their image, price and item name into the program and feed clients names, for example suppose a customer is registered with the company, they order item "xx" now since the custommer is registered, they can just click on the custommers name and the item number, and it prints out the order, if you dont understand I can explain in more details, but if there is a program out there please let me know <img src="http://www.programminglogics.com/images/smilies/biggrin.gif" style="vertical-align: middle;" border="0" alt="Big Grin" title="Big Grin" /> thx<br />
<br />
Safeer]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[A small issue with my java program...?]]></title>
			<link>http://www.programminglogics.com/showthread.php?tid=254</link>
			<pubDate>Wed, 10 Feb 2010 16:01:40 +0500</pubDate>
			<guid isPermaLink="false">http://www.programminglogics.com/showthread.php?tid=254</guid>
			<description><![CDATA[I know this program isn't cleaned up or anything, but I want to get the probabilities to work first...<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>import TerminalIO.KeyboardReader;<br />
class carnivalGame {<br />
<br />
public static void main(String args[&#93;) {<br />
KeyboardReader reader = new KeyboardReader();<br />
double num, probN, prob5, prob8, prob10;<br />
int modNum, modNum2, modNum3, modNum4, i, total = 0, total2 = 0, total3 = 0, total4 = 0;<br />
num = Math.random();<br />
for (i = 1; i&lt;10001; i++) {<br />
modNum = (int) (100*Math.random() + 1);<br />
if (modNum &lt;= 86){ total = total + 1;<br />
System.out.println(modNum + " You win nothing.");}<br />
<br />
if (modNum &gt;= 87 &amp;&amp; modNum &lt;= 97){ total2 = total2 + 1;<br />
System.out.println(modNum + " You win &#36;5!");}<br />
<br />
if (modNum == 98 || modNum == 99){ total3 = total3 + 1;<br />
System.out.println(modNum + " You win &#36;8!");}<br />
<br />
if (modNum == 100){ total4 = total4 + 1;<br />
System.out.println(modNum + " You win &#36;10!");}<br />
<br />
<br />
}<br />
System.out.println();<br />
System.out.println();<br />
System.out.println("Out of the 10,000 trials, nothing was won " + total + " times.");<br />
System.out.println();<br />
System.out.println("Out of the 10,000 trials, &#36;5 was won " + total2 + " times.");<br />
System.out.println();<br />
System.out.println("Out of the 10,000 trials, &#36;8 was won " + total3 + " times.");<br />
System.out.println();<br />
System.out.println("Out of the 10,000 trials, &#36;10 was won " + total4 + " times.");<br />
System.out.println();<br />
<br />
probN = total / 10000;<br />
prob5 = total2/10000;<br />
prob8 = total3/10000;<br />
prob10 = total4/10000;<br />
<br />
System.out.println();<br />
System.out.println();<br />
System.out.println("According to the 10,000 trials, the probability of winning nothing is " + probN);<br />
System.out.println();<br />
System.out.println("According to the 10,000 trials, the probability of winning &#36;5 is " + prob5);<br />
System.out.println();<br />
System.out.println("According to the 10,000 trials, the probability of winning &#36;8 is " + prob8);<br />
System.out.println();<br />
System.out.println("According to the 10,000 trials, the probability of winning &#36;10 is " + prob10);<br />
System.out.println();<br />
<br />
}<br />
}</code></div></div>
]]></description>
			<content:encoded><![CDATA[I know this program isn't cleaned up or anything, but I want to get the probabilities to work first...<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>import TerminalIO.KeyboardReader;<br />
class carnivalGame {<br />
<br />
public static void main(String args[]) {<br />
KeyboardReader reader = new KeyboardReader();<br />
double num, probN, prob5, prob8, prob10;<br />
int modNum, modNum2, modNum3, modNum4, i, total = 0, total2 = 0, total3 = 0, total4 = 0;<br />
num = Math.random();<br />
for (i = 1; i&lt;10001; i++) {<br />
modNum = (int) (100*Math.random() + 1);<br />
if (modNum &lt;= 86){ total = total + 1;<br />
System.out.println(modNum + " You win nothing.");}<br />
<br />
if (modNum &gt;= 87 &amp;&amp; modNum &lt;= 97){ total2 = total2 + 1;<br />
System.out.println(modNum + " You win &#36;5!");}<br />
<br />
if (modNum == 98 || modNum == 99){ total3 = total3 + 1;<br />
System.out.println(modNum + " You win &#36;8!");}<br />
<br />
if (modNum == 100){ total4 = total4 + 1;<br />
System.out.println(modNum + " You win &#36;10!");}<br />
<br />
<br />
}<br />
System.out.println();<br />
System.out.println();<br />
System.out.println("Out of the 10,000 trials, nothing was won " + total + " times.");<br />
System.out.println();<br />
System.out.println("Out of the 10,000 trials, &#36;5 was won " + total2 + " times.");<br />
System.out.println();<br />
System.out.println("Out of the 10,000 trials, &#36;8 was won " + total3 + " times.");<br />
System.out.println();<br />
System.out.println("Out of the 10,000 trials, &#36;10 was won " + total4 + " times.");<br />
System.out.println();<br />
<br />
probN = total / 10000;<br />
prob5 = total2/10000;<br />
prob8 = total3/10000;<br />
prob10 = total4/10000;<br />
<br />
System.out.println();<br />
System.out.println();<br />
System.out.println("According to the 10,000 trials, the probability of winning nothing is " + probN);<br />
System.out.println();<br />
System.out.println("According to the 10,000 trials, the probability of winning &#36;5 is " + prob5);<br />
System.out.println();<br />
System.out.println("According to the 10,000 trials, the probability of winning &#36;8 is " + prob8);<br />
System.out.println();<br />
System.out.println("According to the 10,000 trials, the probability of winning &#36;10 is " + prob10);<br />
System.out.println();<br />
<br />
}<br />
}</code></div></div>
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to send an attachment in gmail mobile application>?]]></title>
			<link>http://www.programminglogics.com/showthread.php?tid=253</link>
			<pubDate>Wed, 10 Feb 2010 10:19:28 +0500</pubDate>
			<guid isPermaLink="false">http://www.programminglogics.com/showthread.php?tid=253</guid>
			<description><![CDATA[How to send an attachment through the gmail mobile application?<br />
<br />
Or is there any other way to send the attachment through the mobile?]]></description>
			<content:encoded><![CDATA[How to send an attachment through the gmail mobile application?<br />
<br />
Or is there any other way to send the attachment through the mobile?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Where i can get the code for implementing apllication using the java rmi?]]></title>
			<link>http://www.programminglogics.com/showthread.php?tid=252</link>
			<pubDate>Wed, 10 Feb 2010 10:16:20 +0500</pubDate>
			<guid isPermaLink="false">http://www.programminglogics.com/showthread.php?tid=252</guid>
			<description><![CDATA[please help me i want to used the build application using java rmi.please help me for this.from where i can get this.<br />
<br />
even i want the java based xml processing programing code.]]></description>
			<content:encoded><![CDATA[please help me i want to used the build application using java rmi.please help me for this.from where i can get this.<br />
<br />
even i want the java based xml processing programing code.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Why does MySQLkeep inserting data in random places and how can I fix this?]]></title>
			<link>http://www.programminglogics.com/showthread.php?tid=251</link>
			<pubDate>Wed, 10 Feb 2010 09:41:38 +0500</pubDate>
			<guid isPermaLink="false">http://www.programminglogics.com/showthread.php?tid=251</guid>
			<description><![CDATA[I am using MySQL 5.0.51a with php 5.2.5<br />
<br />
I am using the insert command to enter data.<br />
<br />
It keeps inserting data in random locations in the table, which is messing up my web app.<br />
<br />
It did use an id column at one time.<br />
<br />
I've tried flushing the table, and remaking the table with phpmyadmin's sql dump.<br />
<br />
How can I fix this? I just want MySQL to insert data at the end of the table, like it should.]]></description>
			<content:encoded><![CDATA[I am using MySQL 5.0.51a with php 5.2.5<br />
<br />
I am using the insert command to enter data.<br />
<br />
It keeps inserting data in random locations in the table, which is messing up my web app.<br />
<br />
It did use an id column at one time.<br />
<br />
I've tried flushing the table, and remaking the table with phpmyadmin's sql dump.<br />
<br />
How can I fix this? I just want MySQL to insert data at the end of the table, like it should.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Bridge Design Optimizer]]></title>
			<link>http://www.programminglogics.com/showthread.php?tid=250</link>
			<pubDate>Wed, 10 Feb 2010 09:00:08 +0500</pubDate>
			<guid isPermaLink="false">http://www.programminglogics.com/showthread.php?tid=250</guid>
			<description><![CDATA[So here's a little background.<br />
I'm making a program that optimizes the cost of a bridge in a bridge designing program, given the length, the compression it has to support, and the tension it has to support.<br />
Each bar in the bridge (truss bridge design) has two variables you can edit (for the purposes of this program): size (x mm by x mm) and material.<br />
<br />
With each size, each material gets stronger, but the strongest of the size before is weaker than the weakest of the current size. Ex: 120x120 M3 is weaker than 130x130 M1 (M3 being the strongest, M1 being weakest).<br />
<br />
There are 32 somewhat arbitrary sizes which I already put into my program, and three materials that have been also.<br />
I have also input the 96 values for each of the costs for each cross section of material (all combinations) possible.<br />
<br />
What I have done so far:<br />
My program will take in any number of members, given their length, compression force, and tensile force, and optimize them individually--that is, make each bar the lowest it can be. I have thoroughly tested this part of the program, and it is very successful. It will correctly output the type of material and size needed to minimize individual costs.<br />
<br />
How it works:<br />
I have a main class and a Member class. The Member class holds basic information:<br />
-The size "number" (the sizes are held in an array in the main class, and the Members just hold the index)<br />
-The needed compression strength<br />
-The needed tensile strength<br />
-The length<br />
-The current material<br />
<br />
The main class iterates through each member (all are stored in one array) with a basic for loop. Inside this loop, there is a while statement that checks if the bar will hold. If not, it makes it the next biggest material, or the next size and the weakest material.<br />
<br />
I am very confident that this part of the program works.<br />
<br />
What I need to do:<br />
Optimize lowest cost. Now, it sounds like my program already does it, but here's the catch: each unique kind of bar (120x120 M1 and 120x120 M2 are different) costs an extra &#36;1000. What I was originally going to do was to have the program iterate through every single possibility and calculate the cost, giving the lowest cost and the corresponding members. I soon realized that with an average of about 25 members, this would be (32 x 3)^25 possibilities, which would take years to compute. I have never really worked with a program that needs such a high efficiency as this one.<br />
<br />
In addition, 25 "for" loops nested within each other wouldn't be practical, as the number of members can vary greatly.<br />
<br />
So, I'm not asking for help in the form of code. I need someone to help me create an algorithm that would be able to test only a few reasonable possibilities, in addition to making a program that can work for a varying number of members. Don't worry about the specifics, I only need the concepts, as I have much experience coding. I guess I'm just having trouble solving this problem.<br />
<br />
Thanks for your time! (even if you're not going to answer, you still read a lot of my rambling <img src="http://www.programminglogics.com/images/smilies/tongue.gif" style="vertical-align: middle;" border="0" alt="Tongue" title="Tongue" />)<br />
<br />
P.S.--Putting filters of "has to be higher than the lowest and lower than the highest" don't work, as this still leaves you with 25 nested "for" loops and a long, long time to wait.]]></description>
			<content:encoded><![CDATA[So here's a little background.<br />
I'm making a program that optimizes the cost of a bridge in a bridge designing program, given the length, the compression it has to support, and the tension it has to support.<br />
Each bar in the bridge (truss bridge design) has two variables you can edit (for the purposes of this program): size (x mm by x mm) and material.<br />
<br />
With each size, each material gets stronger, but the strongest of the size before is weaker than the weakest of the current size. Ex: 120x120 M3 is weaker than 130x130 M1 (M3 being the strongest, M1 being weakest).<br />
<br />
There are 32 somewhat arbitrary sizes which I already put into my program, and three materials that have been also.<br />
I have also input the 96 values for each of the costs for each cross section of material (all combinations) possible.<br />
<br />
What I have done so far:<br />
My program will take in any number of members, given their length, compression force, and tensile force, and optimize them individually--that is, make each bar the lowest it can be. I have thoroughly tested this part of the program, and it is very successful. It will correctly output the type of material and size needed to minimize individual costs.<br />
<br />
How it works:<br />
I have a main class and a Member class. The Member class holds basic information:<br />
-The size "number" (the sizes are held in an array in the main class, and the Members just hold the index)<br />
-The needed compression strength<br />
-The needed tensile strength<br />
-The length<br />
-The current material<br />
<br />
The main class iterates through each member (all are stored in one array) with a basic for loop. Inside this loop, there is a while statement that checks if the bar will hold. If not, it makes it the next biggest material, or the next size and the weakest material.<br />
<br />
I am very confident that this part of the program works.<br />
<br />
What I need to do:<br />
Optimize lowest cost. Now, it sounds like my program already does it, but here's the catch: each unique kind of bar (120x120 M1 and 120x120 M2 are different) costs an extra &#36;1000. What I was originally going to do was to have the program iterate through every single possibility and calculate the cost, giving the lowest cost and the corresponding members. I soon realized that with an average of about 25 members, this would be (32 x 3)^25 possibilities, which would take years to compute. I have never really worked with a program that needs such a high efficiency as this one.<br />
<br />
In addition, 25 "for" loops nested within each other wouldn't be practical, as the number of members can vary greatly.<br />
<br />
So, I'm not asking for help in the form of code. I need someone to help me create an algorithm that would be able to test only a few reasonable possibilities, in addition to making a program that can work for a varying number of members. Don't worry about the specifics, I only need the concepts, as I have much experience coding. I guess I'm just having trouble solving this problem.<br />
<br />
Thanks for your time! (even if you're not going to answer, you still read a lot of my rambling <img src="http://www.programminglogics.com/images/smilies/tongue.gif" style="vertical-align: middle;" border="0" alt="Tongue" title="Tongue" />)<br />
<br />
P.S.--Putting filters of "has to be higher than the lowest and lower than the highest" don't work, as this still leaves you with 25 nested "for" loops and a long, long time to wait.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[PHP FTP Introduction]]></title>
			<link>http://www.programminglogics.com/showthread.php?tid=249</link>
			<pubDate>Tue, 09 Feb 2010 09:47:11 +0500</pubDate>
			<guid isPermaLink="false">http://www.programminglogics.com/showthread.php?tid=249</guid>
			<description><![CDATA[The FTP functions give client access to file servers through the File Transfer Protocol (FTP).<br />
The FTP functions are used to open, login and close connections, as well as upload, download, rename, delete, and get information on files from file servers. Not all of the FTP functions will work with every server or return the same results. The FTP functions became available with PHP 3.<br />
These functions are meant for detailed access to an FTP server. If you only wish to read from or write to a file on an FTP server, consider using the ftp:// wrapper with the Filesystem functions.]]></description>
			<content:encoded><![CDATA[The FTP functions give client access to file servers through the File Transfer Protocol (FTP).<br />
The FTP functions are used to open, login and close connections, as well as upload, download, rename, delete, and get information on files from file servers. Not all of the FTP functions will work with every server or return the same results. The FTP functions became available with PHP 3.<br />
These functions are meant for detailed access to an FTP server. If you only wish to read from or write to a file on an FTP server, consider using the ftp:// wrapper with the Filesystem functions.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[What is JavaScript?]]></title>
			<link>http://www.programminglogics.com/showthread.php?tid=248</link>
			<pubDate>Tue, 09 Feb 2010 09:45:50 +0500</pubDate>
			<guid isPermaLink="false">http://www.programminglogics.com/showthread.php?tid=248</guid>
			<description><![CDATA[Javascript is an easy-to-use programming language that can be embedded in the header of your web pages. It can enhance the dynamics and interactive features of your page by allowing you to perform calculations, check forms, write interactive games, add special effects, customize graphics selections, create security passwords and more.]]></description>
			<content:encoded><![CDATA[Javascript is an easy-to-use programming language that can be embedded in the header of your web pages. It can enhance the dynamics and interactive features of your page by allowing you to perform calculations, check forms, write interactive games, add special effects, customize graphics selections, create security passwords and more.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How do I prevent the output of my JSP or Servlet pages from being cached by the brows]]></title>
			<link>http://www.programminglogics.com/showthread.php?tid=247</link>
			<pubDate>Tue, 09 Feb 2010 09:43:30 +0500</pubDate>
			<guid isPermaLink="false">http://www.programminglogics.com/showthread.php?tid=247</guid>
			<description><![CDATA[You will need to set the appropriate HTTP header attributes to prevent the dynamic content output by the JSP page from being cached by the browser. Just execute the following scriptlet at the beginning of your JSP pages to prevent them from being cached at the browser. You need both the statements to take care of some of the older browser versions.<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;%<br />
response.setHeader("Cache-Control","no-store"); //HTTP 1.1<br />
response.setHeader("Pragma&#92;","no-cache"); //HTTP 1.0<br />
response.setDateHeader ("Expires", 0); //prevents caching at the proxy server<br />
%&gt;</code></div></div>
]]></description>
			<content:encoded><![CDATA[You will need to set the appropriate HTTP header attributes to prevent the dynamic content output by the JSP page from being cached by the browser. Just execute the following scriptlet at the beginning of your JSP pages to prevent them from being cached at the browser. You need both the statements to take care of some of the older browser versions.<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&lt;%<br />
response.setHeader("Cache-Control","no-store"); //HTTP 1.1<br />
response.setHeader("Pragma&#92;","no-cache"); //HTTP 1.0<br />
response.setDateHeader ("Expires", 0); //prevents caching at the proxy server<br />
%&gt;</code></div></div>
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Elliminating repeating characters in a string??]]></title>
			<link>http://www.programminglogics.com/showthread.php?tid=246</link>
			<pubDate>Tue, 09 Feb 2010 09:28:01 +0500</pubDate>
			<guid isPermaLink="false">http://www.programminglogics.com/showthread.php?tid=246</guid>
			<description><![CDATA[How to eliminate the repeating characters in a string...<br />
<br />
Say that ,<br />
&#36;str="12135142513";<br />
<br />
I need the output only as.<br />
12345<br />
<br />
Very urgent.<br />
Thanks in advance]]></description>
			<content:encoded><![CDATA[How to eliminate the repeating characters in a string...<br />
<br />
Say that ,<br />
&#36;str="12135142513";<br />
<br />
I need the output only as.<br />
12345<br />
<br />
Very urgent.<br />
Thanks in advance]]></content:encoded>
		</item>
	</channel>
</rss>