Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4447246
  • 博文数量: 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-11-14 13:27:42

文章来源:http://blog.csdn.net/besfanfei/article/details/8556215equal?我们经常要比较两个对象,Ruby中提供了多种比较对象的方法。我们可以通过equal?方法比较两个对象是否相同,通过这种方式是比较两个值是否指向同一个对象的引用。比如:a = "Ruby" # 一个字符串对象。 b = c = "Ruby" # 两个字符串对象指.........【阅读全文】

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

发布时间:2014-10-28 13:58:20

文章来源:http://robots.thoughtbot.com/redis-pub-sub-how-does-it-work Nick Quaranto  June 08, 2011REDIS+Redis is a key/value store, but it’s jam-packed with a ton of other little utilities that make it a joy to explore and imp.........【阅读全文】

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

发布时间:2014-10-16 20:45:00

文章来源:http://omarfouad.com/blog/2013/08/18/file-upload-api-with-grape-and-rails/August 18, 2013The main difference between the web now and the web some years ago is the front end development. Most of the work one time was done on the server and the website that appeared to users were.........【阅读全文】

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

发布时间:2014-08-18 19:54:16

文章来源:http://rubyer.me/blog/917/十 26th, 2011blocks, Procs, Methods, lambdas(也称闭包)是Ruby中最强大的一部分,用过你就会知道,同时也是最容易迷惑的。这可能是因为Ruby处理闭包的方式有点怪。更甚的是,Ruby有4种处理闭包的方式, 第一次用,每种都不太顺手。首先:blocks代码块最常见、最简单、.........【阅读全文】

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

发布时间:2014-08-17 23:49:26

文章来源:http://learnxinyminutes.com/docs/zh-cn/ruby-cn/Where X=rubyGet the code: learnruby-zh.rb# 这是单行注释 =begin这是多行注释没人用这个你也不该用=end # 首先,也是最重要的,所有东西都是对象 # 数字是对象 3.class #=> Fixnum 3.to_s #=> "3" # 一些基本的算术符号 1 + 1 #=> 2 8 - 1 .........【阅读全文】

阅读(1052) | 评论(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版本是多少? 谢谢。

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

登录 注册