最新发布第18页
排序
What calls the first async function? 什么调用第一个异步函数?
You can only call async functions from other async functions, because they might need to suspend themselves and everything that is waiting for them. This leads to a bit of a chicke...
What is actor reentrancy and how can it cause problems? 什么是 actor 重入性,它如何导致问题?
Actor-isolated functions are reentrant, which means it's possible for one piece of work to begin before a previous piece of work completes. This opens the possibility of subtle bug...
Release checklist 版本清单
Sure, all your tests pass, but how can you make sure your app functions properly? Most large projects have a solution called a release checklist, and here I want to share mine wit...
传统计算机视觉
基本处理流程 传统计算机视觉流程,如下图所示 传统计算机视觉流程 擅长 采集 图像 和 视频 对图像、视频进行预处理 灰度化、背景分离、去噪... 图像的旋转、缩放、裁剪⋯ 从图像、视频中提取特...
MySQL 修改 user 表后无法登录
修改my.cnf文件 打开my.cnf文件 vim /etc/my.cnf 把 sql-mode 的STRICT_TRANS_TABLES去掉 修改sql-mode 停止MySQL服务 输入以下的命令,停止MySQL服务。 systemctl stop mysqld.service 停止MyS...
Android 组件
基本介绍 Android 有四种主要的组件。 Android 的四大组件 Activity 具有用户界面的单个屏幕。 用户交互的入口。 Services 在后台运行,用户执行无用户界面的长时间操作/任务。 Broadcast Recei...
Retrofit
Retrofit 是 Square 出品的一个 类型安全的 HTTP 客户端,用于 Android / Java / Kotlin 中进行网络请求。 基于 OkHttp 支持 协程(suspend) 支持 Gson / Moshi 解析 基本使用 1. 添加依赖 dep...
ROOM Database
Room Database 是 Android 官方提供的本地数据库框架,是 Jetpack 架构组件的一部分,用于在应用中以安全、简洁、高效的方式存储本地数据。它在 SQLite 之上提供了更高层的抽象,让开发者更容易...
What’s the difference between Sequence, AsyncSequence, and AsyncStream? Sequence、AsyncSequence 和 AsyncStream 之间有什么区别?
Swift provides several ways of receiving a potentially endless flow of data, allowing us to read values one by one, or loop over them using for, while, or similar.Swift ...









