deploy 遇到 400 错误
错误日志
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project xxxx: Failed to deploy artifacts: Could not transfer artifact xxx:pom:1.0.1 from/to archiva.internal (http://nexus.xxx/nexus/content/reposito
Read more ...
行为模式关注类和对象如何交互,以及如何负责对应的事务,也就是怎么定义类的行为和职责。
行为模式还可以大致分成:类行为模式(继承)和对象行为模式(组合或聚合),后者更符合「合成复用原则」。
具体模式
Observer, Notifies multiple objects about state changes in another object.
Strategy, Defines interchangeable algorithms within a family of algorithms
Command, Encapsulates
Read more ...
设计模式中的结构模式可以让我们组合类或者对象形成比较大型的结构,但也能保证结构的可维护性和可扩展性。
Adapter, Allows incompatible interfaces to work together.
Decorator, Dynamically adds behavior to objects without altering their structure.
Facade, Simplifies access to complex systems by providing a unified interface.
Read more ...
Amazon 推出 Kiro AI IDE 新一代 AI 辅助集成开发环境
在 AI 辅助代码生成领域,从来不缺竞争者,现在 Amazon 正式加入了战争推出 Kiro AI IDE,Amazon 在之前就推出过智能助手 Amazon Q,以及代码补全插件 CodeWhisperer,但是在激烈的代码生成领域依然没有竞争过 Cursor,Windsurf,Claude Code 等一众的领跑者,甚至声量都没超过 Gemini CLI。现在推出的 Kiro 是一个集成的开发环境,至此互联网巨头中除了苹果没有推出 AI 辅助编码的工具之外所有的公司都已经有了对应的产品。