Approximity blog home
807 to 816 of 910 articles

Using SVG in Borges   25 Sep 04
[print link all ]
Interesting blog-entry on naseby + ruby + stuff. link

Test Version of FreeRIDE with RRB Refactoring Support   25 Sep 04
[print link all ]
(Source: Curt Hibbs) I just put up a test version of FreeRIDE that includes RRB Refactoring support and I would like to ask your help in testing it. For windows user’s there is a complete pre-built binary (it can coexist with your current FreeRIDE installation), and for non-windows users there are instructions for adding RRB refactoring support to your existing FreeRIDE installation. Full details at: [freeride.rubyforge.org/wiki/wiki.pl?RefactoringSupport]

[ANN] Ruby/.NET bridge R3   25 Sep 04
[print link all ]
(Benjamin Schroeder posted this to ruby-talk) I’d like to announce Release 3 of our Ruby/.NET bridge, which lets you use Ruby and .NET objects together in your programs. (Releases 1 and 2 were available on the RAA and RubyForge, but this is the first one we’re announcing widely.) link. Make sure you check out the 5 minute tutorial. It’s impressive.

RubyX - a ruby based Linux distro   25 Sep 04
[print link all ]
(Source: ruby-talk, Andrew Walrond, Oct 24, 2003) Rubyx is a ruby based linux distro. It is also the name of the script which creates Rubyx the distro and handles the package management In light of the recent rubyx/lunar threads, I thought it sensible to make the rubyx source available for scrutiny by the ruby community. You can get it using Bitkeeper like this:
bk clone bk://ftp.rubyx.org/rubyx
cd rubyx
bk co
You'll see three files:
rubyx - The man script
init - The ruby based init script
strfile.rb - Some code shared by rubyx and init
Important! The build machine must be capable of running the generated code, How it all works will require further discussion, but if you want to get involved, it would be a good idea to ask rubyx to download the sources. To get everything, you'll need 4Gb and broadband ;) For just the basics, it's a fraction of that but I don't have the figure to hand. Do this as root...
 
mkdir /my/rubyx/dir  (or something like)
./rubyx --root /my/rubyx/dir --download base net disk (for the basics)
./rubyx --root /my/rubyx/dir --download all (for everything)
If you don't have broadband, you might want to use --dj 1 to reduce the number of parallel downloads. I wrote this in part to learn ruby, so any comments/suggestions on the code or style are welcomed. Although I am writing this in Kmail on my laptop running Rubyx, rubyx is still very much work in progress, so don't expect too much. Lots more to discuss, but this will do for starters :)

Using the right hammer ..   25 Sep 04
[print link all ]
(Source: Robert Martin (UncleBob) in the pragprog-list) As a contractor you must do the best job you can for your client. This includes picking the best language for the situation. I agree that there are situations in which Ruby might be the best technical solution, but the worst political solution. In that case, you cannot use Ruby — you must use a technically inferior, but politically preferable language. There are other situations — more and more of them — in which Ruby is politically acceptable, and technically superior.

[ANN] celsoft.com/Battery 0.1.1   25 Sep 04
[print link all ]
(Souce: Sean O’Dell) Battery is a unit testing framework for Ruby. It captures all standard error and output and reports the entire summary of all tests formatted as valid YAML, for easier reading and parsing. Another key feature is that all tests run in the order they are added to their batteries, rather than arbitrarily. See the celsoft.com/Battery homepage for more information and documentation.

Homepage: battery.rubyforge.org/

Download: rubyforge.org/frs/?group_id=268&release_id=531

[ANN] linalg-0.3.2 -- Ruby Linear Algebra Library   25 Sep 04
[print link all ]
link[linalg.rubyforge.org/}

From the README:

Major features:

  • Cholesky decomposition
  • LU decomposition
  • QR decomposition
  • Schur decomposition
  • Singular value decomposition
  • Eigenvalues and eigenvectors of a general matrix
  • Minimization by least squares
  • Linear equation solving
  • Stand-alone LAPACK bindings: call any LAPACK routine from directly from ruby.

[ANN] rpa-base 0.1.0 "kitanai"   25 Sep 04
[print link all ]
(Source: Mauricio Fernandez)
 The Ruby Production Archive (RPA) will provide packages of Ruby
 libraries and programs in a form that allows production use, engineered
 through a stringent process resembling FreeBSD's or Debian's.

 rpa-base is a port/package manager designed to support RPA. Its scope and
 purposes are different to those of other systems like RubyGems.

 rpa-base 0.1.0 is now available on http://rpa-base.rubyforge.org .
 Please keep in mind that this is *not* a RPA release (that is, a release
 of the repository) but just a release of the rpa-base tool itself. We
 have provided several sample ports/packages for testing purposes, but
 they don't formally belong to RPA. Read below for information on the
 libs/apps packaged so far.

 rpa-base requires Ruby 1.8.1 (certainly 1.8 at least, it might work on
 1.8.0); it has been tested on several Linux distributions, FreeBSD and
 win32. We would appreciate feedback (both positive and negative) under
 those or any other architecture.

 It takes but a couple minutes to install and will allow you to do

 rpa install instiki ruvi

 ;-)
 (NOTE: ruvi, the cool pure-Ruby vim clone, won't work on win32)

 Features
 ========

 rpa-base is a port/package manager designed to support RPA's client-side
 package management. You can think of it as RPA's apt-get + dpkg. It
 features the following (working right now):

  * sane dependency management: rpa-base installs dependencies as needed,
    keeps track of reverse dependencies on uninstall, and will remove no
    longer needed dependencies
  * atomic (de)installs: operations on the local RPA installation are atomic
    transactions; the system has been designed to survive ruby crashes (OS
    crashes too on POSIX systems)
  * modular, extensible design: the 2-phase install is similar to FreeBSD and
    Debian's package creation; rpa-base packages need not be restricted
    to installing everything under a single directory ("1 package, 1 dir"
    paradigm)
  * rdoc integration: RDoc documentation for libraries is generated at install
    time (currently disabled on win32)
  * ri integration: ri data files are generated for all the libraries managed
    by RPA; you can access this information with ri-rpa (currently disabled on
    win32)
  * handling C extensions: if you have the required C toolchain, rpa-base can
    compile extensions as needed
  * unit testing: when a library is installed, its unit tests are run; the
    installation is canceled if they don't pass

R.W. Hamming on Round-Off   25 Sep 04
[print link all ]

Sven C. Koehler has started to read "Numerical Methods for Scientists and Engineers". He was so kind to send me a few quotes he likes from the introduction.

 Most books on computing stress the estimation of roundoff,
 especially the bounding of roundoff, but we shall concentrate
 on the avoidance of roundoff.  It seems better to avoid roundoff
 than to estimate what did not have to occur if common sense and
 few simple rules had been followed before the problem was put on
 the machine.

 Another standard algorithmic problem both in mathematics and in the use
 of computation to solve problems is the solution of simultaneous linear
 equations.  Unfortunately much of what is commonly taught is usually not
 relevant to the problem as it occurs in practice; nor is any completely
 statisfactory method of solution known at present.  Because the solution
 of simultaneous linear equations is so often a standard library package
 supplied by the computing center and because the corresponding
 description is so often misleading, it is necessary to discuss the
 limitations (and often the plain foolishness) of the method used by the
 package.  Thus it is necessary to examine carefully the obvious flaws and
 limitations, rather than pretending they do not exist.

update: (sorry, German only;) A big thanks to Sven C. Koehler for this summary

 Ich habe es nun in den groessten Teilen ueberflogen.  Die Ideen sind nicht
 wirklich neu: Umformen von Gleichungen, Vermeiden ungefaehr gleichgrosse
 Zahlen von einander abzuziehen, Approximation.  Beim Loesen von
 Gleichungssystemen schlägt er z.B. vor, ein Verfahren einzusetzen, das
 kein wiederholtes Dividieren benoetigt, dann wird's auch nicht ungenau.
 Trotzdem mag ich das Buch, weil es in mir den Eindruck weckt, dass es
 sehr fundiert ist.  Es ist voll von mathematischen Formeln, die ich alle
 nicht wirklich verstanden habe, aber ich werde in jedem Fall wieder darin
 nach Erklaerungen suchen, wenn ich mal wieder ein Numerik-Problem habe.

 Ich glaube für dich ist as Buch eher langweilig, das meiste kennst du
 bestimmt aus dem Studium. :-)

Napkin Look and Feel   25 Sep 04
[print link all ]
Now I did it. I made a Java category in this blog. I think like Paul Graham about Java and C#, but oh well ..

I coped this from: Napkin Look & Feel is a pluggable Java look and feel that looks like it was scrawled on a napkin. You can use it to make provisional work actually look provisonal, or just for fun.

The idea is to try to develop a look and feel that can be used in Java applications that looks informal and provisional, yet be fully functional for development. Often when people see a GUI mock-up, or a complete GUI without full functionality, they assume that the code behind it is working. While this can be used to sleazy advantage, it can also convince people who ought to know better (like your managers) that you are already done when you have just barely begun, or when only parts are complete.

 

powered by RubLog
807 to 816 of 910 articles Syndicate: full/short