V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  glasslion  ›  全部回复第 42 页 / 共 56 页
回复总数  1116
1 ... 38  39  40  41  42  43  44  45  46  47 ... 56  
2014-12-29 17:31:59 +08:00
回复了 glasslion 创建的主题 分享发现 "YYYY-MM-dd"
@clino 嗯,说到底, 还是 Java 的 这个API 设计的有问题。
python 里的 `isocalendar()`, shell里 的 `%G和%Y` 都不容易导致误用。 而 `YYYY` 和 `yyyy` 就容易混淆多了。
2014-12-29 17:14:52 +08:00
回复了 glasslion 创建的主题 分享发现 "YYYY-MM-dd"
@Jelen
$ date '+%G-%m-%d'
2015-12-29
2014-12-26 17:48:41 +08:00
回复了 Missex 创建的主题 问与答 很生僻的名字被放到垃圾网站和色情网站了怎么办
@Missex 那些站会收录你的名字就是因为你的 ID Missex 不和谐吧
2014-12-26 10:05:26 +08:00
回复了 hzqim 创建的主题 问与答 看见大家都谈论购买软件来保管密码,真有必要吗?
我以前也是这样,直到遇上了heartbleed这种大规模杀伤性武器, 改密码太不方便了
2014-12-24 21:26:13 +08:00
回复了 ioiioi 创建的主题 问与答 求轻量化的 conf management 推荐。
2014-12-24 14:50:20 +08:00
回复了 Jack 创建的主题 程序员 建站一个月几乎每天都被攻击。。求解决思路
@nilai LZ已经被人盯上了,你再公开发这种敏感信息是不是不太合适。而且密码只打了两位码。
2014-12-20 13:45:54 +08:00
回复了 sbmzhcn 创建的主题 Python struct pack 问题,与文档上的结果不一样
http://zh.wikipedia.org/wiki/%E5%AD%97%E8%8A%82%E5%BA%8F

By default, C types are represented in the machine’s native format and byte order, and properly aligned by skipping pad bytes if necessary (according to the rules used by the C compiler).

pack('>hhl', 1, 2, 3)
Out[8]: '\x00\x01\x00\x02\x00\x00\x00\x03'

pack('<hhl', 1, 2, 3)
Out[9]: '\x01\x00\x02\x00\x03\x00\x00\x00'

unpack('>hhl', '\x00\x01\x00\x02\x00\x00\x00\x03')
Out[10]: (1, 2, 3)

unpack('<hhl', '\x01\x00\x02\x00\x03\x00\x00\x00')
Out[11]: (1, 2, 3)
2014-12-18 14:29:14 +08:00
回复了 a12472 创建的主题 问与答 易迅差点侵吞我的 SSD
话说,易迅的退货系统不要求客户填快递单号么。感觉他们的工作流问题很大。
2014-12-12 12:46:27 +08:00
回复了 fanxiushan 创建的主题 Python 自学 python 后你用 Python 做过哪些有趣的项目
https://github.com/glasslion/fontdump
一个下载 Google Fonts, 并将其转化成可在本地/普通CDN host的工具
2014-12-06 16:13:32 +08:00
回复了 bcxx 创建的主题 GitHub GitHub 把俄国发给他的 takedown notice 给发出来了……
2014-11-27 17:27:55 +08:00
回复了 caizixian 创建的主题 Python 想用用 Python 3 也是挺难的
@caizixian python2 的 virtualenv 也能创建python3 的
You can configure session protection on the LoginManager, and in the app’s configuration. If it is enabled, it can operate in either basic or strong mode. To set it on the LoginManager, set the session_protection attribute to "basic" or "strong":

login_manager.session_protection = "strong"
Or, to disable it:

login_manager.session_protection = None
By default, it is activated in "basic" mode. It can be disabled in the app’s configuration by setting the SESSION_PROTECTION setting to None, "basic", or "strong".

When session protection is active, each request, it generates an identifier for the user’s computer (basically, the MD5 hash of the IP address and user agent). If the session does not have an associated identifier, the one generated will be stored. If it has an identifier, and it matches the one generated, then the request is OK.
@siyang1982 国外也不是买了光盘就可以出租的,租赁商是要额外付版权费的
2014-11-24 19:24:38 +08:00
回复了 911 创建的主题 问与答 程序猿经济人制,大家怎么看?
@icylogic 三流明星也要靠经理人啊。像TBBT里的Penny。
2014-11-24 19:21:34 +08:00
回复了 911 创建的主题 问与答 程序猿经济人制,大家怎么看?
HN上的一片文章,大致观点是: 只要最后付佣金的是雇人的公司,而不是求职的程序员。那些所谓的经理人最终还是会代表公司利益,和猎头没什么两样。

Why talent agents for engineers don’t exist
https://news.ycombinator.com/item?id=8539917
2014-11-24 17:27:53 +08:00
回复了 Bitex 创建的主题 问与答 Ruby 有没有类似 Python 的 Pyglet 的 gem?
@jtn007 松本行弘哪有那么渣。明显是山木老湿 http://baike.baidu.com/view/185286.htm
2014-11-21 20:03:27 +08:00
回复了 kingcos 创建的主题 问与答 苹果这次 1 元清仓大处理的目的是什么?
@zjf 库克就算要跑路也是带着大姨夫
2014-11-21 13:52:29 +08:00
回复了 forest520 创建的主题 问与答 小米手环拿来做闹钟,震动力度够吗?
从小米手环的配件看,不仅可以用来戴,还可以用来塞的。 所以......
2014-11-18 21:35:21 +08:00
回复了 dagger 创建的主题 分享发现 计算机科学家要求最高法院裁决 API 不能被版权保护
指令集的授权是指专利而不是著作权吧
2014-11-14 23:37:03 +08:00
回复了 p2p 创建的主题 Python 明天上海 PyCon 有 V 友同去的吗?
@pagict 第一个主题演讲10点才开始吧
1 ... 38  39  40  41  42  43  44  45  46  47 ... 56  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1145 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 53ms · UTC 18:40 · PVG 02:40 · LAX 11:40 · JFK 14:40
Developed with CodeLauncher
♥ Do have faith in what you're doing.