2008年01月 存档

Python 2.6 新特性一览

2008年01月29日,星期二

今天才出来的。Python 2.6可能在2008年中出来。官方已经把Python的文档贴出来了

主要的改进有:

  • 对Visual Studio 2008(VS 9.0的支持)
  • 向Python 3000兼容
  • 文档用ReST格式化
  • 语言细节的改进,例如默认支持with(PEP 343),模块有个__package__ 属性(PEP 366),异常处理(PEP 3110 ),抽象基类(Abstract Base Class,PEP 3119 ),层次数值模块(PEP 3141),有理数模块(Rational ),改进函数的关键字参数传递,增加IEEE 754对正负无穷大、非数字的支持
  • 解释器的优化
  • 加入的模块:contextlib, LMTP, plistlib
  • 删除的模块:rgbimg, gopherlib, sets
  • 增强的模块:smtplib支持SSL了

还有很多细节就不一一列举了,去官方看文档吧。

http://docs.python.org/dev/whatsnew/2.6.html

WinRAR - PCA Special Offer

2008年01月25日,星期五

WinRAR - PCA Special Offer

做一个项目需要用到修改rar的程序,但是由于版权原因不能直接提供 rar.exe 的破解版,于是想起了很久以前的WinRAR官方免费Key。贴出来备用

WinRAR 3.51下载:http://down.chinaz.com/soft/2737.htm

保存下列内容为 rarreg.key 到WinRAR安装目录即可。

RAR registration data
PCA Special Offer
Version: 3.51
UID=1646b0bf276e0741a35d
6412212250a35de40c0f65f0de0b1ec394651547dd886d12c4b273
314b58181fcd2e99e818605ed576bd5c0b10a8740d2f11c59f87b3
8e75c09eba7f7fb395c7d1ac80abf2030c873788fad37f614109c6
0442fb933697af5e46876631c75812072460411d34d0918118ff8a
335fc8bb64cc46b907d19a6ced2ce9ff90a0c417b6c3f12379447a
30dd1c68cf9aa89877227b946f55e1b61411656f387b498160fd03
65a1c527d7f9899d013980b9fe11ef23d35df5224a293546221894

Security and Anti-virus

2008年01月23日,星期三

收到关注的东西总是vulnerable,例如个人操作系统和服务器。所以人们发明了软件来保护这些东西,但是从生态角度来看,这些防护性的措施根本不能解决问题。因为病毒样本和行为库总是落后的。同时安全软件起到的作用也只是加快了病毒和木马的进化。

安全软件越强大,木马进化速度越快。现在国内要发一个新木马,一般都能by-pass 80% 的反病毒软件。也就是说,新的木马对80%的安全软件免疫。只有可怜的20%的软件能察觉新的木马。那么,安全软件的进化速度永远是落后于病毒的。

也有木马是针对没有安装反病毒软件的PC机的(“裸奔”用户),但是这部分用户安全意识一般来说都很高。没有那么容易得手的。

所以,Anti-virus和VXer之间的斗争,Anti-virus永远是失败者。

So why bother using Anti-virus software ? 自己的习惯和了解超前时代的技术才是最重要的。

[youtube]永动机视频

2008年01月22日,星期二

About This Video This is a repost of the original Alsetalokin's ... (more)
Added: January 04, 2008
This is a repost of the original Alsetalokin's video showing how his implementation of overconfident's idea looks like so far. (The original video has been taken down by the autor, but he permitted reposting it by others.)

Please note that this is not the final product, the "OC's Magnetic Perpetual Motion Machine" (which is a bit more complicated and, AFAIK, not unproven to work so far). I admit that this could cause some confusion, but this video really shows only some odd 'anomaly' observed during the construction and trying different configurations. There is no over-unity, no infinite long runs, so don't jump into conclusions. Magnetic perpetual motion machines can't possibly work, didn't you know?

* Why is the lighting so bad/not showing the whole device/hidden motors/batteries/whatever?
1. Nobody cares when shooting a video (which proves nothing) for a few interested fellows.
2. Even if there was everything you could imagine to improve, it's still only a video on YouTube. The world is in serious trouble if that would be enough to convince you.

For more information, visit Steorn's forum at http://www.steorn.com/forum/, where the always open development has been taking place.

囧,orz,随便推荐一个超猛网站。http://appweblogic.most.gov.cn/gzwd/index.jsp?&page=2

HP网站softpaq FTP下载地址转HTTP

2008年01月22日,星期二

ftp://ftp.hp.com/pub/softpaq/sp37501-38000/sp37952.exe

对应HTTP地址为:

http://h30318.www3.hp.com/pub/softpaq/sp37501-38000/sp37952.exe

用迅雷下载HTTP的速度比FTP快2-10倍

我上一篇日志记录了Mozilla插件https转http地址。用迅雷下载同样可以增加速度。

[Python]Google出的Django视频教程

2008年01月19日,星期六

http://youtube.com/watch?v=p-WXiqrzAf8

Google TechTalks
April 26, 2006

Jacob Kaplan-Moss

ABSTRACT
Django is one of the premier web frameworks for Python, and is often compared to Ruby-on-Rails. Jacob is one of the lead developers on Django.

半导体过了,哦也

2008年01月18日,星期五

发帖庆祝~~~~~~意外的惊喜啊

Wikipedia:7周岁快乐!

2008年01月16日,星期三

wikipedia

今天的新闻:除了Macworld的消息瘫痪了Twitter,还有一件重要的事情:Wikipedia 7 周岁了。从2001年1月15日Wikipedia建站以来,维基百科诞生了2,174,371个英文条目(我写这篇blog的时候),wikipedia.org是世界排名第九的网站(更具Alexa)。Wikipedia诞生了六个子项目::Wiktionary,Wikibooks,Wikinews,Wikiquote,Wikisource和Wikiversity

现在Wikipedia有近250种语言,9百多万文章,150多万图片,一千万注册用户,75,000个作出贡献的作者。

WikiCharts显示当今最流行的条目是它自身的定义:什么是wiki?

Wikipedia同时也记载了当今文化,就像《哈利波特》、《光晕》等。Wikipedia还从侧面反映了事物的流行程度:例如Cloverfield条目的页面,在过去两周每天都有 261,000 PV。

还有更加好玩的:Wikirage。Wikirage可以跟踪条目编辑频繁程度得出:哪些条目争论最多。毫无疑问,今天争论最多的条目是MacBook Air

如果250个语言版本的Wikipedia是个恐怖的数字,那么其中有一个版本是最有用的:简写版(Simple English):用不超过1500个英文单词描述一个条目。例如 Harry Potter 的全文描述是:

"Harry Potter is a series of seven fantasy novels written by British author J. K. Rowling. The books chronicle the adventures of the eponymous adolescent wizard Harry Potter, together with Ron Weasley and Hermione Granger, his best friends. The story is mostly set at Hogwarts School of Witchcraft and Wizardry, an academy for young wizards and witches. The central story arc concerns Harry's struggle against the evil wizard Lord Voldemort, who killed Harry's parents in his quest to conquer the wizarding world."

简化英文版:

"The Harry Potter books are a popular series of fantasy books by J. K. Rowling. The character Harry Potter is the hero in the stories.

In the books, the fantasy is about magic. Harry Potter is born with the power to do magic. He soon discovers that there is a whole lot of magic people in the world, living unknown to most ordinary people. When he is eleven, he is invited to go to a boarding school for young witches and wizards. Each book tells about one year of his life at school, about the people that he meets there, the things that he learns, and his adventures."

简写版几乎涵盖了完整版的所有内容。但是完整版有超过7000个单词。

恩,WIkipedia生日快乐!虽然wikipedia和传统百科全书相比缺乏权威性和准确性,还是毫无疑问Wikipedia是最方便的 :-)

Source: Read/WriteWeb:Happy Birthday: Wikipedia Turns 7 Today

最后吼一句,Read-only,但是不用翻人比黄花瘦墙的镜像!http://labs.dormforce.net/wikipedia/Great_fire_wall/

超级龌龊的Macrovision - 继续扯谈unpack InstallShield的安装包

2008年01月14日,星期一

前年的blog今天又遇到这个问题了,再次下载InstallShield来提取工具……
http://saturn.installshield.com/is/11/windows/premier/wrapped/installshield11.exe
http://saturn.installshield.com/is/12/windows/domestic/premier/installshield12.exe
http://saturn.installshield.com/product/is/2008/domestic/premier/installshield2008.exe

ISCab.exe的用法在这里:http://helpnet.installshield.com/robo/projects/installshield11helplib/ISCabExe.htm

今晚花了3个小时,提取InstallShield 10, 11, 2008里的解包工具,加入UniExtract小工具,建立一个开源项目

Window Clippings 2.0 截图工具 附注册码

2008年01月13日,星期日

看到小众软件推荐了一款截图软件,PicPick,觉得世界上肯定有更好的替代,所以Google了一个更好的:Window Clippings,支持多屏幕、命令行参数,不用长期驻留内存,开放接口(C++和.NET)等等,难为可贵的是,Windows Clippings只有238KB,实在是杀人灭口居家旅行必备工具,口黑口黑

Features:
Use keyboard hot key
Copy image to clipboard
Save image to disk
Automatically generate file name
Prompt for storage location and file name
Send image to OneNote
Clear window background
Include window shadow
Set background color
Include parent in selection
Include multiple windows in selection
Launch Options window from command line
Launch capture screen from command line
Hide notification icon Yes Yes
Convert to black and white
Include mouse pointer
Allow object selection
Freeze window during capture
Delay before capture (to capture pop-ups)
Copy file to clipboard
Configurable image formats
Post-save events
Register and configure add-ins
Crop or expand selection
Quick select desktop, work area or monitor

32bit 下载 64bit 下载
改天有心情了写个撕裂效果的插件,把SPX截图工具也踢飞了~~~口黑口黑

破解过程
Windows Clippings Serial
注册名:romanogl
注册码:261C0CDF-8D35149F-1C42D8DF-BAFF475A-12FE0CDB