I’ve released version 58b87fe9 of git-wtf, available here:
http://git-wt-commit.rubyforge.org/git-wtf
This version contains a fairly major change: branches on origin are treated as
equal to local branches, and branches that are remote-only are denoted with {
}. So now there are three possible symbols: ( ) for local-only, { } for
remote-only, and [ ] for branches that appear on both origin and your local
repo.
The motivation was dealing with the fact that Sup has very many feature
branches going at once, but I work on it on several different computers and
typically only have a subset of them checked out. I didn’t want anyone to be
left out….
I also fixed a few minor things like removing the restriction that version
branches be local branches.
It’s been almost four years since the previous release, so I’m happy to
announce that Ritex 0.2 has been released today.
This version features many bugfixes an improvements, most notably:
- Array options are now supported. (Necessary to get
the
eqnarray-style equation alignment in this
post.)
- Unary minus heuristics are much improved.
Here’s a quick demo of the unary minus:
-x |
|
x-x |
|
x--x |
|
\alpha-x |
|
\alpha\,-x |
|
Sadly, just as with LaTeX itself, there are still times where you have
to hint to get the right behavior:
Over the years since the last release it looks like there are two new options
for generating MathML in Ruby.
Itex2MML has developed
Ruby bindings, and there’s some other project just called
MathML. The big win for Ritex over these
packages, of course, is macro support:
\define{\onion}{\hat{\theta}} |
- |
\define{\potato}[1]{E_\theta[#1]} |
- |
\potato{\onion} |
|
A quick gem install ritex should get it for you, and you can see
some more example input/output pairs here.
Sup 0.7 has been released.
You can read the announcement here
The big win in this release is that Ferret index corruption issues
should now be fixed, thanks to an extensive programming of locking and
thread-safety-adding.
The other nice change is that text entry will now scroll to the right
upon overflow, thanks to some arcane Curses magic.
I’ve released Trollop 1.13. This is a minor bugfix release. Arguments
given with =’s and with spaces in the values are now parsed correctly.
(E.g. --name="your mom".)
Get it with a quick gem install trollop.
I’ve released Whisper 0.3. This is mostly a bugfix release, with generally
better email support, including support for MIME multipart email.
How to do it:
sudo gem install whisper --source http://masanjin.net/
whisper-init <blog directory>
- Follow the instructions!
I’ve released a version dd706855 of git-wtf, available here:
http://git-wt-commit.rubyforge.org/git-wtf
I’ve tweaked the output format so that branches that don’t exist
on the remote server are displayed with ()‘s and those that do
with []’s, and ~ is the new symbol for a merge that only occurs
on the local side.
I think this produces a better display; lots more information
per line of ourput.
I’ve also added a couple random options which you can discover by
reading the source. :)
The big next step I’d like to take with this thing is to support
multiple remote repos better. Currently it’s kinda specific to your
origin repo.
I’ve released Whisper 0.2. Beyond some minor
bugfixes, the big enhancement in this one is that the “post as micro mailing
list” idea now works. The comments on every post form a mailing list, with
everyone who commented auto-receiving everyone else’s comments, and all replies
being archived on the mailing list.
Of course you can set your reply settings on a per-comment basis to disable
this, or to restrict it to only send immediate replies to your comment. The
only thing you can’t do so far is change your settings (e.g. from all to none)
once you’ve made them. That will be coming later.
Still to go: trackbacks, I guess, and maaaaybe add textarea comments.
Get it: sudo gem install whisper --source http://masanjin.net/
I’ve released Whisper 0.1. Now you can blog like
me. It will happily serve static files, though if you’re expecting heavy
traffic, you might put it behind something like Nginx. (See instructions in the
configuration file for more.)
How to do it:
sudo gem install whisper --source http://masanjin.net/
whisper-init <blog directory>
- Follow the instructions!
Trollop 1.11 has been released. This is a minor release with only one new feature: when an option <opt> is actually given on the commandline, a new key <opt>_given is inserted into the return hash (in addition to <opt> being set to the actual argument(s) specified).
This allows you to detect which options were actually specified on the commandline. This is necessary for situations where you want one option to override or somehow influence other options. For example, configure’s --exec-prefix and --bindir flags: if --exec-prefix is specified, you want to override the default value for --bindir, unless that’s also given. If neither are given, you want to use the default values.
This should be a backwards-compatible release, except for namespace issues, if you actually had options called <something>-given.
I released a new version of Trollop with a
couple minor but cool updates.
The best part is the new :io argument type, which uses open-uri to handle
filenames and URIs on the commandline. So you can do something like this:
require 'trollop'
opts = Trollop::options do
opt :source, "Source file (or URI) to print",
:type => :io,
:required => true
end
opts[:source].each { |l| puts "> #{l.chomp}" }
Also, when trying to detect the terminal size, Trollop now tries to `stty
size` before loading curses. This gives better results when running under
screen (for some reason curses clears the terminal when initializing under
screen).
I’ve also cleaned up the documentation quite a bit, expanding the examples on
the main page, fixing up the RDoc comments, and
generating the RDoc documentation with
a modern RDoc, so that things like constants actually get documented.
If you’re still using OptParse, you should really give Trollop a try. I
guarantee you’ll write much fewer lines of argument parsing code, and you’ll
get all sorts of nifty features like help page terminal size detection.