#linuxcnc-devel | Logs for 2016-10-18

[06:03:37] <jepler> ummm is www.linuxcnc.org broken?
[06:04:15] <jepler> looks like dns is gone for linuxcnc.org and www.linuxcnc.org.
[06:06:40] <jthornton> I get site not found - DreamHost
[06:21:00] <jepler> well I fired off an e-mail to swp, the guy with full access to the dreamhost control panel..
[06:53:26] <jepler> fuck, mail to swp goes to dreamhost and then bounces
[07:13:33] <archivist> !seen SWPlinux
[07:13:34] <the_wench> last seen in 2016-04-12 03:05:30GMT 838:59:59 ago, saying Quit: ChatZilla 0.9.92 [Firefox 45.0.1/20160325005206]
[07:17:45] <jepler> yeah he is not very active in the project anymore (big understatement) but has always provided the hosting for the main website
[07:18:36] <jepler> I've texted him; if we don't hear from him, or he's unable to provide us free hosting anymore, cradek has a backup of the website and we'll work to get it back online soon with another hosting provider.
[07:21:58] <archivist> did they take the site down too? just wondering about pointing other dns at it
[07:23:09] <jepler> I know the A-records for linuxcnc.org and www.linuxcnc.org are gone, and that's really just about all I know.
[07:23:54] <jepler> DNS is at dreamhost, www.linuxcnc.org is at dreamhost, git.linuxcnc.org and forum.linuxcnc.org are hosted elsewhere.
[07:25:03] <archivist> I checked for the A records earlier
[07:25:33] <jepler> yeah, and they must still be cached for some people
[07:26:02] <jepler> like jt who saw "site not found - Dreamhost"
[07:26:12] <jepler> so yeah they "took the site down too"
[07:29:02] <archivist> a bit odd they left git and forum up dns up
[07:29:05] <jepler> OK, text from SWP, he will look into it this morning. I'll keep this channel updated if I hear from him
[07:29:17] <jepler> archivist: I agree, it may only be lucky coincidence for now
[07:29:56] <archivist> I use http://www.squish.net/dnscheck/v1.html to do deep trawls of dns
[07:30:30] <jepler> no outage notices on dreamhoststatus.com
[07:30:40] <archivist> at least he is ok
[07:30:51] <jepler> I'll file that site away.
[07:30:54] <jepler> I use dig +trace -t a www.linuxcnc.org or similar
[07:31:42] <archivist> I use squshy because it is also external to me, I host my dns :)
[07:32:35] <jepler> yeah that can complicate things!
[07:33:33] <archivist> me and a few others are sharing the dns and spreading it about
[07:43:54] <JT-Shop> I have a unix hosting with webhost4life with unlimited bandwidth
[07:45:20] <jepler> the A record is starting to reappear, and now I can ssh in and verify that the contents are still there on dreamhost
[07:45:26] <jepler> so I think all will be well soon
[07:45:52] <jepler> but yes we have options
[07:47:24] <jepler> the main problem of hosting is the amount of data in wlo. 34GB at the moment, of which 26GB is debian packaging and 5GB is iso images
[07:47:54] <jepler> 205M www.linuxcnc.org/dists/breezy
[07:53:25] <jepler> and now the website content is back for me.
[07:53:31] <archivist> time I had a tidy up my www is 252,575 items, totalling 59.4 GB
[07:54:11] <JT-Shop> I have unlimited disk space on webhost4life.com
[07:54:31] <jepler> the dreamhost account is paid up for another 3 years so let's not do anything right now
[07:54:40] <JT-Shop> yea
[07:54:41] <jepler> someone can mark now + 2.9 years on their calendar though!
[08:01:51] <JT-Shop> or maybe add more contacts to the account
[09:41:44] -linuxcnc-github:#linuxcnc-devel- [13linuxcnc] 15CNC-432 closed issue #181: Building LinuxCNC 02https://github.com/LinuxCNC/linuxcnc/issues/181
[10:11:12] <KGB-linuxcnc> 03Jeff Epler 05master b6dc604 06linuxcnc 10src/emc/sai/Submakefile rs274: use configure-detected readline libs * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=b6dc604
[10:11:14] -linuxcnc-github:#linuxcnc-devel- [13linuxcnc] 15jepler commented on issue #181: Thanks. Fixed in our master branch. 02https://github.com/LinuxCNC/linuxcnc/issues/181#issuecomment-254529613
[10:41:47] <linuxcnc-build> build #1178 of 1500.rip-jessie-i386 is complete: Failure [4failed compile runtests] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1500.rip-jessie-i386/builds/1178 blamelist: Jeff Epler <jepler@unpythonic.net>
[11:04:06] <jepler> ???
[11:04:16] <jepler> linuxcnc-build: force build --branch=master 0000.checkin
[11:04:22] <linuxcnc-build> The build has been queued, I'll give a shout when it starts
[12:15:02] <jepler> sigh, rip-wheezy-armhf fell off the planet
[13:19:50] <KimK_laptop> Daily reminder: "/join #linuxcnc-fest" for fest chat. (Yes, pretty slow right now, but should pick up as time goes on.)
[14:17:27] <andypugh> I have a feeling that this PyGTK documentation is slightly incomplete: http://www.pygtk.org/docs/pygobject/class-gobject.html#method-gobject--chain
[14:17:41] <andypugh> (Look at the chain() method)
[14:21:25] <archivist> well something is documented!
[14:32:10] <pcw_mesa_> might be better than doing nothing
[15:04:50] <andypugh> Does anyone have an idea how to get arounf “could not convert type VisibilityState to GParam” in GTK?
[15:05:24] <andypugh> I don’t seem to be able to even find out what a “Gparam” is
[15:58:33] <andypugh> On a different tack, any idea how to work out the valid entries for “type” in gobject.new(type, …) https://developer.gnome.org/pygobject/stable/gobject-functions.html#function-gobject--new
[16:24:49] <tinkerer> andypugh: https://developer.gnome.org/gobject/unstable/gobject-Type-Information.html#GType
[16:26:43] <andypugh> tinkerer: It isn’t obvious to me how to use that information?
[16:27:59] <tinkerer> ah, you are searching for a complete docu... ;)
[16:28:12] <andypugh> tinkerer: I have found out How to get the GladeVCP Window in touchy, and how to get my windows in Glade, and now I am trying to send “visibility-notify” events between them. It looks like it ought to work.
[16:29:05] <andypugh> But if I use:
[16:29:11] <andypugh> w.emit('notify::visible', gtk.gdk.VISIBILITY_UNOBSCURED)
[16:29:35] <andypugh> Then I get the error above (could not convert type VisibilityState to GParam)
[16:30:43] <andypugh> A lot of Googling has found out that for some other signals you need a gtk.gdk.Event, and how to create one of those.
[16:31:15] <tinkerer> I've the feeling that you are mixing pygtk and gi
[16:31:38] <andypugh> ?
[16:31:56] <andypugh> pygtk has “emit”
[16:32:13] <tinkerer> "import pygtk" vs "import gi" ?
[16:32:45] <andypugh> I have no idea what gi even is. Why do you say that?
[16:33:27] <andypugh> This is code running in Touchy, which imports pygtk
[16:34:23] <tinkerer> pygtk vs pygobject
[16:34:31] <andypugh> Maybe.
[16:34:36] <andypugh> But I don’t hink so
[16:34:59] <tinkerer> hink... nice freud ;)
[16:35:36] <andypugh> https://developer.gnome.org/pygobject/stable/class-gobject.html#method-gobject--emit
[16:35:59] <andypugh> That’s PyGTK and the “emit” function.
[16:36:25] <andypugh> “notify::visible” is a valid “detailed_signal” (after much googling)
[16:36:29] <tinkerer> no, PyGObject Class Reference
[16:36:44] <andypugh> But it needs a single patrameter of type “GParam”
[16:37:17] <andypugh> Errrrr
[16:37:25] <tinkerer> look at my calculator example: https://github.com/tinkercnc/gladvcp-test/blob/master/newcalculatorglade.py
[16:38:06] <tinkerer> I think, now you understand this example
[16:38:19] <andypugh> Yes, but it doesn’t work
[16:38:42] <tinkerer> tell me the error msg
[16:38:46] <tinkerer> please
[16:39:01] <tinkerer> run it standalone
[16:40:15] <andypugh> I have concluded that I need Touchy to send a signal to GladeVCP when the tab is deselcted
[16:40:24] <tinkerer> the prob is, we should port the lcnc gladevcp to gtk3 (PyGObject)
[16:40:40] <andypugh> And I am working on the syntax for that signal.
[16:40:57] <tinkerer> yes I know
[16:41:24] <tinkerer> and as I can see, very pragmatic... ;)
[16:43:04] <andypugh> Not really, if I was pragmatic I would send a HAL signal out of Touchy that indicates the current tab, and conect that to to a HAL pin created by my handler code. That would actually work.
[16:44:47] <andypugh> But I can’t help feeling that passing events beween the layers ought to be the right way to do it.
[16:45:19] <tinkerer> sure
[16:47:21] <tinkerer> but a better understanding of gladevcp in lcnc is necessary
[16:48:31] <tinkerer> and I'm no gui developer. just curious.
[16:48:38] <andypugh> That may be true. But for the moment I would be satisfied to know what this error message means:
[16:48:39] <andypugh> TypeError: could not convert type VisibilityState to GParam required for parameter 0
[16:49:49] <andypugh> (If I don’t have the parameter, it complains it needs one, if it is anything but this mythical “GParam” then it gives a TypeError.
[16:50:44] <andypugh> There are functions that return a GParam, I am even considering using one of those
[17:52:15] <tinkerer> andypugh: when I have more time I will dig into, but at the moment the "serious" job has priority.
[17:52:47] <andypugh> Yeah, I have transferred to writing a HAL component myself for someone.
[17:53:13] <tinkerer> link?
[17:55:27] <tinkerer> you are stingy with your findings ;)
[18:00:03] <andypugh> Hmm?
[18:00:16] <andypugh> The HAL component is entirely unrealted
[18:00:30] <andypugh> It’s to control a 16-speed gearbox
[18:04:54] <andypugh> Otherwise, I have made almost no progress, other than proving that you can use plug.get_socket_window() and socket.get_plug_window() and compare xids to find that the object you find looking inside the Touchy socket is the GladeVCP Plug, and similarly between the GladeVCP socket and the embedded tab toplevel Plug.
[18:07:55] <andypugh> The correct solution probably involves sub-classing things all over the place and defining custom signals, but I wanted a lighter touch than that.
[18:08:50] <tinkerer> btw: do you have the schematics of the lost pcb?
[18:09:32] <tinkerer> yes a lighter way is desirable
[18:10:12] <andypugh> Lost PCB?
[18:10:25] <tinkerer> you sent me
[18:12:49] <tinkerer> or you have tried to send
[18:12:51] <andypugh> RPi interfce?
[18:12:56] <tinkerer> yep
[18:13:05] <andypugh> I don’t think so.
[18:13:40] <tinkerer> or the layout
[18:20:31] <andypugh> No, I don’t think so. It was all on a Windows VM and I think I lost it
[18:21:00] <andypugh> There is a small chance it might exist on the PC at work.
[18:21:12] <tinkerer> ok
[22:33:22] <skunkworks> did I mention how nice the k&T is? bored a hole with a 1/2 carbid mill - measured it and thought it was good enough (.001 small) took it out of the vice and then tried to fit it (fits around a needle bearing) it was too small. thought about honing it - but thought wth - put it back into the vice - probed the center of the hole - adjusted the program .001 bigger. perfect fit
[22:33:52] <skunkworks> it still amazes me
[22:35:37] <skunkworks> zlog