随笔分类 -  日常造bug

摘要:Like many luxury goods, sailboats vary in value as they age and as market conditions change. The attached “2023_MCM_Problem_Y_Boats.xlsx” file include 阅读全文
posted @ 2023-03-31 06:30 攻城狮小Liu 阅读(180) 评论(0) 推荐(0)
摘要:Background The International Olympic Committee (IOC) is facing a decreasing number of bids to host the Olympics – both Summer and Winter Games[1]. In 阅读全文
posted @ 2023-03-31 06:26 攻城狮小Liu 阅读(62) 评论(0) 推荐(0)
摘要:python的每个模块的包中,都有一个__init__.py文件,有了这个文件,我们才能导入这个目录下的module。 那么,__init__.py还有什么别的功能呢? 其实,__init__.py里面还是可以有内容的,我们在导入一个包时,实际上导入了它的__init__.py文件。 我们可以再__ 阅读全文
posted @ 2022-02-22 11:53 攻城狮小Liu 阅读(1240) 评论(0) 推荐(0)
摘要:题目翻译 Problem A: There are many types of bicycle road races including a criterium, a team time trial, and an individual time trial. A rider’s chance of 阅读全文
posted @ 2022-02-18 08:27 攻城狮小Liu 阅读(771) 评论(0) 推荐(0)
摘要:初级版 高级版 阅读全文
posted @ 2022-01-28 01:21 攻城狮小Liu 阅读(124) 评论(0) 推荐(0)
摘要:问题: 解决idea maven配置了 tomcat7-maven-plugin 却在插件窗口不显示的问题 解决方法: 我们在创建maven项目的时候 默认存在的那个plugins标签是在pluginManagement标签下的而pluginManagement标签只是对插件的一种声明 而不会对插件 阅读全文
posted @ 2022-01-26 12:52 攻城狮小Liu 阅读(453) 评论(0) 推荐(1)
摘要:1.修改全局设置 修改Project->Project Language Level->选择版本比当前jdk版本低的等级 2.修改model设置 model->选择model->Language->选择版本比当前jdk版本低的等级 3.修改setting设置 编译器,Java 编译器 版本 阅读全文
posted @ 2022-01-24 19:46 攻城狮小Liu 阅读(669) 评论(0) 推荐(0)
摘要:看到 SSL,明白错误了。 在连接后面加上: ?useUnicode=true&characterEncoding=utf8&useSSL=false url: String url = "jdbc:mysql://127.0.0.1:3306/sys?useUnicode=true&charact 阅读全文
posted @ 2022-01-23 22:40 攻城狮小Liu 阅读(469) 评论(0) 推荐(0)
摘要:CommandNotFoundError: Your shell has not been properly configured to use 'conda activate' 完整报错: CommandNotFoundError: Your shell has not been properly 阅读全文
posted @ 2022-01-19 09:59 攻城狮小Liu 阅读(2951) 评论(0) 推荐(0)
摘要:问题代码: #include <bits/stdc++.h> #include <vector> using namespace std; int main() { //string 要引用 string s = "hello"; for (auto &i : s) //书上说i 是char类型,那 阅读全文
posted @ 2022-01-18 21:50 攻城狮小Liu 阅读(59) 评论(0) 推荐(0)
摘要:>>> result = reader.readtext('2.png')Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Users\xuyic\Anaconda3\envs\pytorc 阅读全文
posted @ 2022-01-17 22:14 攻城狮小Liu 阅读(1973) 评论(0) 推荐(0)
摘要:血的教训:Python 一定要选 3.6 或者 3.7 太早的Python Miniconda支持有问题太晚的Python版本Tensorflow或者Pytorch不支持 Python: conda create -n pytorch python=3.7 Jupyter: pip install 阅读全文
posted @ 2022-01-17 11:28 攻城狮小Liu 阅读(69) 评论(0) 推荐(0)
摘要:conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch 可以正常安装完成,但是import torchvision出错: C:\Users\xuyic\anaconda3\envs\pytorch\lib\si 阅读全文
posted @ 2021-12-30 23:49 攻城狮小Liu 阅读(4027) 评论(0) 推荐(0)
摘要:安装(二选一)1. iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1')) 2. @powershell -NoProfile -ExecutionPolicy Bypass -Com 阅读全文
posted @ 2021-12-30 21:59 攻城狮小Liu 阅读(87) 评论(0) 推荐(0)
摘要:用一句话来概括,CN1主要定位于承载普通质量的互联网业务,而CN2则定位于承载企业VPN业务、中国电信的自营业务及高质量的互联网业务,CN2 GIA又比GT要好一些。 顺序:CN2 GIA>CN2 GT>CN1 一、电信CN1/163骨干网电信CN1或者说163骨干网(民间叫法),也就是我们通常所说 阅读全文
posted @ 2020-10-04 07:18 攻城狮小Liu 阅读(1657) 评论(0) 推荐(0)
摘要:大佬们对于小白问的问题经常直接就是一个rm -rf /*丢过去(逃,被丢了很多次,所以印象深刻),但玩了这么久的梗,当我真正想删库的时候,这条命令却然并卵(滑稽,删库跑路都跑不成)。 查看了下文件属性 linux drwxr-xr-x 已经是root了,权限7没啥问题呀,又研究了下,发现文件有一层不 阅读全文
posted @ 2020-10-03 22:47 攻城狮小Liu 阅读(907) 评论(0) 推荐(0)