
Recent Posts
Categories
Archives
 August 2016
 June 2016
 April 2016
 February 2016
 October 2015
 May 2015
 January 2015
 November 2014
 October 2014
 September 2014
 August 2014
 July 2014
 April 2014
 March 2014
 February 2014
 December 2013
 September 2013
 August 2013
 July 2013
 June 2013
 May 2013
 April 2013
 March 2013
 February 2013
 January 2013
 August 2012
 June 2012
 April 2012
 January 2012
 December 2011
 November 2011
 October 2011
 August 2011
 July 2011
 December 2010
 November 2010
 September 2010
 July 2010
 June 2010
 May 2010
 March 2010
 December 2009
 November 2009
 October 2009
 August 2009
 July 2009
 June 2009
 May 2009
 August 2008
 June 2008
 May 2008
 March 2008
 February 2008
 December 2007
 November 2007
 October 2007
 August 2007
 June 2007
 May 2007
 March 2007
 November 2006
 August 2006
 July 2006
 February 2006
 October 2005
 September 2005
 July 2005
 June 2005
 May 2005
 April 2005
 March 2005
 December 2004
 June 2004
 March 2004
 February 2004
 December 2003
 October 2003
 June 2003
Meta
Category Archives: Math
Taking the Gopher for a spin
As originally shared on Google+, and as a follow up of the previous post covering OpenGL on Go QML, a new screencast was published to demonstrate the latest features introduced around OpenGL support in Go QML: Refrences: Go QML project … Continue reading
Posted in Architecture, Design, Go, Math, Project
3 Comments
IEEE754 brain teaser
Here is a small programming brain teaser for the weekend: Assume uf is an unsigned integer with 64 bits that holds the IEEE754 representation for a binary floating point number of that size. The questions are:
strepr v1 (draft2)
Note: This is a candidate version of the specification. This note will be removed once v1 is closed, and any changes will be described at the end. Please get in touch if you’re implementing it. Contents Introduction Supported values Representation … Continue reading
Baby feeding statistics with R
Our son Otávio was born recently. Right in the first few days, we decided to keep tight control on the feeding times for a while, as it is an intense routine pretty unlike anything else, and obviously critical for the … Continue reading
Wiki + Spreadsheet
The underlying concept is very simple: spreadsheets are a way to organize text, numbers and formulas into what might be seen as a natively numeric environment: a matrix. So what would happen if we loosed some of the bolts of … Continue reading
Posted in Math, Project, Python
5 Comments
Hey, nice float!
pythonnicefloat is a Python module implementing an algorithm based on the paper “Printing FloatingPoint Numbers Quickly and Accurately”, by Robert G. Burger and R. Kent Dybvig. The implemented algorithm will find the shortest, correctly rounded output string representing a decimal … Continue reading
Posted in Math, Project, Python
4 Comments
Problem of the Week at University of Massachusetts
University of Massachusetts has a very nice Problem of the Week service where they post a new math related problem every monday. At that time they report the percentage of people that correctly answered the question as well. To submit … Continue reading
Posted in Math, Puzzle, Python
Leave a comment
All combinations of N elements
Here’s a snippet to compute all combinations of N elements over K positions.
Posted in Math, Python, Snippet
3 Comments
Permutations of all subsets
Another snippet to compute the permutations of all subsets.
Posted in Math, Python, Snippet
3 Comments
Permutations and derangements
Two snippets to compute permuatations and derangements in Python.
Posted in Math, Python, Snippet
4 Comments