วันจันทร์ที่ 8 กรกฎาคม พ.ศ. 2567

Gunicorn (Web Server Gateway Interface: WSGI)

The standard web servers such as Apache, and NGINX (pronounced engine-x) don’t know how to communicate with your Python applications. Web servers receive the request from a client(Web browser) and return a response. WSGI provides that bridge of your need to communicate between your Web Server and Web Application. Through multi-threading, WSGI also handles scaling for web servers to be able to handle thousands of requests at the same time.

Bypassing NGINX web server to directly contact Gunicorn at port 8000:

 https://medium.com/@serdarilarslan/what-is-gunicorn-5e674fff131b

Not bypassing NGINX to contact Gunicorn at standard HTTP port (install Python & Gunicorn in app tier and Nginx in web tier to fwd http requests to app tier):

https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-gunicorn-and-nginx-on-ubuntu-18-04

Unlike PHP that can be directly executed by Apache, PHP doesn't need a kind of WSGI.

วันพุธที่ 26 มิถุนายน พ.ศ. 2567

World University Ranking VS SIR

SIR (Scimago Institutions Ranking) สังเกตว่าเกณฑ์หลายข้อ (https://www.scimagoir.com/methodology.php) ที่เป็นการหารายได้ให้ Scopus ซึ่งเป็นองค์กรแสวงหากำไร 

Scimago เองก็แปะโฆษณาไว้เต็มหน้าเว็บผลการค้นหาการจัดอันดับวารสาร จึงเข้าข่ายหน่วยงานแสวงหาผลกำไรเช่นเดียวกัน

ความน่าเชื่อถือของ SIR จึงต่ำกว่า World University Ranking ของ Time Higher Education (เน้นการวิจัยเชิงปริมาณและคุณภาพเชิงวิชาการ) (https://www.timeshighereducation.com/world-university-rankings/world-university-rankings-2024-methodology)

และต่ำกว่า QS world university ranking (เน้นชื่อเสียงและการจ้างงาน)

(https://support.qs.com/hc/en-gb/articles/4405955370898-QS-World-University-Rankings)

วันอังคารที่ 25 มิถุนายน พ.ศ. 2567

กตเวทิตาจิต vs มุทิตาจิต

https://medinfo.psu.ac.th/pr/WebBoard/readboard.php?id=21464

ถ้าใช้มุทิตาจิตก็ตีความได้ว่ามาร่วมแสดงความยินดีกับผู้เกษียณที่ได้รับการประกาศเกียรติคุณ


วันจันทร์ที่ 24 มิถุนายน พ.ศ. 2567

วันอาทิตย์ที่ 23 มิถุนายน พ.ศ. 2567

Research methodology

  1. Define research area of expertise/interest
  2. Identification of problem/requirement and its significance/impact
  3. Literature review
  4. Formulating research problem statement
  5. Defining research objectives
  6. Reviewing concepts and theories
  7. Formulating hypothesis/prospective solution
  8. Expecting research contributions
  9. Research design (plan for steps 10-18)
  10. Research proposal approval (cover steps 1-8 summarizing TOES-feasibility study)
  11. Data gathering
  12. Data preparation
  13. Data processing using proposed formal/empirical solution
  14. Result measurement
  15. Result analysis
  16. Result interpretation
  17. Result evaluation
  18. Result discussion & future research opportunity
  19. Reporting/Peer-review publication


วันพฤหัสบดีที่ 20 มิถุนายน พ.ศ. 2567

แนวโน้มของการทำวิจัยด้านไอที

 สมัยก่อนที่ Infrastructure ยังไม่ทันสมัย งานวิจัยจะเกิดขึ้นในระดับ infra. เยอะมาก จนมาถึงปัจจุบันที่ infra. เริ่มพัฒนาจนสามารถนำ applications ประเภทต่างๆ ขึ้นไปใช้งานได้ เช่น cloud services, big data, streaming, AI, IoT งานวิจัยก็เริ่มเทมาอยู่ใน Applilcation layer ทำให้งานวิจัยฝั่ง infra เริ่มซบเซา

วันพุธที่ 19 มิถุนายน พ.ศ. 2567

การหาหัวข้อวิจัยเป็นขั้นตอนสำคัญที่อย่าให้ใครมาทำแทน

การที่อาจารย์มี list หัวข้อวิจัยไว้ให้นักศึกษาเลือกshopเป็นแนวปฏิบัติที่ไม่ดี เพราะการหาหัวข้อวิจัยเกิดจากกระบวนการทบทวนวรรณกรรมและวิเคราะห์สังเคราะห์จนมองเห็นปัญหา ทักษะเหล่านี้จะไม่เกิดขึ้นในตัวผู้เรียนถ้าไปช็อปหัวข้อวิจัยมาทำเลย นอกจากนี้หัวข้อวิจัยที่จัดเตรียมไว้แล้วมักมีแนวทางแก้ปัญหาไว้อยู่ด้วยทำให้ผู้เรียนแทบไม่ต้องคิดหาวิธีแก้ปัญหาด้วยตัวเองยิ่งทำให้ผู้เรียนขาดทักษะในการแก้ปัญหา หัวข้อวิจัยสำเร็จรูปก็เปรียบเหมือนบะหมี่กึ่งสำเร็จรูปชงกินได้เร็วแต่ไม่ดีต่อร่างกาย หรืออาจเปรียบเหมือนสอนทำเมนูปลาแต่ไม่ได้สอนการจับปลาด้วยตัวเองทำให้ได้ทักษะความรู้ไปไม่ครบloop กลยุทธ์แบบกลยุทธ์แบบนี้เน้นปริมาณผู้เรียนแต่ไม่เน้นคุณภาพ

สิ่งที่ควรทำมากกว่าคือกำหนดพื้นที่การทำวิจัยให้ผู้เรียนเลือกอาจารย์ที่ปรึกษาได้เหมาะสมกับความสนใจของตนเองและทราบ specific field ที่ตัวเองสนใจในพื้นที่การทำวิจัยดังกล่าวสำหรับเข้าไปดำเนินการทบทวนวรรณกรรมต่อไป

วันพฤหัสบดีที่ 6 มิถุนายน พ.ศ. 2567

Lagrangian relaxation

 https://en.wikipedia.org/wiki/Lagrangian_relaxation

วันอาทิตย์ที่ 2 มิถุนายน พ.ศ. 2567

Multidiscipline vs Interdiscipline

  • Multidisciplinarity draws on knowledge from different disciplines but stays within their boundaries. 
  • Interdisciplinarity analyzes, synthesizes and harmonizes links between disciplines into a coordinated and coherent whole.

วันศุกร์ที่ 31 พฤษภาคม พ.ศ. 2567

Article/Publication types

ACM:

  • Research Article
  • Short Paper e.g. letter 
  • Review Article
  • Survey Article
  • Technical Note
  • Tutorial
  • Interview
  • Note
IEEE

  • Journals & Magazines
  • Conference Proceedings
    • Abstract: Synopsis of your research (250 words or less)
    • Extended abstract: High-level summary of your research (less than 2 pages)
    • Brief or short paper: Summary of your research (less than 4 pages)
    • Full paper: Complete paper describing your research in full (6-8 pages)
  • Books

Roboflow

PaaS for building computer vision applications end‑to‑end—from data collection and annotation to model training and deployment.

To annotate images, build, and deploy computer vision models.

https://roboflow.com/

วันพฤหัสบดีที่ 30 พฤษภาคม พ.ศ. 2567

วันเสาร์ที่ 11 พฤษภาคม พ.ศ. 2567

Cloudflare's captcha (Turnstile)

With Turnstile, we adapt the actual challenge outcome to the individual visitor or browser. First, we run a series of small non-interactive JavaScript challenges gathering more signals about the visitor/browser environment. Those challenges include, proof-of-work, proof-of-space, probing for web APIs, and various other challenges for detecting browser-quirks and human behavior. As a result, we can fine-tune the difficulty of the challenge to the specific request and avoid ever showing a visual puzzle to a user. สรุป Turnstile ส่งสคริปมาเก็บข้อมูลสภาพแวดล้อมในเครื่องเพื่อดูว่าเป็น web browser จริงหรือเป็น bot

cf. https://www.cloudflare.com/en-gb/products/turnstile/

https://developers.cloudflare.com/turnstile/

วันอังคารที่ 7 พฤษภาคม พ.ศ. 2567

Generative AI

It is capable of generating text, images, videos, or other data.

In other words, traditional AI excels at pattern recognition, while generative AI excels at pattern creation. Traditional AI can analyze data and tell you what it sees, but generative AI can use that same data to create something entirely new.

AI search engine

It's actually a RAG LLM.


https://www.perplexity.ai/


https://devhub.in.th/blog/perplexity-ai-search