Post

Get "Alertyd" — My First Project Soon to Come

Alertyd tells you things only you must know. It is a project that I've been working on for quite a while. Though simple, it is quite complicated for me, as someone who's never been involved in any proper project before, to develop it on my own. This is a reflection rather than a guide, but I welcome discussions and instructions from everyone!

Picked it up after a month

Because I insisted, Claude allowed me to work on my own project before I devote myself into Speech Processing. I wouldn’t say this is procrastination but responsibility. Because one should finish what he promises his friends — a product that delivers the hottest summarised (important and fast) news of users’ choice to their email. Whether you want to follow the movement of your business opponent or of your idol, Alertyd will keep you away from falling behind.

Stack

Considering the type of service, one which requires automated emails and content crawling, I decide that the frontend and backend of this product can be separated. From what I know, it is more common for an indie developer to do everything in one sweep using frameworks such as Next.js, go, or something else that I don’t know yet. Well, I guess there’s no need for it if I don’t even demonstrate this product on the webpage.

For frontend, which really isn’t that much of a trouble these days with the help of IDEs like cursor, I decide to go with Next.js, but I haven’t started yet.

I don’t really know programming, but if I have to say that I know one programming language or else I’ll be murdered, I’d say I know Python. For the same reason, I choose Python as my backend language. I made this decision for two reasons:

  1. The languages aren’t that different, so choose the most familiar one. Their are no fundamental barriers between languages especially at this level, meaning that any language will do the job. Also, I’ve heard that it’s better for a beginner to master one coding language than knowing ten but not being good at them. One would certainly consider he who can do anything with python a better programmer than he who can write “Hello World!” in 20 languages. So, I should use the language that I’m familiar with to save me the some trouble.
  2. Python is popular. Though it might not be the most suitable for every job on earth (certainly not game developing), but as far as I’m concerned, most of the fields that I’m interested (AI, Computational Linguistics…) are fairly compatible with Python. I assume writing Python even with the help of AI, will help me learn it. A better grasp of Python will help me with my future career in most of the areas. This increases the reuse rate of my time as I can both do what I like and learn Python.

To create a deployable project I also need to choose a framework. When I was in the age of naïveté and innocence, I used to write an entire application on Jupyter Notebook. From what I know, you can’t deploy a Jupyter Notebook very easily. So I did some research and found that there are two options for me, Flask and FastAPI.

I chose Flask at first because it’s supposed to be easy and with better support from the society. But the way I used it doesn’t seem right to me. I made it too messy that I wanted to start again. Screenshot 2024-11-12 at 22.22.28.png

I finally go with FastAPI, because it’s supposed to be faster and is more dedicated for API?

Screenshot 2024-11-12 at 22.27.16.png

Now it’s mostly functioning, and certainly looks better after cleaning.

What to do next?

There is one thing. I use jina for web crawling, but I’ve run out of free token and can’t afford it. So now I decide to build frontend and think of another way afterwards.

This post is licensed under CC BY 4.0 by the author.
费曼学习法中文提示词

费曼学习法可以帮助我们检验自己的知识,并通过被追问的过程加深自己的理解。全文都是 prompt。

现在海鸥在叫——我的2024年终总结

写于伊斯坦布尔卡德柯伊

2024 年底的独立开发长什么样子?人人都能且都应掌握的技术到什么程度?

作为一个独立开发(玩)半年的非 CS 专业学生,介绍一下自己这半年的心得,以及一个普通人能够用AI做到的事情。

I watched Conte de Printemps. It's Been A Long Time Since I Last Watched a Film

Conte de Printemps is the contrary to biographical films. But that's not what I'll talk about here.

Utterly Destroyed by AI Again — Yet Another Cooperation with Cursor, ft. Douban

If you want to take a break and have some fun for 20 minutes, this is what you might want to do. AI is giving me a hard time again (emotionally), by roasting my taste of film. But emotional damage aside, the comments are goated.

Obsidian+Cursor=Mentor? Enlightenment & Danger

By combining Obsidian with Cursor, a note-taking app with an AI IDE, you will have a mentor, shrink, consultant, and friend at the same time. I am the first one to have done this and it is giving me surprising results. If you are not scared of who you really are, please follow me to this unique use case of the two popular apps.