r0okit's recent timeline updates
r0okit

r0okit

V2EX member #211905, joined on 2017-01-23 09:54:17 +08:00
r0okit's recent replies
May 23, 2017
Replied to a topic by ansheng Python 你知道 Django 是异步的 Web 框架吗?
首先你的态度和你的基础一样, 然后我敢肯定你在 tornado 里是用的 time.sleep,其次 tornado ,Django, celery, redis 这些我恐怕你只是看过,最多就是敲了两行 demo
May 22, 2017
Replied to a topic by Andor_Chen Python 送几本《流畅的 Python 》
试试运气
@akmonde 我再啰嗦下,eval 你是防不住的,相信我,只要你放到生产环境上,各种猥琐的注入方法会让你大开眼界
@akmonde @pkking 他说的没错,你这个逻辑不对,最好是改用 chain,而不是在一个任务里面调用另一个任务,官网中有对这个的介绍,还有你可以用个字典名字映射函数,不要用 eval,外部传入的都不可信
@akmonde 你好,8 楼的代码贴的再完整点,解释下 eval 用在这里的意图,还有这段代码不是放到任务里面的吧,感觉问题就在这块了
这段代码就是例子代码,没问题,请教别人的时候给出详细的信息,用的是 redis 还是 rabbitmq,配置贴上來
Mar 27, 2017
Replied to a topic by st2026 Python 如何用 Python 监控系统状态?
Graphite+StatsD+Grafana+Diamond
我工作中就是 windows 上 pycharm Deployment 到 linux 测试机上,需要代码同步的时候 到测试机上 git reset --hard ,git clean --df , git pull xx/xx 这样就没有代码覆盖问题了
Feb 6, 2017
Replied to a topic by fire5 西安 西安做 python 的同学多么?
在西安做 python 后台开发, flask python3.5.2
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2898 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 19ms · UTC 14:58 · PVG 22:58 · LAX 07:58 · JFK 10:58
♥ Do have faith in what you're doing.