triptico.com

Un naufragio personal

News

Artemus 5.0.0 released

This is a new Artemus milestone release. The Artemus language has been completely rewritten to be a LISP-like, compiled machine. No backward compatibility is provided (other than including the old 4.x module in the distribution). The new 5.x language is faster, more flexible, less cumbersome (for example, there's no need for escaping inner blocks that should execute only conditionally) and include support for translateable strings.

Ann Hell on the net (III)

All Ann Hell things on the net seems to be happening on Youtube these days.

More...

Ann Hell - Exile (video)

I've made a video clip for Exile.

Minimum Profit 5.1.3 released

A new version of the Minimum Profit text editor has been released, including the following features:

  • A new Qt4 driver (adapted from the KDE4 driver).
  • A new hexadecimal viewer.
  • New action 'open_dropped_files', to open files dropped from the underlying system GUI.
  • Improved file encoding autodetection by looking at the UTF BOM marks.
  • New configuration option keep_eol, to keep the original end of line sequence each document had.
  • Fixed some clipboard issues, as replacing the selected block when pasting and some crashes.
  • win32 executable has been renamed to mp-5.exe.
  • The status line format string can also include the %e token to show the encoding used by the document.
  • Fixed win32 input processing in non-latin environments.
  • Setting an empty encoding (to fall back to system defaults) always work.
More...

Gruta version 2.2.1 released

Version 2.2.1 of the Gruta CMS, codenamed "Montecatini", has been released. The following changes were made:

  • Templates are now stored inside source backends instead of having a special directory of plain files. So, it's no longer necessary to prepend the writable directory to the template path in Gruta::Template::Artemus creation.
  • The TT template toolkit has been officially deprecated.
  • New global CGI variable set_date, to force a date to be assumed as today, to be used to take a look at how would a page be shown in the given date. Only usable by a logged-in admin user.
  • A new script gruta_mksite, to help in the creation of a new site.
  • A new command, set_story_date, has been added to bin/gruta.
  • The full set of mod_rewrite keywords to be used if static_urls is set has been expanded.

 RewriteRule ^/([0-9]+)\.html$		/?t=INDEX&offset=$1		[PT,L]
 RewriteRule ^/([0-9]+)-([0-9]+)\.html$	/?t=SEARCH_BY_DATE&from=$1&to=$2 [PT,L]
 RewriteRule ^/tag/(.+)\.html$		/?t=SEARCH_BY_TAG&tag=$1	[PT,L]
 RewriteRule ^/tag/$			/?t=TAGS			[PT,L]
 RewriteRule ^/top/$			/?t=TOP_TEN			[PT,L]
 RewriteRule ^/(.+)/$			/?t=TOPIC&topic=$1		[PT,L]
 RewriteRule ^/(.+)/index\.html$		/?t=TOPIC&topic=$1		[PT,L]
 RewriteRule ^/(.+)/([0-9]+)\.html$	/?t=TOPIC&topic=$1&offset=$2	[PT,L]
 RewriteRule ^/(.+)/(.+)\.html$		/?t=STORY&topic=$1&id=$2	[PT,L]
 RewriteRule ^/rss\.xml$			/?t=RSS				[PT,L]
 RewriteRule ^/sitemap\.xml$		/?t=SITEMAP			[PT,L]
 RewriteRule ^/style\.css$		/?t=CSS				[PT,L]
More...

New Minimum Profit 5.1.3 preliminary release for testers

I'm in the process of releasing version 5.1.3, that will include significant changes to the way character encodings are autodetected. I would like to know if there are any regressions for locales and encodings I could overlooked.

The downloadable tarball is the following:

http://triptico.com/download/mp-5.1.3-dev.tar.gz

I plan to release a Windows binary version really soon, probably this evening. This is specially important as Windows has its own set of potential problems regarding character encodings.

I've also written a document describing the new behaviour regarding encodings (the document is also included in the tarball):

Minimum Profit character encoding support

If you find any issue, please mail me to angel@triptico.com or subscribe to the Minimum Profit mailing list by writing to mp-subscribe@lists.triptico.com and say it there.

Update: Here it's the MS Windows binary:

http://triptico.com/download/mp-5.1.3-dev.exe

More...

«Terra Incognita», a la venta en Amazon.com

Mi libro Terra Incognita ya se vende en Amazon.com.

Actualización: Este libro ya no se vende en papel, sólo como eBook.

Minimum Profit 5.1.2 released

A new version of the Minimum Profit text editor has been released. It includes the following features:

  • The grep action can now be recursive.
  • New syntax color for special documentation blocks.
  • Fix searching into empty selected blocks (this was bug #1269).
  • New action section_list, that shows a list of sections in the current document to jump to. Sections are usually function definitions and special marks in programming languages.
  • New action seek_misspelled, to search the next misspelled word. It has been assigned to keycode f5.
  • New action ignore_last_misspell, to add the last misspelled word found by seek_misspelled to a whitelist so it won't be found again.
  • New action seek_repeated_word, to search for words starting or ending with the same number of letters up to a maximum distance. It's controlled by the new configuration directives mp.config.rw_num_chars and mp.config.rw_max_dist. It has been assigned to keycode f6 (this keycode was previously assigned to join_paragraph, which has no keybinding now).
  • The action open_templates_file has been fixed.
  • Several GTK interface updates by fellow developer Sebastian Vöcking.
  • New command line option -d, to change the working directory.
  • Several fixes to the win32 driver; word wrapping, combobox drop-down sizes, underlined text.
  • Avoid hanging if the external ispell program is broken.
  • The dump() function now dumps its argument as MPSL code.
More...

Semana de monstruos

Igual que hice en enero y febrero con Las Tijeras del Viajero, hoy queda inaugurada la semana monstruosa: desde hoy hasta el sábado publicaré diariamente un minirelato del libro Las Tijeras del Viajero. Monstruos.

Basta con suscribirse al siguiente RSS:

http://triptico.com/?t=RSS;tag=las%20tijeras%20del%20viajero.%20monstruos

More...

Gruta version 2.2.0 released

Version 2.2.0 of the Gruta CMS, codenamed "Osmannoro", has been released. This release needs Artemus version 4.1.2. The following changes were made:

  • Story rendering is cached, resulting in faster page loading.
  • An existing story can be copied to another topic from the story edition form.
  • The template stories_by_date has changed the order of their output values; now they are topic_id, id and date.
  • The RSS template now accepts an optional CGI argument tag, to get feeds on stories by tag.
  • Multiple sources are no longer supported; it never really worked well, made the code cumbersome and had no real advantage after all. The cgi caller needs not to be changed, as the sources argument is still supported (only the first one is used, though), but the scalar source is preferred now.
  • The file format in the FS source has changed; the .META extension has been changed to .M, and .TAGS to .T. Also, new files appear in the stories directory with the .A and .B extensions, holding the rendered abstract and story body, respectively. The transition is made automatically on the first run, no manual operation is needed.
  • New argument hard_top_ten_limit to Gruta::Source::FS, to set the maximum number of stories to be tested when generating the top read stories index (previously hardcoded to 100).
  • New argument min_size_for_gzip to Gruta::CGI, to set the minimum size for the output body to be Gzip compressed (previously hardcoded to 10000).
  • If a story pointed by a story:// pseudo-url has a publication date in the future, only the title is shown (i.e., it's not clickable).
  • The Mbox source is officially deprecated.
  • Static URLs are also generated for the CSS, RSS and SITEMAP pages. The following mod_rewrite rule must be added to the ones suggested in the previous version:

 RewriteRule ^/style\.css$     /?t=CSS              [PT]
More...

Artemus 4.1.2 released

Version 4.1.2 of the Artemus template toolkit has been released. The following changes were made:

  • New template function sort.
  • New template function reverse.
  • Templates can be loaded from external sources by using the new loader_func argument to new().
  • The Perl module Artemus is now an alias for the Artemus4 module, as a way to smooth the future transition to version 5. No changes need to be done.
More...

Nueva edición impresa de «Terra Incognita»

La segunda edición en papel de mi libro Terra Incognita está lista para comprarla en la tienda Lulu.com).

El texto incluye algunas correcciones de fallos tipográficos y estilo. Pero lo más interesante es la nueva presentación y diseño hecho por Marisa Ortega, gran profesional que además es mi hermana.

Una vez más, se demuestra que el aspecto es fundamental y lo que antes parecía un panfleto sin el menor interés ahora parece un libro de verdad.

Actualización: No más Lulu.com.

Grutatxt 2.0.15 released

Version 2.0.15 of the Grutatxt text conversion package has been released. The following changes were made:

  • New parameter url-label-max to the HTML driver to set a maximum size for URLs.
  • New script pod2grutatxt, to convert Perl documentation in POD format to Grutatxt.
  • The pre mode is really verbatim, so bold / italic markup is not processed.
More...

Las Tijeras del Viajero, una al día

Desde hoy hasta mediados de febrero de 2009, y sin ninguna razón en especial, he decidido publicar cada día uno de los relatos o poemas de mi libro Las Tijeras del Viajero.

La forma más cómoda de leerlos es mediante un lector RSS. Están por todas partes: Mozilla Firefox, Google Reader ó KDE Akregator. Tan sólo hay que usar el siguiente URL:

http://triptico.com/?t=RSS;tag=las%20tijeras%20del%20viajero

Minimum Profit package in Debian has been orphaned

It seems that Minimum Profit has been orphaned in Debian due to its maintainer (Roberto Suarez Soto) being missing in action:

http://bugs.debian.org/508228

MP's package (called mped there) was certainly very abandoned and outdated.

So, if you are a Debian developer and have any interest in having the best text editor in the universe working in the best Linux distribution of the world, please adopt it.

Gruta version 2.1.0 released

Version 2.1.0 of the Gruta CMS, codenamed "Calenzano", has been released. Bad story 'docs/gruta_release_notes'.

Reuploaded Space Plumber Win32 install binary

The Space Plumber win32 install package was somehow corrupted and has been rebuilt again.

Minimum Profit 5.1.1 released

A new version of Minimum Profit has been released. It fixes some important bugs and adds some minor features:

  • Internationalization works in all platforms (including KDE4, were it was faulty, and win32, where it was non-existent since the 3.x series).
  • The status line format string can also include the %w token to show the number of words in the current document or selection (can be slow).
  • Search and replace is now limited to the selected block, if any.
More...

mp_doccer 1.2.2 released

Version 1.2.2 of mp_doccer has been released. Changes are:

  • New Grutatxt output format.
  • New command line option, --abstract, to set the abstract for the generated document.
More...

Artemus 4.1.1 released

A new version of the Artemus template toolkit has been released, featuring the following:

  • New template function case.
  • New template function env, to get values from the environment.
  • New template function size, to return the number of elements in a colon-separated list.
  • New template function seq, to generate a sequence between two numbers as a colon-separated list.
  • Improved debugging information.
More...