#emc-devel | Logs for 2007-10-09

[02:16:29] <cradek> darnit jepler's advice is always better than mine.
[02:17:02] <jepler> you mean more wordy?
[02:17:08] <cradek> ha
[02:17:12] <cradek> you're very generous
[02:17:48] <jepler> hm, I was going to ask you for advice or help with something, but now I can't remember what..
[02:18:05] <cradek> well I get out of that easily then
[02:18:22] <jepler> indeed
[02:22:09] <cradek> jepler: now that I read it again, I don't see any reason to believe that sherline guy is using emc2
[02:22:17] <cradek> I'm pretty certain they still ship emc1 even today
[02:22:36] <cradek> so, he may have bigger problems with the rotary, but maybe g61 will help anyway
[02:26:33] <jepler> oh .. I dunno about that
[02:27:12] <cradek> well he has plenty of things to try.
[12:21:02] <jepler> cradek: I remember now -- I wanted to start getting the environment set up to remaster the 6.06 live CD
[12:36:00] <skunkworks> hmm my h-bridge also turns on the lower fets during the off cycle. I was worried about that also.
[12:36:29] <skunkworks> we will now call it a 'feature by design'
[12:37:56] <alex_joni> skunkworks: heh
[12:37:59] <alex_joni> jepler: need help?
[12:38:59] <alex_joni> https://help.ubuntu.com/community/LiveCDCustomization?action=show&redirect=LiveCDCustomization%2F6.06 <- that's what I always use
[12:42:44] <jepler> super(*p, **kw)
[12:42:49] <jepler> oops
[12:44:35] <jepler> alex_joni: thanks
[12:51:06] <alex_joni> jepler: np
[13:08:01] <cradek> jepler: ok I'll go back in time and make a tape, and bring it in to work this morning
[13:08:44] <jepler> cradek: great, that's very kind of you
[13:09:17] <cradek> alex's link is pretty much the idea though
[13:42:21] <jepler> cradek: is the .iso on linuxcnc.org the latest, or had you made any changes since then?
[13:43:15] <cradek> I think I added those dev packages
[13:44:55] <cradek> I'm not sure it's useful for you to figure out dapper, maybe you should use whatever newer distrib
[13:45:09] <cradek> I'm happy to make the "last" dapper cd
[13:46:46] <skunkworks> so - you guys have never gotten into fist fights?
[13:47:04] <cradek> who us?
[13:47:08] <skunkworks> you and jepler :)
[13:47:46] <cradek> I've gotten into short fist fights with various kinds of machinery, usually when using a crescent wrench or the like
[13:48:03] <skunkworks> heh
[13:48:11] <skunkworks> how is the bridgeport?
[13:48:24] <cradek> still sloppy, but reliable now
[13:48:43] <cradek> it's pretty worn but it's probably good enough for me
[13:48:51] <skunkworks> is the convertion on back burner?
[13:49:00] <jepler> fist fights? about what?
[13:49:50] <skunkworks> you guys seem to get along too well..
[13:53:20] <cradek> I think I outgrew fist fights about when I outgrew grade school
[13:53:56] <skunkworks> * skunkworks has never been in one..
[13:54:27] <cradek> better not, since you're over "arresting age"
[13:54:44] <cradek> which I think is about 12 now (it's going down)
[13:56:37] <skunkworks> right
[14:04:19] <fenn> nah they just start 'em off in prison and send them to prisons with progressively higher security
[14:10:30] <skunkworks> fenn: you mean public school?
[14:10:36] <skunkworks> ;)
[14:54:14] <jepler> should the documentation on http://linuxcnc.org/ try to "look like" the rest of the site? http://unpy.net/hi.html
[14:57:39] <cradek> it's beautiful!
[14:58:58] <jepler> unfortunately, I don't know any way to do it but manually synching the two
[14:59:20] <jepler> and some (many?) of the diagrams are wider than the content width on linuxcnc.org's joomla pages
[14:59:35] <SWPadnos> sed "s/old_style/new_style/g"
[14:59:37] <SWPadnos> :)
[14:59:41] <cradek> hm.
[15:00:12] <SWPadnos> it would be very nice if the joomla styles could allow for wider browser windows
[15:00:28] <SWPadnos> linuxcnc does suffer from the narrow internet problem
[15:01:18] <cradek> true.
[15:04:51] <fenn> i dont like the fixed width aspect of it
[15:04:58] <jepler> seems like joomla should have a module that can automatically wrap a HTML file with the current style...
[15:05:06] <fenn> but from the other direction :)
[15:05:22] <jepler> point it at the copy of the docs that is already on the same server, and say "put the banners and stuff around it"
[15:05:26] <jepler> bbl
[15:05:30] <SWPadnos> see ya
[15:05:48] <SWPadnos> if the docs were in the joomla database, I think it would do that
[15:06:12] <SWPadnos> I definitely don't want to synchronize between cvs and joomla though
[15:06:22] <SWPadnos> what a PITA that would be
[15:25:44] <cradek> does anyone know what lube a bp head requires? my book says the spindle bearings don't need any maintenance, but I have a rattle noise in low gear sometimes, seems like it needs something
[15:26:09] <cradek> especially with the quill all the way up and with light cutting load in low gear it rattles a bit
[15:26:46] <cradek> you'd really think there would be information about this in the manual, but it pretty much says to make sure the lube pump is full and don't worry
[15:37:43] <skunkworks> could it be lash in the drive spline?
[15:37:57] <skunkworks> how ever it works..
[15:40:48] <cradek> yeah that would make sense, it might be more worn near the bottom (quill up) because it was used there more
[15:41:15] <cradek> I bet it couldn't hurt to grease it up a bit
[15:41:19] <skunkworks> could be - yes
[15:41:42] <cradek> wish I had done that when it was apart though :-/
[15:41:57] <skunkworks> hind sight.
[15:44:15] <cradek> the other thing I could do, which is very little work, is not worry about it
[15:44:44] <cradek> I really only get it at the beginning and end of a heavy cut with a shell mill
[15:45:03] <cradek> once the shell is completely on the work it's quiet
[15:45:13] <skunkworks> I could see that - as the shell mill would get ahead of itself at the start and rattle.
[15:50:25] <cradek> last night I was figuring out tool length offset
[15:50:41] <cradek> if you use TLO, you can't set the Z plane except by moving the knee
[15:50:51] <cradek> you just get one or the other
[15:51:24] <SWPadnos> is that for EMC or the BP?
[15:51:28] <cradek> the bp
[15:51:29] <SWPadnos> phew
[15:51:57] <cradek> emc's really pretty good isn't it.
[15:52:13] <SWPadnos> that's a reasonable simplification of the code - tool lengths make it so a fully retracted quill is lower than 0
[15:52:37] <cradek> yeah I can see why they did it
[15:53:01] <cradek> I always wondered why using QUILL UP would nuke my Z offset
[15:53:14] <cradek> it replaces it with the one from the tool table (which happened to be 0)
[15:53:30] <SWPadnos> ah - that's a little weird
[15:53:35] <cradek> yeah
[15:54:17] <cradek> this makes it hard to have a tool table that you can just leave alone
[15:54:50] <cradek> if you have one very long tool, it means the zero for the normal tools takes up a lot of the quill travel
[15:55:32] <cradek> you can't tell it "for this job I won't use that long tool, so move all the tools up a couple inches"
[15:56:08] <cradek> instead you have to reset them all, starting with the longest tool for the job and the knee up to touch it
[15:57:10] <SWPadnos> hmm. ok, that is a bit weird
[15:57:17] <SWPadnos> more than a little
[15:57:30] <cradek> yeah I don't care for it much
[15:57:52] <cradek> but setting the length is easy, you jog down to touch something and push the TLO=Z button
[15:59:55] <SWPadnos> handy
[16:41:51] <jepler> SWPadnos: can you give me write access on /home/cncman/www.linuxcnc.org/modules ? I have groups=61242(pg167418),174740(linuxcnc) so giving group write access to that dir should do it
[17:11:46] <SWPadnos> I think so - lemme check
[17:12:52] <SWPadnos> jepler, try it now
[18:04:11] <jepler> SWPadnos: yes, looks good
[18:04:38] <SWPadnos> cool
[18:14:50] <alex_joni> this is a first
[18:15:04] <alex_joni> quite a lot more talk in scrollback on #emc-devel than on #emc :)
[18:15:21] <alex_joni> jepler: nice/beautiful touch on the docs
[18:15:49] <alex_joni> and I agree the width is somehow limiting..
[18:47:18] <jepler> SWPadnos: can I get the same treatment on /components ?
[18:50:16] <SWPadnos> yep
[18:51:26] <SWPadnos> ok
[19:36:24] <alex_joni> jepler: what are you working on?
[19:37:51] <alex_joni> trying to include the docs into joomla?
[19:38:18] <jepler> alex_joni: yes, but joomla and I do not think alike
[19:39:51] <alex_joni> * alex_joni found a component to include php's
[19:40:00] <alex_joni> it also does html (but in iframes.. yuck)
[19:42:19] <jepler> yeah iframes won't work -- it breaks use of anchors in links, for instance
[21:12:12] <alex_joni> SWPadnos: can you do groupwrite on includes/ aswell
[21:13:38] <SWPadnos> -R or not?
[21:14:21] <SWPadnos> done, no -R. let me know if that's necessary
[21:14:44] <SWPadnos> the others weren't recursive either
[21:15:09] <alex_joni> ok
[21:15:16] <SWPadnos> on a separate note, I now have a 6-channel 16-bit A/D converter running at 165 KSamples/second (on all channels simultaneously)
[21:15:18] <SWPadnos> woohoo!
[21:15:38] <alex_joni> didn't work
[21:15:40] <SWPadnos> I can get it to ~220 KHz, but that's out of spec for hte SPI port
[21:15:52] <alex_joni> I need +w on includes/sef.php
[21:16:03] <SWPadnos> ok, I'll do -R on all 3 dirs
[21:16:13] <alex_joni> no need for -R
[21:16:31] <SWPadnos> in case you need to be able to change other files
[21:16:42] <SWPadnos> (that's recursive, not minus read permission)
[21:17:21] <alex_joni> * alex_joni happens to know -R vs. -r
[21:17:25] <SWPadnos> figured ;)
[21:17:39] <alex_joni> seems to work now.. thanks
[21:17:40] <SWPadnos> I just changed sef.php individually - let me know if that worked
[21:17:41] <SWPadnos> ok
[21:18:07] <SWPadnos> ok. I'm going to get some food now that the A/D is working
[21:18:17] <SWPadnos> then I may have the energy to get the DAC to work
[21:18:44] <alex_joni> nice
[21:18:42] <SWPadnos> bbiab
[21:34:21] <alex_joni> anyone good with regexp?
[21:52:14] <SWPadnos> alex_joni, I'm not terrible at regexp
[21:52:25] <alex_joni> * alex_joni tries something else atm
[21:52:40] <SWPadnos> ok. I'll eat then
[21:53:00] <alex_joni> just for fun: http://www.linuxcnc.org/docview/
[21:53:07] <alex_joni> * alex_joni never managed to break it that hard before
[21:53:34] <SWPadnos> it's hard to tell how borken it is when you get nothing ;)
[21:53:49] <alex_joni> you get nothing?
[21:54:03] <alex_joni> Warning: Invalid argument supplied for foreach() in /home/.jared/cncman/www.linuxcnc.org/includes/sef.php on line 220
[21:54:06] <alex_joni> ‹
[21:54:08] <alex_joni> I got some really funky stuff
[21:54:11] <SWPadnos> nothing - only <html><body></body></html>
[21:54:43] <SWPadnos> and I don't know if that's real or a mozilla artifact
[21:55:27] <alex_joni> http://imagebin.org/10960
[21:55:44] <SWPadnos> luvvly
[21:55:47] <alex_joni> yeah :D
[21:56:32] <skunkworks> I get the linuxcnc home page.
[21:56:47] <SWPadnos> that's what I get in firefox as well
[21:56:59] <alex_joni> yeah, now
[21:57:01] <skunkworks> heh
[21:57:16] <skunkworks> fasted web auther in the west.
[22:06:19] <LawrenceG> SWPadnos: what a/d chips are you using?.... I would like to try a couple of LTC2206 with parallel interface to the mesa fpga
[22:06:31] <SWPadnos> AD7656
[22:06:54] <SWPadnos> analog devices, of course
[22:08:00] <LawrenceG> nice... 64lqfp must be a pain to do boards
[22:08:24] <SWPadnos> I had a proto house do it for me, which was its own set of pains
[22:08:44] <SWPadnos> I can solder those though, I just have to use the 1/64 tip
[22:10:13] <LawrenceG> http://www.microtelecom.it/perseus/Perseus-blkdiag.pdf some cool radio stuff... might work with mesa card... not sure what max clock rate would be
[22:10:56] <alex_joni> can someone test it now?
[22:11:02] <alex_joni> www.linuxcnc.org/docview/
[22:11:10] <LawrenceG> looking
[22:11:24] <SWPadnos> oooh - content! :)
[22:11:28] <skunkworks> looks like it is working.. :)
[22:12:04] <SWPadnos> some links are dead - is that expected?
[22:12:30] <alex_joni> the manpages links I think
[22:12:31] <skunkworks> the buttons on the top of each page are broken
[22:12:35] <alex_joni> * alex_joni is still working on that
[22:12:36] <skunkworks> heh
[22:12:38] <skunkworks> :)
[22:12:38] <SWPadnos> err - make that all he manpages I clicked
[22:12:38] <alex_joni> skunkworks: images are borken
[22:12:40] <SWPadnos> ok
[22:12:58] <alex_joni> SWPadnos: normal pages use href="link"
[22:13:02] <alex_joni> manpages use href=link
[22:13:37] <alex_joni> SWPadnos: here's where your regexp fits
[22:13:52] <LawrenceG> http://www.linuxcnc.org/docview/config/stepper/index.htmlstepper.html#tex2html5 type links seem broken as well
[22:13:56] <SWPadnos> uh - I mean that when I clcik e.g. the emc.1 link, I get a 404
[22:14:05] <alex_joni> SWPadnos: that's expected
[22:14:11] <SWPadnos> ok :)
[22:14:33] <alex_joni> * alex_joni looks at the stuff LawrenceG reported
[22:14:39] <LawrenceG> looks nice and easy to find stuff
[22:14:48] <alex_joni> SWPadnos: can you think of an regexp to match href=foo ?
[22:15:04] <alex_joni> I mean the 'href=' part, which isn't followed by a "
[22:15:17] <SWPadnos> hmmm. ok, I'll think about it
[22:15:37] <alex_joni> LawrenceG: what did you click to get that?
[22:16:09] <LawrenceG> one of the links on bottom of : http://www.linuxcnc.org/docview/config/stepper/index.html
[22:16:32] <SWPadnos> footnotes
[22:16:33] <LawrenceG> _1.2
[22:16:48] <alex_joni> bleah :D
[22:19:05] <skunkworks> bbl
[22:24:28] <LawrenceG> SWPadnos: I have been looking for an alternate high speed way in and out of the PC. Two ideas that come to mind are the audio pdif port and possibly a sata connection. The audio one is particularly interesting as its pretty easy to stream audio in and out
[22:25:18] <SWPadnos> it really depends on the kind of signal you want to stream in and out
[22:26:06] <SWPadnos> I thinkaudio cards are generally AC coupled, so they're not necessarily that useful as general-purpose A/Ds
[22:26:30] <LawrenceG> servo and bulk i/o come to mind.... not sure if there is any realtime access to the audio devices
[22:26:47] <SWPadnos> I think not much
[22:27:00] <SWPadnos> they're meant for programs to post a block of data and then go away
[22:27:03] <LawrenceG> idea is to use the digital audio interface so you have high speed bits streams
[22:27:41] <SWPadnos> those are PCM, so they're still best for slowly changing signals (I believe - it's been a while since I've looked at that stuff)
[22:28:46] <LawrenceG> I am not sure how many modern laptops have a digital connector.... it seems everything fun is being taken off laptops
[22:29:03] <SWPadnos> my new one has SPDIF
[22:29:37] <SWPadnos> old one does too, come to think of it
[22:29:39] <LawrenceG> coll... I'll try some more reading.... three are lots of cheap sound cards that have spdif
[22:29:43] <LawrenceG> cool
[22:31:09] <SWPadnos> then again, it also has an expresscard slot, which has much higher bandwidth ;)
[22:31:13] <LawrenceG> I can just imagine someone with a mega audio system starting emc and being blasted with a stream of i/o image bits!
[22:44:13] <alex_joni> hmm.. a bit better now
[22:44:22] <alex_joni> SWPadnos: anything on that regexp ? :P
[22:44:41] <SWPadnos> how does the link end?
[22:44:44] <SWPadnos> if it's not with a "
[22:45:31] <alex_joni> > I guess
[22:45:42] <alex_joni> <a href=link/to/foo>
[22:45:58] <SWPadnos> so you want to convert from that to the quoted version?
[22:46:01] <alex_joni> <A HREF=man/man3/hal_s32_t.3hal.html>hal_s32_t.3hal
[22:46:19] <alex_joni> I just want to replace HREF= with HREF=/my/magic/
[22:48:24] <alex_joni> I just searched/replaced href=man with href=/my/magic/man
[22:49:17] <SWPadnos> are you looking for a sed regexp that will do that automatically in the future?
[22:50:34] <alex_joni> I was looking for a regexp to call from php preg_replace (or something like that)
[22:50:39] <SWPadnos> ah
[22:51:14] <alex_joni> * alex_joni decides it's good enough for 2am
[22:51:33] <alex_joni> maybe jepler will look at it, and beautify it a bit more :)
[22:51:36] <SWPadnos> heh
[22:56:44] <alex_joni> I changed it to http://www.linuxcnc.org/docview/html/
[22:57:20] <SWPadnos> looks good to me
[22:57:42] <alex_joni> http://www.linuxcnc.org/docview/devel/html/hal_drivers.html
[22:57:48] <alex_joni> except really wide pictures :D
[22:57:57] <SWPadnos> heh
[22:58:02] <alex_joni> (and the pesky footnotes links at the bottom of the page)
[22:58:42] <SWPadnos> php should be able to use imagemagick to reduce the size of the images, but I'm not sure of all the pitfalls of that
[22:59:18] <alex_joni> SWPadnos: well.. ideally it would detect which images are larger than X*Y
[22:59:28] <SWPadnos> yep, that would be ideal
[22:59:34] <alex_joni> then it would create a smaller inline version, and a link to a larger image
[22:59:36] <SWPadnos> or just wider than X
[22:59:39] <SWPadnos> yep
[22:59:41] <alex_joni> yeah, that
[23:00:01] <alex_joni> * alex_joni wrote about 10 hours of php code in his whole life
[23:00:06] <SWPadnos> but then again, we (or at least I) would like it if the site were more "horizontally scalable"
[23:00:13] <SWPadnos> 8 in the last 8 hours? ;)
[23:00:22] <alex_joni> ok, make it 40
[23:00:37] <SWPadnos> I think I've written about 40 minutes of php
[23:00:39] <alex_joni> I only spent 2 hours on this (and jeff did the hard part I think)
[23:13:31] <alex_joni> * alex_joni decides it's enough for today
[23:13:36] <alex_joni> good night all