Qucik Start : Laravel

STEP 1 : Installing PHP and the Laravel Installer Install php in Mac : /bin/bash -c "$(curl -fsSL https://php.new/install/mac/8.4)" install the Laravel installer via Composer: composer global require laravel/installer STEP 2 : Creating an Application Input : laravel new thought-manager thought-manager is my test project name. you will be asked : _ _ | | | | | | __ _ _ __ __ ___ _____| | | | / _` | __/ _` \ \ / / _ \ | | |___| (_| | | | (_| |\ V / __/ | |______\__,_|_| \__,_| \_/ \___|_| Which starter kit would you like to install?...

February 19, 2025

The Faq on How to Use Docusaurus to Create a Website

February 12, 2025

Daily Brainstorming : How to Evaluate Whether a New Project Is Good

I am a software engineer, and sometimes I feel like a man with a hammer seeing everything as a nail. I’ve been in this field for a long time and have often noticed that doing more doesn’t always lead to better results. The question is: how can I evaluate whether a new project is good? there are two axes to consider when selecting an project: feasibility value Feasibility is how easy it is to do the project, and value is how much value the project will deliver to the business....

January 7, 2025

My Tech Stack Selection - 2025 - SaaS

Overview This document explains my technology stack selection for SaaS projects in 2005. I use different stacks depending on the purpose of the project. If the goal is to quickly test an idea, I will use Next.js with Clerk and Supabase. Firebase can also be used as a replacement for Supabase. If the project is something I believe in and want to keep building for the long term, I will use a more flexible and scalable architecture....

January 1, 2025

New Year Holiday Reading Book 3 How to Raise a Tech Genius

Recommendation Rating: ★★☆☆☆ The best way to teach someone to learn something is by helping them experience it and solve real-world problems. However, compared to a standard curriculum, this approach requires much more skilled teachers, is harder to standardize, and therefore tends to be more expensive. For me, the good thing is that there’s a purpose in teaching kids information technology, which helps me rethink everything I do to better support my kids in using it....

December 31, 2024

New Year Holiday Reading Book 2 Design and Build Great Web Apis

Recommendation Rating: ★★★☆☆ This book has two key features: Every topic starts with the basic fundamentals(not just from software require, from basic thinking); It provides a comprehensive framework of web API It attempts to establish a system, but it lacks rigor and is quite verbose. When it comes to specific operations, it lacks detail. It can only be considered a collection of organized notes with some highlights, but it falls short of being truly good....

December 26, 2024

New Year Holiday Reading Book 1 : Business Intelligence Analytics Data Science and Ai

Recommendation Rating: ★★★☆☆ This book has a lot of information all in one place, and it’s great to flip through. Here are some things I found interesting. Business Analytics When we talk about analytics, it means we aim to understand the current situation, anticipate what might happen, and determine the actions we can take. Dimension Descriptive Predictive Prescriptive Questions What Happened? What will happen? What should I do? - What is happening?...

December 25, 2024

You Do Not Need Learn Everything in the Code

My philosophy is Learn just enough to solve your current problem and expand your understanding naturally as new challenges arise. I have a wide interest in technology, so my biggest challenge is staying focused. So, focus means choosing a field and specializing in it. Principle Understand which level is best for the current problems(Like TCP/IP, HTTP, or user-defined protocols.) The sequence to solve this problem(like sometimes the question is about the user interface, and other times the problem is about creating a more efficient algorithm) Technology Stack

December 19, 2024

How to Fix Replicate Run Error Readablestream in Nextjs

If you try to use Replicate’s Node.js client follow by model pages, like this : const output = await replicate.run("black-forest-labs/flux-schnell", { input }); console.log(output[0]); you will get result : ReadableStream { locked: false, state: 'readable', supportsBYOB: false }. You need change to : const [output] = await replicate.run(model, { input }); console.log(output.url()); More information check doc.

December 5, 2024

Can We Make a Simple Software

I wrote a system with over 800,000 lines of code, but one day I lost my passion for it. I realized it was becoming increasingly difficult to keep it maintainable. So I start think : Can We Make a Simple Software ? What is complexity Shan’s define : Complexity describes interaction and interconnectedness. When there are too many relationships between elements, it can make things challenging to manage. The most interesting part is comparing complexity and difficulty :...

December 3, 2024