#emc | Logs for 2005-03-30

[18:34:44] <anonimasu> hm, vlc does ascii art..
[18:35:00] <pemmet> hmm.. didn't know that
[18:35:02] <jerry> Jymmm: "leonardo da vinci" mechanical drawings google then click images
[18:36:03] <jerry> ping paul_c
[18:36:10] <alex_joni> he's away
[18:36:20] <alex_joni> err.. idle
[18:36:29] <jerry> ok will he be back soon ?
[18:36:35] <alex_joni> I finally figured that domain stuff out
[18:36:44] <alex_joni> jerry: no ideea :)
[18:36:51] <alex_joni> * alex_joni prods paul_c
[18:37:35] <alex_joni> * alex_joni prods paul_c again
[18:37:38] <alex_joni> :D
[18:38:04] <Jymmm> jerry: tried that too; onlt 4
[18:38:11] <robin_sz> hey les ...
[18:38:18] <alex_joni> hey robin
[18:38:28] <robin_sz> * robin_sz waves
[18:38:34] <alex_joni> * alex_joni waves back
[18:38:59] <jerry> jerry used to be known as slomo
[18:39:00] <alex_joni> robin: figured that domain stuff out
[18:39:04] <robin_sz> right
[18:39:13] <robin_sz> it was DNS?
[18:39:18] <alex_joni> I switched back to the old samba
[18:39:24] <alex_joni> now everything works ok
[18:39:26] <alex_joni> :)
[18:39:28] <robin_sz> heh
[18:39:38] <alex_joni> I think that particular samba is missing some stuff
[18:39:45] <alex_joni> which actually makes the rest work
[18:40:08] <robin_sz> so a "primary domain controller" manages logins on all the 'doze boxes?
[18:40:18] <alex_joni> he does a lot more
[18:40:21] <robin_sz> apt-cache search samba
[18:40:23] <alex_joni> but htat too
[18:40:28] <robin_sz> right
[18:40:29] <alex_joni> apt-get install samba
[18:40:45] <alex_joni> you need a few things for domain controlling
[18:40:51] <robin_sz> * robin_sz searches for a working swerver
[18:40:53] <alex_joni> 1. a netadmin user
[18:41:21] <alex_joni> that is listend in smb.conf as admin user (or domain admin user) depending on the samba you have
[18:41:29] <robin_sz> 2. some chicken bones
[18:41:34] <robin_sz> 3. some goat blood
[18:41:39] <alex_joni> 2. you need machine accounts on your linux
[18:41:42] <anonimasu> SWPadnos: give me a yell when you have time to help me :)
[18:41:50] <alex_joni> they are called machine trust accounts
[18:41:57] <alex_joni> machine_name$
[18:42:09] <alex_joni> e.g. ROBINLAPTOP$
[18:42:17] <robin_sz> coo
[18:42:21] <alex_joni> you need to add those to passwd
[18:42:43] <alex_joni> 3. machine accounts for samba (use smbpasswd -m -a ROBINLAPTOP)
[18:42:49] <robin_sz> hmmm
[18:42:51] <alex_joni> -m = machine trust account
[18:42:54] <alex_joni> -a = add
[18:43:10] <alex_joni> next you can join the machine to the domain
[18:43:13] <robin_sz> beginning to sound complicated ....
[18:43:39] <alex_joni> after that you can log on to the doze with linux users (if you added them to smbpasswd)
[18:43:48] <alex_joni> or .. more easily use an LDAP
[18:43:53] <alex_joni> lol
[18:44:07] <robin_sz> maybe a job for the weekend
[18:44:14] <alex_joni> yeah.. and add NIS authentication over ssl connections
[18:44:31] <alex_joni> mount the homes with nfs
[18:44:37] <alex_joni> and you're pretty much set
[18:44:48] <robin_sz> looks like I missed out on the uk distributorship for that nice little router
[18:44:55] <alex_joni> I almost forgot.. set up a second samba as a BDC
[18:45:10] <robin_sz> backup domain controller?
[18:45:16] <alex_joni> right
[18:45:23] <alex_joni> so it can take over if the first one fails
[18:45:27] <robin_sz> seems excessive for 2 pcs ;)
[18:45:35] <alex_joni> or you can do load-switching between the two :))
[18:45:39] <anonimasu> lol
[18:45:49] <jerry> due to the limited amount of programs for dxf> nc, what's everyone else using
[18:46:02] <alex_joni> however there are some issues to keep data synchronised
[18:46:04] <robin_sz> jerry: 2axis or 3?
[18:46:08] <alex_joni> LDAP does a good job there
[18:46:11] <jerry> 2 axis
[18:46:20] <robin_sz> jerry: plasma and simple routing?
[18:46:32] <jerry> oops 3 axis, was thinking 2d/3d
[18:46:40] <jerry> simple routing
[18:46:47] <robin_sz> sheetcam
[18:46:56] <jerry> running in wine ?
[18:47:03] <robin_sz> no ..
[18:47:10] <jerry> tried that ?
[18:47:12] <robin_sz> running on windows
[18:47:14] <robin_sz> no ...
[18:47:29] <robin_sz> cant be bothered with wine .. XP is easier
[18:47:32] <jerry> i have it running on wine, no major problems yet
[18:47:51] <robin_sz> nice program
[18:48:00] <robin_sz> the manual sucks a bit though
[18:48:16] <robin_sz> the UI is getting better as I beat sense into Les ;)
[18:48:55] <alex_joni> robin: one nice feature in samba domains is roaming accounts
[18:49:03] <robin_sz> uh huh
[18:49:11] <alex_joni> if set up properly you can go around and change computers and get the same stuff
[18:49:18] <alex_joni> used to work really well
[18:49:20] <jerry> maybe a prod for a linux port would be nice, i email him and let him know it runs under wine and he suggested he thought about it
[18:49:31] <robin_sz> pointless
[18:49:38] <alex_joni> what is?
[18:49:41] <robin_sz> I'll encourage him not to bother :)
[18:49:50] <alex_joni> heh
[18:49:51] <robin_sz> alex_joni: a linux port of sheetcam
[18:49:52] <jerry> why ?
[18:49:58] <alex_joni> too little users?
[18:50:00] <robin_sz> user base in tens of people
[18:50:05] <robin_sz> hes a single developer
[18:50:09] <alex_joni> right
[18:50:15] <alex_joni> and it's not open source
[18:50:22] <robin_sz> he has enough problems getting the doze version finished
[18:50:27] <alex_joni> so a lot of linux-people will go away
[18:50:37] <robin_sz> a "lot" .. ??
[18:50:55] <robin_sz> I bet he'll lose less than 10 sales total
[18:51:53] <alex_joni> no I mean linux users won't touch sheetcam
[18:52:01] <robin_sz> im a linux user ..
[18:52:02] <alex_joni> because it's not opensource
[18:52:07] <jerry> because it's closed ?
[18:52:10] <alex_joni> yeah
[18:52:21] <robin_sz> then, they're mad
[18:52:31] <alex_joni> if I pay for sheetcam (when it'll be ready) I'll probably pay for doze too
[18:52:41] <robin_sz> * robin_sz nods
[18:52:44] <alex_joni> not in that order
[18:52:47] <robin_sz> use whatever works best
[18:52:50] <jerry> what are some of the limitations you've found
[18:52:51] <robin_sz> and is cheap :)
[18:52:51] <alex_joni> but you get the point
[18:53:06] <robin_sz> jerry: none really, for what I do ...
[18:53:08] <robin_sz> plasma
[18:53:23] <robin_sz> could do with overlap-detection
[18:53:38] <robin_sz> and basic auto-nesting
[18:53:48] <robin_sz> but in its class, its a winner
[18:54:44] <alex_joni> http://www.samba.org/samba/docs/man/smb.conf.5.html
[18:54:46] <jerry> yes, seems fairly easy to set up, but like you say, the doc's aren't very well
[18:55:00] <alex_joni> robin: you'll have a few things to read about
[18:57:13] <robin_sz> its OK, my debian box fried itself ..
[18:57:21] <robin_sz> wheres that les
[18:57:37] <alex_joni> fried?
[19:00:39] <robin_sz> fried
[19:00:46] <robin_sz> as in dead
[19:00:48] <alex_joni> bugger that
[19:00:57] <robin_sz> overheated
[19:01:01] <robin_sz> fan on cpu stops working ..
[19:01:18] <anonimasu> amd?
[19:01:23] <alex_joni> right.. that's why I love those passive cooled
[19:01:25] <robin_sz> yep
[19:01:32] <anonimasu> ah :)
[19:01:47] <alex_joni> no BIOS overheating testing?
[19:02:12] <robin_sz> shrug
[19:02:17] <robin_sz> how can I tell?
[19:02:31] <alex_joni> well.. obviously not :)
[19:02:44] <alex_joni> some BIOS-es won't work if the fan doesn't work
[19:02:46] <jerry> robin_sz: what post process output are using for emc
[19:03:01] <alex_joni> so if it doesn't smell. it might be still alive
[19:03:04] <jerry> with sheetcam
[19:03:21] <robin_sz> jerry: not using emc, but using same interpreter. using "basic plasma post"
[19:03:33] <robin_sz> jerry: its a piece of cake to edit the posts anyway
[19:04:01] <robin_sz> alex_joni: well, the regulator components got so hot they de-soldered themselves from the mobo
[19:04:10] <jerry> yes, just that Les asked me to try a mach2 output and emc doesn't like some of the code.......
[19:04:27] <jerry> ie g90.1, doesn't understand that i guess
[19:04:32] <alex_joni> robin: might be a roblem then
[19:04:33] <robin_sz> probably ..
[19:04:54] <robin_sz> jerry: just open the post file with an editor ...its very easy to fix it
[19:05:17] <robin_sz> Mach2.post in the /posts/ subdir
[19:05:56] <jerry> yes, thats what i've done :)
[19:06:37] <robin_sz> written in Lau :)
[19:06:50] <robin_sz> lua even
[19:07:16] <jerry> can't speak that, translate please
[19:07:43] <alex_joni> alua
[19:08:00] <jerry> a hawiian lua ?
[19:08:57] <alex_joni> might be
[19:10:08] <robin_sz> did Imperator's NMLK post get any comment?
[19:10:13] <robin_sz> NML
[19:10:37] <alex_joni> don't think so :D
[19:10:53] <robin_sz> well, thats enough for me
[19:10:53] <alex_joni> I wonde rwhat anake tilly is doing
[19:11:08] <alex_joni> why didn't you answer :-?
[19:11:23] <alex_joni> anake=aunt in hawaii
[19:11:46] <robin_sz> too tired to care anymore :(
[19:12:27] <alex_joni> robin: after getting to know NML... I'm not that against it anymore
[19:12:38] <alex_joni> I think it can be twisted in the right direction
[19:12:42] <robin_sz> did I say I was agaianst NML?
[19:12:46] <alex_joni> nope
[19:12:49] <robin_sz> quite
[19:12:56] <alex_joni> Imperator_ was :)
[19:13:01] <robin_sz> but I AM agaisnt the crazy implementation
[19:13:14] <alex_joni> heh
[19:13:19] <robin_sz> theres code in there that should be a hanging offence
[19:13:36] <alex_joni> now you're huhu
[19:13:39] <alex_joni> lol
[19:13:47] <robin_sz> but if no one wants to wake up and smell the coffee, I wont force them
[19:14:25] <SWPadnos> mmmmmm - coffee
[19:14:35] <robin_sz> anyting that involves a 600 line switch/case statement IS braindead. fact.
[19:14:46] <alex_joni> right :D
[19:14:53] <SWPadnos> it's only 480 lines - please don't exaggerate :)
[19:14:56] <websys> Hanging is too good
[19:15:05] <alex_joni> SWP: there are several switches
[19:15:07] <SWPadnos> hanging by the testicles is appropriate
[19:15:15] <alex_joni> hey bob
[19:15:20] <websys> getting close
[19:15:31] <alex_joni> close?
[19:15:37] <anonimasu> hehe
[19:15:44] <alex_joni> Pehea oe?
[19:15:55] <SWPadnos> I wonder how slow it is to actually get to the last case in that statement...
[19:16:23] <alex_joni> depends on the compiler optimisations :D
[19:16:46] <alex_joni> might to a quick-sort on the cases, and search using divide et impera
[19:16:48] <alex_joni> lol
[19:17:11] <alex_joni> now that's optimising :)
[19:17:13] <SWPadnos> har - the common implementation of a case is basically a loop through the options, with jump addresses addresses in case of a match
[19:17:25] <alex_joni> yeah I know
[19:17:37] <alex_joni> it expands like a lot of if's
[19:17:49] <SWPadnos> I was thinking of a bitwise for nesting, but that's way too difficult to maintain
[19:18:41] <SWPadnos> Maybe a nibble-wise for nesting, with small case statements in each branch
[19:18:51] <SWPadnos> sorry - not for, if
[19:19:21] <alex_joni> SWP: that's called extending the madness
[19:19:35] <SWPadnos> Well - extended madness is better than normal-size madness :)
[19:19:41] <alex_joni> lol
[19:20:15] <alex_joni> I think with some proper decisions it can be adjusted
[19:20:18] <SWPadnos> A jump table would be better - even for 16-bit message types, a table is only 256k
[19:20:34] <alex_joni> I think removing it would be best
[19:20:43] <alex_joni> I really don't see the reason for it
[19:20:59] <alex_joni> it has a reason now, but that can be adjusted
[19:21:13] <SWPadnos> You do need to pass the message to the appropriate handler - whether it's explicit or implicit doesn't matter
[19:21:24] <SWPadnos> except for maintainability and efficiency
[19:21:35] <alex_joni> I agree on that
[19:21:39] <SWPadnos> (which are usually mutually exclusive)
[19:21:43] <alex_joni> but you don't need the emcFormat stuff
[19:22:01] <alex_joni> what does emcFormat do?
[19:22:13] <SWPadnos> damned if I know :)
[19:22:18] <alex_joni> SWP: got time to dig into the sources?
[19:22:23] <alex_joni> I mean together
[19:22:32] <alex_joni> say half an hour?
[19:22:50] <SWPadnos> not really at the moment - I'm working on another project - I don't even have the EMC box running
[19:22:59] <alex_joni> right.. me neither
[19:23:03] <SWPadnos> (still - looking at it on SF CVS)
[19:23:04] <alex_joni> that's why I asked
[19:23:30] <alex_joni> rcslib or emc2 ?
[19:23:44] <SWPadnos> looking at EMC2 right now
[19:23:51] <alex_joni> right
[19:24:01] <alex_joni> libnml or he emcnml stuff?
[19:24:36] <SWPadnos> emc.{cc,hh} in nml_intf/
[19:24:43] <alex_joni> ok
[19:24:54] <alex_joni> so the emc implementation of nml
[19:25:40] <alex_joni> emc.cc
[19:25:53] <alex_joni> there's emcFormat at the beginning
[19:25:57] <alex_joni> see it?
[19:25:59] <SWPadnos> yeah - and I have no idea why emcFormat exists at this point
[19:26:09] <alex_joni> heh
[19:26:16] <SWPadnos> it just casts a function call to whatever type is expected in the message
[19:26:22] <alex_joni> because the message passed to it is passed as void *
[19:26:41] <alex_joni> and the type is passed separately
[19:27:05] <alex_joni> so the casting is done, and after that the update member is called
[19:27:47] <SWPadnos> theoretically, c++ should take care of calling the corerct function, especially if the update() function is defined in the base class
[19:27:57] <alex_joni> yes
[19:28:09] <alex_joni> if the type of the message is passed ok
[19:28:28] <alex_joni> as NML_MESSAGE *
[19:28:32] <alex_joni> not void *
[19:28:39] <alex_joni> or whatever the base class name is
[19:29:52] <SWPadnos> right - EMC_CMD_MSG has the update member
[19:30:10] <SWPadnos> I think - hold on a sec
[19:30:43] <alex_joni> here comes doxygen in handy
[19:31:02] <SWPadnos> hmm - the hierarchy may want a little reshuffling, but the base classes have update functions
[19:31:23] <alex_joni> NMLmsg::update()
[19:31:26] <Dmess> hello all
[19:31:33] <alex_joni> hi
[19:31:42] <SWPadnos> Just define another update function with void* as the parameter, and have each class do its own cast
[19:32:18] <Dmess> anyone know if emc can be made to output full stepper activation sequences
[19:32:19] <SWPadnos> hmmm - I need more caffeine
[19:32:25] <SWPadnos> Yes it can
[19:32:45] <anonimasu> me too :/
[19:32:47] <Dmess> i'll buy the coffee if you tell me how??
[19:32:51] <alex_joni> Dmess: it can
[19:32:53] <anonimasu> I think I'll make a cup of tea..
[19:32:53] <SWPadnos> set STEPPING_TYPE = 4 I think
[19:32:59] <SWPadnos> hold on one sec
[19:33:01] <alex_joni> there's a parameter called STEPPING_TYPE
[19:33:12] <alex_joni> see the sources for explanations
[19:33:16] <alex_joni> what emc are trying?
[19:33:26] <Dmess> now im learnin' and what about the output pin??
[19:33:46] <alex_joni> should be D0, D1, D2, D3 for X
[19:33:49] <alex_joni> and so on
[19:34:56] <SWPadnos> argh - where the heck is freqmod?
[19:34:57] <A-L-P-H-A> hmm... going 100 km/h in an 50 zone isn't a smart thing... especially when there's a cop car coming the opposite direction.
[19:35:02] <Dmess> ok.. so i can take that and ship it into a mtd2003f ond vioala...
[19:35:10] <alex_joni> SWP: freqmod is in emcmot.c
[19:35:22] <SWPadnos> ah-ha -thanks
[19:35:47] <robin_sz> yeah
[19:35:56] <anonimasu> alex_joni: really?
[19:36:02] <robin_sz> I bet you were looking for freqmod.c huh?
[19:36:21] <alex_joni> an0n: depends on the emc, but usually yes
[19:36:31] <SWPadnos> not at first :)
[19:36:36] <alex_joni> that's where my freqmod is (on doze)
[19:36:40] <anonimasu> err haha
[19:36:44] <anonimasu> wrong person.
[19:36:45] <anonimasu> A-L-P-H-A: really?!
[19:36:53] <SWPadnos> STEPPING_TYPE 3 is four phase drive
[19:37:04] <robin_sz> another area where emc needs to wake up and smell the coffee
[19:37:08] <A-L-P-H-A> anonimasu. well... the car infront of me was doing it.
[19:37:18] <A-L-P-H-A> so I just down shifted... to avoid hitting my breaks.
[19:37:20] <alex_joni> but if it's BDI4.x it might not be fully there
[19:37:25] <alex_joni_> right
[19:37:29] <robin_sz> s/breaks/brakes/
[19:37:31] <Dmess> why didnt i hit you guys FIRST
[19:37:32] <alex_joni_> got my laptop hooked up
[19:37:45] <alex_joni_> Dmess: that's what I kept wondering :D
[19:38:11] <robin_sz> Dmess: because we are all mad, and kept seperate from normal emc users by judicial order
[19:38:13] <alex_joni_> happened to me too ;)
[19:38:21] <alex_joni_> robin : lol
[19:38:25] <alex_joni> yeah
[19:38:36] <alex_joni_> * alex_joni_ is having a split personality right now
[19:38:43] <alex_joni> * alex_joni even more
[19:38:44] <robin_sz> who is?
[19:38:50] <alex_joni_> me
[19:38:51] <Dmess> hmm well it was the BDI4.X... im a CNC applications engineer and wanna help in any way i can
[19:39:01] <Jymmm> robin_sz: Me, Myself, and I
[19:39:05] <robin_sz> alex_joni_: oh, i thought you meant alex_joni
[19:39:14] <Dmess> but i need my system to run an etch a scetch first
[19:39:17] <alex_joni_> Dmess: try it out.. it might work
[19:39:21] <alex_joni_> heh
[19:39:34] <alex_joni_> Dmess: jepler had an etch a scetsch iirc
[19:40:01] <alex_joni_> SWP: back to update(CMS *)
[19:40:10] <SWPadnos> yes - I say scrap it
[19:40:18] <alex_joni_> was my thought too
[19:40:42] <robin_sz> and chnage the CLASS_NAME madness to ClassNames too please
[19:40:48] <robin_sz> while you are in there :)
[19:41:07] <Dmess> anyone know the larges machine using emc??
[19:41:10] <SWPadnos> I think if the update function is declared asvirtual in the base class, then passing in a RCS_MSG * (or whatever that was) will allow the compiler to choose the correct function at runtinme
[19:41:27] <alex_joni_> what you don't like EMC_AXIS_SET_STEP_PARAMS ?
[19:41:29] <robin_sz> thats an interestign phrase
[19:41:41] <robin_sz> allow the compiler to choose the correct function at runtinme
[19:41:47] <SWPadnos> I_LIKE_IT_FINE_WHY_DO_YOU_ASK :)
[19:41:47] <alex_joni_> yeah
[19:41:51] <alex_joni_> lol
[19:41:53] <robin_sz> surely the compiler isnt even on the system at runtime?
[19:42:07] <alex_joni_> I have a few more if you want
[19:42:22] <SWPadnos> yeah yeah - allow the runtime system to choose the corerct function, and the compiiler to manage the madness for us ;)
[19:42:26] <robin_sz> and wtf is it all prefixed EMC
[19:42:39] <alex_joni_> not to use it somewhere else
[19:42:56] <SWPadnos> because that differentiates them from WIN_*
[19:43:10] <alex_joni_> just a few without EMC .. especially for you :P
[19:43:13] <robin_sz> sigh ...
[19:43:19] <robin_sz> the madness is strong tonight
[19:43:27] <robin_sz> * robin_sz drinks sherry
[19:43:33] <robin_sz> so ...
[19:43:36] <SWPadnos> SWP_SAYS_MADNESS_IS_KEY
[19:43:42] <anonimasu> lol
[19:43:53] <robin_sz> it looks like I will do the Swiss thing
[19:44:00] <alex_joni_> pass that sherry
[19:44:02] <SWPadnos> Cool
[19:44:07] <SWPadnos> that should be fun
[19:44:08] <robin_sz> yep
[19:44:12] <alex_joni_> what swiss thing?
[19:44:38] <robin_sz> alex_joni: offered a fulltime software/director level job in switzerland
[19:44:48] <A-L-P-H-A> this is poop... my package still hasn't arrived.
[19:44:55] <alex_joni_> coo
[19:44:57] <SWPadnos> Well - let me know if you want someone with no experience to run your plant while you''re away :)
[19:45:03] <alex_joni_> movinf to switzerland?
[19:45:05] <robin_sz> SWPadnos: i do!
[19:45:18] <robin_sz> alex_joni: yeah, or france, just over the border
[19:45:25] <SWPadnos> Excellent - we're just about out of good tea - I need to go to England soon :)
[19:45:47] <alex_joni_> musste vorsicht haben mit die schwiitzer
[19:45:48] <robin_sz> SWPadnos: I am advertising for a manager/partner for the laser cuttign thing
[19:46:06] <robin_sz> alex_joni, no geneva is mainly french speaking
[19:46:30] <alex_joni_> oups.. escuse moi
[19:46:31] <robin_sz> not so much scweiz deutsch there
[19:46:44] <SWPadnos> Are there any local without enough experience ;)
[19:46:48] <SWPadnos> locals
[19:46:55] <robin_sz> matters not
[19:47:10] <robin_sz> they like me :)
[19:48:50] <robin_sz> anyway, the idea is to get someone in to run the laser cutter pretty much as their own business and send me soem cash from time to time
[19:50:16] <SWPadnos> heh - I could do that
[19:50:22] <SWPadnos> even in English :)
[19:50:26] <robin_sz> let me send you a map ;)
[19:50:33] <robin_sz> you start monday
[19:50:51] <SWPadnos> Deal!
[19:51:18] <SWPadnos> What part of England are you in , anyway?
[19:51:26] <alex_joni_> SWP: seems the format stuff is pretty deap buried inside of rcslib/libnml
[19:51:31] <robin_sz> Worcestershire, left of Birmingham
[19:51:56] <alex_joni_> * alex_joni_ likes Worcestersauce
[19:52:21] <alex_joni_> oh .. it was shire ;)
[19:52:23] <robin_sz> its got anchovies in it
[19:52:29] <alex_joni_> heh.. yeah
[19:53:29] <robin_sz> worcester is a city ..
[19:53:38] <robin_sz> the capital of the county
[19:53:40] <alex_joni_> I thought so
[19:54:21] <robin_sz> and they do make the souace there
[19:54:35] <alex_joni_> now that's a funny coincidence
[19:55:04] <alex_joni_> the sauce is named like the city ;)
[19:55:17] <alex_joni_> anyways.. enough blabbering around
[19:55:34] <alex_joni_> SWP: seems like update(CMS *) is defined in NMLMsg
[19:55:43] <alex_joni_> and reimplemented lateron
[19:55:53] <alex_joni_> make that NMLmsg
[19:56:15] <SWPadnos> right
[19:56:27] <SWPadnos> that's why I think the compiler and RTTI can help us out here
[19:57:14] <alex_joni_> so ((NMLmsg *)buffer)->update(cms); should be enough
[19:57:18] <alex_joni_> right?
[19:57:23] <SWPadnos> I nkew I had been to Birmingham - we went through it on our way from Keswick to Coventry
[19:57:27] <alex_joni_> if my c++ memory serves me right
[19:57:33] <robin_sz> Keswick
[19:57:36] <robin_sz> nice place
[19:57:46] <SWPadnos> no - that'll call the NML_MSG function, unless it's delcared as pure virtual
[19:57:50] <robin_sz> did you go through Settle?
[19:57:58] <alex_joni_> why not make it pure virtual?
[19:58:04] <SWPadnos> Possibly - it was two years ago
[19:58:20] <SWPadnos> alex_joni_ good idea :)
[19:58:53] <alex_joni_> * alex_joni_ takes out the heavy guns: Stroustrup
[20:01:37] <SWPadnos> I've been looking for my copy of that book for days now - I think it may have been lost in our move
[20:02:05] <alex_joni_> I never got to read it entirely
[20:02:12] <alex_joni_> but I always wanted to :D
[20:04:03] <alex_joni_> right 'virtual' in the main class should do the trick
[20:04:19] <SWPadnos> I got a couple hundred pages in - I still have the list of errors I found somewhere
[20:04:50] <SWPadnos> that will also require any subclass to implement the function, or the compiler will throw a fit
[20:05:10] <alex_joni_> I think the subclasses do that
[20:08:28] <alex_joni_> * alex_joni_ is back in a bit
[20:08:35] <alex_joni_> booting the emcbox
[20:09:59] <SWPadnos> I believe they do, but the compiler will also tell you if one of them doesn't ;)
[20:10:27] <SWPadnos> hmmph - I found my military ribbons, but no Stroustrup book :(
[20:12:30] <alex_joni> back
[20:13:47] <A-L-P-H-A> realy?
[20:13:50] <A-L-P-H-A> that was long
[20:13:57] <alex_joni> heh
[20:14:05] <robin_sz> ooh .. temptation
[20:14:13] <robin_sz> http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&category=1297&item=4538586638&rd=1
[20:14:24] <robin_sz> .me checks his piggy bank
[20:15:51] <A-L-P-H-A> the boat is older than my sister... younger than me...
[20:16:15] <A-L-P-H-A> oh in florida.
[20:16:30] <robin_sz> hmmm
[20:16:39] <alex_joni> SWP: got some issues ;)
[20:16:46] <robin_sz> ok .. the boat is currently only �920
[20:16:48] <A-L-P-H-A> what would it cost to get it insured?
[20:17:00] <robin_sz> so, how much for your sister?
[20:17:13] <A-L-P-H-A> she's a bitch, you can have her for free.
[20:17:13] <SWPadnos> heh - what went wrong?
[20:17:22] <SWPadnos> You pay the shipping
[20:17:41] <robin_sz> A-L-P-H-A: do you have a returns policy?
[20:18:14] <alex_joni> undefined reference to 'typeinfo for NMLmsg'
[20:18:20] <alex_joni> in emc.cc
[20:18:38] <SWPadnos> there may be a compiler switch to enable / disable RTTI
[20:18:41] <alex_joni> during linking :)
[20:19:05] <A-L-P-H-A> does it come with a trailer to hall it back?
[20:19:41] <SWPadnos> a 37HP motor seems awfully small for that boat
[20:20:03] <alex_joni> also: class NML_ERROR has virtual functions but non-virtual destructor
[20:20:07] <SWPadnos> though I suppose it *is* supposed to use wind power
[20:20:46] <alex_joni> the 37HP motor does produce 'some' wind
[20:24:47] <SWPadnos> hmmm - the virtual thing may not work - emcFormat basically converts the messages from a bunch of bytes to a type
[20:25:13] <SWPadnos> the type information wouldn't necessarily exist if the message had been transferred over a network or other link
[20:25:31] <alex_joni> right
[20:25:39] <alex_joni> that's what I was afraid
[20:26:49] <SWPadnos> nonetheless, a table based approach may still be workable
[20:31:32] <alex_joni> that will break interoperability with rcslib
[20:31:54] <SWPadnos> Do you know where the NMLTYPE definition is?
[20:32:17] <SWPadnos> nevermind - nml.hh
[20:32:45] <alex_joni> #ifndef NMLTYPE_TYPEDEFED
[20:32:48] <alex_joni> #define NMLTYPE_TYPEDEFED
[20:32:48] <alex_joni> typedef long NMLTYPE;/* Also defined in nmlmsg.hh */
[20:32:48] <alex_joni> #endif
[20:32:48] <SWPadnos> great - it's a long - just what we need
[20:36:12] <SWPadnos> well - unfortunately I don't have the time to delve further into this right now - gotta get a PCB design out today
[20:36:32] <alex_joni> right
[20:36:37] <alex_joni> and I gotta get some sleep
[20:36:47] <SWPadnos> good plan - good night :)
[20:37:18] <alex_joni> night
[20:37:57] <alex_joni> I just wanna find out what RCS_GENERIC_CMD is
[20:37:59] <alex_joni> or does
[20:39:58] <jerry> leave
[20:41:32] <SWPadnos> OK - where are you looking
[20:41:37] <alex_joni> hmmm.. doesn't seem to be used
[20:42:16] <alex_joni> it's defined in stat_msg (.cc, .hh)
[20:43:17] <SWPadnos> I only see RCS_GENERIC_STATUS
[20:43:40] <alex_joni> http://www.linuxcnc.org/handbook/fileref/rcslib/classRCS__GENERIC__STATUS.html
[20:43:40] <alex_joni> yeah .. and there's another called RCS_GENERIC_CMD
[20:44:08] <alex_joni> cmd_msg (.cc, .hh)
[20:44:12] <SWPadnos> I just bought the RCS book on eBay ($8.00 including shipping) - maybe that will help
[20:44:26] <alex_joni> heh.. there is one?
[20:44:32] <alex_joni> http://www.linuxcnc.org/handbook/fileref/rcslib/classRCS__GENERIC__CMD.html
[20:44:47] <SWPadnos> yep - it's about $80 new
[20:45:08] <SWPadnos> http://www.wiley.com/WileyCDA/WileyTitle/productCd-0471435651.html
[20:47:30] <alex_joni> I thought this: http://www.uvm.edu/~ashawley/rcs/rcs_handbook.html
[20:53:30] <alex_joni> night
[21:07:17] <les> hi all
[21:07:23] <les> nice day here today
[21:07:25] <les> 80f
[21:13:07] <Dmess> i wish...
[21:13:32] <SWPadnos> It's a whopping 50 here (but that's better than 25-35)
[21:14:03] <Dmess> anyone know how to get the FTP command to work off the MORPHIX based BDI
[21:14:12] <SWPadnos> ftp
[21:14:20] <Dmess> nope
[21:14:27] <SWPadnos> try ncftp
[21:14:36] <Dmess> from a bash??
[21:14:43] <SWPadnos> yes - from a shell
[21:14:54] <SWPadnos> but ftp should be there anyway, I think
[21:15:11] <SWPadnos> if not, apt-get install ncftp
[21:15:28] <Dmess> hmm i'll try ncftp.... i would have thought so too
[21:16:09] <paul_c> ftp should be there..
[21:19:12] <Dmess> got it... thx.. now it says cant login invalid home directory...
[21:19:44] <SWPadnos> are you trying to set up an FTP server on your EMC box?
[21:22:41] <Dmess> no ftp server is on the CATIA box...
[21:23:03] <Dmess> using ftp to get files into the EMC box
[21:24:08] <SWPadnos> OK.
[21:24:11] <paul_c> is CATIA running on a Unix box ?
[21:24:32] <Dmess> no ..
[21:24:45] <Dmess> but it may be capable
[21:24:54] <Dmess> it came from unix
[21:25:35] <paul_c> If you can do an NFS mount, it may be easier...
[21:27:46] <Dmess> still just messin around...
[21:28:07] <Dmess> workin with the little unix i remember
[21:51:32] <robin_sz> or better still
[21:51:47] <robin_sz> install ssh on the unix box
[21:51:56] <robin_sz> and winscp on the 'doze box
[21:52:05] <robin_sz> winscp is very, very awesome
[22:15:14] <les> ok email off to shanghai
[22:16:05] <les> should I hold my breath?
[22:19:15] <Jymmm> anyone have a listing of g-code I could have? doens't matter what it is, just at least 2K or better
[22:19:44] <les> hmm I have a couple files
[22:19:45] <SWPadnos> there are sample files included with EMC
[22:20:11] <Jymmm> les url?
[22:20:26] <les> not on web page
[22:20:40] <les> but it's www.lmwatts.com
[22:21:20] <les> I have a nice celtic spiral border plaque in 3d that simply says "emc"
[22:21:35] <les> good 3d exercise
[22:21:47] <Jymmm> les I'm actually lookign for the g-code itself.
[22:22:07] <les> yeah well that's what I mean...the g-code
[22:23:03] <les> I'll dcc it to whomever wants a copy
[22:23:17] <Jymmm> * Jymmm can't dcc
[22:23:23] <les> aw
[22:23:53] <les> well the example code that comes with emc is much simpler...my files tend to be huge
[22:24:03] <les> as are many 3d ones
[22:24:15] <Jymmm> do I have dl emc to grab it?
[22:24:21] <SWPadnos> CVS?
[22:24:29] <les> lots of smaller files on SF
[22:24:30] <Jymmm> webcvs?
[22:24:32] <les> yeah
[22:25:01] <SWPadnos> in /emc/programs
[22:25:07] <les> right
[22:25:09] <Jymmm> url?
[22:25:21] <SWPadnos> http://cvs.sourceforge.net/viewcvs.py/emc/emc/programs/
[22:25:30] <Jymmm> * Jymmm has a SERIOUS tooth ache
[22:26:20] <les> uh oh
[22:26:38] <les> root canal city?
[22:26:52] <Jymmm> more lieke oral surgeon
[22:27:03] <Jymmm> SWPadnos thanks for the url
[22:27:14] <SWPadnos> sure - too bad there's no size information :)
[22:27:18] <les> toothaches can get nasty...I have had systemic infections from them
[22:27:39] <Jymmm> I get very irritated when I'm in pain
[22:27:58] <les> better get some hydrocodone if you don't have some in your first aid kit
[22:29:02] <Jymmm> gargling with antiseptic mouthwash about ever 10 minutes
[22:29:15] <les> ok it's bad
[22:29:16] <Jymmm> usually kills the pain too, but not this time
[22:29:22] <les> the can't sleep kind?
[22:30:19] <les> any swelling?
[22:30:21] <Jymmm> the I already ran my gf out of the hosue for a while cause I'm running around ripping the head of of anything that blinks at me
[22:30:41] <les> I am kind of a tooth abcess expert.
[22:30:54] <les> free advice:
[22:31:03] <les> it prob won't get better
[22:31:30] <Jymmm> half the tootth was gone months ago
[22:31:47] <les> go to e room or call doc after hours to get hydrocodone rx
[22:32:06] <les> then get to the dentist
[22:32:26] <Jymmm> too expensive... would be around $15K
[22:32:43] <les> I had one that went systemic and the doc said it was life threatening
[22:33:00] <les> naw...root canal is a few hundred
[22:33:01] <Jymmm> sucks to have bad genes
[22:33:23] <les> pull is only a little
[22:33:32] <les> yeah my teeth are very bad
[22:34:35] <Jymmm> I think I still have some vicodene around here somewhere
[22:34:36] <les> If you don't have any of the good stuff a couple alleve might help a little
[22:35:00] <Jymmm> 800mg Ibproferin PRN
[22:35:02] <les> oh vicodene....cool...your'e covered
[22:36:34] <les> If you are not tearing through the medicine cabinet to find it the pain must not be too bad yet
[22:37:01] <Jymmm> * Jymmm didnt' realize that hydrocodone is vicodene
[22:37:07] <les> heh
[22:37:44] <Jymmm> expired 2001
[22:37:58] <les> It's fine..it keeps
[22:38:05] <les> I know...I asked
[22:38:23] <Jymmm> 7.5mg if im reading this correctly
[22:38:31] <Jymmm> fucking horse pills
[22:38:33] <les> Because I keep it in the shop emergency first aid kit
[22:38:42] <Jymmm> heh
[22:39:59] <les> cut one in half if the pain is not so bad
[22:41:22] <Jymmm> AH, found it... 7.5mg vocodene / 750mg tylenol
[22:42:12] <les> Areally bad toothache is amazingly painful...
[22:42:18] <Jymmm> seems the advil helped (once it kicked in)
[22:42:50] <Jymmm> I try not to take the "good stuff" unless I REALLY need it (supply and demand)
[22:42:53] <les> without meds you will hit yourself over the head to knock yourself out to stop it haha
[22:43:14] <Jymmm> Last time... I tried the boose thing - didn't do a damn thing
[22:43:21] <les> yeah...sounds like it is not so bad yet
[22:43:26] <les> just irritating
[22:43:51] <Jymmm> it's bad, I can physically take the pain, but boy am I a son of a bitch to be around.
[22:44:05] <les> got it
[22:44:22] <les> you have some time before it gets really bad
[22:44:42] <les> save the good stuff if you can
[22:44:52] <Jymmm> whats scarry is yesterday I ran out of advil completely, so we bought a bottle later that afternoon.
[22:45:50] <Jymmm> or "I'd be fucked" right about now
[22:45:59] <les> heh
[22:56:30] <robin_sz> coo
[22:56:39] <robin_sz> is dental treatment expensive in the US then?
[22:56:47] <les> it can be
[22:57:02] <robin_sz> its basically free in the UK
[22:57:15] <Jymmm> basically?
[22:57:16] <les> Last time Paulsl was here I was recovering from a bout
[22:57:23] <les> paul
[22:57:35] <robin_sz> yeah, for any standard treatment its free
[22:57:38] <les> surgery with general anesthesia
[22:57:44] <robin_sz> yeah
[22:57:53] <robin_sz> anyting that "needs" to be done
[22:58:09] <Jymmm> robin_sz: marry me!
[22:58:13] <les> we have a different system here....If you get rally sick and don't have big cash...
[22:58:17] <les> you die.
[22:58:23] <robin_sz> but if you want the "deluxe" version, you have to pay
[22:58:26] <Jymmm> what les said
[22:58:57] <Jymmm> robin_sz would half the tooth missing be considered "need" ?
[22:59:02] <robin_sz> sure
[22:59:09] <Jymmm> marry me!
[22:59:10] <robin_sz> anyting ..
[22:59:13] <robin_sz> say a root canal
[22:59:17] <robin_sz> free
[22:59:32] <robin_sz> or say a crown
[22:59:32] <les> an abcessed tooth untreated can kill you
[22:59:41] <robin_sz> a gold crown will be free
[22:59:51] <robin_sz> a porcelain crown might cost
[22:59:53] <les> I had them that went systemic...105 fever...bad
[23:00:07] <gezr> I have some viscious cavities, but no abcesses as of yet i dont figure, I do need to get them repaired
[23:00:12] <robin_sz> bad teeth give you a bad heart
[23:00:20] <les> can
[23:00:25] <robin_sz> certainly
[23:00:29] <les> that is what the doc said
[23:00:45] <les> myoencephalitis I think was what he said
[23:01:13] <robin_sz> sounds right
[23:01:40] <les> when I had that episode they said it was life threatening anyway
[23:01:46] <robin_sz> yeah
[23:02:29] <les> hmmm mr bob from shanghai has not answered...
[23:02:36] <les> after hours I guess
[23:33:37] <SWPadnos> damn - does anyone know the quick-turn PCB house called something like "golden dragon" or some such?
[23:33:52] <SWPadnos> Repped in Canada and US, manufactured in China, I think
[23:35:27] <SWPadnos> ha - found it "Gold Phoenix PCB"
[23:36:08] <les> fo rprotos?
[23:36:14] <les> protos
[23:36:19] <SWPadnos> yep
[23:37:25] <SWPadnos> I usually use Advanced Circuits (www.4pcb.com), but I thought I'd try to find a cheaper alternative
[23:37:38] <Jymmm> SWPadnos: size?
[23:37:41] <les> Last ones Idid were milled...but it was silly. But if someone will pay $100 for you to do it...well I won't argue.
[23:37:50] <SWPadnos> 4x5 inches
[23:37:58] <Jymmm> $29 ok?
[23:38:09] <SWPadnos> I've found $13 each for 5-day turn
[23:38:36] <les> double sided through hole?
[23:39:10] <Jymmm> les who you asking?
[23:39:22] <les> SWP I guess
[23:39:27] <SWPadnos> yep - 2 side, .062 FR$ board, both side mask, one side legend, any routing, no slots, .008 trace/space
[23:39:31] <SWPadnos> FR4 that is
[23:39:46] <Jymmm> http://www.olimex.com/pcb/index.html
[23:39:51] <les> not bad for FR4 G10
[23:39:54] <SWPadnos> yep - checked there
[23:42:38] <Jymmm> Damn... I can't find any large images of Leonardo da Vinci's sketches
[23:43:04] <SWPadnos> trying to find out how your tooth connects to your pain center? :D
[23:43:21] <les> it connects real good
[23:44:00] <les> but jymmm is fine...or he would not be here
[23:45:28] <les> course he has to take his GF out or something later....for biting her head off
[23:45:44] <SWPadnos> yeah - that kind of thing gets expensive
[23:46:09] <les> GF? yeah they are.
[23:49:03] <les> Now if GF->wife I haven't a clue
[23:49:13] <les> having been through two
[23:49:27] <les> whatever I say do the opposite I guess
[23:53:01] <Jymmm> robin: Run over to the British Museum and photgraph Leo's notebooks for me!
[23:53:42] <les> Aw that stuff must be on the net somewhere
[23:54:01] <Jymmm> les I've been trying for two days now
[23:54:11] <les> hmm
[23:55:03] <Jymmm> his paintings, yes. But not his sketches
[23:56:43] <les> http://library.thinkquest.org/3044/int_skch.html
[23:56:55] <les> heh
[23:57:07] <Jymmm> les too small
[23:57:30] <Jymmm> les : need at least 1000px wide
[23:57:31] <les> click on the thumbnails
[23:57:43] <Jymmm> I did,,, 384x256
[23:57:51] <les> might not be 1000 pixels though
[23:58:18] <les> resample?
[23:58:31] <Jymmm> I found the entire text translated, but not the sketches
[23:58:42] <Jymmm> oh no, would loos too much quality
[23:59:29] <Jymmm> this is the best so far, but incomplete
[23:59:31] <Jymmm> http://www.visi.com/~reuteler/leonardo.html