39

「雕爷学编程」Arduino动手做(39)——DS18B20温度传感器3

37款传感器与模块的提法,在网络上广泛流传,其实Arduino能够兼容的传感器模块肯定是不止37种的。鉴于本人手头积累了一些传感器和执行器模块,依照实践出真知(一定要动手做)的理念,以学习和交流为目的,这里准备逐一动手试试多做实验,不管成功与否,都会记录下来——小小的进步或是搞不掂的问题,希望能够抛 ......
传感器 温度 Arduino 18B B20

「雕爷学编程」Arduino动手做(39)——DS18B20温度传感器2

37款传感器与模块的提法,在网络上广泛流传,其实Arduino能够兼容的传感器模块肯定是不止37种的。鉴于本人手头积累了一些传感器和执行器模块,依照实践出真知(一定要动手做)的理念,以学习和交流为目的,这里准备逐一动手试试多做实验,不管成功与否,都会记录下来——小小的进步或是搞不掂的问题,希望能够抛 ......
传感器 温度 Arduino 18B B20

import { eventemitter } from 'events' eventemitter 等于null

运行 cnpm install events --save 不要用 npm package.json "events": "^3.3.0", 报错 Module "events" has been externalized for browser compatibility. Cannot acce ......
eventemitter import events 39 from

Python报错 | AttributeError: 'NoneType' object has no attribute 'group'

**报错信息** 使用Python正则匹配的时候,报如下错误: ```python AttributeError: 'NoneType' object has no attribute 'group' ``` **错误原因** 报错翻译过来是: ```python 属性错误:“NoneType”对象 ......
39 AttributeError attribute NoneType Python

Mayor's posters

Smiling & Weeping 你是我年少的欢喜,这句话反过来也是你⁄(⁄ ⁄•⁄ω⁄•⁄ ⁄)⁄ Description The citizens of Bytetown, AB, could not stand that the candidates in the mayoral elect ......
posters Mayor 39

pip install flask 时,总包blinker uninstall 失败(ERROR: Cannot uninstall 'blinker'. It is a distutils installed project and thus we cannot ...)

今天用pip install flask时,总因为uninstall blinker失败,报错如下: ``` ERROR: Cannot uninstall 'blinker'. It is a distutils installed project and thus we cannot accur ......
uninstall 总包 blinker distutils installed

error 'fun' is assigned a value but never used @typesc

在vue3+ts 的项目中在进行eslint 配置之后 在main.ts 进行测试 出现了 error 'fun' is assigned a value but never used @typesc 错误’fun’被分配了一个值,但从未使用过没有未使用的变量 在 package.json 的 ru ......
assigned typesc error value never

cuffmerge报错解决方案:run_log = open(logging_dir + "run.log", "w", 0), ValueError: can't have unbuffered text I/O

运行命令`${src}/cuffmerge -o ./merge -g ${input}/gencode.v44.primary_assembly.annotation_sorted.gtf merge.list`时报错: >run_log = open(logging_dir + "run.log ......

Linux shell | 竖线管道符号放变量 无法访问'|': 没有那个文件或目录 无法访问'wc': 没有那个文件或目录

工作中遇到一个实际问题,文本编码转换。 原始命令: ```bash cat utf8.log | iconv -c -f UTF-8 -t GBK| tee gbk.log ``` 因为某种(方便修改、方便替换)原因,想把 “| iconv -c -f UTF-8 -t GBK|”命令这段,想放到变 ......
竖线 文件 目录 39 变量

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 1023: unexpected end of data

Connected to pydev debugger (build 213.6461.77)Traceback (most recent call last): File "PyCharm Community Edition 2021.3.1\plugins\python-ce\helpers\p ......

C# 使用EPPlus 操作excel The given key '8' was not present in the dictionary.

使用EPPlus 删除excel中某一个sheet中的几列的时候,出现了The given key '8' was not present in the dictionary.的报错; 最开始的写法,是从前往后删除,出现错误//ExcelWorksheet sheet = package.Workb ......
dictionary present EPPlus excel given

安装 MySQL for Windows 时报错 The configuration for MySQL Server 8.0.34 has failed. You can find more information about the failures in the 'Log' tab. 解决方法

今天在安装 MySQL for Windows 时报错 ```txt The configuration for MySQL Server 8.0.34 has failed. You can find more information about the failures in the 'Log' ......
MySQL configuration information for the

idea启动总是报错Error running 'Tomcat 9.0.6': Unable to open debugger port (127.0.0.1:57757): java.net.SocketException "socket closed",但是我57757端口实际上并没有被使用

问题:当遇到idea启动报错"Error running 'Tomcat 9..6': Unable to open debugger port (127.0.0.1:57757): java.net.SocketException "socket closed""时,很多人可能会尝试改变debug ......
57757 quot SocketException 端口 debugger

TypeScript 二维数组生成 要注意初始化 TypeError: Cannot set properties of undefined (setting '1')

private _dataMap:Vec3[][] = []; private _userDataMap:number[][] = []; init() { for(let i = 1; i <= 4; i++){ for(let j = 1; j <= 4; j++){this._dataMap[ ......

CF1530H Turing's Award

参考官方题解。 你发现这个覆盖不太好考虑,考虑时间倒流,变成如下形式: > 一开始,小 A 的位置上有一个数 $a_n$,然后对于接下来 $n-1$ 步,每次小 A 可以向左走/向右走/不动,然后如果此时小 A 所站的位置上**没有数**,就写上 $a_i$,求最后形成序列的最长上升子序列长度。 考 ......
Turing 1530H Award 1530 CF

flak创建数据库报 NameError: name 'MySQLdb' is not defined

因为pycharm中无法安装MySQLdb ,安装会报错 所以安装pymysql 然后替换MySQLdb 进入到mysqldb.py文件中 替换mysqldb方法,导入pymysql 取别名为MySQLdb 再次执行便能成功 ......
NameError MySQLdb defined 数据库 数据

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

###问题提示: ` NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and runn ......

Linux系统Apache报错httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message

解决办法: 在配置文件中加一句ServerName localhost:端口号 # echo "ServerName localhost:8068" >> /etc/httpd/conf/httpd.conf 重启Apache即可解决。 ......

Null, nullptr, 0, '\0', '0', "0", '',"",' '," "的区别

### Null, nullptr, 0, '\0', '0', "0", '',"",' '," "的区别 - `Null`: `Null`指的是空指针,在c中用**(void*)0**表示,在c++中用**0**表示 1. 任何类型的两个空指针**比较相等** 2. C标准没有说空指针与**指向 ......
quot 39 nullptr Null

vue项目安装lees-loader报错:Module build failed: Error: Cannot find module 'less'

1-新搭建的一个项目,运行时报Module build failed: Error: Cannot find module 'less'错误 原因:vue文件里面的style添加了 lang="less" 解决方案: 安装less npm install less 2-安装less后运行报错: Mo ......
lees-loader 项目 Module Cannot failed

Docker: Temporary failure resolving 'deb.debian.org'

坑爹啊 docker安装某个软件 然后就报这个错 然后重启下docker就好了 Docker: Temporary failure resolving 'deb.debian.org' 或者修改下/etc/docker/daemon.json 再重启 { "dns": ["8.8.8.8", "8. ......
Temporary resolving failure Docker debian

阿里云centos Can't connect to MySQL server on ':3306' (61)

Can't connect to MySQL server on ':3306' (61) /etc/mysql/my.cnf 修改bind-address也不行mysql给root远程授权也不行阿里云安全组也添加了3306最后发现是防火墙问题解决办法 firewall-cmd --zone=pub ......
39 connect centos server MySQL

uniapp专栏 —— vscode报错 'uni' is not defined.

## 写在前面 这些内容基于通过cli搭建的uniapp项目,使用了vite4,ts4.9,vue3(组合式API,setup语法糖)。如果有版本不一致,请谨慎参考。 ## 正文 uni是一个全局变量,但是eslint没有识别到。 ### 避免这个错误报错 在.eslintrc.js文件中加上配置 ......
defined 专栏 uniapp vscode 39

[未解决] vue transform-blocks解析源代码报错:Illegal tag name. Use '&lt;' to print '<'.

报错内容: [vite] Internal server error: Illegal tag name. Use '<' to print '`标签后报错,但其他vue文件可以正常读取和展示。 报错的文件,去掉``标签就可以正常加载。报错的方法是vue-compiler的`baseParse()` ......

invalidate the cache in Spark by running 'REFRESH TABLE tableName' command in SQL or by recreating the Dataset/DataFrame involved

``` ... 1 more Caused by: java.io.FileNotFoundException: File does not exist: hdfs://ns1/user/hive/warehouse/dw.db/dw_uniswapv3_position_detail/pk_day ......

加速github访问、git使用及其原理、错误error: remote origin already exists,error: src refspec master does not match any,fatal: unable to access 'https://github.com/xxx.git'(你的仓库地址)

访问Github Github:https://github.com 修改hosts 1.在C:\Windows\System32\drivers\etc找到hosts 2.将hosts文件复制到其他位置(D盘等等),再复制一份备份 3.将 #github 20.205.243.166 github ......
github error 仓库 git 原理

关于网址最后的'/'

如果是True, 在url.py里配置成 path("login/user/", view.user) 浏览器中输入 http://192.168.0.1:8000/login/user 回车之后会在后面自动加/ 请求方式只能是GET 不能是POST ......
网址 39

Troubles in RunBase's Pack and Unpack Methods

### Trouble description: > When user processed the batch job after clearing the usage data, dialog's parameters will catch the current data from proce ......
Troubles RunBase Methods Unpack Pack

IDEA 启动报错:Error running 'DemoApplication': Command line is too long. Shorten command line for DemoApplication or also for Spring Boot default configuration

IDEA启动报错: Error running 'DemoApplication': Command line is too long. Shorten command line for DemoApplication or also for Spring Boot default configur ......

TypeError: iter() returned non-iterator of type 'MyIterable'

1 class MyIterable: 2 def __init__(self): 3 self.data = [1, 2, 3] 4 5 def __getitem__(self, index): 6 return self.data[index] 7 8 def __iter__(self): ......