#emc-devel | Logs for 2008-04-18

Back
[01:22:12] <SWPadnos_> SWPadnos_ is now known as SWPadnos
[01:23:06] <CIA-30> EMC: 03cradek 07TRUNK * 10emc2/src/hal/components/mux4.comp: typo
[01:23:56] <jmkasunich> hi cradek
[01:24:05] <cradek> hey
[01:24:21] <CIA-30> EMC: 03cradek 07TRUNK * 10emc2/src/hal/components/mux8.comp: mux8 component contributed by s. stevenson
[01:24:39] <jmkasunich> it seems when I created the "new-teleop" branch back in eary march I forgot to tag the branch point
[01:25:02] <jmkasunich> makes it a bit inconvenient to see what I actually changed in the branch
[01:25:44] <jmkasunich> I think I have it pinned down by date though
[01:25:58] <cradek> I never tag branch points
[01:26:11] <cradek> I don't know what cvs's problem is that it can't give you a diff for the branch
[01:26:35] <jmkasunich> maybe it can and my CVS skills are just rusty
[01:26:42] <cradek> cvs up -jbranch gives you just those changes ...
[01:26:58] <cradek> so you CAN get it by doing that on trunk and then doing a basic diff
[01:27:05] <cradek> so I bet there's a way
[01:27:36] <jmkasunich> what I'm actually trying to do is to move my work on the new-teleop branch to alex's joints_axes branch
[01:27:47] <cradek> oh, that's easy
[01:27:51] <jmkasunich> it doesn't make sense to have those two running in parallel
[01:28:02] <cradek> get his branch (cvs up -rhis) and then merge yours (cvs up -jyours)
[01:28:18] <jmkasunich> the last command is executed while inside his, right?
[01:28:21] <cradek> then fix the conflicts :-)
[01:28:21] <cradek> yes
[01:28:51] <cradek> cvs up -rhis sets sticky "his" branch tags on everything
[01:29:02] <jmkasunich> I already have a checkout of his branch
[01:30:03] <jmkasunich> jmkasunich@mahan:~/emcdev/emc2jointsaxes$ cvs up -jnew-teleop
[01:30:09] <jmkasunich> cvs [update aborted]: no such tag new-teleop
[01:30:36] <jmkasunich> I know the branch exists and that is its name: http://cvs.linuxcnc.org/cvs/emc2/src/emc/motion/command.c?graph=1
[01:30:40] <cradek> cvs log some-file, note how the tag is spelled
[01:30:55] <jmkasunich> duh
[01:31:02] <jmkasunich> telop not teleop
[01:31:06] <jmkasunich> staring me in the face
[01:31:55] <jmkasunich> 3 files with conflicts ;-(
[01:32:01] <cradek> not bad
[01:32:09] <jmkasunich> I only had changes in 5
[01:32:17] <cradek> they'll probably be minor
[01:33:25] <jmkasunich> heh, in at least 1 file its just the title block stuff
[01:33:35] <cradek> that's so irritating
[01:33:52] <cradek> I always just delete those stupid things when they bite me
[01:34:18] <cradek> Last Edited By: $Look at the log, moron$
[01:34:53] <cradek> now that it's too late, I think cvs up -kk -jyours would have prevented that mess
[01:36:10] <jmkasunich> 2 of the 3 were title blocks, one was real
[01:36:39] <jmkasunich> the last change stuff is useless
[01:37:01] <jmkasunich> I wonder though, it might be good to have the revision number in there - for the benefit of people who are using a tarball instead of a checkout
[01:40:38] <cradek> if we really care about that, we should put it in ident strings
[01:40:50] <jmkasunich> ident strings?
[01:41:05] <cradek> umm
[01:41:16] <cradek> man ident
[01:41:45] <jmkasunich> No manual entry for ident
[01:41:46] <cradek> that way you can get the information from a binary too
[01:42:05] <cradek> apt-get install rcs
[01:42:32] <jmkasunich> I'll pass on rcs
[01:43:03] <jmkasunich> the whole thing gets messy anyway - cvs and rcs both make versions on a per-file basis
[01:43:06] <cradek> http://netbsd.gw.com/cgi-bin/man-cgi?ident+1+NetBSD-current
[01:43:22] <jmkasunich> when you link a bunch of source files into one binary, which version would you use>
[01:43:24] <jmkasunich> ?
[01:43:35] <cradek> one version for each file
[01:44:57] <jmkasunich> I get it - each file would do something like "static (const char) *ver = "$blah""
[01:45:21] <cradek> yes
[01:45:41] <cradek> I still think it's kind of silly, but it would at least be maximally useful if we want to deal with the silliness
[01:45:59] <jmkasunich> well, we have a mix already, some files have it and some don
[01:46:02] <jmkasunich> 't
[01:46:13] <jmkasunich> I'm certainly not volunteering to go in and add it to all
[01:46:17] <jmkasunich> (or remove it from all)
[01:46:59] <cradek> for me it's only a minor annoyance and if I remember my -kk, it's no annoyance, only silly
[01:47:10] <cradek> so I guess I don't really care
[01:48:09] <jmkasunich> considering how much trouble I've had getting myself to work on emc lately, (as opposed to simply using it), I'm gonna work on things that matter a bit more
[01:49:06] <cradek> yay
[01:49:23] <cradek> the new jogging will be great
[01:50:10] <cradek> my concave comp stuff is 60% done. the rest is no fun. as you might predict, that means it has come to a standstill
[01:50:11] <CIA-30> EMC: 03jmkasunich 07joints_axes * 10emc2/src/Makefile: merge the 'new-telop' branch into 'joints_axes', two branches for such similar work is dumb
[01:50:15] <CIA-30> EMC: 03jmkasunich 07joints_axes * 10emc2/src/emc/motion/ (command.c control.c homing.c motion.h): merge the 'new-telop' branch into 'joints_axes', two branches for such similar work is dumb
[01:51:03] <jmkasunich> heh
[03:45:38] <SWPadnos_> SWPadnos_ is now known as SWPadnos
[06:08:55] <alex_jon1> cradek: yeah, but cvs up -jbranch doesn't give you a diff against the branchpoint
[06:09:02] <alex_jon1> it gives you a diff against the current version
[06:09:28] <alex_jon1> that's why I tag the branchpoint (in my mind I think it's easier to merge that diff to something else..)
[06:09:58] <alex_jon1> alex_jon1 is now known as alex_joni
[13:00:43] <cradek> alex_joni: I'm pretty sure you're incorrect about what cvs up -jbranch does
[13:01:42] <cradek> it determines the common ancestor, which is the branch point
[13:02:16] <cradek> I only wish you could ask cvs diff to calculate the common ancestor for you too
[13:13:12] <alex_joni> cradek: I have no idea what -jbranch does, but if it does what you say, then it's very nice
[13:13:15] <alex_joni> (and lots easier)
[13:49:56] <cradek> were you talking about diff or update/merge?
[13:50:22] <cradek> as far as I can tell, cvs does the right thing for update/merge but I can't figure out how to get a branch diff
[14:22:57] <jepler> I think I can write a program to create a mergepoint tag after the fact
[14:23:01] <jepler> if that would be helpful
[14:23:34] <jepler> it involves looking at the cvs log, finding the branch tag, and chopping off the last two parts (e.g., 1.8.0.6 becomes 1.8)
[14:23:57] <cradek> it was not needed in this case. what jmk really wanted was up -j, but he didn't know it was as easy as it is
[14:24:08] <cradek> he thought he had to produce a diff himself, and apply that
[14:24:13] <jepler> ok
[15:58:39] <jepler> I wrote it anyway, though I am too timid to test it. http://emergent.unpy.net/index.cgi-files/sandbox/make-branchpoint-tag.py
[15:59:41] <jepler> since actually running it would invoke cvs many many times, probably nobody else should actually run it either
[16:01:43] <seb_kuzminsky> mmmm, cvs
[16:02:33] <seb_kuzminsky> your script adds a tag at every branch?
[16:03:29] <jepler> it helps in the case where you created a branch tag but not a branchpoint tag; it's difficult to get a diff from the start of a branch till now unless you created a branchpoint tag
[16:04:03] <seb_kuzminsky> is it time for a revision control system flamewar yet? :-p
[16:04:39] <jepler> no. anyway, I don't think you'll find anybody who thinks that CVS is the best revision control system of all. It's merely the one we use.
[16:05:06] <seb_kuzminsky> have you seen launchpad? http://launchpad.net
[16:05:33] <jepler> yes?
[16:05:48] <seb_kuzminsky> it's like sf, but how you'd do it in 2006 instead of 1996...
[16:06:18] <seb_kuzminsky> might be worth at least talking about upgrading the project infrastructure
[16:12:40] <jepler> which parts of launchpad's functionality do you think would be particularly beneficial for us?
[16:14:58] <seb_kuzminsky> import of cvs trees, bzr integration (mostly useful to us for the branches), bugtracking, maybe the forums
[16:15:07] <seb_kuzminsky> but mostly import of cvs & then use of bzr
[16:16:21] <SWPLinux> considering that none (or one) of the developers uses bzr, I'm not sure it's a great advantage :)
[16:16:38] <SWPLinux> unless it really does a lot that cvs can't do (and that git and subversion also can't do)
[16:16:39] <seb_kuzminsky> heh
[16:16:53] <jepler> if we decided to change revision control methods, I would still prefer to self-host the main repository.
[16:17:02] <seb_kuzminsky> bzr does branches and merges well, like git and hg but unlike cvs and svn
[16:17:20] <seb_kuzminsky> jepler: you can still do that, launchpad will happily just have a url to your repo
[16:17:32] <seb_kuzminsky> in fact that's the normal mode, with optional mirroring at their site
[16:18:40] <seb_kuzminsky> there is no "main repo", there are only branches. branches can be anywhere (including at launchpad)
[16:19:06] <seb_kuzminsky> someone would host a branch we all agree to treat as special and call "TRUNK" or something
[16:19:19] <seb_kuzminsky> anyone wants to branch off that they just branch, storing their branch on their computer and/or at launchpad
[16:19:47] <seb_kuzminsky> if they want to share they can register their branch with the emc launchpad project, and others can see it, diff against it, merge from it, etc
[16:20:19] <jepler> I understand that there's not a special "main tree" to the bzr software, but there is by virtue of the project organization
[16:20:29] <seb_kuzminsky> i agree
[16:21:02] <seb_kuzminsky> the "main tree" of the emc2 project would be treated much like the TRUNK branch now, with strict access control and stuff
[16:22:23] <seb_kuzminsky> <shrug>
[16:27:15] <cradek> I think branches and merges is one of the things cvs does just fine. I use them all the time.
[16:34:21] <seb_kuzminsky> this conversation started when I went to look at jepler's script for branchpoint tagging... it struck me as a workaround for a deficiency in cvs
[16:37:35] <cradek> If the brancher wants that tag, he could create it when making a branch. Maybe it is only a training issue.
[16:38:08] <cradek> I might do that next time, not sure.
[16:46:04] <seb_kuzminsky> bbl
[17:06:20] <CIA-30> EMC: 03tissf 07TRUNK * 10emc2/docs/src/hal/drivers_fr.lyx: French translation update
[17:59:55] <rayh> I spoke with Roland of CNC-WORKSHOP fame last night. He has had some family and work related issues but promises to have the web page up and running by the middle of next week. They will begin accepting apps then.
[18:00:20] <SWPLinux> ok. thanks. I was wondering if things were all right
[18:00:36] <rayh>  He is most anxious to demonstrate the Mazak and has collected a bunch of tool holders. I believe that he plans to do the gcode and such for the milling and tapping of the motor mounts.
[18:01:28] <SWPLinux> oh - the guy who asked for someone to do a presentation at this conference lives in Peoria. he may pop out to the workshop
[18:02:15] <rayh> We will have space, much like last year for developer work as well as class and display/demo/work areas.
[18:02:31] <rayh> That would be great.
[18:03:02] <SWPLinux> well, gotta go prepare for the presentation. see you later
[18:03:04] <SWPLinux> :)
[18:03:16] <rayh> There you go.
[18:03:28] <SWPLinux> heh
[18:03:38] <SWPLinux> you going to the workshop this year?
[18:03:43] <rayh> Do we have any further recommendations about space and equipment that he provides.
[18:03:47] <rayh> Yes
[18:04:01] <SWPLinux> not at this instant, but maybe later
[18:04:17] <SWPLinux> this may be of interest to you: http://www.micromint.com/products/electrum200.html
[18:04:19] <rayh> The developer area was okay last year?
[18:04:31] <SWPLinux> they use linux+RTAI by defailt
[18:04:54] <SWPLinux> I think so. I can't think of what might have been better, other than a separate circuit for Aram's coffee maker :)
[18:05:28] <rayh> Ah okay. I'll bring a few 480->120 transformers.
[18:05:39] <SWPLinux> heh
[18:05:48] <SWPLinux> just get covers for them this time ;)
[18:05:49] <fenn> just ask, and ray will bring it
[18:06:04] <fenn> ray can we have some 100hp servo's to play with?
[18:06:29] <rayh> My car will be sitting as low as that honda you took the atlas home in.:)
[18:06:56] <rayh> I've got 25 hp.
[18:06:59] <SWPLinux> ok. really running now
[18:07:09] <rayh> JMK would be better for the big stuff.
[18:07:32] <rayh> I had it temporary. To prove a point at the shop.
[18:09:04] <rayh> Old style open frame motor. Not really good for serious servo except 30-120 percent of nameplate.
[18:10:24] <rayh> Do you think there would be an advantage to setting up a lab with 8-10 PCs networked to a Sherline or two?
[18:16:28] <fenn> 8 sounds like a lot, maybe 3 or 4
[18:17:20] <fenn> but if there's space, i dont see why not
[18:37:44] <rayh> Seems like it would allow us to run a whole bunch of workshops for small groups.
[18:38:31] <rayh> If we had one subnet server we could vnc into all of them and project any display.
[18:39:03] <cradek> rayh: did you see http://www.youtube.com/watch?v=mxxdq6y8z8M yet?
[18:39:15] <rayh> looking
[18:39:20] <cradek> I'm glad to hear you're coming back this year.
[18:40:59] <rayh> What no auto tool change?
[18:41:12] <rayh> Wow. That is some impressive motion.
[18:42:09] <cradek> the drilling at the end is canned cycles!
[18:42:24] <rayh> Does it properly move around the tool tip and allow tool length and diameter offsets?
[18:42:38] <cradek> length yes, diameter no
[18:43:29] <rayh> Certainly got the vector motion correct for drilling and such.
[18:44:16] <cradek> yes that's G17.1 G81 W-...
[18:44:24] <rayh> Fantastic work.
[18:44:25] <cradek> W is always along the tool vector
[18:45:45] <rayh> That is some really great stuff. Is it linked in the wiki and org.
[18:46:03] <cradek> don't think so. he just put it up this morning.
[18:47:18] <rayh> Wow. The features just keep coming.
[18:48:38] <rayh> That same setup would work well for the cable hexapod.
[18:49:22] <rayh> I'd bet NIST would loan it for the fest.
[19:04:09] <skunkworks> Wow.
[19:04:39] <skunkworks> that looks like something out of a sci-fi movie
[20:01:45] <alex_joni> hi rayh
[20:07:11] <rayh> Hi Alex.
[20:14:17] <alex_joni> what's up ray?
[20:15:02] <alex_joni> rayh: gotta run for 20 minutes.. talk to you later