#emc-devel | Logs for 2010-12-08

[03:39:34] <dgarr> for consideration: http://www.panix.com/~dgarrett/stuff/0001-interp-create-named_parameters-for-emc-version-info.patch
[03:41:45] <cradek> dgarr: this interests me because I've considered using named parameters for introspection (making the interpreter's state available in gcode - most commonly asked for is current position)
[03:43:35] <dgarr> this is a very small subset of that and version is naturally readonly
[03:44:05] <cradek> yes
[03:44:33] <cradek> I think all of the introspection stuff would be readonly
[03:47:23] <cradek> I'm a little unsure what all kinds of version numbers we have used or will use - that is the only thing that worries me about this patch
[03:47:53] <cradek> it makes another place that's fragile when we mess with the numbers
[03:48:43] <cradek> where does PACKAGE_VERSION come from?
[03:48:50] <dgarr> config.h
[03:49:25] <dgarr> and ../VERSION
[03:51:13] <cradek> ah :-)
[03:51:59] <dgarr> i noticed in was used in axis: emcmodule.cc: PyModule_AddObject(m, "version", PyString_FromString(PACKAGE_VERSION));
[03:52:43] <cradek> I haven't found yet how it gets there - I'm not good at either configure or packaging stuff
[03:53:07] <cradek> but I'm just wondering for my own interest I guess
[03:55:46] <cradek> I'm not confident enough to push this one - I'd rather someone else decide - ideally seb (our current packaging guru)
[03:56:25] <cradek> maybe send to the list? I haven't seen him here much lately.
[03:56:52] <dgarr> i'm in no hurry
[08:19:21] <mhaberler> psha: Good morning! your documentation chore of the day is waiting in your mailbox ;-)
[08:22:27] <psha> :))
[08:22:49] <psha> good morning
[08:29:06] <psha> for text_template it's possible to check it during assignment
[08:34:52] <psha> fixed in gladevcp
[08:36:06] <psha> for label it's a bit harder but possible too
[08:47:05] <mhaberler> for label its a dumb use case anyway, dont bother
[08:47:07] <mhaberler> re: text_template - thanks!
[08:47:08] <mhaberler> how's the doc coming along ;?
[08:48:10] <psha> i've reformatted itemizations and now will jump on TBAs
[08:49:38] <psha> tbas are for progressbar and comboboxes only?
[08:50:01] <mhaberler> are you doing it in wiki or email? so I dont trample on your wiki edits
[08:51:13] <mhaberler> all tba's! even those which I didnt mention..
[08:52:42] <psha> i've fixed incorrect itemizations only
[08:53:03] <psha> let me comment questions on email
[08:58:51] <mhaberler> ok
[09:03:25] <psha> * once I had picked a LED on/off color, I wasnt able to override it with #RRRGGGBBB
[09:04:54] <psha> i've sent you anwsers
[09:11:29] <mhaberler> super
[09:14:14] <mhaberler> just curious: on EMBED_TAB, is the gtk focus/escape key problem a non-issue if the tab is hidden?
[09:15:21] <psha> non issue
[09:15:39] <psha> gtk is stealing kbd focus when it has mouse over it
[09:15:42] <psha> it's limitation of Tk
[09:15:52] <psha> non implementing xembed protocol
[09:16:24] <mhaberler> ah, ok
[10:40:15] <moldovean> moldovean is now known as qq-
[14:38:21] <CIA-41> EMC: 03jepler 07master * rb8e06ac59146 10/src/ (Makefile Makefile.modinc.in): Avoid -mieee-fp on systems that don't support it
[18:45:48] <seb_kuzminsky> who runs the linuxcnc.org dns? i'd like to move emc2-buildbot.colorado.edu to the linuxcnc.org domain, since i'm about to lose my free webhosting at colorado.edu...
[18:46:13] <SWPadnos> hmmm
[18:46:17] <SWPadnos> that's more or less me
[18:46:44] <seb_kuzminsky> i can run the buildbot machines at my house for now (despite Qwest's somewhat flaky connectivity), but it'd be nice to have the dns transition be somewhat consistent and future-proof
[18:46:46] <SWPadnos> I don't know that we can run the buildbot on DreamHost, but we can point DNS somewhere else
[18:46:52] <seb_kuzminsky> right
[18:46:52] <SWPadnos> ok
[18:47:00] <SWPadnos> buildbot.linuxcnc.org
[18:47:07] <seb_kuzminsky> yeah
[18:47:10] <SWPadnos> do you have a static IP?
[18:47:15] <seb_kuzminsky> i've got dynamic IP :-(
[18:47:18] <SWPadnos> hmm
[18:47:25] <seb_kuzminsky> can you make that a cname for highlab.com? i've got dyndns
[18:47:29] <SWPadnos> I don't think we can do dynamic DNS with Dreamhost
[18:47:34] <SWPadnos> yeah, I probably can
[18:47:37] <SWPadnos> one sec
[18:51:00] <SWPadnos> do you want buildbot.highlab.com?
[18:51:36] <seb_kuzminsky> uh no
[18:51:43] <seb_kuzminsky> or maybe
[18:51:43] <seb_kuzminsky> hm
[18:52:13] <SWPadnos> I can't do *.linuxcnc.org, -> *.highlab.com for obvious reasons :)
[18:54:23] <seb_kuzminsky> please add buildbot.linuxcnc.org cname emc2-buildbot.highlab.com
[18:55:10] <SWPadnos> ok, done. it may take a few minutes to propagate
[18:55:30] <seb_kuzminsky> cool
[18:55:55] <seb_kuzminsky> i'll move the machine maybe this weekend and we'll see what breaks
[18:56:01] <SWPadnos> ok
[18:56:21] <SWPadnos> I'll be away for the following two weekends, just so you know
[18:57:24] <SWPadnos> (not this weekend though, so that's all good)
[18:57:59] <skunkworks> seb_kuzminsky: can I ask why you lost the hosting?
[18:58:27] <SWPadnos> hmmm. I can see emc2-buildbot.highlab.com now, but not buildbot.linuxcnc.org (with nslookup)
[18:59:10] <seb_kuzminsky> skunkworks: i got laid off - my research group at the university lost most of its nasa funding :-(
[18:59:17] <skunkworks> yeck
[18:59:20] <SWPadnos> eek. bummer
[18:59:35] <seb_kuzminsky> so if you know anyone who needs a linux hacker... ;-)
[18:59:36] <SWPadnos> it's those darned arsenic-based microbes! (or not)
[19:00:04] <SWPadnos> hmmm. should there be a trailing '.' on the CNAME record?
[19:00:30] <SWPadnos> ah, nevermind. there it is
[19:01:01] <seb_kuzminsky> yep, looks good
[19:01:27] <SWPadnos> well, I can't seem to load it in Firefox, but I can see it in DNS
[19:03:15] <seb_kuzminsky> i just changed emc2-buildbot.h.c to point to the .c.e address, then i can start asking people to switch to the buildbot.linuxcnc.org url
[19:06:36] <skunkworks> seb_kuzminsky: Good luck. It is just bad all around.
[19:08:47] <skunkworks> (I was hoping it was because you got a different, better job)
[19:12:30] <seb_kuzminsky> thanks skunkworks... there's tons of work, if you want to be a web front-end php programmer :-(
[19:13:00] <seb_kuzminsky> i've got some interesting leads - i'm not too worried (or hungry) yet
[19:13:33] <skunkworks> that is good!
[19:19:26] <psha> seb_kuzminsky: it's bad year :) my wife's research group was dismissed on november :)
[19:19:55] <seb_kuzminsky> "science - who needs it?"
[19:20:26] <psha> heh, you don't even estimate how this statement is close to reality here, in russia :)
[19:20:33] <archivist> Im hungry now, was laid off a year ago
[19:22:08] <seb_kuzminsky> what do you guys think of that Anonymous Investor on the emc-users list?
[19:22:14] <psha> archivist: what's strong will! indian yogas will burst in envy :)
[19:22:44] <SWPadnos> seb_kuzminsky, I'm suspicious, but there are three things that make me wonder:
[19:22:50] <SWPadnos> 1) correct grammar and spelling
[19:22:56] <archivist> dunno does not look quite right to me
[19:23:01] <SWPadnos> 2) apparent research and specificity of the offer
[19:23:20] <SWPadnos> 3) I can't think of particular gains from that, if it's spam
[19:23:57] <skunkworks> I thought it was well written also.
[19:24:52] <archivist> the promise not to interfere seems ok
[19:26:00] <seb_kuzminsky> yeah it's obviously all written by a human who knows what emc2 is and knows the commercial environment emc2 is on the fringe of
[19:26:11] <archivist> I would want to know return expected and percentage equity he expects
[19:26:30] <SWPadnos> clearly, that goes into the business plan :)
[19:26:55] <dgarr> seb_kuzminsky: i posted a patch yesterday and cradek suggested you to review it: http://www.panix.com/~dgarrett/stuff/0001-interp-create-named_parameters-for-emc-version-info.patch reading back: sorry about the job, best wishes for the next one
[19:27:05] <archivist> is it an altuistic offer or not
[19:27:40] <seb_kuzminsky> archivist: it's not altruistic! tanstaafl
[19:30:36] <cradek> seb_kuzminsky: I thought of you because of our talk about auto package builds, cleaning up where the versioning information comes from, etc. seems like the code in dewey's patch would be affected by those other things.
[19:31:15] <seb_kuzminsky> cradek, dgarr: i'll read the patch
[19:31:58] <psha> seb_kuzminsky: how's greedy to resources is builtmaster?
[19:32:00] <psha> build
[19:32:58] <psha> i have host with static ip (with some downtimes though) which i think may host some not extremly greedy task
[19:33:00] <archivist> depends on the machine and whats being built and tested, can be a lot
[19:33:50] <seb_kuzminsky> the buildmaster does very very little, all the cpu-intensive stuff is done by buildslaves running on other computers, totally unrelated to the buildmaster
[19:33:56] <archivist> I was running a buildbot on this box running the cnc for one of the mysql forks
[19:34:08] <cradek> I could host on git.linuxcnc.org, but it's not much of a machine for running VMs etc. way too slow.
[19:34:09] <seb_kuzminsky> the buildmaster is mostly just a point-of-contact and coordinator of all the work that needs done
[19:34:35] <psha> so i may give you account on void.psha.org.ru if you wish
[19:34:35] <seb_kuzminsky> i think part of my severance package will include the vm host that runs all our buildslaves
[19:35:21] <cradek> hm, maybe it could run the master stuff then. yell if that's something you want to explore.
[19:35:50] <cradek> that host is a freebsd jail, fwiw
[19:37:17] <seb_kuzminsky> the main requirement for the buildmaster (at least as the buildbot is currently set up) is that it needs reasonable connectivity to the buildslaves (for receiving the debs) and to the internet (for distributing the debs to users)
[19:38:04] <cradek> mine's on relatively fast cable
[19:38:21] <seb_kuzminsky> how's your uplink?
[19:38:36] <skunkworks> could then the build master run on dreamhost?
[19:38:37] <cradek> I knew you'd ask that...
[19:38:45] <archivist> and any monthly limit
[19:39:08] <SWPadnos> skunkworks, was there an error in to: address?
[19:39:22] <SWPadnos> (your last email to the user list seemed - out of place)
[19:39:39] <skunkworks> heh
[19:39:49] <skunkworks> that is funny. only the second time I have done that.
[19:39:59] <skunkworks> ok - maybe the third.
[19:40:03] <SWPadnos> at least there were no passwords involved :)
[19:40:32] <seb_kuzminsky> ooh, debian squeeze will ship with zfs
[19:40:42] <cradek> skunkworks: up speed looks like about 150 KB/s = 1.5 Mbit?
[19:40:54] <cradek> or maybe it's limited by my down speed here at work...
[19:41:08] <SWPadnos> cradek, Comcast?
[19:41:14] <seb_kuzminsky> brb lunch
[19:41:28] <skunkworks> I am glad my emails are pretty short and make little sense to anyone but the reciever ;)
[19:41:38] <SWPadnos> that reminds me, gotta call Comcast about higher speed internet
[19:41:40] <SWPadnos> heh
[19:41:52] <SWPadnos> and maybe not even them!
[19:42:05] <skunkworks> heh
[19:42:07] <archivist> I serve my websites off this adsl line
[19:43:34] <skunkworks> archivist: your website is slow ;)
[19:45:34] <cradek> 162 KB/s up from git.linuxcnc.org to dreamhost
[19:45:38] <cradek> so, not super fast.
[19:45:45] <archivist> .36 mb per sec, too far from the exchange
[19:46:01] <archivist> up 5 meg down
[19:46:11] <seb_kuzminsky> cradek: that's twice what highlab.com gets on the uplink
[19:46:59] <cradek> you're welcome to use it. I would be able to handle backups too then.
[19:48:01] <cradek> /usr/jails/basejail 13102198 6956054 5097970 58% /usr/jails/emc2/basejail
[19:48:13] <cradek> not much disk available currently though
[20:33:39] <seb_kuzminsky> dgarr: i think PACKAGE_VERSION is currently the best place for you to get the version string
[20:34:08] <seb_kuzminsky> it comes from the VERSION file in the root of the checkout, which is a human-maintained file, which is a bit problematic
[20:37:01] <seb_kuzminsky> the best way to learn the version, i think, is to run "git describe --dirty --match $GLOB", where $GLOB depends on what branch you're on
[20:37:12] <seb_kuzminsky> that's kind of cumbersome :-(
[20:38:15] <dgarr> yes, i noticed PACKAGE_VERSION used in axis: emcmodule.cc: PyModule_AddObject(m, "version", PyString_FromString(PACKAGE_VERSION));
[20:39:31] <seb_kuzminsky> one can imagine auto-generating the VERSION file, perhaps at configure time, but it would potentially become out-of-date anytime you do git ops or manual edits that change the working tree, and then it's just misleading
[20:45:19] <seb_kuzminsky> aight
[20:45:31] <seb_kuzminsky> buildbot.linuxcnc.org is the new official buildbot url
[20:49:48] <SWPadnos> ok, I guess I'll be switching to Comcast soon. 20/5 mbit service is actually reasonably priced
[20:50:56] <SWPadnos> err, 22/5
[20:51:40] <seb_kuzminsky> i updated the buildbot urls i could find on the wiki
[20:54:43] <cradek> we should've used a cname all along...
[20:54:53] <cradek> much smarter now
[20:55:04] <SWPadnos> yeah. oops