|
Advertisement
|
Forum posts by Michael Neumann:Posted in All Buzz Forum, Jan 18, 2005, 12:12 AM
I wrote this little shell-script to easen the task of installing Ruby locally into $HOME/usr. It downloads the stable snapshot via FTP, unpacks, compiles and installs Ruby, then installs a recent version of RubyGems. Run it like this: wget -O - http://ruby-installer.ntecs.de | sh Or using fetch instead of wget: fetch -o -...
Posted in Ruby Buzz Forum, Jan 18, 2005, 12:12 AM
I wrote this little shell-script to easen the task of installing Ruby locally into $HOME/usr. It downloads the stable snapshot via FTP, unpacks, compiles and installs Ruby, then installs a recent version of RubyGems. Run it like this: wget -O - http://ruby-installer.ntecs.de | sh Or using fetch instead of wget: fetch -o -...
Posted in All Buzz Forum, Jan 12, 2005, 5:19 PM
Yesterday, I spent the time to create a web-based presentation maker (yes, in less than one day!). It’s a web application written in Wee and Ruby, with which you can edit slides (change, add, remove, reorder) and view a presentation inside a browser. Let’s look at a screenshot first (click on it to see it in full size): The...
Posted in Ruby Buzz Forum, Jan 12, 2005, 5:19 PM
Yesterday, I spent the time to create a web-based presentation maker (yes, in less than one day!). It’s a web application written in Wee and Ruby, with which you can edit slides (change, add, remove, reorder) and view a presentation inside a browser. Let’s look at a screenshot first (click on it to see it in full size): The...
Posted in All Buzz Forum, Dec 16, 2004, 2:38 PM
I recently came across this thread on Slashdot, as it was mentioned on ruby-talk mailinglist. Someone has written a 15 lines P2P program in Python. I tried to port it to Ruby, but either it was too late this night (3am), or the Python’s list comprehensions confused me, so I got stucked with this little piece of code: require 'openssl'...
Posted in Ruby Buzz Forum, Dec 16, 2004, 2:38 PM
I recently came across this thread on Slashdot, as it was mentioned on ruby-talk mailinglist. Someone has written a 15 lines P2P program in Python. I tried to port it to Ruby, but either it was too late this night (3am), or the Python’s list comprehensions confused me, so I got stucked with this little piece of code: require 'openssl'...
Posted in All Buzz Forum, Nov 29, 2004, 5:14 PM
Preliminary documention of Wee is online. There's not much as of now, only the documentation of Wee::Components nearly complete. www.ntecs.de/viewcvs/viewcvs/*checkout*/Wee/trunk/doc/rdoc/index.html
Posted in Ruby Buzz Forum, Nov 29, 2004, 5:14 PM
Preliminary documention of Wee is online. There's not much as of now, only the documentation of Wee::Components nearly complete. www.ntecs.de/viewcvs/viewcvs/*checkout*/Wee/trunk/doc/rdoc/index.html
Posted in All Buzz Forum, Nov 24, 2004, 7:48 AM
I'm playing around with DragonFly's checkpointing support. Many thanks to Matt Dillon, who now made a syscall: leaf.dragonflybsd.org/mailarchive/users/2004-11/msg00191.html I wrote a Ruby wrapper around the sys_checkpoint syscall. You can find the sources here: www.ntecs.de/viewcvs/viewcvs/DragonFly/checkpoint/ The next step is to put this into...
Posted in Ruby Buzz Forum, Nov 24, 2004, 7:48 AM
I'm playing around with DragonFly's checkpointing support. Many thanks to Matt Dillon, who now made a syscall: leaf.dragonflybsd.org/mailarchive/users/2004-11/msg00191.html I wrote a Ruby wrapper around the sys_checkpoint syscall. You can find the sources here: www.ntecs.de/viewcvs/viewcvs/DragonFly/checkpoint/ The next step is to put this into...
Posted in All Buzz Forum, Nov 18, 2004, 4:48 PM
I'm proud to announce the first public "release" of postgres-pr. It is a library to access PostgreSQL from Ruby without the need of any C library. You can use it only with newer 7.x databases that use wire-protocol 3. Lot's of stuff is missing, only the wire-protocol is quite complete. Quick Example: > gem install postgres-pr > irb -r...
Posted in Ruby Buzz Forum, Nov 18, 2004, 4:48 PM
I'm proud to announce the first public "release" of postgres-pr. It is a library to access PostgreSQL from Ruby without the need of any C library. You can use it only with newer 7.x databases that use wire-protocol 3. Lot's of stuff is missing, only the wire-protocol is quite complete. Quick Example: > gem install postgres-pr > irb -r...
Posted in All Buzz Forum, Nov 16, 2004, 6:53 PM
There's a problem with objects registered for backtracking whose snapshots have a reference back to the registered object itself. Let's look at some scenarios. I'll call the object to register "obj" and it's snapshot "snap". I further assume that "snap" references "obj". Scenario 1 (Good) We register "obj" for backtracking. "obj" goes out of...
Posted in Ruby Buzz Forum, Nov 16, 2004, 6:53 PM
There's a problem with objects registered for backtracking whose snapshots have a reference back to the registered object itself. Let's look at some scenarios. I'll call the object to register "obj" and it's snapshot "snap". I further assume that "snap" references "obj". Scenario 1 (Good) We register "obj" for backtracking. "obj" goes out of...
Posted in All Buzz Forum, Oct 31, 2004, 10:18 PM
Ruby can't store continuations or blocks on disk! That was one reason why I was initially against using continuations (and blocks) in Wee. But now I have found some solutions to the problem. Blocks In the rendering-phase, you usually define some actions and input elements. This is currently done this way: def inc; @cnt += 1 end def dec; @cnt -=...
|