Treetop is a language for describing languages. Combining the elegance of Ruby with cutting-edge parsing expression grammars, it helps you analyze syntax with revolutionarily ease.
One of the aspects we have to work around building and improving a dynamic language implementation on the Java Virtual Machine is the way the JVM loads and executes bytecode. In order for JRuby to take advantage of the Hotspot just-in-time (JIT) compiler,
You've built a vibrant community of Family Guy enthusiasts. The SVD recommendation algorithm took your site to the next level by allowing you to leverage the implicit knowledge of your community. But now you're ready for the next iteration - you are about
Passadinha rápida só pra deixar registrado uma dica pra quem for instalar (ou tentar) o novo serviço de internet móvel da Claro com 3g no Mac OS. Eu assinei o serviço de 1mps e recebi “de cortesia” o modem USB Huawei E226. No manual que acompanha
I first used Behaviour-Driven Development in a relatively disciplined way when writing Walrus. BDD is an incredible safety net for a beginner (Walrus was my first ever real Ruby project; previously I had only written 10-line scripts). It allows you to ens
O ActiveRecord tem como uma de suas principais funcionalidades abstrair o acesso ao banco de dados para o desenvolvedor. Através dele é possivel fazer todo o CRUD ( Create, Read, Update, Delete ) sem usar a linguagem SQL, entre outras consultas intelige
I've been doing some quick and dirty shootouts running the Petstore app from TW-commons RubyForge project. The purpose of this exercise was not to draw any conclusions, but to get a gut feel for the various factors that have significant impact on performa
RM-Install, powered by BitRock, is a free, multi-platform, enterprise-class Ruby on Rails stack enabling you to instantly begin developing and deploying great Rails applications without the worry of installing or maintaining the various integrated softwar
Note that I made a grave error of thinking before writing this article: I forgot the copy-on-write page sharing of modern Unices. I added two paragraphs to this article that should clarify the point. Thanks for your comment, Alex.
Behold, behold, Rails 2.0 is almost here. But before we can slap on the final stamp, we’re going to pass through a couple of trial release phases. The first is this preview release, which allows you to sample the goodies in their almost finished state.
A simple script that, given a CSS stylesheet and either a .txt file listing URLs of HTML files, or a directory of HTML files, will iterate over them all and list the CSS statements in the stylesheet which are never called in the HTML.
I have been thinking much about Metaprogramming lately. I have come to the conclusion that I would like to see more examples and explanations of these techniques. For good or bad, metaprogramming has entered the Ruby community as the standard way of accom
Most web applications have many more model objects exposed on the backend, or admin side, than they do on the front. Coding interfaces for all those models is redundant and a waste of resources when all you need is CRUD functionality that’s smart enough
If you read discussions about programming languages, one topic is quite common: "Why do people use an inferior language like Java/C++/what-the-hell and not a superior language like Lisp/Haskell/Python/you-name-it"?
Like I wrote earlier, it’s frustrating to learn a new language when you don’t get to use it straight away. So I’ve come up with 10 creative ways that will get you started today with making big money (or fame) with your newly acquired Ruby skills
Here's a script I've been using to run XPath queries from the command line. It's handy for unit testing. If your code does a lot of XPath stuff, it'll be useful to unit test the query without running the whole program. The script shown here is simple, fre
rcov is a code coverage tool for Ruby. It is commonly used for viewing overall test coverage of target code. It features: * fast execution: 20-300 times faster than previous tools * multiple analysis modes: standard, bogo-profile, "intentional testing", d
Ok, disclaimer. As of writing there aren’t exactly 100+ cheatsheets available on errtheblog’s wonderful new cheatsheet tool, but its only a matter of time til my title is correct. Then I will rewrite this introduction paragraph and I will be the earli
The installer packages Shane Careveo's Fast-CGI ISAPI filter in conjuction with Ionic's Rewrite ISAPI filter and my IIS scripts to allow for integration with IIS under Windows XP or Windows Server 2003. This is a complete solution for hosting your Ruby Ra
TWO YUMMY LIBRARIES! Ruby Facets is the single largest collection of core extension methods and standard library additions available for the Ruby programming language.
This is an insanely long and gnarly essay about implementing, then optimizing, the low-level bits of a pure-Ruby XML parser. If you obsess about XML reading, deterministic finite automata, or Ruby code optimization, you may find some part of it interestin
I'd been planning to add full-text search capabilities to FastRI from the beginning, and in Ruby-land "full-text" means Ferret. But I wanted to keep dependencies to a minimum, as FastRI could someday aspire to replace parts of the agonizing ri in the stdl
Here at Ohloh we've accumulated an enormous database of open source development facts. So far, we've indexed over 3,000 projects and 220 million lines of source code. In addition, we've followed the history of these lines of code, to identify when and by
* Blog * API * About Kiko is a great, dead simple calendar you can use right in your web browser Kiko is developed and hosted on an open-source application stack: * LigHTTPD on Debian GNU/Linux * the PostgreSQL database * Ruby on Rails
On Wednesday in Frankfurt at the PHP International Conference I gave a fairly general talk on issues in Web frameworks. I had fun making a graph comparing Java, PHP, and Rails, and you might enjoy it too. [Update: Theserverside.com has a grossly inaccurat
Tim Bray, who - among many other things - co-edited the XML 1.0 and XML namespace definitions, was invited to the International PHP Conference to give a keynote about "How to combine PHP technology with Java based on Enterprise Systems". I had the pleasur
Whether you’ve forgotten the name of a function or the property of a cascading style sheet - handy cheat sheets deliver the information you are looking for - immediately. Most cheat sheets are available as .pdf or .png-files, so you can print them and u
"Each pattern describes a problem which occurs over and over again in our environment, and then describes the core of the solution to that problem, in such a way that you can use this solution a million times over, without ever doing it the same way twice
O intuito do treinamento é desenvolver uma aplicação web completa, que va desde o banco de dados até o uso de AJAX em toda sua camada de visualização. O foco do curso é o pragmatismo, sendo que os conceitos da linguagem estarão em um segundo plano
Yesterday I was glancing Douglas Bowman’s Photo gallery and a fun idea came to me. Inspired by using photo slides on a light table, Douglas employs a unified theme and feel across his gallery. Kindly he released the theme free for use and is available f
Lets imagine that you have a list view of some data which takes a long time to generate, one second or so to suck the data from the database. This is unreasonable for a site of any proportion, and you certainly don’t want to re-run query every time some
AI Related Ruby Extensions This page will maintain list of AI related extensions/modules/gems for the Ruby programming language. Please contact me if you know something I missed.
There's a lot of buzz around the Ruby on Rails framework at the moment. Something that doesn't get a lot of attention is it's scalability solution: FastCGI. Partly because it doesn't seem very exciting on first glance and partly because it's so fundamenta
When looking at my own Rails code and that of the community as a whole, I often see places where certain Rails techniques could have been used, but weren't. As much for my own memory as yours, I thought I'd list down some Rails tricks and tips that can ma
I get a lot of emails about packing and distributing Rails applications with Tar2RubyScript and RubyScript2Exe. It obviously wasn't easy to come up with the steps that have to be taken to transform a Rails application into a standalone application. Since
A former student asked me a few days ago how I learned Ruby on Rails. The answer was that I simply read alot of great tutorials. So in the spirit of sharing, here are the 12 tutorials that I found most useful:
I’m sad to say that I have to recommend people not use lighttpd anymore. The author hasn’t updated the mod_proxy plugin and isn’t providing too much support for the bugs it has. If you’re running lighttpd and you constantly see 500 errors that are