#emc | Logs for 2006-10-08

Back
[00:00:04] <A-L-P-H-A> had chilli and oven baked fries.
[00:00:43] <skunkworks> grilled chicken - potatos, corn, and birthday cake
[00:05:49] <A-L-P-H-A> your meal beats mine. :(
[00:05:55] <A-L-P-H-A> not a big fan of corn though.
[00:26:34] <jmkasunich> skunkworks: what value are do you have for C1 and C2?
[01:51:20] <A-L-P-H-A> boo!
[02:48:30] <A-L-P-H-A> Oh swampy has a bridgeport!
[03:06:46] <CIA-8> 03jepler 07HEAD * 10emc2/docs/man/man1/halcmd.1: document loadusr and its flags
[03:06:53] <A-L-P-H-A> hey jepler.
[03:07:44] <jepler> hi A-L-P-H-A
[03:10:48] <A-L-P-H-A> how do I add myself to the root group?
[03:10:52] <A-L-P-H-A> or should I not do this?
[03:11:08] <A-L-P-H-A> I want to easily tinker around with the apache2 /var/www folder.
[03:11:58] <jepler> you can make yourself a part of the root group by doing 'sudo vigr' and then write your username at the end of the line that reads 'root:x:0:'
[03:12:31] <jepler> after doing that you have to log out and log in again before it takes effect, because your groups are set when you first log in.
[03:12:47] <A-L-P-H-A> I did this.. "sudo adduser alpha root" already.
[03:12:51] <jepler> oh that would work too
[03:12:52] <A-L-P-H-A> but I haven't logged out and back in yet.
[03:13:03] <A-L-P-H-A> I didn't realize you had to logout and in again.
[03:13:03] <A-L-P-H-A> brb.
[03:13:51] <A-L-P-H-A> lets see now
[03:14:45] <A-L-P-H-A> hmm..
[03:15:03] <A-L-P-H-A> the folder has this setting "drwxr-xr-x 10 root root"
[03:15:18] <A-L-P-H-A> but when I try to create a folder within that folder, I get permission denied.
[03:15:27] <cradek> because it's not group writable
[03:15:36] <A-L-P-H-A> ooooooh
[03:15:44] <A-L-P-H-A> Owner, Group, Others.
[03:15:53] <cradek> and also it's spiting you for calling a directory a "folder"
[03:16:13] <A-L-P-H-A> too used to windows.
[03:16:28] <A-L-P-H-A> took me a while to get from directory to folders and now gotta switch back
[03:16:29] <cradek> just teasing
[03:16:52] <cradek> you don't call files "documents" though do you? that's really bad.
[03:17:02] <A-L-P-H-A> cradek, jepler: are either of you good with gcode subroutines?
[03:17:15] <cradek> I've written some
[03:17:19] <A-L-P-H-A> no. files are files to me... unless it's a .doc file.
[03:17:28] <A-L-P-H-A> then I call that a document file.
[03:17:38] <A-L-P-H-A> but I use oo.o, so that doesn't happen to freq.
[03:17:58] <A-L-P-H-A> okay... I got something I written in php that spits out gcode... would like that loop to be in gcode instead.
[03:18:09] <A-L-P-H-A> sec while I move my folders around
[03:18:15] <cradek> haha
[03:19:33] <A-L-P-H-A> http://74.118.200.224/gcode2.php http://74.118.200.224/gcode2source.php
[03:20:33] <jepler> A-L-P-H-A: I don't see anything wrong with writing php (or any other p- or c-language that you like) to create g-code
[03:20:47] <jepler> A-L-P-H-A: almost any language will be better than emc g-code with o-words
[03:20:58] <A-L-P-H-A> hmm.. okay.
[03:21:05] <A-L-P-H-A> I guess I'll stick with it then.
[03:21:13] <cradek> jepler: even php?
[03:21:20] <A-L-P-H-A> cradek: :P
[03:21:37] <A-L-P-H-A> damn foodTV.. making me hungry
[03:21:43] <A-L-P-H-A> brb...
[03:21:53] <cradek> http://cvs.linuxcnc.org/cvs/emc2/nc_files/useful-subroutines.ngc?rev=1.4
[03:22:05] <cradek> A-L-P-H-A: these are some of the more complex subroutines I've written
[03:22:13] <cradek> A-L-P-H-A: not for the faint-of-heart
[03:25:26] <jepler> A-L-P-H-A: can you get php to not output "extra stuff"? If so, it's not terribly hard to configure AXIS to automatically run php and load the result as a g-code script
[03:25:53] <jepler> but you might have to be using the emc2 CVS version to get that feature, I'm not sure
[03:27:33] <A-L-P-H-A> jepler: yeah
[03:29:00] <jepler> A-L-P-H-A: http://emergent.unpy.net/index.cgi-files/sandbox/alpha.ngc
[03:29:33] <jepler> not sure it's quite the same as your program, but you can see it's harder to read because variables don't have names
[03:29:54] <A-L-P-H-A> jepler: seems like my output would be a better option then.
[03:30:03] <A-L-P-H-A> clean gcode output that is.
[03:30:20] <A-L-P-H-A> I'll strip out the html stuff right now
[03:31:07] <jepler> can you just run 'php somefile.php' at the commandline? I don't know php well enough to know.
[03:31:19] <A-L-P-H-A> http://74.118.200.224/gcode2.php
[03:31:25] <A-L-P-H-A> jepler: yeah... you can.
[03:32:13] <A-L-P-H-A> except html doesn't like showing \n as a \n... but if you view it's source code, it's pure gcode now.
[03:32:25] <A-L-P-H-A> http://74.118.200.224/gcode2source.php shows the source code for the file.
[03:33:17] <jepler> if you're using the development version of emc2 then the following change to axis.ini may make it work to automatically load a php file: http://emergent.unpy.net/index.cgi-files/sandbox/axis-load-php.patch
[03:34:19] <jepler> otherwise, just keep a terminal open and run 'php myfile.php > mygcode' and then hit ctrl-r in axis
[03:34:30] <jepler> to re-load mygcode, after you've loaded it the first time
[03:34:38] <jepler> anyway, goodnight and good luck making g-code
[03:34:41] <A-L-P-H-A> oh what are all the hotkeys in axis?
[03:34:46] <jmkasunich> goodnight jeff
[03:34:47] <A-L-P-H-A> jepler: thanks.
[03:35:03] <jepler> Help > Quick Reference
[03:35:22] <A-L-P-H-A> jepler: thanks again
[04:10:15] <A-L-P-H-A> so what do other hobby grade cnc controllers have to offer now that emc doesn't? [I see subroutines is something that can be improved]
[04:11:12] <cradek> running on windows, for better or for worse
[04:12:19] <cradek> I don't know if any of the hobby systems have subroutines
[04:12:42] <A-L-P-H-A> I've pretty much committed myself to emc now... even though I registered for turbocnc... which was great for working with the lathe.
[04:13:15] <A-L-P-H-A> I wished emc has some handy routines for me... like mill a pocket of this size, if my tool is this dia... [which I replicated with my php script]
[04:14:30] <cradek> write it and add it to useful-subroutines.ngc
[04:14:53] <cradek> emc is a machine controller, not a code generator, although it does allow you to do some interesting things with the filters in AXIS
[04:15:16] <cradek> there will be some new things in 2.1
[04:15:36] <A-L-P-H-A> true.
[04:15:44] <A-L-P-H-A> got another question.
[04:16:00] <A-L-P-H-A> is there a 'timer' to estimate the amount of time a given gcode file will take?
[04:16:43] <cradek> we've talked about adding a 'gcode information' screen to axis
[04:16:53] <A-L-P-H-A> I'd vote for it.
[04:17:05] <A-L-P-H-A> gcode information '08 for president!
[04:17:10] <cradek> it's not a matter of voting, it's a matter of writing
[04:17:27] <A-L-P-H-A> I see axis already draws the path...
[04:17:33] <cradek> sure
[04:18:03] <A-L-P-H-A> What would it take to convert those drawn lengths into times those feed rates...
[04:18:04] <cradek> it has a lot of infomration about the gcode without running it
[04:18:21] <cradek> simple math
[04:18:35] <cradek> like usual, putting it nicely in the gui is the harder part of the task
[04:18:48] <A-L-P-H-A> I take it it scanned the whole file, for max min dimensions.
[04:19:27] <cradek> yeah it processes the whole file when you open it
[04:19:45] <A-L-P-H-A> seperate button, [i] for information... and shows misc information... Est run time. amount of total travel.
[04:20:18] <A-L-P-H-A> somewhere in the ini file, for "est time for tool change time" and factor that into the est run time
[04:24:12] <A-L-P-H-A> where's kzan.
[04:24:19] <A-L-P-H-A> I got something to show her.
[06:58:30] <A-L-P-H-A> Someone needs to document this more... http://emergent.unpy.net/index.cgi-files/sandbox/axis-load-php.patch
[09:02:00] <Lerneaen_Hydra> 'lo
[09:12:58] <A-L-P-H-A> hi
[10:02:12] <alex_joni> MORNING
[10:02:18] <ValarQ> g'day
[10:07:53] <alex_joni> eek.. need to wake up properly, and stop shouting
[10:10:49] <Lerneaen_Hydra> hi alex
[10:50:48] <anonimasu> hm
[10:52:41] <anonimasu> bbl
[14:08:34] <skunkworks> morning everyone.
[14:08:46] <alex_joni> hi samco
[14:09:14] <skunkworks> Hi alex.
[14:10:19] <skunkworks> I envoke sunday lazyness for everyone.
[14:10:29] <alex_joni> too late
[14:10:48] <skunkworks> yah.. I plan on acually getting some work done also.
[14:11:10] <alex_joni> no, I meant I almost spent the whole sunday doing nothing :)
[14:11:39] <skunkworks> Oh - thats good too :)
[14:41:14] <CIA-8> 03jepler 07HEAD * 10emc2/src/Makefile:
[14:41:14] <CIA-8> Prevent EXPORT_SYMBOL(xxx) from creating an entry in the tags list for xxx
[14:41:14] <CIA-8> ditto for many other preprocessor macros.
[14:45:23] <skunkworks> jepler: where was that link to the eagle script you guys wrote for xporting gcode
[15:04:25] <jepler> skunkworks: jas, let me find it
[15:04:35] <jepler> http://unpy.net/cgi-bin/viewcvs.cgi/eagle/ulp/
[15:07:48] <skunkworks> jepler: THANKS
[15:07:51] <skunkworks> Thanks
[16:17:37] <skunkworks> jepler: when I try to run the gcode script I get an error "can't open '/tmp/command.scr' no such file or directory
[16:17:56] <Lerneaen_Hydra_> interesting...
[16:18:22] <Lerneaen_Hydra_> was I the only person to get disconnected earlier or was there a mass disconnect/reconnect?
[16:18:31] <skunkworks> I assume it was written on linux - I am trying to run it on windows..
[16:20:10] <jepler> skunkworks: boo hoo
[16:20:42] <jepler> I mean, I'm sure you could solve that with a little bit of effort.
[16:20:57] <jepler> that program writes a .scr file which you run to actually create the output file
[16:21:18] <jepler> you'll have to find where the path for the .scr is given, and change it
[16:22:47] <skunkworks> ok - no problem - I thought it was looking for a .scr file.
[16:22:54] <skunkworks> I will play with it
[16:22:56] <skunkworks> thanks
[16:30:43] <jepler> bbl
[16:49:34] <jepler> slashdot sez: google's sourcecode search tool 'can also be misused to search for software bugs'
[16:53:47] <SWPadnos> by malicious hackers, don'tcha know
[17:04:07] <Lerneaen_Hydra_> jepler: soon they'll no doubt post that cvs "can be misused to search for software bugs"
[17:04:12] <Lerneaen_Hydra_> Lerneaen_Hydra_ is now known as Lerneaen_Hydra
[17:04:24] <SWPadnos> grep is the work of the devil, you know
[17:05:26] <Lerneaen_Hydra> indeed
[17:05:39] <SWPadnos> as is bugzilla
[17:06:02] <Lerneaen_Hydra> not to mention vi, nano, gedit, kedit and so on
[17:06:11] <SWPadnos> because, you know, if the developers know about a bug, then the evil malicious hackers might find out about it too
[17:06:59] <Lerneaen_Hydra> and the source code is in plain sight, so any hacker that comes by it will immediately see the bug
[17:07:22] <SWPadnos> which is why proprietary code is better than open source
[17:08:10] <Lerneaen_Hydra> yeah, everyone knows open source is communism, and you're not communist are you? ARE YOU?
[17:08:25] <SWPadnos> hey, it's (was) a free country
[17:09:07] <Lerneaen_Hydra> uh, you are aware that I was rather sarcastic?
[17:09:17] <SWPadnos> of course ;)
[17:09:29] <SWPadnos> I may have out-sarcasm-ed you
[17:09:37] <Lerneaen_Hydra> yeah
[17:09:41] <Lerneaen_Hydra> seems like it
[17:10:48] <alex_joni> hello all
[17:10:57] <Lerneaen_Hydra> hi alex
[17:11:02] <alex_joni> what's up?
[17:11:38] <Lerneaen_Hydra> oh not much, random discussions and other small stuff
[17:13:44] <Lerneaen_Hydra> http://loadingreadyrun.com/showmovie.php?x=480&y=360&url=talklikepirate.mov
[17:14:44] <Lerneaen_Hydra> yarr tis late, but still good
[17:25:15] <fenn> i thought downloading mp3's is communism
[17:25:21] <fenn> they cant both be communism can they?
[17:32:46] <robin_sz> meep?
[17:33:31] <alex_joni> meep
[17:33:47] <robin_sz> are we well?
[17:34:03] <alex_joni> last I heard
[17:34:14] <robin_sz> good
[17:34:37] <robin_sz> picked up the linear stage for the tube laser project yesterday .. very impressive
[17:34:50] <robin_sz> and a beam delivery tube for the laser
[17:36:15] <robin_sz> two really nice Trumpf mirror mounts and a solid alloy fold tube. the mounts are water cooled and very nicely made
[17:36:29] <alex_joni> cool .. I presume ;)
[17:45:24] <alex_joni> mm.. dinner
[17:56:41] <Lerneaen_Hydra> fenn: hmm, i guess they both are, since they're so closely related
[18:13:14] <alex_joni> hiya Jymmm
[18:13:20] <Jymmm> mornin alex_joni
[18:13:28] <alex_joni> how goes it?
[18:14:01] <Jymmm> ssdd
[18:14:26] <alex_joni> got a new rental?
[18:14:31] <Jymmm> not yet
[18:15:27] <robin_sz> dang ... and winters coming too.
[18:17:07] <robin_sz> i guess thats the problem with employment linked to housing ...
[18:27:23] <fenn> yah otherwise you just sleep in the office :P
[18:29:39] <alex_joni> http://www.theregister.co.uk/2006/09/29/bofh_2006_episode_32/
[18:36:01] <robin_sz> thats LAST weeks
[18:37:07] <alex_joni> yeah..but 33 is nice too :)
[18:48:21] <anonimasu> lol :D
[18:50:13] <alex_joni> http://www.google.com/codesearch?hl=en&lr=&q=halcmd
[18:53:29] <robin_sz> bloody hell! ...
[18:53:41] <robin_sz> i the world going MAD?
[18:53:50] <robin_sz> am I in a zone of reallity reversal?
[18:54:03] <alex_joni> robin_sz: why?
[18:54:12] <fenn> i think i am too, dont feel alone
[18:54:19] <robin_sz> I just read the latest diatribe on tuxcnc.org ...
[18:54:44] <robin_sz> Most of the key changes specified in the Design Documentation have already been implemented, these include:
[18:54:45] <robin_sz> * XML file format for configuration and tool tables.
[18:54:54] <robin_sz> paul_c and XML ...
[18:55:07] <robin_sz> thats normally like putting sodium in water ...
[18:55:21] <fenn> he wrote about xml for config files at least a year ago
[18:55:34] <robin_sz> coo
[18:55:48] <fenn> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl/emcinfo.pl?EmcConfig
[18:56:10] <robin_sz> well, I guess that opens up the possibility of a simple way to configure it from some random GUI
[18:56:15] <fenn> hum.. the old revisions seem to have been deleted
[18:58:17] <fenn> heh "galil driver support"
[18:58:28] <fenn> wtf is the point of that?
[18:58:28] <robin_sz> if they get configuration via some sort of folding browser to work ... that will be pretty neat
[19:01:11] <robin_sz> well, they are yet to release anything ... so it may just be vapourware
[19:02:11] <fenn> i dont think an xml parser would be terribly hard to implement
[19:02:37] <anonimasu> well, if you can depend on libxml or something for it..
[19:02:48] <anonimasu> but either way even manually writing a parser isnt that difficult
[19:03:06] <fenn> i think so far any major changes to config files has been put off to prevent major incompatibility with old .ini files
[19:04:18] <fenn> anyone set up a serial touchscreen before?
[19:04:29] <fenn> i just want to know if its painless or not
[19:04:34] <alex_joni> actually the real reason is that you need an gui editor if the config files are xml
[19:04:40] <alex_joni> fenn: it works like a mouse
[19:04:48] <alex_joni> painless
[19:05:17] <fenn> how do i know what brand touchscreen i have without opening up the case?
[19:05:31] <cradek> I can't believe he wants to fork again and do yet another emc by himself
[19:05:56] <alex_joni> cradek: if he has lots of free time :)
[19:07:23] <cradek> I can't wait to see the answer to this: https://lists.ourproject.org/pipermail/bdi4emc-help/2006-October/000276.html
[19:07:52] <alex_joni> lol
[19:12:51] <anonimasu> lol
[19:18:57] <alex_joni> http://www.jetmark.co.uk/cog/ <- interesting
[19:19:01] <robin_sz> I suspect hes forked off into a group of about .. oh, 1
[19:19:09] <alex_joni> I think 2
[19:20:11] <fenn> oh man those are some pretty gears
[19:20:31] <fenn> too bad its perl or i might be able to understand it
[19:22:21] <robin_sz> remove the $ symbols and pretend its C
[19:22:47] <robin_sz> "use" is the same as #INCLUDE
[19:24:04] <robin_sz> and "my" declares a variable
[19:24:42] <robin_sz> apart from that ... it reads like C doesnt it?
[19:25:49] <fenn> what do {}'s do
[19:28:29] <robin_sz> list of elements in an associative array, or a block of code
[19:28:51] <robin_sz> for (x=1; x<10;x++){
[19:28:52] <robin_sz> ...
[19:28:55] <robin_sz> ...
[19:28:55] <robin_sz> }
[19:29:07] <robin_sz> or in an associative array:
[19:29:38] <robin_sz> $car = { colour=>'red',wheels=>4};
[19:29:47] <robin_sz> a bit like structures in C I geuss
[19:31:45] <robin_sz> print $car->(colour) would print 'red'
[19:32:08] <fenn> why would you do something like $c->{pinion}->{fillet}=1;
[19:32:33] <robin_sz> thats setting (i guess) that the pinion has a fillet
[19:32:48] <fenn> no, i mean, why use the brackets there?
[19:32:56] <robin_sz> hes not documented any of the actual modules, so you just have to geuss from the code you can see
[19:33:43] <robin_sz> its not great style ...
[19:33:52] <robin_sz> $c is a 'cog' thing.
[19:34:05] <robin_sz> he should be calling a method like ..
[19:34:31] <robin_sz> $c->setPinionFillet(1);
[19:34:48] <fenn> hmm
[19:34:50] <robin_sz> but hes accessing elements of the underlying structure directly ...
[19:34:59] <robin_sz> you can do that, but its not gret style
[19:35:06] <fenn> if you say so
[19:35:45] <robin_sz> that applies to any language really ... dont access underlying structures directly, provide methods to do it for you
[19:36:36] <robin_sz> in C++ there are ways to stop people accessing elements directly
[19:36:50] <fenn> let's just stop this conversation :P
[19:37:03] <robin_sz> in perl, they dont really have a way to do that, you can if you wish
[19:37:07] <robin_sz> dunno about python
[19:42:18] <A-L-P-H-A> with chmod, it goes User, Group, Other, right?
[19:42:52] <A-L-P-H-A> yeah it is... I just tested it. nm. :)
[19:51:26] <anonimasu> yeah
[19:51:28] <anonimasu> ^_^
[19:51:32] <anonimasu> *yawns*
[20:01:32] <Jymmm> owner, group, world is how I've always thought about it.
[20:07:03] <robin_sz> user, group,other is correct
[20:07:17] <robin_sz> chmod u+w <filename>
[20:07:26] <robin_sz> adds write permissions to the user
[20:07:36] <robin_sz> chmod o+w <filename>
[20:07:43] <robin_sz> gives write to others
[20:08:51] <robin_sz> if you remember it as "owner" you'll end up thinkin o+w is granting rights to owner
[20:09:32] <Jymmm> I've always used chmod 705, so that's why
[20:10:05] <Jymmm> I dont think I have ever used the letter syntax
[20:10:25] <robin_sz> so ...
[20:10:55] <robin_sz> say you have a dir of files, with varying group rights and owner rights ...
[20:11:09] <robin_sz> and you want to remove read rights to the "world" (others)
[20:12:03] <robin_sz> chmod 750 would do that .. but would also mess up your user and group rights if they werent 75 to start with right?
[20:12:22] <Jymmm> chmod --0 (iirc)
[20:12:34] <robin_sz> chmod o-r *
[20:12:53] <robin_sz> and setting sticky bits is much easier with letters too
[20:13:13] <robin_sz> to set the group stick bit on a file you would do what?
[20:13:13] <Jymmm> I still dont "get" sticky bits yet
[20:13:19] <robin_sz> ahh. ok
[20:13:34] <robin_sz> chmod g+s <file> is easy
[20:13:52] <robin_sz> I can never rememebr what to put as a octal code
[20:14:00] <robin_sz> for sticky bits anyway
[20:14:16] <robin_sz> they both have their uses I guess
[20:14:27] <Jymmm> 1 x, 2 w, 4 r
[20:14:41] <robin_sz> yes .. but the sticky bits?
[20:14:48] <robin_sz> thats the ones i can never remember
[20:14:53] <Jymmm> nfc, dont understand them yet =)
[20:15:57] <Jymmm> I remember tham as being reverse... the lower number being the most abusive... eXecute is 1, Write is 2, and Read is 4.
[20:16:23] <robin_sz> the most common time i use sticky is in cgi stuff
[20:16:31] <Jymmm> which is ironic that 0 is no rights at all
[20:16:47] <robin_sz> if i have a root script that needs to run as root, not apache, when called
[20:16:57] <robin_sz> then chown root <file>
[20:17:04] <robin_sz> chmod u+s <file>
[20:17:24] <robin_sz> but Id never do that on a publically accessible server
[20:17:54] <Jymmm> heh
[20:18:14] <Jymmm> come on, you know you want to run apache as root =)
[20:18:23] <robin_sz> if you have a carefully crafted script that needs to run as root, but you want users to be able to do it, and you dont want to give them root. setting the user and group sticky bits is an option,
[20:18:51] <robin_sz> but rarely used and in general a bad plan
[20:21:17] <anonimasu> 750hm
[20:21:18] <anonimasu> hm
[20:21:29] <anonimasu> it wont work with scripts
[20:21:39] <anonimasu> scripts are not executables..
[20:22:57] <robin_sz> hmm . point.
[20:23:24] <robin_sz> IIRC ive only used it with the vpopmail and sqwebmail stuff which are executables
[20:24:05] <robin_sz> how I hate asterisk this week.
[20:24:30] <anonimasu> err yeah you can do it..
[20:24:34] <anonimasu> apparently
[20:24:51] <anonimasu> no..
[20:25:12] <anonimasu> it's been deprecated nowdays..
[20:26:03] <anonimasu> ^^ _^
[20:26:53] <robin_sz> stuff happens
[20:27:01] <anonimasu> yeah
[20:27:19] <anonimasu> writing wrappers are so simple anyway so I guess it's not a big deal
[20:27:30] <anonimasu> killing all insane $ things are a good thing
[20:27:31] <robin_sz> quite
[20:27:46] <robin_sz> $ things?
[20:27:54] <anonimasu> locals..
[20:27:56] <anonimasu> and stuff
[20:28:05] <anonimasu> that the user can manipulate..
[20:28:18] <robin_sz> * robin_sz shrugs
[20:28:22] <robin_sz> rule 1
[20:28:27] <robin_sz> never let users onto your box
[20:28:34] <anonimasu> thats easy to say..
[20:30:20] <fenn> i use the TWIT interface
[20:55:34] <ALPHA-EMC> logger_aj: bookmark
[20:55:34] <ALPHA-EMC> I'm feeling lazy .. but here's the log anyways: http://81.196.65.201/irc/irc.freenode.net:6667/emc/2006-10-08#T20-55-34
[21:01:16] <ALPHA-EMC> what's up folks?
[21:08:13] <anonimasu> not much
[21:08:19] <anonimasu> waiting for tomorrow
[21:09:17] <alex_joni> Day changed to 09 Oct 2006
[21:09:34] <A-L-P-H-A> llamas
[21:09:44] <alex_joni> 10 minutes ago
[21:12:16] <anonimasu> 11:12 here :)
[21:12:24] <A-L-P-H-A> K`zan: !
[21:12:28] <anonimasu> I've got my spindle togther now :)
[21:12:38] <A-L-P-H-A> I was looking for you... I stayed up waiting for you... cause i wanted to show you something.
[21:12:57] <anonimasu> though I need to make some parts before I try machining anything with it
[21:12:59] <A-L-P-H-A> www.dakeng.com there's a taig mill upgrade in parts for like $50... and a howto doc.
[21:13:17] <A-L-P-H-A> anonimasu: and photos?
[21:34:27] <A-L-P-H-A> I generated some gcode... http://74.118.200.224/gcode2.php and http://74.118.200.224/gcode2source.php anyone think this is dangerous code?
[21:37:08] <anonimasu> ponder adding \n's to make it readable..
[21:37:29] <fenn> it wont parse without the \n's either
[21:38:16] <A-L-P-H-A> guys, look at the source.
[21:38:21] <A-L-P-H-A> I just didn't set a mime type.
[21:39:55] <anonimasu> not the source.. in the output
[21:40:22] <A-L-P-H-A> the source is the output if I do this in the cli "php gcode2.php > gcode2.ngc"
[21:40:30] <A-L-P-H-A> look who it is... dmess
[21:41:18] <fenn> on line 9 and those like it, you want to move in Z before you move in X probably
[21:41:23] <dmess> and a happy thanksgiving to you too...
[21:44:01] <fenn> ...or not
[21:44:08] <A-L-P-H-A> fenn, line 9, it's backing away from the material... doesn't emc do diagonal 3d movements?
[21:44:20] <fenn> nevermind
[21:44:39] <A-L-P-H-A> fenn: I'm not being confrontational... I'm seriously asking.
[21:44:54] <fenn> yes emc does diagonal movements
[21:45:13] <fenn> i thought you were pulling out of a pocket but thats not what you're doing is it?
[21:47:11] <fenn> for a second there i was confused, then i remembered you're both canadian
[21:52:04] <A-L-P-H-A> yeah
[21:52:11] <A-L-P-H-A> happy thanksgiving to you too dmess
[21:52:19] <A-L-P-H-A> having turkey tonight, and steaks tomorrow. :D
[21:52:26] <A-L-P-H-A> probably more turkey tomorrow too
[21:52:30] <A-L-P-H-A> 10lbs for 3 people?
[21:52:32] <A-L-P-H-A> toooo much
[21:52:52] <A-L-P-H-A> anyways... added a mime tag to my php output now
[21:53:12] <robin_sz> I never could read PHP
[21:53:32] <A-L-P-H-A> robin_sz: how so? or are you knocking php again?
[21:55:21] <robin_sz> I break out in hives whenever I see <? ;)
[21:55:43] <robin_sz> to be fair, replace the echos with prints and it would work as perl
[21:56:02] <robin_sz> does PHP have a 'strict' mode?
[21:56:34] <alpha-lappy> kitchen, making coffee.
[21:56:38] <robin_sz> does PHP have a 'strict' mode?
[21:56:46] <alpha-lappy> logger_aj: bookmark
[21:56:46] <alpha-lappy> I'm feeling lazy .. but here's the log anyways: http://81.196.65.201/irc/irc.freenode.net:6667/emc/2006-10-08#T21-56-46
[21:57:57] <robin_sz> by strict, I mean having to declare variables before you use them?
[21:58:50] <alpha-lappy> robin_sz: hmm... that I don't know... I always define my variables before hand...
[21:58:51] <alpha-lappy> wait
[21:58:53] <alpha-lappy> I do know.
[21:58:54] <alpha-lappy> it is...
[21:59:12] <alpha-lappy> cause if you try and use echo $asdfawef; and $asdfawef doesn't exist it spits back and error
[21:59:33] <alpha-lappy> but there is no need to define a variables existence first before use.
[21:59:46] <alpha-lappy> so there's no need to do 'var $x;' and then you can use $x.
[21:59:56] <alpha-lappy> it auto assigns a $x
[22:00:43] <alpha-lappy> so just '$x = "robin_sz knows no bounds"; echo $x;' would work just fine.
[22:01:16] <alpha-lappy> 'var $x' is kind of useless... but may speed things up [doubtful]
[22:05:15] <alpha-lappy> I'll probably generalize that gcode script to make rectangular pockets later.
[22:05:25] <alpha-lappy> why am I the only one talking?
[22:05:26] <alpha-lappy> :P
[22:05:40] <alpha-lappy> I feel like I'm a stage, where the whole world is watching my every move.
[22:05:59] <alpha-lappy> and everyone is jealous when I go to the bathroom... ;P
[22:07:40] <alpha-lappy> hey... wait a minute... I'm reading the logs, doesn't anonimasu use emc?
[22:07:56] <alpha-lappy> appearantly not... and is going to use turbocnc to test something
[22:13:31] <alpha-lappy> I bet it's a whole conspiracy that no one is talking in here, and you all move to like #emc_2 or something.
[22:13:39] <robin_sz> well
[22:14:01] <robin_sz> Perl has a "use strict"
[22:14:13] <robin_sz> and if you do my $foo = 3;
[22:14:17] <Jymmm> \msg robin_sz do you thin he'll figure it out that we are in #LetsTalkSmackAboutA-L-P-H-A
[22:14:18] <robin_sz> and later have:
[22:14:32] <robin_sz> $f00 = 4;
[22:14:49] <robin_sz> it wont even load and run ... spots the typo and kick it out
[22:15:37] <alpha-lappy> let me check the ini file.
[22:17:20] <robin_sz> a similar modefor php would encourage me to trust it more
[22:18:05] <anonimasu> A-L-P-H-A: actually I'll be using emc as soon as I've got a cd reader..
[22:18:15] <anonimasu> so I can install it on the box :)
[22:18:18] <alpha-lappy> robin_sz: there is actually... it's a flag that's turned off by defeult
[22:18:47] <alpha-lappy> http://news.php.net/article.php?group=php.internalas&article=5526
[22:18:55] <anonimasu> A-L-P-H-A: I said it last weed didnt I ?
[22:18:57] <anonimasu> week
[22:19:16] <alpha-lappy> anonimasu: I don't think I was around to read it
[22:19:19] <anonimasu> yeah
[22:19:21] <anonimasu> well, im off to bed
[22:19:21] <anonimasu> :)
[22:19:24] <anonimasu> night
[22:19:32] <alpha-lappy> I feel kinda bad... away from my computers and they're turned on... the workstation, and the emc machine
[22:21:10] <alpha-lappy> I think I may go swich out my dad's monitor, and give him dual monitor displays... [not that he'd make good use of it... but still]
[22:22:11] <alpha-lappy> machine that heat sink first. :D
[22:22:13] <alpha-lappy> bbl
[22:24:06] <ALPHA-EMC> in the shop now.
[22:24:27] <fenn> pffff cd reader
[22:24:47] <ALPHA-EMC> get a 2g usb key...
[22:24:47] <fenn> anonimasu: PXE boot and net install!
[22:24:49] <ALPHA-EMC> those are check now.
[22:24:55] <ALPHA-EMC> what's a PXE?
[22:25:13] <fenn> my lappy didnt like booting off a usb stick (and no floppy drive either)
[22:25:28] <fenn> pxe is a bios thing, boots off the lan
[22:25:35] <fenn> you set up a server on another computer
[22:25:43] <ALPHA-EMC> oh... netboot kind of thing?
[22:25:47] <fenn> yep
[22:26:28] <ALPHA-EMC> okay... this ain't working
[22:26:31] <fenn> i gotta say i like debian a lot more than ubuntu
[22:26:37] <ALPHA-EMC> if I click "Y" and then "home" in axis
[22:26:41] <ALPHA-EMC> it doesn't zero out the position
[22:26:42] <ALPHA-EMC> how come?
[22:27:01] <fenn> it has all the cool stuff i want and none of the stupid crap
[22:27:34] <ALPHA-EMC> fenn: you ain't the average computer dummy...
[22:28:04] <cradek> ALPHA-EMC: you probably have an offset
[22:28:39] <cradek> ALPHA-EMC: push the offset button to clear it
[22:28:49] <ALPHA-EMC> cool
[22:28:50] <ALPHA-EMC> thanks
[22:28:56] <ALPHA-EMC> I'll have to learn what that does.
[22:29:19] <kdibble> Hi all
[22:29:29] <cradek> ideally you home the machine in machine coordinates (so you can use soft limits) then use offset to set up your work coordinates
[22:29:48] <kdibble> ahh, cradek, did you get the message I left for you?
[22:30:01] <cradek> uh-oh
[22:30:07] <cradek> I have no idea, refresh my memory
[22:30:12] <kdibble> cradek: no problem
[22:30:28] <kdibble> cradek: I was having unrepeatable results
[22:30:36] <kdibble> problem was on board video
[22:30:49] <cradek> ah
[22:30:55] <cradek> you had realtime problems?
[22:31:02] <kdibble> apparently
[22:31:13] <kdibble> machine would never come back to same spot on dial
[22:31:17] <cradek> great, glad you got it fixed
[22:31:23] <kdibble> thank you....
[22:31:33] <kdibble> got time to explain tool changes to me?
[22:31:41] <cradek> that video stuff is the biggest problem we have with realtime systems
[22:31:56] <kdibble> maybe put it in the docs about system requirements?
[22:32:00] <cradek> what about tool changes?
[22:32:17] <kdibble> what happens when M6 occurs with no carousel, i.e manual
[22:32:44] <kdibble> OR... what is the best way to deal with manual tool changes?
[22:33:07] <cradek> it depends on your hal configuration. Most have the tool request and confirmation hooked right together, so there is no pause
[22:33:29] <kdibble> I want a pause, so I can change the tool....
[22:33:37] <cradek> there are several ways to accomplish that
[22:33:43] <kdibble> go ahead.....
[22:33:45] <cradek> most obvious is put a M0 after the M6
[22:33:47] <fenn> K`zan: /usr/share/emc/ncfiles/skeleton.ngc has an example
[22:33:48] <alex_joni> kdibble: got 2 pins on the parport to spare?
[22:33:49] <fenn> erf
[22:33:54] <fenn> that was to kdibble
[22:34:03] <kdibble> thanks fenn
[22:34:19] <kdibble> alex_joni: yes, but no breakout board yet
[22:34:23] <cradek> better is to use hal_manualtoolchange, which is in the cvs version, to pop up a window that tells you what to do and lets you confirm that it's done
[22:34:52] <cradek> if you're running the cvs version, that is
[22:35:03] <alex_joni> cradek: yeah, but that's not in 2.0.x .. it might be easier to add a LED and a button
[22:35:11] <cradek> if you're running 2.0, it's going to be easiest to use a M0
[22:35:22] <alex_joni> LED goes on when tool needs changing, change tool, push button :D
[22:35:31] <cradek> or sure, you could hook up a real button between the hal tool change request and confirmation pins
[22:35:48] <kdibble> running 2.0.x what is the best way to move the spindle to make it available for the change?
[22:35:56] <alex_joni> but that involves a bit of soldering and wires
[22:36:03] <fenn> scary
[22:36:04] <cradek> wait for 2.0.4, then use TOOLCHANGE_POSITION in the ini
[22:36:17] <cradek> pretty sure it's broken in 2.0.3
[22:36:19] <alex_joni> fenn: what is scary?
[22:36:24] <fenn> wires n stuff
[22:36:32] <alex_joni> lol@fenn
[22:36:32] <kdibble> cradek: got an ETA on 2.0.4?
[22:36:38] <alex_joni> * alex_joni hides
[22:36:42] <cradek> haha
[22:36:42] <fenn> * fenn too
[22:36:54] <cradek> days or weeks, not months
[22:37:05] <kdibble> thanks
[22:37:24] <kdibble> Again, I appreciate all the help
[22:37:36] <cradek> meanwhile just use g0g53z0 (or wherever you want to change the tool), Tn M6, M0
[22:37:52] <cradek> then change the tool and hit resume
[22:37:53] <kdibble> ok, thanks
[22:37:57] <alex_joni> kdibble: it shouldn't be too late (2.0.4)
[22:38:57] <fenn> oh can i make a feature request?
[22:39:35] <fenn> can whoever builds the kernel deb compile in suspend2?
[22:39:52] <alex_joni> suspend2 ?
[22:39:57] <alex_joni> wot's that?
[22:40:00] <fenn> like hibernate
[22:40:26] <fenn> it swaps out all memory, then when you boot up it swaps all the memory back in
[22:40:26] <cradek> I doubt we'll rebuild the kernel unless we _really_ need to
[22:40:47] <alex_joni> fenn: does it need any fancy APM or APIC or the like?
[22:41:00] <fenn> besides hitting the power button, i dont think so
[22:41:24] <fenn> (course i havent looked into it)
[22:41:54] <alex_joni> seems there are 3 different things doing the same thing
[22:41:58] <fenn> "Suspend2 allows you to hibernate your machine without needing APM, BIOS, or ACPI support."
[22:42:08] <alex_joni> suspend2, swsusp, uswsusp
[22:42:15] <alex_joni> swsusp is in the kernel afaik
[22:42:31] <fenn> suspend2 is swsusp i think
[22:42:49] <alex_joni> http://kerneltrap.org/node/6766
[22:42:56] <alex_joni> fenn: no, 2 different things
[22:43:53] <alex_joni> does www.suspend2.net work for you?
[22:44:40] <fenn> no, but it did a month ago or so
[22:45:19] <alex_joni> fenn: I'm weary about including external patches into the kernel
[22:45:21] <fenn> does 'hibernate' work on dapper?
[22:45:33] <cradek> not for me (might be an nvidia problem)
[22:45:34] <fenn> it comes with etch by default i think
[22:45:50] <cradek> well hibernate works, it's coming back on that's the problem, haha
[22:46:06] <Jymmm> cradek: I think it's kinda funny that you mention a lot of mvidia issues, and you continue to use nvidia =)
[22:46:23] <cradek> Jymmm: I think I'll try something else next time
[22:46:31] <Jymmm> cradek: Such as?
[22:46:36] <cradek> Jymmm: that's the problem
[22:46:39] <Jymmm> ah
[22:46:51] <Jymmm> I like ATI, under M$, nfc under nix.
[22:47:04] <cradek> I don't use this machine to run hardware of course, it's just a desktop for normal work
[22:47:07] <Jymmm> but they have been pissing me off over the last few years.
[22:47:08] <fenn> which is harder to make, a nuclear bomb or a GPU?
[22:47:20] <Jymmm> cradek ah, ok.
[22:47:40] <cradek> I like matrox but don't know what kind of Free software there is for their cards
[22:48:11] <Jymmm> cradek you should see what the nix gamers use. They would have a better clue I'd think.
[22:48:27] <cradek> two screens (one is DVI) on this machine also limits the choices
[22:48:38] <cradek> I'm sure they use nvidia with the closed driver
[22:48:51] <Jymmm> probably
[22:49:20] <K`zan> fenn: Don't have access to that machine, saved it and will check next time I get it out and up, thanks!
[22:49:22] <cradek> I think there's Free support for some ATI cards, but I don't know the details
[22:49:51] <Jymmm> ati "says" they have a dev dept for helping the X dev's, but no idea
[22:50:02] <cradek> it's hard to find real information about what graphics cards work
[22:50:18] <cradek> there's all sorts of crap reviews by gamers
[22:50:19] <K`zan> Sort of at a standstill here, putting almost $700 into the micro mill is something I am re-thinking...
[22:50:32] <cradek> and people who don't know Free software from their ass
[22:50:46] <Jymmm> http://www.nvidia.com/object/unix.html
[22:51:00] <fenn> i get like 200fps for glxgears on my ati mobility - i dunno if the card's just slow or the free driver doesnt work very well
[22:51:16] <fenn> also it only works at reduced resolution which doesnt work so well on a laptop :\
[22:51:17] <K`zan> That was just for the mounts and xlyotex 3 axis ready system.
[22:51:18] <cradek> Jymmm: that's the closed drivers that cause so much trouble
[22:53:30] <Jymmm> http://www.tomshardware.com/2000/08/11/nvidia_3d_under_linux/index.html
[22:54:12] <alex_joni> cradek: seen http://www.google.com/codesearch?hl=en&lr=&q=halcmd ?
[22:54:17] <Jymmm> http://www.tomshardware.com/2006/07/12/geforce_and_radeon_take_on_linux/
[22:54:37] <alex_joni> Jymmm: I have those CD's ..original (SuSE 6.4)
[22:55:57] <Jymmm> alex_joni: cd's ?
[22:57:10] <alex_joni> yeah, the link from 2000
[22:57:25] <fenn> alex_joni: what's the importance of the google code search?
[22:57:35] <fenn> i mean, why does everyone keep posting that link?
[22:57:56] <Jymmm> alex_joni: you geek! You see a pic of the cd cover, and gotta gloat abouut it =)
[22:58:29] <alex_joni> Jymmm: c'mon.. it was my second set of "official" linux cd's
[22:59:04] <alex_joni> and I guess the last one.. since then I scrapped buying for downloading
[23:03:13] <alex_joni> fenn: it's interesting that it found the source tarball on linuxcnc.org, not the code on sourceforge like I would have expected
[23:03:54] <fenn> sourceforge probably has a strict robots.txt file
[23:04:30] <fenn> also, you have to jump through all kinds of hoops to download the tarball from sg
[23:04:52] <alex_joni> I think we had it linked from a news item
[23:06:36] <ALPHA-EMC> that gcode worked great!
[23:06:58] <alex_joni> http://www.linuxcnc.org/index.php?option=com_content&task=view&id=24&Itemid=6&lang=en
[23:21:10] <A-L-P-H-A> cradek, jepler, anyway to draw a shape (to represent stock/material) in axis?
[23:29:43] <jepler> A-L-P-H-A: no, there's not a way to do that.
[23:29:56] <alex_joni> jepler: sure there is
[23:30:02] <alex_joni> it's just not coded yet
[23:30:14] <alex_joni> maybe A-L-P-H-A will send a patch :D
[23:31:15] <alex_joni> * alex_joni heads to bed
[23:31:32] <alex_joni> good night all
[23:36:07] <ALPHA-EMC> night