#linuxcnc-devel | Logs for 2015-10-02

Back
[06:57:40] * jthornton has just discovered asciidoctor http://asciidoctor.org/docs/user-manual/#asciidoctor-vs-asciidoc
[07:10:43] <skunkworks> make sense?
[07:10:44] <skunkworks> http://www.cnczone.com/forums/fanuc/283694-need-help-converting-fanuc-linuxcnc-tacho-signals.html
[07:19:25] <Tom_itx> clear as the night sky
[07:20:45] <skunkworks> pretty clear at the moment. A coworker just showed up with a telescope.
[07:21:56] <Tom_itx> i've got one packed away in a closet i should sell
[08:10:37] <jepler> jthornton: at a quick glance, asciidoctor is not packaged on at least some of the os versions we ship linuxcnc on.
[08:29:51] <jepler> .. in debian wheezy you can get it through backports only, and that's version 0.1.3 while their newest release is 1.5.2
[08:30:10] <jepler> so I agree it's interesting, but there would be a lot of not fun packaging work before we can use it to build docs for linuxcnc
[08:48:49] <JT-Shop> the only thing that interested me was the ability to have a link open a new page for offsite links
[08:49:48] <JT-Shop> like the "ideal weight" link on this page http://gnipsel.com/gravity/index.html
[09:46:00] <jthornton> see you guys Sunday afternoon
[10:02:40] <jepler> see you jt
[10:04:59] <jepler> If it's desirable, a variation on this which only adds the target property when the href is not an internal link would be one way to go http://stackoverflow.com/questions/6822945/add-target-blank-to-link-with-javascript#6823034
[10:05:35] <jepler> personally I find that irritating behavior though
[15:04:59] <seb_kuzminsky> jepler: what cms blogging software are you running on emergent.unpy.net?
[15:05:03] <seb_kuzminsky> i'm guessing not joomla
[15:33:50] <skunkworks> seb_kuzminsky: Aether ?
[15:36:37] <seb_kuzminsky> skunkworks: ?
[15:36:58] <skunkworks> http://emergent.unpythonic.net/01098728686
[15:37:40] <seb_kuzminsky> hmm
[15:38:22] <seb_kuzminsky> a few days ago i got sad at how out of date our website is, and i realized i hate working with joomla, and i started looking for alternatives
[15:38:33] <cradek> godspeed
[15:38:58] <seb_kuzminsky> cradek reminded me that the forum, which i think is part of joomla, can't break...
[15:39:13] <seb_kuzminsky> but most of the part i'm annoyed at is just static html
[15:39:31] <seb_kuzminsky> it could be built by static generators backed by git, like jekyll or pelican
[15:39:56] <seb_kuzminsky> and we could keep the forum (only) in joomla, and link to it from the static part of the site
[15:40:49] <cradek> it would be nice if dreamhost did the maintenance work for us, which I think is partially controlled by whether we pick one of these: http://wiki.dreamhost.com/Available_One_Click_Installs
[15:41:16] <seb_kuzminsky> jekyll is what github pages uses, https://pages.github.com/
[15:41:36] <mozmck> If by maintenance you mean upgrades - I don't think they do that.
[15:41:59] <cradek> then my understanding is wrong
[15:42:09] <seb_kuzminsky> didn't swp or alex joni do an upgrade recently, in emergency mode?
[15:42:18] <cradek> and I've never seen the one-clicker part of dreamhost
[15:42:50] <cradek> yes, I think one-click and then customize as necessary leaves you doomed to suffer, and we always suffer when an update is needed
[15:43:16] <mozmck> my understanding could be wrong as well, but I've helped on numbers of websites that have the one-click, and they don't automatically update stuff - just make it easier to install at first.
[15:43:32] <cradek> alex_joni: if you are around, please tell us how it works
[15:43:57] <cradek> mozmck: I suppose they all tend to have their own updaters built in, for better or worse
[15:44:02] <cradek> (usually worse)
[15:44:03] <mozmck> Updating is usually made harder by the plugins and customization. Joomla seems to be bad about that.
[15:44:07] <cradek> right
[15:44:27] <seb_kuzminsky> jekyll and pelican both act like fancy versions of our asciidoc-to-html build system
[15:44:55] <cradek> sounds like a wiki
[15:44:56] <seb_kuzminsky> that seems so much more natural than a php thingy with a database backend
[15:45:06] <skunkworks> The following script updates are available:
[15:45:07] <skunkworks> WordPress 4.3.1:
[15:45:09] <skunkworks> http://ecostirling.com/wp
[15:45:10] <skunkworks> To upgrade these scripts go to your Control Panel -> Softaculous -> Installations.
[15:45:12] <skunkworks> There you will be able to update the scripts.
[15:45:15] <cradek> seb_kuzminsky: so a build step gives you actual static pages?
[15:45:21] <seb_kuzminsky> cradek: yeah
[15:45:36] <mozmck> neat
[15:45:43] <seb_kuzminsky> they can have js and fancy things in them, but they dont need it, and they dont need a sql server on the backend
[15:45:44] <cradek> seb_kuzminsky: that's appealing
[15:45:55] <seb_kuzminsky> and the source could/would just be a git repo
[15:46:39] <cradek> that also sounds very easy to secure
[15:46:45] <seb_kuzminsky> forex: https://github.com/SebKuzminsky/SebKuzminsky.github.io
[15:46:53] <seb_kuzminsky> https://sebkuzminsky.github.io/
[15:46:55] <mozmck> Yeah, wordpress seems to get a lot of hacks.
[15:47:10] <cradek> and joomla and phpbb and all the rest of the php apps
[15:47:42] <seb_kuzminsky> that git repo contains a jekyll config, that github.io automatically builds (on push) into that named static github.io site
[15:47:47] <cradek> we would still have the forum, which is probably the worst of it all, securitywise
[15:47:56] <seb_kuzminsky> it's refreshingly low on crazyness
[15:48:50] <cradek> huh
[15:49:15] <seb_kuzminsky> that github.io site has a link to our joomla forum, that seems to work fine
[15:50:02] <cradek> I like this pony that you want
[15:50:15] <cradek> I wonder what other plugins we have that we might care about
[15:50:24] <seb_kuzminsky> jekyll makes it super easy to test out changes locally, you run "jekyll serve --watch" in your working dir and it makes a webserver (on port 4000) that serves up the site
[15:50:24] <cradek> I know of the user map, but I don't know if it even works anymore
[15:50:41] <seb_kuzminsky> it monitors the files for changes, and automatically rebuilds the site when you save any of the source files (or add any)
[15:51:10] <seb_kuzminsky> then when you're happy you commit and push, and the github.io site gets updates
[15:51:38] <seb_kuzminsky> i'm not saying we have to use githubs hosting, i'm just sharing what i've found that's possible with this tool
[15:51:41] <mozmck> did the joomla upgrade ever even get finished? Last I heard there were some issues and SWP just re-enabled things (at least temporarily?)
[15:52:02] <cradek> mozmck: I kinda think it didn't
[15:52:07] <seb_kuzminsky> the jekyll in wheezy is a little old, the one in jessie is modern and awesome
[15:52:51] <seb_kuzminsky> there's also another similar tool called pelican, it does the same thing but is written in python (jekyll is in ruby)
[15:52:52] <cradek> would we have jekyll version clash between dreamhost and our desktops and also maybe git.linuxcnc.org? (where all does it have to run?)
[15:53:16] <seb_kuzminsky> pelical also accepts asciidoc natively, jekyll needs a plugin for it (it wants markdown by default)
[15:53:50] <seb_kuzminsky> when jekyll builds, the finished site shows up in _site/ in the repo (by default), and can be rsynced to your web host
[15:54:09] <seb_kuzminsky> so we could make a buildbot for it
[15:54:18] <cradek> I guess the user map does work
[15:54:21] <seb_kuzminsky> if we didnt want to use githubs build service & hosting
[15:54:54] <seb_kuzminsky> another option is to use our existing asciidoc build infrastructure, although i'm not totally enamored of it
[15:57:32] <jepler> hi sorry I'm late to the discussion. Yes, my website is an otherwise long-dead cms written in Python. it probably is leakly like a seive.
[15:57:35] <jepler> sieve?
[15:58:10] <jepler> I really like the idea of the static web page generator but my experience with Jekyll was only "meh"
[16:04:07] <malcom2073> I before E except after C
[16:04:36] <cradek> no weigh
[16:05:45] <malcom2073> except in cases
[16:06:34] <cradek> yeah, weirdly
[16:06:39] <malcom2073> Like when sounded as "a", as in neighbour and weigh.
[16:07:57] <cradek> neither weirdly nor theist sound like "a"
[16:08:11] <cradek> ok I'll stop
[16:08:14] <cradek> sorry
[16:08:34] <malcom2073> https://en.wikipedia.org/wiki/I_before_E_except_after_C
[16:08:35] <cradek> don't want to forfeit the channel to off-topic stuff
[16:08:43] <malcom2073> Ah true, I forgot this was -devel
[16:08:54] <cradek> sometimes people are feisty about being on-topic
[16:09:00] * malcom2073 snickers
[16:09:01] <cradek> sorry sorry
[16:10:34] * Tom_itx sends cradek to the principle
[16:16:39] <jepler> it is to my surprise that there seems to be no pair of english words of the form XieY and XeiY (that is, two words that differ only by changing ie to ei)
[16:17:06] <cradek> huh
[16:17:19] <jepler> wait, I take it back
[16:17:20] <jepler> lie and lei
[16:18:59] <jepler> Kieth and Keith, if you believe that
[16:25:22] <jepler> http://emergent.unpythonic.net/files/sandbox/eieio.py
[16:36:09] <seb_kuzminsky> jepler: what made you feel meh about jekyll?
[16:36:29] <seb_kuzminsky> everything i've seen so far (which is not much) is way awesomer than joomla
[16:37:32] <seb_kuzminsky> if it's ruby you don't like, how about pelican?
[16:37:43] <seb_kuzminsky> http://blog.getpelican.com/
[16:38:39] <jepler> seb_kuzminsky: I wanted things like a gallery and a tag cloud. Those aren't things included in jekyll by default and I didn't get around to writing or finding them
[16:39:33] <seb_kuzminsky> aha
[16:40:19] <jepler> I also wasn't sure whether it would scale
[16:40:22] <seb_kuzminsky> i think of our website as a tiny static front-end to our docs, with a little news ticker on the front page, so it probably doesn't need those things?
[16:40:40] <seb_kuzminsky> uhm, plus the forum....
[16:40:54] <jepler> it looks like the generation process seems to copy everything around, and my blog has 7GB of mostly photos
[16:43:35] <seb_kuzminsky> right
[16:43:48] <seb_kuzminsky> i see why it's not right for your blog now, thanks
[16:44:21] <seb_kuzminsky> we have some things on wlo that might fall into that category
[16:44:31] <seb_kuzminsky> the iso, for example
[16:44:43] <jepler> all the package repos for that matter
[16:44:46] <seb_kuzminsky> *isos
[16:44:51] <jepler> but we should probably use sub-sites more than we do
[16:45:07] <seb_kuzminsky> yeah, the deb archive definitely shouldnt be managed as part of our website
[17:02:36] <seb_kuzminsky> jepler: came across this randomly: http://www.justkez.com/generating-a-tag-cloud-in-jekyll/
[17:36:58] <seb_kuzminsky> i'm gonna make 2.6.10 and 2.7.1 this weekend
[17:37:09] <seb_kuzminsky> there's some good fixes in both
[17:49:21] <jepler> seb_kuzminsky: yay, appreciate it!
[19:22:58] <Roguish> hey all. this docs is really good. http://linuxcnc.org/docs/2.7/html/getting-started/getting-linuxcnc.html
[19:23:02] <Roguish> thanks
[20:07:28] <seb_kuzminsky> Roguish: you're welcome! thanks for the nice feedback :-)
[20:42:37] <KGB-linuxcnc> 03Sebastian Kuzminsky 052.6 f504446 06linuxcnc 10src/emc/task/emctaskmain.cc task: fix a compile warning (heartbeat is unsigned long) * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=f504446
[20:42:37] <KGB-linuxcnc> 03Sebastian Kuzminsky 052.6 c056b10 06linuxcnc 10VERSION 10debian/changelog LinuxCNC 2.6.10 * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=c056b10
[20:42:38] <KGB-linuxcnc> 03Sebastian Kuzminsky 05signed tags c0794d0 06linuxcnc 03v2.6.10 LinuxCNC v2.6.10 (tagged commit: c056b10) * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=c0794d0
[20:46:12] <cradek> yay!
[20:46:45] <skunkworks> awesome
[21:20:24] <jepler> seb_kuzminsky: weird, I don't recall having seen a warning about that
[21:20:37] <jepler> is rcs_print not annotated with the right magic?
[21:20:55] <jepler> no that's not it src/libnml/rcs/rcs_print.hh: extern int rcs_print(const char *_fmt, ...) __attribute__((format(printf,1,2)));
[21:21:21] <seb_kuzminsky> jepler: there was a compile warning about it
[21:33:27] <KGB-linuxcnc> 03Dewey Garrett 05dgarr/xhc_fixes 77842db 06linuxcnc 10lib/hallib/xhc-hb04.tcl 10src/hal/components/xhc_hb04_util.comp xhc-hb04: update pin names * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=77842db
[21:33:27] <KGB-linuxcnc> 03Dewey Garrett 05dgarr/xhc_fixes 1ce6369 06linuxcnc 10src/hal/components/xhc_hb04_util.comp xhc-hb04_util.comp: fix output scaling * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=1ce6369
[21:33:28] <KGB-linuxcnc> 03Dewey Garrett 05dgarr/xhc_fixes 3670375 06linuxcnc 10lib/hallib/xhc-hb04.tcl xhc-hb04.tcl: support twopass usage * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=3670375
[23:40:41] <KGB-linuxcnc> 03Sebastian Kuzminsky 05master f0612e1 06linuxcnc 10docs/src/getting-started/updating-linuxcnc.txt docs: remove 2.6->2.7 stuff from "Updating LinuxCNC" instructions * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=f0612e1