解析Ruby
Suppose you need to parse a chunk of Ruby code (and by Ruby I obviously mean Ruby 1.9). What options do you have?I want to rip it, rip itThe obvious choice is Ripper, an external interface to ...
Google Spanner - 全球级的分布式数据库
Google Spanner简介Spanner是Google全球级的分布式数据库(Globally-Distributed Database)。Spanner的扩展性达到了令人咋舌的全球级,可以扩展到数百万的机器,数已百计的数据中心,上万亿的行。更给力的是,...
伟大的Python
I've been in love with the language for a decade.I feel a connection to the community that has only grown over time, both in numbers and in awesomeness. However, I see difficult times ahead. Not...
MongoDB的复制延迟和网络分区
Replication: when everything is working, it seems the easiest thing, but the challenge comes when we have failures. This is something that MongoDB, being a database that is out for some years, sho...
微软新推TypeScript取代JavaScript
TypeScript是一个应用程序级的JavaScript开发语言。TypeScript是JavaScript的超集,可以编译成纯JavaScript。TypeScript跨浏览器、跨操作系统、跨主机,开源。主页:http://www.typescriptlang.org/Starts ...
Python is doing just fine
A few people have written with a little bit a of angst about the future of the Python programming language. I have felt this too. I wonder if it is because its big brother Perl, which it used to t...
Eclipse 4.2 SR1版悄悄发布
值得惊讶的是,Eclipse 4.2 SR1版发布并没有在Eclipse.org主页或最新的活动事件中加以公布,完全是悄悄放出。查看Eclipse 4.2 SR1版的日志信息,可以看到,这一版本修正了80个Bug。而且:1. WTP从3.4.0升级到了...
用R读取PDF并进行数据挖掘
用R读取PDF并进行数据挖掘,例子如下:# here is a pdf for miningurl <- "http://www.noisyroom.net/blog/RomneySpeech072912.pdf"dest <- tempfile(fileext = ".pdf")download.file(url, dest, mo...
Java又爆致命漏洞
之前发现Java 7中重要安全漏洞的波兰安全公司Security Explorations近日发表公告称,他们在Java中又发现了一个漏洞,攻击者可利用该漏洞绕过沙箱。 Security Explorations公司安全专家Adam Gowdiak称: 引用...
在Heroku上运行Go+Revel程序
Revel is a Play-like web framework for Go. I’m new to the Go programming language but I’ve heard good things. So I thought I’d take Revel for a spin and get it working on Heroku. Luckily there ...
同一环境下运行多个版本的Grails
Typically you have your grails installed into some directory, created environment variable GRAILS_HOME and you are ready to go.But what if you have few projects with different grails versions? Y...
有人恨MongoDB吗?
For a guaranteed surge of traffic and to hit the Hacker News homepage, all you need to do is write about why you hate MongoDB and/or migrated to some other database. We’ve been using it to power ...
MongoDB规模化的设计模式
I had the recent opportunity to present a talk at MongoDB Seattle on Schema Design at Scale. It's basically a short case study on what steps the MongoDB Monitoring Service (MMS) folks did to evolv...
Ruby的下划线魔法
I discovered today that Ruby treats underscores a little bit differently when it comes to variable names.Suppose, for the sake of argument, that we have a set of data that looks like this:CODE:p...
8个开源的Python变种
1. PyPy - fast, compliant alternative implementation of the Python languagePyPy is a fast, compliant alternative implementation of the Python language. It supports most of the commonly used Pyth...
At a Conference? Need a Dataset? Neo4j at NOSQL NOW
For the "Lunch and Learn around Neo4j" with Andreas Kollegger we wanted to use a dataset that is easy to understand and interesting enough for attendees of the conference.So we chose to use just...
Groovy 2.0.4 发布
Groovy开发团队今天发布了Groovy 2.0.4版本。上一个版本为2.0.2,之所以跳过了2.0.3,是因为2.0.3错误地使用了JDK 6,而不是JDK 7,无法使用动态调用功能,因此开发团队又立刻发布了2.0.4版本。 该版本修复了...
Ruby Tidbit: __LINE__ and heredocs
You’re probably familiar with __LINE__ keyword in Ruby. Wherever it’s used, it refers to the line number in the current file. It says so right here in the Ruby docs.QUICK! What’s the output o...
Spring Data Neo4j Webinar Follow up
Curator's Note: The following is by Michael Hunger.Thanks again everyone for attending the Intro to Spring Data Neo4j webinar. We hope you enjoyed the presentation and learned a lot. We answered...
Google App Engine 1.7.2 发布
Google App Engine开发团队今天发布了最新的1.7.2版本。 该版本包含了一些新功能和改进,修复了超过130处bug,其中包括: PyCrypto 2.6现在可以作为Python 2.7的第三方库。Java Threads现在完全支持Java运...