AI,我来了:新时代

时代的变化,有时并不是一声巨响,而是在每天的工作和生活中悄悄发生。

从搜索资料、编写代码,到整理文档、分析问题,AI 已经从一个遥远的概念,变成了可以一起工作的伙伴。它不会替我经历人生,也不会替我承担责任,但它能帮助我更快地看见可能性,更专注地解决真正重要的问题。

我为什么走向 AI

过去,我习惯用技术解决明确的问题:接口如何设计、数据库如何优化、服务如何稳定运行。现在,AI 让我开始面对另一类问题:怎样描述需求,怎样判断结果,怎样把经验变成可复用的能力。

这不仅是工具的升级,也是思维方式的升级。

我希望自己不只是会调用一个模型,而是逐渐理解它的边界,学会设计可靠的流程,让 AI 真正进入产品、研发和日常工作。保持好奇,也保持判断;提高效率,也不放弃独立思考。

新时代里的行动

面对新的浪潮,最重要的不是等待一个完美的开始,而是从今天开始行动:

  • 持续学习大模型、智能体和自动化工作流;
  • 把 AI 应用到真实业务,而不只停留在演示;
  • 重视数据、安全、隐私和结果验证;
  • 记录实践中的成功与失败,形成自己的方法;
  • 用技术创造长期价值,而不是追逐短暂的热度。

AI,我来了

每一个时代都会给普通人新的机会,也会提出新的要求。

我不确定未来会走到哪里,但我愿意进入这个新时代,带着过去积累的工程经验,继续学习、继续实践、继续创造。

AI,我来了。

新时代,我来了。

作者:庞学军

how to create a great company

it is like hard to create a great company.

even i do not know how to create a great company.

i only some idea.

i do not start it now.

i don’t give up.

i hope i can help someone.

that is my idea. fair enough.

作者:庞学军

my Q2 plan

Q2 Plan
Asset Management
Weekly Regular Investment Strategy: Dividends, Healthcare, India, USA (4 categories, 100, 100, 150, 150 units respectively).
Business Goals
Complete bank card processing.
	Launch the mini-program.
	Set up the company’s own server and formulate appropriate company policies.
	Personal Goals
Maintain financial records.
	Read regularly.
	Organize the new residence.
	Plan long-term objectives.
	Continuously pursue learning.
	Work Objectives
Fulfil assigned tasks.

作者:庞学军

2025 plan

i decide to write daily report, because sometime i feel shy when someone read my idea or daily article.
so it's okay if they not understand my article.
i wanna writing but dont to be know what i writing.
this is a good way to use english writing.
i will continue to writing to show idea to me .

in pass three month, i learn swoole,go in code.

i use go to write a proccess to images, return unique images.

gin and hyperf use in my project connect grpc and http.

first, it should be a great company have a huge aim.

i should make a plan to make a great company.

ai or artificial intelligence is a great way to make a great company.

maybe first step is difficult. second step is more difficult.

作者:庞学军

think something in ai

Perhaps AI will continue to improve significantly in the future.

Specifically, advanced AI like DeepSeek is transforming the world.

We can achieve remarkable things through AI.

I’m uncertain about what the future holds.

But I’m determined to adapt by leveraging AI tools.

For example:

  • Coding tasks
  • Article writing
  • Knowledge sharing
  • And more

By 2025, I believe AI capabilities will advance exponentially.

I plan to keep learning programming languages like Go, frameworks like Swoole and Hyperf,

focusing on high-performance computing.

作者:庞学军

php-fpm内存跑满

参考文档
https://blog.csdn.net/weixin_45526912/article/details/135149425
https://blog.csdn.net/guo_qiangqiang/article/details/89532660
https://zhuanlan.zhihu.com/p/405981279
https://www.cnblogs.com/zoutong/p/13523945.html

pm.max_children = 80

问题

  1. php-fpm内存跑满
  2. laravel的afterResponse
  3. 接口处理耗时任务
  4. 导致进程没有释放
  5. 服务器内存不够,直接跑满所有内存。
    request_terminate_timeout
    优化方案
    1、耗时任务放到队列里
    2、合适的max_children,避免进程过多,结合服务器内存
    3、使用opcache缓存,workman swoole 等

作者:庞学军

nginx配置跨域

不走代码配置跨域
使用nginx配置跨域

配置示例

1
2
3
4
5
6
7
8
9
10
server {
listen 80;
server_name demo.pangxuejun.cn;
root "~/public";
add_header 'Access-Control-Allow-Origin' "*" always;
add_header 'Access-Control-Allow-Credentials' 'true' always;
add_header 'Access-Control-Allow-Methods' 'GET, OPTIONS' always;
add_header 'Access-Control-Allow-Headers' 'Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,authtoken' always;
}

作者:庞学军