ins
English Learning Articles 2023-06-08 Multiple insomnia symptoms raise stroke risk in people under 50, study says
Multiple insomnia symptoms raise stroke risk in people under 50, study says If you have trouble falling asleep or staying asleep, wake up too early mo ......
在intelj idea中Debug启动tomcat时Address already in use:JVM_Bind
在debug重启web应用时,偶尔会报如下错误:Address already in use:JVM_Bind,一看端口占用 打开任务管理器,发现并没有java相关的进程。所以无法通过杀死进程来解除接口占用,可以通过如下方式解决 1.编辑服务器配置,Edit Configuration 2.点击St ......
golang导入私有仓库报错:“server response: not found:xxx: invalid version: git ls-remote -q origin in xxx“
1.问题:go get导入私有仓库报错 ➜ go get "devops.gitlab.xxx.com/test/kafka-utils" go: devops.gitlab.xxx.com/test/kafka-utils@v0.0.1: verifying go.mod: devops.gitl ......
Three.js系列-报错export ‘Geometry‘ (imported as ‘THREE‘) was not found in ‘three‘
## 今天遇到报错export 'Geometry' (imported as 'THREE') was not found in 'three' ``` port 'Geometry' (imported as 'THREE') was not found in 'three' (possible ......
数据结构 in Golang:Hash Tables(哈希表)
# 数据结构 in Golang:Hash Tables(哈希表) ### 场景 - 水果店的价格表: - 苹果 Apple:3元 - 香蕉 Banana:4元 - 桃子 Peach:2元 - 梨 Pear:3元 - 找到一种水果的价格: - 可以使用 binary search,通过名称来查找,耗 ......
13_How to Deploy NodeJs app on Ubuntu in Production
地址:https://www.codewithharry.com/blogpost/deploy-nodejs-app-on-ubuntu/ How to deploy a Node.js application in production In this post, we will see how ......
9_How to install phpMyAdmin on Nginx (in 5 minutes)
地址:https://www.codewithharry.com/blogpost/install-phpmyadmin-ubuntu-nginx/ How to install PhpMyAdmin on Ubuntu running Nginx (LEMP stack) In this post ......
10_How deploy a Django application using Nginx & Gunicorn in Production
地址:https://www.codewithharry.com/blogpost/django-deploy-nginx-gunicorn/ How to host Django Application using gunicorn & nginx in Production In this po ......
Backtrader - Sell/Buy signal labels are missing in the plotting
1.0 Missing Sell/Buy signal labels 2.0 Solution cerebro = bt.Cerebro(stdstats=True, cheat_on_open=True) stdstats=True,用回預設的stdstats就能顯示Sell/Buy signal ......
flutter 的 in_app_web_view实现下载功能
flutter与前端交互,利用in_app_web_view实现下载功能: 首先下载库,终端输入 flutter pub add flutter_inappwebview 之后导出 import 'package:flutter_inappwebview/flutter_inappwebview.d ......
sudo: unable to resolve host localhost: Temporary failure in name resolution
Ubuntu环境, 假设这台机器名字叫abc(机器的hostname), 每次执行sudo 就出现这个警告讯息: sudo: unable to resolve host abc虽然sudo 还是可以正常执行, 但是警告讯息每次都出来,而这只是机器在反解上的问题, 所以就直接从/etc/hosts ......
US firm's official entry into segment to motivate more Chinese peers to join in
Apple Inc's augmented reality headset will help accelerate the development of the AR industrial chain in China, and push the product not only for ente ......
算法 in Golang:Breadth-first search(BFS、广度优先搜索)
# 算法 in Golang:Breadth-first search # (BFS、广度优先搜索) ## 最短路径问题 Shortest-path problem - 从 A 到 F 点有多条路径 ## 解决问题的算法 Breadth-first Search(广度优先搜索) 1. 将问题建模为图 ......
Apple Vision Pro All In One
Apple Vision Pro All In One
以下是内容全部是个人观点,仅供参考!
优点
一款具有跨时代技术革命的 VR/AR 眼镜;
UI 交互体验一如既往丝滑、简洁、易用的 Apple 风格;
可以取代大屏显示器、大屏电视、电影院的巨幕等外部显示设备;
...
缺点
目前价格太贵,不... ......
算法 in Golang:Quicksort(快速排序)
# 算法 in Golang:Quicksort(快速排序) ## Quicksort(快速排序) - 快速排序 O(nlog2^n),比选择排序要快 O(n²) - 在日常生活中经常使用 - 使用了 D & C 策略(分而治之) ## 使用 Quicksort 排序数组 - 不需要排序的数组(也就 ......
算法 in Golang:Recursion(递归)
# 算法 in Golang:Recursion(递归) ## 递归算法 ### 场景:在套娃中找到宝石 ### 可以这样做 - while 没找到: - if 当前项 is 宝石: - return 宝石 - else if 当前项 is 套娃: - 打开这个套娃 - if 当前项 is 宝石: ......
API全场景零码测试机器人,华为云发布ATGen in CodeArts TestPlan
摘要:华为云ATGen现开放对外邀测,欢迎预约。 本文分享自华为云社区《API全场景零码测试机器人,华为云发布ATGen in CodeArts TestPlan》,作者:华为云头条 。 众所周知,软件服务及组件之间的交互主要依赖大量的API接口。 以华为云300多个商用云服务为例,平均每个服务含5 ......
错误记录:创建mysql+springboot的demo报BeanCreationException: Error creating bean with name 'roleRepository' defined in xx.repository.RoleRepository defined in @EnableJpaRepositories declared on JpaConfigration
java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.lo ......
Contrastive Learning for Representation Degeneration Problem in Sequential Recommendation
[TOC] > [Qiu R., Huang Z., Ying H. and Wang Z. Contrastive learning for representation degeneration problem in sequential recommendation. WSDM, 2022.] ......
How do you display code snippets in MS Word preserving format and syntax highlighting?
How do you display code snippets in MS Word preserving format and syntax highlighting? 回答1 Here is the best way, for me, to add code inside word: Go t ......
Unexpected character '"' (code 34) in DOCTYPE declaration; expected a space between public and system identifiers
1)错误信息 Caused by: javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service. at org.apac ......
Fields in a "Serializable" class should either be transient or serializable
如果某个字段不能被序列化,则需要将其设置为`transient`,
确保泛型参数必须实现序列化,将其限定为T extends Serializable ......
Error系列-unexpected error occurred self signed certificate in certificate chain
## 执行yarn install 或者 其他命令遇到这个报错: error An unexpected error occurred: "https://XXX/XXX self signed certificate in certificate chain". ``` XXX cloud-ser ......
算法 in Golang:Selection sort(选择排序)
# 算法 in Golang:Selection sort(选择排序) ## Selection Sort(选择排序) 假设有一个数组,它里面有6个元素,它的顺序是乱的,现在我们想对这个数组进行排序,就是从小到大进行排序。 选择排序是挨个遍历元素,把最小的放在最前面,再把剩余的遍历,把最小的放在后面 ......
mybatis中使用where in
MyBatis支持使用标签来实现where in语句的写法。 下面是一个示例,假设我们有一个User实体类,其中包含一个List类型的属性roles``,表示用户拥有的角色列表。我们想要查询所有拥有admin或user`角色的用户: ```xml ``` 在上面的示例中,标签遍历roles列表中的每 ......
算法 in Go:Binary Search(二分查找)
# 算法 in Go:Binary Search(二分查找) ## Binary Search(二分查找) ### Binary Search(二分查找) - 猜数 - 1、2、3、4、5、6、7、8 - 排好序一个集合,先从中间开始猜,根据提示就可以排除一半,在剩余的一半里,再从中间开始猜,依此类 ......
[ABC201D] Game in Momotetsu World 题解
[Game in Momotetsu World](https://www.luogu.com.cn/problem/AT_abc201_d) ### 题目大意 在一个 $n\times m$ 的网格中,存在红色和蓝色两种格子,红色格子用 `-` 表示,蓝色格子用 `+` 表示。 现在 Takaha ......
git add 时报错 warning: in the working copy of 'package-lock.json', LF will...
来源:https://blog.csdn.net/qq_43842093/article/details/128471953 问题: 执行 git add . 时报错: 原因: 换行符的问题, Windows下换行符和Unix下的换行符不一样,git会自动转换。 解决办法: 执行如下命令: git ......
Achieving a Better Stability-Plasticity Trade-off via Auxiliary Networks in Continual Learning论文阅读笔记
## 摘要 连续学习过程中的稳定性-可塑性权衡是一个重要的问题。作者提出了Auxiliary Network Continual Learning (ANCL),通过auxiliary network提高了模型的可塑性。 ## 方法 ### The Formulation of Auxiliary ......
httpclient in .net _ 压缩
压缩 优势: 小带宽, 更快的响应 压缩格式 gzip, deflate(普遍 压缩 格式) how 获取 压缩文件? Accept-Encoding: 设置为 压缩格式 SocketsHttpHandler:启用 自动解压 how 发送 压缩文件? client:压缩 request body 内 ......