#emc | Logs for 2006-04-17

Back
[04:43:54] <CIA-4> 03jmkasunich 07HEAD * 10emc2/src/emc/usr_intf/Submakefile: added a missing ifdef - somebody must not have tested their makefile change ;-)
[05:59:34] <CIA-4> 03jmkasunich 07HEAD * 10infrastructure/farm-scripts/check_commit: added comments and logging output
[06:12:32] <wholepair> alex_joni: are you around?
[06:13:10] <jmkasunich> I hope not
[06:13:25] <jmkasunich> if he is awake, it means I should have gone to bed already
[06:16:19] <wholepair> Maybe I should go to bed aswell - Alex was helping me settup the puppy-linux coolcnc EMC2 for running a 3axis stepper mill - we were about to set up the e-stop io
[06:16:58] <jmkasunich> dunno where you are, alex is in romania
[06:17:06] <jmkasunich> it is about 8am there
[06:18:38] <wholepair> Im in Eugene Oregon - west coast of US - its 11:30pm here... If I go to bed now and wake up early maybe I can catch him before I have to go to work.
[06:18:47] <jmkasunich> maybe
[06:18:59] <jmkasunich> I'm on the east coast and should be asleep
[06:19:58] <wholepair> it's like 4am there - right
[06:20:04] <jmkasunich> 2:19
[06:20:08] <wholepair> oh
[06:20:51] <wholepair> This is what Im doing - http://www.bikegeeks.com/EMC2_Configuration/ -
[06:21:10] <jmkasunich> sorry, I'm deep in some coding, then I have to sleep before getting up for work
[06:21:35] <jmkasunich> I can probalby help you this evening (after 9 east coast, 6 your time)
[06:21:50] <wholepair> what are you coding for? - I wont ask any questions after this one...
[06:22:02] <jmkasunich> bash scripts for the emc compile farm
[06:24:55] <wholepair> I have plans Monday night - but thanks for the offer - good luck with your coding - I will look for alex_joni in the morning - thanks for working late - I look forward to getting my machine running on EMC2 - Mach2 and TurboCNC are a pain sometimes... goodnight
[06:25:06] <jmkasunich> goodnight
[06:26:32] <CIA-4> 03jmkasunich 07HEAD * 10infrastructure/farm-scripts/ (run_farm loop_farm trees): removed loop_farm (no longer used) and trees (now slot specific)
[06:41:10] <CIA-4> 03jmkasunich 07HEAD * 10infrastructure/farm-scripts/ (check_cvs fail.png pass.png run_farm): added images for pass and fail
[06:44:25] <CIA-4> 03jmkasunich 07HEAD * 10infrastructure/farm-scripts/ (build index.shtml results_web): remainder of new farm scripts
[06:48:14] <CIA-4> 03jmkasunich 07HEAD * 10infrastructure/farm-scripts/README: added document with instructions for setting up a farm slot
[06:48:48] <alex_joni> morning
[06:48:54] <jmkasunich> arg
[06:48:56] <alex_joni> jmkasunich: you are really late ;) and so am I
[06:49:03] <alex_joni> should have gotten up 2 hours ago
[06:49:10] <alex_joni> it's 10 am, and I just got to work :D
[06:49:27] <jmkasunich> I wish I could do that
[06:53:18] <alex_joni> well.. I usually stayed till 8pm last week
[06:53:23] <alex_joni> so I guess you don't want that
[06:53:27] <jmkasunich> no
[06:53:30] <alex_joni> ;-)
[06:58:25] <jmkasunich> alex: http://linuxcnc.org/compile_farm/
[06:58:26] <CIA-4> 03jmkasunich 07HEAD * 10infrastructure/farm-scripts/README: more notes added to the documentation
[06:58:31] <jmkasunich> no functional differences, yet
[06:58:42] <jmkasunich> but the underlying scripts are much cleaner
[06:58:57] <jmkasunich> and I should be able to add CIA and/or list results pretty easily tomorrow
[06:59:13] <jmkasunich> I set up "slot 7" on this box
[06:59:26] <jmkasunich> the others will be on that page as soon as I copy the new scripts to them
[07:04:31] <alex_joni> yay
[07:09:55] <alex_joni> looking better ;)
[07:10:14] <alex_joni> jmkasunich: still there?
[07:11:32] <jmkasunich> yeah
[07:11:38] <jmkasunich> (was over by the farm
[07:13:49] <alex_joni> ok, was thinking about a joomla page which holds some small results of the cf farm
[07:13:58] <alex_joni> along with links to http://linuxcnc.org/compile_farm/
[07:15:21] <jmkasunich> look at the source for the page
[07:15:33] <jmkasunich> where you see "no results for this slot", that is a server side include
[07:16:04] <jmkasunich> the results for each slot are in a small file called emc2head_slot7.ssi
[07:16:22] <jmkasunich> you can build a table on any page, and use SSI to include the same results
[07:16:42] <jmkasunich> look at infrastructure/farm-scripts/index.shtml for the syntax
[07:16:49] <Jymm> SSI?! <--- old skool
[07:17:00] <jmkasunich> you could build a table that reports only emc2, for instance....
[07:17:16] <jmkasunich> Jymmm <---- smart-aleck
[07:17:36] <Jymm> SSI, circa 1980's
[07:19:22] <CIA-4> 03jmkasunich 07HEAD * 10infrastructure/farm-scripts/build: fixed up leftovers from a name change
[07:29:59] <alex_joni> jmkasunich: yeah, I've already seen that..
[07:39:02] <CIA-4> 03jmkasunich 07HEAD * 10infrastructure/farm-scripts/results_web: remove some debugging code
[07:39:29] <CIA-4> 03jmkasunich 07HEAD * 10infrastructure/farm-scripts/run_farm: remove some debugging code
[07:57:25] <alex_joni> jmkasunich: you really should head to sleep
[07:57:31] <jmkasunich> soon
[07:59:05] <alex_joni> jmkasunich: any reason in favour for SSI, but against php include?
[07:59:20] <CIA-4> 03jmkasunich 07HEAD * 10infrastructure/farm-scripts/index.shtml: removed 'testing' note from main results page
[07:59:22] <jmkasunich> simpler
[08:00:00] <jmkasunich> the original scheme involved the slots reading/modifying/writing the page, it was vulnerable to race conditions, etc
[08:00:21] <jmkasunich> this approach means no code running on the server, but each slot's results are independent of the main page
[08:00:34] <jmkasunich> php would require code in the server, I think
[08:00:38] <Jymm> actually... php include can be dynamic, ssi is fixed.
[08:00:54] <Jymm> php includes are VEY fast
[08:00:59] <Jymm> VERY
[08:01:07] <jmkasunich> and ssi aren't?
[08:01:24] <Jymm> ssi are not dymanic
[08:01:34] <jmkasunich> says who?
[08:02:14] <jmkasunich> when a farm slot finishes, it overwrites <tree>_slot<number>.ssi with the new results, and the next refresh of the page will fetch those results
[08:02:16] <Jymm> <?php if ($whatever){include($blah)} else {include ($bar);}
[08:02:21] <Jymm> ?>
[08:02:47] <jmkasunich> doesn't buy me anything for what I'm trying to do
[08:03:09] <Jymm> but your thinking NOW, not anything in the future.
[08:03:35] <jmkasunich> its too fscking late to argue about it
[08:03:46] <alex_joni> <?php include("file") ?>
[08:03:49] <alex_joni> that's it ;)
[08:03:49] <Jymm> There's no argument at all.
[08:03:56] <jmkasunich> both in terms of "its already done this way" and "its 4 am"
[08:04:07] <alex_joni> jmkasunich: ok ;) will save it for some other time
[08:04:35] <jmkasunich> alex: what does the php do if the file isn't found?
[08:07:22] <Jymm> include() produces a Warning, but can be supressed.
[08:07:43] <jmkasunich> I did that with the SSI, so missing slots just disappear
[08:09:00] <jmkasunich> if changing to php doesn't require changes in the file thats included, I guess I have no problem with that
[08:09:36] <Jymm> The file has to have the ext of .php instead of .html
[08:09:59] <jmkasunich> the master file, not the included files, right?
[08:10:08] <Jymm> correct
[08:10:31] <alex_joni> yeah, but it shouldn't matter
[08:10:32] <Jymm> or you can charnge the servers addtype handler
[08:10:34] <alex_joni> as it's index.php
[08:10:41] <alex_joni> so it won't show up in the URL
[08:10:53] <jmkasunich> ok, somebody write up a php file that works with the included files I have already, and I'll take a look and maybe replace index.shtml with it
[08:11:19] <alex_joni> ;)
[08:11:28] <alex_joni> jmkasunich: we'll worry some other time.. go to bed
[08:11:29] <jmkasunich> each included file is just four <td> entries
[08:12:07] <jmkasunich> write a table with the magic php stuff in the <!-- no results for this slot --> spaces, and it should work
[08:15:40] <Jymm> <?php $row = ($results) ? 'No results for this slot' : $results; //just a ternary example ?>
[08:16:06] <Jymm> err reverse those around
[08:16:08] <Jymm> =)
[08:16:27] <Jymm> <?php $row = ($results) ? $results : 'No results for this slot'; //just a ternary example ?>
[08:16:58] <Jymm> (condition) ? if TRUE : If FALSE;
[08:17:26] <Jymm> Or my favorite example of ternary....
[08:18:04] <Jymm> $gender = ($has_penis) ? 'Male' : 'Female';
[08:42:10] <chinamill> Tjena Lerneaen_Hydra
[08:45:12] <alex_joni> tjena chinamill
[08:45:13] <alex_joni> :P
[08:47:08] <Lerneaen_Hydra_> chinamill: Är det en till svensk jag ser här?
[08:47:13] <chinamill> alex_joni: Kan du svenska?
[08:47:41] <chinamill> LH: Jag kan spr�ket iaf.
[08:48:40] <Lerneaen_Hydra_> chinamill: Bor utomlands?
[08:49:27] <chinamill> alex_joni: I have been working some to prepare for discussion about THC, I'll get back to you when I have something to show.
[08:49:45] <chinamill> LH: Jag f�rs�ker....
[08:54:26] <Jymm> Jymm is now known as Jymmmm
[09:28:47] <Lerneaen_Hydra_> Is there any way in Linux to mount a directory in an FTP server as a local folder?
[09:31:23] <chinamill> LH: Do you have root rights at the box of the FTP server?
[09:31:34] <Lerneaen_Hydra_> yes
[09:31:50] <Lerneaen_Hydra_> well, the ftp server is running windows
[09:32:05] <Lerneaen_Hydra_> although that shouldn't matter
[09:32:39] <chinamill> Maybe you can try Samba (and a shared folder at the root of the FTP)
[09:32:44] <alex_joni> samba mount works
[09:32:46] <alex_joni> ftp doesn't
[09:32:53] <alex_joni> because of the ftp protocol
[09:33:05] <Lerneaen_Hydra_> I would rather not have to get samba just for this, as I wouldn't have any other use for it
[09:33:26] <Jymmmm> FTPFS
[09:35:21] <Jymmmm> err http://lufs.sourceforge.net/lufs/
[09:36:21] <Lerneaen_Hydra_> Jymmmm: I'll take a look at that
[09:36:38] <Jymmmm> LUFS replaces FTPFS
[09:40:32] <Lerneaen_Hydra_> Lerneaen_Hydra_ is now known as Lerneaen_Hydra
[09:50:41] <Lerneaen_Hydra> What is the minimum supported radius in EMC? Becuase it complains when doing radii around the size of 0.05mm (not sure how to fix this, as this is output from CAM software, Edgecam. If anyone happens to have a codegen I would be very glad as I have next to no experience in making them, and I am trying to get one to work)
[09:52:31] <alex_joni> there isn
[09:52:43] <alex_joni> there isn't really a minimum, but the radius needs to make sense
[09:52:48] <alex_joni> can you output the lines?
[09:53:09] <Jymmmm> Lerneaen_Hydra did you specify a particular tool diameter (assuming an inside corner)?
[09:53:34] <Lerneaen_Hydra> no, this is center-of-tool programming
[09:55:08] <Lerneaen_Hydra> it says that the error is "near line 2086" and the arc radius is too small to reach endpoint. maybe a floatingpoint roundoff error?
[09:55:32] <Lerneaen_Hydra> line 2086 is "N2086 G2 X-0.561 Y-20.386 R0.735"
[09:55:40] <Lerneaen_Hydra> and before and after are:
[09:55:59] <Lerneaen_Hydra> "N2085 X-1.128 Y-19.96 R20.241" "N2087 G1 X-0.249 Y-21.081"
[09:56:40] <Lerneaen_Hydra> about 20 lines earlier are the very small radii turns, with a radius of 0.05mm
[09:57:04] <Jymmmm> you're mixing in/mm in the gcode?
[09:57:20] <Lerneaen_Hydra> No, I don't think I am
[09:57:27] <Jymmmm> ok, just asking =)
[09:57:31] <Lerneaen_Hydra> I shouldn't be in any case
[09:58:20] <Jymmmm> heh, I read R0.735" as a little under 3/4 of an inch =)
[10:00:13] <Jymmmm> G'Night Folks!
[10:10:21] <chinamill> LH: What is the error output from EMC?
[10:13:14] <Lerneaen_Hydra> Near line 2086 of <file>: arc radius too small to reach end point
[10:21:13] <chinamill> It is some work, but you can draw the tool path in a cad application to see if the radius is possible
[10:31:20] <Lerneaen_Hydra_> chinamill: Jag verkar inte vara det
[10:32:24] <Lerneaen_Hydra_> chinamill: the output is from a cam application, and I have run the program in another CNC machine, so I don't think that it is the fault of edgecam
[10:34:03] <chinamill> LH: Some g-code interpreters are more forgiving then others
[10:55:44] <chinamill> * chinamill is away: lunch
[11:13:45] <chinamill> * chinamill is back
[11:14:13] <chinamill> alex_joni: Are you there?
[11:18:34] <Lerneaen_Hydra_> Lerneaen_Hydra_ is now known as Lerneaen_Hydra
[11:44:24] <jepler> CHK(((half_length / abs_radius) > (1 + TINY)),
[11:44:24] <jepler> NCE_ARC_RADIUS_TOO_SMALL_TO_REACH_END_POINT);
[11:45:28] <jepler> Lerneaen_Hydra: that's the calculation in emc which is giving the error for your arc
[11:45:44] <jepler> TINY is defined to 1e-12. I don't quite understand what the calculation is doing, though.
[21:06:55] <alex_joni> logger_aj: bookmark
[21:06:55] <alex_joni> See http://81.196.65.201/irc/irc.freenode.net:6667/emc/2006-04-17#T21-06-55
[21:07:16] <SWPadnos> hmmm - for some reason, the logs of #emc get downloaded, but #emc-devel get correctly displayed in mozilla
[21:07:29] <SWPadnos> (both the .txt versions)
[21:08:06] <alex_joni> SWPadnos: try again
[21:08:16] <fenn> mime types seem to cause more of a headache than they fix
[21:08:45] <SWPadnos> nope - crappy notepad window that doesn't understand UNIX line endings
[21:08:51] <alex_joni> lol
[21:08:56] <SkunkWorks> wordpad works.
[21:09:02] <alex_joni> I open them with opera
[21:09:10] <SWPadnos> yet in the emc-devel directory, they download fine ...
[21:09:14] <alex_joni> and when I get a download I still use opera to display
[21:09:22] <SWPadnos> (ie - they get displayed in a mozilla window)
[21:09:26] <alex_joni> odd
[21:09:32] <alex_joni> nothing different afaik
[21:09:42] <SWPadnos> I thought so, since the mime type should be the same for .txt files in either dir
[21:09:53] <SkunkWorks> working fine here.
[21:09:55] <SkunkWorks> also
[21:10:09] <SWPadnos> maybe mozilla is being stupid with cache or something - let me try a different file
[21:10:23] <SWPadnos> nope
[21:10:30] <alex_joni> http://81.196.65.201/irc/irc.freenode.net:6667/emc/2006-04-13.txt <- that works ok
[21:10:33] <SkunkWorks> oops - this is in IE - thats a first.
[21:10:34] <alex_joni> at least here
[21:10:43] <SkunkWorks> :)
[21:10:47] <SWPadnos> yep - that one is fine
[21:11:04] <alex_joni> but only that one .. very strange
[21:11:53] <fenn> try shaking it violently and see if any dust-weasels fall out
[21:13:43] <alex_joni> it's been blown with compressed air
[21:13:47] <SkunkWorks> I would not do that unless you have something to put the dust-weasels in. They make a mess out of carpeting.
[21:13:51] <alex_joni> maybe they are shaker proof
[21:13:58] <SWPadnos> can you check to see if the filenames have a trailing space or something?
[21:14:37] <alex_joni> -rwxrwxrwx 1 root root 45777 2006-04-14 02:42 2006-04-13.rdf
[21:14:37] <alex_joni> -rwxrwxrwx 1 root root 9237 2006-04-14 02:42 2006-04-13.txt
[21:14:37] <alex_joni> -rwxrwxrwx 1 root root 28548 2006-04-15 02:06 2006-04-14.rdf
[21:14:37] <alex_joni> -rwxrwxrwx 1 root root 6018 2006-04-15 02:06 2006-04-14.txt
[21:14:37] <alex_joni> -rwxrwxrwx 1 root root 160187 2006-04-16 00:15 2006-04-15.rdf
[21:14:39] <alex_joni> -rwxrwxrwx 1 root root 36726 2006-04-16 00:15 2006-04-15.txt
[21:14:41] <SWPadnos> they seem to be fine from 4/13 and back, but not later
[21:14:41] <alex_joni> -rwxrwxrwx 1 root root 55873 2006-04-17 02:22 2006-04-16.rdf
[21:14:44] <alex_joni> can't see anything
[21:14:54] <SWPadnos> me either ;)
[21:15:16] <alex_joni> eh, whatever
[21:15:23] <alex_joni> * alex_joni stops caring ;)
[21:15:30] <SWPadnos> did you change the script?
[21:15:36] <alex_joni> I changed the PC
[21:16:07] <alex_joni> and URI
[21:16:34] <SWPadnos> I noticed the cahnged IP address
[21:16:36] <SWPadnos> changed
[21:16:45] <alex_joni> yup, different box & all
[21:17:26] <jepler> for both files, 'wget' says the server gives the type as text/plain; the "open with" dialog in my firefox implies the same.
[21:17:38] <alex_joni> yup, same here
[21:17:53] <jepler> so I'd call it a firefox bug
[21:18:02] <alex_joni> but I'm using Opera, not firefox ;)
[21:18:12] <jepler> I'd call that an alex_joni bug
[21:20:29] <alex_joni> yay, I have a bug of my own
[21:20:37] <alex_joni> I'll feed it regularely
[21:20:56] <fenn> feed it to the dust weasels
[21:21:11] <SWPadnos> alex_joni.sleep(28800) helps, I hear
[21:21:54] <alex_joni> 28800 ? you kidding me?
[21:23:08] <alex_joni> * alex_joni doesn't accept decimals :)
[21:23:34] <SWPadnos> it's only 8 hours - that's good for a week
[21:24:04] <alex_joni> yeah, might be enough
[21:26:40] <alex_joni> are you guys still missing something from solaris.cs.utt.ro ?
[21:26:45] <alex_joni> that box will slowly die out..
[21:45:22] <alex_joni> good night all
[21:50:26] <dmessier> bonjour tous
[22:29:05] <logger_2> * logger_2 is logging
[22:37:04] <Jymmmm> les_w ?
[23:12:49] <cradek> jepler: didn't you put the XEmc resources in head somewhere? I thought you had it working
[23:31:16] <jepler> cradek: I thought so too. I put them in the 'app-defaults' directory. Did you update with -d?
[23:31:51] <cradek> chris@buster2:~/emc2.head$ grep up ~/.cvsrc
[23:31:51] <cradek> cvs up -dP
[23:31:56] <cradek> this must not do what I think it does
[23:32:17] <jepler> sounds right to me
[23:32:31] <jepler> do you have the app-defaults directory?
[23:32:35] <cradek> no
[23:34:03] <jepler> maybe I did something wrong when I added it
[23:34:23] <cradek> no, it showed up with cvs up -dP
[23:46:32] <SWPadnos> quick question cradek - do you prefer to get my ssh key as an email attachment, or inline?
[23:46:48] <cradek> inline is fine, or better yet, just msg it here
[23:46:56] <robin> meep?
[23:47:07] <SWPadnos> can do
[23:47:33] <robin> robin is now known as robin_sz
[23:48:02] <cradek> jepler: I compiled them in as fallback resources, and it looks right except for one thing that gnome helpfully overrides
[23:48:16] <cradek> jepler: I wonder if this is a good idea (jwz said it was 10 years ago)
[23:51:24] <cradek> jepler: did you somehow make it find them for rip?