ข้ามไปที่เนื้อหาหลัก

บทความ

กำลังแสดงโพสต์ที่มีป้ายกำกับ program

โปรแกรม วิธี ศึกษา วิชา คณิตศาสตร์ แบบสนุกๆ

ได้ลองเล่น โปรแกรม ทาง การศึกษา ฟรีๆ บน iPhone 2 ตัว มาได้สักพัก เห็นว่า น่าสนใจดี เลยเอามา แนะนำ ต่อ ตามนี้ 1. Formulas Free เป็นการรวมสูตร เลข ไว้บน มือถือ ( คล้ายๆ หนังสือสรุปสูตร สอบเอ็นทรานซ์ ENT' เล่มเล็กๆ ที่ขายกัน ) มีตั้งแต่ Algebra ง่ายๆ อย่างเช่น พวก สูตรพื้นที่วงกลม, ค่าสัมบูรณ์, logarithm, Matrix, จนไปถึง สูตร diff, integrate, การแก้สมการ diff equation order 1, order 2 หรือแม้กระทั่ง Laplace transform 2. Quick Graph โปรแกรม plot กราฟ สุดเจ๋ง ใส่สมการลงไปก็ plot ได้เลย มี interface สวยงาม plot 3 มิติ เป็น surface ได้ด้วยนะ เจ๋งจริงๆ QuickGraph ถ้าอยู่บน PC ก็ใช้เป็น gnuplot plot ได้เยอะแยะมากมายเหมือนกัน ส่วนเจ้าตัว Formula Free ที่เห็นรวมๆ อยู่บนเวปไม่เห็นจะมี wiki ก็น้ำเยอะ แต่ก็เป็นทางออกที่ดีระดับนึง วันนี้คุ้ยๆ มา เลยไปเจอ mathworld.wolfram เห็นท่าจะดีสุดในตอนที่เขียนนี้ แต่มัน search ตรงๆ ไม่ได้ มีทริกนิดหน่อย เช่น จะหาสมบัติการคูณ Matrix หาคำว่า Matrix จะไม่เจอ ต้อง search ว่า ' Matrix Multiplication ' ( ซึ่งวิธี search แบบนี้เอาไปใช้ กับ wiki ได้ด้วย...

[ python ] how to install python eggs

ไปเอาชื่อ package name จาก cheese shop แล้ว ทำตามนี้ $sudo apt-get install python-setuptools $ sudo easy_install packagename เสร็จแล้ว มันจะไปอยู่ที่ sys.path ( เช่น /usr/lib/python2.5/site-packages/.. ) วิธีดู path ทำดังนี้ >>> import sys >>> sys.path More info : easy install

[ Printer ] how to print on both sides of paper

[ ServiceMix ] BPEL Tutorial

1. Download servicemix-example-3.zip from here or 2. Put ant-contrib.jar, bcel.jar, and jibx-*.jar in ESB/libraries/. 3. Download apache-ode-jbi-1.2.zip from here , unpack in ESB/, and copy apache-ode-jbi-1.2/ode-jbi-1.2.zip to apache-servicemix-3.3/hotdeploy/. 4. Make a new Eclipse project osesb-example3 Add external JARs: From /ESP/apache-servicemix-3.3/lib, add - log4j-1.2.13.jar - org.apache.servicemix.specs. jbi-api -1.0-1.1.0.jar - servicemix-core-3.3.jar - servicemix-utils-1.0.0.jar - geronimo-jms - activemq-core From libraries/, add 3 files, - bcel.jar and jibx-*.jar From /eclipse/plugins/org.junit4, add junit.jar. 5. Copy src/ and resources/ from the tutorial archive to the project workspace. 6. Use Eclipse to create a new source folder called src-test/ then copy src-test/ from the tutorial archive to the project workspace. 7. delete 'default="start"' in example3-build.xml 8. see ... ScubaDivingProcess.wsdl ScubaDivingProcess.bpel 9. Run the Ant target deplo...

[ ServiceMix ] SOAP provider example

example files exists here or ServiceMix can act as a SOAP server/provider of Chamber of Commerce. Client --- SOAP -------> Server --- XML --> Server Stub unmarshal ( same interface as biz logic ) -----> Biz Logic Implementation ( Simple JavaCode ) Client message <findCompanies> <city>city name</city> <streetName>street name</streetName> </findCompanies> XMLSchema of message <xsd:element name="findCompanies"> <xsd:complexType> <xsd:sequence> <xsd:element name="city" type="xsd:string" /> <xsd:element name="streetName" type="xsd:string" /> </xsd:sequence> </xsd:complexType> </xsd:element> resources/cfx/wsdl/CoC.wsdl <?xml version="1.0" encoding="UTF-8" standalone="no"?> <wsdl:definitions xmlns:osesb="http://opensource.esb.org/CoC/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:w...

[ FoxiReader ] How to correctly order multiple page printing ?

In Foxi Reader, it is very simple to order multiple page. Foxi Reader is small, fast, and has a easy to use bulid-in feature. No more fineprint plugin for me. See picture,

Trying SyntaxHighlighter -- javascript syntax highlight source code

You can d/l SyntaxHighlighter from here   หน้าใหม่ . To use it, include javascript in your page i.e. <!-- Start SyntaxHighlighter --> <link href='http://dsin.appspot.com/static/css/SyntaxHighlighter/SyntaxHighlighter.css' rel='stylesheet' type='text/css'/> <script class='javascript' src='http://dsin.appspot.com/static/js/SyntaxHighlighter/shCore.js'></script> <script class='javascript' src='http://dsin.appspot.com/static/js/SyntaxHighlighter/shBrushCSharp.js'></script> <script class='javascript' src='http://dsin.appspot.com/static/js/SyntaxHighlighter/shBrushPhp.js'></script> <script class='javascript' src='http://dsin.appspot.com/static/js/SyntaxHighlighter/shBrushJScript.js'></script> <script class='javascript' src='http://dsin.appspot.com/static/js/SyntaxHighlighter/shBrushJava.js'></script> <script cl...

[ Notepad++ ] diff plugin

จริงๆ มันชื่อ compare plugin อ่ะนะ หน้าหลักของ notepad++ บอกว่า A very useful diff plugin to show the difference between 2 files (side by side). ถ้า notepad++ เวอร์ชั่นใหม่ ไม่ต้องลง มันอยู่ใน Plugins > Compare > Compare อยู่แล้ว ถ้าเวอร์ชั่นเก่า ดาวน์โหลดได้ ที่นี่ สะดวกมากๆเลย เวลา ต้อง compare เอกสารที่บรรทัดเยอะๆ

[ ServiceMix ] File, JMS, Bean Tutorial

ServiceMix Tutorial SM-File, SM-JMS, SM-Bean -------------------------------------------------------------------------------------------------------- File --> JMS Msg CH --> B ean:SimpleTransformBean.java --> JMS Msg CH --> File in other place Installation 1. download apache-servicemix-3.3.tar.gz , extract into ESB/ 2. download servicemix-example-1.zip or you can get it from here 3. Create a directory ESB/libraries , place the JAR files ant-contrib.jar , bcel.jar , jibx-bind.jar , and jibx-run.jar , in that directory. - JiBX is a library for Java objects --> XML, XML --> Java objects We use JiBX to transform Java Obj. to XML to send to NMR. ( NMR only accept XML ) - Spring component framework implementations MVC, DAO, and other important patterns. We use it for configuring POJOs (SM-Beans) using Dependency Injection (plug sys. capabilities into biz logic component) . Basic lv. of dependency, C program making sys call. Your program depends on OS. POSIX -- make it in...

[ Eclipse ] run configurations arguments

Run > Run Configurations.. In this example, args[0] = books.xml see other eclipse topic .

[ notepad++ ] how to replace tab with space

Settings > Preferences... You can replace the existing one with ... ref : acdcjunior

IBM Websphere : Biz Process Model (BPM)

Using : IBM Rational Software Architect 7.0 Model Driven Development Static analysis Who is involve, resource to use, tools as-is, to-be system - cost for each activity - avg. time for each activity Dynamic analysis No. of student/staff Which activities take most cost/time Estimate cost, duration - avg. time/cost for entire process, resource using upon the time, depend on alternative flow. - most time/cost to complete HW due monday ( 1 report / person ) - explain your model, setup simulation - analyze result, with recommendations The example from ( Patterns: SOA Foundation-Business Process Management Scenario ) is trying to model as-is Car Rental System. 1. File > New Business Modeling Process 2. New > Biz Model Item Tips You can open Project Tree from Windows > show view > Project Tree You can fill out the attribute. 3. create diagram - local task - simple decision Tips : how to move 'No' decision up, so the line in our diagram will not spaghetti - fork/join 4....

how to set mail client ( i.e. outlook, thunderbird ) point to gmail

gmail pop.gmail.com port 445 - SSL smtp.gmail.com port 995 - Authentication required - TSL ( ถ้า SSL จะไม่ได้ ) hotmail pop3.live.com port 995 - SSL smtp.live.com port 25 or 587 - Authentication required - SSL ref : hotmail

How to make windows vista run faster ?

Today my friend brought netbook , with Windows installed. The application found to run damn slow. P'win suggest one way to make it faster is to reduce its animation . Here is the method. Control Panel > System Advanced system settings Performances > Settings ... remove all ticks if you want windows some beautiful, keep the last one ( keep visual styles on windows and buttons ).

JMS tutorial

1. ให้ JMS ใช้คนละ thread กับ glassfish Configuration -> Java Message Service, set JMS service to "LOCAL" rather than "EMBEDDED." restart glassfish server. ลอง ping เด๊ะ dsin@dsin-laptop:~/glassfish$ ~/glassfish/bin/asadmin jms-ping JMS Ping Status = RUNNING Command jms-ping executed successfully. 2. create new CF - JNDI name - type javax.jms.ConnectionFactory คือ อะไรก็ได้ create new DS - JNDI name - Physical destination name - type javax.jms.Queue : point-to-point Test first create new java project - project name Add external JARs glassfish/lib/javaee.jar glassfish/lib/appserv-rt.jar glassfish/lib/appserv-admin.jar glassfish/lib/install/applications/jmsra/imqjmsra.jar สร้าง jUnit test - JUnit 4 test - package - name public class ReqReplyTest extends TestCase { private static final String CONNECTION_FACTORY_NAME = "jms/ConnectionFactory"; private static final String REQUEST_QUEUE_NAME = "jms/RequestQueue"; // ที่ config ใน jndi private stat...