Approximity blog home
476 to 495 of 600 articles InfoSyndicate: full/short

[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.

RubyConf 2003 Presentations Posted   25 Sep 04
[print link all ]
(Source: Ryan Davis) In absolute record time (5 days compared to 3 months), rubyconf 2003 presentation materials have been posted. www.zenspider.com/Languages/Ruby/RubyConf2003.html

I’m still waiting for some more, so check back periodically to see updates.

Compiere R2.5.1e   25 Sep 04
[print link all ]
Compiere released its newest Production Release 2.5.1e.

Significant functionality was added:

  • Credit Management & Dunning
  • Improved Discount Management
  • Payment-Invoice Allocation improvements (incl. Auto Match)
  • Ship/Receive in multiple UOMs
  • Service Level Agreements
  • GL Distribution
  • Prepayment Order Improvements
  • Financial Report writer improvements

Technical Improvements:

  • Support of Oracle 10g
  • Improved Database Connection management
  • Performance improvements

Significant reduction of open bugs.

DE: Squeak Artikel C't   25 Sep 04
[print link all ]
In der C’t 7/2004 erschien ein Artikel ueber Squeak. Programmieren lernen mit Squeak: Von kleinen und grossen Erfindern. pdf

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.

Sony details PlayStation Portable's chips   25 Sep 04
[print link all ]
(Source: The Register)

The PSP chipset comprises a number of components: the CPU, a media processor, a 3D graphics engine, a security processor and a power manager. The PSP’s MIPS R4000-based CPU will run at up to 333MHz, Sony chip designer Masanobu Okabe revealed at the Hot Chips conference in Stanford University, California. Its frontside bus runs at up to 166MHz, with both frequencies controlled by processor load. It contains a vector processing engine. link

RITE (Ruby 2) at Rubyconf 2003   25 Sep 04
[print link all ]
Matz has presented RITE at rubyconf 2003. www.rubygarden.org/ruby?Rite

matz called his talk: "How Ruby sucks".

Squeak is a toy - so ?   25 Sep 04
[print link all ]
(source: email from Martin Drautzburg to stx-users ML; Oct, 22, 2003)
 > PPS:
 > I remember working for a company, where it took the make utility3/4 of
 > an hour to figure out *what* to compile, and the compilers a day to
 > compile- it was a C++ project b.t.w. which was canceled and replaced by
 > a Smalltalk program after they spent 50man-years on a non-working
 > program - so much for non-toy languages !

Yeah and I just spent 3 days in an inhouse J2EE workshop held by one of our chief architects. We spent most of our time fighting with the tools. Changed setting over and over. The goal of the workshop was to demonstrate how to insert a row into an oracle table. At the end of the 2 days the table was still empty. Another non-toy language.

I have written two small apps (apx 5000 LOC) one in squak and one in stx. It was a dream. Got up in the morning and fixed two or three bugs before breakfast. You can only do this with a real cool environment.

SAP costs too much - customers   25 Sep 04
[print link all ]
(Source: Register) Every now and then, an analyst firm gathers up its collective courage and issues an ROI study which contradicts everything a vendor’s marketing department would have you believe.

So hats off to Nucleus Research for firing a salvo at SAP for causing customers to shell out millions on software with little more than added worker productivity in return. 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.

You can find full details at: freeride.rubyforge.org/wiki/wiki.pl?RefactoringSupport

Easy (better: familiar) things are most successful   25 Sep 04
[print link all ]
(Source: James A. Robertson) www.cincomsmalltalk.com/blog/blogView

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 :)

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]

Three monsters united: Woody+Oracle 9.2 + Compiere 2.4.4.a   25 Sep 04
[print link all ]
the monster of opensource ERP & CRM systems on the monster of free GNU/Linux operating systems with the monster of commercial object relational databases. What happens when 3 monters go to bed together?

link

The dark side of computing: floating point arithmetic   25 Sep 04
[print link all ]
I saw this post on ruby-talk: raise "false" if ((625.91 + 900.00 + 22.00) != 1547.91) And yes, of course it raises the exception in ruby or in C. Guy Decoux (as always) answered quickly:
 svg% ruby -e 'p  "%.24f" % (625.91 + 900.00 + 22.00)'
 "1547.909999999999854480847716"
 svg%

 svg% ruby -e 'p  "%.24f" % 1547.91'
 "1547.910000000000081854523160"
 svg%

Dave Thomas explained: It’s about 40 years old, and unlikely to be fixed. Floating point numbers are not represented exactly inside computers, and so floating point comparisons are routinely deprecated in books on programming. Certain values cannot ever be expressed in floating point representation. If you want exact, fractional, math, you should probably use the ‘rational’ library and investigate ‘mathn’. This is the classic article to read link What Every Computer Scientist Should Know About Floating-Point Arithmetic.

Michael Neumann added: In Ruby you can use BigDecimal:

 require 'bigdecimal'
 BigDecimal.new("625.91") + 900 + 22 == BigDecimal.new("1547.91") # => true

DE: My Compiere slides for Linuxtag 2004   25 Sep 04
[print link all ]
Bin gerade am Linuxtag 2004 in Karlsruhe. Die Folien meines Compiere-Vortrages

How well does the Oracle-compatability mode work for SAP DB? I got to check that as it might be an option to replace the existing Oracle DB dependency.

I will post a few pics from the Linuxtag later. Not too many people here this year. Linux has simply made it into mainstream. The adventure has long gone :-). Got a nice yellow "no software patents" t-shirt.

What's Shiny and New in Ruby 1.8.0?   25 Sep 04
[print link all ]
why has produced a must_read summary about new features in Ruby 1.8.0. whytheluckystiff.net/articles/2003/08/04/rubyOneEightOh

Interesting Ruby page: semantics & semiotics; code manufacture   25 Sep 04
[print link all ]

Some very interesting ruby stuff:

  • Artificial Neural Networks: Implemented a multilayer backpropagating artificial neural network using a momentum term and optionally a weight decay term.
  • Borges mod_ruby Integration: I have managed to get Borges running using mod_ruby. I will produce a library ready version of that and check it in the Borges project.
  • and much more
  • link

Smalltalk with Style   25 Sep 04
[print link all ]
Stephane Ducasse posted this to the Squeak-ML. download
 Smalltalk With Style is now freely available.
 Thanks Suzanne, Ed, and Dave. This is a great book everybody should read!!

 I added the chapter 27 of Smalltalk by Example.
 I added a link to point to the book of Liu: Smalltalk, Object and Design

On reading a text file in Smalltalk   25 Sep 04
[print link all ]
(Source: comp.lang.smalltalk, Lex Spoon) If you accept losing one notch of performance, then you can make much clearer code in Smalltalk. The "file lines" idiom in this thread is very useful, because you can then use collect:, select:, etc., on the resulting collection of lines.

And it is important to consider that once you commit to, say, iterating over an entire file, that the file must be reasonably small anyway to get decent performance. The same issue exists with collections. Who cares if collect: creates an extra collection or if WriteStream wastes space at the end of a long underlying collection; if these concerns are really so important then probably this huge collection should not exist and/or you should not be iterating over the entire thing anyway.

To put it very simply: you just can not expect a program to work on large data structures just because you micro optimized everywhere. If you want to handle large data structures then it takes planning and specialized algorithms and test cases. If you are not going to put in that effort, then don’t sweat the small stuff. It is very liberating to code with an eye towards correctness and towards algorithmic performance, and not to worry about getting down the constant factor. It seems to lead to lower stress, faster code production, and fewer bugs generated.

 

Powered by Rublog