tag:blogger.com,1999:blog-71345862009-02-28T23:35:53.641-08:00ruminationsblog about open source software and mathematicsYihttp://www.blogger.com/profile/11363138499781704301noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-7134586.post-89459588004662882732008-06-29T10:08:00.000-07:002008-06-29T10:37:55.463-07:00Some neat sage command line optionsI haven't looked at sage -h for a while and was surprised to see many useful convenience features that have been added. I will highlight some ones that I've been using constantly that makes Sage development more convenient.<br /><br /><pre>sage -b [branch] -- switch to and build SAGE branch in devel/sage-branch<br />sage -br [branch] -- switch to, build, and run SAGE branch in devel/sage-branch<br />sage -clone [new branch] -- clone and run a new branch of the SAGE library from current branch<br />sage -python -- run the python interpreter<br />sage -sh -- run $SHELL (/opt/local/bin/zsh) with SAGE environment variables set<br />sage -t [-optional] [-verbose] [-long] -- test examples in .py, .pyx, .sage or .tex files<br /> -optional -- include examples with 'optional' and 'package'<br /> -long -- include lines with the phrase 'long time'<br /> -verbose -- print debuging output during the test<br /></pre><br />In particular, sage -sh is really useful for setting all the shell variables.<br /><br />You can get a list of all the command line options by doing<br /><br /><pre>sage -advanced<br /></pre><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7134586-8945958800466288273?l=blog.yiqiang.org'/></div>Yihttp://www.blogger.com/profile/11363138499781704301noreply@blogger.com0tag:blogger.com,1999:blog-7134586.post-4456899118044791812008-05-09T20:49:00.001-07:002008-05-11T10:16:28.551-07:00Using Sage with Fluid<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://yiqiang.org/gallery/Fluid%20Sage.jpg"><img style="cursor: pointer; width: 400px;" height="200" src="http://yiqiang.org/gallery/Fluid%20Sage.jpg" alt="" border="0" /></a><div><br />Above is Sage running in Fluid.app, which is a "SSB" (Site Specific Browser). I am starting to like using the Sage notebook this way because it doesn't interfere with my regular browsing and it's nice having a dock icon to show your friends ;-) </div><div><br /></div><div>Here's how you can get it up and running in no time:</div><div>1) Install Fluid.app (http://fluidapp.com)</div><div>2) Create a new SSB by pointing it to http://localhost:8000</div><div>3) You can use this Sage logo for a dock icon (the icon is from artwork done by Sirio who originally posted it to the sage-devel mailing list) </div><div><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://yiqiang.org/gallery/Sage%20Logo.png"><img style="cursor: pointer; width: 200px;" src="http://yiqiang.org/gallery/Sage%20Logo.png" alt="" border="0" /></a></div><div><br /><div><br /></div><div>Obviously this will not work if you don't run sage from elsewhere. I thought about including some script-fu to make it launch Sage automatically, but since I do sage -br so often it's rather pointless. <br /></div><div><br /></div></div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7134586-445689911804479181?l=blog.yiqiang.org'/></div>Yihttp://www.blogger.com/profile/11363138499781704301noreply@blogger.com2tag:blogger.com,1999:blog-7134586.post-73694334349437128742008-04-10T14:54:00.000-07:002008-04-10T14:58:16.062-07:00Awesome geomap of Sage developersCheck out how "global" Sage development is here:<br /><br /><a href="http://lite.sagemath.org/devmap.html">http://lite.sagemath.org/devmap.html</a><br /><br />This was developed by Harald Schilly. If you're a Sage developer and want to show up on the map, contact Harald Schilly.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7134586-7369433434943712874?l=blog.yiqiang.org'/></div>Yihttp://www.blogger.com/profile/11363138499781704301noreply@blogger.com0tag:blogger.com,1999:blog-7134586.post-39386016142440757802008-04-09T22:22:00.000-07:002008-04-09T22:26:19.609-07:00Updated version of Colloquy which fixes Python plugins on LeopardYou can find an updated binary distribution of Colloquy here:<br /><br /><a href="http://yiqiang.org/Colloquy.zip">http://yiqiang.org/Colloquy.zip</a><br /><br />The only modification is that it is linked using -weak_library so that it uses Python 2.5 if it exists on your machine and falls back to Python 2.3 if you're using 10.4. This is needed because Python plugins for Colloquy need the pyobjc bridge, which is in Python 2.5 (as shipped with Leopard), but not Python 2.3.<br /><br />You can find a sample plugin here:<br /><br /><a href="http://yiqiang.org/sage-devel-trac.py">http://yiqiang.org/sage-devel-trac.py</a><br /><br />To install it, drop it into<br /><br />~/Library/Application Support/Colloquy/PlugIns/<br /><br />and either restart Colloquy or type /reload plugins.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7134586-3938601614244075780?l=blog.yiqiang.org'/></div>Yihttp://www.blogger.com/profile/11363138499781704301noreply@blogger.com0tag:blogger.com,1999:blog-7134586.post-69124213847185210102008-04-07T17:50:00.001-07:002008-04-07T22:56:19.282-07:00Sage development funded by GoogleToday the Sage team received some very exciting and encouraging news.<br /><br />Chris DiBona, who is the Open Source Programs Manager at Google, was able to secure funding for several students to work on Sage this summer. The students and the projects are:<br /><br />Gary Furnish (Rewrite and Vastly Optimize Symbolic Computation)<br />Mike Hansen (Combinatorial Species)<br />Robert Miller (Backtracking Algorithms and Permutation Groups)<br />Yi Qiang (Distributed Computing with DSage)<br /><br />More details are in the original proposal:<url to="" proposal=""><br /><br /><a href="http://yiqiang.org/google_proposal.pdf">http://yiqiang.org/google_proposal.pdf</a><br /><br />Thanks again to Google and everyone who worked on making this happen!<br /><br /></url><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7134586-6912421384718521010?l=blog.yiqiang.org'/></div>Yihttp://www.blogger.com/profile/11363138499781704301noreply@blogger.com0tag:blogger.com,1999:blog-7134586.post-83678350531096946552007-12-14T10:43:00.001-08:002008-12-09T17:29:06.144-08:00dsage developmentsI've been working off and on for a while on a nice web front-end for dsage and here are some screenshots to show what I've got so far:<br /><br /><span style="font-weight: bold;">Jobs:</span><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_TjlTgCSOIKY/R2LPvjj533I/AAAAAAAAA7s/5mg1yfIInpU/s1600-h/Picture+1.png"><img style="cursor: pointer;" src="http://4.bp.blogspot.com/_TjlTgCSOIKY/R2LPvjj533I/AAAAAAAAA7s/5mg1yfIInpU/s400/Picture+1.png" alt="" id="BLOGGER_PHOTO_ID_5143902140317163378" border="0" /></a><br /><br /><span style="font-weight: bold;">Job detail:</span><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_TjlTgCSOIKY/R2LQjjj535I/AAAAAAAAA78/xW8Nr1tLFx0/s1600-h/Picture+4.png"><img style="cursor: pointer;" src="http://4.bp.blogspot.com/_TjlTgCSOIKY/R2LQjjj535I/AAAAAAAAA78/xW8Nr1tLFx0/s400/Picture+4.png" alt="" id="BLOGGER_PHOTO_ID_5143903033670360978" border="0" /></a><br /><br /><span style="font-weight: bold;">Server stats:</span><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_TjlTgCSOIKY/R2LP5jj534I/AAAAAAAAA70/UT7JWrYTrTs/s1600-h/Picture+2.png"><img style="cursor: pointer;" src="http://4.bp.blogspot.com/_TjlTgCSOIKY/R2LP5jj534I/AAAAAAAAA70/UT7JWrYTrTs/s400/Picture+2.png" alt="" id="BLOGGER_PHOTO_ID_5143902312115855234" border="0" /></a><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7134586-8367835053109694655?l=blog.yiqiang.org'/></div>Yihttp://www.blogger.com/profile/11363138499781704301noreply@blogger.com2