Diakonos – version 0.8.7

February 22, 2009 at 22:35

Filed under: Computing — Pistos @ 22:35

Version 0.8.7 of Diakonos is now available. Install by gem install diakonos. This version brings several new features and more bug fixes.

strip_trailing_whitespace_on_save

A strip_trailing_whitespace_on_save setting was added, defaulting to true. I’ve joined the camp of those who believe that trailing whitespace doesn’t belong in source control repositories (due to diff false positives).

Sessions

I’ve added sessions to Diakonos, and use them all the time now. Name your session by starting diakonos with a -s option:

diakonos -s my-website

The default configuration will show the session name in the bottom right. If you close Diakonos and reopen it with the same session name, it will reopen all the same files as were open when you closed it.

If you open Diakonos without a session name, it will still maintain an anonymous session until you quit. If Diakonos or your computer should crash during your session, you can start up Diakonos and it will prompt you to restore any sessions that were not closed gracefully.

Grep as you type

The previous release of Diakonos saw the inclusion of “find as you type”. This version provides grep as you type. Behold the coolness via this mini screencast:

delete_to

Being forced to use vi on occasion at work, I’ve become acquainted with at least one neat thing: You can press “dt” in vi to “delete till”. So I brought this functionality over to Diakonos. Type Ctrl-D-T, " to change this:

 some_method( "here is a string", 3 )

to this:

 some_method( "here is a ", 3 )

Type Ctrl-D-I, " to change this:

 some_method( "here is a string", 3 )

to this:

 some_method( "", 3 )

custom.conf

The default diakonos.conf configuration file now has an include custom.conf directive. This lets you keep your custom Diakonos configurations in ~/.diakonos/custom.conf while allowing you to regularly upgrade diakonos.conf with each new Diakonos version.

Ruby 1.9 compatibility

Version 0.8.7 marks the first version of Diakonos that can run under Ruby 1.9. Diakonos 0.8.7 will also run under Ruby 1.8.6. Please be advised that I am tentatively planning on dropping Ruby 1.8.x support beginning with the next Diakonos version.

Changelog

Here is this version’s full changelog:

  • MRU buffer history added.
  • strip_trailing_whitespace_on_save setting added.
  • Sessions (named and unnamed) added.
  • grep as you type added.
  • delete_to added.
  • delete_to_and_from added.
  • find.return_on_abort setting added.
  • Makefile config added.
  • Markdown config added.
  • Sass config added.
  • Now including custom.conf from default diakonos.conf.
  • Help files updated.
  • Some Ruby 1.9 compatibility introduced.
  • Lots of code refactoring done.
  • Numerous little adjustments and fixes made.

Report any bugs here, or come visit me in IRC! Enjoy this release.

Share

Ramaze 2009.02 released

February 14, 2009 at 0:22

Filed under: Computing — Pistos @ 00:22

Ramaze 2009.02 has just been released. There are just a few changes since 2009.01:

  • Redirection within https fixed.
  • flash.delete now fully deletes from flash.
  • Subclass controllers now properly inherit the template engine of the parent controller class.
  • Ruby 1.9 compatibility improved.

manveru has always been conscientious about Ruby 1.9 compatibility in Ramaze (indeed, in all his projects), so Ramaze had already been considered 1.9-compatible for some time. With the recent release of Ruby 1.9.1, though, a fresh problem crawled out of the woodwork. This release addresses the issue; see the mailing list thread for details.

As some of you can probably appreciate, 1.9 compatibility is a non-trivial assignment. If you encounter any sort of problems using Ruby 1.9.1+, please don’t hesitate to let us know.

Contributions to this release came from the following people (listed alphabetically):

  • Andreas Karlsson (jeltz)
  • Michael Fellinger (manveru)
  • (Pistos)
  • Riku Raisaenen (rikur)
  • Sean Lai

Install or update Ramaze with

gem install ramaze

As usual, we’d love to hear from long-time users and newbies alike. :) Stop by and say hello in our IRC channel (#ramaze on Freenode), or ask questions on our mailing list.

And don’t forget that the next generation of Ramaze, with an “Innate” core, is on the horizon, with several features and improvements. In the mean time, enjoy this release!

Share

Selfmarks – anti-social bookmarking

February 6, 2009 at 16:01

Filed under: Computing — Pistos @ 16:01

I’d like to introduce a project I’ve been working on for the past week.

From the Selfmarks site:

Selfmarks is anti-social bookmarking for the technically endowed. Trouble-free bookmarking for geeks. Bookmarking without the centralization handcuffs; you take all the credit (and blame).

I used Diigo to manage all my bookmarks for the past couple years, and for the most part the service has been decent. I would still recommend them as a good site for social bookmarking. But now and again, I would find their servers responding very slowly, and I just got fed up with that, because I never really used the “social” part of social bookmarking. All I really wanted was a place on the Internet I could put my bookmarks.

So, after one more episode of dissatisfactory service, I finally cracked and started writing up my own bookmarking site.

Selfmarks is written in Ruby, using the Ramaze web framework. I access a PostgreSQL database using M4DBI for ORM. Thanks go to Alexut for the Selfmarks logo.

Selfmarks is OpenID-enabled, so go ahead and use your OpenID to instantly create an account and play with the site. You can import your bookmarks in delicious format.

The project is open source; grab it from github, or

git clone git://github.com/Pistos/selfmarks.git

Installing Selfmarks for oneself should only be a mild challenge for a seasoned programmer. There has already been one other successful installation by an experienced Rails and Ruby dev.

Let me know what you think! Leave a comment on this blog post, or chat with me on FreeNode.

Share
Powered by WordPress.