首页 文章 精选 留言 我的

精选列表

搜索[原生统一],共10000篇文章
优秀的个人博客,低调大师

React Native 0.69.2 发布,使用 React 编写原生应用

React Native 0.69.2 现已发布,具体更新内容如下: Changed 为 react v18 compat 设置 react-shallow-renderer v16.15.0 (a39a7c453d) 将 RN CLI 升级到 v8.0.3(28cbd21d21) iOS specific Hermes pod:更改逻辑以使用 hermes 标签正确设置 pod 源(46a9edc854) 修复在 new Blob(blob) 后调用 readAsDataURL 时的 race condition (bd12e41188) 确保在创建发布版本时不安装 Flipper pod(23accbf58d) 详情可查看:https://github.com/facebook/react-native/releases/tag/v0.69.2

优秀的个人博客,低调大师

Solon 1.8.3 发布,云原生微服务开发框架

相对于 Spring Boot 和 Spring Cloud 的项目 启动快 5 ~ 10 倍 qps 高 2~ 3 倍 运行时内存节省 1/3 ~ 1/2 打包可以缩小到 1/2 ~ 1/10(比如,90Mb 的变成了 9Mb) 基于 app.name 进行注册发现 与 k8s svc 相互对应 支持 Service Mesh 架构部署方案 关于 Solon Solon 是一个更现代感的应用开发框架,轻量、开放生态型的。支持 Web、Data、Job、Remoting、Cloud 等任何开发场景。 强调,克制 + 简洁 + 开放 + 生态的原则 力求,更小、更少、更快、更自由的体验 目前有近130个生态插件,含盖了日常开发的各种需求: 本次主要更新内容 添加 solon.extend.config 属性配置支持 java -Dsolon.extend.config=./app.yml -jar demoapp.jar 添加 ContextPathFilter 类,摸拟 contextPath 效果 public class App{ public static void main(String[] args){ Solon.start(App.class, args); } } 修复 @Inject("${list}") Listlist ,数据不对的问题 插件 solon.boot.jdkhttp,添加 ssl 支持(尝试替代 jlhttp ;框架性能高 50%) 插件 sqltoy-solon-plugin 升级为 sqltoy 5.2.0 插件 weed3-solon-plugin 升级 weed3 3.4.26 插件 beetlsql-solon-plugin 升级 beetlsql 3.14.4-RELEASE 插件 solon-api, solon-web 默认改用 jdkhttp 添加 server.host 和 server.?.host 支持 添加 StaticMappings::remove 接口 添加 EventBus::unsubscribe 接口 snack3 升为 3.2.29 fastjson 升为 1.2.83 hutool 升为:5.8.1 jetty 升为:9.4.46.v20220331 undertow 升为:2.2.17.Final jackson 升为:2.13.3 gson 升为:2.9.0 进一步了解 Solon 《想法与架构笔记》 《生态预览》 《与 Spring Boot 的区别?》 《与 Spring Cloud 的区别?》 项目地址 gitee:https://gitee.com/noear/solon github:https://github.com/noear/solon website:https://solon.noear.org

优秀的个人博客,低调大师

Solon 1.8.0 发布,云原生微服务开发框架

相对于 Spring Boot 和 Spring Cloud 的项目 启动快 5 ~ 10 倍 qps 高 2~ 3 倍 运行时内存节省 1/3 ~ 1/2 打包可以缩小到 1/2 ~ 1/10(比如,90Mb 的变成了 9Mb) 基于 app.name 进行注册发现 与 k8s svc 相互对应 支持 Service Mesh 架构部署方案 关于 Solon Solon 是一个更现代感的应用开发框架,轻量、开放生态型的。支持 Web、Data、Job、Remoting、Cloud 等任何开发场景。 强调,克制 + 简洁 + 开放 + 生态的原则 力求,更小、更少、更快、更自由的体验 目前有近130个生态插件,含盖了日常开发的各种需求: 本次主要更新内容 新增 solon.extend.hotplug 插件(提供业务插件 '热插拨' 和 '热管理' 支持) public class DemoApp { public static void main(String[] args) { Solon.start(App.class, args, app -> { //添加待管理的插件 PluginManager.add("add1", "/x/x/x.jar"); PluginManager.add("add2", "/x/x/x2.jar"); app.get("start", ctx -> { //启动插件 PluginManager.start("add1"); ctx.output("OK"); }); app.get("stop", ctx -> { //停止插件 PluginManager.stop("add1"); ctx.output("OK"); }); }); } } 更多介绍看官网的:solon.extend.hotplug 调整 AopContext ,更具隔离性 调整 AopContext::beanOnloaded 参数由 Runnable 改为:Consumer 调整 Plugin::start 参数由 SolonApp 改为:AopContext public class Plugin1Impl implements Plugin { @Override public void start(AopContext context) { //通过当前上下文扫描,具有隔离性 context.beanScan(Plugin1Impl.class); context.beanOnloaded(ctx->{ //回调有上下文信息,方便做多插件可复用的设计 }); } } 修复 @Cache 在函数里有逗号时无法删除缓存的问题 @Controller public class DemoController { /** * 执行结果缓存10秒,使用 key=test_${label} 并添加 test 标签 * */ @Cache(key="test_${label}", tags = "test" , seconds = 10) @Mapping("/cache/") public Object test(int label) { return new Date(); } /** * 执行后,清除 标签为 test 的所有缓存 * */ @CacheRemove(tags = "test") @Mapping("/cache/clear") public String clear() { return "清除成功(其实无效)-" + new Date(); } /** * 执行后,更新 key=test_${label} 的缓存 * */ @CachePut(key = "test_${label}") @Mapping("/cache/clear2") public Object clear2(int label) { return new Date(); } } 修复 Gateway 对默认接口识别失效的问题 @Mapping("/api/v3/app/**") @Component public class ApiGatewayV3 extends UapiGateway { @Override protected void register() { filter(new BreakerFilter()); //融断 before(new StartHandler()); //开始计时 before(new ParamsParseHandler()); //参数解析 before(new ParamsSignCheckHandler(new Md5Encoder())); //参数签名较验 before(new ParamsRebuildHandler(new AesDecoder())); //参数重构 after(new OutputBuildHandler(new AesEncoder())); //输出构建 after(new OutputSignHandler(new Md5Encoder())); //输出签名 after(new OutputHandler()); //输出 after(new EndBeforeLogHandler()); //日志 after(new EndHandler("v3.api.app")); //结束计时 //添加一批具体的接口处理Bean addBeans(bw -> "api".equals(bw.tag())); } } 修复 rocketmq-solon-plugin ,消费异常时仍返回成功的问题 优化 rabbitmq-solon-plugin ,消费异常时的处理 进一步了解 Solon 《想法与架构笔记》 《生态预览》 《与 Spring Boot 的区别?》 《与 Spring Cloud 的区别?》 项目地址 gitee:https://gitee.com/noear/solon github:https://github.com/noear/solon website:https://solon.noear.org

优秀的个人博客,低调大师

React Native 0.68.1 发布,使用 React 编写原生应用

React Native 0.68.1 现已发布,具体更新内容如下: Changed Android specific 将 React Native Gradle 插件升级到 0.0.6 codegen tasks不需要yarn Fixed 通过将 key function添加到 ShadowNodeWrapper 和相关类来修复 dynamic_cast(RTTI) 将 use-subscription 改为 < 1.6.0 Android specific 仅对 Windows 用户使用 NDK 23 改进对 M1 机器上 Android 用户的支持 Template:如果未设置 enableSeparateBuildPerCPUArchitecture,则指定 abiFilters 修复在 Windows 上构建新 architecture sources 的问题 更新说明:https://github.com/facebook/react-native/releases/tag/v0.68.1

优秀的个人博客,低调大师

Jina 3.0.0 正式发布,云原生神经搜索框架

Jina 是一个神经搜索框架,它使任何人都可以在几分钟内在云上构建可扩展且可持续的神经搜索系统。 Jina 3.0.0 正式发布,该版本的内容主要关于云就绪和集成(cloud-readiness and integration),通过重构架构/通信层,使 Executor 通信更稳定,比以前版本更具可扩展性和健壮性。 Executors: 试用功能 使用 Jina 的新沙箱,甚至不需要从Jina Hub下载 Executor 来测试。只需使用jinahub+sandbox://ExecutorName,就可以在云上运行该 Executor。 这意味着可以更快地评估 Executors ,以找到适合的执行程序,无需下载任何内容或使用本地计算。 from docarray import Document from jina import Flow flow = Flow().add(uses='jinahub+sandbox://Hello') with flow: docs = flow.post('/', inputs=Document(text='world')) print(docs.texts) Flow:使用 Kubernetes 和 Docker Compose 运行 Kubernetes:使用Flow .to_k8s_yaml('./k8s_flow')从一个 Flow 中生成一组部署的 YAML 文件,然后使用 Kubernetes 和 kubectl 来启动和协调 Executors。 Docker Compose:使用flow.to_docker_compose_yaml()从一个 Flow 中生成一个docker-compose.yml文件,然后运行docker-compose up。 DocumentArray:可视化、共享、文档存储 该版本将 Jina 的 DocumentArray 拆分为自己的docarray包,让 Jina 专注于扩展云上的非结构化数据处理: 2.x from jina import Document, DocumentArray, Flow 3.0 from docarray import Document, DocumentArray from jina import Flow 这意味着 Jina 受益于 3.0 版本在 Document 和 DocumentArray 中所做的所有改进,包括强大的可视化和对多个文档存储的支持。 要了解 Jina 3.0.0 的更多信息,请查看迁移指南、文档和全新的 README。 新特性 [c07f3c15]-推送后添加沙箱(#4349) [0eae3281]-添加 blacken docs 到 precommit (#4342) [a5935ab2]- hub:将 --verbose 选项添加到“jina hub push”cli (#4278) [43bf8986]-沙箱:使用给定端口(#4262) [5081722f]- hubble:升级到 hubble api v2 (#4269) [6e24af63]-从 k8s 中隐藏更多参数并编写 yamls (#4242) [48871dd7]-更改从 Executors 返回参数的方式 (#4243) [1d6c0776]-使用来自 k8s 的外部 pod (#4223) [6a9ed78f]-将 docarray 集成为外部依赖项 (#4160) [eea04c36]-支持 jinahub+sandbox (#4130) [a813b151]-将流程导出到 docker compose yaml (#4125) [def0a12f]-Flow 后返回 DocumentArray (#4137) [6e9e7ef3]-将 Flow 导出到 k8s yamls 集(#4089) [933415bf]-星形路由 (#3900) 更多内容请查看更新公告:https://github.com/jina-ai/jina/releases/tag/v3.0.0

优秀的个人博客,低调大师

React Native 0.67.2 发布,使用 React 编写原生应用

React Native 0.67.2 现已发布,具体更新内容如下: Fixed 修复错误“mockModal is not a function”(507b05f4c0) Android specific 修复了 ReactRootView 没有附加 insets 时的潜在崩溃。(6239e2f5ce) 将 OkHttp 从 4.9.1 升级到 4.9.2 以修复 CVE-2021-0341。(e896d21) iOS specific 修复运行pod install --project-directory=ios时未应用Time.h补丁的问题(60cef850bd) Find-node.sh 现在respects .nvmrc (35bcf934b1) 更新说明:https://github.com/facebook/react-native/releases/tag/v0.67.2

资源下载

更多资源
Mario

Mario

马里奥是站在游戏界顶峰的超人气多面角色。马里奥靠吃蘑菇成长,特征是大鼻子、头戴帽子、身穿背带裤,还留着胡子。与他的双胞胎兄弟路易基一起,长年担任任天堂的招牌角色。

Nacos

Nacos

Nacos /nɑ:kəʊs/ 是 Dynamic Naming and Configuration Service 的首字母简称,一个易于构建 AI Agent 应用的动态服务发现、配置管理和AI智能体管理平台。Nacos 致力于帮助您发现、配置和管理微服务及AI智能体应用。Nacos 提供了一组简单易用的特性集,帮助您快速实现动态服务发现、服务配置、服务元数据、流量管理。Nacos 帮助您更敏捷和容易地构建、交付和管理微服务平台。

Spring

Spring

Spring框架(Spring Framework)是由Rod Johnson于2002年提出的开源Java企业级应用框架,旨在通过使用JavaBean替代传统EJB实现方式降低企业级编程开发的复杂性。该框架基于简单性、可测试性和松耦合性设计理念,提供核心容器、应用上下文、数据访问集成等模块,支持整合Hibernate、Struts等第三方框架,其适用范围不仅限于服务器端开发,绝大多数Java应用均可从中受益。

Rocky Linux

Rocky Linux

Rocky Linux(中文名:洛基)是由Gregory Kurtzer于2020年12月发起的企业级Linux发行版,作为CentOS稳定版停止维护后与RHEL(Red Hat Enterprise Linux)完全兼容的开源替代方案,由社区拥有并管理,支持x86_64、aarch64等架构。其通过重新编译RHEL源代码提供长期稳定性,采用模块化包装和SELinux安全架构,默认包含GNOME桌面环境及XFS文件系统,支持十年生命周期更新。

用户登录
用户注册