From todd at rinaldo.us Sun Mar 6 20:19:06 2016 From: todd at rinaldo.us (Todd Rinaldo) Date: Sun, 6 Mar 2016 22:19:06 -0600 Subject: [pm-h] Thanks Again For Joining Me for "Solving WordBrain" In-Reply-To: References: Message-ID: Always a pleasure. Where's the repo? On Wed, Feb 17, 2016 at 7:48 PM, Robert Stone via Houston wrote: > Greetings, > > A tremendous THANK YOU to everyone who was able to join me for my "Solving > WordBrain" presentation. It certainly is a little rough around the edges > but I really appreciate the opportunity to present to everyone. > > Moreover, the feedback provided was fantastic! I'm looking forward to > implementing some of the changes everyone suggested. > > I hope everyone enjoyed the presentation as much as I enjoyed delivering it. > Thank you all again for having me. > > Best Regards, > Robert Stone > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ -- Todd Rinaldo todd at rinaldo.us From flbaker at sbcglobal.net Mon Mar 7 10:08:38 2016 From: flbaker at sbcglobal.net (Fraser Baker) Date: Mon, 7 Mar 2016 12:08:38 -0600 Subject: [pm-h] Perl in background Message-ID: <56DDC3A6.7030007@sbcglobal.net> Hi Y'all: I have an image viewer in my latest project. I am trying to accommodate the situation when a client uploads a new image to the disk the player will reset so as to include the new image. So what I am considering is to use Perl to determine the number of images and cause the viewer to reset when the number of images has changed. I am assuming this can be a call to a Perl script that determines the number of images without interrupting the viewer and sends a JavaScript call back to the viewer to reset when the number of images has changed. I have really tried to get this working but to no avail. Fraser From estrabd at gmail.com Mon Mar 7 10:43:08 2016 From: estrabd at gmail.com (B. Estrade) Date: Mon, 7 Mar 2016 12:43:08 -0600 Subject: [pm-h] Perl in background In-Reply-To: <56DDC3A6.7030007@sbcglobal.net> References: <56DDC3A6.7030007@sbcglobal.net> Message-ID: Sounds something akin to what is demonstrated here, http://stackoverflow.com/questions/4309587/page-auto-reload-without-refresh I am not recommending jquery per se, but as the post says, that makes things like this easier. Brett On 3/7/16, Fraser Baker via Houston wrote: > Hi Y'all: > > I have an image viewer in my latest project. I am trying to accommodate > the situation when a client uploads a new image to the disk the player > will reset so as to include the new image. So what I am considering is > to use Perl to determine the number of images and cause the viewer to > reset when the number of images has changed. I am assuming this can be a > call to a Perl script that determines the number of images without > interrupting the viewer and sends a JavaScript call back to the viewer > to reset when the number of images has changed. > > I have really tried to get this working but to no avail. > > Fraser > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ > From doge at teodesian.net Mon Mar 7 18:08:15 2016 From: doge at teodesian.net (George S. Baugh) Date: Mon, 07 Mar 2016 20:08:15 -0600 Subject: [pm-h] Perl in background In-Reply-To: <56DDC3A6.7030007@sbcglobal.net> References: <56DDC3A6.7030007@sbcglobal.net> Message-ID: <1457402895.3760.14.camel@drs9000> Like Brett mentioned, this can't be done without doing some kind of XMLHttpRequest, e.g. jQuery.ajax() or whatever equivalent in your JS framework of choice. You'll have this sitting in a setTimeout loop polling as long as the page is up. From there you'll have to make some HTTP backend script (perl, or whatever) that returns a JSON string of the file list every time it's called by said XMLHttpRequest. The callback fired after said XHR succeeds then decodes this JSON into an array (can be done automatically in jQuery, otherwise use JSON.parse()). You can tell which files are new (or gone) by getting the disjunction of the lists. You would then likely add an node somewhere in your player with your new images (and whack the gone ones), or if you don't care about interrupting the user, just reload the page via window.location.reload(). If it's a cross-domain request, be-ware that you'll either have to do JSONP or learn about CORS (which may finally work these days). Also remember to not load mixed (insecure) content if the page is SSL. GSB On Mon, 2016-03-07 at 12:08 -0600, Fraser Baker via Houston wrote: > my latest project. I am trying to accommodate > the situation when a client uploads a new image to the disk the > player > will reset so as to include the new image. So what I am considering > is > to use Perl to determine the number of images and cause the viewer to > reset when the number of images has changed. I am assuming this can be > a > call to a Perl script that determines the number of images without > interrupting the viewer and sends a JavaScript call back to the > viewer > to reset when the number of images has changed. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 4966 bytes Desc: not available URL: From gwadej at anomaly.org Mon Mar 7 18:41:50 2016 From: gwadej at anomaly.org (G. Wade Johnson) Date: Mon, 7 Mar 2016 20:41:50 -0600 Subject: [pm-h] Thanks Again For Joining Me for "Solving WordBrain" In-Reply-To: References: Message-ID: <20160307204150.6c83b52e@cygnus> On Sun, 6 Mar 2016 22:19:06 -0600 Todd Rinaldo via Houston wrote: > Always a pleasure. Where's the repo? The presentation and slides are available at http://houston.pm.org/talks/2016talks/1602Talk/index.html G. Wade > On Wed, Feb 17, 2016 at 7:48 PM, Robert Stone via Houston > wrote: > > Greetings, > > > > A tremendous THANK YOU to everyone who was able to join me for my > > "Solving WordBrain" presentation. It certainly is a little rough > > around the edges but I really appreciate the opportunity to present > > to everyone. > > > > Moreover, the feedback provided was fantastic! I'm looking forward > > to implementing some of the changes everyone suggested. > > > > I hope everyone enjoyed the presentation as much as I enjoyed > > delivering it. Thank you all again for having me. > > > > Best Regards, > > Robert Stone > > > > _______________________________________________ > > Houston mailing list > > Houston at pm.org > > http://mail.pm.org/mailman/listinfo/houston > > Website: http://houston.pm.org/ > > > -- Perl isn't really about safety. It's about getting where you're going, and enjoying the trip. It's more important to be a good driver than to have seven feet of sponge rubber all around your car. -- Larry Wall From gwadej at anomaly.org Tue Mar 8 05:15:33 2016 From: gwadej at anomaly.org (G. Wade Johnson) Date: Tue, 8 Mar 2016 07:15:33 -0600 Subject: [pm-h] This Thursday's Houston.pm Meeting Location Message-ID: <20160308071533.1e9ea399@cygnus> I'm looking forward to seeing everyone at the meeting this Thursday. I wanted to remind everyone again of the location change. cPanel has moved their offices and are now located at 2550 North Loop West, Suite 4006. https://www.google.com/maps/place/2550+N+Loop+W,+Houston,+TX+77092/@29.8081429,-95.4459714,17z/data=!3m1!4b1!4m2!3m1!1s0x8640c6fa4d91297b:0x988e2dedf77ce147 G. Wade -- If you don't know where you're going, you will probably end up somewhere else. -- Laurence J. Peter From julian at jlbprof.com Wed Mar 9 06:56:34 2016 From: julian at jlbprof.com (Julian Brown) Date: Wed, 9 Mar 2016 08:56:34 -0600 Subject: [pm-h] Write In C Message-ID: https://www.youtube.com/watch?v=1S1fISh-pag Julian -------------- next part -------------- An HTML attachment was scrubbed... URL: From todd at rinaldo.us Mon Mar 14 07:52:19 2016 From: todd at rinaldo.us (Todd Rinaldo) Date: Mon, 14 Mar 2016 09:52:19 -0500 Subject: [pm-h] Thanks Again For Joining Me for "Solving WordBrain" In-Reply-To: References: Message-ID: Robert, I spent way to much time thinking about this problem yesterday. I came up with this REALLY cool recursive algorithm to find all the possible 8 letter combinations given 16 characters. and then piped it into aspell -a since Text::Aspell is too slow. It turns out aspell -a is too slow too also. I think it's because it's spending all its time trying to give you alternate spellings when you really just want it to tell you yes or no. Watching the output I realized the code was spending WAY too much time determining if a series of combinations was right when the human watching the output scroll by could obviously see that nothing starts with "sse". So I went and found a 350,000 word text dictionary and wrote something that could answer: anything_starts_with("sse"); It turns out you can save even more time if you know what the word length will need to be since what you really want to know is "does any word of length 8 start with sse?" So the joke is that I now had my program running time on this program from 5+ minutes to 30 seconds: $> time perl -Ilib -MWordBrain::Combos -E'WordBrain::Combos::find_words("ssehrckeionisswl", [4, 4, 8]);' At this point I was still using aspell when I had the final word to verify it. It occurred to me I could use my anything_starts_with check on the 8 character string just as good as the partials. I made this change and suddenly the program time dropped to 3 seconds. So TL;DR; Aspell sucks for what this code needs it for. Code attached to make run time reasonable. What I'd probably do is NOT use find_words but instead just use anything_starts_with() to short my maze walker when I get to an invalid sequence. I suspect that would bring almost all puzzles down to a manageable time. NOTE You have to clear the cache and set $max_dict_word_len when your word length changes. I could not divine how to go about altering the code to make this work. Code attached. On Wed, Feb 17, 2016 at 7:48 PM, Robert Stone via Houston > wrote: > Greetings, > > A tremendous THANK YOU to everyone who was able to join me for my "Solving > WordBrain" presentation. It certainly is a little rough around the edges > but I really appreciate the opportunity to present to everyone. > > Moreover, the feedback provided was fantastic! I'm looking forward to > implementing some of the changes everyone suggested. > > I hope everyone enjoyed the presentation as much as I enjoyed delivering it. > Thank you all again for having me. > > Best Regards, > Robert Stone > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ -- Todd Rinaldo todd at rinaldo.us -- Todd Rinaldo todd at rinaldo.us -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Combos.pm Type: text/x-perl-script Size: 2422 bytes Desc: not available URL: From drzigman at drzigman.com Mon Mar 21 16:04:02 2016 From: drzigman at drzigman.com (Robert Stone) Date: Mon, 21 Mar 2016 18:04:02 -0500 Subject: [pm-h] Thanks Again For Joining Me for "Solving WordBrain" In-Reply-To: References: Message-ID: Greetings, I apologize for the long delay in getting back to you on this. I'm glad you found the problem interesting and that you had fun playing with it! I can certainly see where you are getting your speedups from and I'll absolutely be incorporating your algorithmic changes (and likely some of your actual code) into the Solver! I'm still polishing, moving, and refactoring in an effort to put together some better "Doing This Saved Me X" type numbers and I'll be sure to share those figures as well as updated source code once everything is ready. Thanks again for taking the time, I appreciate your efforts here and I think it's going to make quite a difference. Best Regards, Robert Stone On Mon, Mar 14, 2016 at 9:52 AM, Todd Rinaldo wrote: > Robert, > > I spent way to much time thinking about this problem yesterday. > > I came up with this REALLY cool recursive algorithm to find all the > possible 8 letter combinations given 16 characters. and then piped it into > aspell -a since Text::Aspell is too slow. It turns out aspell -a is too > slow too also. I think it's because it's spending all its time trying to > give you alternate spellings when you really just want it to tell you yes > or no. > > Watching the output I realized the code was spending WAY too much time > determining if a series of combinations was right when the human watching > the output scroll by could obviously see that nothing starts with "sse". So > I went and found a 350,000 word text dictionary and wrote something that > could answer: anything_starts_with("sse"); It turns out you can save even > more time if you know what the word length will need to be since what you > really want to know is "does any word of length 8 start with sse?" > > So the joke is that I now had my program running time on this program from > 5+ minutes to 30 seconds: > > $> time perl -Ilib -MWordBrain::Combos > -E'WordBrain::Combos::find_words("ssehrckeionisswl", [4, 4, 8]);' > > At this point I was still using aspell when I had the final word to verify > it. It occurred to me I could use my anything_starts_with check on the 8 > character string just as good as the partials. I made this change and > suddenly the program time dropped to 3 seconds. > > So TL;DR; Aspell sucks for what this code needs it for. Code attached to > make run time reasonable. What I'd probably do is NOT use find_words but > instead just use anything_starts_with() to short my maze walker when I get > to an invalid sequence. I suspect that would bring almost all puzzles down > to a manageable time. NOTE You have to clear the cache and set > $max_dict_word_len when your word length changes. > > I could not divine how to go about altering the code to make this work. > > Code attached. > > > > > On Wed, Feb 17, 2016 at 7:48 PM, Robert Stone via Houston > wrote: > > Greetings, > > > > A tremendous THANK YOU to everyone who was able to join me for my > "Solving > > WordBrain" presentation. It certainly is a little rough around the edges > > but I really appreciate the opportunity to present to everyone. > > > > Moreover, the feedback provided was fantastic! I'm looking forward to > > implementing some of the changes everyone suggested. > > > > I hope everyone enjoyed the presentation as much as I enjoyed delivering > it. > > Thank you all again for having me. > > > > Best Regards, > > Robert Stone > > > > _______________________________________________ > > Houston mailing list > > Houston at pm.org > > http://mail.pm.org/mailman/listinfo/houston > > Website: http://houston.pm.org/ > > > > -- > Todd Rinaldo > todd at rinaldo.us > > > -- > Todd Rinaldo > todd at rinaldo.us > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Sun Mar 27 17:30:32 2016 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sun, 27 Mar 2016 19:30:32 -0500 Subject: [pm-h] Houston.pm April meeting at Hostgator... Message-ID: <20160327193032.0e47dbf3@cygnus> Our next meeting is April 14 at Hostgator. Do we have any volunteers to present? Or, any topics to cover? G. Wade -- Be careful about reading health books. You may die of a misprint. -- Mark Twain From julian at jlbprof.com Tue Mar 29 05:24:11 2016 From: julian at jlbprof.com (Julian Brown) Date: Tue, 29 Mar 2016 07:24:11 -0500 Subject: [pm-h] Houston.pm April meeting at Hostgator... In-Reply-To: <20160327193032.0e47dbf3@cygnus> References: <20160327193032.0e47dbf3@cygnus> Message-ID: If no one has anything, I was intrigued by a paper that came over the wires this week, attached. It is an optimization scheme for the kernel/client interaction that shows some significant promise especially for web-servers and databases. I will not be able to get any code but I am willing to put a keynote together on the highlights it might lead to some discussions. Julian On Sun, Mar 27, 2016 at 7:30 PM, G. Wade Johnson via Houston wrote: > Our next meeting is April 14 at Hostgator. > > Do we have any volunteers to present? Or, any topics to cover? > > G. Wade > -- > Be careful about reading health books. You may die of a misprint. > -- Mark Twain > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ExcpeptionLessSystemCalls10.pdf Type: application/pdf Size: 676880 bytes Desc: not available URL: From julian at jlbprof.com Tue Mar 29 05:40:30 2016 From: julian at jlbprof.com (Julian Brown) Date: Tue, 29 Mar 2016 07:40:30 -0500 Subject: [pm-h] Houston.pm April meeting at Hostgator... In-Reply-To: <20160327193032.0e47dbf3@cygnus> References: <20160327193032.0e47dbf3@cygnus> Message-ID: If no one has anything, I was intrigued by a paper that came over the wires this week, url below. It is an optimization scheme for the kernel/client interaction that shows some significant promise especially for web-servers and databases. I will not be able to get any code but I am willing to put a keynote together on the highlights it might lead to some discussions. Here is the url to the paper: https://www.usenix.org/legacy/events/osdi10/tech/full_papers/Soares.pdf I found a slideshare on it as well: http://www.slideshare.net/liviosoares/flexsc-exceptionless-system-calls-presented-osdi-2010 Anyway On Sun, Mar 27, 2016 at 7:30 PM, G. Wade Johnson via Houston wrote: > Our next meeting is April 14 at Hostgator. > > Do we have any volunteers to present? Or, any topics to cover? > > G. Wade > -- > Be careful about reading health books. You may die of a misprint. > -- Mark Twain > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From toddr at cpanel.net Wed Mar 30 07:19:23 2016 From: toddr at cpanel.net (Todd Rinaldo) Date: Wed, 30 Mar 2016 09:19:23 -0500 Subject: [pm-h] Houston.pm April meeting at Hostgator... In-Reply-To: References: <20160327193032.0e47dbf3@cygnus> Message-ID: <540EFF64-C225-4305-A7AE-38DB8F3D91AE@cpanel.net> Sounds interesting to me > On Mar 29, 2016, at 7:40 AM, Julian Brown via Houston wrote: > > If no one has anything, I was intrigued by a paper that came over the wires this week, url below. > > It is an optimization scheme for the kernel/client interaction that shows some significant promise especially for web-servers and databases. > > I will not be able to get any code but I am willing to put a keynote together on the highlights it might lead to some discussions. > > Here is the url to the paper: https://www.usenix.org/legacy/events/osdi10/tech/full_papers/Soares.pdf > > I found a slideshare on it as well: http://www.slideshare.net/liviosoares/flexsc-exceptionless-system-calls-presented-osdi-2010 > > Anyway > > > > On Sun, Mar 27, 2016 at 7:30 PM, G. Wade Johnson via Houston > wrote: > Our next meeting is April 14 at Hostgator. > > Do we have any volunteers to present? Or, any topics to cover? > > G. Wade > -- > Be careful about reading health books. You may die of a misprint. > -- Mark Twain > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 842 bytes Desc: Message signed with OpenPGP using GPGMail URL: From julian at jlbprof.com Wed Mar 30 09:52:35 2016 From: julian at jlbprof.com (Julian Brown) Date: Wed, 30 Mar 2016 11:52:35 -0500 Subject: [pm-h] Houston.pm April meeting at Hostgator... In-Reply-To: <540EFF64-C225-4305-A7AE-38DB8F3D91AE@cpanel.net> References: <20160327193032.0e47dbf3@cygnus> <540EFF64-C225-4305-A7AE-38DB8F3D91AE@cpanel.net> Message-ID: OK I will present it. Julian On Wed, Mar 30, 2016 at 9:19 AM, Todd Rinaldo wrote: > Sounds interesting to me > > On Mar 29, 2016, at 7:40 AM, Julian Brown via Houston > wrote: > > If no one has anything, I was intrigued by a paper that came over the > wires this week, url below. > > It is an optimization scheme for the kernel/client interaction that shows > some significant promise especially for web-servers and databases. > > I will not be able to get any code but I am willing to put a keynote > together on the highlights it might lead to some discussions. > > Here is the url to the paper: > https://www.usenix.org/legacy/events/osdi10/tech/full_papers/Soares.pdf > > I found a slideshare on it as well: > http://www.slideshare.net/liviosoares/flexsc-exceptionless-system-calls-presented-osdi-2010 > > Anyway > > > > On Sun, Mar 27, 2016 at 7:30 PM, G. Wade Johnson via Houston < > houston at pm.org> wrote: > >> Our next meeting is April 14 at Hostgator. >> >> Do we have any volunteers to present? Or, any topics to cover? >> >> G. Wade >> -- >> Be careful about reading health books. You may die of a misprint. >> -- Mark Twain >> _______________________________________________ >> Houston mailing list >> Houston at pm.org >> http://mail.pm.org/mailman/listinfo/houston >> Website: http://houston.pm.org/ >> > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Thu Mar 31 19:55:38 2016 From: gwadej at anomaly.org (G. Wade Johnson) Date: Thu, 31 Mar 2016 21:55:38 -0500 Subject: [pm-h] Houston.pm April meeting at Hostgator... In-Reply-To: References: <20160327193032.0e47dbf3@cygnus> <540EFF64-C225-4305-A7AE-38DB8F3D91AE@cpanel.net> Message-ID: <20160331215538.076804e8@cygnus> On Wed, 30 Mar 2016 11:52:35 -0500 Julian Brown via Houston wrote: > OK I will present it. Sounds like a winner. Do you want to you the same title as the slides? G. Wade > Julian > > On Wed, Mar 30, 2016 at 9:19 AM, Todd Rinaldo > wrote: > > > Sounds interesting to me > > > > On Mar 29, 2016, at 7:40 AM, Julian Brown via Houston > > wrote: > > > > If no one has anything, I was intrigued by a paper that came over > > the wires this week, url below. > > > > It is an optimization scheme for the kernel/client interaction that > > shows some significant promise especially for web-servers and > > databases. > > > > I will not be able to get any code but I am willing to put a keynote > > together on the highlights it might lead to some discussions. > > > > Here is the url to the paper: > > https://www.usenix.org/legacy/events/osdi10/tech/full_papers/Soares.pdf > > > > I found a slideshare on it as well: > > http://www.slideshare.net/liviosoares/flexsc-exceptionless-system-calls-presented-osdi-2010 > > > > Anyway > > > > > > > > On Sun, Mar 27, 2016 at 7:30 PM, G. Wade Johnson via Houston < > > houston at pm.org> wrote: > > > >> Our next meeting is April 14 at Hostgator. > >> > >> Do we have any volunteers to present? Or, any topics to cover? > >> > >> G. Wade > >> -- > >> Be careful about reading health books. You may die of a misprint. > >> -- Mark > >> Twain _______________________________________________ > >> Houston mailing list > >> Houston at pm.org > >> http://mail.pm.org/mailman/listinfo/houston > >> Website: http://houston.pm.org/ > >> > > > > _______________________________________________ > > Houston mailing list > > Houston at pm.org > > http://mail.pm.org/mailman/listinfo/houston > > Website: http://houston.pm.org/ > > > > > > -- "No Boom today. Boom tomorrow, There's always a boom tomorrow." -- Ivanova, "Grail" From rlharris at oplink.net Thu Mar 31 22:59:17 2016 From: rlharris at oplink.net (rlharris at oplink.net) Date: Fri, 1 Apr 2016 00:59:17 -0500 Subject: [pm-h] contractor for web site design Message-ID: I am looking for a freelance developer to build a simple web site. I prefer the site to be built directly with HTML5 and CSS, rather than with a content management system such as Drupal or WordPress. There is no deadline, but it would be nice to have a site running within a few months. = The web site is purely static, with no dynamic features. The only changes to the site occur when new documents are added. = Graphic design is not important. = The function of the web site is to be an index to and a server for documents authored by myself. Each page of the site consists of little more than a series of links to documents. The documents are arranged in several categories, with one category per web page. = The site is not a blog; thus, I have no need for features such as a calendar, sorting, and searching. = I do not wish to make provision on the site for comments or discussion. = I do not wish to make provision on the site for e-commerce. = It is important that, whenever a new document is added, necessary changes to the code can be made using nothing more than a text editor. I could do the coding myself, after brushing up on HTML and CSS. However, because of other obligations, I prefer to pay a contractor to provide a turn-key solution. I can provide additional detail to anyone who is interested. Russell Harris 31 March 2016 713-461-0081 rlharris at oplink.net