This blog is rated 🔞, viewer discretion is advised

另一个未披露的Google提供的DNS:4.3.2.1

Google提供了公共递归DNS服务器,全世界都知道了吧?

8.8.8.8
8.8.4.4

买的以前DoD的IP段。恩~~~差一点就可以劫持8.7.198.45所有流量了。。。可惜啊。。。

支持DNSSec。非常好。。。。。

免费归免费,但是还是会log不少信息的。。

Google旗下服务能根据CDN智能解析。。。很好~~~~比OpenDNS那个废品HTTP劫持再跳转好多了。而且不会劫持NXDOMAIN和SERVFAIL:

Google Public DNS complies with the DNS standards and gives the user the exact response his or her computer expects without performing any blocking, filtering, or redirection that may hamper a user's browsing experience.

其他CDN会尽量做到智能解析,因为Google全球都有数据中心。。。

Google Public DNS is hosted in data centers worldwide, and uses anycast routing to send users to the geographically closest data center.
Note, however, that because nameservers geolocate according to the resolver's IP address rather than the user's, Google Public DNS has the same limitations as other open DNS services: that is, the server to which a user is referred might be farther away than one to which a local DNS provider would have referred. This could cause a slower browsing experience for certain sites.

这里提一下,HN上有人人披露了一个新IP:4.3.2.1

$ whois 4.3.2.1
Level 3 Communications, Inc. LVLT-ORG-4-8 (NET-4-0-0-0-1)
                                  4.0.0.0 - 4.255.255.255
Google Incorporated LVLT-GOOGL-1-4-3-2 (NET-4-3-2-0-1)
                                  4.3.2.0 - 4.3.2.255
$ nslookup g.cn 4.3.2.1 Server: any-in-0201.1e100.net Address: 4.3.2.1
Non-authoritative answer: Name: g.cn Addresses: 203.208.39.104, 203.208.39.99

如果那两个被OOXX了就用这个吧。。。。

问了下大牛,貌似这个prefetch和BIND的缓存不同就是TTL过期之后,再服务器update一次,而不是清空缓存。提高一点效率吧。。。但是遇到Fast Flux估计Google就SB了。

Google这次破天荒的提供了电话服务。很令人震惊。。。

Google Public DNS telephone support
* 877-590-4367 in the U.S.
* 770-200-1201 outside the U.S

有人试了下,自动问答。FT!

还就就是终于知道 4.2.2.1 - 4.2.2.6 那个DNS是属于Level 3 Communications的。

Posted

archive

费曼:火车能保持在铁轨上并不是因为车轮的轮缘

火车车轮的边缘只是一个安全保障措施,火车的轮轴没有差速器,转弯的时候怎么办?答案是,轮子的踏面不是平的,呈现锥形

拐弯时火车也就是靠外侧铁轨阻挡外侧轮子内沿进行变向的,保证通过弯道时,消除内外速差。

同理,火车颠簸要出轨了,假如向左边偏,锥形也能导致火车有一个向右的力保持平衡

wiki上有一篇专门的文章解释这个事情 Rail adhesion

via reddit

Posted

archive

有毛病的Firefox扩展列表,内存泄漏罪魁祸首

reddit上看到kb.mozillazine.org列出了Problematic extensions,转帖

Extension

Extension version affected

Problem

Workaround

A9 Toolbar

All

Causes Unresponsive Script Warning

Uninstall A9 Toolbar

Adblock

All

Having the OBJ_TABS setting enabled may interfere with the JavaFlash or Windows Media Playerplugins. Content requiring these plugins may not display unless this setting is disabled.

If updating to Adblock 0.5.3.042 or later does not resolve the issue, keep the Adblock OBJ_TABS setting disabled.

 

 

Causes Google Gmail Chat to crash.

 ?

Adblock Plus

All ?

Can interfere with Flash content, most often on Mac OS.

Uncheck "Show Tabs on Flash and Java" in Adblock Plus options.

 

0.7.5.2

Windows error opening Internet shortcut or local HTML file - Firefox

Update to Adblock Plus version 0.7.5.3 or later

All-In-One Gestures

All versions using Firefox 2?

May cause Firefox crashes. Also conflicts reported with spellchecker in Linux Mac OSX versions.

 

All-In-One Sidebar

0.6.4 and prior

New extensions will not install. Also occurs in version 0.6.4 if updated from an earlier version or if used together with the SessionSaver extension.

Uninstall, then (re)install version 0.6.4. Disable opening the Extensions window in the sidebar (Misc. -> Extensions -> Open in Sidebar).

Amazing Media Browser

0.17

The "Block all embedded objects" preference is set to "Yes" by default, causing embedded media normally handled by plugins to disappear, including Flash content. Also interferes with the IE Tabextension.

Change the "Block all embedded objects" preference setting to "No".

Ask.com Toolbar 

 

Also available as:

Ask Toolbar for Firefox. May also be bundled with other software

All?

May cause redirected searches, failed keyword searches and/or the "File not found" error, Firefox can't find the file at jar:file:///C:/Program Files/Mozilla Firefox/chrome/en-US.jar!/locale/browser-region/region.properties

Disable or uninstall in Firefox via "Tools -> Add-ons -> Extensions". May need to uninstall via Windows Control Panel (see Uninstalling toolbars). May also need to reset preferences related to Ask.com (such as keyword.URL) viaabout:config.

AVG Safe Search

 

Installed with AVG 8 Free Anti-Virus (LinkScanner component).

8.0

Blocks use of ENTER key from the location bar.

Disable in Firefox "Tools -> Add-ons -> Extensions" or update to AVG 8.5

 

All?

Crashes, high CPU usage, cache is purged after restarting; Firefox remains in the processes list at exit causing "already running but is not responding" error when restarting Firefox.

Disable in Firefox "Tools -> Add-ons -> Extensions" or remove the extension by reinstalling AVG 8 without the LinkScanner component (see AVG faq# 1338).

Cooliris (formerly PicLens)

All?

Firefox may remain in the processes list at exit, causing a "Firefox is already running but is not responding" error (or problems with bookmarks, history, and toolbar buttons due to a locked Places database) when restarting Firefox.

Disable or uninstall the extension. Note:A conflict with the anti-phishing component of Norton 360 2.0 or Norton Internet Security 2008.5, if installed, can cause the hang at exit and locked Places database. As a workaround, disable Phishing Protection in Norton's settings or remove the Norton toolbar from Firefox as detailed here.

DownThemAll

1.0

May cause web browsing to slow to a halt to the point that nothing loads. 

 

Important: DownThemAll 1.0 changes certain "network.http" preferences that will need to be reset, even if you disable or uninstall the extension.

    Update to version 1.0.1 and reset these preferences via about:config:

  1. network.http.max-connections
  2. network.http.max-connections-per-server
  3. network.http.max-persistent-connections-per-proxy
  4. network.http.max-persistent-connections-per-server

 

All (?) since 1.0

May cause Windows error opening Internet shortcut or local HTML file - Firefox

If updating DownThemAll to version 1.0.2 or later does not resolve the issue, disable or uninstall the extension.

external IP

Prior to 0.9.9.3

Causes Firefox crashes and authentication popups asking username/password for "Development Area" at http://www.crazzy.se

Update to version 0.9.9.3 or above

Fast Dial

2.16

Adds "spam" links to the Bookmarks menu, adds the UserLogos search plugin and makes it the default search engine, searches may redirect.

Update to version 2.18 or above (available from the Fast Dial Homepage). If necessary, delete unwanted bookmarks and change to your preferred search engine in the FirefoxSearch Bar.

 

2.15

Conflicts with the IE Tab extension (broken/blank Location Bar) and the Tab Mix Plus extension (oversized tab bar) , adds "spam" links to the Bookmarks menu, adds the UserLogos search plugin and makes it the default search engine, searches may redirect. May interfere with toolbars from other extensions.

Update to version 2.18 or above (available from the Fast Dial Homepage). If necessary, delete unwanted bookmarks, reset toolbar customizations and change to your preferred search engine in the FirefoxSearch Bar.

Fasterfox

1.0.x

Hangs or slows down Firefox

Disable prefetching, select "Optimized" preset instead of "Turbo".

 

All

Changes made by Fasterfox can interfere with Web site access and persist after it is uninstalled.

Reset options to defaults in Fasterfox before uninstalling it; otherwise, reset preferences in Firefox to the defaults (or create a new profile).

Filterset.G Updater

Prior to 0.3.0.2

Memory leak when used in conjunction with FlashGot

Update to version 0.3.0.2.

Firebug

All?

May cause excessive CPU usageFirefox may hangwhen a pop-up window is accessed.

Disable Firebug when you don't need to use it

 

Prior to 1.3.2

Firefox crashes on logout from Yahoo! Mail, reported in Firefox 2. Note: Firebug 1.3.2 (and above) requires Firefox 3.

Disable Firebug when you don't need to use it.

Firefox Google Bookmarks

Prior to 0.2.1?

Interferes with spell checking in Firefox version 2.

Update to version 0.2.1. If that does not work, uninstall extension.

FireFTP

All?

Can cause excessive CPU usage with Firefox 2.0.0.1

Update Firefox to the latest version

FlashBlock

All

NoScript blocks JavaScript, which is required by FlashBlock

Do not use both FlashBlock and NoScript together (NoScript includes Flash-blocking functionality)

FlashGot

Prior to 0.5.9.995

Memory leak when used in conjunction with Filterset.G Updater

Update to FlashGot version 0.5.9.995 or later

ForecastFox

version 0.9.x and all satellite images versions?

Memory leak

Update or uninstall and installForecastfox l10n. There are unconfirmed reports that there are also memory problems with versions 0.9.3 and 0.9.4.

 

Prior to 0.9.5.1

Causes excessive CPU usage with Firefox 2.0 and Firefox 2.0.0.1

Update to Firefox 2.0.0.2 and ForecastFox 0.9.5.1

Free Download Manager 

(Firefox extension)

Prior to 1.3.4

The Free Download Manager application (FDM) installs an extension for Firefox integration which can cause Firefox crashes when right-clicking a Web page.

Download and install the latest version (FDM 2.5 build 758 will update the extension to v 1.3.4) . Note: The FDM extension (v 1.0 - 1.3.1) is on the Add-ons Blocklist; v 1.3.2 is not blocklisted but it also crashes Firefox.

Google Browser Sync

All?

Causes excessive CPU usage in general or with GIF animations

Uninstall

 

 ?

May cause notably increased disk usage (in gigabytes) by creating large log files. May cause periodic Firefox freezes.

Uninstall

Google Toolbar

Also available from the"official" Google Toolbar home page

 

Google toolbars are also bundled with other software

 ?

"Send with GMail" option overrides default mail client. If the Google Toolbar is uninstalled, mail links may stop working in Firefox

If still installed, UNcheck "Send with GMail" in Google Toolbar Options. If uninstalled, use about:config to reset the preference network.protocol-handler.external.mailto to true(double-click will toggle).

 

3.x (beta?)

Windows error opening Internet shortcut or local HTML file - Firefox

Disable or uninstall

 

3.1

New tab page option creates a thumbnail for each visit greatly increases size of places.sqlite

Right click the Google logo in the Google toolbar > Options > Uncheck “Enable the Google new tab page”

Greasemonkey

All

Greasemonkey scripts do not work on sites blocked by NoScript

Set NoScript to allow JavaScript on sites you wish to use Greasemonkey scripts on.

Hebrew Calendar

Prior to 1.0.4.36

Causes "ReferenceError: JEvent is not defined"

Update to a newer version

IE Tab

All

Memory leak

Uninstall IE Tab and install IE View Lite

iMacros

Prior to 0.5.0.4

Causes excessive CPU usage

Update to a newer version

ImgLikeOpera

0.6.15

"Refresh images in tab on tab select" option causesexcessive CPU usage on tab change and erratic text box behavior (i.e. losing caret after selection in google search text box).

Turn off "Refresh images in tab on tab select" option.

Linky

2.6

Gray bar below the status bar with red arrow.

Uninstall Linky.

LiveHTTPHeaders

All?

Uploading a file locks the file so it cannot be renamed, moved, or deleted.

Uninstall LiveHTTPHeaders.

McAfee SiteAdvisor

 ?

"onLookupFailed 55 1" alerts.

Disable McAfee SiteAdvisor.

 

22

Firefox may fail to open after installing or updating the SiteAdvisor extension, which also may be installed as part of a McAfee software suite.This SiteAdvisor support article describes the problem as a conflict between SiteAdvisor and automatic proxy configuration scripts in Firefox.

Either follow the workaround in the SiteAdvisor support article or end the firefox process that remains in memory, start Firefox in Safe Mode and uninstall via Tools -> Extensions. If SiteAdvisor is a McAfee suite component it can also be removed using the McAfee uninstaller.

 

23

Causes Firefox to crash with an error in Jar50.dll after installing or updating the SiteAdvisor extension or McAfee component.

Uninstall the SiteAdvisor extension or, if SiteAdvisor is installed as part of a McAfee software suite, remove the SiteAdvisor component using the McAfee uninstaller.

Media Player Connectivity

All?

Can cause Unresponsive Script Warning

Uninstall Media Player Connectivity

MegaUpload Toolbar

All?

Causes the error message, Trying to load a non-local URI. Also changes the user agent by adding "MEGAUPLOAD 1.0" which causes some websites to tell you to update to a modern browser.

Uninstall the toolbar. To restore the user agent, type about:config in the Location Bar and filter forgeneral.useragent. If thegeneral.useragent.extra.firefoxpreference shows a user set status, right-click it and select Reset.

Menu Editor

1.2.4 

(and 1.2.5?)

Middle mouse button no longer opens new links from web pages

Update to the latest version; if the issue persists, disable the extension

Mouseless Browsing

All?

Can cause excessive CPU usage

Uninstall Mouseless Browsing

Nightly Tester Tools

All

Allows incompatible extensions and themes to run; these incompatible add-ons can cause problems

Update your extensions and themes to those compatible with your version of Firefox

NoScript

All

Causes an illegal operation in the Windows Media Player plugin if it is blocking JavaScript on a page with embedded Windows Media

Do not block websites that have embedded Windows Media if you want to be able to play the media

 

 

FlashBlock requires JavaScript to work to block flash ads

Do not use both FlashBlock and NoScript together (NoScript includes Flash-blocking functionality)

 

 

Greasemonkey scripts require JavaScript

Set NoScript to allow JavaScript on sites you wish to use Greasemonkey scripts on.

 

All since 1.1.9.5

Flash and other plugin content is blocked by default on untrusted sites, even content from trusted sites (e.g. YouTube.com) if embedded on an untrusted site.

Uncheck the option to forbid Flash or other plugins in NoScript's Options\Plugins pane or temporarily allow the content by clicking on its placeholder.

 

All since 1.1.0

Java is blocked by default on untrusted sites

Uncheck "Forbid Java" in NoScript's Options\Plugins pane (Options\Advanced\Untrusted in earlier versions). In version 1.1.3 and later you can temporarily allow Java content by clicking on its placeholder.

 

Prior to 1.8.1.3

Cannot log into eBay or other sites with NoScript "Automatic Secure Cookie Management" enabled.

Update NoScript to the latest version.

"Numbered Links"

All

FormSpy (aka FireSpy) malware identifies itself as "Numbered Links". The real Numbered Linksextension is harmless. See this forum topic for more information.

Uninstall the extension. Scan your system for viruses, particularly "FormSpy" and "Downloader-AXM".

onFocusReload

 ?

"Alert! Object Event" message.

Uninstall onFocusReload.

PicLens

 

See above entry for Cooliris (formerly PicLens)

 

ProCon

Prior to 1.5.2

Replaces all words on webpages with asterisks (******) if set to "censure" words. Fixed in version 1.5.2.

Uninstall ProCon, restart Firefox, reset ProCon preferences in about:config, restart Firefox, reinstall.

RealPlayerBrowser Record Plugin 

 

This extension is installed as an option whenRealPlayer is installed.

1.0

May cause various issues including problems with form submission, embedded Flash, or images not loading after a refresh or revisit to the page.

Try updating RealPlayer, which will update the extension, or disable in Firefox via "Tools -> Add-ons -> Extensions". Note: the Uninstall button is "grayed-out", as this extension is installed via the Windows Registry. To remove from Firefox, open RealPlayer, go to Tools -> Preferences -> Download & Recording and uncheck "Enable Web Download & Recording".

 

?

May cause the Firefox 3 "Bookmark this Page" dialog to appear when clicking the Bookmarks menu item.

Updating to Firefox 3.0.11 or above should resolve the issue. If the problem persists, disable the extension or remove it in RealPlayer preferences (see above)

SearchStatus

All?

Causes Firefox to hang for short periods.

Uninstall SearchStatus

Skype Extension for Firefox 

 

This extension is installed as anoption when Skype is installed.

All?

Firefox may start with error messages and may run slowly. Google maps or other images may not load. Direct links to images or PDF files may cause the error, The image cannot be displayed because it contains errors. Web pages may continually refresh or stop loading. Firefox may stop responding orhang at exit, resulting in an "already running but is not responding" error (or problems with bookmarks, history, and toolbar buttons due to alocked Places database) when you next restart Firefox.

Disable or uninstall the Skype extension in Firefox via "Tools -> Add-ons -> Extensions" (the extension is not needed to use the Skype application). 

 

Note: If Norton 360 2.0 or Norton Internet Security 2008.5 is installed, a conflict with Norton's anti-phishing component can cause the hang at exit and locked Places database. As a workaround, either disable Phishing Protection in Norton or remove the Norton toolbar from Firefox (details here).

SwitchProxy Tool

All

Causes new Firefox windows to freeze for a few seconds

Disable SwitchProxy's auto-update feature

Tabbrowser Extensions (TBE)

All

General slowdown, conflicts with other extensions, can cause Firefox to not work at all

Uninstall TBE, use Tab Mix or Tab Mix Plus instead

Tabbrowser Preferences (TBP)

All (for Firefox in some languages)

Gray bar below the status bar at the bottom of the screen which reads:

<button id="catTabbedButton" label="&tabprefs.label;"

Uninstall TBP

 

1.2.8.4

Bar at the bottom of the screen which reads:

%tabprefsDTD;

Uninstall TBP and install it directly from the author's website

ThinkVantage Password Manager Extension

2.0

May cause Firefox to freeze for up to a few seconds when a new window is opened.

Disable or uninstall the ThinkVantage Password Manager extension in Firefox via Tools -> Add-ons -> Extensions. (Note: The Uninstall option may be greyed out, if the extension was installed via a Windows Registry entry).

 

2.0

May cause a "Failure in chrome registration" error when starting Firefox. 

Note: In Windows Vista, exiting Firefox, right clicking the Firefox icon and selecting "Run as administrator" may resolve the issue; if not, use the workaround.

Disable or uninstall the extension (from Firefox Safe Mode if necessary) if you don't need it. Alternately, find the filetvtpwm_moz_xpi.xpi (usually in "C:\Program Files\Lenovo\Client Security Solution") and open it in Firefox to reinstall the extension.

 

2.0

Firefox crashes when opening a pop-up window. Caused by the latest Lenovo Client Security update.

Disable the extension or reinstall it by opening the file tvtpwm_moz_xpi.xpi in Firefox (see above)

Torbutton

 ?

Interferes with cookie deletion.

Check Torbutton options or uninstall Torbutton. Then recheck Firefox options. It may be necessary to "delete cookies-nontor.xml".

 

 ?

Changes privacy and security settings.

Check Torbutton options or uninstall Torbutton. Then recheck Firefox options. Repair or replace the Firefox profile if necessary.

 

 ?

May cause Firefox performance problems.

Check Torbutton options or uninstall Torbutton. Then recheck Firefox options. Repair or replace the Firefox profile if necessary.

Update Notifier

 ?

A prompt for a username and password fromhttp://mozdev.elliptic.fr/ asking "Oui?"

Uninstall Update Notifier

User Agent Switcher

Prior to 0.6.4

Reinstallation or update causes Firefox to hang

Uninstall previous version in Safe Modebefore installing new version

VeryDelicious

All

Software update screen on opening windows and downloading fiiles.

Uninstall VeryDelicious

Web Analytics Solution Profiler/Debugger (WASP)

Prior to 1.0.9

On Mac OS, installing this extension sets the~/Library/Caches/TemporaryItems folder to non-writable, causing Download Error -228 and inability to install add-ons.

Open the /Library/Caches/ folder for your Mac user account, context click (right-click) on the "TemporaryItems" folder, choose "Get Info" and, under "Sharing and Permissions", change permissions to "Read & Write".

Wizz RSS News Reader

2.0.0

Update causes Firefox to hang

Uninstall previous version in Safe Modethen install the updated version.

Woot Watcher

1.0.1 (all?)

Periodic Firefox hangs, slowdowns, or excessive CPU usage, possibly related to Woot Off events.

Disable or uninstall the Woot Watcher extension

XPL LinkScanner

2.6

Causes Firefox to crash when using Yahoo, Google, or MSN Search. This extension may be installed in Firefox as part of "System Suite 8" by AvanQuest.

Disable or uninstall "XPL LinkScanner Firefox 2.6" via Tools -> Add-ons -> Extensions.

Yahoo! Toolbar

All?

Causes excessive CPU usage

Uninstall via "Tools -> Add-ons -> Extensions" or use these instructions.

里面比较搞笑的是,Fasterfox会Hangs or slows down Firefox。

当然这份列表包含大多数常见扩展了,如果全部禁用。Firefox会很难用吧?至少没有Firebug的Firefox我是绝对不会用了。

终于,Mozilla也踏上了当年BHO的不归路了。

Posted

archive

HFS支持.m3u目录列表方式的微型http服务器

python -mSimpleHTTPServer虽然方便,但是对流媒体支持似乎并不好。在DonationCoder上看到人推荐mongoose,mongoose是一个很方便embedd的微型http服务器,于是我写了个python版本的,在HTTP共享URI后面加上一个 :m3u 就可以以.m3u格式输出当前目录下的文件列表。

后来想起了HFS研究一下,这玩意儿很强大,可以自定目录列表模板,还可以通过macro自定义目录列表模板的MIME,甚至HTTP头。比如我把 E:\mp3\ 通过Http File Server共享为 http://192.168.3.1/mp3/,那么 http://192.168.3.1/mp3/~files.lst 可以直接返回当前目录的一行一个文件路径格式,MIME是txt/plain。如果你用的是2.4.2开发者版本的HFS,那么可以在hfs242.exe目录下放一个filelist.tpl,内容如下


#EXTM3U
%files%
[style]

[files]
{.mime|audio/x-mpegurl.}

%list%

[file]
%item-url%

[folder]
%item-name%/

那么访问 http://192.168.3.1/mp3/~files.lst.m3u 就可以直接得到当前目录的 .m3u 格式了

这下在手机上wifi看短片可以非常方便实现上一个下一个跳转了。

mongoose虽然好,但是相比HFS有GUI流量显示,完整的log功能,随时右键一击踢人,还是HFS爽~~~

Posted

archive

WM+Coreplayer+WIFI+HTTP Streaming

晚上睡不着的时候,喜欢手机上网

上网上多了也无聊,想躺在床上看电影听歌

但是手机容量是有限的,每次下载电影传输n久,歌也放不了几首

想到了wifi。在本本上建立一个http服务器,然后手机通过ad-hoc无线连上本本,流媒体播放音视频

尝试了下,成功了。Coreplayer的缓存和播放非常流畅。

步骤大概是这样的,首先配置Windows Mobile上的wifi的IP,我笔记本设置的是192.168.3.1,手机设置的是192.168.3.2。为什么不用ad-hoc wifi默认DHCP自动分配的169.254.60.x呢?原因很简单,手机会尝试走CMNET的路由,因为手机会认为169.254.60.x是个公网IP。由于Windows Mobile添加静态路由似乎不太容易,所以自己手动设置IP吧。。。

然后是本本上建立http服务器,我用的是HTTP File Server 2.1。

最后就是用Coreplayer打开流媒体了 http://192.168.3.1/xxx.avi

现在希望有一个支持自动生成podcast feed(MRSS, RSS, PLS, M3U, ASX)的http服务器就爽了,例如http://192.168.3.1/movies可以浏览我硬盘上 E:\movies 目录列表,然后 http://192.168.3.1/movies/?fmt=rss 可以以Media RSS方式查看。这样CorePlayer就可以很方便上一首下一首咯。哈哈~~~目前暂时解决方案是用手工生成的.m3u文件替代。

更新

看了大概一个小时,发现手机上一边看480p一边缓冲还是很卡啊,而且过一会儿手机就比较烫了。。。囧。。。。。

Posted

archive

开两个QQ就能绕开限制

http://news.sina.com.cn/s/2009-06-10/084015764834s.shtml

开两个QQ就能绕开限制

……软件可以禁止大多数聊天工具的运行,包括QQ、MSN、UC等,还可以禁止迅雷等其他软件的使用。家长朋友也可以自行选择需要对孩子实行限制的程序。

  不过,经测评发现,该软件只能限制一个QQ进程,就是说如果你在第一个QQ程序被禁止的同时开启第二个QQ程序,即使是同一个QQ号码,却可以登录成功。

太冷了。。。。。这是2009年最冷的笑话。。。。。

Posted

archive

高版本Chromium使用PAC的方法

以前的Chrome用的是WinHTTP栈来解析Windows“Internet设置”里的Pac,但是估计WinHTTP还是使用的Windows自带的script56.dll来解析javascript,现在高版本chromium(3.x)应该都是用V8+自己的栈来做URL获取了。

chrome.exe "--proxy-pac-url=file://E:/my.pac"

还有一个参数,winhttp-proxy-resolver,将来会被废除。不推荐使用。

另外现在的dev版本不支持--enable-udd-profiles参数了,只有Ctrl+M先用着。烦~~~

Posted

archive

驴爸一装上,肉鸡满天飞

我错怪D了。感谢宫刑部给我们这么一个免费的软件,天天有0day,免费送合法木马,免费送肉鸡啊

密西根大学的分析报告升级到1.1版本

里面有一个demo,超长字符串缓冲区溢出,装了驴爸的直接浏览器崩溃。写这种shellcode貌似好多人都会。况且这只是冰山一角。

至于执行任意代码漏洞,那更是数不剩数了。

其实这软件从界面都看得出来,用的是Win95时代的安全标准。

我支持普及驴爸。。。反正自愿装驴爸的那种人,无论电脑上,肉体上还是精神上肯定中了不止一种病毒。。。。

但是我还是感到一种罪恶感,最遭罪的就是家电下乡被逼装驴爸的农民了吧。。。好不容易,第一次攒一个PC,就这样被gov fuck了。

Posted

archive

中国网络的15层OSI结构【转帖】

中国网络的15层OSI结构

物理层,过滤层
链路层,过滤层
网络层,过滤层
传输层,过滤层
会话层,过滤层
表现层,过滤层
应用层,过滤层

夸省追捕层

Posted

archive

学术的发展就是一部互骂傻逼的历史【转帖】

发信人: schrodinger (波动方程), 信区: NewExpress
标  题: 学术的发展就是一部互骂傻逼的历史zz
发信站: 水木社区 (Thu Jun 11 18:11:04 2009), 站内

【 以下文字转载自 Joke 讨论区 】
发信人: ruk (Eurystheus), 信区: Joke
标  题: 学术的发展就是一部互骂傻逼的历史zz
发信站: 水木社区 (Thu Jun 11 15:50:55 2009), 站内

1苏格拉底 我觉得我挺无知的,请问这个世界上谁牛逼

2伯拉图 这世界没人牛逼 我最牛逼

3亚里士多德 楼上是我老师,他是傻逼

4伊避就鲁 楼上三个唯心主义逼是傻逼

5 西塞罗 还好啦,大家和谐讨论,不要走极端

6 塞涅卡 每个人都属于人类,所以要傻逼一起傻逼

7 普罗提诺 顶2楼,其他人都是傻逼

8 奥古斯丁 请问有不信耶酥的吗,如果有,请看我口型 是阿 傻,拨一逼

9 托马斯阿奎纳 我本来不想发贴,看到这么多傻逼,不得不说一句,人说这辈子傻逼下辈子就牛逼,你们来生会幸福的

10 但丁 我来翻页

11 彼特拉克 555 第一页没了,10楼你坏

12 达芬奇 楼上几个学文科的傻逼,回去补补自然科学再来喷

13 T·莫尔 这个世界要是不存在傻逼多好,哎,只能空想一下了

14 [版主]加尔文 粗口的一律封了,学基督教版规去

15 [版主]马丁·路德 小加 版规我那天才改过,你要不再改改?

16 蒙田 围观诗人路过,看大牛们互喷

17 闵采尔 《该用户发言已被滤霸软件屏蔽》

18 闵采尔 《该用户发言已被滤霸软件屏蔽》

19 闵采尔 《该用户发言已被滤霸软件屏蔽》

系统公告 加尔文 封禁 闵采尔 100天 理由:煽动民众

20 培根 都第三页了啊,不错不错,楼上的同志们有空多做做实验做做题,别光说不练

21 笛卡尔 楼上就是个菜逼,啥几把都不会就会逼逼,还说别人

22 斯宾诺莎 21楼,昨天在那个帖子你说的二元论我现在认为就是胡说

23 牛顿 请教一个高考数学题,我用的方法对不

24 牛顿 不用问了,我自己证出来了,绝比正确,哈哈,这个方法我叫它微积分好了

25莱布尼茨 楼上我cao ni ma ,老子在另个版解的你肯定偷看了

26孟德斯鸠 版务呢,版务呢,都吵成这球样了,看来一个版的地理成分确实决定这个版的傻逼多少

27伏尔泰 这个破逼站站长就是“两足禽兽”,吗的昨天我在另个版说人人平等竟然都被封了

28 贝克莱 哎,看来要回去仔细研究傻逼心理学,有人知道这里有人不是傻逼的吗?

29 休摸 不可知,不可知,不可知

30 康德 低调的翻页,走人

31 费希特 ....楼上惊现大牛

32 黑格尔 恩?真的吗,我好崇拜啊,请问哪里能看到大牛写的文章

33 黑格尔 操,什么大牛,原来也是个傻逼

34 傅立叶 ...这帖子真欢乐,看来前几页有人希望有一个没有傻逼的世界不太可能啊

35 欧文 你法国当然不可能,我们英国就可能

36 孔德 要建立一个牛逼人主宰傻逼人的世界

37 马克思 楼上几个都是空想逼,楼下一定也是空想逼

38 费尔巴哈 .......

39 斯宾塞 这世界就是进化论,谁牛比谁就一直牛比,谁傻逼谁就一直傻比

40 尼采 都第四页了,看来只有我才能终结傻逼们的讨论了

41 胡塞尔 有人能来个总结吗,还原一下这个帖子的本质

42 怀特海 我还是认为一楼是亮点

43 维特根斯坦 难受...高考出分了,我没考上,因为给了个作文题我净分析那题有多傻逼,忘了写作文本体。

44 海德格尔 pat 楼上,看来还是我们国家好,压根不高考,纳粹万岁

45 阿尔都塞: 妈了个逼的,你们丫都是五毛党

46 利维斯:看到楼上各位,我精英的优越感油然而生

47 弗洛伊德:看來都没长J8

48 荣格:楼上的,说话干净点 不要带生殖器

49 拉康:47楼的同学看来太激动,回去照照镜子

50 德里达:亻囟      一
             八      口
             文    辶田

51 葛兰西:..每个贴都有敏感词啊,反对敏感词的霸权

 ——————————————————————————

似乎忘了叔本华。。

不太懂的就没写了

懂一些八卦和内情的笑一下就行了

 ——————————

还是补一些好了...老有人问

1 四大翻页者,但丁培根康德尼采 都其实算是思想史上的翻页者

2 奥古斯丁和托马斯都是基督教的捍卫者,狂喷其他所有人傻逼,托马斯阿奎纳提出来生幸福论,将轮回论嵌入基督教

3 普罗提诺是新伯拉图学派的奠基者

4 空想没有傻逼的社会基本等同于空想社会主义者

5 马丁路德改了基督教教义,加尔文又改了一次

6 闵采尔 倡导农民宗教革命,被暴干

7 斯摈诺沙强烈鄙视笛卡尔的二元论

8 牛顿和莱布尼次。。很多人都知道吧,微积分问题争的头破血流

9 黑格尔早期追随康德,后狂喷康德

10 胡塞尔 倡导本质还原法进行现象学研究

11 坏特海是伯拉图的强力追随者

12 唯特根斯滩确实高考失败过。。。。才去当了小学老师

--

※ 修改:·Dio 于 Jun 11 17:19:20 2009 修改本文·[FROM: 220.194.54.*]
※ 来源:·水木社区 newsmth.net·[FROM: 211.99.222.*]

Posted

archive

1/89是一个值得崇拜的数字


.01
.001
.0002
.00003
.000005
.0000008
.00000013
.000000021
.0000000034
.00000000055
.000000000089
.0000000000144
.
.
+ .
----------------
.01123595505...

= 1/89

想了下这个其实还是很简单的,就是斐波那契数列的幂级数,有下列性质:

同理有:

那么我们可以推导出十六进制的 0x10/0xEF 也有类似性质,用W|A算一下,果然,结果大概就是0x0.0112358e75D。

来自伊利诺伊大学香槟分校 Geometry Center via reddit,有证明过程。感谢

最后感谢72pinesLaTeX图片生成器

Posted

archive

盗版党国际 和 盗版党各国分舵

盗版党国际 http://www.pp-international.net/

 Argentina
 Australia
 Austria
 Brazil
 Canada
 Denmark
 Finland
 Germany
 Ireland
 Italy
 Netherlands
 New Zealand
 Norway
 Peru
 Poland
 Romania
 Serbia
 South Africa
 Spain
 Sweden
 Switzerland
 United Kingdom
 United States

本朝没有盗版这一说法,因为国内从来都没有正版,只有盗版程度的差异。山寨是一种左派的盗版路线

Posted

archive

4chan的战果

初步统计了一下,4chan或者4chan成员干过这些事情:

  1. 发明lolcats。不知道ceiling cats是不是他们搞的~~
  2. 炒热Chocolate Rain
  3. 炒热rickroll。。。被rickroll'ed过20次以上的人泪奔。。。。。
  4. Project Chanology,反山达基教的一次运动
  5. YouTube Porn Day
  6. 刷 Google Hot Trends
  7. 黑掉Sarah Palin的电邮。这个社会影响很大了。。。。FBI介入。。。
  8. 耍苹果公司,宣称Jobs心脏病挂了
  9. 把4chan创始人moot刷到了TIME杂志最具影响力人物排行榜第一名,后来被TIME强行更改,于是他们又把人物榜刷成了类似“春哥纯爷们”的藏头诗

    注意这里刷排名还是一个技术活,不仅仅是爆吧那种人海战术。4chan成员有私人的botnet。。。

4chan也是互联网黑话最繁荣的地方之一,最近学到的一个就是macfags,cnBeta上称“果粉”或者“水果教”

4chan上正常人比较少。有图为证:

Posted

archive

NetEase Youdao Nanti PWND! [Spoiler]

Saw an interesting puzzle, blogging about it in English is not zhuangbility, but to avoid n00b finding solutions too easily via search engines.

  1. Sniff
  2. No packets transfered when click 'submit', so all answers must be downloaded somewhere to client
  3. Firebug analyze URL requests & responses
  4. Decompiled all .swf files, nothing found
  5. Found it's using PHP-RPC
  6. Tried phprpc-python but didn't work
  7. Worked out puzzle 2. answer is bomb
  8. Dumped all browser memory
  9. Search for keyword bomb
  10. Got all answers to 15 questions
  11. Copy, paste & submit all the right answers, but nothing happend, so just blogging about it http://initiative.yo2.cn/archives/639837
  12. ???
  13. Profit!

有道居然用PHPRPC把所有答案加密了。哼哼。任何加密都挡不住内存dump大法。

So, here's the answers:

以下是剧透,丧失游戏乐趣后果自负,没有自己动脑筋思考的同学请不要手贱,报名参加真正的TopCoder比赛吧:http://www.youdao.com/nanti/apply.php


<?xml version="1.0" encoding="utf-8" ?>
<data radius="220" a="320" b="170" skey="youdao">
<question src="questions/q1oioqzvveoalz.fa.swf" answer="o" lowcase="true" visible="true">一样的人物</question>
<question src="questions/q80afzfdqrezxc0-rwq.f0.swf" answer="bomb" lowcase="true" visible="true">湖边的回忆</question>
<question src="questions/q4098azvhlaql.f-fq53.swf" answer="0441" visible="true">危险之地</question>
<question src="questions/q3zlllweafl342laozl.swf" answer="@($" visible="true" locked="true">火星文</question>
<question src="questions/q5zpaqa.eop2-f-qe4.swf" answer="也可能" visible="true" locked="true">博客中的线索</question>
<question src="questions/q6pkltix.04.-af.swf" answer="本机地址" visible="true" locked="true">IT码农的留言</question>
<question src="questions/q70a9fdalqrexc65o.vz.swf" answer="search engine" lowcase="true" visible="true" locked="true">曲径通幽</question>
<question src="questions/q909qalzxovaltazt-fq.fq.swf" answer="为" visible="true" locked="true">手机词典的帮助</question>
<question src="questions/q10090zvalzp-f.4.swf" answer="3624087915" visible="true" locked="true">古诗中的数字</question>
<question src="questions/q2098alzraz.5.ao.swf" answer="12355331" visible="true" locked="true">彩铃包月</question>
<question src="questions/q1109zgflqre0f-aw.w2.swf" answer="2月18日||二月十八日" visible="true" locked="true">和智玲的聊天</question>
<question src="questions/q120z0fda2r.z0f-a2.swf" answer="cctv" lowcase="true" visible="true" locked="true">黑客是怎样炼成的</question>
<question src="questions/q13-zf0w2rzlf0.f43.swf" answer="圆周率||祖冲之" visible="true" open="15" locked="true">Morse的登录</question>
<question src="questions/q1409falz-fa.2aof.swf" answer="0731-5310163" visible="true" locked="true">错误的号码</question>
<question src="questions/q160z-af.4er0zafwe.swf" answer="LOVE" visible="true" locked="true">数学之美</question>
<question src="questions/q170z.gzzf-32zflgpqert.swf" answer="ONLMK" lowcase="true" visible="false">残破的画卷</question>
</data>

Seems that there's even a hidden puzzle: http://www.youdao.com/nanti/mi/questions/q170z.gzzf-32zflgpqert.swf but I haven't figured out how to invoke it (yet) . Perhaps using some .swf hook :D

转载请注明出处 http://initiative.yo2.cn/archives/639837

Posted

archive

libgugemusic: Google Music Streaming & Download

Basic structure

Google (China) Music website frontend is very traditional:

http://www.google.cn/music/song?id=S2894c9e5fc5df536
http://www.google.cn/music/album?id=B700dfba92c77567d
http://www.google.cn/music/artist?id=A21d5906abfad070c

Streaming

Google (China) Music service includes an online player made with Flex. The Streaming of .mp3 files & .lrc lyrics files is powered by ChinaCache. Here's a sample streaming query with XML result

In the URL query, parameter sig=7df9df980d74d35d28efe461842d76f1 refers to: MD5.hash(KeyContainer.PLAYER_KEY + param1.id);,

where KeyContainer.PLAYER_KEYM is defined at com.google.music.projectm.player.generated.KeyContainer.as as follows:

package com.google.music.projectm.player.generated
{

    public class KeyContainer extends Object
    {
        static public const PLAYER_KEY:String = "eca5badc586962b6521ffa54d9d731b0";

        public function KeyContainer()
        {
            return;
        }
    }
}

So the pseudo algorism for sig is:

md5("eca5badc586962b6521ffa54d9d731b0" + "S40dbcfe0c610fa09") = "7df9df980d74d35d28efe461842d76f1"

Download

Download is pretty easy, just try this link:

http://www.google.cn/music/top100/musicdownload?id=Sc623893aee83dfb4

and parse the <a> element:

<a href="/music/top100/url?q=http%3A%2F%2Ffile1.top100.cn%2F200905031622%2FFA4C7C8006CDB6F605DE00A4714A421A%2FSpecial_28506%2FWTF.mp3&ct=rdl&cad=dl&ei=V1T9SdDnNpuYsAKE8ua6AQ&sig=9EC3F52AC3B1F3857871AAF885AD2A2D"><img src="http://www.gstatic.cn/top100/images/download_icon.png" alt="" style="border: none;"></a>

libgugemusic

libgugemusic.py is a simple library for interacting with Google (China) Music service written in pure Python

Example:

>>> import libgugemusic
>>> libgugemusic.download_mp3_by_id('S40dbcfe0c610fa09')
'http://file3.top100.cn/200905031859/42B67F4B5A23786601DB7781B75E509A/Special_12
3690/%E8%8A%B1%E8%9D%B4%E8%9D%B6.mp3'
>>> libgugemusic.stream_mp3_by_id('S40dbcfe0c610fa09')
{'songUrl': 'http://audio2.top100.cn/200905031859/6186071D9F22FB7C15048C81BE0241
7B/streaming2/Special_123690/%E8%8A%B1%E8%9D%B4%E8%9D%B6.mp3', 'lyricsUrl': 'htt
p://lyric.top100.cn/Special_123690/M0123690001.lrc', 'label': '\xe5\x8d\x8e\xe7\
xba\xb3\xe5\x94\xb1\xe7\x89\x87\xe5\x85\xac\xe5\x8f\xb8(Warner Music)', 'provide
rId': 'M0123690001', 'albumThumbnailLink': 'http://www.gstatic.cn/base_media?q=h
ttp://pic.top100.cn/SpecialImg/middle_special_123690.jpg&size=2&hl=cn&am
p;fact=194&dhm=8bddb8f1'}

You can get libgugemusic.py on my Google Code SVN repository

I'll expand this library with music location function, and finally integrate Google (China) Music service with Last.FM radio.getPlaylist as an alternative to Last.FM, Pandora & Spotify.

Posted

archive

CollegeHumor上的Prank War系列原创视频

今晚无聊继续逛CollegeHumor.com,发现了Prank War系列原创视频,翻译过来就是大学系列恶作剧

Prank War: Audio Prank
In the initial offense, Streeter tricks Amir into listening to some disturbing music.
这是第一个恶搞。Amir每次带耳机听歌都会不由自主的哼哼,Streeter就决定恶搞他一下。

Watch Prank War: Audio Prank on CollegeHumor

其实这恶搞最开始是放在vimeo上的http://vimeo.com/148233

Prank War: Streeter's Big Date
Amir tricks Streeter into meeting an imaginary fan for a lunch date.
Amir假装是一个MM粉丝强烈要求和Streeter一起吃个饭。。。。。

Watch Prank War: Streeters Big Date on CollegeHumor

Prank War: Amir's Audition
Streeter enlists the help of Amir's friend to trick him into making an audition tape for a show that doesn't exist.
Streeter伪造了一个为电视台招喜剧演员的招聘广告。。。

Watch Prank War: Amirs Audition on CollegeHumor

太有才了!最后Amir真的是想在地上找个洞钻进去啊。。。

Prank War: Streeter Bombs
Amir convinces the entire crowd at a comedy show not to laugh at any of Streeter's jokes.
Streeter的演出,大家都不笑冷场。。。

Watch Prank War: Streeter Bombs on CollegeHumor

不过下面吼You are fat太冷了。。。哈哈。。。Streeter同学真是大受打击啊。

Prank War: Amir's Big Break (With Human Giant)
Streeter and Amir fly to LA where Streeter (with the help of Human Giant) trick Amir into thinking he's 1) going to be on TV and 2) that he's a terrible actor.

Watch Prank War: Amirs Big Break (With Human Giant) on CollegeHumor

Amir的表情好失望好失望啊。。。。机票那么贵。。。结果。。。。

Prank War: The Yankee Prankee
Amir ambushes Streeter and his girlfriend at a Yankee Game by having Streeter unknowingly propose to her via JumboTron.
Amir在Yankee Game上打广告,把Streeter的女朋友吹了。。。。

Watch Prank War: The Yankee Prankee and more funny videos on CollegeHumor

Prank War 7: The Half Million Dollar Shot
Amir makes a blindfolded half-court basketball shot for $500,000. Or so he thinks.
Amir蒙眼在半场投球进了,中了500万美元。。。。至少他是这样认为的。。。。

Watch Prank War 7: The Half Million Dollar Shot on CollegeHumor

Amir举奖金牌子看到Streeter的时候,当时心里就一囧啊。。。。

以后应该还有续集。7部视频/文章的链接在CollegeHumor上可以找到

Posted

archive

Unicode盘符

Windows下盘符只能从A:,B:,C:,D:,一直到Z:,其实可以用Unicode做盘符的。

reddit一位网友启发,我就把所有MP3丢 ☭:\ 盘下了。咩哈哈。。。AV都丢 Ѡ:\ 盘也是个不错的主意。恩恩~~~

实现方法很简单,修改注册表HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices即可。

Posted

archive

JavaScript for hackers

看到GARETHHEYESJavaScript for hackers,摘录一些。

这人很牛的。。。他的http://www.businessinfo.co.uk/labs/上有n多exp

RegExp可以执行任意代码

'somestring'.replace(/some/,function($1){ alert(/Fuck GFW/) })

非常典型的函数式编程漏洞。嘿嘿。'XSS'.replace(/XSS/g,alert) 函数当参数传递。

Unicode转义

\u0061lert(1)

eval('\\u'+'0061'+'lert(1)')这个方法可以轻松过PHPIDS

这个还不算很逆天的,Mozilla的那个E4X导致的escape/unescape漏洞才多

JS引擎的宽容

+alert(1)--
+alert(1)
1/alert(1)
alert(1)>>>/abc/
sla.ckers上对这方面很有研究

throw, delete语法

throw delete~typeof~alert(1)
delete alert(1)
delete~[a=alert]/delete a(1)
delete [a=alert],delete a(1)

真是把JS旮旯的语法都用上了

全局对象其实是表达式

把JS当英语自然语言描述
stop, open, print && alert(1)
javascript : /is/^{ a : ' weird ' }[' & wonderful ']/" language "
the_fun: ['never '] + stop['s']

有趣的Getters/Setters

defineSetter('x',alert); x=1;

Opera下有效

location的双重encoding

location='javascript:%61%6c%65%72%74%28%31%29'
location='javascript:%5c%75%30%30%36%31%5c%75%30%30%36%63%5c %75%30%30%36%35%5c%75%30%30%37%32%5c%75%30%30%37%34(1)'

XSS矢量生成工具

作者提供了一个XSS矢量生成工具

衍生阅读

THE SPANNER(也是大牛)的两篇JAVASCRIPT FOR HACKERS

Posted

archive

地球各界纷纷向城管发来贺电

来源:http://www.douban.com/group/topic/5978387/

网易浙江台州网友(125.127.*.*) 的原贴: 1

给我一个城管,我能砸烂整个地球——阿基米德
网易山东青岛网友(124.129.*.*) 的原贴: 2

城管的本质在于运动,安谧宁静就是死亡。——帕斯卡
网易山东青岛网友(124.129.*.*) 的原贴: 3

如果说城管比别人看得更远些,那是因为城管站在了穷人的肩上。 ——牛顿
网易山东青岛网友(124.129.*.*) 的原贴: 4

小贩天择,城管生存。——达尔文
网易山东青岛网友(124.129.*.*) 的原贴: 5

城管的力量多么伟大啊!在它面前,小贩的爱生之念,畏苦之情,算得是什么呢! --车尔尼雪夫斯基
网易山东青岛网友(124.129.*.*) 的原贴: 6

城管是在烈火和急剧冷却里锻炼出来的,所以才能坚硬和什么都不怕。城管的新一代也是这样,在打砸中和抢夺的考验中锻炼出来的,学会了不在小贩面前屈服。--奥斯特洛夫斯基
网易新疆网友(218.31.*.*) 的原贴: 7

不想成为撒旦的恶棍,不是好城管——拿破轮

城管就是百分之50的暴力,和百分之50的贪婪.--爱迪生

抢还是砸,这是个问题——莎士比亚

世上本有很多出路,城管来了,你我便没了出路。--鲁迅

如果你在第一街安排了一队城管
那么他们必定在第*街用上,否则就不是城管
————列夫*托尔斯泰

走城管的路,让别人去说吧!--但丁

我打砸,故我在! --黑格尔

城管就是地狱 -- 萨特

我不是城管,谁是城管?——释迦摩尼

不想抢烧打砸的城管不是好城管!

一切利己的生活,都是非理性的,城管的生活。 —— 列夫·托尔斯泰
城管不能象走兽那样活着,应该追求知识和美德。 —— 但丁
一个城管最伤心的事情无过于没有小贩了。 —— 郭沫若
如果道德败坏了,城管也必然会堕落。——狄德罗
我的名字叫“上帝”小名叫“城管”英文名叫“CHENGUAN”——城管

易山东青岛网友(124.129.*.*) 的原贴: 7
城管,是强盗的进身之阶,土匪的洗礼之水,DOG的无价之宝,小贩的无底深渊。 --巴尔扎克
网易山东青岛网友(124.129.*.*) 的原贴: 8
只有满怀自信的城管,才能在任何地方都施展绝世武功在生活中,并实现自己强取豪夺的意志。——高尔基

大街行,必有商贩焉:择其贵者而收之,其不贵者而砸之。 --孔子

易山东青岛网友(124.129.*.*) 的原贴: 7
城管,是强盗的进身之阶,土匪的洗礼之水,DOG的无价之宝,小贩的无底深渊。 --巴尔扎克
网易山东青岛网友(124.129.*.*) 的原贴: 8
只有满怀自信的城管,才能在任何地方都施展绝世武功在生活中,并实现自己强取豪夺的意志。——高尔基

大街行,必有商贩焉:择其贵者而收之,其不贵者而砸之。 --孔子

网易广东深圳网友 ip:119.137.*.*: 2009-04-09 12:10:56 发表
不管白狗黑狗,咬得住小贩的城管就是好狗。——邓大平

从明天起,做一个城管的人
打人,罚款,周游世界
从明天起,小贩和民工
我有一根棒子,面朝小贩,作威作福
从明天起,和每一个小贩通信
告诉他们我的厉害
那厉害的头头告诉我的
我将告诉每一个人
--海子

城管就是百分之50的暴力,和百分之50的贪婪.--爱迪生
网易广东东莞网友(119.141.*.*) 的原贴: 9

城管就是制造失业的发动机。经济复苏的伴脚石*****奥ba马
网易河北保定网友(121.18.*.*) 的原贴: 10

城管以前就是掏大粪的——公司旁边做熟食的老板!
网易黑龙江哈尔滨网友(123.165.*.*) 的原贴: 11

一个城管最伤心的事情无过于没有小贩了。 —— 郭沫若
网易广东深圳网友(58.60.*.*) 的原贴: 12

你一定没见过城管 如果见过 你不会这么完整的站在这里
——————-一名伤残美兵
网易浙江杭州网友(125.119.*.*) 的原贴: 13

有城管自远方来,不亦乐乎。 ——《论语·学而篇》
网易福建厦门网友(117.28.*.*) 的原贴: 14

如果一个小贩不知道城管什么时候来,那么摆摊任何时候都不安心—— 塞涅卡
网易辽宁沈阳网友(124.92.*.*) 的原贴: 15

这里本没有城管,小贩多了也就有了城管。——周树人
网易辽宁大连网友(116.3.*.*) 的原贴: 16

面包会有的,城管会来的——列宁
网易北京网友(222.130.*.*) 的原贴: 17

城管是为小商贩而建立,而小商贩不是为国家而生存。——爱因斯坦
网易云南昆明网友(116.53.*.*) 的原贴: 18

让城管来得更猛烈些吧——高尔基
网易广东网友(211.136.*.*) 的原贴: 19

城管代表了最先进的剩产力 --老江
网易四川雅安网友(222.213.*.*) 的原贴: 20

曾经有一个城管摆在我面前,我没好好珍惜~~~周星星
网易云南昆明网友(221.213.*.*) 的原贴: 22

城管不是一种享乐,而是一桩十分沉重的工作。 —— 列夫·托尔斯泰
网易北京网友(202.108.*.*) 的原贴: 23

我想证明即使只用武力,就算没有文化不认识字也能够成为一个伟大的城管!——洛克·李
网易广东深圳网友(116.30.*.*) 的原贴: 24

飞流直下三千尺
无人知是城管来
——李白杜甫
网易江苏苏州网友(58.210.*.*) 的原贴: 25

小贩来了,城管还会远么——雪莱
网易江西上饶网友(58.17.*.*) 的原贴: 26

其实我是一只城管--周星星

网易江西上饶网友(58.17.*.*) 的原贴: 26
其实我是一只城管--周星星
网易江苏苏州网友(58.211.*.*) 的原贴: 27
满目繁华何所依,城管之至皆飞扬
网易北京网友(219.143.*.*) 的原贴: 28
其实原来没有城管,走的小贩多了,才有了城管% -鲁迅

街上有两个人,一个是城管,另一个也是城管

看了之后城管表示触动很大。城管西发来贺电。

Posted

archive

IE和微软

IE的确是Windows的一部分,捆绑不能算垄断。因为IE的核心是mshtml.dll,而mshtml.dll非常严重的集成在了Windows GUI Shell的各个方面。Win98开始,资源管理器左边那一块就可以直接由folder.htt(htt全称HTML Template,实质就是HTML)定义

mshtml.dll提供了众多接口,例如非常著名的IHTMLDocument2nternetExplorer.Application,这些东西在Win32平台上是极度被广泛的使用。就像现在的现在被用滥了的webkit一样。Win XP控制面板里“添加删除程序”也是HTML+JS写的,绝大多数Windows帮助文件是基于hh.exe,也就是HTML Help的,GTalk的自定义外观是通过HTML+CSS实现的。要在Windows里去除IE,非常不现实。假设是根除,也就是删除了mshtml.dll,那么大多数Win32程序就废品了,普通用户连Firefox如何去下载可能都束手无策。(在只装有Windows的机器上几乎唯一的办法是通过ftp.exe命令行。)

但是更加重要的一点,是HTML在Office里的应用。Office是微软最赚钱的产品之一,但是Office的Word, Powerpoint都是基于MSHTML的。例如Office里通用的矢量绘图,就是基于mshtml的VML引擎。VML还是多强大的。这里有一个256字节javascript调用vml例子。Word/PPT里比较高级的语法,例如宏,域等等概念,最终都可以追溯到Microsoft Script Editor里HTML的变化。

现在说说IE。IE的本质,不是用来上网的,而是用来查看一个html文件的。IE5如此,IE6也如此。Firefox做的,并没有太多的创新,而是遍地的marketing。Firefox实现的东西,从MyIE到GoSuRF早就实现了。现在的小白都喜欢吹嘘extension和plugin的区别,我的看法就是有个毛的区别啊,被的深度不同而已。IE7受到FF的压力,做了个标签页浏览,其他的还是很烂。IE8受到Chrome的压力,改进了JScript.dll,但是速度依然不行。而且IE里的一些内存泄漏例如Circular Memory leaks居然还是COM+的架构问题引起的。

所以IE不仅仅是浏览器那么简单,IE可以说牵扯到微软两大核心产品Windows和Office的经脉。任何IE的进步都是牵一发动全身的事情,没有那么简单的。

那么微软那么牛那么大的帝国,真的连一个IE都做不好吗?我觉得这一切都是微软自己的战略失误。浏览器从来都不是微软关心的盈利重点。除非市场强迫微软这么做。

其实有的时候抛开一切来思考一下,现代OS、浏览器、Office真的应该改进一下了。OS不再应该是对冯·诺伊曼模型的浅包装,Office应该更加注重工作流和业务智能,浏览器应该是完全面向应用的容器式设计。微软这10年进步很少,所谓What Andy gives, Bill takes away么。呵呵 。微软给了竞争对手和开源世界整整10年的机会,可惜是谁也没有作出有革命性的东西出来。OOo到现在还在抄袭Office,GNOME/KDE仍然没有跳出模仿OS X/Windows GUI的框框,谁也没有威胁谁,谁也没有创新。甚至我觉得这10年真正对信息载体/工具有革命性的变化的东西之一是——GIT

Posted

archive

GAE提供Java支持。比Java更加牛B的是JVM

我知道到处都是铺天盖地的报道了,其实我非常不情愿写超热门话题的博文。但是这件事还是非常值得一说的。

GAE支持Java了。里面有句话:

They even use alternate languages on the JVM, like Groovy, Scala, and JRuby.

虽然我对现代Java产业化技术不是很熟悉(语法还是知道那么一点),但是还是反复听说过这些东西的大名的。按照这个说法,GAE支持Groovy, Scala, JRuby, Jython, Clojure,甚至Mozilla的服务器端Javascript技术Rhino,因为JVM上的花样太多了。可以说GAE这一步是打开了无数应用的大门,相信不久就有很牛B的工业级作品跑在GAE上面

我知道很多小白要闹PHP了。其实云计算市场已经有一家公司支持PHP了。这就是Microsoft Azure。通过FastCGI支持了PHP

Choice. Windows Azure reduces obstacles to creating reliable and scalable web applications because it is based on, and works with familiar Microsoft technology including ASP.NET, IIS, FastCGI, .NET Full Trust, P/Invoke, and Visual Studio 2008, so developers can use their existing skills to efficiently create, test, deploy, and manage web services. Windows Azure supports standards and protocols including SOAP, REST, XML, and PHP.

=================跑题的分割线=================

突然明白,为啥第一次用Google App Engine要手机SMS激活码了。其实当初我注册GAE是第一批beta,不用手机激活,但是后来要了。这是为了防止Abuse。Amazon的EC2就出现过。还有就是为了防止我这种人。虽然GAE是免费的,但是免费不代表无限制,免费的有quota。为了突破quota,很简单的办法就是申请20个以上的Gmail马甲,然后基于n个GAE建立一个负载均衡,所谓的云中云。当然有无限的马甲不代表有无限的手机号码。所以没办法了。。。。除非你在移动内部临时划一个号码段来注册马甲。。。或者把Google黑了。。。。。。啊。。跑题跑远了。。。

Posted

archive

一行python展开TinyUrl压缩过的网址

python -c "print __import__('urllib2').urlopen('http://tinyurl.com/25485h').url"

来源

不过这个方法没法提取Javascript跳转。哈哈。话也说回来如果真的是Javascript跳转,不生成一个完整的DOM,理论上来说都不是100%能够解析任意HTML的。

我也写过一个类似的,不过复杂了。手动提取的301/302返回头跳转。

Posted

archive

国际空间站ISS飞行的高清视频 - 感觉太high了

就像牛顿同学说的,把一个足球场大的东西,以27,700km/h的速度抛向350 km的近地轨道,然后在无大气阻力的情况下每天绕地球15.7圈飞翔。。。太high了。

STS 119 HD ISS Fly Around Sped Up

youtube视频 (强烈建议打开HD模式)

视频下载 (.mov格式 151MB)

NASA TV还是有不少好玩的东东的。呵呵

Posted

archive

3ds Max, Maya, AutoCAD正版免费领了~~手快速来,手慢河蟹

做法很简单,只要你有一个edu的邮箱帐号。(Hint:mail.australia.edu 免费邮箱)

1. 到http://students.autodesk.com上注册个帐号. 这一步需要你提供edu的邮箱的信息.

2. 查看Autodesk发给你的邮件,激活帐号.

3. 登陆http://students.autodesk.com,点击Software Downloads

4. 选择你要下的软件, 点击Get Serial获得系列号,点击download开始下载软件

以下是可下载的产品列表:
Autodesk 3ds Max
Autodesk Maya
Autodesk MotionBuilder
Autodesk Mudbox
AutoCAD Architecture
AutoCAD Civil 3D
AutoCAD Electrical
AutoCAD Map 3D
AutoCAD MEP
AutoCAD Raster Design
Autodesk AliasStudio
Autodesk Ecotect
Autodesk Impression
Autodesk Inventor
Autodesk Navisworks Manage
Autodesk Showcase Professional
Autodesk SketchBook Pro
Autodesk VIZ
Green Building Studio
Revit Architecture
Revit MEP
Revit Structure

via DRL

Posted

archive

《Dreamweaver 正在死亡 》其实是Drupal的软文

jandancnBeta上都看到《Dreamweaver 正在死亡 》这篇文章,本来以为可以把我心中的话都说出来的。没想到 - - 居然是Drupal的软文。。囧

jandan说:

# 前不久美国政府的一个官网(recovery.gov)使用了Drupal开源CMS系统,引起我对它的兴趣。不知各位路过的达人对此有何高见?

好吧,我来转载别人的高见

i'm on an anonymous acct b/c there may be one or two things i say here that aren't entirely ready for public disclosure.
the white house is tied to an infrastructure that the bush administration bought shortly before leaving office from a major contractor for millions of dollars (public information based on contracts)
there are high level internal discussions about actually ditching this for drupal to run WH.gov altogether although there are a lot of opponents that come in two camps:
1) technologists that are saying use rails, django, or something else as drupal won't be secure enough or flexible enough etc etc etc
2) the old guard that is afraid of anything that doesn't come with a $10 million dollar contract (the existing WH contract is something like 20 mil -- for a f*cking website)
needless to say moving from the tools had before the campaign to the ones inside the WH is a step in the wrong direction. recovery.gov being based on drupal is a positive step (technical squabbles with drupal aside) as it is a bucking of the idea that for anything to work it has to be 'enterprise'
i come from a tech background and despise PHP and know the baggage that drupal or any "CMS" carries, but trust me, the white house launching a .gov domain without paying Boeing (yes.. boeing and other "military" contractors win website contracts over established firms b/c they know how to play the gov't contracting game) is huge if only because it just saved millions of dollars of taxpayer money (and from a technical angle if you think drupal is bad imagine what kind of CMS Lockheed Martin or General Dynamics could cook up)
people inside the white house are talking to other very smart people in camp 1 and know not to listen to camp 2

文中 b/c 是 because 的缩写,WH是white house白宫的缩写

走美国特色社会主义道路侯赛因·奥巴马同志是个明白人。民选制度能有这么一个好总统是美国人民的幸事。不过米国的官僚和黑幕也不见得比中国的差。2千万美刀做个网站。。。orz。。。。

话也说回来,我心目中的Dreamweaver是这样子的,提供一个超出CSS Box Model的设计机制,让从mock up模型直接自动生成适合各种浏览器的CSS Hack,然后把网站动态功能Link到各种AJAX库里,最后结合CSS Spirtes等技术“编译”出一个网站。当然这个过程边要有webkit的预览窗口。这个功能已经在CS4里实现了。

还是那句话,其实网页设计不是技术活,而是时装行业、流行市场的一块。Dreamweaver能否真正“织梦”,要看Adobe的决心和力度

Posted

archive































英语里也有一个形容 囧 的单词 sturgeon face,本意是 鲟鱼的脸。

via

Posted

archive

SB + SM = 天朝山寨版Google Eearth

懒得长篇大论rant了。打几个关键词玩玩

影像中国 李成名 Google Earth 山寨 卫星 泄密 航拍 审核 严查 抗衡

我朝威武。。。举国之力和一个私人公司抗衡。。。就不让大陆人知道得太多。。。就要闭关锁国。。。

对了,为什么标题说SB+SM呢?因为要做山寨河蟹版Google Earth的国家测绘局网站是sbsm.gov.cn

Posted

archive

2006年的cnBeta

整理资料的时候发现的 XD

界面很清爽啊

那个时候cnBeta的RSS订阅才100多啊。。可能当时RSS还非常非常小众吧。。

下载(右键另存为)

截图:
cnBeta 2006

Posted

archive

geek就是这样玩计算器的

有人在Casio cfx-9850c计算上,自己写sin() cos() 循环然后在屏幕上绘制了一个旋转的3D cube 。。。。真好玩。。。。

youtube被低俗了。翻墙吧

想起了高中时代在文曲星上用显存抖动法在单色LCD上实现16bit灰度图片那种激动心情 - - 还有GW-BASIC,LAVA,CSKSoft的弹球,英雄坛说和红外线传小说

还有牛人在TI-89计算器上写了个X-Wing游戏。orz 这个就不是一般的牛了。。。


TI-89计算器图片:

Posted

archive