A Revision on Junjun’s Home: Diversification Proposed

其实我想细心的本博客读者应该发现,自从我把博客从Bill家迁出,在Hostmonster自立门户以后,我的博客域名就不再是默认的www开头,而是以blog开头的二级域名了。也许你会问我,为什么我输入的www没有问题,甚至于从党论的博客上跳转过来的链接也没有大问题,这是因为,我做了个简单的跳转,把所有的www请求全部重定向到了blog下。这样的临时措施作了好几个月,因为我实在是没有时间和精力来做一个个人主页。

  1. 个人主页诞生记

    这样的跳转也并不是没有问题的。比如在直接输入‘gujun-sky.com’的时候一度无法访问。而Bill作为我的博客免费监督者,也很早就发现了这个问题。但是这个问题一直到我后来修正跳转的条件才有所改观。为此,做一个个人的主页似乎是迫在眉睫了。但是我心里实在是没有底来做个怎么样的主页。

    其实到现在是有点后悔当时去学了PASCAL而没有去学网页制作,以至于到现在为止,我的手工代码能力是非常的弱,如果没有Bill一直以来的悉心指教,我的这个博客恐怕是根本做不起来的。即使到现在,我还是没有能力去做模板的修正和一些数据库问题的处理。每每遇到这类问题,Bill兄似乎成了我唯一的依靠了。正是这个原因,我连自己手工做一个个人主页的信心都没有。尽管我知道基础HTML下的东西还是难不倒我的。

    说起来事儿也凑巧。前两天不知道我那根筋搭错,居然跑到HM的后台去玩耍。然后无意间让我发现了Concrete这个好东西。说实话,这个工具对于广大IT从业人员来说,天生就是个找抽的货色。因为它的自定义功能很弱,唯一的好处就是添加和删除模块,然后再GUI的条件下去填充内容。而这对我来说就是个太好的宝贝了。因为我真的很懒。

    于是在三小时的努力下,这个个人主页算是研制成功了。目前的主页只有英文版,同时给了一个页面放上了我的简历。与美国的大学不同,我的学校对个人页面的内容要求过于严格。我能放上去的只有名字,导师名字和博士论文摘要。真的不知道这样的一个页面有何意义。

  2. 页面风格大转变

    我终究不是一个IT的学生,甚至于连爱好者都很难算得上。其实有时候我也很难理解,为什么那么多做独立博客的不去好好写点有内容的东西,而在玩命的讨论SEO啊,模板修改啊什么的。这就跟一个考托福的人,不去好好学英语,却在这里讨论考试技巧,这个有意义么?当然了,个人的理解不同,毕竟对我而言,博客就是个废话的地方。当没有人愿意陪我说话,连女朋友都烦得要方便面膝下伺候的时候,写博客恐怕是个最好的主意了。

    曾经用的Mystique的确是个很好看,甚至于好看的有点女性化的主题。但是这个主题的问题也是非常多的。首先就是字实在是太小了。这个字体大小拿来读英文似乎问题还不大,但是拿来看中文就有点难受了。同时该主题的1.x过度到2.x以后,页面的架构有所变化,向下兼容做的并不好。于是在看那个主题不爽了很久以后,我果断决定换掉它。

    但是要挑选一个合适的主题并不容易。因为大部分的主题都是针对英文优化,字体和字型都不太合适,而我也实在是懒得再去折腾主题。毕竟为了一个博客去花大量时间不是很明智。突然,我只能说突然,我发现Wordpress自带的默认主题其实挺好看的。白色的底板,简约大方的风格,而且也符合中文阅读的字型大小。更重要的是,由于是官方主题,我根本不用担心潜在的兼容性问题。有句话说得好,这个同志工作并不怎么出色,但是他没什么错误啊!

  3. 一些展望

    其实把博客降级放到二级域名的想法早已有之,毕竟我一直觉得把一个域名单独拿来做博客实在是有点浪费。但是或许有人会告诉你顶级域名可以有更好的搜索引擎排名。但是我想说,这个东西对我的吸引力真的不是那么大。毕竟博客的好处就是我可以随便写,却不用去管读者群和出版要求。或许这个说法略显高傲,但这正是博客的优势啊。

    如前所述,我们学校的个人主页不允许放置太复杂的东西,甚至于不允许上传PDF版本的CV。我不知道学校这个考虑是什么,但是这样对于PhD来说真的不是个好消息。我把博客降级基于最早的考虑也是这个。通过个人主页,我可以放入自己的科研信息和其他信息,这样可以部分替代学校制度的缺失。如果他们可以同意放入一个个人站点链接,那就完美了。毕竟跳转不会占用他们多少服务器空间和带宽资源。

    我的博客之前一直是混写。中英文同时使用,科研和生活话题混合写。这个原因主要两方面,一则是我的技术有限,博客开始之初根本就没有想那么多;而另一个则是服务器限制。我当时使用的是000webhost,尽管免费,但是对数据库数量有严格限制。同时对文件数总量也有限制。对于这类空间,同时放入多个博客恐怕不是好的选择。而且当时我的域名也由第三方托管,设置二级域名也很麻烦。而现在HM直接管理域名给我提供了不少方便,尽管我一年得多支付3美元。但也可接受了。

    我目前有个打算,就是把科研内容分离出去,同时单独使用英文写作。毕竟我下来所从事科研的内容用中文并不方便,同时这个也可以更好地跟我的主页配合。不过我并不打算使用Concrete集成的博客方案。毕竟它的局限性摆在那里。直接放一个单独的Wordpress博客站点,并给一个二级域名是我愿意接受的更好的方案。而至于目前这个博客,我则侧重于生活,校园类话题,全部使用中文写作。但是标题依然使用英文,这是为了Live Writer生成地址方便。

    不过这些只是“愿景‘,具体实施,恐怕需要加以时日了。毕竟”汉堡专业户“的工作还是很忙的。

Writing a Mathematical Equation on Your Blog

In fact it is quite rare for a blog writer to put some mathematical models on the blog unless it is an article related to some very professional courses. However, low propability can hardly mean never happen. Taking myself for example, I would like to post some of my notes on econometrics and my feeling of research proposal with the blog readers, though I can write them with a Latex system and then compile it to a PDF document, providing it as an attachment for download. While I don’t think most readers would prefer such behavior. Reading that directly can be a much more pleasant experience, especially when there is not many complicated equations.

Thanks to the flexibility of the WordPress system and its countless expanded plug-ins, the solution for this can be quite simple. The only thing you are willing to do is to be familiar with the LaTex syntax, which, under most occasions, would not be a big problem for most users who are willing to do so. Even though you are unlikely to type the raw code, Mathtype can help you transfer the equation. The only work thus left for you is copy and paste.

Taking a search at WordPress.org, with the keyword of ‘latex’, you are likely to find the following plug-ins.

  1. Some Plug-ins for WordPress

    Among the plug-ins that are available, I made an attempt for the following ones on my blog. Here is a summary about each of them. For details, you can refer to their websites.

    1. WP Latex

      This is an official plug-ins for Latex from WordPress.com, with its default service based on wordpress.com. No cache is needed. You can freely change its style through the css file in settings. The only problem is that its original server ‘s.wordpress.com’ is forbidden in China, you have to change it to ‘wordpress.com’ to make it work. Besides, you can also set up your own service, but I wonder if it can violate the regulation from the host.

    2. Easy Latex

      Comparing to the official plug-ins, this one offer more flexible features. Besides the colors, you can also freely change its size directly through its GUI. Cache option is provided so that the readers can stil read the equations on your blog even when the latex service is out of work.

    3. Youngwhan’s Simple Latex

      This is the simplest plug-ins for use among the three. No other option is presented besides the address of the latex service. The service for this plugin, unlike WP Latex and Easy Latex, is provided by some open source project. Though it is convenient to set up, its flexibility is a question.

  2. My Choice

    I finally choose the official plug-ins with the consideration of the limitation of file numbers on my server. And there is no free CGI support. Which means, I can hardly construct my own system and can hardly bear too many cache files. For those whose server can support CGI, a self-constructed system should be preferred considering its stability.

  3. An Example

    As a final, I shall present an example. This is a measurement of likelihood that is common to see in econometrics.

    [latex size=2]{{R}^{2}}=\frac{SSE}{SST}=\frac{{{\left( \sum\limits_{i=1}^{n}{\left( {{y}_{i}}-\bar{y} \right)\left( {{{\hat{y}}}_{i}}-\bar{\hat{y}} \right)} \right)}^{2}}}{\left( \sum\limits_{i=1}^{n}{{{\left( {{y}_{i}}-\bar{y} \right)}^{2}}} \right)\left( \sum\limits_{i=1}^{n}{{{\left( {{{\hat{y}}}_{i}}-\bar{\hat{y}} \right)}^{2}}} \right)}[/latex]

    Where [latex]y[/latex] stands for the real value and [latex]\hat{y}[/latex] stands for the estimated value from a regression model like:

    [latex]y=\alpha_0+\alpha_1*x_1+\alpha_2*x_2+\alpha_3*x_3+\cdots+\alpha_n*x_n, n\in {{Z}^{+}}[/latex]

    The only problem left here is: how to adjust the alignments? I want them to be centered, but not left-aligned.

Reading the Blogs: The Way You Understand Him

image 今天终于开始着手准备国内的博士考试,尽管两次GRE的悲剧很是让我伤心,一度让我都没有了自信并在博客上发了大量的牢骚(如某某某某),以至于我对所有的“绣球”都来者不拒。非常感谢我姐在关键时候对我的激励,使我顿然醒悟,其实我并不是我想的那么没用,或许我也需要做些事情来证明自己。但是这种转变很容易因为年轻而变得锋芒毕露。锋芒毕露最要命的问题就是会让人很不爽,高调做事,低调做人或许就是这个意思吧。一些本来没打算伤害别人的事情却会因不太恰当的做法而出问题。如果再加上信息不对称,信息成本过高等问题的话,这个现象会更严重。

晚上看书看累了,在Google上闲逛(我一直有这种习惯),利用某一个关键字,居然很轻松的找到了我的一位至交好友的博客。这点事实上是让我非常吃惊的。因为他在我眼里似乎并不是一个非常喜欢接受新技术的人。我仔仔细细看完了这个非常素雅的博客的所有的日志。说实话,我心里起了非常大的波澜。因为这个博客帮我降低了非常大的信息成本,而同时也给了我一个Access进入了我这位朋友我所不知道的另一面。他那种内心的细腻,男人的坦荡,以及我们做研究的人所需要的那种心思缜密,都在那字里行间彰显无遗。相比较我们学校另一位教授的博客而言,我朋友的博客尽管没有那样工整的排版,却显然更具有可读性。因为,它们更能打动人。作为一名博客读者,我所关注的永远是原创和内容,而不仅仅是排版。

阅读博客,同读文章一样,也是分类的。我见过的博客往往包括了三类人。第一类的博客是我一般都不去的,它们往往是我们所谓的垃圾博客,里面的文章毫无原创性可言,都是一些网上摘录的东西,不多说;第二类,是博客的大多数,就是新浪,搜狐等等的托管博客(不包括熟人的)。托管博客往往都是偏文科工作性质,并没有技术或者动力去自己捣鼓一个博客的人。当然,第一类所谈的垃圾博客不包括在内。这类博客往往会有很多不错的文章,比如一些时尚热点的评论,以及一些名人博客。但是这类博客有被微博给侵占的危险。因为毕竟并不是所有人都喜欢在电脑前码一大堆字的。而最后一类,则是我基本每天都要报到的博客,基本属于我朋友们的博客。因为这样可以每天知道我的朋友们在关注什么,在做什么,在想什么。事实上,这本身也寄托着我本人对朋友们的一种思念。

至于博客的写作,则也有很大的讲究。比如我前面所提的那位朋友,他的博客更多显示了个人的内心世界和兴趣。这种博客是最符合博客的初衷的。第二类则是技术博客,比如我朋友Bill,他是个技术狂人,经常在博客上讨论一些技术问题,而这些帖子对我而言基本是可以跳过的,但每次看到技术贴,我都会知道,他一直在努力(哪家的广告词?),至于第三类,则是一些广告博客,比如Wordpress的官方博客,Google Analytics的官方博客等等。而至于我自己的Junjun’s Home?呵呵,我自己都说不清楚,尽管我倾向于第一类,但是有时候也讨论一些“不入流的”IT题目。

该睡觉了,就写这么多了,祝我那位朋友每天好心情。至于地址嘛,我还是不公开了吧。

对了,有玩博客朋友可以考虑Follow我哦

新浪微博http://t.sina.com.cn/gujun1225

Twitter:@gujun1225

Write a Blog Article with Microsoft Word

It has been for more than 3 years since my first contact with the blog, and the most frequent way for my updating is just the on-site editor. That is, I just write on web directly. But such way owes quite an important advantage that many advanced aligning skills cannot be used, such as some requirement on accurate positioning of pictures.

After the construction of this website, my good friend, Wung, told me to use Windows Live instead, a component of Windows Live Packs. It is quite a good tool that involves more instruments, but considering it to be a free tool, some functions are still not supported.

Thus it draws me to Microsoft® Word. Fortunately it is quite easy to use as well. But something follows should be prepared if you are willing to take it:

  • The XMLRPC function of your site should be enabled
  • Office Live Add-on is suggested to be enabled

Thus you are able to start to write an article with your Word, some steps are to be followed:

  • Use File – Publish – Blog
  • A dialogue box appears, following the instructions and filling your domain, username and password
  • Write the article, all the actions for writing are the same as writing a paper that we usually do
  • Click publish when finished

Now you may take an attempt if you are interested in writing with Word as I amJ

Junjun's Home