Microsoft PDC 2003的一些资料已经可以在网络上载到。
http://microsoft.sitestream.com/PDC2003/Default.htm
看到破宝提供了FreeTextBox 1.6.3中文版的下载,真是感谢他的劳动。FreeTextBox一直以来都是我使用的HTML编辑器的首选。
最近有点反朴归真,接手做了一个对外网站,属于信息发布类型。感觉做得有点索然无味,不过还是坚持从需求到完结做了下来。其实最担心的是界面问题,如果让我做界面,我一向都是表格和文字,至于图片嘛,嘿嘿,还是背景为白的文字,最多加个文字阴影了不起了,毕竟一拿起Photoshop就心寒。于是在界面问题上浪费了很多时间。之间发现了有个叫叮当模板网的站点,很是不错!虽然我没有采纳,但是以后有用我肯定下载个回来用。J?谢天谢地,界面总算还能见人。J
开始接触移动编程,对我来说是陌生的一块荒地。不过我喜欢这种感觉。今天QQ里多了个朋友,一看她的个人说明真合此时感想:
要是重新选择的话,我仍旧选择计算机,1、或研究新技术方面,“峰回路转,柳暗花明”。2、或“运筹帷幄”引领大局,同样令人兴奋不己。
当然也许日后会有另外一种想法。
一直以为Microsoft.VisualBasic命名空间里仅有VBCodeProvider类而已,不想该命名空间里还包含构成VisualBasic .NET运行时库的类和模块。而这些类和模块里的很多东西都是很有用的。想起以前为了实现程序简体字和繁体字互相转换,自己弄个简繁体字对应资源库然后从资源库里对应的找,方法土效率也低,是种让人抓狂的方法。而在该命名空间下的Strings模块里的StrConv函数就可以转换:
private string Simplified2Traditional(string source)
{
string result = Strings.StrConv(source, VbStrConv.TraditionalChinese, 0);
return result;
}
看起来感觉很舒服。稍微查看了下内部,大致是利用System.Globalization.CultureInfo类、编码和代码页等加上位运算判断转换的。有空整理下该资料再将其内部结构、编码和代码页给梳理下。
最近听说www.17173.com被sohu以高价收购了,感到有点意外。确实,随着网络的普及和网络速度的改善,网络游戏越来越热门了。看看有多少人在网吧或家里玩传奇、买点数等,就明白为什么有人说网络游戏挽救了中国的门户网站。
我习惯经常和我的同学或朋友聊关于IT的一些事情,有时候是作为一种感受的交流,有时候想与大家验证下自己想法的正确与否,这种交流很轻松也很有收获。
前些天,在厦门的一位同学chenfl跟我在QQ上聊了很多关于他目前想做的事。他一毕业就在厦门一台台资企业工作,那家据说是台湾出名的ERP和企业管理软件公司,基本采用Delphi,也重新改写了Delphi的VCL等底层代码和拥有自己一套长期积累下来的控件和类库。当然这些都是听他说的,而确实,在毕业的这一年多里,我能明显感受到他各方面的迅速进步,尤其在技术与思想上。他经常打电话跟我聊关于他对目前IT行业发展的看法,并一直在寻找机会想放手干一场。多次我鼓励并肯定了他的想法,同时也说了我的看法。今天,福州另一位同学wensdy也在MSN上聊起了种种想法,大致如上,他是做linux平台上开发的,做的是实时语音用rtp协议,sip协议.电信h323协议.计费服务器. IP电话等一系列关于电信的东西,而他希望搞的是服务.游戏,短信,语音平台等。
听多了这类想法,也经常在网络上看多了这类想法,而自己曾经也有过太多想法。不知道为什么,如今的自己,感觉已经渐渐平息了这种冲动。此时,竟然有点害怕,害怕的竟然是自己怎么会没有这种冲动了。呵呵,突然想起在博客堂里似乎是Grace的话,24岁的小伙子正在事业茫然期,该和同龄或者有经验的过来人多交流。说得很好J,不然还真会抓狂。
黑色幻想,白色世界。习惯在黑夜里敲键盘、看书、喝咖啡,同样习惯在白天里工作、聊天交流。有时候想,如果仅仅能为了自己写程序玩电脑的兴趣,而不必为其他琐事而烦恼,世界就很完美了。程序员是不是都这样?也许吧。
在LonghornBlogs.com里看到了一段关于“Longhorn”的由来,很是有趣,摘录如下:
Come and listen to a story about a man named Gates
A rich pioneer looking to keep Windows rich (with features of course)
And then one day while skiing Blackcomb and Whistler too
He had to make a pit-stop along a highway 99 jewel
...Longhorn bar that is, pints of beer, burgers too....
Well the first thing you know ol Gates got an idea
The patrons said "Longhorn is what we got here"
said "Vector GDI is the place you ought to be"
So Gates tipped his glass and said "thank you kindly"
Avalon, that is, WinFS and FX too.
... Y'all come back now, y'hear?
同时,LonghornBlogs.com里提出的Avalon's 5 Element Families 也是很新鲜J
另外,阅读了一点材料后,对Longhorn里的Sparkle有点迷惑,阅读了Put some "Sparkle" In your UI 和 What’s the Sparkle in Longhorn? 后也有点疑惑,Flash?missing the point?SVG?XAML?呵呵,晚上再找点资料看看了。
今天是立冬,用闽南泉州一带的习俗叫“补冬”,意思就是冬天到了,今天该吃好点,好过冬天。奇怪的是,福州的冬天怎么还能达到29度。大家可能想象不到,今天我们还穿着短袖,开着空调,俨然夏天。最近气候真奇怪,不过晚上还是跟以前一样,该去好好犒劳下自己了J
习惯用MSN的图释做为表达手段,但用久了MSN自带的图释,感觉还是不够用
。偶然跟朋友聊天时谈起这个,他兴致勃勃传了个MSN表情.rar压缩包给我,打开使用后立即对里面图释有点爱不释手的感觉
。前一阵子感觉开心似乎已经将常用的表情跟MSN默认表情图释进行转换,于是心血来潮利用开心教的“排版向导”也把一些MSN表情与关键字挂钩用了起来,感觉有点类似BBS聊天室里常用的//papaya、//kick等等。
看了Red Hat表示放弃免费Linux 提供收费升级的新闻,我并没有感到惊讶。毕竟这一天迟早都要到来。没有利润的事,资本家怎么会当成事业来做?当然,这点对于技术人员来说是不足惊奇的,毕竟还是有很多程序员喜欢分享自己的成功和喜悦。再后来,看了Red Hat老总建议消费者舍弃Linux 选择Windows一文后,真为RedHat高兴,实事求是面对现实才会发展。可是一看到有读者评论之为Linux阵营的叛徒等等不近人情的话,却又觉得有点悲哀...
在Longhorn SDK站点里逗留看了阵子,越看越激动,把WinFX、"Longhorn" Markup Language (code-named "XAML") & Avalon、WinFS等新名词新技术一一稍微浏览了下,激动兴奋之余,又有种比较大的莫名的压迫感。总是惊讶微软能走那么远。
Wesner在他站点上对Avalon命名空间分析了下,感觉还挺好的。摘录如下,更多详细看他的站点:
查看命名空间变化。
The number of namespaces just for Avalon (shown below) is approximately the same as the number in the .NET Framework, but I believe Avalon has far more classes. "MSAvalon" will be changed to "System" in the future. You can see that scope of Avalon is far more than that of WinForms; it's essentially all is the control support of USER, the graphic support of GDI, and the application framework support of MFC. It includes a compound file implementation, input (via ink, mouse, keyboard), document level support ( common dialogs, commands, undo, design-time editing of text, shapes, and controls ).
MSAvalon.ComponentModel MSAvalon.IO.CompoundFile MSAvalon.Security.RightsManagement MSAvalon.Threading MSAvalon.Windows MSAvalon.Windows.Annotations MSAvalon.Windows.Annotations.Component MSAvalon.Windows.Annotations.Storage MSAvalon.Windows.Automation MSAvalon.Windows.Automation.InteropProvider MSAvalon.Windows.Automation.Provider MSAvalon.Windows.Commands MSAvalon.Windows.Controls MSAvalon.Windows.Controls.Atoms MSAvalon.Windows.Controls.Interop MSAvalon.Windows.Controls.Isolation
|
MSAvalon.Windows.Controls.Primitives MSAvalon.Windows.Data MSAvalon.Windows.Design MSAvalon.Windows.Documents MSAvalon.Windows.Events MSAvalon.Windows.Explorer.Enhancements MSAvalon.Windows.Forms.Integration MSAvalon.Windows.Input MSAvalon.Windows.Interop MSAvalon.Windows.Media {.Animation, .TextFormatting } MSAvalon.Windows.Navigation MSAvalon.Windows.Resources MSAvalon.Windows.Serialization MSAvalon.Windows.Shapes MSAvalon.Windows.TrustManagement {.Configuration }
|
Just to give you another sense of the magnitude and versatility of this library, the textbox control is a superset of the HTML and RichText control that WIN32 provide. The textbox is essentially Word, with advanced features like page layout, footnotes, columns, wrapping around objects, background spelling. The beauty is that you can customize the textbox control at a much lower level with WIN32 controls; you can actually add custom properties to text ranges and modify the rendering behavior of text. The level of control and customization is unprecedented; writing a wordprocessor was never this easy.
The Shell exposes a number of namespaces and classes, seeming to promise to make shell extensions as trivial as implementing a derived class, and making application interoperability with the explorer much more intimate.
System.Windows.Explorer System.Windows.Explorer.Assistance System.Windows.Explorer.Controls System.Windows.Explorer.Dialogs System.Windows.Explorer.Enhancements System.Windows.Explorer.Enhancements.Filters System.Windows.Explorer.Games
|
System.Windows.Explorer.Interop System.Windows.Explorer.PhotoVideoEmailWizard System.Windows.Explorer.Pivots System.Windows.Explorer.Search System.Windows.Explorer.View System.Windows.Explorer.View.Preview System.Windows.Explorer.View.Preview.VideoFolder
|
WINFS has a number of namespaces. Each inner namespace, defines large set of a standard system objects related to a subject like contacts, which WINFS can store read and write directly into the filesystem. Of course, you can write you own objects.
System.Storage System.Storage.Annotation System.Storage.Audio System.Storage.Contact System.Storage.Core System.Storage.Explorer System.Storage.Fax System.Storage.Files System.Storage.GameLibrary System.Storage.Help System.Storage.Image System.Storage.Interop System.Storage.Location System.Storage.Mail
|
System.Storage.Media System.Storage.Meta System.Storage.NaturalUI System.Storage.Notes System.Storage.Notification System.Storage.Principal System.Storage.Programs System.Storage.Service System.Storage.ShellTask System.Storage.Synchronization System.Storage.UserTask System.Storage.Video System.Storage.Watcher
|
The Indigo namespace is quite substantial itself.
System.MessageBus System.MessageBus.Configuration System.MessageBus.Installer System.MessageBus.Management { .Performance } System.MessageBus.Policy System.MessageBus.Remoting
|
System.MessageBus.Routing System.MessageBus.Security System.MessageBus.Services { .Description } System.MessageBus.Tools System.MessageBus.Transports
|
A few other interesting namespaces are the following, which gives an indication that we may finally have standard API support for artificial intelligence.
System.Help System.NaturalLanguageServices System.NaturalLanguageServices.DocumentUnderstanding System.Search.* System.Speech.*
|
/*********************************************************
你能猜出这段程序的输出结果吗?
许多人都坚信,只要有源代码,他们就总能搞懂代码里所有的玄机。
下面这几行C语言代码就是对这一类人的最大嘲弄:
这只是一段普通的C语言代码罢了。我知道,它也许看上去不那么
好看,似乎这只是一堆无法通过编译的字符垃圾。不过,为什么
你不试一试呢?它的确能通过所有C语言编译器的编译。
我担保你猜不出它的运行结果,试着运行一下,你一定会被输出结
果惊得目瞪口呆。
*********************************************************/
#include
main(t,_,a)char *a;{return!0main(-86,0,a+1)+a)):1,t<_?main(t+1,_,a):3,main(-94,-27+t,a)&&t==2?_<13?
main(2,_+1,"%s %d %d\n"):9:16:t<0?t<-72?main(_,t,
"@n'+,#'/*{}w+/w#cdnr/+,{}r/*de}+,/*{*+,/w{%+,/w#q#n+,/#{l+,/n{n+,/+#n+,/#\
;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l \
q#'+d'K#!/+k#;q#'r}eKK#}w'r}eKK{nl]'/#;#q#n'){)#}w'){){nl]'/+#n';d}rw' i;# \
){nl]!/n{n#'; r{#w'r nc{nl]'/#{l,+'K {rw' iK{;[{nl]'/w#q#n'wk nw' \
iwk{KK{nl]!/w{%'l##w#' i; :{nl]'/*{q#'ld;r'}{nlwb!/*de}'c \
;;{nl'-{}rw]'/+,}##'*}#nc,',#nw]'/+kd'+e}+;#'rdq#w! nr'/ ') }+}{rl#'{n' ')# \
}'+}##(!!/")
:t<-50?_==*a?putchar(31[a]):main(-65,_,a+1):main((*a=='/')+t,_,a+1)
? :0"!ek;dc i@bK'(q)-[w]*%n+r3#l,{}:\nuwloca-O;m .vpbks,fxntdCeghiry"),a+1);}