From gilesb at gmail.com Wed Jan 2 02:27:03 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Tue, 1 Jan 2008 23:27:03 -0800
Subject: [holy ruby programmers batman!] svn access / next release
Message-ID: <2d81dedb0801012327wd1b3b13n49c2ef66f3d6fad6@mail.gmail.com>
I'm going to see if I can open up svn access so people can just commit
changes instead of sending me patches. That's one thing that's been
really slowing things down.
I'm going to edit your changes to make them conform to my expectations
of how an API should look -- like I changed Markus' code to use an
equipped? method instead of a constant -- but if you're cool with
that, you can go ahead and commit just about anything, I think. It's a
small group on here and I'm sure RubyForge probably allows me to give
you commit rights while reserving release rights for myself. That'd be
a lot tidier than the way things are happening here now.
In terms of the next release, all I really need is the equipper, and
that's 90% done, there were just some minor changes I had to
implement. There's also a half-finished pastie bin and a google which
is supposed to work from within IRB as well as from the command line.
Long story short I think we can do a release next week. The equipper
is actually a huge boost in usefulness because it makes using parts of
UB in non-IRB code easy, and it makes isolating bugs much, much easier
than before.
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From markus.prinz at qsig.org Wed Jan 2 06:48:44 2008
From: markus.prinz at qsig.org (Markus Prinz)
Date: Wed, 2 Jan 2008 12:48:44 +0100
Subject: [holy ruby programmers batman!] svn access / next release
In-Reply-To: <2d81dedb0801012327wd1b3b13n49c2ef66f3d6fad6@mail.gmail.com>
References: <2d81dedb0801012327wd1b3b13n49c2ef66f3d6fad6@mail.gmail.com>
Message-ID:
On 02.01.2008, at 08:27, Giles Bowkett wrote:
> I'm going to edit your changes to make them conform to my expectations
> of how an API should look -- like I changed Markus' code to use an
> equipped? method instead of a constant -- but if you're cool with
> that, you can go ahead and commit just about anything, I think.
Plus, we can still post diffs here, and discuss the changes.
Another possibility would be to switch the repo to the standard trunk/
tags/branches-Layout, and then use branches for developing. Once a
feature is complete, we can merge it with trunk. The downside of this
is that branching[0] with svn is rather painful, especially when
you've worked with a DVCS already.
Oh, and is there an irc channel for utility belt? If not, maybe we
could create one on Freenode?
regards, Markus
[0] The branching itself isn't actually a problem, but the merging of
a branch is.
From timocratic at gmail.com Wed Jan 2 11:56:35 2008
From: timocratic at gmail.com (Tim Connor)
Date: Wed, 2 Jan 2008 08:56:35 -0800
Subject: [holy ruby programmers batman!] svn access / next release
In-Reply-To:
References: <2d81dedb0801012327wd1b3b13n49c2ef66f3d6fad6@mail.gmail.com>
Message-ID: <5906dd440801020856y7d2c6b3ay4d1e5bcd7ac2398e@mail.gmail.com>
>
> [0] The branching itself isn't actually a problem, but the merging of
> a branch is.
Use git or svk and it's not.
From markus.prinz at qsig.org Wed Jan 2 14:29:23 2008
From: markus.prinz at qsig.org (Markus Prinz)
Date: Wed, 2 Jan 2008 20:29:23 +0100
Subject: [holy ruby programmers batman!] svn access / next release
In-Reply-To: <5906dd440801020856y7d2c6b3ay4d1e5bcd7ac2398e@mail.gmail.com>
References: <2d81dedb0801012327wd1b3b13n49c2ef66f3d6fad6@mail.gmail.com>
<5906dd440801020856y7d2c6b3ay4d1e5bcd7ac2398e@mail.gmail.com>
Message-ID:
On 02.01.2008, at 17:56, Tim Connor wrote:
>>
>> [0] The branching itself isn't actually a problem, but the merging
>> of
>> a branch is.
>
> Use git or svk and it's not.
True. And I already use git. But I do not know wether it's possible to
make a git branch show up in the svn-branches directory as well (so
that others can review the branch/changes).
Another possibility is of course to switch to Git (or another DVCS
with good Subversion support) completely, and only use git-svn when
there is something release-worthy to push to Rubyforge.
regards, Markus
From gilesb at gmail.com Wed Jan 2 14:34:45 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Wed, 2 Jan 2008 11:34:45 -0800
Subject: [holy ruby programmers batman!] svn access / next release
In-Reply-To:
References: <2d81dedb0801012327wd1b3b13n49c2ef66f3d6fad6@mail.gmail.com>
<5906dd440801020856y7d2c6b3ay4d1e5bcd7ac2398e@mail.gmail.com>
Message-ID: <2d81dedb0801021134p1b1a7cbpfe9c4b2f46c7b276@mail.gmail.com>
I've used git a bit with Rubinius but I'm essentially git-clueless.
RubyForge locks you into one SCM when you start your project, and it's
either svn or cvs, but if there's a way to hook in git without getting
stressed out, I'm down, I suppose.
1) Does a nice stress-free approach exist? (Letting somebody else do it counts.)
2) Why git over svn?
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From timocratic at gmail.com Wed Jan 2 14:41:04 2008
From: timocratic at gmail.com (Tim Connor)
Date: Wed, 2 Jan 2008 11:41:04 -0800
Subject: [holy ruby programmers batman!] svn access / next release
In-Reply-To:
References: <2d81dedb0801012327wd1b3b13n49c2ef66f3d6fad6@mail.gmail.com>
<5906dd440801020856y7d2c6b3ay4d1e5bcd7ac2398e@mail.gmail.com>
Message-ID: <5906dd440801021141k59b26376p3d9eabffa212b512@mail.gmail.com>
On Jan 2, 2008 11:29 AM, Markus Prinz wrote:
> True. And I already use git. But I do not know wether it's possible to
> make a git branch show up in the svn-branches directory as well (so
> that others can review the branch/changes).
I'm pretty sure you can track remote svn branches and push to them.
I'm still trying to figure out how to handle complex svn trees with
git's totally different approach. Dunno that Giles wants all that
complexity, either which way. And there is good old svn smerge.
Isn't there a way to tag gem releases or something in RF, though?
Just develop on trunk and then tag point releases?
From gilesb at gmail.com Wed Jan 2 14:56:38 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Wed, 2 Jan 2008 11:56:38 -0800
Subject: [holy ruby programmers batman!] svn access / next release
In-Reply-To: <5906dd440801021141k59b26376p3d9eabffa212b512@mail.gmail.com>
References: <2d81dedb0801012327wd1b3b13n49c2ef66f3d6fad6@mail.gmail.com>
<5906dd440801020856y7d2c6b3ay4d1e5bcd7ac2398e@mail.gmail.com>
<5906dd440801021141k59b26376p3d9eabffa212b512@mail.gmail.com>
Message-ID: <2d81dedb0801021156u240dae90vbd704af669b1806f@mail.gmail.com>
On 1/2/08, Tim Connor wrote:
> On Jan 2, 2008 11:29 AM, Markus Prinz wrote:
> > True. And I already use git. But I do not know wether it's possible to
> > make a git branch show up in the svn-branches directory as well (so
> > that others can review the branch/changes).
>
> I'm pretty sure you can track remote svn branches and push to them.
> I'm still trying to figure out how to handle complex svn trees with
> git's totally different approach. Dunno that Giles wants all that
> complexity, either which way. And there is good old svn smerge.
>
> Isn't there a way to tag gem releases or something in RF, though?
> Just develop on trunk and then tag point releases?
I have no idea. You guys lost me at branch. As long as I can check
out, check in, commit, log, and blame, I'm happy. In practical terms
the only difference to end users is gem install utility_belt and we're
talking about a pretty small project. If someone wants to build a
nifty hook I'm happy to use git, otherwise I can just give developer
access to people in svn. As long as I retain some control over what
actually gets released from a gem install perspective, I'm happy to
just set up open access. Just don't go too crazy with checkins, or, if
you want to set up an external system using git instead of svn, make
it easy for me to use and I'm fine with it.
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From timocratic at gmail.com Wed Jan 2 15:12:56 2008
From: timocratic at gmail.com (Tim Connor)
Date: Wed, 2 Jan 2008 12:12:56 -0800
Subject: [holy ruby programmers batman!] svn access / next release
In-Reply-To: <2d81dedb0801021134p1b1a7cbpfe9c4b2f46c7b276@mail.gmail.com>
References: <2d81dedb0801012327wd1b3b13n49c2ef66f3d6fad6@mail.gmail.com>
<5906dd440801020856y7d2c6b3ay4d1e5bcd7ac2398e@mail.gmail.com>
<2d81dedb0801021134p1b1a7cbpfe9c4b2f46c7b276@mail.gmail.com>
Message-ID: <5906dd440801021212q58168b45se50cd32feb6b34e2@mail.gmail.com>
> 1) Does a nice stress-free approach exist? (Letting somebody else do it counts.)
If there is an easy way to tag gems for release in RF, then yes (which
there has to be, right?) - use the standard /tags /branches/ /trunk
set-up and just tag trunk when it's at a stable point
> 2) Why git over svn?
'cause svn handles merging about as well as Helen Keller drove Nascar,
and we got into a tangent about it. I'd say, if there is a way to tag
releases, it's easiest to just stick with mainline trunk development,
and anyone who wants to play with breaking changes can keep them
local, or push them up to a branch for review, and then it's up to
them to figure out how. Keep it simple for most stuff, and people who
want to get fancy can. Anyways, then if some svk/git ninja wants to
do it that way, you can just leave merging back to trunk up to them,
when they have their changes worked out about right.
Tim
> --
> Giles Bowkett
>
> Podcast: http://hollywoodgrit.blogspot.com
> Blog: http://gilesbowkett.blogspot.com
> Portfolio: http://www.gilesgoatboy.org
> Tumblelog: http://giles.tumblr.com
> _______________________________________________
>
> Utilitybelt-tinkering mailing list
> Utilitybelt-tinkering at rubyforge.org
> http://rubyforge.org/mailman/listinfo/utilitybelt-tinkering
>
From gilesb at gmail.com Wed Jan 2 16:40:51 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Wed, 2 Jan 2008 13:40:51 -0800
Subject: [holy ruby programmers batman!] svn access / next release
In-Reply-To: <5906dd440801021212q58168b45se50cd32feb6b34e2@mail.gmail.com>
References: <2d81dedb0801012327wd1b3b13n49c2ef66f3d6fad6@mail.gmail.com>
<5906dd440801020856y7d2c6b3ay4d1e5bcd7ac2398e@mail.gmail.com>
<2d81dedb0801021134p1b1a7cbpfe9c4b2f46c7b276@mail.gmail.com>
<5906dd440801021212q58168b45se50cd32feb6b34e2@mail.gmail.com>
Message-ID: <2d81dedb0801021340r2a79a4dftc32c7c399ca2d191@mail.gmail.com>
Honestly, guys, I'm just going to go with "code goes in svn and if you
want developer access gimme your RubyForge handle." Sorry, I know it's
vanilla, but I've got a couple other projects I'm working on that I
haven't released, not to mention this whole job thing as well.
But hey, if you want dev access, gimme yr RubyForge handle. :-)
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From timocratic at gmail.com Wed Jan 2 16:45:21 2008
From: timocratic at gmail.com (Tim Connor)
Date: Wed, 2 Jan 2008 13:45:21 -0800
Subject: [holy ruby programmers batman!] svn access / next release
In-Reply-To: <2d81dedb0801021340r2a79a4dftc32c7c399ca2d191@mail.gmail.com>
References: <2d81dedb0801012327wd1b3b13n49c2ef66f3d6fad6@mail.gmail.com>
<5906dd440801020856y7d2c6b3ay4d1e5bcd7ac2398e@mail.gmail.com>
<2d81dedb0801021134p1b1a7cbpfe9c4b2f46c7b276@mail.gmail.com>
<5906dd440801021212q58168b45se50cd32feb6b34e2@mail.gmail.com>
<2d81dedb0801021340r2a79a4dftc32c7c399ca2d191@mail.gmail.com>
Message-ID: <5906dd440801021345k49eae6ferca29d3624c8d4829@mail.gmail.com>
Just Don't Break the Build style is a good ole standby in my book. ;)
timocratic
On Jan 2, 2008 1:40 PM, Giles Bowkett wrote:
> Honestly, guys, I'm just going to go with "code goes in svn and if you
> want developer access gimme your RubyForge handle." Sorry, I know it's
> vanilla, but I've got a couple other projects I'm working on that I
> haven't released, not to mention this whole job thing as well.
>
> But hey, if you want dev access, gimme yr RubyForge handle. :-)
>
> --
>
> Giles Bowkett
>
> Podcast: http://hollywoodgrit.blogspot.com
> Blog: http://gilesbowkett.blogspot.com
> Portfolio: http://www.gilesgoatboy.org
> Tumblelog: http://giles.tumblr.com
> _______________________________________________
> Utilitybelt-tinkering mailing list
> Utilitybelt-tinkering at rubyforge.org
> http://rubyforge.org/mailman/listinfo/utilitybelt-tinkering
>
From gilesb at gmail.com Wed Jan 2 17:29:41 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Wed, 2 Jan 2008 14:29:41 -0800
Subject: [holy ruby programmers batman!] svn access / next release
In-Reply-To: <5906dd440801021345k49eae6ferca29d3624c8d4829@mail.gmail.com>
References: <2d81dedb0801012327wd1b3b13n49c2ef66f3d6fad6@mail.gmail.com>
<5906dd440801020856y7d2c6b3ay4d1e5bcd7ac2398e@mail.gmail.com>
<2d81dedb0801021134p1b1a7cbpfe9c4b2f46c7b276@mail.gmail.com>
<5906dd440801021212q58168b45se50cd32feb6b34e2@mail.gmail.com>
<2d81dedb0801021340r2a79a4dftc32c7c399ca2d191@mail.gmail.com>
<5906dd440801021345k49eae6ferca29d3624c8d4829@mail.gmail.com>
Message-ID: <2d81dedb0801021429ta2daba2s4cc0d04d720c135d@mail.gmail.com>
On 1/2/08, Tim Connor wrote:
> Just Don't Break the Build style is a good ole standby in my book. ;)
>
> timocratic
You are officially now a Senior Developer. Be sure to update your resume.
> On Jan 2, 2008 1:40 PM, Giles Bowkett wrote:
> > Honestly, guys, I'm just going to go with "code goes in svn and if you
> > want developer access gimme your RubyForge handle." Sorry, I know it's
> > vanilla, but I've got a couple other projects I'm working on that I
> > haven't released, not to mention this whole job thing as well.
> >
> > But hey, if you want dev access, gimme yr RubyForge handle. :-)
> >
> > --
> >
> > Giles Bowkett
> >
> > Podcast: http://hollywoodgrit.blogspot.com
> > Blog: http://gilesbowkett.blogspot.com
> > Portfolio: http://www.gilesgoatboy.org
> > Tumblelog: http://giles.tumblr.com
> > _______________________________________________
> > Utilitybelt-tinkering mailing list
> > Utilitybelt-tinkering at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/utilitybelt-tinkering
> >
> _______________________________________________
> Utilitybelt-tinkering mailing list
> Utilitybelt-tinkering at rubyforge.org
> http://rubyforge.org/mailman/listinfo/utilitybelt-tinkering
>
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From timocratic at gmail.com Wed Jan 2 17:35:39 2008
From: timocratic at gmail.com (Tim Connor)
Date: Wed, 2 Jan 2008 14:35:39 -0800
Subject: [holy ruby programmers batman!] svn access / next release
In-Reply-To: <2d81dedb0801021429ta2daba2s4cc0d04d720c135d@mail.gmail.com>
References: <2d81dedb0801012327wd1b3b13n49c2ef66f3d6fad6@mail.gmail.com>
<5906dd440801020856y7d2c6b3ay4d1e5bcd7ac2398e@mail.gmail.com>
<2d81dedb0801021134p1b1a7cbpfe9c4b2f46c7b276@mail.gmail.com>
<5906dd440801021212q58168b45se50cd32feb6b34e2@mail.gmail.com>
<2d81dedb0801021340r2a79a4dftc32c7c399ca2d191@mail.gmail.com>
<5906dd440801021345k49eae6ferca29d3624c8d4829@mail.gmail.com>
<2d81dedb0801021429ta2daba2s4cc0d04d720c135d@mail.gmail.com>
Message-ID: <5906dd440801021435o61edd33kb9a0167855f65b08@mail.gmail.com>
On Jan 2, 2008 2:29 PM, Giles Bowkett wrote:
> On 1/2/08, Tim Connor wrote:
> > Just Don't Break the Build style is a good ole standby in my book. ;)
> >
> > timocratic
>
> You are officially now a Senior Developer. Be sure to update your resume.
HAH! Ironic - I was actually looking for that resume bump for the New
Year (s/Developer/Software Engineer/, but whose counting).
From markus.prinz at qsig.org Wed Jan 2 18:36:12 2008
From: markus.prinz at qsig.org (Markus Prinz)
Date: Thu, 3 Jan 2008 00:36:12 +0100
Subject: [holy ruby programmers batman!] svn access / next release
In-Reply-To: <2d81dedb0801021134p1b1a7cbpfe9c4b2f46c7b276@mail.gmail.com>
References: <2d81dedb0801012327wd1b3b13n49c2ef66f3d6fad6@mail.gmail.com>
<5906dd440801020856y7d2c6b3ay4d1e5bcd7ac2398e@mail.gmail.com>
<2d81dedb0801021134p1b1a7cbpfe9c4b2f46c7b276@mail.gmail.com>
Message-ID: <5E5A543C-5A9D-4977-9F4A-EAB472F7674D@qsig.org>
On 02.01.2008, at 20:34, Giles Bowkett wrote:
> 1) Does a nice stress-free approach exist? (Letting somebody else do
> it counts.)
There's git-svn, which allows you to clone (checkout) an existing
Subversion-Repository into git's format, and do an update and commit
to the Subversion-Repo from your git-Repo (while still having all of
git's goodness).
Usually it's not included with the git distribution (in package
managers that is), but on MacPorts it's only a "sudo port install git
+svn" away.
> 2) Why git over svn?
There are already a great many blogposts about this, so I'm just going
to link[0] to them, but personally I'm using it because:
.) It's distributed. That means there is no central server like in
Subversion, where everybody has to commit to (and update from)[1].
Instead, what Subversion would call a working copy is a complete clone
of the repository. This means you can commit (push in dvcs-lingo) your
changes against your local repo, and when your feature is done, you do
one huge push to commit everything to the official repo.
.) Branching. Branching allows you to create a (local) clone of trunk
(called master or master-branch in git-lingo), and do your work in
there. Once done, you merge your changes back into the master-branch.
This is especially useful if you develop a lot of things in parallel.
For example, I currently have (besides the master branch) a branch
called "config" where I developed the Utility Belt Configurator, and
one called "refactor", where I refactored the requires. Since the
branches are completely independent of each other, I could generate a
diff against master to get all the refactoring changes.
.) Merging. Git's merging algorithms are much, much better than
Subversions.
regards, Markus
[0]: This is no exhaustive list, but it should get you started:
http://speirs.org/2007/07/19/a-subversion-user-looks-at-git/
http://speirs.org/2007/07/23/a-subversion-user-looks-at-git-part-2/
http://mjtsai.com/blog/2007/07/15/subversion-to-git/
http://wincent.com/a/about/wincent/weblog/archives/2007/07/musings_on_subv.php
http://wincent.com/a/about/wincent/weblog/archives/2007/07/git_notes.php
[1]: There usually still is a central server, but it is no longer a
technical necessity, but rather a social convenience (Linus Torvalds
called it "a public watering hole")
From markus.prinz at qsig.org Wed Jan 2 18:39:37 2008
From: markus.prinz at qsig.org (Markus Prinz)
Date: Thu, 3 Jan 2008 00:39:37 +0100
Subject: [holy ruby programmers batman!] svn access / next release
In-Reply-To: <5906dd440801021212q58168b45se50cd32feb6b34e2@mail.gmail.com>
References: <2d81dedb0801012327wd1b3b13n49c2ef66f3d6fad6@mail.gmail.com>
<5906dd440801020856y7d2c6b3ay4d1e5bcd7ac2398e@mail.gmail.com>
<2d81dedb0801021134p1b1a7cbpfe9c4b2f46c7b276@mail.gmail.com>
<5906dd440801021212q58168b45se50cd32feb6b34e2@mail.gmail.com>
Message-ID: <29D36869-A70C-4407-9A58-7AA95D9001AE@qsig.org>
On 02.01.2008, at 21:12, Tim Connor wrote:
>> 1) Does a nice stress-free approach exist? (Letting somebody else
>> do it counts.)
> If there is an easy way to tag gems for release in RF, then yes (which
> there has to be, right?) - use the standard /tags /branches/ /trunk
> set-up and just tag trunk when it's at a stable point
Uhm, how does that involve RF[0]? Tagging in Subversion is done by
creating a copy of trunk (or of a revision of trunk) in the tags-dir
(and then making it read-only if you know what's good for you).
And even if we used git (and git-svn) to develop UB, we could still
use svn to create a tag.
regards, Markus
[0] I'm assuming RF stands for RubyForge.
From markus.prinz at qsig.org Wed Jan 2 18:42:46 2008
From: markus.prinz at qsig.org (Markus Prinz)
Date: Thu, 3 Jan 2008 00:42:46 +0100
Subject: [holy ruby programmers batman!] svn access / next release
In-Reply-To: <2d81dedb0801021340r2a79a4dftc32c7c399ca2d191@mail.gmail.com>
References: <2d81dedb0801012327wd1b3b13n49c2ef66f3d6fad6@mail.gmail.com>
<5906dd440801020856y7d2c6b3ay4d1e5bcd7ac2398e@mail.gmail.com>
<2d81dedb0801021134p1b1a7cbpfe9c4b2f46c7b276@mail.gmail.com>
<5906dd440801021212q58168b45se50cd32feb6b34e2@mail.gmail.com>
<2d81dedb0801021340r2a79a4dftc32c7c399ca2d191@mail.gmail.com>
Message-ID:
On 02.01.2008, at 22:40, Giles Bowkett wrote:
> Honestly, guys, I'm just going to go with "code goes in svn and if you
> want developer access gimme your RubyForge handle." Sorry, I know it's
> vanilla, but I've got a couple other projects I'm working on that I
> haven't released, not to mention this whole job thing as well.
No problem. I'm just sort of on a crusade right now to at least
introduce DVCS-Systems (not necessarily git, although that's my system
of choice) to the programmers around me. One thing I learned was that
there's a fair number of people who don't even use any VCS whatsoever,
so by now I'm already glad if someone uses Subversion :)
If you're happy with Subversion right now, just ignore my ranting on
this topic. And take a look at the various DVCS when you've got some
time to kill.
> But hey, if you want dev access, gimme yr RubyForge handle. :-)
cypher
regards, Markus
From timocratic at gmail.com Wed Jan 2 18:50:34 2008
From: timocratic at gmail.com (Tim Connor)
Date: Wed, 2 Jan 2008 15:50:34 -0800
Subject: [holy ruby programmers batman!] svn access / next release
In-Reply-To: <29D36869-A70C-4407-9A58-7AA95D9001AE@qsig.org>
References: <2d81dedb0801012327wd1b3b13n49c2ef66f3d6fad6@mail.gmail.com>
<5906dd440801020856y7d2c6b3ay4d1e5bcd7ac2398e@mail.gmail.com>
<2d81dedb0801021134p1b1a7cbpfe9c4b2f46c7b276@mail.gmail.com>
<5906dd440801021212q58168b45se50cd32feb6b34e2@mail.gmail.com>
<29D36869-A70C-4407-9A58-7AA95D9001AE@qsig.org>
Message-ID: <5906dd440801021550i7879af29u4775af312ffffcd0@mail.gmail.com>
Taking tangent off band
On Jan 2, 2008 3:39 PM, Markus Prinz wrote:
>
> On 02.01.2008, at 21:12, Tim Connor wrote:
>
> >> 1) Does a nice stress-free approach exist? (Letting somebody else
> >> do it counts.)
> > If there is an easy way to tag gems for release in RF, then yes (which
> > there has to be, right?) - use the standard /tags /branches/ /trunk
> > set-up and just tag trunk when it's at a stable point
>
> Uhm, how does that involve RF[0]? Tagging in Subversion is done by
> creating a copy of trunk (or of a revision of trunk) in the tags-dir
> (and then making it read-only if you know what's good for you).
>
> And even if we used git (and git-svn) to develop UB, we could still
> use svn to create a tag.
>
> regards, Markus
>
> [0] I'm assuming RF stands for RubyForge.
>
> _______________________________________________
> Utilitybelt-tinkering mailing list
> Utilitybelt-tinkering at rubyforge.org
> http://rubyforge.org/mailman/listinfo/utilitybelt-tinkering
>
From markus.prinz at qsig.org Wed Jan 2 18:51:24 2008
From: markus.prinz at qsig.org (Markus Prinz)
Date: Thu, 3 Jan 2008 00:51:24 +0100
Subject: [holy ruby programmers batman!] svn access / next release
In-Reply-To: <5E5A543C-5A9D-4977-9F4A-EAB472F7674D@qsig.org>
References: <2d81dedb0801012327wd1b3b13n49c2ef66f3d6fad6@mail.gmail.com>
<5906dd440801020856y7d2c6b3ay4d1e5bcd7ac2398e@mail.gmail.com>
<2d81dedb0801021134p1b1a7cbpfe9c4b2f46c7b276@mail.gmail.com>
<5E5A543C-5A9D-4977-9F4A-EAB472F7674D@qsig.org>
Message-ID:
On 03.01.2008, at 00:36, Markus Prinz wrote:
>> 2) Why git over svn?
>
> There are already a great many blogposts about this, so I'm just going
> to link[0] to them, but personally I'm using it because:
> .) It's distributed. That means there is no central server like in
> Subversion, where everybody has to commit to (and update from)[1].
> Instead, what Subversion would call a working copy is a complete clone
> of the repository. This means you can commit (push in dvcs-lingo) your
> changes against your local repo, and when your feature is done, you do
> one huge push to commit everything to the official repo.
I forgot to add: Since every Working Copy is also a Repo, you can also
push changes to other developers without involving the public server
at all, which is very handy when developing a feature together with a
bunch of other people (DVCS work sort of like Peer2Peer-Systems).
regards, Markus
PS: What about the IRC channel? :)
From gilesb at gmail.com Wed Jan 2 18:52:49 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Wed, 2 Jan 2008 15:52:49 -0800
Subject: [holy ruby programmers batman!] svn access / next release
In-Reply-To:
References: <2d81dedb0801012327wd1b3b13n49c2ef66f3d6fad6@mail.gmail.com>
<5906dd440801020856y7d2c6b3ay4d1e5bcd7ac2398e@mail.gmail.com>
<2d81dedb0801021134p1b1a7cbpfe9c4b2f46c7b276@mail.gmail.com>
<5906dd440801021212q58168b45se50cd32feb6b34e2@mail.gmail.com>
<2d81dedb0801021340r2a79a4dftc32c7c399ca2d191@mail.gmail.com>
Message-ID: <2d81dedb0801021552j21806045pb0904a0e0e69d337@mail.gmail.com>
OK, you're in there too.
I just committed all my recent changes - should be at rev 36. Fair
warning, they're a bit messy. It's mostly your (Markus') equipper
changes, but I changed the EQUIP_WAS_CALLED to an equipped? method,
etc. Files still need to be moved to a /lib/utility_belt dir and I
have to make sure the google and the pastie actually work.
On 1/2/08, Markus Prinz wrote:
>
> On 02.01.2008, at 22:40, Giles Bowkett wrote:
>
> > Honestly, guys, I'm just going to go with "code goes in svn and if you
> > want developer access gimme your RubyForge handle." Sorry, I know it's
> > vanilla, but I've got a couple other projects I'm working on that I
> > haven't released, not to mention this whole job thing as well.
>
> No problem. I'm just sort of on a crusade right now to at least
> introduce DVCS-Systems (not necessarily git, although that's my system
> of choice) to the programmers around me. One thing I learned was that
> there's a fair number of people who don't even use any VCS whatsoever,
> so by now I'm already glad if someone uses Subversion :)
>
> If you're happy with Subversion right now, just ignore my ranting on
> this topic. And take a look at the various DVCS when you've got some
> time to kill.
>
> > But hey, if you want dev access, gimme yr RubyForge handle. :-)
>
> cypher
>
>
> regards, Markus
> _______________________________________________
> Utilitybelt-tinkering mailing list
> Utilitybelt-tinkering at rubyforge.org
> http://rubyforge.org/mailman/listinfo/utilitybelt-tinkering
>
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From gilesb at gmail.com Wed Jan 2 18:56:35 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Wed, 2 Jan 2008 15:56:35 -0800
Subject: [holy ruby programmers batman!] svn access / next release
In-Reply-To:
References: <2d81dedb0801012327wd1b3b13n49c2ef66f3d6fad6@mail.gmail.com>
<5906dd440801020856y7d2c6b3ay4d1e5bcd7ac2398e@mail.gmail.com>
<2d81dedb0801021134p1b1a7cbpfe9c4b2f46c7b276@mail.gmail.com>
<5E5A543C-5A9D-4977-9F4A-EAB472F7674D@qsig.org>
Message-ID: <2d81dedb0801021556q6998c6fbs1d014d9f7bfdf411@mail.gmail.com>
> I forgot to add: Since every Working Copy is also a Repo, you can also
> push changes to other developers without involving the public server
> at all, which is very handy when developing a feature together with a
> bunch of other people (DVCS work sort of like Peer2Peer-Systems).
>
> regards, Markus
>
> PS: What about the IRC channel? :)
I don't really use IRC much. *gasp* But my aim is dreamstooloud. I'll
try to pop in if you set a channel up although I'm pretty lax on
things like that.
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From markus.prinz at qsig.org Wed Jan 2 20:00:34 2008
From: markus.prinz at qsig.org (Markus Prinz)
Date: Thu, 3 Jan 2008 02:00:34 +0100
Subject: [holy ruby programmers batman!] svn access / next release
In-Reply-To: <2d81dedb0801021556q6998c6fbs1d014d9f7bfdf411@mail.gmail.com>
References: <2d81dedb0801012327wd1b3b13n49c2ef66f3d6fad6@mail.gmail.com>
<5906dd440801020856y7d2c6b3ay4d1e5bcd7ac2398e@mail.gmail.com>
<2d81dedb0801021134p1b1a7cbpfe9c4b2f46c7b276@mail.gmail.com>
<5E5A543C-5A9D-4977-9F4A-EAB472F7674D@qsig.org>
<2d81dedb0801021556q6998c6fbs1d014d9f7bfdf411@mail.gmail.com>
Message-ID:
On 03.01.2008, at 00:56, Giles Bowkett wrote:
>> PS: What about the IRC channel? :)
>
> I don't really use IRC much. *gasp* But my aim is dreamstooloud. I'll
> try to pop in if you set a channel up although I'm pretty lax on
> things like that.
No problem. It just so happens that IRC is my preferred method of
chatting.
I've registered #utility-belt on Freenode. Feel free to drop by, I'm
'cypher23'
g, Markus
From avdi at avdi.org Thu Jan 3 10:31:28 2008
From: avdi at avdi.org (Avdi Grimm)
Date: Thu, 3 Jan 2008 10:31:28 -0500
Subject: [holy ruby programmers batman!] svn access / next release
In-Reply-To: <2d81dedb0801021340r2a79a4dftc32c7c399ca2d191@mail.gmail.com>
References: <2d81dedb0801012327wd1b3b13n49c2ef66f3d6fad6@mail.gmail.com>
<5906dd440801020856y7d2c6b3ay4d1e5bcd7ac2398e@mail.gmail.com>
<2d81dedb0801021134p1b1a7cbpfe9c4b2f46c7b276@mail.gmail.com>
<5906dd440801021212q58168b45se50cd32feb6b34e2@mail.gmail.com>
<2d81dedb0801021340r2a79a4dftc32c7c399ca2d191@mail.gmail.com>
Message-ID:
On Jan 2, 2008 4:40 PM, Giles Bowkett wrote:
> But hey, if you want dev access, gimme yr RubyForge handle. :-)
Mine is 'avdi' - big surprise ;-)
--
Avdi
From timocratic at gmail.com Thu Jan 3 19:57:17 2008
From: timocratic at gmail.com (Tim Connor)
Date: Thu, 3 Jan 2008 16:57:17 -0800
Subject: [holy ruby programmers batman!] another potential addition
Message-ID: <5906dd440801031657p1d06ccd9n9c50831ef75f19f@mail.gmail.com>
If nobody object, I am going to add
http://drnicwilliams.com/2006/10/12/my-irbrc-for-consoleirb/ the
.what? method when I get a chance.
From timocratic at gmail.com Thu Jan 3 20:05:06 2008
From: timocratic at gmail.com (Tim Connor)
Date: Thu, 3 Jan 2008 17:05:06 -0800
Subject: [holy ruby programmers batman!] another potential addition
In-Reply-To: <5906dd440801031657p1d06ccd9n9c50831ef75f19f@mail.gmail.com>
References: <5906dd440801031657p1d06ccd9n9c50831ef75f19f@mail.gmail.com>
Message-ID: <5906dd440801031705k67039049u93648faa3f812468@mail.gmail.com>
On Jan 3, 2008 4:57 PM, Tim Connor wrote:
> If nobody object, I am going to add
> http://drnicwilliams.com/2006/10/12/my-irbrc-for-consoleirb/ the
> .what? method when I get a chance.
Of course, trying to use it at the same time as u_b, shows the problem
with overloading object too much - enumeration of methods gets
dangerous (pastie gets called, since what? goes through all the
methods, at least of arity 0). Hmm, I'll have to play with that
(worse case make it skip "pastie").
Is Pastie.new too verbose? (could then have the option of making
"pastie" a method on Object, instead of doing so by default).
From gilesb at gmail.com Thu Jan 3 20:06:20 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Thu, 3 Jan 2008 17:06:20 -0800
Subject: [holy ruby programmers batman!] svn access / next release
In-Reply-To:
References: <2d81dedb0801012327wd1b3b13n49c2ef66f3d6fad6@mail.gmail.com>
<5906dd440801020856y7d2c6b3ay4d1e5bcd7ac2398e@mail.gmail.com>
<2d81dedb0801021134p1b1a7cbpfe9c4b2f46c7b276@mail.gmail.com>
<5906dd440801021212q58168b45se50cd32feb6b34e2@mail.gmail.com>
<2d81dedb0801021340r2a79a4dftc32c7c399ca2d191@mail.gmail.com>
Message-ID: <2d81dedb0801031706w706687dbwd4d488813777ff1@mail.gmail.com>
> > But hey, if you want dev access, gimme yr RubyForge handle. :-)
>
> Mine is 'avdi' - big surprise ;-)
Added :-)
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From gilesb at gmail.com Thu Jan 3 20:07:23 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Thu, 3 Jan 2008 17:07:23 -0800
Subject: [holy ruby programmers batman!] another potential addition
In-Reply-To: <5906dd440801031657p1d06ccd9n9c50831ef75f19f@mail.gmail.com>
References: <5906dd440801031657p1d06ccd9n9c50831ef75f19f@mail.gmail.com>
Message-ID: <2d81dedb0801031707y42634ce0re28652cb36b1f503@mail.gmail.com>
On 1/3/08, Tim Connor wrote:
> If nobody object, I am going to add
> http://drnicwilliams.com/2006/10/12/my-irbrc-for-consoleirb/ the
> .what? method when I get a chance.
It's cool with me, although I probably wouldn't want it in defaults -
I see it kind of as a learner thing. But depending you may want to
check with Dr. Nic.
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From gilesb at gmail.com Thu Jan 3 20:12:31 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Thu, 3 Jan 2008 17:12:31 -0800
Subject: [holy ruby programmers batman!] another potential addition
In-Reply-To: <5906dd440801031705k67039049u93648faa3f812468@mail.gmail.com>
References: <5906dd440801031657p1d06ccd9n9c50831ef75f19f@mail.gmail.com>
<5906dd440801031705k67039049u93648faa3f812468@mail.gmail.com>
Message-ID: <2d81dedb0801031712y59d80943udf63cb401e3f1638@mail.gmail.com>
> Of course, trying to use it at the same time as u_b, shows the problem
> with overloading object too much - enumeration of methods gets
> dangerous (pastie gets called, since what? goes through all the
> methods, at least of arity 0). Hmm, I'll have to play with that
> (worse case make it skip "pastie").
>
> Is Pastie.new too verbose? (could then have the option of making
> "pastie" a method on Object, instead of doing so by default).
Well, according to Jeremy Kemper, I shouldn't be adding
collision-prone methods to Object. (However also according to Jeremy
Kemper, Rails autoloading any and all code inside .irbrc is not a
bug.) But long story short the addition of methods to Object is a
lameness. I'm not sure if it's a necessary lameness or not - I think
it is - but the real thing there is that adding so much stuff to
Object does make any Object-greppy code liable to return loads of
irrelevant methods.
Pastie.new I don't like, but even if I said, hey, OK, Pastie.new, it
wouldn't make a ton of difference, because if you want a handy method
to get to it, you still need pastie. If there's a way to stop using
Object in this kinda lame way, I'm all for it, but I wouldn't want to
make the pastie code ugly and overcomplicated just to enable something
I personally wouldn't really use.
I should probably be a bit of a Nazi about adding features, but as
long as they plug and play without messing anything up, I'm in favor
of adding optional features til the cows come home.
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From gilesb at gmail.com Thu Jan 3 20:13:35 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Thu, 3 Jan 2008 17:13:35 -0800
Subject: [holy ruby programmers batman!] another potential addition
In-Reply-To: <2d81dedb0801031712y59d80943udf63cb401e3f1638@mail.gmail.com>
References: <5906dd440801031657p1d06ccd9n9c50831ef75f19f@mail.gmail.com>
<5906dd440801031705k67039049u93648faa3f812468@mail.gmail.com>
<2d81dedb0801031712y59d80943udf63cb401e3f1638@mail.gmail.com>
Message-ID: <2d81dedb0801031713t77d1ecbfkad84ad8816d53d4b@mail.gmail.com>
ps "overcomplicated" means "typing more than three characters not
including return"
On 1/3/08, Giles Bowkett wrote:
> > Of course, trying to use it at the same time as u_b, shows the problem
> > with overloading object too much - enumeration of methods gets
> > dangerous (pastie gets called, since what? goes through all the
> > methods, at least of arity 0). Hmm, I'll have to play with that
> > (worse case make it skip "pastie").
> >
> > Is Pastie.new too verbose? (could then have the option of making
> > "pastie" a method on Object, instead of doing so by default).
>
> Well, according to Jeremy Kemper, I shouldn't be adding
> collision-prone methods to Object. (However also according to Jeremy
> Kemper, Rails autoloading any and all code inside .irbrc is not a
> bug.) But long story short the addition of methods to Object is a
> lameness. I'm not sure if it's a necessary lameness or not - I think
> it is - but the real thing there is that adding so much stuff to
> Object does make any Object-greppy code liable to return loads of
> irrelevant methods.
>
> Pastie.new I don't like, but even if I said, hey, OK, Pastie.new, it
> wouldn't make a ton of difference, because if you want a handy method
> to get to it, you still need pastie. If there's a way to stop using
> Object in this kinda lame way, I'm all for it, but I wouldn't want to
> make the pastie code ugly and overcomplicated just to enable something
> I personally wouldn't really use.
>
> I should probably be a bit of a Nazi about adding features, but as
> long as they plug and play without messing anything up, I'm in favor
> of adding optional features til the cows come home.
>
> --
> Giles Bowkett
>
> Podcast: http://hollywoodgrit.blogspot.com
> Blog: http://gilesbowkett.blogspot.com
> Portfolio: http://www.gilesgoatboy.org
> Tumblelog: http://giles.tumblr.com
>
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From timocratic at gmail.com Thu Jan 3 20:14:47 2008
From: timocratic at gmail.com (Tim Connor)
Date: Thu, 3 Jan 2008 17:14:47 -0800
Subject: [holy ruby programmers batman!] another potential addition
In-Reply-To: <2d81dedb0801031707y42634ce0re28652cb36b1f503@mail.gmail.com>
References: <5906dd440801031657p1d06ccd9n9c50831ef75f19f@mail.gmail.com>
<2d81dedb0801031707y42634ce0re28652cb36b1f503@mail.gmail.com>
Message-ID: <5906dd440801031714w65f79e8elfa6145156ceefecc@mail.gmail.com>
On Jan 3, 2008 5:07 PM, Giles Bowkett wrote:
>
> On 1/3/08, Tim Connor wrote:
> > If nobody object, I am going to add
> > http://drnicwilliams.com/2006/10/12/my-irbrc-for-consoleirb/ the
> > .what? method when I get a chance.
>
> It's cool with me, although I probably wouldn't want it in defaults -
> I see it kind of as a learner thing. But depending you may want to
> check with Dr. Nic.
Well he gemified code from _why, who extended functionality from xxx,
but yeah, basic idea.
No need to default it. It an be useful when you are just trying to
remember which function gives you the result you want, and we have
equip now. I want to add unequip, also, btw.
From timocratic at gmail.com Thu Jan 3 20:16:48 2008
From: timocratic at gmail.com (Tim Connor)
Date: Thu, 3 Jan 2008 17:16:48 -0800
Subject: [holy ruby programmers batman!] another potential addition
In-Reply-To: <2d81dedb0801031713t77d1ecbfkad84ad8816d53d4b@mail.gmail.com>
References: <5906dd440801031657p1d06ccd9n9c50831ef75f19f@mail.gmail.com>
<5906dd440801031705k67039049u93648faa3f812468@mail.gmail.com>
<2d81dedb0801031712y59d80943udf63cb401e3f1638@mail.gmail.com>
<2d81dedb0801031713t77d1ecbfkad84ad8816d53d4b@mail.gmail.com>
Message-ID: <5906dd440801031716v15435881wd505c5aa036ae4ec@mail.gmail.com>
On Jan 3, 2008 5:13 PM, Giles Bowkett wrote:
> ps "overcomplicated" means "typing more than three characters not
> including return"
HAAHHAHAA. do a lot of pastie'ing then? :P
From gilesb at gmail.com Thu Jan 3 20:26:30 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Thu, 3 Jan 2008 17:26:30 -0800
Subject: [holy ruby programmers batman!] another potential addition
In-Reply-To: <5906dd440801031716v15435881wd505c5aa036ae4ec@mail.gmail.com>
References: <5906dd440801031657p1d06ccd9n9c50831ef75f19f@mail.gmail.com>
<5906dd440801031705k67039049u93648faa3f812468@mail.gmail.com>
<2d81dedb0801031712y59d80943udf63cb401e3f1638@mail.gmail.com>
<2d81dedb0801031713t77d1ecbfkad84ad8816d53d4b@mail.gmail.com>
<5906dd440801031716v15435881wd505c5aa036ae4ec@mail.gmail.com>
Message-ID: <2d81dedb0801031726m1a187510v498def4cc404ec6c@mail.gmail.com>
> On Jan 3, 2008 5:13 PM, Giles Bowkett wrote:
> > ps "overcomplicated" means "typing more than three characters not
> > including return"
>
> HAAHHAHAA. do a lot of pastie'ing then? :P
I use pastie constantly. That's why the new version has a pastie for
the command line. Going into irb just to use pastie has gotten to be a
speed bump.
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From timocratic at gmail.com Thu Jan 3 20:33:19 2008
From: timocratic at gmail.com (Tim Connor)
Date: Thu, 3 Jan 2008 17:33:19 -0800
Subject: [holy ruby programmers batman!] another potential addition
In-Reply-To: <2d81dedb0801031726m1a187510v498def4cc404ec6c@mail.gmail.com>
References: <5906dd440801031657p1d06ccd9n9c50831ef75f19f@mail.gmail.com>
<5906dd440801031705k67039049u93648faa3f812468@mail.gmail.com>
<2d81dedb0801031712y59d80943udf63cb401e3f1638@mail.gmail.com>
<2d81dedb0801031713t77d1ecbfkad84ad8816d53d4b@mail.gmail.com>
<5906dd440801031716v15435881wd505c5aa036ae4ec@mail.gmail.com>
<2d81dedb0801031726m1a187510v498def4cc404ec6c@mail.gmail.com>
Message-ID: <5906dd440801031733v43ce25d6t5a9c0c27d5f435e3@mail.gmail.com>
On Jan 3, 2008 5:26 PM, Giles Bowkett wrote:
>
> > On Jan 3, 2008 5:13 PM, Giles Bowkett wrote:
> > > ps "overcomplicated" means "typing more than three characters not
> > > including return"
> >
> > HAAHHAHAA. do a lot of pastie'ing then? :P
>
> I use pastie constantly. That's why the new version has a pastie for
> the command line. Going into irb just to use pastie has gotten to be a
> speed bump.
Wow. That's a lot of pastie-ing. Pastie your primary code sharing
method at work?
From gilesb at gmail.com Thu Jan 3 21:31:38 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Thu, 3 Jan 2008 18:31:38 -0800
Subject: [holy ruby programmers batman!] another potential addition
In-Reply-To: <5906dd440801031733v43ce25d6t5a9c0c27d5f435e3@mail.gmail.com>
References: <5906dd440801031657p1d06ccd9n9c50831ef75f19f@mail.gmail.com>
<5906dd440801031705k67039049u93648faa3f812468@mail.gmail.com>
<2d81dedb0801031712y59d80943udf63cb401e3f1638@mail.gmail.com>
<2d81dedb0801031713t77d1ecbfkad84ad8816d53d4b@mail.gmail.com>
<5906dd440801031716v15435881wd505c5aa036ae4ec@mail.gmail.com>
<2d81dedb0801031726m1a187510v498def4cc404ec6c@mail.gmail.com>
<5906dd440801031733v43ce25d6t5a9c0c27d5f435e3@mail.gmail.com>
Message-ID: <2d81dedb0801031831s79df26c0y45bf6240ecce7ade@mail.gmail.com>
> > I use pastie constantly. That's why the new version has a pastie for
> > the command line. Going into irb just to use pastie has gotten to be a
> > speed bump.
>
> Wow. That's a lot of pastie-ing. Pastie your primary code sharing
> method at work?
No, basically Blogger has terrible code posting features. I chose it
totally randomly as my blog host and it wasn't really a good choice at
all. I sometimes use Pastie at work but it's mostly in the course of
blogging.
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From timocratic at gmail.com Thu Jan 3 21:54:20 2008
From: timocratic at gmail.com (Tim Connor)
Date: Thu, 3 Jan 2008 18:54:20 -0800
Subject: [holy ruby programmers batman!] another potential addition
In-Reply-To: <2d81dedb0801031831s79df26c0y45bf6240ecce7ade@mail.gmail.com>
References: <5906dd440801031657p1d06ccd9n9c50831ef75f19f@mail.gmail.com>
<5906dd440801031705k67039049u93648faa3f812468@mail.gmail.com>
<2d81dedb0801031712y59d80943udf63cb401e3f1638@mail.gmail.com>
<2d81dedb0801031713t77d1ecbfkad84ad8816d53d4b@mail.gmail.com>
<5906dd440801031716v15435881wd505c5aa036ae4ec@mail.gmail.com>
<2d81dedb0801031726m1a187510v498def4cc404ec6c@mail.gmail.com>
<5906dd440801031733v43ce25d6t5a9c0c27d5f435e3@mail.gmail.com>
<2d81dedb0801031831s79df26c0y45bf6240ecce7ade@mail.gmail.com>
Message-ID: <5906dd440801031854u10045ca5i9370d9cd9cffa547@mail.gmail.com>
On Jan 3, 2008 6:31 PM, Giles Bowkett wrote:
> > > I use pastie constantly. That's why the new version has a pastie for
> > > the command line. Going into irb just to use pastie has gotten to be a
> > > speed bump.
> >
> > Wow. That's a lot of pastie-ing. Pastie your primary code sharing
> > method at work?
>
> No, basically Blogger has terrible code posting features. I chose it
> totally randomly as my blog host and it wasn't really a good choice at
> all. I sometimes use Pastie at work but it's mostly in the course of
> blogging.
Ah, heheheh.
Some day I'll get my mongrel blog thing finished, then I'll try to
pimp that out. ;)
Also, you know Quicksilver? If you are doing enough keyboard macroy
type stuff like this, it might simplify your life a bunch, as well.
From gilesb at gmail.com Thu Jan 3 21:59:14 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Thu, 3 Jan 2008 18:59:14 -0800
Subject: [holy ruby programmers batman!] another potential addition
In-Reply-To: <5906dd440801031854u10045ca5i9370d9cd9cffa547@mail.gmail.com>
References: <5906dd440801031657p1d06ccd9n9c50831ef75f19f@mail.gmail.com>
<5906dd440801031705k67039049u93648faa3f812468@mail.gmail.com>
<2d81dedb0801031712y59d80943udf63cb401e3f1638@mail.gmail.com>
<2d81dedb0801031713t77d1ecbfkad84ad8816d53d4b@mail.gmail.com>
<5906dd440801031716v15435881wd505c5aa036ae4ec@mail.gmail.com>
<2d81dedb0801031726m1a187510v498def4cc404ec6c@mail.gmail.com>
<5906dd440801031733v43ce25d6t5a9c0c27d5f435e3@mail.gmail.com>
<2d81dedb0801031831s79df26c0y45bf6240ecce7ade@mail.gmail.com>
<5906dd440801031854u10045ca5i9370d9cd9cffa547@mail.gmail.com>
Message-ID: <2d81dedb0801031859h58940b3cr1f3c91bf3f8d84ba@mail.gmail.com>
> Also, you know Quicksilver? If you are doing enough keyboard macroy
> type stuff like this, it might simplify your life a bunch, as well.
I use it a lot but just as a launcher. Actually I just went to their
forums because you reminded me, I volunteered to work on that, but the
forum's got some kind of MySQL error going on right now. I sometimes
write shell scripts and run them from QS but that's about as clever as
I get with it.
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From markus.prinz at qsig.org Tue Jan 8 14:41:33 2008
From: markus.prinz at qsig.org (Markus Prinz)
Date: Tue, 8 Jan 2008 20:41:33 +0100
Subject: [holy ruby programmers batman!] Replacement for MacClipboard
Message-ID:
Hello list,
I'm programming on a replacement for the MacClipboard class that works
on all platforms (where all is Windows, Linux and OS X). Attached is
the code I've got so far, but there are some Issues with it. Namely,
while it works fine on OS X and Windows (assuming the win32-clipboard
gem is installed), the Linux support is flakey at best.
The first problem is that unlike the other two OS, the X Server and
(apparently) GNOME and KDE all have their own Clipboard
implementation. I've decided to target X's clipboard (since that would
work anywhere) using the xsel tool[0]. Harkins on IRC was nice enough
to help me test the code (I don't have access to a Linux running an X
server right now), and as it turns out xsel likes to kill the xterm it
runs in.
So if anyone has any ideas regarding clipboard support under Linux,
I'd be grateful for ideas/pointers/code. Otherwise Linux support will
have to wait, and I'll just check in the Windows and OS X
implementation for now.
regards, Markus
[0] http://www.vergenet.net/~conrad/software/xsel/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clipboard.rb
Type: text/x-ruby-script
Size: 1532 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/utilitybelt-tinkering/attachments/20080108/af641700/attachment.bin
-------------- next part --------------
From gilesb at gmail.com Tue Jan 8 14:50:17 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Tue, 8 Jan 2008 11:50:17 -0800
Subject: [holy ruby programmers batman!] Replacement for MacClipboard
In-Reply-To:
References:
Message-ID: <2d81dedb0801081150v6eb585f8s8075e48e8b0bf37c@mail.gmail.com>
Dude, that's awesome. With Linux support flaky, though, maybe the best
thing is to put some kind of warning on it? Are you saying that if you
use the Linux support it kills your xterm? That sounds like a pretty
bad side effect.
A co-worker says he was able to script the Linux clipboard, he might
have something. It also looks as if there's something called xclip:
http://dmy999.com/article/19/finally-linux-clipboard-integration
On 1/8/08, Markus Prinz wrote:
> Hello list,
>
> I'm programming on a replacement for the MacClipboard class that works
> on all platforms (where all is Windows, Linux and OS X). Attached is
> the code I've got so far, but there are some Issues with it. Namely,
> while it works fine on OS X and Windows (assuming the win32-clipboard
> gem is installed), the Linux support is flakey at best.
>
> The first problem is that unlike the other two OS, the X Server and
> (apparently) GNOME and KDE all have their own Clipboard
> implementation. I've decided to target X's clipboard (since that would
> work anywhere) using the xsel tool[0]. Harkins on IRC was nice enough
> to help me test the code (I don't have access to a Linux running an X
> server right now), and as it turns out xsel likes to kill the xterm it
> runs in.
>
> So if anyone has any ideas regarding clipboard support under Linux,
> I'd be grateful for ideas/pointers/code. Otherwise Linux support will
> have to wait, and I'll just check in the Windows and OS X
> implementation for now.
>
> regards, Markus
>
> [0] http://www.vergenet.net/~conrad/software/xsel/
>
>
>
>
> _______________________________________________
> Utilitybelt-tinkering mailing list
> Utilitybelt-tinkering at rubyforge.org
> http://rubyforge.org/mailman/listinfo/utilitybelt-tinkering
>
>
>
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From gilesb at gmail.com Tue Jan 8 15:05:56 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Tue, 8 Jan 2008 12:05:56 -0800
Subject: [holy ruby programmers batman!] Replacement for MacClipboard
In-Reply-To: <2d81dedb0801081150v6eb585f8s8075e48e8b0bf37c@mail.gmail.com>
References:
<2d81dedb0801081150v6eb585f8s8075e48e8b0bf37c@mail.gmail.com>
Message-ID: <2d81dedb0801081205qdfb9a4bycf0be99c454e39c@mail.gmail.com>
> > The first problem is that unlike the other two OS, the X Server and
> > (apparently) GNOME and KDE all have their own Clipboard
> > implementation. I've decided to target X's clipboard (since that would
> > work anywhere) using the xsel tool[0]. Harkins on IRC was nice enough
> > to help me test the code (I don't have access to a Linux running an X
> > server right now), and as it turns out xsel likes to kill the xterm it
> > runs in.
This is kind of a pain in the butt, but we could in theory have a more
detailed set of checks going on in the Linux section. The Platform gem
exposes a lot of detail pretty nicely, so you may (I'm not sure) be
able to determine if GNOME, KDE, or X is active on the user's system.
It seems like that's the best way to do it, although honestly, I'm not
a Linux guy, so I couldn't say for sure.
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From markus.prinz at qsig.org Tue Jan 8 15:25:35 2008
From: markus.prinz at qsig.org (Markus Prinz)
Date: Tue, 8 Jan 2008 21:25:35 +0100
Subject: [holy ruby programmers batman!] Replacement for MacClipboard
In-Reply-To: <2d81dedb0801081150v6eb585f8s8075e48e8b0bf37c@mail.gmail.com>
References:
<2d81dedb0801081150v6eb585f8s8075e48e8b0bf37c@mail.gmail.com>
Message-ID:
On 08.01.2008, at 20:50, Giles Bowkett wrote:
> Dude, that's awesome. With Linux support flaky, though, maybe the best
> thing is to put some kind of warning on it? Are you saying that if you
> use the Linux support it kills your xterm? That sounds like a pretty
> bad side effect.
Well, as I said, I couldn't test it as I don't have a Linux with X
running, but Harkins tested it twice, and it killed his xterm both
times (or, to be more exact, he said it simply vanished).
> A co-worker says he was able to script the Linux clipboard, he might
> have something. It also looks as if there's something called xclip:
>
> http://dmy999.com/article/19/finally-linux-clipboard-integration
Cool, I'll check that out.
> This is kind of a pain in the butt, but we could in theory have a more
> detailed set of checks going on in the Linux section. The Platform gem
> exposes a lot of detail pretty nicely, so you may (I'm not sure) be
> able to determine if GNOME, KDE, or X is active on the user's system.
> It seems like that's the best way to do it, although honestly, I'm not
> a Linux guy, so I couldn't say for sure.
Yeah, I was thinking something along the same lines. Looks like I've
got to set up a Linux VM after all :)
regards, Markus
From gilesb at gmail.com Tue Jan 8 16:53:35 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Tue, 8 Jan 2008 13:53:35 -0800
Subject: [holy ruby programmers batman!] Replacement for MacClipboard
In-Reply-To:
References:
<2d81dedb0801081150v6eb585f8s8075e48e8b0bf37c@mail.gmail.com>
Message-ID: <2d81dedb0801081353o1b85d82eqa837ca39268cd3eb@mail.gmail.com>
> > This is kind of a pain in the butt, but we could in theory have a more
> > detailed set of checks going on in the Linux section. The Platform gem
> > exposes a lot of detail pretty nicely, so you may (I'm not sure) be
> > able to determine if GNOME, KDE, or X is active on the user's system.
> > It seems like that's the best way to do it, although honestly, I'm not
> > a Linux guy, so I couldn't say for sure.
>
> Yeah, I was thinking something along the same lines. Looks like I've
> got to set up a Linux VM after all :)
I would say check in what you have so far first - or at least the
Windows support, that's definitely a cool feature to have. Also - did
I totally break your equipper stuff? (Sorry if I did.)
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From avdi at avdi.org Tue Jan 8 17:12:43 2008
From: avdi at avdi.org (Avdi Grimm)
Date: Tue, 8 Jan 2008 17:12:43 -0500
Subject: [holy ruby programmers batman!] Replacement for MacClipboard
In-Reply-To:
References:
Message-ID:
On Jan 8, 2008 2:41 PM, Markus Prinz wrote:
> The first problem is that unlike the other two OS, the X Server and
> (apparently) GNOME and KDE all have their own Clipboard
> implementation.
There has been some consolidation in the X Windows/GNOME/KDE clipboard
world over the past couple years. See
http://www.freedesktop.org/wiki/Specifications/clipboards-spec?action=show
--
Avdi
From markus.prinz at qsig.org Tue Jan 8 17:41:20 2008
From: markus.prinz at qsig.org (Markus Prinz)
Date: Tue, 8 Jan 2008 23:41:20 +0100
Subject: [holy ruby programmers batman!] Replacement for MacClipboard
In-Reply-To: <2d81dedb0801081353o1b85d82eqa837ca39268cd3eb@mail.gmail.com>
References:
<2d81dedb0801081150v6eb585f8s8075e48e8b0bf37c@mail.gmail.com>
<2d81dedb0801081353o1b85d82eqa837ca39268cd3eb@mail.gmail.com>
Message-ID:
On 08.01.2008, at 22:53, Giles Bowkett wrote:
>
> I would say check in what you have so far first - or at least the
> Windows support, that's definitely a cool feature to have.
Will do.
> Also - did
> I totally break your equipper stuff? (Sorry if I did.)
No, you just forgot to pass the args to the equipper. It was an easy
fix.
Also, do you mind if I put all the stuff under lib into an
utility_belt directory? Or do you want to do that? (You mentioned that
as a todo)
regards, Markus.
From gilesb at gmail.com Tue Jan 8 17:48:54 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Tue, 8 Jan 2008 14:48:54 -0800
Subject: [holy ruby programmers batman!] Replacement for MacClipboard
In-Reply-To:
References:
<2d81dedb0801081150v6eb585f8s8075e48e8b0bf37c@mail.gmail.com>
<2d81dedb0801081353o1b85d82eqa837ca39268cd3eb@mail.gmail.com>
Message-ID: <2d81dedb0801081448n1209496mb192eb314482ca40@mail.gmail.com>
> > Also - did
> > I totally break your equipper stuff? (Sorry if I did.)
>
> No, you just forgot to pass the args to the equipper. It was an easy
> fix.
>
> Also, do you mind if I put all the stuff under lib into an
> utility_belt directory? Or do you want to do that? (You mentioned that
> as a todo)
Totally, go ahead.
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From markus.prinz at qsig.org Tue Jan 8 18:59:02 2008
From: markus.prinz at qsig.org (Markus Prinz)
Date: Wed, 9 Jan 2008 00:59:02 +0100
Subject: [holy ruby programmers batman!] Replacement for MacClipboard
In-Reply-To: <2d81dedb0801081448n1209496mb192eb314482ca40@mail.gmail.com>
References:
<2d81dedb0801081150v6eb585f8s8075e48e8b0bf37c@mail.gmail.com>
<2d81dedb0801081353o1b85d82eqa837ca39268cd3eb@mail.gmail.com>
<2d81dedb0801081448n1209496mb192eb314482ca40@mail.gmail.com>
Message-ID:
On 08.01.2008, at 23:48, Giles Bowkett wrote:
>>> Also - did
>>> I totally break your equipper stuff? (Sorry if I did.)
>>
>> No, you just forgot to pass the args to the equipper. It was an easy
>> fix.
>>
>> Also, do you mind if I put all the stuff under lib into an
>> utility_belt directory? Or do you want to do that? (You mentioned
>> that
>> as a todo)
>
> Totally, go ahead.
Done. Took 3 commits because there's a nasty bug when you have Utility
Belt 1.0.6 (or lower) installed, and I didn't immediately realize it.
Sorry.
regards, Markus
From markus.prinz at qsig.org Tue Jan 8 19:04:05 2008
From: markus.prinz at qsig.org (Markus Prinz)
Date: Wed, 9 Jan 2008 01:04:05 +0100
Subject: [holy ruby programmers batman!] Replacement for MacClipboard
In-Reply-To:
References:
<2d81dedb0801081150v6eb585f8s8075e48e8b0bf37c@mail.gmail.com>
<2d81dedb0801081353o1b85d82eqa837ca39268cd3eb@mail.gmail.com>
Message-ID: <7303E0CF-1A73-4457-BE82-7FD0CA1BC1CE@qsig.org>
On 08.01.2008, at 23:41, Markus Prinz wrote:
>
> On 08.01.2008, at 22:53, Giles Bowkett wrote:
>>
>> I would say check in what you have so far first - or at least the
>> Windows support, that's definitely a cool feature to have.
>
> Will do.
I've commited the Windows Implementation. However, I've done nothing
to actually replace MacClipboard yet, because some tests I did showed
that is is somewhat trickier than I first thought.
regards, Markus
From markus.prinz at qsig.org Sun Jan 13 17:25:56 2008
From: markus.prinz at qsig.org (Markus Prinz)
Date: Sun, 13 Jan 2008 23:25:56 +0100
Subject: [holy ruby programmers batman!] Changes made in the last week
Message-ID: <43674E4C-6AEE-44FC-A98C-73AF2A51C92A@qsig.org>
Hello list,
Just to keep you informed about some of the changes I made to Utility
Belt recently:
.) The google, amazon and pastie executables now all use the Equipper
to load their respective gadgets.
.) Refactored the google-, amazon-, and pastie-gadgets, so that they
are in their own modules now (Couldn't test amazon though, since I
don't have an account there)
.) Clipboard.available? tells you wether a clipboard implementation is
available on the platform (so you needn't check the platform
yourself). I already have some code for linux, but haven't been able
to test it yet, so it's not in the repo yet.
.) Removed MacClipboard entirely (except in the documentation), and
updated all gadgets/specs to use the new Clipboard implementation
.) Google and Pastie are now (theoretically) able to launch the
browsers with the generated urls on windows (see below for
theoretically)
.) Running all specs at one ("spec spec") now only produces two warnings
.) The Clipboard class and the pastie, google and
amazon_upload_shortcut now are only available at the top level if they
are loaded inside IRB
.) Everything wirble-related (init, colorizing, themes) is now in one
file
There's apparently a problem with the current version of
Win32::Clipboard, since it doesn't load properly, thus the Clipboard
class doesn't currently. I've tested the Clipboard code a week ago on
windows, and it worked then, so I'm quite sure it's not my fault :)
(especially since I can't load it directly from the irb prompt as
well). This means that any code that uses the clipboard currently
doesn't work right now.
On another note: Anyone know how to launch the default browser (with a
specific url) under linux?
regards, Markus
From gilesb at gmail.com Sun Jan 13 17:31:15 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Sun, 13 Jan 2008 14:31:15 -0800
Subject: [holy ruby programmers batman!] Changes made in the last week
In-Reply-To: <43674E4C-6AEE-44FC-A98C-73AF2A51C92A@qsig.org>
References: <43674E4C-6AEE-44FC-A98C-73AF2A51C92A@qsig.org>
Message-ID: <2d81dedb0801131431o243d5f50m908d9738bf01b98c@mail.gmail.com>
It all sounds awesome, except what's this part mean?
> .) The Clipboard class and the pastie, google and
> amazon_upload_shortcut now are only available at the top level if they
> are loaded inside IRB
I should really keep up with the development on my own gem. ;-)
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From markus.prinz at qsig.org Sun Jan 13 17:57:25 2008
From: markus.prinz at qsig.org (Markus Prinz)
Date: Sun, 13 Jan 2008 23:57:25 +0100
Subject: [holy ruby programmers batman!] Changes made in the last week
In-Reply-To: <2d81dedb0801131431o243d5f50m908d9738bf01b98c@mail.gmail.com>
References: <43674E4C-6AEE-44FC-A98C-73AF2A51C92A@qsig.org>
<2d81dedb0801131431o243d5f50m908d9738bf01b98c@mail.gmail.com>
Message-ID: <67CC5FE7-6DF4-4A88-8FDD-AA9213563600@qsig.org>
On 13.01.2008, at 23:31, Giles Bowkett wrote:
> It all sounds awesome, except what's this part mean?
>
>> .) The Clipboard class and the pastie, google and
>> amazon_upload_shortcut now are only available at the top level if
>> they
>> are loaded inside IRB
Well, currently they all reside inside the UtilityBelt-Module (and
their own modules/classes). When loaded, they check wether they are
loaded inside an IRB-Environment and then, for example, mix themselves
into Object so you can write "google some query" from the IRB prompt.
The reason I did this was because I thought someone might want to use
some of the gadgets in their own programs. Granted, amazon, pastie and
google are probably not something that's of much use in a program, but
other things like HashMath, the Clipboard (as soon as it works across
platforms), and Reginald Braithwaite's String#to_proc are things you
might want to use. Putting everything inside their own modules allows
you to use them in any way you see fit, and they don't pollute the top
level/global namespace (unless you're in IRB of course, where it makes
sense).
regards, Markus
PS: Sorry, maybe I should have posted this idea to the mailing list
before implementing it.
From gilesb at gmail.com Sun Jan 13 18:00:51 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Sun, 13 Jan 2008 15:00:51 -0800
Subject: [holy ruby programmers batman!] Changes made in the last week
In-Reply-To: <67CC5FE7-6DF4-4A88-8FDD-AA9213563600@qsig.org>
References: <43674E4C-6AEE-44FC-A98C-73AF2A51C92A@qsig.org>
<2d81dedb0801131431o243d5f50m908d9738bf01b98c@mail.gmail.com>
<67CC5FE7-6DF4-4A88-8FDD-AA9213563600@qsig.org>
Message-ID: <2d81dedb0801131500w362e05d9ifb06891b3d6b170b@mail.gmail.com>
> PS: Sorry, maybe I should have posted this idea to the mailing list
> before implementing it.
"It's better to beg forgiveness than ask permission" - Rear Admiral Grace Hopper
It sounds good. In fact probably everything in there should be the same way.
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From markus.prinz at qsig.org Sun Jan 13 18:10:45 2008
From: markus.prinz at qsig.org (Markus Prinz)
Date: Mon, 14 Jan 2008 00:10:45 +0100
Subject: [holy ruby programmers batman!] Changes made in the last week
In-Reply-To: <2d81dedb0801131500w362e05d9ifb06891b3d6b170b@mail.gmail.com>
References: <43674E4C-6AEE-44FC-A98C-73AF2A51C92A@qsig.org>
<2d81dedb0801131431o243d5f50m908d9738bf01b98c@mail.gmail.com>
<67CC5FE7-6DF4-4A88-8FDD-AA9213563600@qsig.org>
<2d81dedb0801131500w362e05d9ifb06891b3d6b170b@mail.gmail.com>
Message-ID: <69867D2C-E7FB-451C-8196-D639433A5DF5@qsig.org>
On 14.01.2008, at 00:00, Giles Bowkett wrote:
>> PS: Sorry, maybe I should have posted this idea to the mailing list
>> before implementing it.
>
> "It's better to beg forgiveness than ask permission" - Rear Admiral
> Grace Hopper
Careful, or I end up implementing every crazy idea I get ;)
> It sounds good. In fact probably everything in there should be the
> same way.
Yeah, I'm planning on moving everything into their own Module/Classes
eventually. What I'm thinking about right now is if there is a way to
make that whole "Make it available at the top level if in IRB" easier,
e.g. by letting the Equipper do it instead.
g, Markus
From timocratic at gmail.com Sun Jan 13 21:14:10 2008
From: timocratic at gmail.com (Tim Connor)
Date: Sun, 13 Jan 2008 18:14:10 -0800
Subject: [holy ruby programmers batman!] Changes made in the last week
In-Reply-To: <69867D2C-E7FB-451C-8196-D639433A5DF5@qsig.org>
References: <43674E4C-6AEE-44FC-A98C-73AF2A51C92A@qsig.org>
<2d81dedb0801131431o243d5f50m908d9738bf01b98c@mail.gmail.com>
<67CC5FE7-6DF4-4A88-8FDD-AA9213563600@qsig.org>
<2d81dedb0801131500w362e05d9ifb06891b3d6b170b@mail.gmail.com>
<69867D2C-E7FB-451C-8196-D639433A5DF5@qsig.org>
Message-ID: <5906dd440801131814tcf76a38ja74895ee86d908d6@mail.gmail.com>
On 1/13/08, Markus Prinz wrote:
>
> On 14.01.2008, at 00:00, Giles Bowkett wrote:
>
> >> PS: Sorry, maybe I should have posted this idea to the mailing list
> >> before implementing it.
> >
> > "It's better to beg forgiveness than ask permission" - Rear Admiral
> > Grace Hopper
>
> Careful, or I end up implementing every crazy idea I get ;)
>
> > It sounds good. In fact probably everything in there should be the
> > same way.
I had actually been considering if there should be an IRBC array of
gadgets and/or a NONIRBC (:all - :irbc) or some such, for this reason.
From avdi at avdi.org Sun Jan 13 23:07:21 2008
From: avdi at avdi.org (Avdi Grimm)
Date: Sun, 13 Jan 2008 23:07:21 -0500
Subject: [holy ruby programmers batman!] Changes made in the last week
In-Reply-To: <43674E4C-6AEE-44FC-A98C-73AF2A51C92A@qsig.org>
References: <43674E4C-6AEE-44FC-A98C-73AF2A51C92A@qsig.org>
Message-ID:
On Jan 13, 2008 5:25 PM, Markus Prinz wrote:
> .) Everything wirble-related (init, colorizing, themes) is now in one
> file
Where has the wirble stuff gone? I just updated my sandbox and
utilitybelt is trying to load a utility_belt/wirble file which doesn't
exist.
> On another note: Anyone know how to launch the default browser (with a
> specific url) under linux?
Look into the xdg-open command. I'm using this in my interactive
editor modifications, which I should be checking in shortly.
--
Avdi
From avdi at avdi.org Sun Jan 13 23:42:19 2008
From: avdi at avdi.org (Avdi Grimm)
Date: Sun, 13 Jan 2008 23:42:19 -0500
Subject: [holy ruby programmers batman!] First commit
Message-ID:
I've just committed a revision which I hope hasn't b0rken anything. I
had intended to just submit my interactive_editor enhancements, but I
found that a couple of things weren't working, so I attempted to fix
them. Namely:
1) "spec spec" didn't work for me, apparently because I didn't have
the utilitybelt gem installed and it couldn't find the files to
require. I added a spec helper which prepends the local search path
to $LOAD_PATH *after* rubygems is loaded to ensure that the files
under test will always be pulled from the local sandbox.
2) The default list of files to load in equipper.rb referred to
wirble.rb and syntax_coloring.rb which, as far as I can tell, don't
exist. I removed them from the list.
If I was just missing something and/or misconfigured please let me know.
--
Avdi
From gilesb at gmail.com Mon Jan 14 02:20:19 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Sun, 13 Jan 2008 23:20:19 -0800
Subject: [holy ruby programmers batman!] First commit
In-Reply-To:
References:
Message-ID: <2d81dedb0801132320u50cfe465u7bc16aba7841cc59@mail.gmail.com>
> 2) The default list of files to load in equipper.rb referred to
> wirble.rb and syntax_coloring.rb which, as far as I can tell, don't
> exist. I removed them from the list.
>
> If I was just missing something and/or misconfigured please let me know.
Well, wirble.rb and syntax_coloring.rb both contained Wirble stuff -
when Markus combined the two into one file he must have changed that.
However when I ack for Wirble or wirble, I get nothing except some
mentions in the HTML. (ack is a grep equivalent.) Seems like
something's amiss there.
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From gilesb at gmail.com Mon Jan 14 02:22:25 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Sun, 13 Jan 2008 23:22:25 -0800
Subject: [holy ruby programmers batman!] Changes made in the last week
In-Reply-To:
References: <43674E4C-6AEE-44FC-A98C-73AF2A51C92A@qsig.org>
Message-ID: <2d81dedb0801132322o30b19fe5lae9d3d6661cae27e@mail.gmail.com>
> > On another note: Anyone know how to launch the default browser (with a
> > specific url) under linux?
>
> Look into the xdg-open command. I'm using this in my interactive
> editor modifications, which I should be checking in shortly.
If it's a nonstandard thing, make sure to have some kind of friendly
error message for users who don't have it.
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From gilesb at gmail.com Mon Jan 14 02:28:36 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Sun, 13 Jan 2008 23:28:36 -0800
Subject: [holy ruby programmers batman!] Changes made in the last week
In-Reply-To: <5906dd440801131814tcf76a38ja74895ee86d908d6@mail.gmail.com>
References: <43674E4C-6AEE-44FC-A98C-73AF2A51C92A@qsig.org>
<2d81dedb0801131431o243d5f50m908d9738bf01b98c@mail.gmail.com>
<67CC5FE7-6DF4-4A88-8FDD-AA9213563600@qsig.org>
<2d81dedb0801131500w362e05d9ifb06891b3d6b170b@mail.gmail.com>
<69867D2C-E7FB-451C-8196-D639433A5DF5@qsig.org>
<5906dd440801131814tcf76a38ja74895ee86d908d6@mail.gmail.com>
Message-ID: <2d81dedb0801132328x72d861bfma8e35f9f863c60d9@mail.gmail.com>
> I had actually been considering if there should be an IRBC array of
> gadgets and/or a NONIRBC (:all - :irbc) or some such, for this reason.
I think the answer is "sort of." I end up using hash_math and not from
time to time, and of course google, pastie, and amazon. (Especially
amazon - I use that every day.)
Certainly a set of irb-specific defaults - and probably it'd be smart
to have a way of autodetecting Rails to turn on or off the Rails
finder shortcuts. I've actually been hacking on some other projects in
my spare time, but I would at some point like to find better ways to
do syntax coloring and auto-indentation. Also I got a book for Xmas
with a nice walkthrough of building a Lisp interpreter, so it might be
good to build that into IRB as well, especially if there's some useful
purpose for it.
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From markus.prinz at qsig.org Mon Jan 14 04:30:28 2008
From: markus.prinz at qsig.org (Markus Prinz)
Date: Mon, 14 Jan 2008 10:30:28 +0100
Subject: [holy ruby programmers batman!] First commit
In-Reply-To: <2d81dedb0801132320u50cfe465u7bc16aba7841cc59@mail.gmail.com>
References:
<2d81dedb0801132320u50cfe465u7bc16aba7841cc59@mail.gmail.com>
Message-ID:
On 14.01.2008, at 08:20, Giles Bowkett wrote:
> when Markus combined the two into one file he must have changed that.
> However when I ack for Wirble or wirble, I get nothing except some
> mentions in the HTML. (ack is a grep equivalent.) Seems like
> something's amiss there.
Yes. Mainly that I forgot to add wirble.rb to the repo. It's in there
now. Sorry.
g, Markus
From avdi at avdi.org Mon Jan 14 08:59:44 2008
From: avdi at avdi.org (Avdi Grimm)
Date: Mon, 14 Jan 2008 08:59:44 -0500
Subject: [holy ruby programmers batman!] Changes made in the last week
In-Reply-To: <2d81dedb0801132322o30b19fe5lae9d3d6661cae27e@mail.gmail.com>
References: <43674E4C-6AEE-44FC-A98C-73AF2A51C92A@qsig.org>
<2d81dedb0801132322o30b19fe5lae9d3d6661cae27e@mail.gmail.com>
Message-ID:
On Jan 14, 2008 2:22 AM, Giles Bowkett wrote:
> > Look into the xdg-open command. I'm using this in my interactive
> > editor modifications, which I should be checking in shortly.
>
> If it's a nonstandard thing, make sure to have some kind of friendly
> error message for users who don't have it.
"Standard" is relative in Linux ;-) However, xdg-open is a project of
freedesktop.org, a group that fosters cooperation and standards across
distros and desktop environments. It's my understanding that xdg-open
is included in most major moden distributions.
--
Avdi
From gilesb at gmail.com Mon Jan 14 14:05:46 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Mon, 14 Jan 2008 11:05:46 -0800
Subject: [holy ruby programmers batman!] Changes made in the last week
In-Reply-To:
References: <43674E4C-6AEE-44FC-A98C-73AF2A51C92A@qsig.org>
<2d81dedb0801132322o30b19fe5lae9d3d6661cae27e@mail.gmail.com>
Message-ID: <2d81dedb0801141105n3774d71bu8e902bf466b07753@mail.gmail.com>
> > > Look into the xdg-open command. I'm using this in my interactive
> > > editor modifications, which I should be checking in shortly.
> >
> > If it's a nonstandard thing, make sure to have some kind of friendly
> > error message for users who don't have it.
>
> "Standard" is relative in Linux ;-) However, xdg-open is a project of
> freedesktop.org, a group that fosters cooperation and standards across
> distros and desktop environments. It's my understanding that xdg-open
> is included in most major moden distributions.
Awesome.
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From gilesb at gmail.com Mon Jan 14 14:06:17 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Mon, 14 Jan 2008 11:06:17 -0800
Subject: [holy ruby programmers batman!] First commit
In-Reply-To:
References:
<2d81dedb0801132320u50cfe465u7bc16aba7841cc59@mail.gmail.com>
Message-ID: <2d81dedb0801141106s52d3b523g87ecd90459de29f0@mail.gmail.com>
> > when Markus combined the two into one file he must have changed that.
> > However when I ack for Wirble or wirble, I get nothing except some
> > mentions in the HTML. (ack is a grep equivalent.) Seems like
> > something's amiss there.
>
> Yes. Mainly that I forgot to add wirble.rb to the repo. It's in there
> now. Sorry.
np :-)
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From gilesb at gmail.com Tue Jan 22 00:06:49 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Mon, 21 Jan 2008 21:06:49 -0800
Subject: [holy ruby programmers batman!] stability / lisp interpreter
Message-ID: <2d81dedb0801212106g718b7968hea18c32e179dcee@mail.gmail.com>
Hi all - I'm going to spend some time on UB in the next few weeks and
just make sure everything's stable. I'm not planning to make another
release until late February, but I want to get everything under
control because based on code from a book I think it's probably pretty
easy, or at least doable, to add a Lisp interpreter to IRB with
Utility Belt. Not promising anything but it'll certainly be a fun
experiment.
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From markus.prinz at qsig.org Tue Jan 22 07:37:44 2008
From: markus.prinz at qsig.org (Markus Prinz)
Date: Tue, 22 Jan 2008 13:37:44 +0100
Subject: [holy ruby programmers batman!] stability / lisp interpreter
In-Reply-To: <2d81dedb0801212106g718b7968hea18c32e179dcee@mail.gmail.com>
References: <2d81dedb0801212106g718b7968hea18c32e179dcee@mail.gmail.com>
Message-ID: <2A1516BA-8335-4A28-A520-00DB511052B2@qsig.org>
On 22.01.2008, at 06:06, Giles Bowkett wrote:
> [...] because based on code from a book I think it's probably pretty
> easy, or at least doable, to add a Lisp interpreter to IRB with
> Utility Belt.
Would that book be "Practical Ruby Projects"?
g, Markus
From gilesb at gmail.com Tue Jan 22 09:02:08 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Tue, 22 Jan 2008 06:02:08 -0800
Subject: [holy ruby programmers batman!] stability / lisp interpreter
In-Reply-To: <2A1516BA-8335-4A28-A520-00DB511052B2@qsig.org>
References: <2d81dedb0801212106g718b7968hea18c32e179dcee@mail.gmail.com>
<2A1516BA-8335-4A28-A520-00DB511052B2@qsig.org>
Message-ID: <2d81dedb0801220602h3803d148n5a99368debc2357d@mail.gmail.com>
> > [...] because based on code from a book I think it's probably pretty
> > easy, or at least doable, to add a Lisp interpreter to IRB with
> > Utility Belt.
>
> Would that book be "Practical Ruby Projects"?
Yup. I've been playing with the MIDI code in it too. It's fantastic.
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From markus.prinz at qsig.org Tue Jan 22 09:40:39 2008
From: markus.prinz at qsig.org (Markus Prinz)
Date: Tue, 22 Jan 2008 15:40:39 +0100
Subject: [holy ruby programmers batman!] stability / lisp interpreter
In-Reply-To: <2d81dedb0801220602h3803d148n5a99368debc2357d@mail.gmail.com>
References: <2d81dedb0801212106g718b7968hea18c32e179dcee@mail.gmail.com>
<2A1516BA-8335-4A28-A520-00DB511052B2@qsig.org>
<2d81dedb0801220602h3803d148n5a99368debc2357d@mail.gmail.com>
Message-ID:
On 22.01.2008, at 15:02, Giles Bowkett wrote:
>>> [...] because based on code from a book I think it's probably pretty
>>> easy, or at least doable, to add a Lisp interpreter to IRB with
>>> Utility Belt.
>>
>> Would that book be "Practical Ruby Projects"?
>
> Yup. I've been playing with the MIDI code in it too. It's fantastic.
Yeah. I'm working through the part with the genetic algorithms right
now. Haven't tried out the MIDI code yet because the SimpleSynth
software that you need for OS X wasn't available back when I first
wanted to.
But it's a great book, and if you need/want some help implementing
that Lisp interpreter I'd be glad to help.
g, Markus
From gilesb at gmail.com Tue Jan 22 13:23:13 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Tue, 22 Jan 2008 10:23:13 -0800
Subject: [holy ruby programmers batman!] stability / lisp interpreter
In-Reply-To:
References: <2d81dedb0801212106g718b7968hea18c32e179dcee@mail.gmail.com>
<2A1516BA-8335-4A28-A520-00DB511052B2@qsig.org>
<2d81dedb0801220602h3803d148n5a99368debc2357d@mail.gmail.com>
Message-ID: <2d81dedb0801221023l50007f7cq9a243d844a98285c@mail.gmail.com>
> > Yup. I've been playing with the MIDI code in it too. It's fantastic.
>
> Yeah. I'm working through the part with the genetic algorithms right
> now. Haven't tried out the MIDI code yet because the SimpleSynth
> software that you need for OS X wasn't available back when I first
> wanted to.
Ah, OK. I've downloaded it - it gets the job done. But I prefer to use
Propellerhead Reason. :-) You can in fact plug it into any
MIDI-consuming app. I'm hoping to upgrade to Logic and/or Live soon.
> But it's a great book, and if you need/want some help implementing
> that Lisp interpreter I'd be glad to help.
Mos def.
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From gilesb at gmail.com Tue Jan 29 16:53:01 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Tue, 29 Jan 2008 13:53:01 -0800
Subject: [holy ruby programmers batman!] JRuby / Utility Belt: vi bug
Message-ID: <2d81dedb0801291353w439390e5uf8bf9662ff6adbc9@mail.gmail.com>
Hey all, just fyi:
http://gilesbowkett.blogspot.com/2008/01/utility-belt-jruby-vi-bug.html
Under JRuby, using Utility Belt to launch vi or emacs from within IRB has bugs.
I threw together a quick fix; it's in svn.
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com
From avdi at avdi.org Wed Jan 30 17:46:31 2008
From: avdi at avdi.org (Avdi Grimm)
Date: Wed, 30 Jan 2008 17:46:31 -0500
Subject: [holy ruby programmers batman!] String Pipe
Message-ID:
I went ahead and added my UNIX-style pipe operator for String
extension. From the file's documentation:
# This extension adds a UNIX-style pipe to strings
#
# Synopsis:
#
# >> puts "UtilityBelt is better than alfalfa" | "cowsay"
# ____________________________________
# < UtilityBelt is better than alfalfa >
# ------------------------------------
# \ ^__^
# \ (oo)\_______
# (__)\ )\/\
# ||----w |
# || ||
# => nil
#
--
Avdi
From gilesb at gmail.com Thu Jan 31 15:40:49 2008
From: gilesb at gmail.com (Giles Bowkett)
Date: Thu, 31 Jan 2008 12:40:49 -0800
Subject: [holy ruby programmers batman!] String Pipe
In-Reply-To:
References:
Message-ID: <2d81dedb0801311240o66a4235j99dcff78b9d2bfa2@mail.gmail.com>
Cool. :-)
On 1/30/08, Avdi Grimm wrote:
> I went ahead and added my UNIX-style pipe operator for String
> extension. From the file's documentation:
>
> # This extension adds a UNIX-style pipe to strings
> #
> # Synopsis:
> #
> # >> puts "UtilityBelt is better than alfalfa" | "cowsay"
> # ____________________________________
> # < UtilityBelt is better than alfalfa >
> # ------------------------------------
> # \ ^__^
> # \ (oo)\_______
> # (__)\ )\/\
> # ||----w |
> # || ||
> # => nil
> #
>
>
> --
> Avdi
> _______________________________________________
> Utilitybelt-tinkering mailing list
> Utilitybelt-tinkering at rubyforge.org
> http://rubyforge.org/mailman/listinfo/utilitybelt-tinkering
>
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com