Action vs Activity ใน Activity Diagram

ชอบจำสลับกันว่าอันไหนใหญ่กว่า เล็กกว่า เลยไปหามาจดไว้เลย ที่มา http://www.sparxsystems.com/resources/uml2_tutorial/uml2_activitydiagram.html Activities An activity is shown as a round-cornered rectangle enclosing all the actions Actions An action represents a single step within an activity. สรุป ใน Activities จะประกอบไปด้วยหลายๆ Action

Angle ที่มีให้เลือกในโปรแกรม HandBrake

ข้อมูลจาก http://msdn.microsoft.com/en-us/library/windows/desktop/dd388582%28v=vs.85%29.aspx ชื่อเต็มของมันคือ the camera angle The video stream can contain up to nine “angles,” which can be thought of as substreams. DVD authors can include multiple angles wherever they wish to offer the viewer a choice of camera angles from which to view the same scene. Only one angle can be active at a …

UTF-8 + BOM (UTF-8 signature) กับ UTF-8 ธรรมดา

เจอที่ http://stackoverflow.com/questions/2223882/whats-different-between-utf-8-and-utf-8-without-bom บอกว่า BOM (UTF-8 signature) ไม่จำเป็นต้องใช้ และไม่แนะนำให้ใช้ด้วย มันจะได้ใช้ในบางกรณีเท่านั้น ใช้ UTF-8 ธรรมดา ไม่ต้องมี BOM บางโปรแกรมใช้คำว่า UTF-8 with Signature บางโปรแกรมใช้คำว่า UTF-8 BOM ข้อมูลเพิ่มเติมจากเว็บ http://www.joelonsoftware.com/articles/Unicode.html บอกว่า There Ain’t No Such Thing As Plain Text. คือเรามีข้อความมันต้องระบุด้วยว่ามันใช้ encoding อะไร UTF-8ASCIIISO 8859-1 (Latin 1)Windows 1252 (Western European) ที่ควรจะใช้ก็คือ UTF-8 1.http://www.unicode.org/versions/Unicode5.0.0/ch02.pdf 2.http://www.unicode.org/versions/Unicode5.0.0/ch16.pdf

โรงพยาบาลเอกชน ตามลำดับความใหญ่

1.โรงพยาบาลกรุงเทพ ถ.เพชรบุรีตัดใหม่ 02310-3000 http://www.bangkokhospital.com 2.โรงพยาบาลบำรุงราษฎร์ สุขุมวิท 02 667 1000 http://www.bumrungrad.com 3.โรงพยาบาลสมิติเวช สุขุมวิท 0 2711-8181 http://www.samitivejhospitals.com 4.โรงพยาบาลรามคำแหง รามคำแหง 0 2743 9999 http://www.ram-hosp.co.th 5.โรงพยาบาลเกษมราษฎร์ ประชาชื่น 029101600 http://www.kasemrad.co.th/ 6.โรงพยาบาลวิภาวดี งามวงศ์วาน 0-2941-2800 http://www.vibhavadi.com 7.โรงพยาบาลนนทเวช งามวงศ์วาน 02-596-7888 http://www.nonthavej.co.th/

การทำให้ Uploadify ส่งค่าตัวแปรไปให้ server ในภาษาไทย

Uploadify เป็น plugin ของ jQuery ใช้ในการ upload file ขึ้นเว็บ แต่ที่เจอปัญหามาตลอดคือมันรองรับกับภาษาอังกฤษ เวลาที่เราส่งภาษาไทยเข้าไปมันจะกลายเป็น ลองดู ที่มันเป็นยังงั้นเพราะเวลาส่งมันจะแปลงข้อมูลด้วย ISO-8859-1(อ่านเจอตามเว็บบอร์ดแต่จำที่มาไม่ได้แล้ว) ดังนั้นที่ Server ตอนรับต้องรับมาด้วย ISO-8859-1 ถ้ารับตามปกติโดยใช้ UTF-8 มันก็จะอ่านไม่ออกเป็นภาษาต่างดาว วิธีแก้คือแปลงจาก ISO-8859-1 เป็น UTF-8 ในภาษา Java Code ที่ใช้ ได้มาจาก http://stackoverflow.com/questions/13412174/how-to-convert-utf8-string-to-utf16?lq=1 String param = request.getParameter(“param”); String con = new String(param.getBytes(“ISO-8859-1”), “UTF-8”); ก็จะได้ภาษาไทยที่ถูกต้อง