Standard Post with Image

コードで「よりよく考える」:数学的ショートカットで大規模ソフトウェアを理解する

Marcus du Sautoy著『Thinking Better: The Art of the Shortcut』からのインスピレーション

Read More
Standard Post with Image

คิดให้ดีกว่าไปกับโค้ด: ใช้คณิตศาสตร์ทางลัดเพื่อเข้าใจระบบซอฟต์แวร์ขนาดใหญ่

แรงบันดาลใจจากหนังสือ “Thinking Better: The Art of the Shortcut” โดย Marcus du Sautoy

Read More
Standard Post with Image

Thinking Better with Code: Using Mathematical Shortcuts to Master Large Codebases

Inspired by Marcus du Sautoy’s “Thinking Better: The Art of the Shortcut”

Read More
Standard Post with Image

NumPy の `np.meshgrid()` を徹底解説:なぜ必要なのか?順序を入れ替えるとどうなるのか?

Python や NumPy を使ってデータ分析や科学計算をしていると、np.meshgrid() という関数を見かけたことがあるかもしれません。ですが、次のような疑問を持つ人も多いでしょう:

Read More
Standard Post with Image

เข้าใจการใช้ `np.meshgrid()` ใน NumPy: ทำไมถึงจำเป็น และจะเกิดอะไรขึ้นถ้าสลับลำดับ?

หากคุณเคยใช้ NumPy ในการวิเคราะห์ข้อมูล การคำนวณทางวิทยาศาสตร์ หรือแม้แต่ใน Machine Learning คุณอาจเคยเจอฟังก์ชัน np.meshgrid() แต่หลายคนยังสงสัยว่า:

Read More
Standard Post with Image

Understanding `np.meshgrid()` in NumPy: Why It’s Needed and What Happens When You Swap It

If you’ve worked with NumPy for data analysis, scientific computing, or machine learning, you’ve probably encountered the np.meshgrid() function. But many users ask:

Read More
Standard Post with Image

FastAPI で Google OAuth を使った Single Sign-On (SSO) を実装する方法

現代のアプリユーザーは、新しいパスワードを作ることを望んでいません。その解決策が SSO(シングルサインオン) です。 この記事では、FastAPI, MongoDB, JWT, そして fastapi-sso ライブラリを使って、Google アカウントでログイン可能な SSO を構築する方法をステップ・バイ・ステップで解説します。

Read More
Standard Post with Image

วิธีเชื่อมต่อระบบ Single Sign-On (SSO) ด้วย Google OAuth ใน FastAPI

ในยุคที่ผู้ใช้งานไม่อยากจดจำรหัสผ่านอีกต่อไป — Single Sign-On (SSO) คือคำตอบ บทความนี้จะแนะนำวิธีสร้างระบบล็อกอินผ่านบัญชี Google บนแอปพลิเคชัน FastAPI โดยใช้ MongoDB, JWT, และไลบรารี fastapi-sso เพื่อให้คุณเริ่มต้นได้อย่างมั่นใจและปลอดภัย

Read More
Standard Post with Image

How to Implement Google Single Sign-On (SSO) in FastAPI

Do your users really need another password to remember? In modern web applications, Single Sign-On (SSO) is a must-have. It provides a seamless and secure authentication experience—allowing users to log in using trusted identity providers like Google, Microsoft, or Facebook. In this guide, we’ll show you how to implement Google SSO using FastAPI, MongoDB, and […]

Read More
Standard Post with Image

複数フレームワーク間でのJWT認証の管理

Flaskをフロントエンド、FastAPIをバックエンドAPIとして使用するような複数フレームワークでアプリケーションを開発する際、認証を安全かつスムーズに管理するのは難しい場合があります。JSON Web Token(JWT)は、これらのフレームワーク間で統一された認証の仕組みを実現する強力な方法です。本記事では、その具体的な方法を紹介します。

Read More