About

is the abbreviation of ArgC-argV. We can find a paragraph from 5.1.2.2.1 Program startup in n1570 written as follow:

The function called at program startup is named main. The implementation declares no prototype for this function. It shall be defined with a return type of int and with no parameters:
int main(void) { /* ... */ }
or with two parameters (referred to here as argc and argv, though any names may be used, as they are local to the function in which they are declared):
int main(int argc, char *argv[]) { /* ... */ }
or equivalent; or in some other implementation-defined manner.

Argc means "argument count", and argv means "argument vector". Combined argc and argv mean input. Each code is an individual module, given input, do some process, and return the result. It is straightforward and beautiful, as well as life in my ideal.

In this site, for the purpose of future's review, yu writes some interesting things recently he learned, or the log of resolve some bugs. It will also be excited if someone finds this content, and also solved his problem recently faced.

Of course, as a personal site, he will also write some emotion related contents as well.

About Yu

There is a dude, interested in Unix Network Programming, Natural Language Processing, Machine Learning, Artificial Intelligence, Information Retrieval and Operation System, who learns code from Introduction to Algorithms but not proficient in algorithms, always reads Computer System: A Programmer's Perspective but still so weak.

Life is so short, maybe tomorrow is the day to leave. As for Yu, he may only write code till today, and hoping to make a few contribution to be the recompense to his DNA, which gives the ability to have perceptions.

49 Comments

花七七 · March 20, 2013 at 12:43

Unknown Unknown Unknown Unknown

我还以为是派出所

    yu · March 20, 2013 at 12:56

    Unknown Unknown Unknown Unknown

    囧 ……. 向来不喜欢拍照片,这是N多年前的照片

      花七七 · March 26, 2013 at 23:49

      Google Chrome 27.0.1450.0 Google Chrome 27.0.1450.0 Windows 8 x64 Edition Windows 8 x64 Edition

      这么靓籽,不拍可惜!

花七七 · March 20, 2013 at 12:44

Unknown Unknown Unknown Unknown

PersonalMailManager

    yu · March 20, 2013 at 12:56

    Unknown Unknown Unknown Unknown

    一个ssh做的破烂java工程而已,这神马表情

      花七七 · March 26, 2013 at 23:49

      Google Chrome 27.0.1450.0 Google Chrome 27.0.1450.0 Windows 8 x64 Edition Windows 8 x64 Edition

      表情???。。。哪来的表情。。。。

        yu · March 27, 2013 at 07:34

        Google Chrome 25.0.1364.172 Google Chrome 25.0.1364.172 GNU/Linux x64 GNU/Linux x64

        多说->原来的评论框,表情同步失败了吧

Christopher Meng · July 2, 2013 at 03:41

Firefox 22.0 Firefox 22.0 GNU/Linux GNU/Linux

Nice self-introduction.

    yu · July 2, 2013 at 13:32

    Google Chrome 28.0.1500.63 Google Chrome 28.0.1500.63 GNU/Linux x64 GNU/Linux x64

    Thanks for your appreciation

mitcc · July 27, 2013 at 09:55

Google Chrome 28.0.1484.0 Google Chrome 28.0.1484.0 Windows 7 Windows 7

请问像您这样的牛人,你们的个人blog域名都是一买就买好多年的吗?作为一个刚搭建blog的新手,比较好奇ing~我是自己想试着玩玩而已,买了个.info一年的比较便宜,不过到了第二年续费就开始贵起来了,不知道您们这样的知名博主都是怎么处理的?还有就是服务器(or空间?问题可能不够专业,还请见谅)。

    yu · July 27, 2013 at 21:26

    Google Chrome 28.0.1500.71 Google Chrome 28.0.1500.71 GNU/Linux x64 GNU/Linux x64

    汗颜 … 某人不是”知名博主”…
    1. 域名什么的无关紧要吧,几十块钱一年的费用不至于为此过于挂怀.不过最近ICANN在发疯,不靠谱推测,过几年域名价格可能会显著下降,所以还是不要买很多年吧. 此外,godaddy之类的,每年都有续费优惠码的.
    2. 服务器可以使用空间或者vps,空间比较便宜但自由度比较低,vps反之.而且vps还可以跑点程序什么的很好用,而且vps可以做vpn.此外,”知名博主”的处理服务器方法是让别人赞助.比如coolshell.cn

mitcc · July 27, 2013 at 09:59

Google Chrome 28.0.1484.0 Google Chrome 28.0.1484.0 Windows 7 Windows 7

还有就是我在您这只填了自己常用的id和自己的email,这头像……您是从gravatar.com上抓过来的吗?

    yu · July 27, 2013 at 21:29

    Google Chrome 28.0.1500.71 Google Chrome 28.0.1500.71 GNU/Linux x64 GNU/Linux x64

    1. gravatar提供了api就是让人用的,提供md5+urlencode的处理过的email作为参数,即可获得图片.
    2. wp自带本功能

      mitcc · July 27, 2013 at 21:33

      Google Chrome 28.0.1484.0 Google Chrome 28.0.1484.0 Windows 7 Windows 7

      谢谢,长见识了^_^

isayme · March 23, 2014 at 14:36

Google Chrome 33.0.1750.146 Google Chrome 33.0.1750.146 Mac OS X  10.9.0 Mac OS X 10.9.0

域名这么吊

Linkin yan · March 31, 2014 at 09:19

Google Chrome 26.0.1410.64 Google Chrome 26.0.1410.64 Windows XP Windows XP

有才!

be.truth · May 15, 2014 at 20:48

Firefox 29.0 Firefox 29.0 Windows XP Windows XP

你这边也是各种折腾linux,留个爪印,马克一下。

    yu · May 16, 2014 at 01:19

    Google Chrome 34.0.1847.137 Google Chrome 34.0.1847.137 Windows 8.1 x64 Edition Windows 8.1 x64 Edition

    @be.truth 因为我干的就是这个啊,在自己机器上搞完后就要去别人数十G到一个T内存,二十四到六十四核不等的各种服务器上部署,不事先练习好,中间出点卡住了的情况就要在冰冷的机房被晾那么一个下午,岂不悲催.

Felix Guan · September 17, 2014 at 21:24

Safari 7.0.6 Safari 7.0.6 Mac OS X  10.9.4 Mac OS X 10.9.4

给jy点赞,终于看到你的blog啦,好幸福,好兴奋!

    yu · September 18, 2014 at 01:42

    Google Chrome 37.0.2062.120 Google Chrome 37.0.2062.120 Mac OS X  10.9.4 Mac OS X 10.9.4

    @Felix Guan 点点点,这也能称’终于’,可叫我说什么的好

      Felix Guan · September 18, 2014 at 13:05

      Safari 7.0.6 Safari 7.0.6 Mac OS X  10.9.4 Mac OS X 10.9.4

      @Yu Jing 我们大家都很想念你!

        yu · September 18, 2014 at 19:21

        Google Chrome 37.0.2062.120 Google Chrome 37.0.2062.120 Mac OS X  10.9.4 Mac OS X 10.9.4

        @Felix Guan 哈,多谢,虽然我严重怀疑你本想写’怀念’的.

        好羡慕你们全去CMU了

          Felix Guan · October 13, 2014 at 02:22

          Safari 7.1 Safari 7.1 Mac OS X  10.9.5 Mac OS X 10.9.5

          @Yu Jing 你好好准备快来吧~To be a CMUer ! 哈哈

gavin · May 22, 2015 at 10:38

UC Browser 10.4.1.576 UC Browser 10.4.1.576 Android 4.4.2 Android 4.4.2

由于实验室需要 配置TITAN集群 我配置很久没有成功 能否帮我 不胜感激

    yu · May 22, 2015 at 20:56

    Google Chrome 42.0.2311.152 Google Chrome 42.0.2311.152 Mac OS X  10.10.3 Mac OS X 10.10.3

    @gavin 见 /articles/3034.c#comment-4736

zhangruichang · July 17, 2015 at 11:12

Google Chrome 43.0.2357.134 Google Chrome 43.0.2357.134 Windows 7 x64 Edition Windows 7 x64 Edition

学弟 我的 CentOS配置Hadoop到了伪分布式一直出错,累感不爱了

    yu · July 17, 2015 at 11:27

    Google Chrome 43.0.2357.132 Google Chrome 43.0.2357.132 Mac OS X  10.10.4 Mac OS X 10.10.4

    @zhangruichang “学弟”?学长哪个学校的?

    yu · July 17, 2015 at 14:20

    Google Chrome 43.0.2357.132 Google Chrome 43.0.2357.132 Mac OS X  10.10.4 Mac OS X 10.10.4

    @zhangruichang 张学长,你的网站打不开,看了下你的信息,表示没在FDU呆过.倒是专业的确略靠近

      zhangruichang · July 18, 2015 at 18:59

      Google Chrome 43.0.2357.132 Google Chrome 43.0.2357.132 Windows 7 x64 Edition Windows 7 x64 Edition

      @yu
      是的,学弟,我的域名到期了,马上准备换info,博客前端时间也除了点问题,更新不了,准备抽个时间搞搞~
      hadoop已经好了,被学弟人肉了: ) 以后多多讨论呀,你也做数据挖掘么~~ 你的博客是怎么搭的 我的评论模块还没加上去~

        yu · July 19, 2015 at 14:22

        Google Chrome 43.0.2357.132 Google Chrome 43.0.2357.132 Mac OS X  10.10.4 Mac OS X 10.10.4

        @zhangruichang 差不多在 data mining, social network analysis 之类方向.
        目前在维护一个网站 : https://aminer.org
        有兴趣欢迎围观

        yu · July 19, 2015 at 14:26

        Google Chrome 43.0.2357.132 Google Chrome 43.0.2357.132 Mac OS X  10.10.4 Mac OS X 10.10.4

        @zhangruichang 博客用的是wordpress, 当时搭的时候还小…不然我恐怕会自己写个.

        评论模块什么,和主题相关,有人用的是多说.也可以找个免费的主题,学着改吧改吧就行.

          zhangruichang · July 19, 2015 at 18:45

          Google Chrome 43.0.2357.132 Google Chrome 43.0.2357.132 Windows 7 x64 Edition Windows 7 x64 Edition

          @yu
          这个是全部自己做的么,用了什么框架么bootstrap啥的 这个项目是自己做的么 还是实验室的 学弟是THU的么 好厉害呀

            yu · July 19, 2015 at 19:15

            Google Chrome 43.0.2357.132 Google Chrome 43.0.2357.132 Mac OS X  10.10.4 Mac OS X 10.10.4

            @zhangruichang aminer前端和后端是完全独立的服务.
            前端是node.js+angular,我完全没有出手搞过.
            我做的是数据集成(包括脏数据处理,异构数据集成之类),以及这个系统的后端大概八成代码.实验室好多年前就用c++写过一个后端,然后去年论文数据集的scale从3M升级到了现在的70M,有限的未来我们大约会有100M的论文,原本的架构被数据集撑爆了,所以去年开始用scala重写了份后端.
            渣渣表示其实一点都不厉害,里面没啥技术含量.sigh.

    yu · July 17, 2015 at 11:36

    Google Chrome 43.0.2357.132 Google Chrome 43.0.2357.132 Mac OS X  10.10.4 Mac OS X 10.10.4

    @zhangruichang 虽然经验比较少,但我好像搭hadoop基本没怎么错过.帮别人配若出现莫名其妙的错,一般jdk升级到1.8即可. 升级jdk可以参考这篇: https://blog.argcv.com/articles/3155.c

Xiaotao · January 16, 2016 at 10:53

Google Chrome 47.0.2526.111 Google Chrome 47.0.2526.111 Mac OS X  10.10.2 Mac OS X 10.10.2

原来这是你的站点,围观学习orz

    yu · January 16, 2016 at 11:48

    Google Chrome 47.0.2526.111 Google Chrome 47.0.2526.111 Mac OS X  10.11.2 Mac OS X 10.11.2

    @Xiaotao Yep

Keven · October 11, 2016 at 18:09

Google Chrome 53.0.2785.89 Google Chrome 53.0.2785.89 Mac OS X  10.12.0 Mac OS X 10.12.0

战五渣到此一游,拜过大神

    yu · October 11, 2016 at 22:54

    Google Chrome 53.0.2785.143 Google Chrome 53.0.2785.143 Mac OS X  10.12.0 Mac OS X 10.12.0

    @Keven 过誉&&愧不敢当

hrwhisper · December 11, 2016 at 08:27

Google Chrome 55.0.2883.87 Google Chrome 55.0.2883.87 Windows 10 x64 Edition Windows 10 x64 Edition

那个来自“……”的你
是神马插件嘛?

    yu · December 11, 2016 at 14:20

    Google Chrome 54.0.2840.98 Google Chrome 54.0.2840.98 Mac OS X  10.12.1 Mac OS X 10.12.1

    @hrwhisper 自己手写的。 IP => 地址的变换借用了 ipip.net 的免费库

    yu · December 11, 2016 at 14:37

    Google Chrome 54.0.2840.98 Google Chrome 54.0.2840.98 Mac OS X  10.12.1 Mac OS X 10.12.1

    @hrwhisper 插件写起来很简单,你可以花费十分钟 google 下 wordpress 的插件写法。

    可以参考 https://gist.github.com/yuikns/e29bb87cbcf7f4343d76e721139347ef#file-somemoresentence-php 这个页面。

    开一个新的插件,里面只要 SomeMoreSentence.php 一个文件。
    或者若没有洁癖, 你也可以直接把 SomeMoreSentence 那个 function 和下面的那行 add_filter 丢到主题的 functions.php 这个文件下。

    然后在 $WORDPRESS/api/ip/ 目录下载一下 ipip.net 的免费库, 并解压。index 页面可以参考那个 gist 另一个文件。

    刚刚看了下你的页面。这个博客是我曾经见过的,上个月复习 bit 和线段树的时候还查看了你的某篇文章,容我膜拜一个。

      hrwhisper · December 11, 2016 at 15:05

      Google Chrome 55.0.2883.87 Google Chrome 55.0.2883.87 Windows 10 x64 Edition Windows 10 x64 Edition

      @yu 哈哈~感谢~ 过几天在折腾一下~
      感觉你Blog挺不错的~互相学习~

xqiushi · June 8, 2017 at 09:45

Google Chrome 58.0.3029.81 Google Chrome 58.0.3029.81 Windows 8.1 x64 Edition Windows 8.1 x64 Edition

换地址了,差点找不到了

ktrNozomi · November 20, 2017 at 08:48

Firefox 52.0 Firefox 52.0 GNU/Linux x64 GNU/Linux x64

NICE BLOG! Learn from you!

    yu · November 20, 2017 at 17:04

    Google Chrome 62.0.3202.94 Google Chrome 62.0.3202.94 Mac OS X  10.13.1 Mac OS X 10.13.1

    @ktrNozomi Thank you!

zhangyue · March 18, 2020 at 06:39

Safari 13.0.3 Safari 13.0.3 Mac OS X  10.15.1 Mac OS X 10.15.1

I`m passerby.

    Yu · March 21, 2020 at 05:32

    Google Chrome 80.0.3987.149 Google Chrome 80.0.3987.149 Mac OS X  10.15.3 Mac OS X 10.15.3

    Glad to see you, Mr. Stranger~

An anonymous old friend · July 5, 2021 at 10:38

Microsoft Edge 91.0.864.59 Microsoft Edge 91.0.864.59 Windows 10 x64 Edition Windows 10 x64 Edition

Maybe >5 years no see. How are you doing recently @recurrent? Hope everything goes well for you.

    Yu · July 8, 2021 at 23:46

    Chrome 91.0.4472.80 Chrome 91.0.4472.80 iPhone iOS 14.6 iPhone iOS 14.6

    🤔
    这是哪个小可爱,再多一点提示?

Leave a Reply

Your email address will not be published. Required fields are marked *