V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  phuslu  ›  全部回复第 21 页 / 共 34 页
回复总数  673
1 ... 17  18  19  20  21  22  23  24  25  26 ... 34  
2012-11-05 16:22:20 +08:00
回复了 Sherlockhlt 创建的主题 Python 在python中如何删除文件的某一行?
stackoverflow 的回答如下, 不过没测试过, 不清楚性能道理如何
http://stackoverflow.com/questions/2329417/fastest-way-to-delete-a-line-from-large-file-in-python
2012-11-05 16:01:19 +08:00
回复了 Sherlockhlt 创建的主题 Python 在python中如何删除文件的某一行?
试下这个, 没有完全读入内存
with open('in.txt') as fp_in:
with open('out.txt', 'w') as fp_out:
fp_out.writelines(line for i, line in enumerate(fp_in) if i != 10)
2012-11-05 11:42:05 +08:00
回复了 venngomez 创建的主题 Amazon Web Services 如何云储存赚钱
2012-10-31 16:00:19 +08:00
回复了 21grams 创建的主题 分享发现 一个可以免费下载内存的网站
2012-10-31 00:39:38 +08:00
回复了 jz12 创建的主题 分享发现 fastmail.fm改版
看了一下, 前端是用的 varnish + nginx, 后端是用的 apache + perl
@xupefei 建议暂时不要怎么用,因为正在尝试加入zlib流压缩的功能
2012-10-28 18:26:30 +08:00
回复了 ttsaon 创建的主题 问与答 感觉现在QQ邮箱超过163是国内第一邮箱品牌了吧?
上学的使用用的是 qq 邮箱, 当时觉得比其他的邮箱要好用.
速度快, 界面大气, 功能方便, 没广告.
1. 首先找台远程 Linux 服务器, 把 server/python/wsgi.py 最新版放在方面运行, 我是用 screen 运行的.
如果没有 root 权限, 修改 wsgi.py 参数绑定到其他高于 1024 的端口. 这里面选择 23 端口是为了穿透一些企业网关
2. 如下配置 proxy.ini
[socks5]
enable = 1
password =
listen = 127.0.0.1:8089
fetchserver = http://<你的IP>:23/
3. 启动goagent.exe, 这样在本机的 127.0.0.1:8089 地址上你就得到了一个本地 socks5 代理

SwitchySharp 中可以如下配置
http://ww2.sinaimg.cn/large/a74ecc4cjw1dyb0bts458j.jpg
2012-10-28 13:59:38 +08:00
回复了 zhagen2 创建的主题 问与答 goagent是否支持socks转发?
还没做好呢, 原理类似于 /t/32777
2012-10-27 02:21:06 +08:00
回复了 phuslu 创建的主题 Google App Engine Google App Engine 服务器似乎下线了?
2012-10-27 01:57:15 +08:00
回复了 phuslu 创建的主题 Google App Engine Google App Engine 服务器似乎下线了?
北美亚洲网络遭遇严重问题导致Google App Engine、Tumblr和Dropbox等服务下线,云服务商Akami报告网络攻击流量比平常高出50%。

http://internet.solidot.org/article.pl?sid=12/10/26/1525251
2012-10-27 00:59:31 +08:00
回复了 phuslu 创建的主题 Google App Engine Google App Engine 服务器似乎下线了?
初步恢复了些, 不过现在的性能似乎还是比较慢

"""
Max Ross (Google) 上午12:33(23 分钟前)

At approximately 7:30am Pacific time this morning, Google began experiencing slow performance and dropped connections from one of the components of App Engine. The symptoms that service users would experience include slow response and an inability to connect to services. We currently show that a majority of App Engine users and services are affected. Google engineering teams are investigating a number of options for restoring service as quickly as possible, and we will provide another update as information changes, or within 60 minutes.
"""

https://groups.google.com/d/msg/google-appengine-downtime-notify/SMd2pDJsCPo/HlCIwA0syHIJ
2012-10-27 00:28:29 +08:00
回复了 phuslu 创建的主题 Google App Engine Google App Engine 服务器似乎下线了?
有个仁兄录了段 youtube 视频到 group 里面了 :)
http://www.youtube.com/watch?v=Qzc6sjArRAE
2012-10-26 23:55:42 +08:00
回复了 phuslu 创建的主题 Google App Engine Google App Engine 服务器似乎下线了?
@bootislands 嗯,正常了一小会, 貌似又抽了。
2012-10-26 23:39:05 +08:00
回复了 phuslu 创建的主题 Google App Engine Google App Engine 服务器似乎下线了?
@angel @regent

"""
Max Ross (Google) 下午11:28(9 分钟前)

App Engine is currently experiencing serving issues. The team is actively working on restoring the service to full strength. Please follow this thread for updates.
"""

https://groups.google.com/forum/#!topic/google-appengine-downtime-notify/SMd2pDJsCPo/discussion
2012-10-26 23:35:33 +08:00
回复了 phuslu 创建的主题 Google App Engine Google App Engine 服务器似乎下线了?
@Livid 首页似乎好多 goagent 讨论, 能否移下水区?
2012-10-26 23:33:59 +08:00
回复了 phuslu 创建的主题 Google App Engine Google App Engine 服务器似乎下线了?
@regent 是呀, 之前没迁移到 HR 的 GAE 应用貌似都能用。。。
1 ... 17  18  19  20  21  22  23  24  25  26 ... 34  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2689 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 30ms · UTC 09:43 · PVG 17:43 · LAX 02:43 · JFK 05:43
Developed with CodeLauncher
♥ Do have faith in what you're doing.