From there they become more like a ruby color, then garnet, then brick red, then brown.
然后依次是宝石红-石榴红-砖红-棕色。
In the future I expect build scripts to be written in programming languages like Groovy or Ruby, and Gradle is likely to gain a significant market share.
在我看来,未来构建脚本是用像Groovy或者Ruby这样的编程语言来编写的,而Gradle将在工具中占据重中之重。
I have several goals with the language but the most specific one is to create a language that combines the things I like about Ruby and Lisp together.
对于Ioke,我有几个目标,但最明确的一个是创建一种能将Ruby和Lisp中我所喜欢的那些特性组合起来的语言。
Then again, I cannot see a reason not to go along with the organization Rails provides; for the most part, it "fits your brain" (as Ruby fans like to say).
再者说,我找不到不使用Rails所提供的组织方式的理由;在大部分情况下,它“fits yourbrain”(Ruby的支持者喜欢这样讲)。
InfoQ: Firstly how is it decided that such a big company like SAP will be supporting Ruby?
InfoQ:首先,像SAP这样的大公司是如何决定来支持Ruby的?
Ruby Inside's sister site, Rails Inside, was launched alongside Rails 2.1 in June, and would, you'd think, be the ideal place for a post like this, but no.
RubyInside的兄弟站(原文的意思是姐妹站,感觉不爽),Rails Inside,在六月同时推出Rails2.1,你可能认为像这样的一个文章发布在那里才是合适的地方,但是,并非如此。
The critical flaw is the fact that most of these languages were built on top of their own virtual machine or interpreter, so they represent (like Ruby does) a transition to a new platform.
关键问题在于许多语言建立在自己的虚拟机或解释器上,所以它们代表(就像Ruby一样)到新平台的转换。
But you want to learn a more flexible language for daily chores — for instance, a scripting language like Perl or Ruby will help you quickly create interesting programs and test ideas.
此外你还可以学习一门更灵活的语言,用来应付日常工作,像类似Perl或者Ruby这类脚本语言会帮助你创建一些有趣的程序,还可以快速的测试你的想法。
For example, you can create a map (Ruby calls them "hashes", even though a hashtable is only one way a map can be implemented) with a simple syntax like.
例如,你可以用一个简单语法创建一个map (Ruby称之为“hashes”,尽管hashtable只是map一种可能的实现方式),如。
Affectionately known as "duck typing" (i.e., if it waddles like a duck and quacks like one, then it must be a duck!), polymorphism in Ruby is just a matter of matching method names.
Ruby中的多态性被亲切地称为“ducktyping”(意思是,如果它走起路来像鸭子,叫起来也像鸭子,那么它一定是鸭子!),这种多态性只是对方法名进行匹配的问题。
The Ruby language also has attributes (although they don't have a special name like "attributes" - they are one of many metaprogramming techniques Ruby offers).
Ruby语言也有属性(不过它们不像“属性”一样有特定名称—它们是Ruby提供的其中一种元程序设计方法)。
I've chosen Python to complement these two because it, like Perl, has been around for a while and has some of the features that I think made Perl so popular and which we now see in Ruby.
我选择python作为这两种的补充,因为,像Perl一样,它已经出现了一段时间,并且拥有一些我认为令perl如此流行的特性,而这些特性现在我们在Ruby中也看得到。
While this may seem like a hindrance to those accustomed to strongly typed languages, this loose-type coupling enables some of the more powerful features of the Ruby language.
对于那些习惯于强类型语言的人来说,这可能像是一种阻碍,但是这种弱类型耦合使Ruby语言能够实现某些更强大的特性。
As with other programming languages, like Perl or Ruby, you execute XSLT by running it through a language interpreter.
和其他编程语言如perl、Ruby一样,XSLT的执行也是通过语言解释程序完成的。
Ruby and Groovy developers like to brag about how they can iterate across a text file and print its contents to the console with a single line of code.
Ruby和Groovy开发人员喜欢炫耀他们如何能迭代整个文本文件并通过一行代码将其内容输出到控制台。
And yet - when you're writing a Rails application, Ruby really does feel like a kind of partner technology.
尽管如此,在你编写Rails应用的时候,Ruby看起来确实像一个辅助技术。
A program that, for instance, wants to use something like Skynet, a Ruby version of MapReduce, using multiple VMs to run tasks in parallel, will have to be adapted for every Ruby implementation.
举例来说,如果一个程序想要使用Skynet (MapReduce的Ruby版本),还想使用多虚拟机来并行运行任务,那么其必须进行适配以适合每种Ruby实现。
A new project has been created for developers using IronRuby to write applications with a Ruby on Rails like experience.
一个为有Rubyon Rails开发经验的人设计的、使用IronRuby构建应用程序的新项目诞生了。
The difference with Anvil, is that it plans to be a goto solution for Ruby GUI frameworks, much like rails became for web applications.
Anvil的区别是,它计划成为RubyGUI框架的一个一步到位的解决方案,正如Web开发中的Rails一样。
DLTK comprises a set of extensible frameworks designed to reduce the complexity of building full-featured development environments for dynamic languages like PHP, Perl, and Ruby.
DLTK 包含一组可扩展框架,旨在降低为动态语言(PHP、Perl和 Ruby)构建全功能开发环境的复杂度。
Well, of course we'll have an IRB shell, and a ruby-like command for running ruby code on MagLev.
当然我们有一个IRB的shell,和一个类似ruby的命令用于在MagLev上运行ruby代码。
It's a prototype that shows the possibilities of type inference in a Ruby-like language, rather than a new language for programmers to use.
这是一个原型,用来展现以一种类ruby语言而不是一种新语言来实现类型推断的可能性。
There are a lot of things to like about the Ruby language, but there are some concerns too.
Ruby语言虽然有很多令人喜爱之处,但也有一些问题。
With some fairly simple changes, you made a Python script call a Ruby script, and it just looks like a normal call to another Python module.
只需要进行一些相当简单的更改,就可以让python脚本调用ruby脚本,而且看起来与调用另一个Python模块的普通调用没有什么区别。
The four dogs, all named "Ruppy" — a combination of the words "ruby" and "puppy" — look like typical beagles by daylight.
这四只狗都取名为“Ruppy”(“ruby”和“puppy”的合成词),在正常光条件下,它们看起来和普通的比格猎犬没什么差别。
Not only that, but we substituted certain dependencies like GNU readline with a pure-ruby version called rb-readline.
并不仅仅是这些,我们将会替代一些依赖程序,例如使用纯净的ruby版readline(叫做rb)来替代gnu的readline。
The config/routes.rb file serves the same purpose as before, albeit with a much-simplified and more Ruby-like flavor.
config/routes.rb文件的功能与以往相同,只不过更加简化、更具有 Ruby 的特色。
It gives Ruby processors the minimum restriction to be a "Ruby". So even 1.8.7 needs stricter specification like RubySpec to keep compatibility between implementations.
草案设计得比较宽松,它将对Ruby处理程序的限制降到了最低,因此就算是1.8.7这样的版本也会需要类似RubySpec这样的更严格的规范来保证不同实现之间的兼容性。
Node-xmpp itself was modelled a bit like xmpp4r, the Ruby XMPP library, because I was used to use that a lot.
我过去经常使用RubyXMPP库xmpp4r,所以node - xmpp仿照了xmpp4r的一点儿内容。
You must be able to run a Ruby script as a service to run the socket server. To initially start the service, you need to execute the script files in the socket directory, like this.
为了运行这个socket服务器,必须要能够作为一种服务来运行ruby脚本。
应用推荐