Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4446774
  • 博文数量: 1214
  • 博客积分: 13195
  • 博客等级: 上将
  • 技术积分: 9105
  • 用 户 组: 普通用户
  • 注册时间: 2007-01-19 14:41
个人简介

C++,python,热爱算法和机器学习

文章分类

全部博文(1214)

文章存档

2021年(13)

2020年(49)

2019年(14)

2018年(27)

2017年(69)

2016年(100)

2015年(106)

2014年(240)

2013年(5)

2012年(193)

2011年(155)

2010年(93)

2009年(62)

2008年(51)

2007年(37)

发布时间:2014-12-28 00:35:33

原文地址:http://www.cnblogs.com/darkbaby123/archive/2011/06/11/ruby_metaprogramming_file_line.html前言Ruby 元编程中,经常可以看到各种 eval 和 heredoc 的结合。其中很多用 heredoc 的位置都会出现 __FILE__ 和 __LINE__ 这两个变量。本文介绍一下它们的作用,以及为什么要这样做。正文先看一个用 .........【阅读全文】

阅读(1432) | 评论(0) | 转发(0)

发布时间:2014-12-27 23:02:21

原文地址:http://stackoverflow.com/questions/2191632/begin-rescue-and-ensure-in-rubyYes, ensure ensures that the code is always evaluated. That's why it's called ensure. So, it is equivalent to Java's and C#'s finally.The general flow of begin/rescue/else/ensure/end l.........【阅读全文】

阅读(1210) | 评论(0) | 转发(0)

发布时间:2014-12-27 22:56:20

原文地址:http://stackoverflow.com/questions/156362/what-is-the-difference-between-include-and-extend-in-rubyJust getting my head around Ruby metaprogramming... the mixin/modules always manage to confuse me.include : mixes in specified module methods as instance methods in t.........【阅读全文】

阅读(1325) | 评论(0) | 转发(0)

发布时间:2014-12-27 12:23:26

原文地址:http://blog.raphaelzhang.com/2013/11/grab-web-data-go-vs-python/这几天要帮老婆下载几个搜狐视频上的数据,正好在试用Go和Python,便用了Python和Go写了两个程序来抓取数据。当然,分析数据这种高难度的事是搜索引擎帮忙搞定的,具体说是这篇文章给出了好全的一个视频抓取分析。用Go写的代码大概在160.........【阅读全文】

阅读(2533) | 评论(0) | 转发(0)

发布时间:2014-12-26 18:25:43

......【阅读全文】

阅读(934) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

北大未名居士2013-03-08 10:16

回复  |  举报

北大未名居士2013-03-08 10:16

回复  |  举报

pureal2012-05-09 12:01

你好,看到一个帖子发现你看过APUE2英文版,我也刚好看到读写锁,写饿死的问题。所以想认识交流下,我没找到你的邮箱,我的是dwdang@126.com

回复  |  举报

大鬼不动2010-09-23 00:47

回复  |  举报

chinaunix网友2009-10-12 16:19

你好,你在Google Code上放的sg2fcitx的mainme.c源代码我下载编译会出现段错误。请问你的编译环境是什么?GCC版本是多少? 谢谢。

回复 |  删除 |  举报
留言热议
请登录后留言。

登录 注册