mikedewar.wordpress.com
Python and Numpy integers | all models are wrong
https://mikedewar.wordpress.com/2009/03/30/python-and-numpy-integers
All models are wrong. 8212; but some are useful. Python and Numpy integers. March 30, 2009. I keep getting bitten on the bum with Python and ‘proper’ programming things. Today it’s this:. In [253]: 8* 14 Out[253]: 4398046511104L In [254]: 8* (numpy.int32(14) Out[254]: 0. I would feel guilty about this if I had to specify the type of numbers I was using, but this is a dynamic programming language! Why didn’t the int32 become a long also? Or an int64 or something that could hold my number?
mikedewar.wordpress.com
Nasty Python Things | all models are wrong
https://mikedewar.wordpress.com/2009/03/27/nasty-python-things
All models are wrong. 8212; but some are useful. March 27, 2009. So I seem to keep writing commands that look like this:. Delta[t][q] = max( [delta[tau][j] pylab.log( pylab.array([ output dist(Q=q,L=(t-tau),Y=Y[tau 1:t]), duration dist(Q=q,L=(t-tau) , transition dist[q,j] ).prod() for j in self.state range]). 2 Responses to “Nasty Python Things”. April 17, 2009 at 07:55. I’m not sure why you bother creating an array, only to take the product of it? Od = output dist(q,t-tau,Y[tau 1:t]). 8211; and I think ...
marklynas.org
Greenpeace and GM wheat: time to stand up for science - Mark Lynas
http://www.marklynas.org/2011/07/greenpeace-and-gm-wheat-time-to-stand-up-for-science
Skip to main content. Environmental news and comment. Greenpeace and GM wheat: time to stand up for science. I have resisted posting anything on Greenpeace’s destruction of a genetically-modified wheat test site in Australia last week because – following from the spat over the IPCC renewables report. To see what happened, watch this video. And read this report. Posted by Nature. Have a look also at Greenpeace Australia’s FAQ. It would be funny were it not so serious. What is extraordinary is that the...
danolner.github.io
danolner.github.io
http://danolner.github.io/2014/11/post-the-first
How wiggly is Britain? Money flows in the UK. Tap tap*. is this thing working? Nov 17, 2014 - *tap tap*. is this thing working? I’ve got myself jekyll’d up. I wish I’d got my noggin around git a little earlier - it would have helped the progress of the PhD modelling no end ( thesis and models available here. Explanation of the PhD’s origins here. I’ll be adding more more user-friendly chunks of code and blog from the thesis). On the topic, where I wonder about the difference between a box-plot and an x-r...
tamino.wordpress.com
Not a Random Walk | Open Mind
https://tamino.wordpress.com/2010/03/11/not-a-random-walk
Science, Politics, Life, the Universe, and Everything. Update, and a good post by the Rabett. Still Not →. Not a Random Walk. March 11, 2010. Euler appeared, advanced toward Diderot, and in a tone of perfect conviction announced, “Sir,. Hence God exists reply! By “VS” at Bart Verheggen’s blog. The original “random walk” was posited by Karl Pearson in a letter to Nature. In 1905. In Pearson’s version, a man starts at the origin and walks a fixed distance in any direction. He then walks the s...From his st...
danolner.github.io
danolner.github.io
http://danolner.github.io/about.html
How wiggly is Britain? Money flows in the UK. Tap tap*. is this thing working? 2016 danolner.github.io. Powered by Jekyll. Theme by Scott Emmons. Under Creative Commons Attribution.
danolner.github.io
danolner.github.io
http://danolner.github.io/archive.html
How wiggly is Britain? Money flows in the UK. Tap tap*. is this thing working? Jan 16 - Migration entropy. Jul 3 - How wiggly is Britain? Nov 26 - Money flows in the UK. Nov 17 - *tap tap*. is this thing working? 2016 danolner.github.io. Powered by Jekyll. Theme by Scott Emmons. Under Creative Commons Attribution.
amnonp5.wordpress.com
25 life-saving tips for Processing | Amnon P5 - Experiments with Processing by Amnon Owed
https://amnonp5.wordpress.com/2012/01/28/25-life-saving-tips-for-processing
Amnon P5 – Experiments with Processing by Amnon Owed. 25 life-saving tips for Processing. On January 28, 2012 · 46 Comments. Well, perhaps they won’t literally save your life. But they surely will help you write your sketches easier, faster and more efficiently! 1 frameCount, millis(), modulo % and noise. 2 math, logical and relational operator shortcuts. Something). Check out the following code example. If (feelingPositive) { println(Yeah! 3 math with ints. Float x, y, radius; void setup() { size(500, 5...
initforthegold.blogspot.com
Only In It For The Gold: Extra Dimensions
http://initforthegold.blogspot.com/2010/12/extra-dimensions.html
Only In It For The Gold. It is time to stop quivering in our boots in pointless fear of the future and just roll up our sleeves and build it. Thursday, December 30, 2010. This is a very creative way to display what many of us wish everybody knew. Stolen from Lou Grinzo. Who stole it from CarbonTracker. Posted by Michael Tobis. Very cool. Might have to steal that myself. ;-). You can see similar visualisations of recent CO2 and CH4 levels v latitude at the (relatively) new ESRL Globalview. Subscribe to: P...
mikedewar.wordpress.com
Profiling in R | all models are wrong
https://mikedewar.wordpress.com/2010/05/13/profiling-in-r
All models are wrong. 8212; but some are useful. May 13, 2010. Giving a quick talk about vectorising code in R next month. Need to learn about profiling in R. This is what I have discovered in the last hour or so (when I should have been working):. This is the basic profiler in R. One turns it on:. One runs some code … and one turns it off using, as always, R’s intuitive API. Selftime self.pct total.time total.pct. Strsplit" 4.08 94.0 4.10 94.5. 012 28 0.12 2.8. 012 28 0.12 2.8. To use, simply run. Then ...
SOCIAL ENGAGEMENT