存档都是技术

VB6老树开新花的工具

http://msdn.microsoft.com/vbasic/downloads/powerpacks/interopforms/default.aspx

这是一个免费的addin,可以让vb6使用.net的winform,当然,这种窗体控件要比vb6原先的炫酷很多。vb6经典程度不亚于vc6,而我感觉,新的vb.net并不能完全取代vb6,正如vc6仍具有强大生命力一样。

这个工具从某种程度上说,是一种对旧有资源的再利用,vb6的程序转移到新的.net平台上,必然会有很多麻烦,这是用户不愿意承担,也不应该由用户承担的。interpforms这个小工具,降低了用户使用新技术的成本,是件好事。

从另一方面说,dotnet平台已经到了3.0,可是它的占有量应该说,比鼎盛时期还要差,微软应该是要反省一下自己了。开发工具方面,是不是越整合强大的就越好?原来那些说要占领整个开发流程工具市场的厂商都哪去了?答案都还是需要时间。

评论(3)

Linux内核hacker的笔记本电池爆炸

http://zeniv.linux.org.uk/~telsa/boom/

Alan cox的本子是IBM Thinkpad 600。

想了解Alan是谁的,可以google。我查到的是这个,

www.softpanorama.org/People/Cox/index.shtml

留言

dreamhost使用eruby

Eruby From DreamHost

Eruby is a way to embed ruby in HTML.
1 Setup
2 Testing
3 See Also
4 External Links

Setup

First, obtain a copy of eruby. This is most easily done by using SSH and simply copying /usr/bin/eruby. Name the file eruby.cgi and stick it in the root of the site you’d like to enable ruby on.

cp /usr/bin/eruby ~/mysite.com/eruby.cgi

Next, create or edit an .htaccess file. There are two important things to do: make sure .rhtml files get parsed by eruby and make sure apache knows to look for an index.rhtml.

DirectoryIndex index.rhtml index.html index.htm
AddHandler rubypage .rhtml
Action rubypage /eruby.cgi

If you’re lazy, you can simply download a functional .htaccess.

wget http://covracer.com/projects/eruby/htaccess -O ~/mysite.com/.htaccess

Testing

You can use the following simple test to make sure everything is working.

You can also download the test page.

wget http://covracer.com/projects/eruby/test.rhtml

留言

microsoft max 试用图解


MAX是微软一个beta版的社会化软件,稍稍类似google的hello。界面风格、配色与微软的传统大不相同,更类似苹果一派的。



我是在英文版的xp sp2上安装,一切顺利。

安装需要.Net Framework 3.0。



安装结束。



主界面超级简洁,




使用微软的passport登录,不需要注册。我使用hotmail的信箱登录。





进入以后,菜单选择也很简洁。从上到下,分别是“建立和共享一个列表”,“其他人的列表”,“我的列表”。
最后一个是“阅读新闻”,可以当作RSS阅读器使用。



点击第一个,建立一个列表。我的美女图,个人趣味比较低。



建立一个列表,鼠标放在图上就会有一个加号出现,点一下就加入右侧列表,操作非常方便。那个“done”按钮更大一点更明显就好了。另外图片路径选择不是很直观,有些麻烦。




“done”以后,可以点“play”播放,也可以选择“share”分享。把信箱添进去,然后点最下面的“share this list”,同样毛病,按钮太不明显了。





Mantle显示方式非常酷,在最新版本的Windows media player就体验过,看来这种3D动感的显示方式已经开始进入主流。




Annotate功能可以在图片上加上标注,而且不会影响到原图。也是特色之一。




新闻阅读器颇有可玩之处,界面很舒服,但是功能有些弱,因为这不是主打方向,可我觉得这要是独立出来做的细致些就更好了。



添加AK47的Feed,结果有些类似报纸,点击链接会调用web浏览器阅读。




发送了email以后,接收的信是这样的,需要对方安装MAX才行,所以,这是一个社会化软件。可惜没人一起共享实验一下社会化特性。



评论(1)

十种应该学习的编程语言

这个列表有其片面性,不过作为参考也是颇有趣味。切记,语言只是工具,就算使用打卡机,也有人会成为大师。

php的发展迅猛、使用简单方便,第一当之无愧。

http://www.eweek.com/article2/0,1759,2016415,00.asp?kc=EWRSS03119TX1K0000594

10 Programming Languages You Should Learn Right Now
By Deborah Rothberg
September 15, 2006

Knowing a handful of programming languages is seen by many as a harbor in a job market storm, solid skills that will be marketable as long as the languages are.

Yet, there is beauty in numbers. While there may be developers who have had riches heaped on them by knowing the right programming language at the right time in the right place, most longtime coders will tell you that periodically learning a new language is an essential part of being a good and successful Web developer.

“One of my mentors once told me that a programming language is just a programming language. It doesn’t matter if you’re a good programmer, it’s the syntax that matters,” Tim Huckaby, CEO of San Diego-based software engineering company CEO Interknowlogy.com, told eWEEK.

However, Huckaby said that while his company is “swimming” in work, he’s having a nearly impossible time finding recruits, even on the entry level, that know specific programming languages.

“We’re hiring like crazy, but we’re not having an easy time. We’re just looking for attitude and aptitude, kids right out of school that know .Net, or even Java, because with that we can train them on .Net,” said Huckaby.

eWEEKend

“Don’t get fixated on one or two languages. When I started in 1969, FORTRAN, COBOL and S/360 Assembler were the big tickets. Today, Java, C and Visual Basic are. In 10 years time, some new set of languages will be the ‘in thing.’ …At last count, I knew/have learned over 24 different languages in over 30 years,” Wayne Duqaine, director of Software Development at Grandview Systems, of Sebastopol, Calif., told eWEEK.

By picking the brains of Web developers and IT recruiters, eWEEK selected 10 programming languages that are a bonus for developers to add to their resumes. Even better, they’re great jumping-off points, with loads of job opportunities for younger recruits.

1. PHP
# What it is: An open-source, interpretive, server-side, cross-platform, HTML scripting language, especially well-suited for Web development as it can be embedded into HTML pages.
# Why you should learn it: It’s particularly widely used. “High-speed scripting with caching, augmented with compiled code plug-ins (such as can be done with Perl and PHP) is where the future is. Building Web apps from scratch using C or COBOL is going the way of the dinosaur,” said Duquaine.
# Job availabilities: 1,152*

2. C#
# What it is: A general-purpose, compiled, object-oriented programming language developed by Microsoft as part of its .NET initiative, it evolved from C and C++
# Why you should learn it: It’s an essential part of the .Net framework. “Learning C#, which is just Java with a different name plate, is critical if you heavily use Microsoft,” said Duquaine.
# Job availabilities: 5,111

3. AJAX (Asynchronous JavaScript and XML)
# What it is: Though technically not a programming language, AJAX uses XHTML or HTML, JavaScript and XML to create interactive Web applications.
# Why you should learn it: Ever since Google Maps put AJAX, well, on the map, the requests for AJAX-knowledgeable pros went through the roof. “The demand for AJAX knowledge is huge because it’s so damned hard to learn,” said Huckaby. Of note, Microsoft announced recently plans to release a tool named Atlas that will make AJAX easier to implement. “If Microsoft’s Atlas tool is successful, it would bring the extreme complexity and annoyance of AJAX to the average worker,” said Huckaby.
# Job availabilities : 1,106

4. JavaScript
# What it is: Not to be confused with Java, JavaScript is a an object-oriented, scripting programming language that runs in the Web browser on the client side. It’s smaller than Java, with a simplified set of commands, easier to code and doesn’t have to be compiled.
# Why you should learn it: Embedded into HTML, it’s used in millions of Web pages to validate forms, create cookies, detect browsers and improve the design. With its simplicity to learn as well as wide use, it’s considered a great bang for your educational buck.
# Job availabilities: 4,406

5. Perl
# What it is: Perl is an open-source, cross-platform, server-side interpretive programming language used extensively to process text through CGI programs.
# Why you should learn it: Perl’s power in processing of piles of text has made it very popular and widely used to write Web server programs for a range of tasks. “Learning some form of scripting language, such as Perl or PHP is critical if you are doing Web apps,” said Duquaine.
# Job availabilities: 4,810

6. C
# What it is: A standardized, general-purpose programming language, it’s one of the most pervasive languages and the basis for several others (such as C++).
# Why you should learn it: “Learning C is crucial. Once you learn C, making the jump to Java or C# is fairly easy, because a lot of the syntax is common. Also, a lot of C syntax is used in scripting languages,” said Duquaine.
# Job availabilities: 6,164, including all derivatives

7. Ruby and Ruby on Rails
# What they are: Ruby is a dynamic, object-oriented, open-source programming language; Ruby on Rails is an open-source Web application framework written in Ruby that closely follows the MVC (Model-View-Controller) architecture.
# Why you should learn it: With a focus on simplicity, productivity and letting the computers do the work, in a few years, its usage has spread quickly. As a bonus, many find it easy to learn.
# Job availabilities : 210 and 54, respectively

8. Java
# What it is: An object-oriented programming language developed by James Gosling and colleagues at Sun Microsystems in the early 1990s.
# Why you should learn it: Hailed by many developers as a “beautiful” language, it is central to the non-.Net programming experience. “Learning Java is critical if you are non-Microsoft,” said Duquaine.
# Job availabilities: 14,408

9. Python
# What it is: An interpreted, dynamically object-oriented, open-source programming language that utilizes automatic memory management.
# Why you should learn it: Designed to be a highly readable, minimalist language, many say it has a sense of humor (spam and eggs, rather than foo and bar), Python is used extensively by Google as well as in academia because of its syntactic simplicity.
# Job availabilities: 811

10. VB.Net (Visual Basic .Net)
# What it is: An object-oriented language implemented on Microsoft’s .Net framework.
# Why you should learn it: Most argue that VB.Net is currently more popular than ever and one of the only “must-learns.” “It is currently dominating in adoption and that is where all the work is,” said Huckaby.
# Job availabilities: 2,090

* All numbers on job availability were pulled from nationwide queries on Dice.com, a job site for technology professionals.

留言

羽毛-台湾版的豆瓣douban出现

我们的墙不仅仅阻挡了墙内人,也阻挡了墙外的朋友的信心。我相信很多台湾同胞喜欢豆瓣,只是无奈它有着一道虚拟的数字墙,让人倍感别扭,于是就放弃了。

机会不会敲两次门,台湾版的豆瓣出现了,就是“羽毛网”。

http://www.yumau.com/

风格上比豆瓣略显花俏,使用的是著名的php cms系统xoops搭建。没有具体注册使用,不过我相信,对港台地区的网友会很有吸引力。

留言

my donews针对wordpress的SEO搜索引擎优化

my donews作为一个比较开放的多人的wordpress博客平台,相对其他的BSP要open很多,尤其大言不惭的说,ak47还是提供了不少漂亮的模板的。

my donews的用户如何进行SEO,也就是搜索引擎优化呢?

相对blogger.com或者movable type这两个平台,wordpress的搜索引擎友好性能相对要差一些,关键就在于wordpress是一个动态的程序,它并不像blogger或者MT那样天生支持静态网页生成。而懂点SEO的朋友都知道,搜索引擎对于静态网页的喜好那是天生的。如果网页里面充斥了javascripts或者flash,然后页面内容又大部分是从数据库中读取,搜索引擎收录的可能性就小了很多。

wordpress如何能让自己变得受搜索引擎欢迎呢?一般来说,适当的外链是必要的,尤其是重量级网站的链接会增加不少好感度。打个比喻说,如果keso或者是某个著名blogger引用了我的某篇文章,那这篇文章的价值就有可能超过我的主页。所以说,跟比较有名的blogger交换链接,是会增加自己站点的欢迎程度,这与wordpress倒是没有什么关系,但是是属于比较容易操作的。那么,如何看这个blogger是否受到google的欢迎呢?最简单的办法是安装google的浏览器工具条,然后让它显示pagerank,pagerank高的自然价值比较高。另外可以看feedburner或者feedsky的订阅数量。

如果一开始起步,可能很难找到合适的交换链接对象,这时候注意自己的blogging习惯就比较重要。
一是不要完全拷贝原文,而是使用blockquote或者是引用链接的方式(比如slashdot或者digg所做的)。

二是适当的对自己站内文章进行链接,比如我写wordpress的优化,就可以把以前写的关于wordpress优化的文章加以链接。这篇WordPress SEO, WP搜索引擎优化里面介绍的办法就很具有操作性。

三是将文章标题文章链接进行优化,my donews的朋友尤其要注意,自动生成的那种密码式的文章链接相当不受搜索引擎欢迎,比如本文,我们就可以修改成“wordpress_seo”,需要注意的是,中文链接一般会被搜索引擎解释成天书一样,还不如写成简单的英文链接。

四是适当的在文章中提到自己的网站名字或者网站链接。这样搜索引擎识别的程度会更高。

最重要的一点是,博客内容要优秀,而且要保持一定的更新频度。这样你的google搜索排名就会越来越靠前。

ok,最后玩一个小游戏,大家进入中文google,http://www.google.cn搜索“ak47″,嘿嘿,真是不好意思哦。

http://www.sunxiunan.com/2006/06/22/542/

WordPress SEO, WP搜索引擎优化

在http://theundersigned.net/2006/06/wordpress-and-seo/看到这篇介绍Wordpress如何进行搜索引擎优化(SEO)的文章,内容相当不错。做了一个翻译给大家,版权归原作者所有。

1)设置永久链接
使用永久链接结构,确认文章标题使用了永久链接。在WordPress里,可以进入控制面板-〉选项-〉Permalinks,然后选择一种永久链接的结构,或者自己定制一种,比如我用的就是/%year%/%monthnum%/%postname%/(也就是”/年/月/文章名/”)

2) 文章标题
网站名字(”Title“,就是一般显示在浏览器标题栏的文字)应该显示在当前访问的文章或者页面里。比如我的文章标题就该是这样,”WordPress SEO,WP搜索引擎优化 | 孩子气☆孙秀楠宝宝“,在样式设置里可以这样定制,

3)Headers HTML文本标记
搜索引擎对于headers(比如h1,h2,h3等等)要比内容更看重。所以写一个好的包含关键字的文章标题很重要,当然关键字要和文章内容匹配。最好是每页只用一两个h1的HTML标记,比如用在Blog的名字上或者最新的文章上。

4)Alt图像HTML标记
给图片加上alt标记,并且确认这些标记和显示的内容匹配,这会帮助google图像搜索引擎或者其它图像搜索引擎更好工作。
this photo is a baby

5)使用Tag
Tag逐渐在互联网变得越来越重要,使用Tag可以让文章之间相互关联,可以让搜索引擎更好的挖掘你的网站。
推荐WordPress Tag插件Ultimate Tag Warrior

6)相关文章
如果你读了某个网站一篇文章,你可能会注意到文章结尾的”最近文章列表“,这也能帮助搜索引擎更深的挖掘你的网站。
推荐使用WordPress Related posts插件

7) 提高网站粘合度
当游客从搜索引擎发现你的网站,他们往往只看关心的那些内容,如果没有发现他们寻找的内容,就会把浏览器窗口关掉。为什么不帮他们显示一些跟他们搜索相关的文章呢?
推荐使用Landing sites插件

8)Google sitemaps
Google有一个针对网站站长的特色内容,就是Sitemaps,这帮助Google索引你的网站,判断网站内容的重要程度。
推荐使用插件Google Sitemaps Generator

9)Pinging聚合
使用Feed特点,在”选项->写作“里,设置WordPress自动ping一些聚合器,这里有一个ping服务器的列表。
http://codex.wordpress.org/Update_Services

10)校验HTML标记
确认你的网站是HTML语法正确的,这也许对于SEO并不很重要,但多少会加分。可以使用这里的服务:http://validator.w3.org/

11)需要避免的内容
Google说网站应该注意以下内容:
* 避免隐藏文本或者隐藏链接
* 不要使用伪造的或者欺骗的超链接。
* 不要发自动搜索给Google。
* 不要用不相关的词语来显示页面。
* 不要在网页里放病毒、木马以及流氓软件。
* 不要建立多个页面、子域名、域名来重复内容。
* 避免针对搜索引擎建立”入口大全“页面或者对原创内容进行重定向。
* 针对搜索引擎Rank提高而使用一些违规的技巧

12)得到返回链接
写给你的朋友或者其它blogger,与他们交换链接。这样得到一个链接起来的网,确保有些人链接到你的网站,使用你的网站名字或者关键字等。一定量的链接特别是从有质量的网站来的链接,都会帮助你得到比较好的搜索引擎结果排列次序(也就是把你的网站放到比较靠前的位置)。当写文章的时候,确定你链接到引用了内容的网站(如果他们是博客,一般来说,一个来自你的网站的trackback链接都会显示在他们站点)。另外,在论坛签名邮件签名里加入自己网站的链接,等等。

13)经常更新你的博客
确定经常更新你的博客,没人愿意访问一个死气沉沉的网站。比如可以使用del.icio.us美味书签或者365key等功能每天把你收藏的链接贴出来,这会让你的网站看上去活跃。

14)博客名字不能换
保证一直使用同一个域名、博客名字、永久链接地址等等。

15)文章内容要有水平
写高水平的文章,这是最重要的。写那些人们想要读的内容。固定在某些论题上,主要写与这些论题有关的内容。有水平的文章也会让你在del.icio.us或者Digg.com里得到更多支持。

16)与读者互动
鼓励你的访客给文章留言或者参与到讨论中。为了吸引读者,内容最好写“你应该如何如何”,“我们应该如何如何”,而不要写“我已经如何如何”,“我想如何如何”。

评论(5)

抓虾的盗版来了-抓虾技术难乎哉?不难矣

我以前提到zhuaxia并不是什么高难的技术,其实很容易模仿。这不,江湖上来了一个“百晓生”。
http://www.kuangfeng.cn/blog/?p=714
http://www.920.cc/
狂风的说法是百分百的模仿了zhuaxia。我没有试用过,因为还是比较喜欢bloglines的。

bloglines没有了,我就自己来一个。比如planet或者lilina或者鹦鹉螺都可以,甚至现在的my donews都行,因为有了widget插件,RSS阅读已经可用了。

下篇post预告,“我与dreamhost客服的来往信件,如何与老外打交道”。

留言

« Previous entries