V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  chenqh  ›  全部回复第 69 页 / 共 103 页
回复总数  2051
1 ... 65  66  67  68  69  70  71  72  73  74 ... 103  
2019-04-01 00:55:47 +08:00
回复了 myliang 创建的主题 JavaScript 人生第一个过 4K Star 的 项目 x-spreadsheet 感谢各位大佬的支持
厉害
@noaccounthere 3G 如果做到极限,感觉没区别,反正我只看带宽
我手机只想要 无线带宽,逃,其他的和我没有关系
2019-03-30 23:34:09 +08:00
回复了 BigPig666 创建的主题 职场话题 面了半个月,拿了一个满意的 offer,给自己放一礼拜假
沾沾喜气
技术太菜,进不了
坚果云?
2019-03-25 11:32:10 +08:00
回复了 formulahendry 创建的主题 分享发现 代码编辑器横评:为什么 VS Code 能拔得头筹
vscode 才 4 年
2019-03-24 22:54:06 +08:00
回复了 agdhole 创建的主题 浏览器 试用了下微软 Chromium 版 Edge
我选择 ff,毕竟可以 linux
面试的时候你就有的哭了
2019-03-23 02:16:35 +08:00
回复了 burgleaf 创建的主题 问与答 今天被撸羊毛党狠狠上了一课
感觉羊毛党水好深
进不了,告辞
直接按照 http 的 status 和 message
2019-03-18 21:54:33 +08:00
回复了 inu1255 创建的主题 程序员 撸了个 vscode 管理 snippet 的插件
能指点我下 vscode 插件开发吗?
2019-03-18 21:42:59 +08:00
回复了 liuzhaowei55 创建的主题 Go 编程语言 所以现在 Go 到底应该用什么包管理器?
@silenceshell 现在不是 2019 年吗
2019-03-16 02:39:56 +08:00
回复了 lidfather 创建的主题 程序员 面试时候问你项目中遇到什么难点应该怎么答?
我也没有什么难点呀
2019-03-13 22:31:23 +08:00
回复了 hanssx 创建的主题 Python 使用 pycharm 对 Python 项目调试遇到非常诡异的现象
感觉是 log.py 文件的问题
```
def emit(self, record):
try:
message = stdout_encode(self.format(record))
stream = self.stream

if not self.is_tty:
if message and message[0] == "\r":
message = message[1:]
stream.write(message)
else:
self.output_colorized(message)
stream.write(getattr(self, 'terminator', '\n'))

self.flush()
except (KeyboardInterrupt, SystemExit):
raise
except IOError:
pass
except Exception as e:
self.handleError(record)
```
这个改成
```
def emit(self, record):
try:
message = stdout_encode(self.format(record))
stream = self.stream

if not self.is_tty:
if message and message[0] == "\r":
message = message[1:]
stream.write(message.decode(sys.stdout.encoding))
else:
self.output_colorized(message)
stream.write(getattr(self, 'terminator', '\n'))

self.flush()
except (KeyboardInterrupt, SystemExit):
raise
except IOError:
pass
except Exception as e:
self.handleError(record)
```
感觉是 pycharm log 走的
```
if not self.is_tty:
if message and message[0] == "\r":
message = message[1:]
stream.write(message.decode(sys.stdout.encoding))
```
而 terminator 走的是
```
else:
self.output_colorized(message)
```
2019-03-11 20:43:01 +08:00
回复了 itskingname 创建的主题 分享创造 三年写了两本书,这是我的时间管理实践
我是超级大咸鱼,难怪找不到工作,没有自制力呀
1 ... 65  66  67  68  69  70  71  72  73  74 ... 103  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1182 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 45ms · UTC 18:27 · PVG 02:27 · LAX 11:27 · JFK 14:27
Developed with CodeLauncher
♥ Do have faith in what you're doing.