Showing posts with label Mathematics. Show all posts
Showing posts with label Mathematics. Show all posts

Wednesday, October 12, 2011

Interactive Exploration of a Dynamical System


Interactive Exploration of a Dynamical System from Bret Victor on Vimeo.

http://www.vpri.org/html/people/founders.htm
http://worrydream.com/KillMath
http://tele-task.de/archive/video/flash/14029


A user interface for exploring systems of differential equations. Every variable is shown as a plot; every parameter has a knob that can be adjusted in realtime. This ubiquitous visualization and in-context-manipulation helps the user develop a sense for how the parameters of the system influence its behavior.

Part of the Kill Math project: worrydream.com/​KillMath

By Bret Victor: worrydream.com

Wednesday, April 13, 2011

Prezi

Favorite presentations from Prezi:



Tuesday, April 5, 2011

Python resource and extensions


Tutorials:
Installing:

http://webnewage.org/2009/06/23/what-is-pip
http://pypi.python.org/pypi/distribute#distribute-setup-py
http://pypi.python.org/pypi/pip
http://pypi.python.org/pypi/setuptools#files
http://www.komtet.ru/lib/plangs/python/easy-install-zagruzka-i-ustanovka-paketa
http://www.crummy.com/software/BeautifulSoup/#Download
http://peak.telecommunity.com/DevCenter/EasyInstall#installing-easy-install
http://stackoverflow.com/questions/1213690/what-is-the-most-compatible-way-to-install-python-modules-on-a-mac
http://stackoverflow.com/questions/452283/how-can-i-install-the-beautiful-soup-module-on-the-mac

Sources:

http://developer.berlios.de/softwaremap/trove_list.php?form_cat=76

Extensions:
http://pypi.python.org



1. C-Extension for Python: http://cython.org

Cython is a language that makes writing C extensions for the Python language as easy as Python itself. Cython is based on the well-known Pyrex, but supports more cutting edge functionality and optimizations.
The Cython language is very close to the Python language, but Cython additionally supports calling C functions and declaring C types on variables and class attributes. This allows the compiler to generate very efficient C code from Cython code.
This makes Cython the ideal language for wrapping external C libraries, and for fast C modules that speed up the execution of Python code.


2. Mathematics open source library: http://sagemath.org
3. http://www.pythonxy.com
4. http://www.enthought.com/products/epd.php
5. SciPy
6. PyCuda: http://mathema.tician.de/software/pycuda
7. Mrjob: https://github.com/Yelp/mrjob
    Run Hadoop Streaming jobs on Amazon Elastic MapReduce or your own Hadoop cluster
8. CRC: http://crcmod.sourceforge.net
9.Twisted: http://twistedmatrix.com/trac
     An event-driven networking engine written in Python
10. Requests: http://pypi.python.org/pypi/requests
11. MatplotLib: matplotlib.sourceforge.net, 
http://www.matplotlib.com
12. Py-LLVM: http://www.mdevan.org/llvm-py/index.html
13. Kalman filtering: http://www.scipy.org/Cookbook/KalmanFiltering
14. OpenGL: http://pyopengl.sourceforge.net
15. MapReduce on Python: http://me.lt/4xP7k
16.  Natural language toolkit http://www.nltk.org/download
17. Astronomy http://www.astropy.org

Open Source Python Tools for Classification (http://amundblog.blogspot.com)

  • Monte - less comprehensive than Orange, written purely in Python (i.e. noSWIGed C++). Looks interesting (has several classifiers algorithms), but the APIs seems to be in an early phase (relatively new tool in version 0.1.0)
  • libsvm - Python API for most popular open source implementation of SVM.Note: libsvm is also included with Orange and PyML. (I used this tools during my PhD a few years ago)
  • RPy - not exactly a classification tool, but it is quite useful with a statistics tool when you are doing classification (it has a nice plotting capability, not unlike matlabs), check out the demo.
  • PyML - also less comprehensive than Orange (specialized towards classification and regression, it supports SVM/SMO, ANN and Ridge Regression), but it has a nice API. Example of use: 
    from PyML import multi, svm, datafunc
    # read training data, last column has the class
    mydataset = datafunc.SparseDataSet('iris.data', labelsColumn = -1)
    myclassifier = multi.OneAgainstRest(svm.SVM())
    print "cross-validation results", myclassifier.cv(mydataset)
My recommendation is to either go with Orange or with PyML.

Catalogue:
http://www.java2s.com/Open-Source/Python/CatalogPython.htm
http://blogs.msdn.com/b/somasegar/archive/2011/08/29/python-tools-for-visual-studio.aspx

Harshad numbers

http://www.harshad-numbers.com
http://en.wikipedia.org/wiki/Harshad_number
http://en.wikipedia.org/wiki/1729_(number)

Inverse Symbolic Calculator
P.S. Infinity

Online encyclopedia of integer sequences

http://offline.computerra.ru/print/offline/1998/235/1098

Examples:
1. A019460: 2, 3, 3, 5, 10, 13, 39, 43, 172, …
2. A006567: 13, 17, 31, 37, 71, 73, 79, 97, 107, …
3. A001462: 1, 2, 2, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 6, …
4. A005228: 1, 3, 7, 12, 18, 26, 35, 45, 56, 69, …
5. A006751: 2, 12, 1112, 3112, 132112, 1113122112, …
6. A004000: 1, 2, 4, 8, 16, 77, 145, 668, ...
7. A007449: 7, 9, 40, 74, 1526, 5436, 2323240, 29548570, …
8. A006933: 2, 4, 6, 30, 32, 34, 36, 40, 42, 44, 46, 50, …

Sunday, May 24, 2009

Javascript toolkits and other goodies

Mathematics

www.mathjax.org

Huge list
http://javascriptlibraries.com

Useful libraries
http://www.w3avenue.com/2009/05/25/list-of-really-useful-javascript-libraries

Libraries

  1. jquery.com
  2. jqueryui.com
  3. Prototype
  4. Scriptaculous
  5. dojotoolkit.org
  6. mootools.net
  7. SWFObject
  8. YUI
  9. www.extjs.com - demo
  10. Chrome Frame
  11. WebFont Loader
  12. Yahoo! UI

Head JS - Speed up, simplify and modernize

Head JS speeds up script loading and adds classnames to the html element that allow you to target specific browser features or screen resolutions (like ".lt-640 #foo").

Scatter - Ajax without coding

You can use Scatter to refresh page elements without doing a full page reload.
Include the script, do Scatter.scanPage() when the body loads and apply rel="scatter"
to links or forms.

Backfire - Save CSS changes made with Firebug

If you use Firebug to modify CSS on-the-fly, you can save your changes with Backfire.

Slimbox

Slimbox (demo) can be used by pasting this script.
You need to load jQuery or MooTools prior to slimbox.
No further css or initialization is required though.

Reset.css

Eric Meyer's reset.css is available from the following path.

Famfamfam icons

Mark James' famfamfam icon sets are available by using the following paths.

Loading icons

Loading icons are ready for you, or you can create your own at ajaxload.info

Goodies

www.outcut.de/MooFlow - просмотрщик image галерей в стиле Mac coverflow.
Underscore (article: http://perfectionkills.com/extending-built-in-native-objects-evil-or-not)
Doloto - AJAX application optimization tool, especially useful for large and complex Web 2.0 applications that contain a lot of code, such as Bing Maps, Hotmail, etc. Doloto analyzes AJAX application workloads and automatically performs code splitting of existing large Web 2.0 applications. After being processed by Doloto, an application will initially transfer only the portion of code necessary for application initialization.
Egl - free Eclipse-based tool that simplifies the development of rich Web 2.0 style applications, developed by IBM

IDE

1. Aptana
2. Komodo
4. NetBeans
5. Eclipse
6. Anjuta
7. Coda

Testing
Tools description
http://blog.byndyu.ru/2009/03/javascript.html

Closure Compiler
Closure Compiler is a JavaScript optimizer that compiles web apps down into compact, high-performance JavaScript code. The compiler removes dead code, then rewrites and minimizes what's left so that it will run fast on browsers' JavaScript engines. The compiler also checks syntax, variable references, and types, and warns about other common JavaScript pitfalls. These checks and optimizations help you write apps that are less buggy and easier to maintain. You can use the compiler with Closure Inspector, a Firebug extension that makes debugging the obfuscated code almost as easy as debugging the human-readable source.

Because JavaScript developers are a diverse bunch, we've set up a number of ways to run the Closure Compiler. We've open-sourced a command-line tool. We've created a web application that accepts your code for compilation through a text box or a RESTful API. We are also offering a Firefox extension that you can use with Page Speed to conveniently see the performance benefits for your web pages.

Closure Library
Closure Library is a broad, well-tested, modular, and cross-browser JavaScript library. Web developers can pull just what they need from a wide set of reusable UI widgets and controls, as well as lower-level utilities for the DOM, server communication, animation, data structures, unit testing, rich-text editing, and much, much more. (Seriously. Check the docs.)

JavaScript lacks a standard class library like the STL or JDK. At Google, Closure Library serves as our "standard JavaScript library" for creating large, complex web applications. It's purposely server-agnostic and intended for use with the Closure Compiler. You can make your project big and complex (with namespacing and type checking), yet small and fast over the wire (with compilation). The Closure Library provides clean utilities for common tasks so that you spend your time writing your app rather than writing utilities and browser abstractions.

Closure Templates
Closure Templates grew out of a desire for web templates that are precompiled to efficient JavaScript. Closure Templates have a simple syntax that is natural for programmers. Unlike traditional templating systems, you can think of Closure Templates as small components that you compose to form your user interface, instead of having to create one big template per page.

Closure Templates are implemented for both JavaScript and Java, so you can use the same templates both on the server and client side.

Powered by Blogger.