Approximity blog home
142 to 161 of 596 articles InfoSyndicate: full/short

See openfiles   25 Jan 06
[print link all ]
Sometimes it is really useful to find out which files are open, as well as by what process/user. lsof and fuser are your friends.

Which files are opened by vim?

 lsof -c vim

.. and which processes use the file tara.c?

 fuser tara.c

Great Croquet talk   26 Dec 05
[print link all ]
Simple awesome

Ajax patterns   22 Dec 05
[print link all ]
.. and of course there is a ajax patterns website :-)

Why does ri not work?   21 Dec 05
[print link all ]
ri is a useful interactive ruby help one can call from the commandline.

If it does not work, go in the directory where you downloded the ruby-source. Then type

  make install-doc

Test it in a console by typing ri Date or ri Date.succ

Why is rails so successful?   20 Dec 05
[print link all ]
Interesting blog-entry by Ryan Ripley.

Rails is such a success as it has a strong story, good timing, wentviral, and is authentic.

Ruby/Amazon   19 Dec 05
[print link all ]
Ruby/Amazon is a Ruby language library that allows programmatic access to the popular Amazon Web site via the REST (XML over HTTP) based Amazon Web Services. In addition to the original amazon.com site, the amazon.co.uk, amazon.de, amazon.fr, amazon.ca and amazon.co.jp properties are also supported.

Although the library is still in development, it already provides support for the vast majority of the AWS v3.1 API. For example, all forms of product search are implemented, along with the transaction details API and the remote shopping-cart API.

Ruby/Amazon also offers advanced features not directly available via the AWS API, such as the ability to retrieve all results pages for a particular search, rather than having to deal with AWS responses of 10 results per page. Ruby/Amazon will even use parallel threads to improve the performance of such multi-page searches.

Another advanced feature is the ability to cache responses returned by AWS. If the cache is used (as it is by default), the results of each unique query will be cached and used for 24 hours. The cache can be manually flushed of all or just the expired entries.

One other useful advanced feature is the ability to determine the appropriate Amazon locale for a client, based on its IP address or hostname. This allows you to direct AWS operations to be performed within the correct geographical Amazon site for the given client. German clients can be made to operate within amazon.de, British clients sent to amazon.co.uk, etc.

More features are planned for future versions, such as Amazon Web Services for Sellers. See the TODO file included with the software.

The easiest way to get started is to click on the Amazon class and to follow the examples.

The probabilistic age   19 Dec 05
[print link all ]
Q: Why are people so uncomfortable with Wikipedia? And Google? And, well, that whole blog thing?

A: Because these systems operate on the alien logic of probabilistic statistics, which sacrifices perfection at the microscale for optimization at the macroscale. Great read

Crossing the alps   18 Dec 05
[print link all ]
It’s always great to pass the Alps. Some shots taken during the recent flight to Rome.

www.approximity.com/blogPics/alps_1629_small.JPG

www.approximity.com/blogPics/alps_1634_small.JPG

Introduction to Refactoring Streamzine   18 Dec 05
[print link all ]
Net Objective’s latest stream-zine demonstrates refactorings and code-smells. Audio and slides.

www.netobjectives.com/streamzines/CurrentStreamzine/

Very good introductory material.

Ruby versus .. Perl5 versus XOTcl   18 Dec 05
[print link all ]
Thanks to Michael Schlenker we added a XOTcl column to our OO comparison table.

Extended Object Tcl (for short: XOTcl, pronounced exotickle) is an object-oriented scripting language based on MIT’s OTcl.

Interesting book sales news   09 Dec 05
[print link all ]
radar.oreilly.com/archives/2005/12/ruby_book_sales_surpass_python.html

Ruby books are up over 1500% over last year, while Python books are up 20% (and Perl is down 3%).

Several interesting comments as well.

— thanks, -pate

Ruby and .Net Fitnesse Tutorials   09 Dec 05
[print link all ]
Hi All,

I’ve been working on some tutorials for getting Fitnesse up and running with some of the other runners. I’ve completed the tutorials for .NET (C#) and Ruby, and would love feedback on them.

.NET/C#: www.cornetdesign.com/2005/11/fitnesse-and-net-basic-tutorial.html

Ruby: www.cornetdesign.com/2005/12/fitnesse-and-ruby-basic-tutorial.html

Thanks!

Cory

Marrying Ferret and Rails   09 Dec 05
[print link all ]
Great wiki summary based on a rails mailing by Kaspar Weibel. It works on multiple Active Records.

Rails Cheat Sheet   09 Dec 05
[print link all ]
I found this cheat sheet. Unfortunately I do not know who the author is, but thanks to the anonymous author anyhow.

Why should egineers and scientists be worried about color?   06 Dec 05
[print link all ]
Highly recommended article for anybody who tries to visualise data. The misuse of excel and powerpoint leads to too many 3D pie diagrams :-(. Any student should read his Tufte.

Ten Wikipedia Hacks   06 Dec 05
[print link all ]
Some good tips on using wikipedia.

Ruport   05 Dec 05
[print link all ]
Ruport is currently a combination of a neat proof of concept with some useful little scripts and utils that are quickly becoming rather powerful. The aim is to be a very handy report generation framework and library which will support an insane amount of input sources (CSVs,Excel,any Database Ruby-DBI supports,various ORMS, anything you can hack away at with parse/input,etc) and then output in an insane amount of formats (PDF,XHTML,XML,CSV,Excel,RSS,etc,etc) while leveraging a powerful set of tools that will munge, organize, and beautify whatever it is you need to report on. It’s not nearly there yet, but it’s on it’s way.

Slightly more information available at the home page

AllInOneRuby   05 Dec 05
[print link all ]
AllInOneRuby creates an compressed executable for Windows or Linux that includes both the Ruby interpreter and the runtime libraries. This is useful for temporary installations or USB sticks.

www.erikveen.dds.nl/allinoneruby/index.html

Flatland online   05 Dec 05
[print link all ]
Who hasn’t yet read the story of Flatland?

Flatland: A romance of many dimensions

Text by Edwin A. Abbott, 1884; copyright expired

Economics in one lesson   05 Dec 05
[print link all ]
jim.com/econ/contents.html

 

Powered by Rublog