Video: Quantum Computation simulations using Mathematica and Free Quantum Computing Add On

This calculations are available at:   http://homepage.cem.itesm.mx/lgomez/quantum/v7phase.pdf Shor's Factoring Algorithm is very important because it showed that a Quantum Computer will be more efficient than a normal computer when solving some important, practical problems (Factorization is important in the secure transmision of electronic data, like credit card numbers). This video shows briefly how Shor's algorithm can be simulated in Mathematica using the free Quantum add-on. Quantum is available at:  http://homepage.cem.itesm.mx/lgomez/quantum/ More  videos on related topics from the same author

Java – Set the Size of a FrameView programmatically

This code snip creates a jFrame object and sets it to maximum dimensions before setting the startup frame equal to it.  I tried the direct one liner method but this did not work.  It thwarted me time after time.   </p> <p> super(app);<br /> JFrame frame = new JFrame();<br /> frame.pack();<br /> frame.setExtendedState(JFrame.MAXIMIZED_BOTH);<br /> frame.setResizable(false);<br /> this.setFrame(frame);<br /> initComponents(); </p> <p>

Java POI Poorly Obfuscated Interface Project to Load a SpreadSheet with Data

 Issue Resolution Set the Size of a FrameView programmatically – When your Netbeans Single Frame Application project comes up with the wrong size and does not respond to setting the size of the various form objects   Demo Netbeans Projects Text Area with File Save and Load Populate an Excel xlsx xls spread sheet with Apache POI Library Java Multi Event Listener – eavesdrop on other components events Full NetBeans SerTerm Project Original Flavor General Information Links Trail: Creating a GUI With JFC/Swing: Table of Contents Google Search: java multi frame application How to create Multiple Frames using Java Swing Java Read more…

WordPress PlugIn: Syntax HighLighter hilites your code snips

The original creators page is here. <pre class="brush: php; highlight: [5, 15]; html-script: true"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>SyntaxHighlighter Demo Page – <?= htmlspecialchars(stringWithUrl = "http://alexgorbatchev.com"; buf) { global portal_gzcompress; global HTTP_ACCEPT_ENCODING; // cleaning out the code. if(portal_gzcompress) { buf); buf); buf); } } ?> <!– Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in Read more…

Video: All Watched Over by Machines of Loving Grace

An interesting documentary.  It is chock full of liberal bug a boos!  That part is funny.   Wikipedia entry.   Stiglitz is always an idiot Why are all the anti capitalist / pro government documentaries narrated by Michael Palin? It is deceptive to say the video is about "the rise of the machines" – its not.  Its about humans and the way they use their tools why do liberals always resist the idea of self emergent properties? So let me understand this more. This is all a conservative conspiracy that we can use mathematical models to predict nature. That of course brings Read more…

Video: The Black and Scholes Equation for pricing Stock Options – Attack of the Quants Revenge of the Traders – The story of Long Term Capital Management

  An important lesson that I have learned from secondary sources can be synthesized with the lessons of the history portrayed in this video.  Once a trading pattern is discovered by and used by others its effectiveness goes away.    An example of this would be if the market always went down in the morning and up in the afternoon.  Soon traders would run contrary to this causing a feedback effect that causes the pattern to disappear. I know a person who writes software for making trades.  He is very secretive for a reason.  That reason is my first bullet point! If Read more…