objectives you for and

ChatGPT 实时语音交流, speech-to-text and text-to-speech

前言 如果期望与 ChatGPT 进行实时的语音交流,可以直接使用 ChatGPT 的 APP 就可以了,本文完。😂 当然,这需要每月 20 美刀。如果只是想偶尔使用,似乎用 API 的方式更划算。 应该有已经封装好的,可以直接调用 API 进行实时语音交流的工具,暂时没找到满意的,求推荐。 sp ......

CF467B Fedor and New Game

前言 传送门 本题思维难度:橙。 本题代码难度:橙或红。 综合难度:橙。 本人代码码量位居第二,但是呢,我的空格多,所以,还不来看一下? 题意 根据题目,若两人一人有 $j$,一人没 $j$,则异或后,第 $j$ 位为 $1$。 那么,题目转化为:已知有 $m + 1$ 个数,求出满足 $a_i$ ......
Fedor 467B Game 467 and

读书笔记 -- Junit 实战(3rd)Ch07 用 mock object 进行测试

8.1 mock object 简介 隔离测试:最大优点是能编写专门测试单一方法的测试代码,而不会受到被测方法调用某个对象所带来的副作用的影响。 mock object (mocks):非常适合测试与代码的其余部分隔离开的一部分代码。 mocks 与隔离测试的区别:mock 并不实现任何逻辑,只提供 ......
实战 笔记 object Junit mock

Ubuntu18.04 打开终端报错: ERROR: ld.so: object ‘xxx.so‘ from LD_PRELOAD cannot be preloaded 解决办法

1、问题现象在文件界面打开终端的时候,突然发现开头有一堆报错ERROR: ld.so: object './envlib.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.ERROR: ......
LD_PRELOAD 终端 preloaded PRELOAD 办法

Incorrect string value: '\xE8\x90\xA5\xE4\xB8\x9A...' for column 'business_license_url' at row 1 ;

https://blog.csdn.net/ZHY_ERIC/article/details/124183254 解决方法:重新建表设置为utf8编码格式。或者想偷懒的话,把涉及到这个字段修改为utf8格式。 ......

mysql数据表 Table is marked as crashed and should be repaired 的解决办法

问题 查询时,报 Table is marked as crashed and should be repaired 错误 错误原因 网上查了一下,错误的产生原因,有网友说是频繁查询和更新XXX表造成的索引错误,还有说法是Mysql数据库因某种原因而受到了损坏。 如:数据库服务器突发性断电,在数据表 ......
数据表 repaired crashed 办法 数据

神经网络入门篇:详解向量化实现的解释(Justification for vectorized implementation)

向量化实现的解释 先对几个样本计算一下前向传播,看看有什么规律: 公式1.16: \(z^{[1](1)} = W^{[1]}x^{(1)} + b^{[1]}\) \(z^{[1](2)} = W^{[1]}x^{(2)} + b^{[1]}\) \(z^{[1](3)} = W^{[1]}x^{ ......

AND-MEX Walk

这个题解不错。 首先,10 万组询问,10 万的点和边,能且仅能用并查集判断图的连通性。 看到 & 就要想到非严格单调递减,看到 | 就要想到非严格单调递增。 不难发现样例中答案只有 0,1,2,仔细想想,就会发现不可能存在 2 1 0 的序列,因为一旦有了 2,末尾就一定是 0,和任何数 & 都不 ......
AND-MEX Walk AND MEX

ROS(Robot Operating System)2 Iron Irwini are currently available for Ubuntu Jammy(22.04图形)

安装教程:https://docs.ros.org/en/iron/Installation/Ubuntu-Install-Debians.html ROS2 GPG key 可能下载失败,因为访问 github 网络不好 https://raw.githubusercontent.com/ros/ ......
Operating currently available 图形 Irwini

B. Hossam and Friends

B. Hossam and Friends 题目大意: 有\(n\)对朋友,其中\(m\)对朋友互相不认识,让你选区间,最多可以选多少区间,区间中没有互相不认识的朋友 思路: 遍历每个点作为区间的左端点,必须满足\(a[i]\le a[i+1]\)(\(a[i]\)存储以\(i\)做左端点,右端点的 ......
Friends Hossam and

Cost Aggregation with Transformers for Sparse Correspondence-读书笔记

Cost Aggregation with Transformers for Sparse Correspondence:2022 背景: 该论文结合了SuperGlue和CATs,将里面所有手工制作的部分都代替了。将CATs引入该模型,用Transformer取代手工制作的成本聚合方法,用于具有自 ......

Python Object of type float32 is not JSON serializable

前言 使用 json.dumps(result) 对数据转 JSON 数据出现错误:TypeError: Object of type float32 is not JSON serializable 数据中存在的 float32 数据是 numpy 格式的数据,Python 内置的 float 类 ......
serializable Python Object float JSON

MS-TCN++: Multi-Stage Temporal Convolutional Network for Action Segmentation

论文名: MS-TCN++: Multi-Stage Temporal Convolutional Network for Action Segmentation "MS-TCN++: 用于动作分割的多阶段时域卷积" Shi-Jie Li#, Yazan AbuFarha#, Yun Liu, Mi ......

【题解】CF1891E - Brukhovich and Exams

【题解】CF1891E - Brukhovich and Exams https://www.luogu.com.cn/problem/CF1891E 我们考虑把区间分段:若两个相邻的数不互素,中间分开;若两个相邻的数中有且仅有一个 \(1\),中间分开。那么我们得到了两种区间:全 \(1\) 区间 ......
题解 Brukhovich 1891E Exams 1891

Object.defineProperty(obj,key,val)不可以监听数组变化,需要做特殊处理,所以Vue3.0使用Proxy实现数据监听

关于Vue双向数据绑定说法错误的是( ) A Vue实现双向数据绑定是采用数据劫持和发布者-订阅者模式 B Object.defineProperty(obj,key,val)可以监听数组变化,不需要做特殊处理 C Vue2.0 数据劫持是利用ES5的Object.defineProperty(ob ......
数组 defineProperty 数据 Object Proxy

Nessus 10.6 Auto Installer for macOS Sonoma (updated Nov 2023)

Nessus 10.6 Auto Installer for macOS Sonoma (updated Nov 2023) 发布 Nessus 试用版自动化安装程序,支持 macOS Sonoma、RHEL 9 和 Ubuntu 22.04 请访问原文链接:https://sysin.org/bl ......
Installer updated Nessus Sonoma macOS

VMware Workstation 17.5 Pro Unlocker & OEM BIOS for Windows

VMware Workstation 17.5 Pro Unlocker & OEM BIOS for Windows 在 Windows 上运行 macOS Sonoma 请访问原文链接:https://sysin.org/blog/vmware-workstation-17-unlocker/, ......
Workstation Unlocker Windows VMware 17.5

[V8] Object & array copying

import { createBenchmark } from "./benchmark"; class MyArray extends Array {} const SIZE = 100; const obj: Record<string, number> = {}; /** * { * _0: ......
copying Object array amp V8

sql中left/right join on and where条件的使用

有A和B两张表,使用left join时, 左表属于主表 知识点如下: 多表左连接和右连接会生成一张临时表, where 条件是针对最后的临时表进行过滤的 on条件是针对非主表进行过滤的 结论: 1.对左表的条件要添加在where 后面,不能放在on后面,因为左表属于主表 2.对右表添加条件是放在O ......
条件 right where left join

A Latent Hidden Markov Model for Process Data读文献笔记

【个人笔记】:笔记(A Latent Hidden Markov Model for Process Data) \ Summary Response process data from computer-based problem-solving items describe respondent ......
文献 Process 笔记 Latent Hidden

TOP 18 BEST DIAGNOSTIC TOOLS FOR TRUCKS IN 2023

Why Heavy Duty Scan Tool Is Necessary?Heavy-duty scan tools are essential for commercial truck fleet operators and maintenance technicians because the ......
DIAGNOSTIC TRUCKS TOOLS BEST 2023

RuntimeError: The scheduler seems to be running under uWSGI, but threads have been disabled. You must run uWSGI with the --enable-threads option for the scheduler to work报错

解释 RuntimeError: The scheduler seems to be running under uWSGI, but threads have been disabled. You must run uWSGI with the --enable-threads option fo ......

python安装pandas提示ERROR: No matching distribution found for pandas

安装pandas失败,提示: ERROR: No matching distribution found for pandas 解决办法: pip install pandas -i https://pypi.douban.com/simple 记着用https。 ......
pandas distribution matching python ERROR

CF718D Andrew and Chemistry

题目描述: 给你一个有\(n\)个点的树。当每一个点的度不超过\(4\)时这棵树是合法的。现在让你再添加一个点,在树仍然合法的情况下,一共有多少种树。 当两棵树同构时视作同一种。 保证输入的树是合法的。 数据范围: \(1\leq n\leq 10^5\) \(1\leq u_i,v_i\leq n ......
Chemistry Andrew 718D 718 and

A Learning Method for Feature Correspondence with Outliers读书笔记

A Learning Method for Feature Correspondence with Outliers 2022年 论文地址:A Learning Method for Feature Correspondence with Outliers | IEEE Conference Pub ......

Tenzing and Random Operations CF1842G 题解

设 \(m\) 次选的位置分别为 \(b_{1\sim m}\)。 于是答案为 \(\mathbb E(\prod\limits_{i = 1}^{n}(a_i + \sum\limits_{j = 1}^{m}[b_j \le i]\cdot v)) = \frac{S}{n^m}\)。 首先考虑 ......
题解 Operations Tenzing Random 1842G

剖析网络测量:Counting and Measuring Network Traffic

全文共18000字,讲解了网络测量和计数中的多方面知识:网络测量的意义、网络测量的手段分类、网络测量在实现上的挑战、以及解决这些挑战所用到的技术和协同方案等等。 参考书籍有:《Network Algorithmics: An Interdisciplinary Approach to Designi ......
Measuring Counting Network Traffic 网络

water pollution prevention and control action plan

Water Pollution Prevention and Control Action Plan Is is also known as Shuishitiao or Water Ten Plan.China's central authorities attach great importan ......
prevention pollution control action water

28.循环语句for in

循环语句-for-in Python并没有提供类似C语言中那种传统意义上的for循环,而是提供了一种专门处理字符串,元组,列表,字典等可迭代的序列类型数据的增强型for循环。 遍历可迭代对象 使用for-in循环处理可迭代对象,可以使操作过程变的极其简单。 遍历字符串 s = "Hello Hogw ......
语句 for 28 in

G - Cut and Reorder 状压DP

我是链接 一眼状压DP,选出一些a从前往后塞,f[i][j]表示选出的a状态为i,且结尾为j时最小花费 转移就看上一个状态结尾和当前结尾在a里的下标是否顺着挨着,不是顺着挨着就要加个c 这样会tle #include<bits/stdc++.h> #define int long long usin ......
Reorder Cut and