会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
宇舟
Powered by
博客园
博客园
|
首页
|
新随笔
|
联系
|
订阅
|
管理
上一页
1
2
3
4
5
6
7
下一页
2020年6月18日
C#多线程开发:并行、并发与异步编程
摘要: 概述 现代程序开发过程中不可避免会使用到多线程相关的技术,之所以要使用多线程,主要原因或目的大致有以下几个: 1、 业务特性决定程序就是多任务的,比如,一边采集数据、一边分析数据、同时还要实时显示数据; 2、 在执行一个较长时间的任务时,不能阻塞UI界面响应,必须通过后台线程处理; 3、 在执行批量
阅读全文
posted @ 2020-06-18 23:15 宇舟
阅读(1065)
评论(0)
推荐(0)
编辑
2020年5月12日
delphi的代码编辑器中不能换行
摘要: 可能按了键盘上的ins键,有些笔记本的键zhidao盘这个键和换行键距离太专近。再按一下ins键就行了。属或者在代码编辑器中单击右键,在右键菜单中选择子菜单Properties项,在弹出的窗口的Generald页,将insert mode(插入模式)项选中。
阅读全文
posted @ 2020-05-12 10:00 宇舟
阅读(404)
评论(0)
推荐(0)
编辑
2020年5月5日
Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::23 80] Fetched 1,348 kB in 24min 50s (904 B/s)
摘要: 1、问题描述:Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1360:8001::23 80] Fetched 1,348 kB in 24min 50s (904 B/s) 2、分析: ubuntu默认走ipv6,但是我更改
阅读全文
posted @ 2020-05-05 18:10 宇舟
阅读(742)
评论(0)
推荐(0)
编辑
E: could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporary unavailable) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is an other process using it
摘要: . 问题详细提示如下: E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarly unavailable) E: Unable to acquire the dpkg frontend lock
阅读全文
posted @ 2020-05-05 10:18 宇舟
阅读(183)
评论(0)
推荐(0)
编辑
2020年4月29日
ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead
摘要: 解决方案: https://blog.csdn.net/ShuqiaoS/article/details/88420326
阅读全文
posted @ 2020-04-29 00:01 宇舟
阅读(3365)
评论(0)
推荐(0)
编辑
2020年4月28日
ubuntu 16.04 安装cuda9.0遇到的一些坑
摘要: 第一坑: 1 ubuntu16.04 安装cuda9.0报错 问题就是出在这里,提示一个X server正在运行。也就是我之前装的显卡驱动。 解决办法,在sudo sh cuda_9.0.176_384.81_linux.run,之后会提示安装信息,安装驱动的时候一定要选择no 第二个坑: 解决方案
阅读全文
posted @ 2020-04-28 21:56 宇舟
阅读(1138)
评论(0)
推荐(0)
编辑
C# 获取外网IP地址
摘要: 直接上代码:public static string getLocalIP() { String direction = ""; string url = "http://checkip.dyndns.org/"; HttpWebRequest request = (HttpWebRequest)W
阅读全文
posted @ 2020-04-28 11:18 宇舟
阅读(362)
评论(0)
推荐(0)
编辑
2020年4月27日
anconda安装pytorch
摘要: 执行的命令:conda install pytorch torchvision cpuonly -c pytorch 官网:https://pytorch.org/
阅读全文
posted @ 2020-04-27 23:02 宇舟
阅读(1025)
评论(0)
推荐(0)
编辑
ubuntu中如何创建pycharm快捷方式图标
摘要: 1.在/usr/share/applications,首先在该目录下创建一个Pycharm.desktop sudo gedit /usr/share/applications/Pycharm.desktop 2 然后输入以下内容: [Desktop Entry]Type=ApplicationNa
阅读全文
posted @ 2020-04-27 07:22 宇舟
阅读(559)
评论(0)
推荐(0)
编辑
2020年4月25日
unbuntu中安装pycharm和anaconda3
摘要: 一:puycharm安装 linux的PyCharm的社区版(免费):https://www.jetbrains.com/pycharm/download/download-thanks.html?platform=linux&code=PCC step1:下载安装包后,进行解压。例如将下载好的社区
阅读全文
posted @ 2020-04-25 23:43 宇舟
阅读(331)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
5
6
7
下一页