Concurrency is about dealing with lots of things at once. Parallelism is about doing lots of things at once. Not the same, but related. One is about s ...
分类:
其他好文 时间:
2020-03-21 09:32:11
阅读次数:
59
项目开发过程中, 经常遇到单个页面需要发起多个网络请求, 而且还需要控制执行顺序或者所有请求结束后统一处理数据的情况. 最明显的解决方案就是嵌套,但是如果请求多了,代码确实有点恶心 DispatchQueue 串行队列的创建 并行队列的创建, 参数说明 label: 随意命名,队列的标识 qos(服 ...
分类:
编程语言 时间:
2020-03-20 11:09:31
阅读次数:
699
QMessageBox.about(self, '结果', '猜大了!') QMessageBox.about(self,标题,提示内容) ...
分类:
编程语言 时间:
2020-03-19 15:14:26
阅读次数:
52
Many times ago, i saw a blog about MB sd connect C4 for benz, the author said he like this tool very much, and make a comparison with mb star c3 for a ...
分类:
其他好文 时间:
2020-03-18 20:17:45
阅读次数:
71
Looks like "QT" UI backend has been enabled in OpenCV build. TAB can be preserved to switch between "UI elements" in that case.Check build configurati ...
分类:
其他好文 时间:
2020-03-18 15:34:32
阅读次数:
59
直接用set中的upper_bound! 7-1 A-Leftbest Jack is worried about being single for his whole life, so he begins to use a famous dating app. In this app, the u ...
分类:
其他好文 时间:
2020-03-18 11:56:29
阅读次数:
89
General: Request URL:http://server-b.com/test.txt Referrer Policy:no-referrer-when-downgrade Request Headers: Accept:*/* Accept-Encoding:gzip, deflate ...
分类:
其他好文 时间:
2020-03-17 21:18:34
阅读次数:
89
TAB for more information Boot Entry Linux >root=(hd0,1) #linux img/linux root(hd0, gpt1), (hd1, msdos1) >linux /boot/linuz-X.X.X.img root=/dev/sdb1 >i ...
分类:
其他好文 时间:
2020-03-15 11:48:03
阅读次数:
68
目录准备 mkdir p /home/jenkins_root/sonarQube/{sonarqube_data,sonarqube_extensions,sonarqube_logs,conf} mkdir p /home/jenkins_root/sonarQube/postgreSQL_da ...
分类:
其他好文 时间:
2020-03-15 11:40:41
阅读次数:
172
没想到10来年之后又要用到P/Invoke了,为了能用上RocketMQ,不得不用P/Invoke和rocketmq-client-cpp来打交道,花了两三天吧,把这条路彻底打通了,具体过程另外在写,这里就写一个和P/Invoke有关的小知识点。 在用.NET客户端测试的时候,已经可以接收到消费消息 ...
分类:
其他好文 时间:
2020-03-14 22:13:34
阅读次数:
74