Approximity blog home
177 to 196 of 600 articles InfoSyndicate: full/short

Adfinem RiskJobs   25 Nov 05
[print link all ]
We release Version 1 of the rails/Ajax app: RiskJobs. It’s written completely in rails. The user profiles get updated using Ajax.

RiskJobs is a German Headhunting website for the Risk Management domain. Applicants can fill out their profiles (tree structures) and companies can search: e.g. we need an operational risk expert with 3 years of experience that also knows X, Y and Z.

This adds one more app, the ever growing RealWorldUsage wiki page.

I live in the wrong country :-)   25 Nov 05
[print link all ]

Well, actually skiing is good, too .. but I need sun!

Excel   24 Nov 05
[print link all ]
A good site with tons of Excel related stuff.

Paul Graham on Web V2.0   24 Nov 05
[print link all ]
article

On Word   24 Nov 05
[print link all ]
.. from comp.lang.forth
 > Word is worse than a hog. It's a blabbermouth. I was once sent a business
 > proposal in Word format. I don't have Word, and Microsoft's free reader
 > was two versions old and never updated. To read the letter, I used a hex
 > editor, finding many interesting tidbits, including the printer on his
 > system, scraps of other documents to other people that indicated shady if
 > not criminal dealings, and the directory -- "Used Cars" -- that the letter
 > to me was composed in. I declined his offer to cooperate.
 >
 > Much of Word's bloat is "empty", but that means whatever was in RAM at
 > Store time.
 >
 > Jerry

Rails vs Seaside   23 Nov 05
[print link all ]
Marcus Denker posted this to squeak-ev:

Ive been playing with Avi Bryants continuation-based web framework Seaside, which is written in Smalltalk. Wow. Thats all I can say. After some recent work with Rails, I had come to admire the cleanliness of the frameworkeven if, on occasion, I had some complaints about short-cuts taken that need not be necessary. Compared to Seaside, Rails seems to me to be a jalopy. Dont get me wrong, its a seriously pimped out jalopy, but the easy with which one can build interactivity and modify it on the fly with Seaside is mind-blowing.

NB: Dont take this as a slam of Rails, as its not. Rails is brilliantfor what it is. It takes the historical model of page interaction and data storage to new heights of simplicity. It doesnt, however, change how you view the web. Seaside does. Whether you use it for your next project, or not, its worth looking at, going through the tutorials, and allowing your mind to conceive of a web that simply behaves more naturally.

blog.amber.org/2005/11/23/she-sells-seashells-by-the-seaside/

With Seaside Avi wrote sth. interesting: dabbledb.com/about/.

Evaluation: moving from Java to Ruby on Rails for the CenterNet rewrite   23 Nov 05
[print link all ]
Rick Bradley shares the document why they moved from Java to Rails. CenterNet is a big healthcare application.

The Swarm   23 Nov 05
[print link all ]

I fid finally read this bestseller. As a big fan of genetic algorithms and swarm particle intelligence I simply loved the idea of the smart Yrrs. A fascinating book about intelligent aliens living on the ground of the sea who have enough of us human beings polluting the world. Highly recommended 900 pages of fun

The beauty of breakpoints   22 Nov 05
[print link all ]
Normally I hate to debug apps — we are big fans of test first, but oh well, sometimes it can be very helpful. The danger starts when one wastes too much time debugging.

Even when using a IDE it can be very handy to get into a irb session at any moment.

You need to install ruby-breakpoints

 require 'breakpoint'
 ..
 if m==0
    puts "m is 0"
    pp xs
    puts ys.to_yaml
    breakpoint
 end
 ..

Useful:

  • use CTRL-D (Unix) or CTRL-Z (Windows) or exit to leave the breakpoint and continue running the program
  • use exit! to terminate the program from within a breakpoint
  • other interesting things to check out include: local_variables, instance_variables, caller, methods
  • just type the name of your variable to check its value
  • Note that you can enter any type of regular Ruby code into a breakpoint IRB shell. You can even hot patch your deployed code to fix a problem at run-time!

If you are developing a rails app, check out the wiki entry.

I take my break now. Off for yammie food.

Ron Jeffries article: Complex Scope   22 Nov 05
[print link all ]
In which we discover that our implementation is "totally wrong" and we have to rewrite everything. Or do we?

www.xprogramming.com/xpmag/xstComplexScope.htm

[ANN] ruby/audio 0.1.0   22 Nov 05
[print link all ]
  require 'audio/sndfile'

  Audio::Soundfile.open('chunky_bacon.wav') do |sf|
    sound = sf.readf_float(sf.frames)

    puts "Maximum amplitude: #{sound.abs.max}"

    sound.each_frame do |frame|
    # something cool
    end
  end
ruby/audio provides a convenience wrapper around NArray that will make all your friends jealous; but what will really make their heads explode is that you have ruby-way access to libsndfile [2]. Use with caution.
  1. hans.fugal.net/src/ruby-audio/
  2. www.mega-nerd.com/libsndfile/

Images of the $100 Laptop   18 Nov 05
[print link all ]
The $100 laptop snot yet in productio nwill not be available for sale. The laptops will only be distributed to schools directly through large government initiatives.

The MIT Media Lab has launched a new research initiative to develop a $100 laptopa technology that could revolutionize how we educate the world’s children. To achieve this goal, a new, non-profit association, One Laptop per Child (OLPC), has been created. The initiative was first announced by Nicholas Negroponte, Lab chairman and co-founder, at the World Economic Forum at Davos, Switzerland in January 2005.

This rugged laptop will be WiFi-enabled and have USB ports galore. Its current specifications are: 500MHz, 1GB, 1 Megapixel.

laptop.media.mit.edu/laptop-images.html

gem_server .. finding all your Ruby docs   18 Nov 05
[print link all ]
If you are using gems and want to access all the docu that gets installed with your gems, start gemserver and go to 127.0.0.1:8808 :-).

I was looking for the rails offline documentation. In the end I did run rake over the latest rails code, but hey, I could have saved a bit of time. Maybe one day I should start to RTFM.

Free eBook: God's Debris by Scott Adams   18 Nov 05
[print link all ]

Download.

Synopsis: Imagine that you meet a very old man who—you eventually realize—knows literally everything. Imagine that he explains for you the great mysteries of life—quantum physics, evolution, God, gravity, light, psychic phenomenon, and probability—in a way so simple, so novel, and so compelling that it all fits together and makes perfect sense. What does it feel like to suddenly understand everything? God’s Debris isn’t the final answer to the Big Questions. But it might be the most compelling vision of reality you will ever read. The thought experiment is this: Try to figure out what’s wrong with the old man’s explanation of reality. Share the book with your smart friends then discuss it later while enjoying a beverage.

Scott Adams made it free to boost his hard to market book. I have not yet read it, but heard good reports.

LinCity   18 Nov 05
[print link all ]
LinCity is a cool free Linux game. LinCity-NG is a City Simulation Game. It is a polished and improved version of the classic LinCity (www.floot.demon.co.uk/lincity.html) game. Within the scope of the GoTM project (happypenguin.org/forums/viewtopic.php?t=1243) at happypenguin (happypenguin.org) we have created a new iso-3D graphics engine, with a completely redone and modern GUI.

Enjoy and help the project! Oh boy, I do feel young again :-).

Unison file synchronisation for modern computer nomands   18 Nov 05
[print link all ]
Do you know this scenario? Got some files on your laptop, some on your desktop machine at home, some in the office, some on server X? If that is the case, it’s high time you become an addicted Unison user. Unison is pure firelsynchronisation for Unix and for windows.

It allows two replicas of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other.

Unison shares a number of features with tools such as configuration management packages (CVS, PRCS, Subversion, BitKeeper, etc.), distributed filesystems (Coda, etc.), uni-directional mirroring utilities (rsync, etc.), and other synchronizers (Intellisync, Reconcile, etc). However, there are several points where it differs:

  • Unison runs on both Windows and many flavors of Unix (Solaris, Linux, OS X, etc.) systems. Moreover, Unison works across platforms, allowing you to synchronize a Windows laptop with a Unix server, for example.
  • Unlike simple mirroring or backup utilities, Unison can deal with updates to both replicas of a distributed directory structure. Updates that do not conflict are propagated automatically. Conflicting updates are detected and displayed.
  • Unlike a distributed filesystem, Unison is a user-level program: there is no need to modify the kernel or to have superuser privileges on either host.
  • Unison works between any pair of machines connected to the internet, communicating over either a direct socket link or tunneling over an encrypted ssh connection. It is careful with network bandwidth, and runs well over slow links such as PPP connections. Transfers of small updates to large files are optimized using a compression protocol similar to rsync.
  • Unison is resilient to failure. It is careful to leave the replicas and its own private structures in a sensible state at all times, even in case of abnormal termination or communication failures.
  • Unison has a clear and precise specification.
  • Unison is free; full source code is available under the GNU Public License.

Rails: Clean your temporary files   17 Nov 05
[print link all ]
To get rid of all old sessions I addeded this to my hourly crontab job.
 /usr/bin/find /tmp/ -name "ruby_sess*" -cmin +600 -exec rm \{} \;

RailsExpress.blog   17 Nov 05
[print link all ]
How to make your rails app run reeeeeally fast!

Stefan Kaes setup a blog about his activities related to his efforts in improving the speed of Rails apps.

How to fund a startup   17 Nov 05
[print link all ]
Paul Graham of ViaWeb and Y Combinator fame has written a nice summary on how to fund a startup. Recommended

Agile Dilbert   16 Nov 05
[print link all ]
Even Dilbert has to face agile methods. Great story.

 

Powered by Rublog