<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Friends of momcaedmons</title><link>http://disqus.com/by/momcaedmons/</link><description></description><atom:link href="http://disqus.com/momcaedmons/friends.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 11 Nov 2012 03:28:05 -0000</lastBuildDate><item><title>Re: How to: Use Python to Solve Optimization Problems</title><link>(u'http://www.drewconway.com/zia/?p=274',%2086024880L)#comment-86024880</link><description>&lt;p&gt;Hi folks.  I know this post is a little old, but I wanted to note that there is no need to use regular expressions to convert input into a SymPy expression.  SymPy has a built-in function sympify() that converts strings into SymPy expressions:&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; from sympy import *&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; sympify("x**2")&lt;br&gt;x**2&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">asmeurer</dc:creator><pubDate>Thu, 02 Jul 2009 15:39:56 -0000</pubDate></item><item><title>Re: Vote Now for Your Favorite Video</title><link>(u'http://www.collegerepublicans.org/blogs/zach-howell/vote-video',%2012239052L)#comment-12239052</link><description>&lt;p&gt;The first one is the best (the other ones are horrible.  Come on guys, these are supposed to target everyone, not just people who already agree with you).  The only thing is, you need to make it so that it shows the text full screen like the other ones (except the second one with the crazy spinning effect.  Just do it normal).  You don't even notice that it is on the bottom.  Just cut the video in a few places to show the text but leave the audio. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">asmeurer</dc:creator><pubDate>Mon, 06 Jul 2009 23:13:20 -0000</pubDate></item><item><title>Re: Refine module</title><link>(u'http://fseoane.net/blog/2009/refine-module/',%20687722206L)#comment-687722206</link><description>&lt;p&gt;It looks good, though now it needs expansion.  For example, in the example you give:&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; refine(exp(I*x*pi), Assume(x, Q.integer))&lt;br&gt;exp(pi*I*x)&lt;/p&gt;&lt;p&gt;This should return (-1)**x.&lt;/p&gt;&lt;p&gt;Will the new assumptions system let us implement assumptions like "f(x) is continuous" or "diff(f(x, y), x) == diff(g(x, y), y)"?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">asmeurer</dc:creator><pubDate>Mon, 17 Aug 2009 18:25:38 -0000</pubDate></item><item><title>Re: Refine module</title><link>(u'http://fseoane.net/blog/2009/refine-module/',%20687722209L)#comment-687722209</link><description>&lt;p&gt;That's great.  Clearly, this is better than the old system.  Of course, the real work would be modifying refine to do things with those assumptions.  For example, the following should return 0:&lt;/p&gt;&lt;p&gt;&amp;gt;&amp;gt;&amp;gt; refine(f(x, y).diff(x, y) - f(x, y).diff(y, x), Assume(f(x, y), Q.continuous))&lt;/p&gt;&lt;p&gt;And of course, once we have an interval class proper, you would assumedly be able to assign that assumption (or any assumption really) over an iterval.  There could be real power in that, especially if it can gather some of those things automatically, like knowing that sin(x)/x has a discontinuity at 0.&lt;/p&gt;&lt;p&gt;You could probably make a whole new GSoC project out of just adding in assumptions next year :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">asmeurer</dc:creator><pubDate>Wed, 19 Aug 2009 02:16:32 -0000</pubDate></item><item><title>Re: KOB.com - Proposed school schedule change draws ire of APS parents</title><link>(u'http://www.kob.com/article/stories/s1485669.shtml',%2041814305L)#comment-41814305</link><description>&lt;p&gt;I'd say that the parents who showed up to this meeting aren't the ones who aren't caring about their children's education.  &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">asmeurer</dc:creator><pubDate>Fri, 26 Mar 2010 16:12:31 -0000</pubDate></item><item><title>Re: ShowPass</title><link>(u'http://www.pimpmysafari.com/extensions/showpass',%2087455290L)#comment-87455290</link><description>&lt;p&gt;Wow.  That's a really stupid idea.  &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">asmeurer</dc:creator><pubDate>Sat, 16 Oct 2010 14:26:45 -0000</pubDate></item><item><title>Re: PyCon 2011: Exhibition of Atrocity - PyCon US Videos - 2009, 2010, 2011 - blip.tv</title><link>(u'http://pycon.blip.tv/file/4881168/',%20200006578L)#comment-200006578</link><description>&lt;p&gt;Another option for the duck punching example if you are on Python 2.5 or greater is to use a with statement context manager.  The __exit__ method will be called both if the function finishes normally and if an exception is raised.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">asmeurer</dc:creator><pubDate>Mon, 09 May 2011 01:41:13 -0000</pubDate></item><item><title>Re: PyCon 2011: Sunday Morning Lightning Talks - PyCon US Videos - 2009, 2010, 2011 - blip.tv</title><link>(u'http://blip.tv/file/4902700',%20207646097L)#comment-207646097</link><description>&lt;p&gt; Any idea how to get the ogg version in the new interface?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">asmeurer</dc:creator><pubDate>Fri, 20 May 2011 04:36:31 -0000</pubDate></item><item><title>Re: Region Plots with Interval Arithmetic</title><link>(u'http://catchmrbharath.github.com/programming/2012/05/14/region-plots-with-interval-arithmetic/',%20529903843L)#comment-529903843</link><description>&lt;p&gt;Well this is already impressive.  I was able to plot figure 4a from Tupper's paper, for example.  Is it possible to plot equations, or are only inequalities supported for now?  &lt;/p&gt;&lt;p&gt;The speed of this unfortunately is way too slow.  I tried plotting 1 &amp;lt; sin(x)**2 + cos(x)**2 as you suggested, only using the 1024x1024 default from your script, and it took several minutes to complete.  I guess using numpy or even stdlib math instead of mpmath will make this faster.  We'll have to see if that makes it fast enough, or if we need to dig deeper. &lt;/p&gt;&lt;p&gt;Have you tried having it update the plot in real time (e.g., after each iteration of k)?  I'm not proficient enough in matplotlib to figure out how to do it, but it should be possible.  This won't make things faster--in fact, it will make them a little slower--but the increased response will make it feel faster.  &lt;/p&gt;&lt;p&gt;Regardless, you should start putting this in a real branch in the SymPy repo, which will make it easier to track and test your changes.  &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">asmeurer</dc:creator><pubDate>Tue, 15 May 2012 23:18:07 -0000</pubDate></item><item><title>Re: Region Plots with Interval Arithmetic</title><link>(u'http://catchmrbharath.github.com/programming/2012/05/14/region-plots-with-interval-arithmetic/',%20534058020L)#comment-534058020</link><description>&lt;p&gt;Big +1 on putting priority on merging Stefan's branch. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">asmeurer</dc:creator><pubDate>Sun, 20 May 2012 23:42:02 -0000</pubDate></item><item><title>Re: Adaptive sampling for 2D plots</title><link>(u'http://catchmrbharath.github.com/2012/05/26/adaptive-sampling-for-2d-plots/',%20539634865L)#comment-539634865</link><description>&lt;p&gt;This looks nice.  I tried a lot of plots, and they all look much nicer in your branch than in Stefan's.  One thing I did notice though is that it is a lot slower.  I guess this is another place where the ability to update the plot would be nice.  You could show the initial plot and update it once you add the additional points.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">asmeurer</dc:creator><pubDate>Sun, 27 May 2012 03:30:14 -0000</pubDate></item><item><title>Re: Growl Fork: Get Growl Notifications On Mac OS X 10.7 Lion For Free</title><link>(u'http://www.addictivetips.com/mac-os/growl-fork-get-growl-notifications-on-mac-os-x-10-7-lion-for-free/',%20544194759L)#comment-544194759</link><description>&lt;p&gt;Growl is open source, so there's probably no difference. Someone just compiled Growl and shipped it.  You can do the same yourself if you have the know-how (it's a little tricky, though, because you have to create your own developer certificate, but the Growl developers helped me do it when I did it).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">asmeurer</dc:creator><pubDate>Thu, 31 May 2012 18:23:11 -0000</pubDate></item><item><title>Re: GSoC Week 3</title><link>(u'http://catchmrbharath.github.com/programming/2012/06/09/gsoc-week-3/',%20555502613L)#comment-555502613</link><description>&lt;p&gt;This is indeed great. Do you know of any ways to avoid the error problem, other than simply making the interval size less than one pixel?&lt;/p&gt;&lt;p&gt;So if implicit equations aren't supported, I take it you plotted y**2 = x**3 - x as two separate equations.&lt;/p&gt;&lt;p&gt;What I'd like to see, perhaps in a future post, is how this compares to just regular plotting for explicit equations, both what the advantages and what the disadvantages are. Also, maybe you could code up a simple naive implicit plotter to compare against. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">asmeurer</dc:creator><pubDate>Tue, 12 Jun 2012 16:46:10 -0000</pubDate></item><item><title>Re: GSoC Week 6</title><link>(u'http://catchmrbharath.github.com/programming/2012/07/02/gsoc-week-6/',%20575882513L)#comment-575882513</link><description>&lt;p&gt;How did you determine that the Mac OS X grapher uses this algorithm?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">asmeurer</dc:creator><pubDate>Wed, 04 Jul 2012 01:57:15 -0000</pubDate></item><item><title>Re: GSoC Week 6</title><link>(u'http://catchmrbharath.github.com/programming/2012/07/02/gsoc-week-6/',%20575883516L)#comment-575883516</link><description>&lt;p&gt;It looks like they use a different algorithm (maybe I'm wrong, though).  I did see one thing there that could be useful: to get plots with complex values, plot log(expr), and it will go complex where expr is negative.  That is a useful way to test the complex value problem.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">asmeurer</dc:creator><pubDate>Wed, 04 Jul 2012 02:00:23 -0000</pubDate></item><item><title>Re: GSoC Week 6</title><link>(u'http://catchmrbharath.github.com/programming/2012/07/02/gsoc-week-6/',%20575939258L)#comment-575939258</link><description>&lt;p&gt;I'm not sure if any code is shared between these two products. Grapher is made by Apple, and Graphing Calculator was a light version of a proprietary (non-Apple) software that they shipped with Mac OS 9. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">asmeurer</dc:creator><pubDate>Wed, 04 Jul 2012 04:01:03 -0000</pubDate></item><item><title>Re: Your photos, simplified (Part III)</title><link>(u'https://blog.dropbox.com/2012/06/your-photos-simplified-part-iii/',%20588260401L)#comment-588260401</link><description>&lt;p&gt;Is there a way to tell how much of the 3GB I've received?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">asmeurer</dc:creator><pubDate>Sat, 14 Jul 2012 23:24:25 -0000</pubDate></item><item><title>Re: OS X Mountain Lion (10.8) Is Not Good News For Developers</title><link>(u'http://davemartorana.com/logs/software/os-x-mountain-lion-10-8-is-not-good-news-for-developers/',%20623694497L)#comment-623694497</link><description>&lt;p&gt;Google Chrome Canary uses notification center, and I definitely didn't download it through the App Store.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">asmeurer</dc:creator><pubDate>Sun, 19 Aug 2012 22:02:48 -0000</pubDate></item><item><title>Re: Tip: How to sort folders by size with one command line in Linux</title><link>(u'http://www.ducea.com/2006/05/14/tip-how-to-sort-folders-by-size-with-one-command-line-in-linux/',%20694422150L)#comment-694422150</link><description>&lt;p&gt;On non-Linux, you'll need to use GNU sort to get the -h option.  This is part of the GNU coreutils package, and might be called gsort on your system.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">asmeurer</dc:creator><pubDate>Sun, 28 Oct 2012 01:41:12 -0000</pubDate></item><item><title>Re: Unification in SymPy Enabling logical programming in Python</title><link>(u'http://matthewrocklin.com/blog/work/2012/11/01/Unification/',%20698035315L)#comment-698035315</link><description>&lt;p&gt;Will it be possible to extend unify by telling it about external universal identities that it can use to try to find a match?  For example, your first example can also be matched in two different ways because the transpose of the transpose is the original matrix. Of course, here we will get infinitely many matches, because we could use the transpose, or the transpose of the transpose, or the transpose of the transpose of the transpose, ...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">asmeurer</dc:creator><pubDate>Thu, 01 Nov 2012 14:14:12 -0000</pubDate></item><item><title>Re: Unification in SymPy Enabling logical programming in Python</title><link>(u'http://matthewrocklin.com/blog/work/2012/11/01/Unification/',%20698453393L)#comment-698453393</link><description>&lt;p&gt;Will it be possible to extend unify by telling it about external universal identities that it can use to try to find a match? For example, your first example can also be matched in two different ways because the transpose of the transpose is the original matrix. Of course, here we will get infinitely many matches, because we could use the transpose, or the transpose of the transpose, or the transpose of the transpose of the transpose, ...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">asmeurer</dc:creator><pubDate>Fri, 02 Nov 2012 02:45:45 -0000</pubDate></item><item><title>Re: Branching Strategies handling divergent rules</title><link>(u'http://matthewrocklin.com/blog/work/2012/11/09/BranchingStrategies/',%20707354387L)#comment-707354387</link><description>&lt;p&gt;I think the Python version of your toy problem is missing the otherwise condition.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">asmeurer</dc:creator><pubDate>Sat, 10 Nov 2012 20:51:31 -0000</pubDate></item><item><title>Re: Preliminary BLAS Results putting it all together</title><link>(u'http://matthewrocklin.com/blog/work/2012/11/10/GeneratingBLAS-PreliminaryResults/',%20707358061L)#comment-707358061</link><description>&lt;p&gt;"How can we ensure that the best solution is in the first few?"&lt;/p&gt;&lt;p&gt;I take it this is an open question, since you didn't seem to answer it. I guess you should also make a way to write down rules for what methods might be better.  For example, you note that  POSV is better than GESV.  This will lead to a partial ordering on set of possibilities, from which you can create a smaller set which is optimal with respect to that ordering.  Adding more ordering rules will make this set smaller (alternately, providing more input assumptions will make more rules apply).  Note that you'll have to order the rules themselves, so that you can apply them lexicographically (or else they may not combine to a true partial order).&lt;/p&gt;&lt;p&gt;That will work if the yielded set is finite. If it is infinite, or combinatorially very large, you'll need to modify the yielding algorithm, itself so that it uses those orderings.  I don't know if a general solution is possible in this case (and hence, if the code can truly be separated like you like).&lt;/p&gt;&lt;p&gt;You could also play around with more fancy stuff, like fuzzy logic or some AI/machine learning algorithms to pick the best possibility.  This will be a good idea only if you really do end up getting a bunch of possibilities, even after making obvious eliminations using the ordering idea, or if all but the most trivial cases lead to infinite or combinatorially large possibilities.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">asmeurer</dc:creator><pubDate>Sat, 10 Nov 2012 21:02:14 -0000</pubDate></item><item><title>Re: Preliminary BLAS Results putting it all together</title><link>(u'http://matthewrocklin.com/blog/work/2012/11/10/GeneratingBLAS-PreliminaryResults/',%20707359307L)#comment-707359307</link><description>&lt;p&gt;By the way, Disqus lets me subscribe to each of your posts by email. Do you know if it is also possible to subscribe to new posts, so that I will get an email each time you post something new?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">asmeurer</dc:creator><pubDate>Sat, 10 Nov 2012 21:05:27 -0000</pubDate></item><item><title>Re: Preliminary BLAS Results putting it all together</title><link>(u'http://matthewrocklin.com/blog/work/2012/11/10/GeneratingBLAS-PreliminaryResults/',%20707488197L)#comment-707488197</link><description>&lt;p&gt;Yeah, Mountain Lion dropped RSS support in Safari, and I've been too lazy to setup Google Reader (plus I'm not too high on the interface).  So I've decided to just move to email updates for blogs I care about.  Actually, a nice thing would be email updates from the planet.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">asmeurer</dc:creator><pubDate>Sun, 11 Nov 2012 03:28:05 -0000</pubDate></item></channel></rss>