#linuxcnc-devel | Logs for 2014-06-19

Back
[07:37:54] <cradek> good job, whoever always gets the forum spams deleted so fast, thank you
[07:38:52] <alex_joni> must be JT
[09:44:11] <cradek> pcw_home: > I think the multi RTOS parts of ubc are going to be merged in 2.7
[09:44:25] <cradek> pcw_home: are you working on this? I'd love for it to happen but I don't know of anyone working on it.
[09:54:47] <archivist> memleak mentioned he would look at pulling some out for merging the other day
[09:57:09] <cradek> that would be great
[10:03:34] <cradek> if I was doing that, I would try to understand the final result and generate a coherent and minimal set of changes from that, instead of trying to understand (and keep) the git history
[10:15:13] <pcw_home> <seb_kuzminsky> at some point (hopefully in the 2.7 development cycle) we'll see what we can do about those other realtime kernels
[10:15:14] <pcw_home> I guess I interpreted this a bit optimistically
[10:23:51] <skunkworks> I am optimistic :)
[10:36:01] * seb_kuzminsky notes that invoking jepler's name makes magic happen...
[10:36:17] <skunkworks> is it just once - or 3 times?
[10:36:22] <seb_kuzminsky> heh
[10:36:43] <skunkworks> jepler, I only have the wine left..
[10:37:49] <skunkworks> I enjoyed all but 2 of the beers... (2 got shared with friends..)
[10:38:54] <pcw_home> but a beer shared is a beer enjoyed :-)
[10:39:00] <skunkworks> exactly
[11:04:13] <pcw_home> seb_kuzminsky: still interested in the 6 axis Hbridge for your robot arm?
[11:04:14] <pcw_home> I have a 7I54 proto, working but with a few patches that I can send you if you like
[11:05:03] <pcw_home> (7I54 is 6 axis 3A 40V HBridge, 6 encoder inputs)
[11:06:06] <skunkworks> hmm - I think the puma has 300w servos..
[11:06:19] <skunkworks> or is it 600w
[11:06:26] <skunkworks> wonder where I have that info
[11:07:33] <pcw_home> This is just for tiny motors
[11:07:54] <skunkworks> I guess :)
[11:08:26] <pcw_home> 3A peak at 40V is for maybe a 30-40W motor max
[11:10:30] <pcw_home> 300W seems about right for the Puma
[11:17:29] <jepler> skunkworks: glad you enjoyed and shared
[11:18:51] <jepler> skunkworks: did you have a favorite? and if so, did it have a label so you knew what it was?
[11:27:35] <seb_kuzminsky> pcw_home: ooh, yes please!
[11:29:54] <pcw_home> OK will send (It needs a 7I48 pinout bit file)
[11:36:46] <skunkworks> they all where good - the one that stands out is the only one in the can...
[11:41:05] <seb_kuzminsky> my robot arm has 12V, 2A servos
[11:45:43] <pcw_home> If they are 2A continuous the 7I54 may be a bit undersized but should work
[12:27:02] <seb_kuzminsky> i like the new patch from Tran Ngoc Quan better than the previous one
[12:27:11] <seb_kuzminsky> does anyone know which of our platfgorms have /usr/bin/see?
[12:28:23] <pcw_home> Ubuntu 12.04 has it
[12:28:40] <seb_kuzminsky> wheezy has it
[12:29:05] <seb_kuzminsky> hardy has it
[12:29:16] <archivist> 8.04 has something aliased to the name
[12:29:17] <seb_kuzminsky> and lucid has it
[12:29:29] <archivist> run-mailcap, see, edit, compose, print - execute programs via entries in the mailcap file
[12:29:49] <seb_kuzminsky> yeah, /usr/bin/see is an alias for mime-support's run-mailcap
[12:30:26] <archivist> I did a "man see" on this old box
[12:30:26] <seb_kuzminsky> we already use it for our pdf doc shortcuts
[12:31:51] <seb_kuzminsky> guess that means we should depend on mime-support too
[12:50:35] <IchGuckLive> hi someone can make me a new page on the http://wiki.linuxcnc.org Steppers and Ballscrew combin
[12:50:51] <IchGuckLive> im not getting behind that system ;-)
[12:51:02] <IchGuckLive> i can edit a page but not generate a new
[12:51:37] <seb_kuzminsky> IchGuckLive: you can create new pages by just going to them:
[12:51:39] <seb_kuzminsky> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?SteppersAndBallscrews
[12:52:33] <IchGuckLive> thanks
[12:53:04] <seb_kuzminsky> sure
[12:56:37] <IchGuckLive> isent the mascot pingu
[12:57:30] <skunkworks> chips
[12:57:47] <IchGuckLive> ok
[13:36:02] <cradek> seb_kuzminsky: I use "see" all the time. I even have a custom mailcap so it does what I want. Using that is an appealing idea.
[14:15:46] <seb_kuzminsky> cradek: good to hear, thanks
[14:16:03] <seb_kuzminsky> you want it in 2.5?
[14:20:14] <cradek> nah
[14:20:18] <seb_kuzminsky> k
[14:20:19] <cradek> no need, I bet
[14:24:12] <pcw_home> see is busted in precise (mailcap broken when you add imagemagic)
[14:25:01] <seb_kuzminsky> whoops
[14:29:23] <seb_kuzminsky> on my precise system (with imagemagick installed), "see gcode.html" ends up running /usr/bin/sensible-browser
[14:29:43] <seb_kuzminsky> (i found this out by running "see --norun --debug gcode.html")
[14:30:40] <seb_kuzminsky> sensible-browser runs $BROWSER if set, and falls back to gnome-www-browser, then x-www-browser, then "terminal-emulator www-browser"
[14:31:40] <seb_kuzminsky> pcw_home: what happens when you run 'see gcode.html' on your busted system?
[14:33:05] <pcw_home> Same thing, but I had patched mailcap
[14:33:35] <pcw_home> does see something.png work for you?
[14:40:27] <seb_kuzminsky> checking...
[14:41:38] <seb_kuzminsky> i think if it works for .html and .pdf, with an unmodified mailcap, then we're fine
[14:46:31] <seb_kuzminsky> "see foo.html" pops up firefox
[14:46:49] <seb_kuzminsky> "see foo.png" pops up something called gThumb, which shows the png
[14:49:49] <pcw_home> maybe the imagemagic package was fixed in the interim (I must have installed it a long time ago)
[14:54:33] <seb_kuzminsky> i have version 8:6.6.9.7-5ubuntu3.2 on my machine
[14:54:43] <seb_kuzminsky> that's even more of a mouthful than our version numbers
[14:55:45] <seb_kuzminsky> bummer, pdfs dont work on my precise vm
[14:56:00] <seb_kuzminsky> Error: no "view" mailcap rules found for type "application/pdf"
[14:56:27] <seb_kuzminsky> "gnome-open foo.pdf" pops up evince right away :-/
[14:56:47] <cradek> gnome NIH'd mailcap?
[14:57:09] <cradek> (fwiw, I have evince rules in my ~/.mailcap)
[14:57:13] <cradek> but I'm a wizard
[15:00:14] <pcw_home> I have the same issue with pdf's looks to be a evince installer bug (like the imagemagic bug)
[15:00:24] <seb_kuzminsky> le sigh
[15:00:59] <seb_kuzminsky> don't our current desktop shortcuts to the pdf docs use see? how is that working? (or is it broken and we just dont know about it?)
[15:01:36] <pcw_home> maybe ok in 10.04 dont know
[15:08:17] <seb_kuzminsky> yep, at least on this machine, the shortcuts in the "CNC" menu dont work
[15:08:30] <seb_kuzminsky> i think it might be an old lucid VM that i upgraded to precise?
[15:08:47] <seb_kuzminsky> err, the pdf shortcuts dont work, but the html ones do
[15:09:07] <cradek> but I don't think we ship html docs?
[15:09:15] <cradek> oh we do ship the quickref
[15:09:20] <seb_kuzminsky> yeah quickref
[15:09:40] <seb_kuzminsky> hm, it wants to upgrade 652 packages, hold on
[15:25:42] <mozmck> I've had problems with pdfs not opening properly... I think it has to do with the order the handlers are listed in the mimetypes file.
[15:27:12] <mozmck> I forget all the details right now...
[15:47:02] <mozmck> I had not heard of "see" until now - when I was having similar problems the info I found directed me to /usr/share/applications/defaults.list
[15:48:43] <mozmck> also ~./local/share/applications/mimeapps.list and default.list
[15:51:33] <seb_kuzminsky> after upgrading everything, html & png still work with see, but pdf still doesn't work with see
[15:51:44] <cradek> /usr/sbin/update-mime --local; edit ~/.mailcap however you like
[15:52:04] <seb_kuzminsky> does clicking on the pdf docs in the menu work for anyone?
[15:52:14] <cradek> it did on sam's machine last weekend
[15:52:27] <cradek> I suppose it was a standard lucid install
[15:53:01] <cradek> I remember we looked for tool change setting stuff in there
[15:56:45] <mozmck> I think if you check and fix /usr/share/applications/defaults.list see will work.
[15:57:27] <seb_kuzminsky> i'm not interested in making it work for me on my computer, i want to figure out how to make it work for everyone on every computer (without following a recipe on a wiki page or anything like that)
[15:58:55] <mozmck> call evince directly?
[15:59:01] <cradek> your problem with the menu links to the pdfs is on precise?
[15:59:50] <cradek> mozmck: evince is not installed by default on wheezy+xfce
[16:00:13] <mozmck> hmm, what pdf reader is there?
[16:00:28] <cradek> there's a system-independent way of doing this, but unfortunately it's been invented several times
[16:01:50] <mozmck> Well, if the mime info for the system is broken is there really a good way to do it? My system was using gimp to open pdfs until I fixed the mime stuff.
[16:02:51] <cradek> yep that's the question
[16:03:01] <cradek> gnome invented their own way
[16:03:15] <cradek> debian invented a third way
[16:03:21] <cradek> there are probably more
[16:03:28] <cradek> if one works on all the platforms we care about, we win
[16:05:09] <mozmck> isn't the gnome way compliant with the freedesktop.org specification? Seems like all the major desktops are supporting that now from what I can tell.
[16:06:22] <cradek> gnome-open does work on my wheezy/xfce system
[16:08:52] <seb_kuzminsky> gnome-open opens pdf, html, and png on my precise vm
[16:09:47] <cradek> mozmck: is it also the same freedesktop.org spec that lets us put our menu droppings in one standard place, and they magically appear on the menu in various desktop environments?
[16:10:16] <cradek> ('cause if so, using the matching open-the-whatever method is probably the winner)
[16:10:37] <mozmck> I would guess so. I'm no expert on it for sure!
[16:10:44] <mozmck> http://standards.freedesktop.org/mime-apps-spec/latest/index.html
[16:10:53] <cradek> well I bet you're the expert here :-)
[16:11:01] <mozmck> http://freedesktop.org/wiki/Specifications/
[16:11:27] <mozmck> I've looked at it a little trying to figure out where to find and fix things :)