Approximity blog home
307 to 326 of 600 articles InfoSyndicate: full/short

[ANN] One-Click Installer 182-14 Final -- Happy New Year!   01 Jan 05
[print link all ]
(Curt Hibbs)
 Finally, after what seemed to be an endless series
 of release candidates, I am happy to announce the
 final release of version 182-14. Happy New Year!

 This release of the One-Click Ruby Installer for
 Windows is built from Ruby 1.8.2 final. It includes
 OpenSSL, and upgrades RubyGems and FreeRIDE to their
 latest versions.

 You can download this release from:
 http://rubyforge.org/frs/?group_id=167

 Curt

 Changes Since 1.8.1-13:
 - This is a build of Ruby 1.8.2 final.
 - Added start menu shortcuts for the RubyGems
 RDoc Server, and for viewing the RDoc of
 all installed gems.
 - Added OpenSSL 0.9.7e
 - Added RubyGems 0.8.3
 - Added FreeRIDE 0.9.2
 - Updated FXRuby to 1.2.2
 - Upgraded Ruby-odbc to version 0.994
 - TCL/TK support no longer sets any environment
 variables.
 - Corrected missing OpenGL support.
 - Added Start Menu shortcuts to documentation
 on ruby-doc.org.
 - Eliminated the installer dialog message that
 warned you might need to reboot your system.
 This allows for unattended installs using the
 command-line arguments:
     /S /D=<install dir>
     - Changed the layout of the Windows registry
     entries.
     - Fixed a typo in a windows registry entry
     (bug 643).
     - Upgraded Expat to version 1.95.7
     - Upgraded DBI to 0.23

Linux Virtual Server (LVS)   31 Dec 04
[print link all ]
(mon+heartbeat+fake+coda solution) Virtual server is a highly scalable and highly available server built on a cluster of real servers. The architecture of cluster is transparent to end users, and the users interact with the system as if it were only a single high-performance virtual server.

The Linux Virtual Server as an advanced load balancing solution can be used to build highly scalable and highly available network services, such as scalable web, cache, mail, ftp, media and VoIP services. link

Command of the day   31 Dec 04
[print link all ]
Happy new year!
 ruby -i.bak -pe 'sub "2004", "2005"' *

Stefan suggested:

 find . -print | xargs ruby ...
 :-)

Recording streaming sound with vsound   31 Dec 04
[print link all ]
Vsound - a Virtual Audio Loopback Cable

This program allows you to record the output of any standard OSS program (one that uses /dev/dsp for sound) without having to modify or recompile the program. It uses the same idea as the esddsp wrapper from the Enlightened Sound Daemon (in fact, vsound is based on esddsp). That is, it preloads a library that intercepts calls to open /dev/dsp, and instead returns a handle to a normal file. It also intercepts ioctl’s on that file handle and logs them, to help convert the audio data from its raw form. Vsound then uses sox to convert the raw data to the desired file format.

The upshoot of this is that instead of playing sound to the sound card in your computer, the data is recorded to a file. This is similar to if you connected a loopback cable to the line in and line out jacks on your sound card, but no DA or AD conversions take place, so quality is not lost.

One use of vsound is to help convert real audio files to some other format. Since the real audio format is proprietary, and all we have is a player, we can use the vsound to create a wave file like so:

 vsound -t -f /data/dvdburn/LL2/s2.wav  realplay rtsp://18.39.0.30/ailab/mit-ll2-s2-09nov02-80k.rm

DE: LaTeX vs XSL-FO   24 Dec 04
[print link all ]
Wir haben eine kurze Zusammenfassung geschrieben.

Ruby 1.8.2 preview 4 available   23 Dec 04
[print link all ]
Ruby 1.8.2 preview 4 is available from
  ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.2-preview4.tar.gz
  md5sum: 2f53d4dc4b24e37799143645772aabd0

  The final 1.8.2 will be out on December 25th (JST), unless any
  critical bugs will be found.
                                      matz.

Postmodern programming   22 Dec 04
[print link all ]
Mathieu Bouchard emailt me this: First, I found this interesting (and wild) paper about Postmodern Programming:

www.mcs.vuw.ac.nz/comp/Publications/CS-TR-02-9.abs.html

Apparently, this has been believed by many as a hoax, and so has been linked to the famous Alan Sokal hoax (the paper "Transgressing the Boundaries: Towards a Transformative Hermeneutics of Quantum Gravity").

However I think it’s more like: a serious article written in a tongue-in-cheek style and talking about an unusual topic.

Other authors i know who are writing about postmodern programming, are Larry Wall (Perl) and Richard Gabriel (new online book "Patterns of Software"). These days I am attempting to read the latter.

Richard Gabriel’s work on software patterns, and for that matter, all the work on software patterns for the last decade, has been tremendously influenced by a book supposedly on Architecture (!!!), by Christopher Alexander, called "The Timeless Way of Building".

Both C.Alexander and R.P.Gabriel spend a lot of time on an elusive concept they call "Quality", which I immediately connected to Robert Pirsig’s "Zen And The Art of Motorcycle Maintenance" (1976), a classic I finally read this year. The connection between the two is quite large (Pirsig’s book even more revolves around that "Quality" thing). It has to do with attempting to define the undefinable, in particular, those aspects of a thing that make it good and/or beautiful but that, trying to approach them from a formal standpoint, slip through our fingers.

There are a bunch of other interesting aspects (IMHO) in all of those texts.

Team room   22 Dec 04
[print link all ]
William Pietri put some nice pics and text online.

Working Effectively With Legacy Code   20 Dec 04
[print link all ]
Interesting article by Michael Feathers. Michael also wrote a book about the same subject.

GNU/Linux Desktop Survival Guide   18 Dec 04
[print link all ]
Good free book.

Webcam to watch penguins :-)   18 Dec 04
[print link all ]
Enjoy!

Ubuntu - nice Linux distro based on debian   18 Dec 04
[print link all ]
Their solgan: "Ubuntu" is an ancient African word, meaning "humanity to others". Ubuntu also means "I am what I am because of who we all are". The Ubuntu Linux distribution brings the spirit of Ubuntu to the software world.

Logo:

It comes with Gnome 2.8 and a 2.6 Kernel. The overall install was amazingly simple. Download it.

DE: Bildblog: Notizen ueber eine grosse deutsche Boulevardzeitung   11 Dec 04
[print link all ]
Bildblog ist ein Watchblog.

Was heute in der "Bild"-Zeitung steht, steht morgen ueberall. Vielleicht sollte man sich also mal genauer anschauen, was sie schreibt. Die kleinen Merkwuerdigkeiten und das grosse Schlimme.

link

DE: LaTeX vs XSL-FO   07 Dec 04
[print link all ]
Wir haben eine kurze Zusammenfassung geschrieben.

Linux Clustering with Ruby Queue: Small Is Beautiful   07 Dec 04
[print link all ]
Nice article in the Linuxjournal

Using Ruby and SQLite to create Linux clusters that take advantage of idle nodes and bypass expensive software solutions.

My friend Dave Clements always is game for a brainstorming session, especially if I’m buying the coffee. Recently, we met at the usual place and I explained my problem to him over the first cup. My office had a bunch of Linux nodes sitting idle and a stack of work lined up for them, but we had no way to distribute the work to them. Plus, the deadline for project completion loomed over us.

Over the second cup of coffee, I related how I had evaluated several packages, such as openMosix and Sun’s Grid Engine, but ultimately had decided against them. It all came down to this: I wanted something leaner than everything I’d seen, something fast and easy, not a giant software system that would require weeks of work to install and configure.

After the third cup of coffee, we had it: Why not simply create an NFS-mounted priority queue and let nodes pull jobs from it as fast as they could? No scheduler, no process migration, no central controller, no kernel mods—simply a collection of compute nodes working as fast as possible to complete a list of tasks. But there was one big question: was accessing an NFS-mounted queue concurrently from many nodes possible to do safely? Armed with my favorite development tools—a brilliant IDE named Vim and the Ruby programming language—I aimed to find out. link

Cryptic signature   05 Dec 04
[print link all ]
Who says we can’t produce hard to understand code in Ruby? :-) Brian Mitchell posted this signature in a ruby-ML mailing, which Florian Gross shortened even further. Any clue .. what it does? :-)
 32.times{|y|print" "*(31-y),(0..y).map{|x|~y&x>0?" .":" A"},$/}

10x10: 100 Words and Pictures that Define the Time   04 Dec 04
[print link all ]
A big thx to Sven C. Koehler for the link.

Every hour, 10x10 scans the RSS feeds of several leading international news sources, and performs an elaborate process of weighted linguistic analysis on the text contained in their top news stories. After this process, conclusions are automatically drawn about the hour’s most important words. The top 100 words are chosen, along with 100 corresponding images, culled from the source news stories. At the end of each day, month, and year, 10x10 looks back through its archives to conclude the top 100 words for the given time period. In this way, a constantly evolving record of our world is formed, based on prominent world events, without any human input.

link

Mozex + Firefox = vim + mutt   03 Dec 04
[print link all ]
A big thanks to Mark for the link and comment.

I consider the mozex extention for Firefox a "must have." With mozex, I can edit textareas with vim and handle mailto links with mutt!

Mozex will also enable you to view html source in vim. link

You can edit your mozex prefs by typing about:config in Firefox.

Gmail invites .. what a clever marketing trick!   03 Dec 04
[print link all ]
Stefan posted this to ruby-talk.
 My personal take is that they just wanted to make sure that
 *everybody* is keen on getting an account. Make it exclusive,
 by invitation only. Seeding it amongst the geekest of geeks,
 first generation invites went quickly. But seemingly invited
 users got their own share of invites.

 Now it has become a practical test for the claim that every two people
 in the U.S. can build a chain of mutually known persons of maximum
 length 6. If that is true, how many invites per person would you need to
 reach saturation?

 Make people sign up and store their information on your company disks?
 Easy. Instead of crawling and begging them for their data, be a snob
 and make it a challenge for them. They will fall for it.

 On my box I have gobs of gigabytes for email storage, no ads
 and a very fast interface via procmail, formail, mutt and grep.
 I will not entrust a company with a service I can provide just
 as good.  I will be the last one without a Google email address.

Kiwi   02 Dec 04
[print link all ]
Kiwi’s sucess is good motivation to continue developing Small World (SW) much further. We are drowning in ideas, but are missing time and a well-paying client .-).

link

 

Powered by Rublog