万丈红尘心ssh不染,空谷无人水-D自流

万丈红尘心ssh不染,空谷无人水-D自流

我的blog已经又一次被万能的GFW评选为“优秀网站”了,在这里我再次表达内心的“狂喜”和“激动”,感谢d-ang的欣赏,因为在我看来,只有很优秀的网站,如Google等才有资格被隔在墙外的。 最近一次被“墙歼”(普通话念)的这段时间以来,心态也转变了很多,从最初的愤怒到现在的理智,其中的辛酸哪怕是有点“互联网良知”的人都会知道的。直到昨天,无意中在一个高人的blog看到,原来ssd -D的技术目前已经相当成熟了(应该说商业运作已经相当成熟)。 //twitter上有人(@lovexshan)问我什么是ssh -d,有一个网页解释得很好:https://dl.getdropbox.com/u/873345/index.html 于是我也终于购买了专业的ssh linux服务器了。测试了一天,效果还算满意。但是抱歉,我承诺过不能在这里提供售卖方的任何信息,如果有人有兴趣,请文下发邮件或GTalk问我。(只能说是价廉物美得很) 目前我主要在做一些web开发工作,涉及到Social Networking和商城网站的整合开发,再加上自己写blog的需要,这两点是我购买ssh -D服务器的主要原因。 简单地说,ssh -D能在执行命令的终端生成一个ssh连接到远程计算机,发起连接的终端提供一个socks代理使得第三方的应用能够分享远程宿主机的Internet资源。 所以,使用ssh -D能够远程使用宿主机的网络身份访问网站。所以诸如facebook、twitter、blogger等这些邪恶的“外贸网站”(最近的提法,大家不许联想),都能高速访问。 经过一番折腾,加上自己的一些实践,目前我的Mac和虚拟的Win2k8r2均实现ssh -D访问“外贸网站”,当然了,这也是我能再次更新我的blog的原因。 这次回归Spaces后,如果时间允许,我打算写一些关于ssh -D访问“外贸网站”的文章,和一些反“墙歼”的经验教训,我也在探索开发一个分布式服务器的理论模型,集合p2p技术的特点,看能不能在“推墙”方面有所作为,但是目前在探索阶段,具体的行动,我还需要仔细思量。现实太残酷。 好了,写到这里,也是我一个人探出墙外胡乱写写东西,国人要看,使用Google Reader或者自行翻墙吧。我照顾不了那么多了。 https://leaskh.com https://leaskh.com/feed.xml 上面第一个是本站地址,第二个是feed订阅地址。祝大家好运。 /* 好久没上来写过东西,不想再多讨论这方面的事情,中国网民其实很无力,集体的网络“暴力”过后,其实剩下的除了所谓的粗俗的几句“网络流行语言”以外,什么也没有留下来。如果真的是那么愤青,真的是想为咱们伟大的祖国贡献一下的话,想一想,你们还有很多事情可以做。 能力越大,责任越大。无聊的人们,好自为之。 */

iPod touch 1st Generation OS 3.1 JailBreak firmware

盼星星盼月亮,Dev-Team Blog终于流出最新的PwnageTool_3.1.dmg。 于是二话不说,定制固件,成功升级了touch。 目前的PwnageTool 3.1还不完善的,并不是所有机型都可以,但是可以确定的是1代的iPhone和1代的iPod touch是没有问题的,本人亲测成功,大家放心升级就是了。 iPhone 3GS的朋友记住要耐心等待了。目前不要轻举妄动。 本贴发一下PwnageTool_3.1.dmg和我自己的定制固件,如果大家和我一样使用ipod touch 1st Gen,就算为大家提供一个方便吧。 固件在iTunes 9可以直接升级。 Download Here: http://cid-4ea288f611c3a90c.skydrive.live.com/embedicon.aspx/Public/ApplicationsforMac/iPod1J1_3.1.1_7C145_Custom_Restore http://cid-4ea288f611c3a90c.skydrive.live.com/embedicon.aspx/Public/ApplicationsforMac/PwnageTool_3.1.dmg 遗补,上传未越狱的原版固件: http://cid-4ea288f611c3a90c.skydrive.live.com/embedicon.aspx/Public/ApplicationsforMac/iPod1J1_3.1.1_7C145_Restore

低调上Twitter,新IP出来了!

低调上Twitter,新IP出来了!

早两天就得到了能连上Twitter的新一组IP地址,不少人DM问我要,实在是考虑再三我还是贴出来了。 记忆中上次贴出后,那一组不久就不能用了。 不过twitter的文化就是分享,如果只有自己能上,那么twitter还有什么意义。 还是大家一起来吧。实在不行了,我们还有机器人(https://www.tweet.im)能上。 能用多久算多久,实在不能用了,大家八仙过海,各显神通。 有新的可用IP我会在这里分享给大家。

本人的iPod touch首页

本人的iPod touch首页

随着iTunes 9的发布,圈子里流行起贴iPhone和iPod touch首页的怪举动。 本人的touch首页在@Apple4us的twitter上已经贴过了,有人说看不到twitter,那么我就在这里再贴一下吧。 iPhone和iPod touch的首页,特别是Dock,往往是使用最多的Apps,所以,所以分享iPhone OS的首页,的确是很有趣的。 岳校,等着你贴上来! 听说Kevin也在用iPhone,看到也上个图哦! //注意,原来在Twitterrific位置的应该是Tweetie,无奈最近要翻墙,Twitterrific相对Tweetie优点是能支持自定义API,便于突破重围!

从iTunes 9不是64bit Cocoa说起

短期内iTunes不会有64bit的,目前iTunes的Windows版本和Mac版本,维护着大量的公用库和跨平台底层。这些东西,其实在iTunes 中保持着相对的稳定。整个iTunes框架而言,需要照顾的不仅仅是Windows和Mac OS,还有各个型号的iPod。Apple必须保证其iTunes程序能提供两个电脑系统的平台上,各自顺利同步众多型号的iPod、Apple TV、iPhone等等。在这个时候重写iTunes的底层是吃力不讨好的。看看目前世界经济环境,在有限的研发投资下面,Apple选择的将一定是加快设备开发的投入,抢占市场。而软件,Apple会鼓励使用新的Cocoa技术,但是不是一切非要Cocoa不可。 回想一下,Carbon Finder也伴随我们走过了那么久,想象iTunes也一样。但是,The future is 64bit,未来是64位的,无论Windows或者Mac都一样。所以iTunes甚至iPhone OS都必须是64bit的。只是时机还没有到。不过也快了。我预感,不远了。 Apple是善于抛弃包袱的公司,Windows 7到目前还能很好地运行部分DOS 16bit应用,Power Shell也因此没有代替经典的命令行模式。而Apple则不同,数年前的Classic环境已经不被支持了,Rosetta也渐渐淡去了。Apple抛弃旧有技术的决心,是一种鞭策,鞭策着必须要有新的,完善的解决方案,而新方案不单单是解决旧有的问题,而是正恰恰是使用当前的主流硬件的极限性能,出色地完成新架构应该完成的任务,同时在这个基础上,做出超越。所以Mac总是在性能和功能之间显得很平衡。然而这种决断,正是Microsoft所缺乏的,如果不然,Windows 7会比现在快很多倍。 这也正使得Apple的Mac OS X显得很有活力,通过不断的“无情”的进化,在痛苦的蜕变后不断获得新生,而Windows在不断的兼容性维持中,付出了惨痛的代价以致于性能和功能的平衡严重失衡,Vista就是一个典型的教训。对用户来说,Classic和Snow Leopard已经革命性地彻底改变,然而Windows 7呢,去掉Areo后,和Windows 98还有太多太多的相似。 // PS: 上文是我在Google Reader中对下文发表的评论: iTunes and Cocoa 原文:http://daringfireball.net/2009/09/itunes_and_cocoa 译文:http://apple4.us/2009/09/itunes-cocoa.html(由于Apple4us的CC协议限制,这里就不贴出译文了) 原文引用: iTunes and Cocoa Friday, 11 September 2009 John Nack posted a good devil’s advocate piece regarding whether and why iTunes should ever go 64-bit. Nack asks: Do people really have performance problems* with iTunes as it is? I never have. It filters my 3,000-item library as fast as I can type, does a lovely job with HD video, and whips through album art in Cover Flow. I can’t recall others complaining, either. Do they want iTunes to use more than 4GB of RAM? I think we can safely say “No.” Do they complain about the UI (e.g. non-standard scrollbars) and think that Cocoa will make iTunes more “Mac- like”? Again, I haven’t heard complaints (or rather, only ridiculous ones). So what, then? Let me put it another way: If you were directing the iTunes team’s efforts, why would you — as a customer — tell them to spend their time on Cocoa and/or 64-bit, at the expense of doing other things customers want? I, of all people, have certainly never been one to argue for Carbon-to-Cocoa rewrites just for the sake of Cocoa being better just because it’s Cocoa. And the same goes for 64-bit-ness. What really matters are features and user experience, not the developer technologies used to make them. When I say it seems inevitable that Apple will eventually move iTunes to Cocoa and 64-bit, it’s not because those two things in and of themselves will dramatically improve the features and experience of the software. I say it seems inevitable because Apple has moved almost all of their “system apps” to 64-bit. Check out the first footnote on Apple’s Snow Leopard Technology page: All system applications except DVD Player, Front Row, Grapher, and iTunes have been rewritten in 64-bit. Almost everything else that ships with Mac OS X is 64-bit now.1 Were customers demanding a 64-bit Dock? Has anyone’s life been changed now that the Dictionary app is 64-bit? Of course not. For some apps there really have been tangible performance improvements in the move to 64-bit, but the reason Apple has moved almost all their apps to 64-bit is simply because it’s now what they consider the best way to build Mac software. They are leading by example, preparing for the future. The Finder is the best example to compare against iTunes. The Snow Leopard Finder didn’t just have to be ported from 32-bit to 64, it had to be ported from Carbon to Cocoa. In the early years of Mac OS X the Finder was the app Apple held up at WWDC as its Carbon “dog food” example — proof that it was using the Carbon APIs for an essential app. It was the Carbon poster child. No matter how modern a Carbon app the Finder was (insofar as that it was written specifically for the then-new Carbon APIs on Mac OS X, not a port of old classic Mac OS code), it must have been a lot of engineering work to port it to Cocoa — with the result being an app that most users won’t notice being any different at all from the Carbon Finder in 10.5. John Siracusa described the new Snow Leopard Finder thus: The conversion to Cocoa followed the Snow Leopard formula: no new features! except for maybe one or two. And so, the “new” Cocoa Finder looks and works almost exactly like the old Carbon Finder. The biggest indicator of its “Cocoa-ness” is the extensive use of Core Animation transitions. Sven-S. Porst was a bit harsher: In short, people probably put a lot of effort into creating a Finder that sucks just as much as the old one but which can tag itself with the labels ‘64bit’ and ‘Cocoa’. Cocoa was not magic pixie dust that inherently made the Finder radically better. But so why did Apple bother? Because Cocoa and 64-bit are the future of Mac OS X. And, for many new APIs, they are the present. As Siracusa noted in the 64-bit section of his Snow Leopard review: The second big carrot (or stick, depending on how you look at it) is the continued lack of 32-bit support for new APIs and technologies. Leopard started the trend, leaving deprecated APIs behind and only porting the new ones to 64-bit. The improved Objective-C 2.0 runtime introduced in Leopard was also 64-bit-only. Snow Leopard continues along similar lines. The Objective-C 2.1 runtime’s non-fragile instance variables, exception model unified with C++, and faster vtable dispatch remain available only to 64-bit applications. But the most significant new 64-bit-only API is QuickTime X. In short, there are new APIs and features in Mac OS X which are only available to 64-bit apps, and because there are no 64-bit Carbon APIs, 64-bit apps implicitly means 64-bit Cocoa apps. Carbon has not been deprecated. There have been no warnings that the existing Carbon APIs will be going away in a future version of Mac OS X. Some of the biggest and most popular third-party apps, like Microsoft Office and the Adobe CS suite, are Carbon. Even if the next major releases of these apps are all ported to Cocoa, there are an awful lot of Mac users who are going to want to keep using the versions they’ve already bought. And, even if you’re not persuaded by Apple’s motivation to support third-party Carbon developers, note that nearly all of Apple’s own “Pro Apps”, lik e those in Final Cut Studio, remain Carbon apps. Maybe the Carbon APIs will never go away, but I wouldn’t bet on that. They’re certainly not going away soon, but never is a long time. And Apple’s new stuff is all 64-bit. The writing has been on the wall ever since the planned-for 64-bit Carbon was unceremoniously canned at WWDC 2007. The Classic Mac OS environment went away after just a few years. Rosetta (the PowerPC emulator) is no longer installed by default with Snow Leopard, and my guess is that it won’t be included at all in 10.7. Apple doesn’t just add things to Mac OS X — they remove old things. Carbon hasn’t been deprecated but Apple clearly considers it legacy technology, and Apple has demonstrated a strong institutional aversion to legacy anything. The single most remarkable thing about Snow Leopard is that it is smaller than the previous version of the system. It is an operating system that is — and, going back to its roots at NeXT, has always been — evolving, not just growing. Apple doesn’t just add to it. They prune. They churn. And the track record shows that when it comes to ushering old technology out the back door, they err on the side of too soon rather than risk letting it linger too long. Apple worries about the way things should be far more than it worries about continuity with the way things used to be. The Cocoa Advantage for Users A 64-bit Cocoa version of iTunes isn’t going to sync with your iPod faster just because of 64-bit Cocoa magic. But the new Snow Leopard Finder does show the subtle ways that a Cocoa rewrite has tangible advantages for users. System-wide services work in both Carbon and Cocoa apps via the Services menu, but only Cocoa apps pick up the new-to-Snow-Leopard contextually-aware services in contextual menus. This is something Apple added to Cocoa, so all Cocoa apps get it “free”, including the new Finder. iTunes 9, because it’s Carbon, does not. Another example. Long-time DF readers may remember “Highly Selective”, a piece I wrote three years ago regarding the two UI models for selecting multiple items in a list using the keyboard: anchored and unanchored. I argued (successfully, it turns out) in favor of the anchored model, and lamented the fact that Cocoa, and therefore most Mac software, used the unanchored model. That changed in Leopard, when Apple improved the Cocoa standard list control (NSTableView) to use the anchored model. All of a sudden, all Cocoa apps switched from the inferior unanchored selection model to the superior anchored model. But list selection in Carbon apps like iTunes and the Finder remained unchanged (and, alas, unanchored). The Snow Leopard Finder, now that it’s a Cocoa app, offers anchored selection. iTunes 9, still Carbon, does not. These little bits of functionality and system-wide consistency constitute the Cocoa advantage. The big difference between iTunes and the Finder is that iTunes is cross-platform. There is no Windows version of the Finder. (And even on the Mac, iTunes 9 still runs on 10.4 and 10.5, whereas the 10.6 Finder only has to run in 10.6.) As with most Mac/Windows cross-platform apps, the Mac version is Carbon, not Cocoa. Much, if not most, of the reason for this is historical — most of the big cross-platform apps date back to a decade ago, when the Mac version couldn’t be written in Cocoa because Mac OS X wasn’t out yet. That’s true for Microsoft Office, it’s true for Adobe’s CS suite, it’s true for Firefox, and it’s even true for iTunes. One great counterexample is, in fact, from Adobe. Lightroom is a cross-platform app and the Mac version isn’t just Cocoa, it was the first mainstream Cocoa app I’m aware of to support 64-bit mode (ahead of even Apple itself). If and when iTunes does make the move to 64-bit Cocoa, I expect it to resemble Lightroom architecturally: relatively thin UI layers written with the native Mac and and Windows APIs, with most of the code residing in cross-platform compiled libraries and scripting runtimes. But whereas Lightroom uses Lua as a cross-platform scripting runtime, my money says Apple would use WebKit for iTunes. The growing use of WebKit in iTunes today could be a step in that direction. Apple didn’t have to write separate Mac and Windows renderers for the new iTunes LP content or the new iTunes Store — they just used WebKit, which already works great on both OSes. And, of course, Apple itself has a big cross-platform app that’s a 64-bit Cocoa app on Snow Leopard. It’s called Safari. 1. Ends up Podcast Capture (in the /Applications/Utilities/ folder, is still 32-bit, too. Not sure if there are any others Apple’s footnote neglects to mention.

我的工作系统[发此贴仅为刺激岳校]

我的工作系统[发此贴仅为刺激岳校]

岳校,请点击看大图,哈哈! 不怕不怕,慢慢来,会激活到的。 对了,传闻也就399RMB,可以买到Professional版了,个人感觉还是挺划算的,Professional x64是我最喜欢的Windows 7版本。 等价格稳定下来,考虑购买正版,最近都在致力减少机器里面盗版软件的数量,尽量使用开源或者便宜的正版软件。 //其实Windows 7 Professional也有Areo的华丽界面的,但是由于开发用途,我就禁用了。看起来清爽一点。 //最后补充一下,x64下IIS和.Net Frameworks速度很快哦。 嘻嘻,岳校激活以后上来冒个泡。

RUN RUN RUN,Nike plus与我们一起做运动!

RUN RUN RUN,Nike plus与我们一起做运动!

昨晚Apple的Let’s just rock and roll, but we like it.为主题的Media Event其中很经典的一幕是Steve Jobs重新回到大众视野的一刻,台下几分钟的掌声。 昨晚Apple的It’s only rock and roll, but we like it.为主题的Media Event其中很经典的一幕是Steve Jobs重新回到大众视野的一刻,台下几分钟的掌声。 乔老师的身体的确不如他的头脑,但这实在不是特例,绝大多数的IT精英们,同样面对着比较严峻的健康问题。 我不是IT精英,但是在电脑前工作十多小时是我每天必不可少的,因此,身体也不怎么样。所以,大约一年前我开始了持之以恒的身体锻炼。可别说,效果是可观的。 今天给大家分享的是来自Nike+(读作Nike plus)的“运动激励”音乐。Nike plus是Nike公司在高科技领域的一个尝试,通过一系列的硬件产品,量化你的运动程度,跟踪你的身体变化,记录每次运动的成果并在互联网上分享的一系列服务。其中有数码计步器,数码腕带,跑步机控制器等等。 几年前,Nike plus和Apple合作,推出了Nike + iPod的一系列好玩的东西,把Nike压力感应计步器安装到Nike plus运动鞋,通过蓝牙和iPod nano(全系列)、iPhone(3G或以上)或者iPod touch(2Gen或以上)连接起来,就能收集你跑步的时候的运动数据,计算你跑步的距离和消耗的卡路里,提供运动建议,并上传数据到Nike plus社区。 当然了,其中还包括带运动教练功能的Nike plus激励音乐。这就是我今天要分享的东西了。 这张专辑是我听得最多的,其中有独白引导你何时休息,何时应该加速,挺不错的,整个运动过程有4次冲刺,全过程约40分钟,十分适合用作每日锻炼使用: 以下这个是27分钟的小跑,我最新得到的,还没有来得及尝试: 这个是比较专业的,全程只有两次冲刺,全过程约40分钟,每次加速平均维持8分钟,我跑过一次,跑下来相当不容易啊: 这个是原始跑法,全程只有一次的加速和一次的减速,我觉得跑起来也挺痛苦的: 以上都是跑的,下面分享一个适合大多数户外运动的激励音乐,如果我没有记错,好像也是有旁白教练指导的: 这个是室内运动,风格类似与上面的一组: 以上的音乐,大部分都是Nike的专业DJ通过使用一些节奏明快的音乐Remix出来的,当然了,有几个专辑还提供了Remix前的单曲下载,用来平时听也很不错。 对了,忘记告诉大家,以上各专辑的格式均需要配合iTunes或者iPod播放。 上面的音乐都能在iTunes音乐商店买到,其中有原版分享出来的,也有通过技术手段去除了版权信息的,但无论如何,音乐的版权都归原版权人所有,本人在此仅仅提供试听分享,大家试听后觉得适合自己,可以去iTunes上面购买,然后删除我提供的试听版本,本人不提供版权,也不承担版权责任。 Download here: http://cid-4ea288f611c3a90c.skydrive.live.com/embedicon.aspx/Music/Nike+

记得大学时期英语听力录音带中的背景音乐么?

记得大学时期英语听力录音带中的背景音乐么?

无意中听到的,无限怀念呀! 就是考试前有个人在说“这里是考试频道,这里是考试频道!”的时候的那个音乐。 有iTunes或者iPod的朋友不要错过了哦! 注意了,是正版音乐,我只提供试听下载,下载试听后请删除,版权归原版权人所有。 Download Here: http://cid-4ea288f611c3a90c.skydrive.live.com/embedicon.aspx/Music/Classical/01ConcertoNo.1inEMajorJRV269_Spring__I.Allegro.m4a