angular.js

shmily麻瓜小菜鸡8 天前
前端·javascript·vue.js·vscode·vue·angular.js
vue3里“devDependencies 是开发环境依赖,dependencies 是生产环境依赖”“devDependencies 是开发环境依赖,dependencies 是生产环境依赖”(注:在较新的 npm 版本中,直接运行 npm install @vicons/fluent 默认就是加 -S 参数,会写入 dependencies) 安装到 devDependencies(开发依赖):
starrysky8106 天前
angular.js
kubectl logs 看不了日志?fsnotify 报 too many open files 的真相是 inotify 实例耗尽搬运并适配自国外社区真实案例。原文出处见文末。症状是 kubectl logs -f <pod> 或 Grafana Alloy 启动时报 failed to create fsnotify watcher: too many open files。表面看是文件描述符耗尽,实际是 inotify 实例上限(fs.inotify.max_user_instances,默认 128)被占满——罪魁祸首往往是 RHEL 9 / cgroupv2 环境下 containerd 为每个容器创建一个 inotify
shmily麻瓜小菜鸡12 天前
vue.js·vscode·echarts·angular.js
浏览器在请求外部图片(403 Forbidden)问题:img-props="{ referrerpolicy: 'no-referrer' }"前端开发中非常实用的一个属性配置,通常用于解决图片防盗链(403 Forbidden)问题。
starrysky81011 天前
angular.js
RuntimeError: dictionary changed size during iteration——多线程 Pydantic cached_property 竞态条件编号:10 | 报错类型:RuntimeError | 专栏:Python 生产环境报错速查 | 难度:中级
starrysky81011 天前
angular.js
Agent 安全 #06:Agent 灰度发布与回滚 —— 上线新 Prompt 炸了生产,你敢回滚吗?系列:Agent 安全专题 | 编号:06 | 专栏:人工智能 Agent 从部署到生产微服务的灰度发布你已经很熟了——切 5% 流量到新版本,看错误率,不对就回滚。Agent 的灰度发布不一样:你要切的不是容器镜像,是一个组合体——Prompt 版本、模型权重、工具配置、系统指令、安全策略——每一项都可能独立变更,每一项变更都可能让 Agent 的行为面目全非。
starrysky81011 天前
angular.js
CPU 70% idle 但 load average 84?D 状态进程不可中断睡眠的深度排查搬运并适配自国外社区真实案例。原文出处见文末。当 top 显示 CPU 70% 以上空闲,但 load average 却飙升到 20+ 甚至 80+,问题几乎确定出在 D 状态(不可中断睡眠,TASK_UNINTERRUPTIBLE)进程。Linux 内核将 load average 计算为「可运行进程数(R 状态)+ 不可中断睡眠进程数(D 状态)」的指数移动平均。这意味着每个卡在磁盘 I/O、NFS 挂载、或内核锁等待上的进程都会直接推高 load average。本文以 ServerFault 上
界面开发小八哥14 天前
前端·javascript·angular.js·devexpress·ui开发·devextreme
界面控件DevExtreme v26.1新版亮点——支持Angular 22DevExtreme包括4个单独的产品套件,具有80多个UI组件和集成的开发模板/dev工具,帮助用户轻松创建高影响力和响应性的桌面和移动Web应用程序。
巴勒个啦18 天前
前端·angular.js
Vue 3.6 Vapor Mode 实战:我把一个 Vue3 项目的渲染性能提升了 4 倍上个月 Vue & ViteConf 2026 上,尤雨溪宣布了三件事:Vue 3.6 正式发布、Vue 4.0 启动、Vite 8 落地。其中 Vapor Mode 是最让我兴奋的——它让 Vue 的虚拟 DOM 变成了「可选项」,而不是「必选项」。
shmily麻瓜小菜鸡21 天前
前端·javascript·angular.js
在 Angular 项目中实现国际化(i18n)和翻译 使用ngx-translateen.json(英文)(i18n.service.ts)lang-switcher.component.html
starrysky8101 个月前
angular.js
一个 JSON 解析错误,搞垮了整个进程池?——requests JSONDecodeError + BrokenProcessPool 排障实录本文案例来自 psf/requests GitHub Issue #6628,适配至国内生产环境后验证。
starrysky8101 个月前
angular.js
小模型反而爆显存?Qwen2.5-VL 3B vs 7B 的 vLLM 显存真相——多模态 Profiling 机制深度拆解本文案例来自 vLLM 官方 GitHub Issues(#22719、#14150),适配至国内部署环境后验证。
starrysky8101 个月前
angular.js
THP 透明大页导致数据库延迟从 2ms 飙升到 2000ms——khugepaged 内存压缩风暴排查实录perftop−pperf top -p perftop−p(pgrep mysqld)compact_stall=1234 意味着应用线程在 alloc_pages() 时被强制等待内存压缩完成——这是同步阻塞,时长取决于物理内存碎片化程度。
starrysky8101 个月前
angular.js
多Agent通信架构实战:从NATS消息总线到五大编排模式的生产落地——Agent通信协议篇from typing import TypedDictclass PipelineState(TypedDict): input: str stage_outputs: list validation_passed: list
starrysky8101 个月前
angular.js
RecursionError: maximum recursion depth exceeded —— 你的函数调用链,踩穿了 CPython 的安全气囊关键事实:CPython 在触发 RecursionError 后,会设置 tstate->overflowed 标志。此时正常的递归限制被临时关闭——这是为了让你的 except RecursionError: 中的清理代码能正常运行(清理代码本身也可能有递归调用)。
starrysky8101 个月前
angular.js
MemAvailable 还有 29GB,系统却报内存压力?——Ubuntu 24.04 CIFS 内核 Page Cache 泄漏排查实录搬运并适配自国外社区真实案例。原文出处见文末。Ubuntu 24.04 生产服务器,跑 Java 应用 + PostgreSQL + Nginx,挂载了 3 个 CIFS 网络共享做备份和文件交换。
starrysky8101 个月前
angular.js
KeyError: 'xxx' —— 字典里没这个键,但你的代码以为有def getitem(self, key): # 1. 对 key 做 hash h = hash(key)
starrysky8101 个月前
angular.js
FP8量化实战:vLLM与SGLang部署DeepSeek显存减半、吞吐翻倍——Agent推理引擎篇(二)python -m vllm.entrypoints.openai.api_server --model deepseek-ai/DeepSeek-V3-0324 --quantization fp8 --gpu-memory-utilization 0.95 --max-model-len 32768 --tensor-parallel-size 8 --host 0.0.0.0 --port 8000
starrysky8101 个月前
angular.js
vLLM与SGLang启动参数调优实战:从默认配置到生产级吞吐量翻倍——Agent推理引擎篇vllm serve meta-llama/Llama-3.1-8B-Instruct --gpu-memory-utilization 0.85
starrysky8101 个月前
angular.js
【03】ImportError: cannot import name 'X' —— 模块在,名字没了from botocore.docs.bcdoc import docevents # botocore 1.18.0 里已经不存在了
starrysky8101 个月前
angular.js
systemd-journald日志限速导致生产日志丢失:Suppressed XXXX messages完整排查当你在生产服务器上排查故障,却发现 journalctl -u your-service 的输出中间有大段空白——不是服务没打日志,而是 systemd-journald 的速率限制功能静默丢弃了它们。即使你在 /etc/systemd/journald.conf 中设置了 RateLimitInterval=0 和 RateLimitBurst=0,日志仍然可能被丢弃。因为 systemd 有两层日志速率限制:全局的 journald.conf 和每个服务自身的 LogRateLimitInterval